PageSourceSearch

https://ethane.app/_next/static/chunks/051113b80f5affc2.js?dpl=dpl_49Ft3k9eLct6PThsAvWrHzGAz9v1

js ethane.app collected 2026-10-07 00:33:22 UTC 182,955 bytes, 17 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,331713,t=>{"use strict";let e,i,s;var r,n=t.i(843476),a=t.i(271645),o=t.i(924783),l=t.i(522016),h=t.i(555546),h=h,d=t.i(995926);function u({onDismiss:t}){return(0,n.jsxs)("div",{className:"fixed inset-x-0 top-0 z-[60] h-10 border-b border-[#2dd4a4]/15 bg-[#07110d]/95 backdrop-blur-md",children:[(0,n.jsxs)("div",{className:"mx-auto flex h-full max-w-6xl items-center justify-center gap-2 px-10 sm:gap-3",children:[(0,n.jsx)(h.default,{className:"size-3.5 shrink-0 text-[#2dd4a4]"}),(0,n.jsxs)("p",{className:"truncate text-[12px] text-[#F5F5F5]/80 sm:text-[13px]",children:[(0,n.jsx)("span",{className:"hidden sm:inline",children:"The Ethane Launchpad is live. "}),"Launch your own token on Robinhood Chain."]}),(0,n.jsxs)(l.default,{href:"/create",className:"flex shrink-0 items-center gap-1 rounded-full border border-[#2dd4a4]/25 bg-[#2dd4a4]/10 px-2.5 py-1 text-[11px] font-medium text-[#2dd4a4] transition-colors hover:bg-[#2dd4a4]/20 sm:text-[12px]",children:["Launch a token",(0,n.jsx)("span",{"aria-hidden":!0,children:"→"})]})]}),(0,n.jsx)("button",{type:"button",onClick:t,"aria-label":"Dismiss announcement",className:"absolute right-2 top-1/2 -translate-y-1/2 rounded-full p-1.5 text-[#F5F5F5]/40 transition-colors hover:bg-white/10 hover:text-[#F5F5F5]/80",children:(0,n.jsx)(d.XIcon,{className:"size-3.5"})})]})}var c=t.i(555364);t.i(247167);let p=(0,a.createContext)({});function m(t){let e=(0,a.useRef)(null);return null===e.current&&(e.current=t()),e.current}let f="u">typeof window,g=f?a.useLayoutEffect:a.useEffect,x=(0,a.createContext)(null);function y(t){return"object"==typeof t&&null!==t}function v(t){return y(t)&&"offsetHeight"in t}var b=a;let A=(0,a.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function w(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}class j extends b.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){let t=e.offsetParent,i=v(t)&&t.offsetWidth||0,s=this.props.sizeRef.current;s.height=e.offsetHeight||0,s.width=e.offsetWidth||0,s.top=e.offsetTop,s.left=e.offsetLeft,s.right=i-s.width-s.left}return null}componentDidUpdate(){}render(){return this.props.children}}function k({children:t,isPresent:e,anchorX:i,root:s}){let r=(0,b.useId)(),o=(0,b.useRef)(null),l=(0,b.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:h}=(0,b.useContext)(A),d=function(...t){return a.useCallback(function(...t){return e=>{let i=!1,s=t.map(t=>{let s=w(t,e);return i||"function"!=typeof s||(i=!0),s});if(i)return()=>{for(let e=0;e<s.length;e++){let i=s[e];"function"==typeof i?i():w(t[e],null)}}}}(...t),t)}(o,t?.ref);return(0,b.useInsertionEffect)(()=>{let{width:t,height:n,top:a,left:d,right:u}=l.current;if(e||!o.current||!t||!n)return;let c="left"===i?`left: ${d}`:`right: ${u}`;o.current.dataset.motionPopId=r;let p=document.createElement("style");h&&(p.nonce=h);let m=s??document.head;return m.appendChild(p),p.sheet&&p.sheet.insertRule(`
2          [data-motion-pop-id="${r}"] {
3            position: absolute !important;
4            width: ${t}px !important;
5            height: ${n}px !important;
6            ${c}px !important;
7            top: ${a}px !important;
8          }
9        `),()=>{m.contains(p)&&m.removeChild(p)}},[e]),(0,n.jsx)(j,{isPresent:e,childRef:o,sizeRef:l,children:b.cloneElement(t,{ref:d})})}let C=({children:t,initial:e,isPresent:i,onExitComplete:s,custom:r,presenceAffectsLayout:o,mode:l,anchorX:h,root:d})=>{let u=m(T),c=(0,a.useId)(),p=!0,f=(0,a.useMemo)(()=>(p=!1,{id:c,initial:e,isPresent:i,custom:r,onExitComplete:t=>
9{for(let e of(u.set(t,!0),u.values()))if(!e)return;s&&s()},register:t=>(u.set(t,!1),()=>u.delete(t))}),[i,u,s]);return o&&p&&(f={...f}),(0,a.useMemo)(()=>{u.forEach((t,e)=>u.set(e,!1))},[i]),a.useEffect(()=>{i||u.size||!s||s()},[i]),"popLayout"===l&&(t=(0,n.jsx)(k,{isPresent:i,anchorX:h,root:d,children:t})),(0,n.jsx)(x.Provider,{value:f,children:t})};function T(){return new Map}function S(t=!0){let e=(0,a.useContext)(x);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:s,register:r}=e,n=(0,a.useId)();(0,a.useEffect)(()=>{if(t)return r(n)},[t]);let o=(0,a.useCallback)(()=>t&&s&&s(n),[n,s,t]);return!i&&s?[!1,o]:[!0]}let P=t=>t.key||"";function E(t){let e=[];return a.Children.forEach(t,t=>{(0,a.isValidElement)(t)&&e.push(t)}),e}let M=({children:t,custom:e,initial:i=!0,onExitComplete:s,presenceAffectsLayout:r=!0,mode:o="sync",propagate:l=!1,anchorX:h="left",root:d})=>{let[u,c]=S(l),f=(0,a.useMemo)(()=>E(t),[t]),x=l&&!u?[]:f.map(P),y=(0,a.useRef)(!0),v=(0,a.useRef)(f),b=m(()=>new Map),[A,w]=(0,a.useState)(f),[j,k]=(0,a.useState)(f);g(()=>{y.current=!1,v.current=f;for(let t=0;t<j.length;t++){let e=P(j[t]);x.includes(e)?b.delete(e):!0!==b.get(e)&&b.set(e,!1)}},[j,x.length,x.join("-")]);let T=[];if(f!==A){let t=[...f];for(let e=0;e<j.length;e++){let i=j[e],s=P(i);x.includes(s)||(t.splice(e,0,i),T.push(i))}return"wait"===o&&T.length&&(t=T),k(E(t)),w(f),null}let{forceRender:M}=(0,a.useContext)(p);return(0,n.jsx)(n.Fragment,{children:j.map(t=>{let a=P(t),p=(!l||!!u)&&(f===j||x.includes(a));return(0,n.jsx)(C,{isPresent:p,initial:(!y.current||!!i)&&void 0,custom:e,presenceAffectsLayout:r,mode:o,root:d,onExitComplete:p?void 0:()=>{if(!b.has(a))return;b.set(a,!0);let t=!0;b.forEach(e=>{e||(t=!1)}),t&&(M?.(),k(v.current),l&&c?.(),s&&s())},anchorX:h,children:t},a)})})},R=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],N=new Set(R),V=t=>180*t/Math.PI,D=t=>F(V(Math.atan2(t[1],t[0]))),L={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:D,rotateZ:D,skewX:t=>V(Math.atan(t[1])),skewY:t=>V(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},F=t=>((t%=360)<0&&(t+=360),t),B=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),I=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),O={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:B,scaleY:I,scale:t=>(B(t)+I(t))/2,rotateX:t=>F(V(Math.atan2(t[6],t[5]))),rotateY:t=>F(V(Math.atan2(-t[2],t[0]))),rotateZ:D,rotate:D,skewX:t=>V(Math.atan(t[4])),skewY:t=>V(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function U(t){return+!!t.includes("scale")}function W(t,e){let i,s;if(!t||"none"===t)return U(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=O,s=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=L,s=e}if(!s)return U(e);let n=i[e],a=s[1].split(",").map(z);return"function"==typeof n?n(a):a[n]}function z(t){return parseFloat(t.trim())}let H=t=>e=>"string"==typeof e&&e.startsWith(t),$=H("--"),Y=H("var(--"),G=t=>!!Y(t)&&K.test(t.split("/*")[0].trim()),K=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function X({top:t,left:e,right:i,bottom:s}){return{x:{min:e,max:i},y:{min:t,max:s}}}let Q=(t,e,i)=>t+(e-t)*i;function q(t){return void 0===t||1===t}function Z({scale:t,scaleX:e,scaleY:i}){return!q(t)||!q(e)||!q(i)}function J(t){return Z(t)||_(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function _(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function tt(t,e,i,s,r){return void 0!==r&&(t=s+r*(t-s)),s+i*(t-s)+e}function te(t,e=0,i=1,s,r){t.min=tt(t.min,e,i,s,r),t.max=tt(t.max,e,i,s,r)}function ti(t,{x:e,y:i}){te(t.x,e.translate,e.scale,e.originPoint),te(t.y,i.translate,i.scale,i.originPoint)}function ts(t,e){t.min=t.min+e,t.max=t.max+e}function tr(t,e,i,s,r=.5){let n=Q(t.min,t.max,r);te(t,e,i,n,s)}function tn(t,e){tr(t.x,e.x,e.scaleX,e.scale,e.originX),tr(t.y,e.y,e.scaleY,e.scale,e.originY)}function ta(t,e){return X(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}(t.getBoundingClientRect(),e))}let to=new Set(["width","height","top","left","right","bottom",...R]),tl=(t,e,i)=>i>e?e:i<t?t:i,th={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},td={...th,transform:t=>tl(0,1,t)},tu={...th,default:1},tc=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),tp=tc("deg"),tm=tc("%"),tf=tc("px"),tg=tc("vh"),tx=tc("vw"),ty={...tm,parse:t=>tm.parse(t)/100,transform:t=>tm.transform(100*t)},tv=t=>e=>e.test(t),tb=[th,tf,tm,tp,tx,tg,{test:t=>"auto"===t,parse:t=>t}],tA=t=>tb.find(tv(t)),tw=()=>{},tj=()=>{},tk=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tC=t=>t===th||t===tf,tT=new Set(["x","y","z"]),tS=R.filter(t=>!tT.has(t)),tP={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>W(e,"x"),y:(t,{transform:e})=>W(e,"y")};tP.translateX=tP.x,tP.translateY=tP.y;let tE=t=>t,tM={},tR=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function tN(t,e){let i=!1,s=!0,r={delta:0,timestamp:0,isProcessing:!1},n=()=>i=!0,a=tR.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,s=new Set,r=!1,n=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1},l=0;function h(e){a.has(e)&&(d.schedule(e),t()),l++,e(o)}let d={schedule:(t,e=!1,n=!1)=>{let o=n&&r?i:s;return e&&a.add(t),o.has(t)||o.add(t),t},cancel:t=>{s.delete(t),a.delete(t)},process:t=>{if(o=t,r){n=!0;return}
9r=!0,[i,s]=[s,i],i.forEach(h),e,l=0,i.clear(),r=!1,n&&(n=!1,d.process(t))}};return d}(n,e?i:void 0),t),{}),{setup:o,read:l,resolveKeyframes:h,preUpdate:d,update:u,preRender:c,render:p,postRender:m}=a,f=()=>{let n=tM.useManualTiming?r.timestamp:performance.now();i=!1,tM.useManualTiming||(r.delta=s?1e3/60:Math.max(Math.min(n-r.timestamp,40),1)),r.timestamp=n,r.isProcessing=!0,o.process(r),l.process(r),h.process(r),d.process(r),u.process(r),c.process(r),p.process(r),m.process(r),r.isProcessing=!1,i&&e&&(s=!1,t(f))};return{schedule:tR.reduce((e,n)=>{let o=a[n];return e[n]=(e,n=!1,a=!1)=>(!i&&(i=!0,s=!0,r.isProcessing||t(f)),o.schedule(e,n,a)),e},{}),cancel:t=>{for(let e=0;e<tR.length;e++)a[tR[e]].cancel(t)},state:r,steps:a}}let{schedule:tV,cancel:tD,state:tL,steps:tF}=tN("u">typeof requestAnimationFrame?requestAnimationFrame:tE,!0),tB=new Set,tI=!1,tO=!1,tU=!1;function tW(){if(tO){let t=Array.from(tB).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,s=(e=[],tS.forEach(i=>{let s=t.getValue(i);void 0!==s&&(e.push([i,s.get()]),s.set(+!!i.startsWith("scale")))}),e);s.length&&(i.set(t,s),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}tO=!1,tI=!1,tB.forEach(t=>t.complete(tU)),tB.clear()}function tz(){tB.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tO=!0)})}class tH{constructor(t,e,i,s,r,n=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=s,this.element=r,this.isAsync=n}scheduleResolve(){this.state="scheduled",this.isAsync?(tB.add(this),tI||(tI=!0,tV.read(tz),tV.resolveKeyframes(tW))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:s}=this;if(null===t[0]){let r=s?.get(),n=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let s=i.readValue(e,n);null!=s&&(t[0]=s)}void 0===t[0]&&(t[0]=n),s&&void 0===r&&s.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),tB.delete(this)}cancel(){"scheduled"===this.state&&(tB.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let t$=t=>Math.round(1e5*t)/1e5,tY=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,tG=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,tK=(t,e)=>i=>!!("string"==typeof i&&tG.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),tX=(t,e,i)=>s=>{if("string"!=typeof s)return s;let[r,n,a,o]=s.match(tY);return{[t]:parseFloat(r),[e]:parseFloat(n),[i]:parseFloat(a),alpha:void 0!==o?parseFloat(o):1}},tQ={...th,transform:t=>Math.round(tl(0,255,t))},tq={test:tK("rgb","red"),parse:tX("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:s=1})=>"rgba("+tQ.transform(t)+", "+tQ.transform(e)+", "+tQ.transform(i)+", "+t$(td.transform(s))+")"},tZ={test:tK("#"),parse:function(t){let e="",i="",s="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),s=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),s=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,s+=s,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:r?parseInt(r,16)/255:1}},transform:tq.transform},tJ={test:tK("hsl","hue"),parse:tX("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:s=1})=>"hsla("+Math.round(t)+", "+tm.transform(t$(e))+", "+tm.transform(t$(i))+", "+t$(td.transform(s))+")"},t_={test:t=>tq.test(t)||tZ.test(t)||tJ.test(t),parse:t=>tq.test(t)?tq.parse(t):tJ.test(t)?tJ.parse(t):tZ.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?tq.transform(t):tJ.transform(t),getAnimatableNone:t=>{let e=t_.parse(t);return e.alpha=0,t_.transform(e)}},t0=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,t1="number",t2="color",t5=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function t4(t){let e=t.toString(),i=[],s={color:[],number:[],var:[]},r=[],n=0,a=e.replace(t5,t=>(t_.test(t)?(s.color.push(n),r.push(t2),i.push(t_.parse(t))):t.startsWith("var(")?(s.var.push(n),r.push("var"),i.push(t)):(s.number.push(n),r.push(t1),i.push(parseFloat(t))),++n,"${}")).split("${}");return{values:i,split:a,indexes:s,types:r}}function t3(t){return t4(t).values}function t6(t){let{split:e,types:i}=t4(t),s=e.length;return t=>{let r="";for(let n=0;n<s;n++)if(r+=e[n],void 0!==t[n]){let e=i[n];e===t1?r+=t$(t[n]):e===t2?r+=t_.transform(t[n]):r+=t[n]}return r}}let t9=t=>"number"==typeof t?0:t_.test(t)?t_.getAnimatableNone(t):t,t8={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(tY)?.length||0)+(t.match(t0)?.length||0)>0},parse:t3,createTransformer:t6,getAnimatableNone:function(t){let e=t3(t);return t6(t)(e.map(t9))}},t7=new Set(["brightness","contrast","saturate","opacity"]);function et(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[s]=i.match(tY)||[];if(!s)return t;let r=i.replace(s,""),n=+!!t7.has(e);return s!==i&&(n*=100),e+"("+n+r+")"}let ee=/\b([a-z-]*)\(.*?\)/gu,ei={...t8,getAnimatableNone:t=>{let e=t.match(ee);return e?e.map(et).join(" "):t}},es={...th,transform:Math.round},er={borderWidth:tf,borderTopWidth:tf,borderRightWidth:tf,borderBottomWidth:tf,borderLeftWidth:tf,borderRadius:tf,radius:tf,borderTopLeftRadius:tf,borderTopRightRadius:tf,borderBottomRightRadius:tf,borderBottomLeftRadius:tf,width:tf,maxWidth:tf,he
9ight:tf,maxHeight:tf,top:tf,right:tf,bottom:tf,left:tf,padding:tf,paddingTop:tf,paddingRight:tf,paddingBottom:tf,paddingLeft:tf,margin:tf,marginTop:tf,marginRight:tf,marginBottom:tf,marginLeft:tf,backgroundPositionX:tf,backgroundPositionY:tf,rotate:tp,rotateX:tp,rotateY:tp,rotateZ:tp,scale:tu,scaleX:tu,scaleY:tu,scaleZ:tu,skew:tp,skewX:tp,skewY:tp,distance:tf,translateX:tf,translateY:tf,translateZ:tf,x:tf,y:tf,z:tf,perspective:tf,transformPerspective:tf,opacity:td,originX:ty,originY:ty,originZ:tf,zIndex:es,fillOpacity:td,strokeOpacity:td,numOctaves:es},en={...er,color:t_,backgroundColor:t_,outlineColor:t_,fill:t_,stroke:t_,borderColor:t_,borderTopColor:t_,borderRightColor:t_,borderBottomColor:t_,borderLeftColor:t_,filter:ei,WebkitFilter:ei},ea=t=>en[t];function eo(t,e){let i=ea(t);return i!==ei&&(i=t8),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let el=new Set(["auto","none","0"]);class eh extends tH{constructor(t,e,i,s,r){super(t,e,i,s,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let s=t[i];if("string"==typeof s&&G(s=s.trim())){let r=function t(e,i,s=1){tj(s<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,n]=function(t){let e=tk.exec(t);if(!e)return[,];let[,i,s,r]=e;return[`--${i??s}`,r]}(e);if(!r)return;let a=window.getComputedStyle(i).getPropertyValue(r);if(a){let t=a.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return G(n)?t(n,i,s+1):n}(s,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=s)}}if(this.resolveNoneKeyframes(),!to.has(i)||2!==t.length)return;let[s,r]=t,n=tA(s),a=tA(r);if(n!==a)if(tC(n)&&tC(a))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else tP[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++)(null===t[e]||function(t){if("number"==typeof t)return 0===t;if(null===t)return!0;return"none"===t||"0"===t||/^0[^.\s]+$/u.test(t)}(t[e]))&&i.push(e);i.length&&function(t,e,i){let s,r=0;for(;r<t.length&&!s;){let e=t[r];"string"==typeof e&&!el.has(e)&&t4(e).values.length&&(s=t[r]),r++}if(s&&i)for(let r of e)t[r]=eo(i,s)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=tP[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let s=e[e.length-1];void 0!==s&&t.getValue(i,s).jump(s,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let s=t.getValue(e);s&&s.jump(this.measuredOrigin,!1);let r=i.length-1,n=i[r];i[r]=tP[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==n&&void 0===this.finalKeyframe&&(this.finalKeyframe=n),this.removedTransforms?.length&&this.removedTransforms.forEac
9h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}let ed=t=>!!(t&&t.getVelocity);function eu(){e=void 0}let ec={now:()=>(void 0===e&&ec.set(tL.isProcessing||tM.useManualTiming?tL.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(eu)}};function ep(t,e){-1===t.indexOf(e)&&t.push(e)}function em(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class ef{constructor(){this.subscriptions=[]}add(t){return ep(this.subscriptions,t),()=>em(this.subscriptions,t)}notify(t,e,i){let s=this.subscriptions.length;if(s)if(1===s)this.subscriptions[0](t,e,i);else for(let r=0;r<s;r++){let s=this.subscriptions[r];s&&s(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}class eg{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=ec.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=ec.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new ef);let i=this.events[t].add(e);return"change"===t?()=>{i(),tV.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return s&&s.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=ec.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*t:0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ex(t,e){return new eg(t,e)}let ey=[...tb,t_,t8],{schedule:ev}=tN(queueMicrotask,!1),eb={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},eA={};for(let t in eb)eA[t]={isEnabled:e=>eb[t].some(t=>!!e[t])};let ew=()=>({translate:0,scale:1,origin:0,originPoint:0}),ej=()=>({x:ew(),y:ew()}),ek=()=>({min:0,max:0}),eC=()=>({x:ek(),y:ek()}),eT={current:null},eS={current:!1},eP=new WeakMap;function eE(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function eM(t){return"string"==typeof t||Array.isArray(t)}let eR=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],eN=["initial",...eR];function eV(t){return eE(t.animate)||eN.some(e=>eM(t[e]))}function eD(t){return!!(eV(t)||t.variants)}function eL(t){let e=[{},{}];
9return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function eF(t,e,i,s){if("function"==typeof e){let[r,n]=eL(s);e=e(void 0!==i?i:t.custom,r,n)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,n]=eL(s);e=e(void 0!==i?i:t.custom,r,n)}return e}let eB=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class eI{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:s,blockInitialAnimation:r,visualState:n},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=tH,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=ec.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,tV.render(this.render,!1,!0))};const{latestValues:o,renderState:l}=n;this.latestValues=o,this.baseTarget={...o},this.initialValues=e.initial?{...o}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=a,this.blockInitialAnimation=!!r,this.isControllingVariants=eV(e),this.isVariantNode=eD(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:h,...d}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in d){const e=d[t];void 0!==o[t]&&ed(e)&&e.set(o[t])}}mount(t){this.current=t,eP.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),eS.current||function(){if(eS.current=!0,f)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>eT.current=t.matches;t.addEventListener("change",e),e()}else eT.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||eT.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),tD(this.notifyUpdate),tD(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let s=N.has(t);s&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tV.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in eA){let e=eA[t];if(!e)continue;let{isEnabled:i,Feature:s}=e;if(!this.features[t]&&s&&i(this.props)&&(this.features[t]=new s(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):eC()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<eB.length;e++){let i=eB[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let s=t["on"+i];s&&(this.propEventSubscriptions[i]=this.on(i,s))}
9this.prevMotionValues=function(t,e,i){for(let s in e){let r=e[s],n=i[s];if(ed(r))t.addValue(s,r);else if(ed(n))t.addValue(s,ex(r,{owner:t}));else if(n!==r)if(t.hasValue(s)){let e=t.getValue(s);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(s);t.addValue(s,ex(void 0!==e?e:r,{owner:t}))}}for(let s in i)void 0===e[s]&&t.removeValue(s);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=ex(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){let s,r;if("string"==typeof i&&(s=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(s)||(r=i,/^0[^.\s]+$/u.test(r))))i=parseFloat(i);else{let s;s=i,!ey.find(tv(s))&&t8.test(e)&&(i=eo(t,e))}this.setBaseTarget(t,ed(i)?i.get():i)}return ed(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let s=eF(this.props,i,this.presenceContext?.custom);s&&(e=s[t])}if(i&&void 0!==e)return e;let s=this.getBaseTargetFromProps(this.props,t);return void 0===s||ed(s)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new ef),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){ev.render(this.render)}}class eO extends eI{constructor(){super(...arguments),this.KeyframeResolver=eh}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;ed(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}let eU=(t,e)=>e&&"number"==typeof t?e.transform(t):t,eW={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ez=R.length;function eH(t,e,i){let{style:s,vars:r,transformOrigin:n}=t,a=!1,o=!1;for(let t in e){let i=e[t];if(N.has(t)){a=!0;continue}if($(t)){r[t]=i;continue}{let e=eU(i,er[t]);t.startsWith("origin")?(o=!0,n[t]=e):s[t]=e}}if(!e.transform&&(a||i?s.transform=function(t,e,i){let s="",r=!0;for(let n=0;n<ez;n++){let a=R[n],o=t[a];if(void 0===o)continue;let l=!0;if(!(l="number"==typeof o?o===+!!a.startsWith("scale"):0===parseFloat(o))||i){let t=eU(o,er[a]);if(!l){r=!1;let e=eW[a]||a;s+=`${e}(${t}) `}i&&(e[a]=t)}}return s=s.trim(),i?s=i(e,r?"":s):r&&(s="none"),s}(e,t.transform,i):s.transform&&(s.transform="none")),o){let{originX:t="50%",originY:e="50%",originZ:i=0}=n;s.transformOrigin=`${t} ${e} ${i}`}}function e$(t,{style:e,vars:i},s,r){let n,a=t.style;for(n in e)a[n]=e[n];for(n in r?.applyProjectionStyles(a,s),i)a.setProperty(n,i[n])}let eY={};function eG(t,{layout:e,layoutId:i}){return N.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!eY[t]||"opacity"===t)}function eK(t,e,i){let{style:s}=t,r={};for(let n in s)(ed(s[n])||e.style&&ed(e.style[n])||eG(n,t)||i?.getValue(n)?.liveStyle!==void 0)&&(r[n]=s[n]);return r}class eX extends eO{constructor(){super(...arguments),this.type="html",this.renderInstance=e$}readValueFromInstance(t,e){if(N.has(e))return this.projection?.isProjecting?U(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return W(i,e)})(t,e);{let i=window.getComputedStyle(t),s=($(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof s?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:e}){return ta(t,e)}build(t,e,i){eH(t,e,i.transformTemplate)}
9scrapeMotionValuesFromProps(t,e,i){return eK(t,e,i)}}let eQ=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),eq={offset:"stroke-dashoffset",array:"stroke-dasharray"},eZ={offset:"strokeDashoffset",array:"strokeDasharray"};function eJ(t,{attrX:e,attrY:i,attrScale:s,pathLength:r,pathSpacing:n=1,pathOffset:a=0,...o},l,h,d){if(eH(t,o,h),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:u,style:c}=t;u.transform&&(c.transform=u.transform,delete u.transform),(c.transform||u.transformOrigin)&&(c.transformOrigin=u.transformOrigin??"50% 50%",delete u.transformOrigin),c.transform&&(c.transformBox=d?.transformBox??"fill-box",delete u.transformBox),void 0!==e&&(u.x=e),void 0!==i&&(u.y=i),void 0!==s&&(u.scale=s),void 0!==r&&function(t,e,i=1,s=0,r=!0){t.pathLength=1;let n=r?eq:eZ;t[n.offset]=tf.transform(-s);let a=tf.transform(e),o=tf.transform(i);t[n.array]=`${a} ${o}`}(u,r,n,a,!1)}let e_=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),e0=t=>"string"==typeof t&&"svg"===t.toLowerCase();function e1(t,e,i){let s=eK(t,e,i);for(let i in t)(ed(t[i])||ed(e[i]))&&(s[-1!==R.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return s}class e2 extends eO{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=eC}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(N.has(e)){let t=ea(e);return t&&t.default||0}return e=e_.has(e)?e:eQ(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return e1(t,e,i)}build(t,e,i){eJ(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,s){for(let i in e$(t,e,void 0,s),e.attrs)t.setAttribute(e_.has(i)?i:eQ(i),e.attrs[i])}mount(t){this.isSVGTag=e0(t.tagName),super.mount(t)}}let e5=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function e4(t){if("string"!=typeof t||t.includes("-"));else if(e5.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}let e3=(0,a.createContext)({strict:!1}),e6=(0,a.createContext)({});function e9(t){return Array.isArray(t)?t.join(" "):t}let e8=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function e7(t,e,i){for(let s in e)ed(e[s])||eG(s,i)||(t[s]=e[s])}let it=()=>({...e8(),attrs:{}}),ie=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function ii(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||ie.has(t)}let is=t=>!ii(t);try{r=t.r(934537).default,"function"==typeof r&&(is=t=>t.startsWith("on")?!ii(t):r(t))}catch{}function ir(t){return ed(t)?t.get():t}let ia=t=>(e,i)=>{let s=(0,a.useContext)(e6),r=(0,a.useContext)(x),n=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,s,r){return{latestValues:function(t,e,i,s){let r={},n=s(t,{});for(let t in n)r[t]=ir(n[t]);let{initial:a,animate:o}=t,l=eV(t),h=eD(t);e&&h&&!l&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===o&&(o=e.animate));let d=!!i&&!1===i.initial,u=(d=d||!1===a)?o:a;if(u&&"boolean"!=typeof u&&!eE(u)){let e=Array.isArray(u)?u:[u];for(let i=0;i<e.length;i++){let s=eF(t,e[i]);if(s){let{transitionEnd:t,transition:e,...i}=s;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=d?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(i,s,r,t),renderState:e()}})(t,e,s,r);return i?n():m(n)},io=ia({scrapeMotionValuesFromProps:eK,createRenderState:e8}),il=ia({scrapeMotionValuesFromProps:e1,createRenderState:it}),ih=Symbol.for("motionComponentSymbol");function id(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let iu="data-"+eQ("framerAppearId"),ic=(0,a.createContext)({});function ip(t,{forwardMotionProps:e=!1}={},i,s){i&&function(t){for(let e in t)eA[e]={...eA[e],...t[e]}}(i);let r=e4(t)?il:io;function o(i,o){var l;let h,d={...(0,a.useContext)(A),...i,layoutId:function({layoutId:t}){let e=(0,a.useContext)(p).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:u}=d,c=function(t){let{initial:e,animate:i}=function(t,e){if(eV(t)){let{initial:e,animate:i}=t;return{initial:!1===e||eM(e)?e:void 0,animate:eM(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,a.useContext)(e6));return(0,a.useMemo)(()=>({initial:e,animate:i}),[e9(e),e9(i)])}(i),m=r(i,u);if(!u&&f){(0,a.useContext)(e3).strict;let e=function(t){let{drag:e,layout:i}=eA;if(!e&&!i)return{};let s={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}
9(d);h=e.MeasureLayout,c.visualElement=function(t,e,i,s,r){let{visualElement:n}=(0,a.useContext)(e6),o=(0,a.useContext)(e3),l=(0,a.useContext)(x),h=(0,a.useContext)(A).reducedMotion,d=(0,a.useRef)(null);s=s||o.renderer,!d.current&&s&&(d.current=s(t,{visualState:e,parent:n,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:h}));let u=d.current,c=(0,a.useContext)(ic);u&&!u.projection&&r&&("html"===u.type||"svg"===u.type)&&function(t,e,i,s){let{layoutId:r,layout:n,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:h,layoutCrossfade:d}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:n,alwaysMeasureLayout:!!a||o&&id(o),visualElement:t,animationType:"string"==typeof n?n:"both",initialPromotionConfig:s,crossfade:d,layoutScroll:l,layoutRoot:h})}(d.current,i,r,c);let p=(0,a.useRef)(!1);(0,a.useInsertionEffect)(()=>{u&&p.current&&u.update(i,l)});let m=i[iu],f=(0,a.useRef)(!!m&&!window.MotionHandoffIsComplete?.(m)&&window.MotionHasOptimisedAnimation?.(m));return g(()=>{u&&(p.current=!0,window.MotionIsMounted=!0,u.updateFeatures(),u.scheduleRenderMicrotask(),f.current&&u.animationState&&u.animationState.animateChanges())}),(0,a.useEffect)(()=>{u&&(!f.current&&u.animationState&&u.animationState.animateChanges(),f.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(m)}),f.current=!1),u.enteringChildren=void 0)}),u}(t,m,d,s,e.ProjectionNode)}return(0,n.jsxs)(e6.Provider,{value:c,children:[h&&c.visualElement?(0,n.jsx)(h,{visualElement:c.visualElement,...d}):null,function(t,e,i,{latestValues:s},r,n=!1){let o=(e4(t)?function(t,e,i,s){let r=(0,a.useMemo)(()=>{let i=it();return eJ(i,e,e0(s),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};e7(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i,s,r={},n=(i=t.style||{},e7(s={},i,t),Object.assign(s,function({transformTemplate:t},e){return(0,a.useMemo)(()=>{let i=e8();return eH(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),s);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=n,r})(e,s,r,t),l=function(t,e,i){let s={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(is(r)||!0===i&&ii(r)||!e&&!ii(r)||t.draggable&&r.startsWith("onDrag"))&&(s[r]=t[r]);return s}(e,"string"==typeof t,n),h=t!==a.Fragment?{...l,...o,ref:i}:{},{children:d}=e,u=(0,a.useMemo)(()=>ed(d)?d.get():d,[d]);return(0,a.createElement)(t,{...h,children:u})}(t,i,(l=c.visualElement,(0,a.useCallback)(t=>{t&&m.onMount&&m.onMount(t),l&&(t?l.mount(t):l.unmount()),o&&("function"==typeof o?o(t):id(o)&&(o.current=t))},[l])),m,u,e)]})}o.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let l=(0,a.forwardRef)(o);return l[ih]=t,l}function im(t,e,i){let s=t.getProps();return eF(s,e,void 0!==i?i:s.custom,t)}function ig(t,e){return t?.[e]??t?.default??t}let ix=t=>Array.isArray(t);function iy(t,e){let i=t.getValue("willChange");if(ed(i)&&i.add)return i.add(e);if(!i&&tM.WillChange){let i=new tM.WillChange("auto");t.addValue("willChange",i),i.add(e)}}function iv(t){t.duration=0,t.type="keyframes"}let ib=(t,e)=>i=>e(t(i)),iA=(...t)=>t.reduce(ib),iw=t=>1e3*t,ij={layout:0,mainThread:0,waapi:0};function ik(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function iC(t,e){return i=>i>0?e:t}let iT=(t,e,i)=>{let s=t*t,r=i*(e*e-s)+s;return r<0?0:Math.sqrt(r)},iS=[tZ,tq,tJ];function iP(t){let e=iS.find(e=>e.test(t));if(tw(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===tJ&&(i=function({hue:t,saturation:e,lightness:i,alpha:s}){t/=360,i/=100;let r=0,n=0,a=0;if(e/=100){let s=i<.5?i*(1+e):i+e-i*e,o=2*i-s;r=ik(o,s,t+1/3),n=ik(o,s,t),a=ik(o,s,t-1/3)}else r=n=a=i;return{red:Math.round(255*r),green:Math.round(255*n),blue:Math.round(255*a),alpha:s}}(i)),i}let iE=(t,e)=>{let i=iP(t),s=iP(e);if(!i||!s)return iC(t,e);let r={...i};return t=>(r.red=iT(i.red,s.red,t),r.green=iT(i.green,s.green,t),r.blue=iT(i.blue,s.blue,t),r.alpha=Q(i.alpha,s.alpha,t),tq.transform(r))},iM=new Set(["none","hidden"]);function iR(t,e){return i=>Q(t,e,i)}function iN(t){return"number"==typeof t?iR:"string"==typeof t?G(t)?iC:t_.test(t)?iE:iL:Array.isArray(t)?iV:"object"==typeof t?t_.test(t)?iE:iD:iC}
9function iV(t,e){let i=[...t],s=i.length,r=t.map((t,i)=>iN(t)(t,e[i]));return t=>{for(let e=0;e<s;e++)i[e]=r[e](t);return i}}function iD(t,e){let i={...t,...e},s={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(s[r]=iN(t[r])(t[r],e[r]));return t=>{for(let e in s)i[e]=s[e](t);return i}}let iL=(t,e)=>{let i=t8.createTransformer(e),s=t4(t),r=t4(e);if(!(s.indexes.var.length===r.indexes.var.length&&s.indexes.color.length===r.indexes.color.length&&s.indexes.number.length>=r.indexes.number.length))return tw(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),iC(t,e);if(iM.has(t)&&!r.values.length||iM.has(e)&&!s.values.length)return iM.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return iA(iV(function(t,e){let i=[],s={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){let n=e.types[r],a=t.indexes[n][s[n]],o=t.values[a]??0;i[r]=o,s[n]++}return i}(s,r),r.values),i)};function iF(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?Q(t,e,i):iN(t)(t,e)}let iB=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>tV.update(e,t),stop:()=>tD(e),now:()=>tL.isProcessing?tL.timestamp:ec.now()}},iI=(t,e,i=10)=>{let s="",r=Math.max(Math.round(e/i),2);for(let e=0;e<r;e++)s+=Math.round(1e4*t(e/(r-1)))/1e4+", ";return`linear(${s.substring(0,s.length-2)})`};function iO(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}function iU(t,e,i){var s,r;let n=Math.max(e-5,0);return s=i-t(n),(r=e-n)?1e3/r*s:0}let iW=.01,iz=2,iH=.005,i$=.5;function iY(t,e){return t*Math.sqrt(1-e*e)}let iG=["duration","bounce"],iK=["stiffness","damping","mass"];function iX(t,e){return e.some(e=>void 0!==t[e])}function iQ(t=.3,e=.3){let i,s="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:r,restDelta:n}=s,a=s.keyframes[0],o=s.keyframes[s.keyframes.length-1],l={done:!1,value:a},{stiffness:h,damping:d,mass:u,duration:c,velocity:p,isResolvedFromDuration:m}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!iX(t,iK)&&iX(t,iG))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),s=i*i,r=2*tl(.05,1,1-(t.bounce||0))*Math.sqrt(s);e={...e,mass:1,stiffness:s,damping:r}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:s=1}){let r,n;tw(t<=iw(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-e;a=tl(.05,1,a),t=tl(.01,10,t/1e3),a<1?(r=e=>{let s=e*a,r=s*t;return .001-(s-i)/iY(e,a)*Math.exp(-r)},n=e=>{let s=e*a*t,n=Math.pow(a,2)*Math.pow(e,2)*t,o=Math.exp(-s),l=iY(Math.pow(e,2),a);return(s*i+i-n)*o*(-r(e)+.001>0?-1:1)/l}):(r=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),n=e=>t*t*(i-e)*Math.exp(-e*t));let o=function(t,e,i){let s=i;for(let i=1;i<12;i++)s-=t(s)/e(s);return s}(r,n,5/t);if(t=iw(t),isNaN(o))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(o,2)*s;return{stiffness:e,damping:2*a*Math.sqrt(s*e),duration:t}}}(t);(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...s,velocity:-((s.velocity||0)/1e3)}),f=p||0,g=d/(2*Math.sqrt(h*u)),x=o-a,y=Math.sqrt(h/u)/1e3,v=5>Math.abs(x);if(r||(r=v?iW:iz),n||(n=v?iH:i$),g<1){let t=iY(y,g);i=e=>o-Math.exp(-g*y*e)*((f+g*y*x)/t*Math.sin(t*e)+x*Math.cos(t*e))}else if(1===g)i=t=>o-Math.exp(-y*t)*(x+(f+y*x)*t);else{let t=y*Math.sqrt(g*g-1);i=e=>{let i=Math.exp(-g*y*e),s=Math.min(t*e,300);return o-i*((f+g*y*x)*Math.sinh(s)+t*x*Math.cosh(s))/t}}let b={calculatedDuration:m&&c||null,next:t=>{let e=i(t);if(m)l.done=t>=c;else{let s=0===t?f:0;g<1&&(s=0===t?iw(f):iU(i,t,e));let a=Math.abs(o-e)<=n;l.done=Math.abs(s)<=r&&a}return l.value=l.done?o:e,l},toString:()=>{let t=Math.min(iO(b),2e4),e=iI(e=>b.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return b}function iq({keyframes:t,velocity:e=0,power:i=.8,timeConstant:s=325,bounceDamping:r=10,bounceStiffness:n=500,modifyTarget:a,min:o,max:l,restDelta:h=.5,restSpeed:d}){let u,c,p=t[0],m={done:!1,value:p},f=i*e,g=p+f,x=void 0===a?g:a(g);x!==g&&(f=x-p);let y=t=>-f*Math.exp(-t/s),v=t=>x+y(t),b=t=>{let e=y(t),i=v(t);m.done=Math.abs(e)<=h,m.value=m.done?x:i},A=t=>{let e;if(e=m.value,void 0!==o&&e<o||void 0!==l&&e>l){var i;u=t,c=iQ({keyframes:[m.value,(i=m.value,void 0===o?l:void 0===l||Math.abs(o-i)<Math.abs(l-i)?o:l)],velocity:iU(v,t,m.value),damping:r,stiffness:n,restDelta:h,restSpeed:d})}};return A(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==u||(e=!0,b(t),A(t)),void 0!==u&&t>=u)?c.next(t-u):(e||b(t),m)}}}iQ.applyToOptions=t=>{let e=function(t,e=100,i){let s=i({...t,keyframes:[0,e]}),r=Math.min(iO(s),2e4);return{type:"keyframes",ease:t=>s.next(r*t).value/e,duration:r/1e3}}(t,100,iQ);return t.ease=e.ease,t.duration=iw(e.duration),t.type="keyframes",t};let iZ=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;
9function iJ(t,e,i,s){return t===e&&i===s?tE:r=>0===r||1===r?r:iZ(function(t,e,i,s,r){let n,a,o=0;do(n=iZ(a=e+(i-e)/2,s,r)-t)>0?i=a:e=a;while(Math.abs(n)>1e-7&&++o<12)return a}(r,0,1,t,i),e,s)}let i_=iJ(.42,0,1,1),i0=iJ(0,0,.58,1),i1=iJ(.42,0,.58,1),i2=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,i5=t=>e=>1-t(1-e),i4=iJ(.33,1.53,.69,.99),i3=i5(i4),i6=i2(i3),i9=t=>(t*=2)<1?.5*i3(t):.5*(2-Math.pow(2,-10*(t-1))),i8=t=>1-Math.sin(Math.acos(t)),i7=i5(i8),st=i2(i8),se=t=>Array.isArray(t)&&"number"==typeof t[0],si={linear:tE,easeIn:i_,easeInOut:i1,easeOut:i0,circIn:i8,circInOut:st,circOut:i7,backIn:i3,backInOut:i6,backOut:i4,anticipate:i9},ss=t=>{if(se(t)){tj(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,s,r]=t;return iJ(e,i,s,r)}return"string"==typeof t?(tj(void 0!==si[t],`Invalid easing type '${t}'`,"invalid-easing-type"),si[t]):t},sr=(t,e,i)=>{let s=e-t;return 0===s?1:(i-t)/s};function sn({duration:t=300,keyframes:e,times:i,ease:s="easeInOut"}){var r;let n,a=Array.isArray(s)&&"number"!=typeof s[0]?s.map(ss):ss(s),o={done:!1,value:e[0]},l=function(t,e,{clamp:i=!0,ease:s,mixer:r}={}){let n=t.length;if(tj(n===e.length,"Both input and output ranges must be the same length","range-length"),1===n)return()=>e[0];if(2===n&&e[0]===e[1])return()=>e[1];let a=t[0]===t[1];t[0]>t[n-1]&&(t=[...t].reverse(),e=[...e].reverse());let o=function(t,e,i){let s=[],r=i||tM.mix||iF,n=t.length-1;for(let i=0;i<n;i++){let n=r(t[i],t[i+1]);e&&(n=iA(Array.isArray(e)?e[i]||tE:e,n)),s.push(n)}return s}(e,s,r),l=o.length,h=i=>{if(a&&i<t[0])return e[0];let s=0;if(l>1)for(;s<t.length-2&&!(i<t[s+1]);s++);let r=sr(t[s],t[s+1],i);return o[s](r)};return i?e=>h(tl(t[0],t[n-1],e)):h}((r=i&&i.length===e.length?i:(!function(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let r=sr(0,e,s);t.push(Q(i,1,r))}}(n=[0],e.length-1),n),r.map(e=>e*t)),e,{ease:Array.isArray(a)?a:e.map(()=>a||i1).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=l(e),o.done=e>=t,o)}}let sa=t=>null!==t;function so(t,{repeat:e,repeatType:i="loop"},s,r=1){let n=t.filter(sa),a=r<0||e&&"loop"!==i&&e%2==1?0:n.length-1;return a&&void 0!==s?s:n[a]}let sl={decay:iq,inertia:iq,tween:sn,keyframes:sn,spring:iQ};function sh(t){"string"==typeof t.type&&(t.type=sl[t.type])}class sd{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let su=t=>t/100;class sc extends sd{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==ec.now()&&this.tick(ec.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},ij.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;sh(t);let{type:e=sn,repeat:i=0,repeatDelay:s=0,repeatType:r,velocity:n=0}=t,{keyframes:a}=t,o=e||sn;o!==sn&&"number"!=typeof a[0]&&(this.mixKeyframes=iA(su,iF(a[0],a[1])),a=[0,100]);let l=o({...t,keyframes:a});"mirror"===r&&(this.mirroredGenerator=o({...t,keyframes:[...a].reverse(),velocity:-n})),null===l.calculatedDuration&&(l.calculatedDuration=iO(l));let{calculatedDuration:h}=l;this.calculatedDuration=h,this.resolvedDuration=h+s,this.totalDuration=this.resolvedDuration*(i+1)-s,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:i,totalDuration:s,mixKeyframes:r,mirroredGenerator:n,resolvedDuration:a,calculatedDuration:o}=this;if(null===this.startTime)return i.next(0);let{delay:l=0,keyframes:h,repeat:d,repeatType:u,repeatDelay:c,type:p,onUpdate:m,finalKeyframe:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),x=this.playbackSpeed>=0?g<0:g>s;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let y=this.currentTime,v=i;if(d){let t=Math.min(this.currentTime,s)/a,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===u?(i=1-i,c&&(i-=c/a)):"mirror"===u&&(v=n)),y=tl(0,1,i)*a}let b=x?{done:!1,value:h[0]}:v.next(y);r&&(b.value=r(b.value));let{done:A}=b;x||null===o||(A=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);let w=null===this.holdTime&&("finished"===this.state||"running"===this.state&&A);return w&&p!==iq&&(b.value=so(h,this.options,f,this.speed)),m&&m(b.value),w&&this.finish(),b}then(t,e){return this.finished.then(t,e)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return this.currentTime/1e3}set time(t){t=iw(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(ec.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:t=iB,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(ec.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,ij.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function sp(t){let e;return()=>(void 0===e&&(e=t()),e)}let sm=sp(()=>void 0!==window.ScrollTimeline),sf={},sg=(i=sp(()=>{try{document.createElement("div").animate({opacity:0}
9,{easing:"linear(0, 1)"})}catch(t){return!1}return!0}),()=>sf.linearEasing??i()),sx=([t,e,i,s])=>`cubic-bezier(${t}, ${e}, ${i}, ${s})`,sy={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:sx([0,.65,.55,1]),circOut:sx([.55,0,1,.45]),backIn:sx([.31,.01,.66,-.59]),backOut:sx([.33,1.53,.69,.99])};function sv(t){return"function"==typeof t&&"applyToOptions"in t}class sb extends sd{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:e,name:i,keyframes:s,pseudoElement:r,allowFlatten:n=!1,finalKeyframe:a,onComplete:o}=t;this.isPseudoElement=!!r,this.allowFlatten=n,this.options=t,tj("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return sv(t)&&sg()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:s=0,duration:r=300,repeat:n=0,repeatType:a="loop",ease:o="easeOut",times:l}={},h){let d={[e]:i};l&&(d.offset=l);let u=function t(e,i){if(e)return"function"==typeof e?sg()?iI(e,i):"ease-out":se(e)?sx(e):Array.isArray(e)?e.map(e=>t(e,i)||sy.easeOut):sy[e]}(o,r);Array.isArray(u)&&(d.easing=u);let c={delay:s,duration:r,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:n+1,direction:"reverse"===a?"alternate":"normal"};h&&(c.pseudoElement=h);let p=t.animate(d,c);return p}(e,i,s,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let t=so(s,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(t):i.startsWith("--")?e.style.setProperty(i,t):e.style[i]=t,this.animation.cancel()}o?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(t){this.finishedTime=null,this.animation.currentTime=iw(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&sm())?(this.animation.timeline=t,tE):e(this)}}let sA={anticipate:i9,backInOut:i6,circInOut:st};class sw extends sb{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in sA&&(t.ease=sA[t.ease])}(t),sh(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:s,element:r,...n}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let a=new sc({...n,autoplay:!1}),o=iw(this.finishedTime??this.time);e.setWithVelocity(a.sample(o-10).value,a.sample(o).value,10),a.stop()}}let sj=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(t8.test(t)||"0"===t)&&!t.startsWith("url(")),sk=new Set(["opacity","clipPath","filter","transform"]),sC=sp(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class sT extends sd{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:s=0,repeatDelay:r=0,repeatType:n="loop",keyframes:a,name:o,motionValue:l,element:h,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=ec.now();const u={autoplay:t,delay:e,type:i,repeat:s,repeatDelay:r,repeatType:n,name:o,motionValue:l,element:h,...d},c=h?.KeyframeResolver||tH;this.keyframeResolver=new c(a,(t,e,i)=>this.onKeyframesResolved(t,e,u,!i),o,l,h),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,s){this.keyframeResolver=void 0;let{name:r,type:n,velocity:a,delay:o,isHandoff:l,onUpdate:h}=i;
9this.resolvedAt=ec.now(),!function(t,e,i,s){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let n=t[t.length-1],a=sj(r,e),o=sj(n,e);return tw(a===o,`You are trying to animate ${e} from "${r}" to "${n}". "${a?n:r}" is not an animatable value.`,"value-not-animatable"),!!a&&!!o&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||sv(i))&&s)}(t,r,n,a)&&((tM.instantAnimations||!o)&&h?.(so(t,i,e)),t[0]=t[t.length-1],iv(i),i.repeat=0);let d={startTime:s?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},u=!l&&function(t){let{motionValue:e,name:i,repeatDelay:s,repeatType:r,damping:n,type:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:o,transformTemplate:l}=e.owner.getProps();return sC()&&i&&sk.has(i)&&("transform"!==i||!l)&&!o&&!s&&"mirror"!==r&&0!==n&&"inertia"!==a}(d)?new sw({...d,element:d.motionValue.owner.current}):new sc(d);u.finished.then(()=>this.notifyFinished()).catch(tE),this.pendingTimeline&&(this.stopTimeline=u.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=u}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),tU=!0,tz(),tW(),tU=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let sS=t=>null!==t,sP={type:"spring",stiffness:500,damping:25,restSpeed:10},sE={type:"keyframes",duration:.8},sM={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},sR=(t,e,i,s={},r,n)=>a=>{let o=ig(s,t)||{},l=o.delay||s.delay||0,{elapsed:h=0}=s;h-=iw(l);let d={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...o,delay:-h,onUpdate:t=>{e.set(t),o.onUpdate&&o.onUpdate(t)},onComplete:()=>{a(),o.onComplete&&o.onComplete()},name:t,motionValue:e,element:n?void 0:r};!function({when:t,delay:e,delayChildren:i,staggerChildren:s,staggerDirection:r,repeat:n,repeatType:a,repeatDelay:o,from:l,elapsed:h,...d}){return!!Object.keys(d).length}(o)&&Object.assign(d,((t,{keyframes:e})=>e.length>2?sE:N.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:sP:sM)(t,d)),d.duration&&(d.duration=iw(d.duration)),d.repeatDelay&&(d.repeatDelay=iw(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let u=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(iv(d),0===d.delay&&(u=!0)),(tM.instantAnimations||tM.skipAnimations)&&(u=!0,iv(d),d.delay=0),d.allowFlatten=!o.type&&!o.ease,u&&!n&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"},s){let r=t.filter(sS),n=e&&"loop"!==i&&e%2==1?0:r.length-1;return r[n]}(d.keyframes,o);if(void 0!==t)return void tV.update(()=>{d.onUpdate(t),d.onComplete()})}return o.isSync?new sc(d):new sT(d)};function sN(t,e,{delay:i=0,transitionOverride:s,type:r}={}){let{transition:n=t.getDefaultTransition(),transitionEnd:a,...o}=e;s&&(n=s);let l=[],h=r&&t.animationState&&t.animationState.getState()[r];for(let e in o){let s=t.getValue(e,t.latestValues[e]??null),r=o[e];if(void 0===r||h&&function({protectedKeys:t,needsAnimating:e},i){let s=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,s}(h,e))continue;let a={delay:i,...ig(n||{},e)},d=s.get();if(void 0!==d&&!s.isAnimating&&!Array.isArray(r)&&r===d&&!a.velocity)continue;let u=!1;if(window.MotionHandoffAnimation){let i=t.props[iu];if(i){let t=window.MotionHandoffAnimation(i,e,tV);null!==t&&(a.startTime=t,u=!0)}}iy(t,e),s.start(sR(e,s,r,t.shouldReduceMotion&&to.has(e)?{type:!1}:a,t,u));let c=s.animation;c&&l.push(c)}return a&&Promise.all(l).then(()=>{tV.update(()=>{a&&function(t,e){let{transitionEnd:i={},transition:s={},...r}=im(t,e)||{};for(let e in r={...r,...i}){var n;let i=ix(n=r[e])?n[n.length-1]||0:n;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,ex(i))}}(t,a)})}),l}function sV(t,e,i,s=0,r=1){let n=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),a=t.size,o=(a-1)*s;return"function"==typeof i?i(n,a):1===r?n*s:o-n*s}function sD(t,e,i={}){let s=im(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:r=t.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(r=i.transitionOverride);let n=s?()=>Promise.all(sN(t,s,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(s=0)=>{let{delayChildren:n=0,staggerChildren:a,staggerDirection:o}=r;
9return function(t,e,i=0,s=0,r=0,n=1,a){let o=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),o.push(sD(l,e,{...a,delay:i+("function"==typeof s?0:s)+sV(t.variantChildren,l,s,r,n)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(o)}(t,e,s,n,a,o,i)}:()=>Promise.resolve(),{when:o}=r;if(!o)return Promise.all([n(),a(i.delay)]);{let[t,e]="beforeChildren"===o?[n,a]:[a,n];return t().then(()=>e())}}function sL(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let s=0;s<i;s++)if(e[s]!==t[s])return!1;return!0}let sF=eN.length,sB=[...eR].reverse(),sI=eR.length;function sO(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function sU(){return{animate:sO(!0),whileInView:sO(),whileHover:sO(),whileTap:sO(),whileDrag:sO(),whileFocus:sO(),exit:sO()}}class sW{constructor(t){this.isMounted=!1,this.node=t}update(){}}let sz=0,sH={x:!1,y:!1};function s$(t,e,i,s={passive:!0}){return t.addEventListener(e,i,s),()=>t.removeEventListener(e,i)}let sY=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function sG(t){return{point:{x:t.pageX,y:t.pageY}}}function sK(t,e,i,s){return s$(t,e,t=>sY(t)&&i(t,sG(t)),s)}function sX(t){return t.max-t.min}function sQ(t,e,i,s=.5){t.origin=s,t.originPoint=Q(e.min,e.max,t.origin),t.scale=sX(i)/sX(e),t.translate=Q(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function sq(t,e,i,s){sQ(t.x,e.x,i.x,s?s.originX:void 0),sQ(t.y,e.y,i.y,s?s.originY:void 0)}function sZ(t,e,i){t.min=i.min+e.min,t.max=t.min+sX(e)}function sJ(t,e,i){t.min=e.min-i.min,t.max=t.min+sX(e)}function s_(t,e,i){sJ(t.x,e.x,i.x),sJ(t.y,e.y,i.y)}function s0(t){return[t("x"),t("y")]}let s1=({current:t})=>t?t.ownerDocument.defaultView:null,s2=(t,e)=>Math.abs(t-e);class s5{constructor(t,e,{transformPagePoint:i,contextWindow:s=window,dragSnapToOrigin:r=!1,distanceThreshold:n=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=s6(this.lastMoveEventInfo,this.history),s=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(s2(t.x,e.x)**2+s2(t.y,e.y)**2)>=this.distanceThreshold);if(!s&&!r)return;let{point:n}=i,{timestamp:a}=tL;this.history.push({...n,timestamp:a});let{onStart:o,onMove:l}=this.handlers;s||(o&&o(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=s4(e,this.transformPagePoint),tV.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:s,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=s6("pointercancel"===t.type?this.lastMoveEventInfo:s4(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,n),s&&s(t,n)},!sY(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=n,this.contextWindow=s||window;const a=s4(sG(t),this.transformPagePoint),{point:o}=a,{timestamp:l}=tL;this.history=[{...o,timestamp:l}];const{onSessionStart:h}=e;h&&h(t,s6(a,this.history)),this.removeListeners=iA(sK(this.contextWindow,"pointermove",this.handlePointerMove),sK(this.contextWindow,"pointerup",this.handlePointerUp),sK(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),tD(this.updatePoint)}}function s4(t,e){return e?{point:e(t.point)}:t}function s3(t,e){return{x:t.x-e.x,y:t.y-e.y}}function s6({point:t},e){return{point:t,delta:s3(t,s9(e)),offset:s3(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,s=null,r=s9(t);for(;i>=0&&(s=t[i],!(r.timestamp-s.timestamp>iw(.1)));)i--;if(!s)return{x:0,y:0};let n=(r.timestamp-s.timestamp)/1e3;if(0===n)return{x:0,y:0};let a={x:(r.x-s.x)/n,y:(r.y-s.y)/n};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(e,.1)}}function s9(t){return t[t.length-1]}function s8(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function s7(t,e){let i=e.min-t.min,s=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,s]=[s,i]),{min:i,max:s}}function rt(t,e,i){return{min:re(t,e),max:re(t,i)}}function re(t,e){return"number"==typeof t?t:t[e]||0}let ri=new WeakMap;class rs{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=eC(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:s}=this.visualElement;if(s&&!1===s.isPresent)return;let r=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(sG(t).point)},n=(t,e)=>{let{drag:i,dragPropagation:s,onDragStart:r}=this.getProps();if(i&&!s&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(sH[t])return null;else return sH[t]=!0,()=>{sH[t]=!1};return sH.x||sH.y?null:(sH.x=sH.y=!0,()=>{sH.x=sH.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),s0(t=>{let e=this.getAxisMotionValue(t).get()||0;if(tm.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let s=i.layout.layoutBox[t];s&&(e=sX(s)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&tV.postRender(()=>r(t,e)),iy(this.visualElement,"transform");let{animationState:n}=this.visualElement;n&&n.setActive("whileDrag",!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:s,onDirectionLock:r,onDrag:n}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=e;if(s&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(a),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),n&&n(t,e)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>s0(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play()),{dragSnapToOrigin:h}=this.getProps();this.panSession=new s5(t,{onSessionStart:r,onStart:n,onMove:a,onSessionEnd:o,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,distanceThreshold:i,contextWindow:s1(this.visualElement)})}stop(t,e){let i=t||this.latestPointerEvent,s=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!s||!i)return;let{velocity:n}=s;this.startAnimation(n);let{onDragEnd:a}=this.getProps();a&&tV.postRender(()=>a(i,s))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:s}=this.getProps();if(!i||!rr(t,s,this.currentDirection))return;let r=this.getAxisMotionValue(t),n=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(n=function(t,{min:e,max:i},s){return void 0!==e&&t<e?t=s?Q(e,t,s.min):Math.max(t,e):void 0!==i&&t>i&&(t=s?Q(i,t,s.max):Math.min(t,i)),t}(n,this.constraints[t],this.elastic[t])),r.set(n)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,s=this.constraints;t&&id(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:s,right:r}){return{x:s8(t.x,i,r),y:s8(t.y,e,s)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:rt(t,"left","right"),y:rt(t,"top","bottom")}}(e),s!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&s0(t=>{var e,s;let r;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],s=this.constraints[t],r={},void 0!==s.min&&(r.min=s.min-e.min),void 0!==s.max&&(r.max=s.max-e.min),r))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!id(e))return!1;let s=e.current;tj(null!==s,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;
9let n=function(t,e,i){let s=ta(t,i),{scroll:r}=e;return r&&(ts(s.x,r.offset.x),ts(s.y,r.offset.y)),s}(s,r.root,this.visualElement.getTransformPagePoint()),a=(t=r.layout.layoutBox,{x:s7(t.x,n.x),y:s7(t.y,n.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(a));this.hasMutatedConstraints=!!t,t&&(a=X(t))}return a}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:s,dragTransition:r,dragSnapToOrigin:n,onDragTransitionEnd:a}=this.getProps(),o=this.constraints||{};return Promise.all(s0(a=>{if(!rr(a,e,this.currentDirection))return;let l=o&&o[a]||{};n&&(l={min:0,max:0});let h={type:"inertia",velocity:i?t[a]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(a,h)})).then(a)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return iy(this.visualElement,t),i.start(sR(t,i,0,e,this.visualElement,!1))}stopAnimation(){s0(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){s0(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){s0(e=>{let{drag:i}=this.getProps();if(!rr(e,i,this.currentDirection))return;let{projection:s}=this.visualElement,r=this.getAxisMotionValue(e);if(s&&s.layout){let{min:i,max:n}=s.layout.layoutBox[e];r.set(t[e]-Q(i,n,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!id(e)||!i||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};s0(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,r;let n,a,o,l=e.get();s[t]=(i={min:l,max:l},r=this.constraints[t],n=.5,a=sX(i),(o=sX(r))>a?n=sr(r.min,r.max-a,i.min):a>o&&(n=sr(i.min,i.max-o,r.min)),tl(0,1,n))}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),s0(e=>{if(!rr(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:n}=this.constraints[e];i.set(Q(r,n,s[e]))})}addListeners(){if(!this.visualElement.current)return;ri.set(this.visualElement,this);let t=sK(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();id(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),tV.read(e);let r=s$(window,"resize",()=>this.scalePositionWithinConstraints()),n=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(s0(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),t(),s(),n&&n()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:r=!1,dragElastic:n=.35,dragMomentum:a=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:s,dragConstraints:r,dragElastic:n,dragMomentum:a}}}function rr(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}let rn=t=>(e,i)=>{t&&tV.postRender(()=>t(e,i))};var ra=a;let ro={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function rl(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let rh={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!tf.test(t))return t;else t=parseFloat(t);let i=rl(t,e.target.x),s=rl(t,e.target.y);return`${i}% ${s}%`}},rd=!1;class ru extends ra.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:r}=t;for(let t in rp)eY[t]=rp[t],$(t)&&(eY[t].isCSSVariable=!0);r&&(e.group&&e.group.add(r),i&&i.register&&s&&i.register(r),rd&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),ro.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:s,isPresent:r}=this.props,{projection:n}=i;return n&&(n.isPresent=r,rd=!0,s||t.layoutDependency!==e||void 0===e||t.isPresent!==r?n.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?n.promote():n.relegate()||tV.postRender(()=>{let t=n.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),ev.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:s}=t;rd=!0,s&&(s.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function rc(t){let[e,i]=S(),s=(0,ra.useContext)(p);return(0,n.jsx)(ru,{...t,layoutGroup:s,switchLayoutGroup:(0,ra.useContext)(ic),isPresent:e,safeToRemove:i})}let rp={borderRadius:{...rh,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:rh,borderTopRightRadius:rh,borderBottomLeftRadius:rh,borderBottomRightRadius:rh,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let s=t8.parse(t);if(s.length>5)return t;let r=t8.createTransformer(t),n=+("number"!=typeof s[0]),a=i.x.scale*e.x,o=i.y.scale*e.y;s[0+n]/=a,s[1+n]/=o;let l=Q(a,o,.5);return"number"==typeof s[2+n]&&(s[2+n]/=l),"number"==typeof s[3+n]&&(s[3+n]/=l),r(s)}}};function rm(t){return y(t)&&"ownerSVGElement"in t}let rf=(t,e)=>t.depth-e.depth;class rg{constructor(){this.children=[],this.isDirty=!1}add(t){ep(this.children,t),this.isDirty=!0}remove(t){em(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(rf),this.isDirty=!1,this.children.forEac
9h(t)}}let rx=["TopLeft","TopRight","BottomLeft","BottomRight"],ry=rx.length,rv=t=>"string"==typeof t?parseFloat(t):t,rb=t=>"number"==typeof t||tf.test(t);function rA(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let rw=rk(0,.5,i7),rj=rk(.5,.95,tE);function rk(t,e,i){return s=>s<t?0:s>e?1:i(sr(t,e,s))}function rC(t,e){t.min=e.min,t.max=e.max}function rT(t,e){rC(t.x,e.x),rC(t.y,e.y)}function rS(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function rP(t,e,i,s,r){return t-=e,t=s+1/i*(t-s),void 0!==r&&(t=s+1/r*(t-s)),t}function rE(t,e,[i,s,r],n,a){!function(t,e=0,i=1,s=.5,r,n=t,a=t){if(tm.test(e)&&(e=parseFloat(e),e=Q(a.min,a.max,e/100)-a.min),"number"!=typeof e)return;let o=Q(n.min,n.max,s);t===n&&(o-=e),t.min=rP(t.min,e,i,o,r),t.max=rP(t.max,e,i,o,r)}(t,e[i],e[s],e[r],e.scale,n,a)}let rM=["x","scaleX","originX"],rR=["y","scaleY","originY"];function rN(t,e,i,s){rE(t.x,e,rM,i?i.x:void 0,s?s.x:void 0),rE(t.y,e,rR,i?i.y:void 0,s?s.y:void 0)}function rV(t){return 0===t.translate&&1===t.scale}function rD(t){return rV(t.x)&&rV(t.y)}function rL(t,e){return t.min===e.min&&t.max===e.max}function rF(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function rB(t,e){return rF(t.x,e.x)&&rF(t.y,e.y)}function rI(t){return sX(t.x)/sX(t.y)}function rO(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class rU{constructor(){this.members=[]}add(t){ep(this.members,t),t.scheduleRender()}remove(t){if(em(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:s}=t.options;!1===s&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let rW=["","X","Y","Z"],rz=0;function rH(t,e,i,s){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),s&&(s[t]=0))}function r$({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:s,resetTransform:r}){return class{constructor(t={},i=e?.()){this.id=rz++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(rK),this.nodes.forEach(r0),this.nodes.forEach(r1),this.nodes.forEach(rX)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new rg)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new ef),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=rm(e)&&!(rm(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:s,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(s||i)&&(this.isLayoutDirty=!0),t){let i,s=0,r=()=>this.root.updateBlockedByResize=!1;tV.read(()=>{s=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==s){let e,n;s=t,this.root.updateBlockedByResize=!0,i&&i(),e=ec.now(),n=({timestamp:t})=>{let i=t-e;i>=250&&(tD(n),r(i-250))},tV.setup(n,!0),i=()=>tD(n),ro.hasAnimatedSinceResize&&(ro.hasAnimatedSinceResize=!1,this.nodes.forEac
9h(r_))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(i||s)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:s})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||r.getDefaultTransition()||r9,{onLayoutAnimationStart:a,onLayoutAnimationComplete:o}=r.getProps(),l=!this.targetLayout||!rB(this.targetLayout,s),h=!e&&i;if(this.options.layoutRoot||this.resumeFrom||h||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...ig(n,"layout"),onPlay:a,onComplete:o};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,h)}else e||r_(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=s})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),tD(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(r2),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let s=i.props[iu];if(window.MotionHasOptimisedAnimation(s,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(s,"transform",tV,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(rq);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(rZ);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(rJ),this.nodes.forEach(rY),this.nodes.forEach(rG)):this.nodes.forEach(rZ),this.clearAllSnapshots();let t=ec.now();tL.delta=tl(0,1e3/60,t-tL.timestamp),tL.timestamp=t,tL.isProcessing=!0,tF.update.process(tL),tF.preRender.process(tL),tF.render.process(tL),tL.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ev.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(rQ),this.sharedNodes.forEach(r5)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tV.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tV.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||sX(this.snapshot.measuredBox.x)||sX(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=eC(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=s(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!rD(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,n=s!==this.prevTransformTemplateValue;t&&this.instance&&(e||J(this.latestValues)||n)&&(r(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),s=this.removeElementScroll(i);return t&&(s=this.removeTransform(s)),nt((e=s).x),nt(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:s,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return eC();let e=t.measureViewportBox();
9if(!(this.scroll?.wasRoot||this.path.some(ni))){let{scroll:t}=this.root;t&&(ts(e.x,t.offset.x),ts(e.y,t.offset.y))}return e}removeElementScroll(t){let e=eC();if(rT(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let s=this.path[i],{scroll:r,options:n}=s;s!==this.root&&r&&n.layoutScroll&&(r.wasRoot&&rT(e,t),ts(e.x,r.offset.x),ts(e.y,r.offset.y))}return e}applyTransform(t,e=!1){let i=eC();rT(i,t);for(let t=0;t<this.path.length;t++){let s=this.path[t];!e&&s.options.layoutScroll&&s.scroll&&s!==s.root&&tn(i,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),J(s.latestValues)&&tn(i,s.latestValues)}return J(this.latestValues)&&tn(i,this.latestValues),i}removeTransform(t){let e=eC();rT(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!J(i.latestValues))continue;Z(i.latestValues)&&i.updateSnapshot();let s=eC();rT(s,i.measurePageBox()),rN(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,s)}return J(this.latestValues)&&rN(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==tL.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:s,layoutId:r}=this.options;if(this.layout&&(s||r)){if(this.resolvedRelativeTargetAt=tL.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=eC(),this.relativeTargetOrigin=eC(),s_(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),rT(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=eC(),this.targetWithTransforms=eC()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var n,a,o;this.forceRelativeParentToResolveTarget(),n=this.target,a=this.relativeTarget,o=this.relativeParent.target,sZ(n.x,a.x,o.x),sZ(n.y,a.y,o.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rT(this.target,this.layout.layoutBox),ti(this.target,this.targetDelta)):rT(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=eC(),this.relativeTargetOrigin=eC(),s_(this.relativeTargetOrigin,this.target,t.target),rT(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}}getClosestProjectingParent(){if(!(!this.parent||Z(this.parent.latestValues)||_(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===tL.timestamp&&(i=!1),i)return;let{layout:s,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||r))return;rT(this.layoutCorrected,this.layout.layoutBox);let n=this.treeScale.x,a=this.treeScale.y;
9!function(t,e,i,s=!1){let r,n,a=i.length;if(a){e.x=e.y=1;for(let o=0;o<a;o++){n=(r=i[o]).projectionDelta;let{visualElement:a}=r.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(s&&r.options.layoutScroll&&r.scroll&&r!==r.root&&tn(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),n&&(e.x*=n.x.scale,e.y*=n.y.scale,ti(t,n)),s&&J(r.latestValues)&&tn(t,r.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=eC());let{target:o}=t;if(!o){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(rS(this.prevProjectionDelta.x,this.projectionDelta.x),rS(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),sq(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.treeScale.x===n&&this.treeScale.y===a&&rO(this.projectionDelta.x,this.prevProjectionDelta.x)&&rO(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ej(),this.projectionDelta=ej(),this.projectionDeltaWithTransform=ej()}setAnimationOrigin(t,e=!1){let i,s=this.snapshot,r=s?s.latestValues:{},n={...this.latestValues},a=ej();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let o=eC(),l=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),d=!h||h.members.length<=1,u=!!(l&&!d&&!0===this.options.crossfade&&!this.path.some(r6));this.animationProgress=0,this.mixTargetDelta=e=>{let s=e/1e3;if(r4(a.x,t.x,s),r4(a.y,t.y,s),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,c,p,m,f,g;s_(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=o,g=s,r3(p.x,m.x,f.x,g),r3(p.y,m.y,f.y,g),i&&(h=this.relativeTarget,c=i,rL(h.x,c.x)&&rL(h.y,c.y))&&(this.isProjectionDirty=!1),i||(i=eC()),rT(i,this.relativeTarget)}l&&(this.animationValues=n,function(t,e,i,s,r,n){r?(t.opacity=Q(0,i.opacity??1,rw(s)),t.opacityExit=Q(e.opacity??1,0,rj(s))):n&&(t.opacity=Q(e.opacity??1,i.opacity??1,s));for(let r=0;r<ry;r++){let n=`border${rx[r]}Radius`,a=rA(e,n),o=rA(i,n);(void 0!==a||void 0!==o)&&(a||(a=0),o||(o=0),0===a||0===o||rb(a)===rb(o)?(t[n]=Math.max(Q(rv(a),rv(o),s),0),(tm.test(o)||tm.test(a))&&(t[n]+="%")):t[n]=o)}(e.rotate||i.rotate)&&(t.rotate=Q(e.rotate||0,i.rotate||0,s))}(n,r,this.latestValues,s,u,d)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=s},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(tD(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tV.update(()=>{var e,i,s;let r;ro.hasAnimatedSinceResize=!0,ij.layout++,this.motionValue||(this.motionValue=ex(0)),this.currentAnimation=(e=this.motionValue,i=[0,1e3],s={...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{ij.layout--},onComplete:()=>{ij.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}},(r=ed(e)?e:ex(e)).start(sR("",r,i,s)),r.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:s,latestValues:r}=t;if(e&&i&&s){if(this!==t&&this.layout&&s&&ne(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||eC();let e=sX(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let s=sX(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}rT(e,i),tn(e,r),sq(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new rU),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
9return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let s=this.getStack();s&&s.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let s={};i.z&&rH("z",t,s,this.animationValues);for(let e=0;e<rW.length;e++)rH(`rotate${rW[e]}`,t,s,this.animationValues),rH(`skew${rW[e]}`,t,s,this.animationValues);for(let e in t.render(),s)t.setStaticValue(e,s[e]),this.animationValues&&(this.animationValues[e]=s[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=ir(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=ir(e?.pointerEvents)||""),this.hasProjected&&!J(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let r=s.animationValues||s.latestValues;this.applyTransformsToTarget();let n=function(t,e,i){let s="",r=t.x.translate/e.x,n=t.y.translate/e.y,a=i?.z||0;if((r||n||a)&&(s=`translate3d(${r}px, ${n}px, ${a}px) `),(1!==e.x||1!==e.y)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:n,skewX:a,skewY:o}=i;t&&(s=`perspective(${t}px) ${s}`),e&&(s+=`rotate(${e}deg) `),r&&(s+=`rotateX(${r}deg) `),n&&(s+=`rotateY(${n}deg) `),a&&(s+=`skewX(${a}deg) `),o&&(s+=`skewY(${o}deg) `)}let o=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==o||1!==l)&&(s+=`scale(${o}, ${l})`),s||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);i&&(n=i(r,n)),t.transform=n;let{x:a,y:o}=this.projectionDelta;for(let e in t.transformOrigin=`${100*a.origin}% ${100*o.origin}% 0`,s.animationValues?t.opacity=s===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:t.opacity=s===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,eY){if(void 0===r[e])continue;let{correct:i,applyTo:a,isCSSVariable:o}=eY[e],l="none"===n?r[e]:i(r[e],s);if(a){let e=a.length;for(let i=0;i<e;i++)t[a[i]]=l}else o?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=s===this?ir(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(rq),this.root.sharedNodes.clear()}}}function rY(t){t.updateLayout()}function rG(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:s}=t.layout,{animationType:r}=t.options,n=e.source!==t.layout.source;"size"===r?s0(t=>{let s=n?e.measuredBox[t]:e.layoutBox[t],r=sX(s);s.min=i[t].min,s.max=s.min+r}):ne(r,e.layoutBox,i)&&s0(s=>{let r=n?e.measuredBox[s]:e.layoutBox[s],a=sX(i[s]);r.max=r.min+a,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+a)});let a=ej();sq(a,i,e.layoutBox);let o=ej();n?sq(o,t.applyTransform(s,!0),e.measuredBox):sq(o,i,e.layoutBox);let l=!rD(a),h=!1;if(!t.resumeFrom){let s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:r,layout:n}=s;if(r&&n){let a=eC();s_(a,e.layoutBox,r.layoutBox);let o=eC();s_(o,i,n.layoutBox),rB(a,o)||(h=!0),s.options.layoutRoot&&(t.relativeTarget=o,t.relativeTargetOrigin=a,t.relativeParent=s)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:o,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function rK(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
9isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function rX(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function rQ(t){t.clearSnapshot()}function rq(t){t.clearMeasurements()}function rZ(t){t.isLayoutDirty=!1}function rJ(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function r_(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function r0(t){t.resolveTargetDelta()}function r1(t){t.calcProjection()}function r2(t){t.resetSkewAndRotation()}function r5(t){t.removeLeadSnapshot()}function r4(t,e,i){t.translate=Q(e.translate,0,i),t.scale=Q(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function r3(t,e,i,s){t.min=Q(e.min,i.min,s),t.max=Q(e.max,i.max,s)}function r6(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let r9={duration:.45,ease:[.4,0,.1,1]},r8=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),r7=r8("applewebkit/")&&!r8("chrome/")?Math.round:tE;function nt(t){t.min=r7(t.min),t.max=r7(t.max)}function ne(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(rI(e)-rI(i)))}function ni(t){return t!==t.root&&t.scroll?.wasRoot}let ns=r$({attachResizeListener:(t,e)=>s$(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),nr={current:void 0},nn=r$({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!nr.current){let t=new ns({});t.mount(window),t.setOptions({layoutScroll:!0}),nr.current=t}return nr.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function na(t,e,i){if(t instanceof EventTarget)return[t];if("string"==typeof t){let s=document;e&&(s=e.current);let r=i?.[t]??s.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t)}function no(t,e){let i=na(t),s=new AbortController;return[i,{passive:!0,...e,signal:s.signal},()=>s.abort()]}function nl(t){return!("touch"===t.pointerType||sH.x||sH.y)}function nh(t,e,i){let{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=s["onHover"+i];r&&tV.postRender(()=>r(e,sG(e)))}let nd=(t,e)=>!!e&&(t===e||nd(t,e.parentElement)),nu=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),nc=new WeakSet;function np(t){return e=>{"Enter"===e.key&&t(e)}}function nm(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function nf(t){return sY(t)&&!(sH.x||sH.y)}function ng(t,e,i){let{props:s}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap","Start"===i);let r=s["onTap"+("End"===i?"":i)];r&&tV.postRender(()=>r(e,sG(e)))}let nx=new WeakMap,ny=new WeakMap,nv=t=>{let e=nx.get(t.target);e&&e(t)},nb=t=>{t.forEach(nv)},nA={some:0,all:1},nw=function(t,e){if("u"<typeof Proxy)return ip;let i=new Map,s=(i,s)=>ip(i,s,t,e);return new Proxy((t,e)=>s(t,e),{get:(r,n)=>"create"===n?s:(i.has(n)||i.set(n,ip(n,void 0,t,e)),i.get(n))})}({animation:{Feature:class extends sW{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let s;if(t.notify("AnimationStart",e),Array.isArray(e))s=Promise.all(e.map(e=>sD(t,e,i)));else if("string"==typeof e)s=sD(t,e,i);else{let r="function"==typeof e?im(t,e,i.custom):e;s=Promise.all(sN(t,r,i))}return s.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=sU(),s=!0,r=e=>(i,s)=>{let r=im(t,s,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...s}=r;i={...i,...s,...e}}return i};function n(n){let{props:a}=t,o=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<sF;t++){let s=eN[t],r=e.props[s];(eM(r)||!1===r)&&(i[s]=r)}return i}(t.parent)||{},l=[],h=new Set,d={},u=1/0;for(let e=0;e<sI;e++){var c,p;let m=sB[e],f=i[m],g=void 0!==a[m]?a[m]:o[m],x=eM(g),y=m===n?f.isActive:null;!1===y&&(u=e);let v=g===o[m]&&g!==a[m]&&x;if(v&&s&&t.manuallyAnimateOnMount&&(v=!1),f.protectedKeys={...d},!f.isActive&&null===y||!g&&!f.prevProp||eE(g)||"boolean"==typeof g)continue;let b=(c=f.prevProp,"string"==typeof(p=g)?p!==c:!!Array.isArray(p)&&!sL(p,c)),A=b||m===n&&f.isActive&&!v&&x||e>u&&x,w=!1,j=Array.isArray(g)?g:[g],k=j.reduce(r(m),{});!1===y&&(k={});let{prevResolvedValues:C={}}=f,T={...C,...k},S=e=>{A=!0,h.has(e)&&(w=!0,h.delete(e)),f.needsAnimating[e]=!0;let i=t.getValue(e);
9i&&(i.liveStyle=!1)};for(let t in T){let e=k[t],i=C[t];if(!d.hasOwnProperty(t))(ix(e)&&ix(i)?sL(e,i):e===i)?void 0!==e&&h.has(t)?S(t):f.protectedKeys[t]=!0:null!=e?S(t):h.add(t)}f.prevProp=g,f.prevResolvedValues=k,f.isActive&&(d={...d,...k}),s&&t.blockInitialAnimation&&(A=!1);let P=v&&b,E=!P||w;A&&E&&l.push(...j.map(e=>{let i={type:m};if("string"==typeof e&&s&&!P&&t.manuallyAnimateOnMount&&t.parent){let{parent:s}=t,r=im(s,e);if(s.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=sV(s.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(h.size){let e={};if("boolean"!=typeof a.initial){let i=im(t,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(e.transition=i.transition)}h.forEach(i=>{let s=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=s??null}),l.push({animation:e})}let m=!!l.length;return s&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(m=!1),s=!1,m?e(l):Promise.resolve()}return{animateChanges:n,setActive:function(e,s){if(i[e].isActive===s)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,s)),i[e].isActive=s;let r=n(e);for(let t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=sU()}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();eE(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends sW{constructor(){super(...arguments),this.id=sz++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let s=this.node.animationState.setActive("exit",!t);e&&!t&&s.then(()=>{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
9e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends sW{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:s,margin:r,amount:n="some",once:a}=i,o={root:s?s.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:nA[n]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,a&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:s}=this.node.getProps(),r=e?i:s;r&&r(t)};return t=this.node.current,e=function({root:t,...e}){let i=t||document;ny.has(i)||ny.set(i,{});let s=ny.get(i),r=JSON.stringify(e);return s[r]||(s[r]=new IntersectionObserver(nb,{root:t,...e})),s[r]}(o),nx.set(t,l),e.observe(t),()=>{nx.delete(t),e.unobserve(t)}}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends sW{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[s,r,n]=no(t,i),a=t=>{let s=t.currentTarget;if(!nf(t))return;nc.add(s);let n=e(s,t),a=(t,e)=>{window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",l),nc.has(s)&&nc.delete(s),nf(t)&&"function"==typeof n&&n(t,{success:e})},o=t=>{a(t,s===window||s===document||i.useGlobalTarget||nd(s,t.target))},l=t=>{a(t,!1)};window.addEventListener("pointerup",o,r),window.addEventListener("pointercancel",l,r)};return s.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",a,r),v(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let s=np(()=>{if(nc.has(i))return;nm(i,"down");let t=np(()=>{nm(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>nm(i,"cancel"),e)});i.addEventListener("keydown",s,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),e)})(t,r)),nu.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),n}(t,(t,e)=>(ng(this.node,e,"Start"),(t,{success:e})=>ng(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends sW{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=iA(s$(this.node.current,"focus",()=>this.onFocus()),s$(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends sW{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[s,r,n]=no(t,i),a=t=>{if(!nl(t))return;let{target:i}=t,s=e(i,t);if("function"!=typeof s||!i)return;let n=t=>{nl(t)&&(s(t),i.removeEventListener("pointerleave",n))};i.addEventListener("pointerleave",n,r)};return s.forEach(t=>{t.addEventListener("pointerenter",a,r)}),n}(t,(t,e)=>(nh(this.node,e,"Start"),t=>nh(this.node,t,"End"))))}unmount(){}}},pan:{Feature:class extends sW{constructor(){super(...arguments),this.removePointerDownListener=tE}onPointerDown(t){this.session=new s5(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:s1(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:rn(t),onStart:rn(e),onMove:i,onEnd:(t,e)=>{delete this.session,s&&tV.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=sK(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends sW{constructor(t){super(t),this.removeGroupControls=tE,this.removeListeners=tE,this.controls=new rs(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tE}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:nn,MeasureLayout:rc},layout:{ProjectionNode:nn,MeasureLayout:rc}},(t,e)=>e4(t)?new e2(e):new eX(e,{allowProjection:t!==a.Fragment})),nj={some:0,all:1};function nk({children:t,className:e,variant:i,duration:s=.4,delay:r=0,offset:o=6,direction:l="down",inView:h=!0,inViewMargin:d="-50px",blur:u="6px",...c}){let p=(0,a.useRef)(null),m=function(t,{root:e,margin:i,amount:s,once:r=!1,initial:n=!1}={}){let[o,l]=(0,a.useState)(n);return(0,a.useEffect)(()=>
9{if(!t.current||r&&o)return;let n={root:e&&e.current||void 0,margin:i,amount:s};return function(t,e,{root:i,margin:s,amount:r="some"}={}){let n=na(t),a=new WeakMap,o=new IntersectionObserver(t=>{t.forEach(t=>{let i=a.get(t.target);if(!!i!==t.isIntersecting)if(t.isIntersecting){let i=e(t.target,t);"function"==typeof i?a.set(t.target,i):o.unobserve(t.target)}else"function"==typeof i&&(i(t),a.delete(t.target))})},{root:i,rootMargin:s,threshold:"number"==typeof r?r:nj[r]});return n.forEach(t=>o.observe(t)),()=>o.disconnect()}(t.current,()=>(l(!0),r?void 0:()=>l(!1)),n)},[e,t,i,r,s]),o}(p,{once:!0,margin:d}),f={hidden:{["left"===l||"right"===l?"x":"y"]:"right"===l||"down"===l?-o:o,opacity:0,filter:`blur(${u})`},visible:{["left"===l||"right"===l?"x":"y"]:0,opacity:1,filter:"blur(0px)"}};return(0,n.jsx)(M,{children:(0,n.jsx)(nw.div,{ref:p,initial:"hidden",animate:!h||m?"visible":"hidden",exit:"hidden",variants:i||f,transition:{delay:.04+r,duration:s,ease:"easeOut"},className:e,...c,children:t})})}let nC=({text:t})=>(0,n.jsx)(nk,{delay:.2,children:(0,n.jsx)("div",{className:"flex justify-center items-center text-[9px] font-semibold tracking-widest uppercase text-teal-600/90 bg-teal-700/10  rounded-full px-3 py-1.5",children:t})}),nT={src:t.i(845398).default,width:3840,height:2107,blurWidth:8,blurHeight:4,blurDataURL:"data:image/webp;base64,UklGRsYAAABXRUJQVlA4TLoAAAAvB8AAAM1VICICHgiwCQAAAID18hIAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACELp3wAAADwQkBMAAACA8/9bwQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQFH790AgYiAAAADOv34DAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA7LvIlV/Pu77CMgLmD5gxiubksZBwr09PfoQBVuaTn8Z9Jk3EliUC8fTZfQE="},nS={src:t.i(176452).default,width:117,height:25,blurWidth:8,blurHeight:2,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAYAAABllJ3tAAAAM0lEQVR42i3JsQ0AIAwDwSwSIVEiBKxAy1YMwbzmCxfnLxySHg42JhqG24O5PhcqEsXND8ekM1jzowmvAAAAAElFTkSuQmCC"},nP={src:t.i(325669).default,width:822,height:175,blurWidth:8,blurHeight:2,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAYAAABllJ3tAAAATUlEQVR42gFCAL3/AF9fX1szMzMwLi4uKy8vLyw0NDQuLi4uKS8vLyslJSUhAICAgHpbW1tWVVVVT0pKSkRDQ0M8V1dXTUVFRT1SUlJIB+oQ58uZFAoAAAAASUVORK5CYII="},nE={src:t.i(882308).default,width:1913,height:459,blurWidth:8,blurHeight:2,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAYAAABllJ3tAAAATUlEQVR42gFCAL3/AD9oXjA+bmMydJR7QoKehk6NppBdi6WPWoWgiFKEn4dQAEBqXCo9b2Y3VHxeGlyBYRxliGomaotuK1t/XxlYfVwWZoMZIf328FAAAAAASUVORK5CYII="},nM={src:t.i(945677).default,width:961,height:240,blurWidth:8,blurHeight:2,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAYAAABllJ3tAAAATUlEQVR42gFCAL3/ADgAGz
9ErABUnGwANGSEAEB8gAA8dJAARIiAADx0jABEhAD8AHjk1ABkwJgASIy0AFiorABUoLwAXLDIAGC0zABgvyMkGaLls+dEAAAAASUVORK5CYII="};var nR=t.i(657688);let nN=[{num:"200+",label:"Wallets Deployed"},{num:"$6.8M",label:"Swap Volume"},{num:"$10K",label:"Revenue Shared"}],nV=[nS,nP,nE,nM],nD=()=>(0,n.jsxs)("div",{className:"relative w-full overflow-hidden",children:[(0,n.jsx)("div",{className:"absolute inset-0 bg-[#0a0f09]"}),(0,n.jsx)("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse 80% 55% at 50% -5%, #255f3826 0%, transparent 70%)"}}),(0,n.jsx)("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse 55% 40% at -5% 55%, #18230f55 0%, transparent 65%)"}}),(0,n.jsx)("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse 45% 35% at 105% 45%, #1f7d5318 0%, transparent 60%)"}}),(0,n.jsx)("div",{className:"absolute inset-0 pointer-events-none opacity-[0.03]",style:{backgroundImage:"linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px)",backgroundSize:"60px 60px",maskImage:"radial-gradient(ellipse 90% 60% at 50% 0%, black 30%, transparent 100%)"}}),(0,n.jsx)("div",{className:"absolute bottom-0 left-0 right-0 h-2/4 bg-gradient-to-t from-black via-black/60 to-transparent z-5 pointer-events-none"}),(0,n.jsxs)("div",{className:"absolute inset-0 pointer-events-none flex items-start justify-center overflow-hidden",children:[(0,n.jsx)("div",{className:"absolute top-[6rem] w-[700px] h-[700px] rounded-full",style:{background:"radial-gradient(ellipse 60% 55% at 50% 50%, rgba(45,212,164,0.13) 0%, rgba(20,184,138,0.07) 35%, transparent 70%)",filter:"blur(40px)"}}),(0,n.jsx)("div",{className:"absolute top-[10rem] w-[340px] h-[340px] rounded-full",style:{background:"radial-gradient(ellipse 70% 65% at 50% 50%, rgba(45,212,164,0.18) 0%, rgba(45,212,164,0.06) 50%, transparent 75%)",filter:"blur(18px)"}}),(0,n.jsx)("div",{className:"absolute top-[14.5rem] w-[120px] h-[120px] rounded-full",style:{background:"radial-gradient(circle, rgba(180,255,230,0.22) 0%, rgba(45,212,164,0.12) 45%, transparent 75%)",filter:"blur(8px)"}}),(0,n.jsx)("div",{className:"absolute top-[16.5rem] w-[600px] h-[2px]",style:{background:"linear-gradient(to right, transparent 0%, rgba(45,212,164,0.15) 30%, rgba(180,255,230,0.35) 50%, rgba(45,212,164,0.15) 70%, transparent 100%)",filter:"blur(2px)"}})]}),(0,n.jsxs)("div",{className:"relative z-10 flex flex-col items-center text-center gap-8 pt-32 px-4 max-w-6xl mx-auto text-[#F5F5F5]",children:[(0,n.jsx)(nC,{text:"Ethane Wallet — Now Live"}),(0,n.jsx)(nk,{delay:.4,children:(0,n.jsxs)(c.Texts,{variant:"h1",className:"italic font-medium tracking-[-0.04em] leading-[1.06] !text-[#F5F5F5]",children:["Trade Crypto and Stocks ",(0,n.jsx)("br",{className:"hidden md:block"})," ","On-Chain with Ethane"]})}),(0,n.jsx)(nk,{delay:.6,children:(0,n.jsx)(c.Texts,{variant:"p",className:"max-w-2xl !text-[#F5F5F5]/70",children:"Cross-chain, gas-less, and built for the future of on-chain finance. Stocks, Crypto, Commodities, and more - all in one powerful interface. Welcome to Ethane."})}),(0,n.jsx)(nk,{delay:.8,className:"w-full md:w-auto",children:(0,n.jsxs)("div",{className:"flex flex-col w-full gap-3 md:flex-row md:w-auto md:items-center",children:[(0,n.jsx)(l.default,{href:"/dashboard",className:"no-underline flex items-center justify-center px-6 py-3 rounded-xl bg-white text-[#0a0f09] text-sm font-semibold hover:bg-white/90 transition-colors duration-200",children:"Launch App"}),(0,n.jsx)(l.default,{href:"/whitepaper",className:"no-underline flex items-center justify-center px-6 py-3 rounded-xl border border-white/20 bg-white/5 text-[#F5F5F5] text-sm font-medium hover:bg-white/10 hover:border-white/30 transition-colors duration-200",children:"Whitepaper"})]})}),(0,n.jsx)(nk,{delay:1,className:"hidden md:block w-full",children:(0,n.jsx)("div",{className:"flex items-center justify-center max-w-7xl mx-auto",children:nN.map((t,e)=>(0,n.jsxs)("div",{className:`flex items-center gap-2 px-6 ${0!==e?"border-l border-white/10":""}`,children:[(0,n.jsx)(c.Texts,{variant:"small",className:"!text-white/85 !font-medium tracking-tight",children:t.num}),(0,n.jsx)(c.Texts,{variant:"small",className:"!text-white/35 !font-light",children:t.label})]},e))})})]}),(0,n.jsx)(nk,{delay:1.4,children:(0,n.jsx)(nw.div,{initial:{scale:.92,opacity:0}
9,animate:{scale:1,opacity:1},transition:{duration:.6,ease:"easeOut"},className:"relative z-4 w-full mx-auto mt-12",style:{maskImage:"linear-gradient(to bottom, black 55%, transparent 100%)",WebkitMaskImage:"linear-gradient(to bottom, black 55%, transparent 100%)"},children:(0,n.jsx)("div",{className:"flex items-center justify-center px-4 py-6",children:(0,n.jsx)("div",{className:"w-full max-w-sm md:max-w-2xl lg:max-w-6xl rounded-xl overflow-hidden",style:{border:"1px solid rgba(255,255,255,.10)",boxShadow:"0 24px 80px rgba(0,0,0,.55)"},children:(0,n.jsx)(nR.default,{src:nT,alt:"Ethane trade page — live chart and swap panel",priority:!0,unoptimized:!0,className:"w-full h-auto block"})})})})}),(0,n.jsxs)("div",{className:"relative z-[14] w-full mt-8 md:-mt-16 mb-4",children:[(0,n.jsx)("div",{className:"max-w-7xl mx-auto px-4",children:(0,n.jsx)("p",{className:"text-center font-mono text-[10px] tracking-widest uppercase text-white/20 mb-5",children:"Ethane is powered by"})}),(0,n.jsxs)("div",{className:"relative overflow-hidden max-w-7xl mx-auto",children:[(0,n.jsx)("div",{className:"absolute left-0 top-0 bottom-0 w-32 z-10 pointer-events-none bg-gradient-to-r from-black to-transparent"}),(0,n.jsx)("div",{className:"absolute right-0 top-0 bottom-0 w-32 z-10 pointer-events-none bg-gradient-to-l from-black to-transparent"}),(0,n.jsx)("style",{children:`
10            @keyframes marquee-scroll {
11              0% { transform: translateX(0); }
12              100% { transform: translateX(-25%); }
13            }
14            .marquee-track {
15              animation: marquee-scroll 28s linear infinite;
16            }
17          `}),(0,n.jsx)("div",{className:"flex w-max marquee-track",children:[...nV,...nV,...nV,...nV].map((t,e)=>(0,n.jsx)("div",{className:"flex items-center gap-2.5 shrink-0 px-8",children:(0,n.jsx)(nR.default,{src:t,alt:"alt",className:"size-24 object-contain mx-auto flex justify-center items-center "})},e))})]})]})]});var nL=t.i(265026),nF=t.i(647163);let nB=({className:t,containerRef:e,fromRef:i,toRef:s,curvature:r=0,reverse:o=!1,duration:l=3*Math.random()+4,delay:h=0,pathColor:d="#115e59",pathWidth:u=2,pathOpacity:c=.2,gradientStartColor:p="#14b8a6",gradientStopColor:m="#5eead4",startXOffset:f=0,startYOffset:g=0,endXOffset:x=0,endYOffset:y=0})=>{let v=(0,a.useId)(),[b,A]=(0,a.useState)(""),[w,j]=(0,a.useState)({width:0,height:0}),k=o?{x1:["90%","-10%"],x2:["100%","0%"],y1:["0%","0%"],y2:["0%","0%"]}:{x1:["10%","110%"],x2:["0%","100%"],y1:["0%","0%"],y2:["0%","0%"]};return(0,a.useEffect)(()=>{let t=()=>{if(e.current&&i.current&&s.current){let t=e.current.getBoundingClientRect(),n=i.current.getBoundingClientRect(),a=s.current.getBoundingClientRect();j({width:t.width,height:t.height});let o=n.left-t.left+n.width/2+f,l=n.top-t.top+n.height/2+g,h=a.left-t.left+a.width/2+x,d=a.top-t.top+a.height/2+y;A(`M ${o},${l} Q ${(o+h)/2},${l-r} ${h},${d}`)}},n=new ResizeObserver(()=>{t()});return e.current&&n.observe(e.current),t(),()=>{n.disconnect()}},[e,i,s,r,f,g,x,y]),(0,n.jsxs)("svg",{fill:"none",width:w.width,height:w.height,xmlns:"http://www.w3.org/2000/svg",className:(0,nF.cn)("pointer-events-none absolute top-0 left-0 transform-gpu stroke-2",t),viewBox:`0 0 ${w.width} ${w.height}`,children:[(0,n.jsx)("path",{d:b,stroke:d,strokeWidth:u,strokeOpacity:c,strokeLinecap:"round"}),(0,n.jsx)("path",{d:b,strokeWidth:u,stroke:`url(#${v})`,strokeOpacity:"1",strokeLinecap:"round"}),(0,n.jsx)("defs",{children:(0,n.jsxs)(nw.linearGradient,{className:"transform-gpu",id:v,gradientUnits:"userSpaceOnUse",initial:{x1:"0%",x2:"0%",y1:"0%",y2:"0%"},animate:{x1:k.x1,x2:k.x2,y1:k.y1,y2:k.y2},transition:{delay:h,duration:l,ease:[.16,1,.3,1],repeat:1/0,repeatDelay:0},children:[(0,n.jsx)("stop",{stopColor:p,stopOpacity:"0"}),(0,n.jsx)("stop",{stopColor:p}),(0,n.jsx)("stop",{offset:"32.5%",stopColor:m}),(0,n.jsx)("stop",{offset:"100%",stopColor:m,stopOpacity:"0"})]})})]})},nI={src:t.i(114034).default,width:1721,height:1721,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAt0lEQVR42l2PPQqDQBSEl1zCygsoNv4cIIU/paAnUCwUtRStRa9lsbfYg2y3TDIbkoDFg8fM4803whjzkFI+q6q6sizTaZrquq4vavQEl7eomqbBvu84jgNt2yLPc0VPlGV5+b6PcRyxLAu2bcM0TQiCAPSE67racRwkSYK+7+3EcQxq9H4HURRhGAY7YRj+D/iG7+Z5xrquNoZxnud9IghSFIXqug7neVpQAhPcQn5rshor3mu+AD1TgLx4Jz2TAAAAAElFTkSuQmCC"},nO=[{label:"Cross-Chain Swaps"},{label:"Gas-less Trades"},{label:"Stock Trading"},{label:"Staking Rewards"},{label:"Referral System"},{label:"Revenue Share"},{label:"Multi-Wallet"},{label:"Real-Time Data"}],nU=[{top:"8%",left:"12%"},{top:"6%",left:"52%"},{top:"20%",left:"72%"},{top:"40%",left:"80%"},{top:"62%",left:"68%"},{top:"72%",left:"36%"},{top:"60%",left:"10%"},{top:"30%",left:"4%"}],nW=[-6,5,-4,7,-5,6,-3,4],nz=(0,a.forwardRef)(({label:t,icon:e,accent:i=!1,style:s},r)=>(0,n.jsxs)("div",{ref:r,className:"absolute z-10 flex items-center gap-1.5 font-mono text-[10px] whitespace-nowrap px-3 py-1.5 rounded-full cursor-default select-none transition-transform duration-300 hover:scale-105",style:{...s,background:i?"rgba(45,212,164,0.14)":"rgba(255,255,255,0.05)",border:i?"1px solid rgba(45,212,164,0.35)":"1px solid rgba(255,255,255,0.10)",color:i?"#2dd4a4":"rgba(255,255,255,0.55)"},children:[e&&(0,n.jsx)(nR.default,{src:e,width:12,height:12,alt:t,className:"opacity-70"}),t]}));function nH({items:t=nO,className:e}){let i=(0,a.useRef)(null),s=(0,a.useRef)(null),r=(0,a.useMemo)(()=>t.slice(0,8).map((t,e)=>
17({...t,ref:a.default.createRef(),pos:nU[e],rotation:nW[e],accent:e%3==0})),[t]);return(0,n.jsxs)("div",{ref:i,className:(0,nF.cn)("relative w-full h-full min-h-[320px] overflow-hidden",e),children:[(0,n.jsx)("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse 80% 70% at 48% 42%, rgba(20,184,138,0.13) 0%, rgba(15,118,110,0.07) 40%, transparent 75%)"}}),(0,n.jsx)("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse 50% 45% at 85% 15%, rgba(45,212,164,0.09) 0%, transparent 65%)"}}),(0,n.jsx)("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse 40% 35% at 5% 85%, rgba(31,125,83,0.10) 0%, transparent 65%)"}}),(0,n.jsx)("div",{className:"absolute pointer-events-none",style:{top:"41%",left:"0%",width:"100%",height:1,background:"linear-gradient(to right, transparent 0%, rgba(45,212,164,0.08) 30%, rgba(180,255,230,0.18) 48%, rgba(45,212,164,0.08) 66%, transparent 100%)",filter:"blur(1px)"}}),(0,n.jsx)("div",{className:"absolute pointer-events-none",style:{top:"0%",left:"47%",width:1,height:"100%",background:"linear-gradient(to bottom, transparent 0%, rgba(45,212,164,0.06) 30%, rgba(180,255,230,0.14) 42%, rgba(45,212,164,0.06) 60%, transparent 100%)",filter:"blur(1px)"}}),(0,n.jsx)("div",{className:"absolute pointer-events-none",style:{top:"42%",left:"48%",width:180,height:180,borderRadius:"50%",background:"radial-gradient(circle, rgba(45,212,164,0.18) 0%, rgba(20,184,138,0.06) 50%, transparent 75%)",filter:"blur(18px)",transform:"translate(-50%, -50%)"}}),(0,n.jsx)("div",{className:"absolute pointer-events-none rounded-full",style:{top:"42%",left:"48%",width:320,height:320,transform:"translate(-50%, -50%)",border:"1px dashed rgba(45,212,164,0.08)"}}),(0,n.jsx)("div",{className:"absolute pointer-events-none rounded-full",style:{top:"42%",left:"48%",width:160,height:160,transform:"translate(-50%, -50%)",border:"1px dashed rgba(45,212,164,0.06)"}}),(0,n.jsx)("div",{ref:s,className:"absolute z-20 flex items-center justify-center rounded-full border-2",style:{top:"42%",left:"48%",transform:"translate(-50%, -50%)",width:52,height:52,background:"rgba(8,18,14,0.95)",borderColor:"rgba(45,212,164,0.35)",boxShadow:"0 0 28px rgba(45,212,164,0.18)"},children:(0,n.jsx)(nR.default,{src:nI,alt:"Ethane",width:28,height:28,className:"opacity-90 animate-pulse"})}),r.map(t=>(0,n.jsx)(nz,{ref:t.ref,label:t.label,icon:t.icon,accent:t.accent,style:{top:t.pos.top,left:t.pos.left,transform:`rotate(${t.rotation}deg)`}},t.label)),r.map((t,e)=>(0,n.jsx)(nB,{containerRef:i,fromRef:t.ref,toRef:s,duration:2.5+.4*e,gradientStartColor:"#14b8a6",gradientStopColor:"#0f766e",pathColor:"rgba(20,184,166,0.12)",pathWidth:1},e))]})}nz.displayName="PillNode";let n$=({children:t,className:e,...i})=>(0,n.jsx)("div",{className:(0,nF.cn)("flex flex-col gap-4 w-full",e),...i,children:t}),nY=({title:t,description:e,background:i,Icon:s,className:r,href:a,cta:o="Learn more",featured:l=!1})=>l?(0,n.jsxs)("div",{className:(0,nF.cn)("relative w-full rounded-3xl overflow-hidden flex flex-col md:flex-row border-teal-950/50 border",r),style:{background:"rgba(255,255,255,0.02)",minHeight:360},children:[(0,n.jsxs)("div",{className:"relative flex flex-col justify-center gap-5 p-8 md:p-12 md:w-[42%] z-10 shrink-0",children:[(0,n.jsx)(c.Texts,{variant:"h5",className:"bg-gradient-to-br from-white to-neutral-400 bg-clip-text text-transparent",children:t}),(0,n.jsx)(c.Texts,{variant:"span",children:e}),a&&(0,n.jsxs)("a",{href:a,className:"self-start font-mono text-[11px] tracking-wide flex items-center gap-1.5 transition-colors hover:opacity-80",style:{color:"rgba(45,212,164,0.65)"},children:[o," →"]})]}),(0,n.jsx)("div",{className:"relative flex-1",style:{minHeight:280,maskImage:"linear-gradient(to right, transparent 0%, black 22%, black 100%)",WebkitMaskImage:"linear-gradient(to right, transparent 0%, black 22%, black 100%)"},children:i})]}):(0,n.jsxs)("div",{className:(0,nF.cn)("relative rounded-3xl overflow-hidden flex flex-col border-teal-950/50 border",r),style:{background:"rgba(255,255,255,0.02)",minHeight:380},children:[(0,n.jsxs)("div",{className:"relative flex flex-col gap-3 px-6 pt-7 pb-4 z-10",children:[(0,n.jsx)(c.Texts,{variant:"h5",className:"bg-gradient-to-br from-white to-neutral-400 bg-clip-text text-transparent",children:t}),(0,n.jsx)(c.Texts,{variant:"span",children:e})]}),(0,n.jsx)("div",{className:"relative w-full flex-1 mt-auto",style:{minHeight:200,maskImage:"linear-gradient(to bottom, transparent 0%, black 28%, black 100%)",WebkitMaskImage:"linear-gradient(to bottom, transparent 0%, black 28%, black 100%)"},children:i})]});var nG=t.i(581418),nK=t.i(252754);let nX=(0,t.i(475254).default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);var nQ=t.i(270756),nq=t.i(465261),nZ=t.i(286536);let nJ=[{icon:nQ.Lock,label:"End-to-End Encrypted",color:"#2dd4a4",top:"8%",left:"2%",delay:.2},{icon:nq.KeyRound,label:"Private Key Secured",color:"#818cf8",top:"52%",left:"1%",delay:.4},{icon:nG.ShieldCheck,label:"Non-Custodial",color:"#34d399",top:"10%",right:"2%",delay:.3},{icon:nZ.Eye,label:"Zero Knowledge",color:"#fb923c",top:"62%",right:"1%",delay:.5}];function n_(){return(0,n.jsxs)("div",{className:"relative w-full h-full min-h-[420px] flex items-center justify-center overflow-hidden",children:[(0,n.jsx)("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse 70% 60% at 50% 50%, rgba(45,212,164,0.06) 0%, transparent 70%)"}}),[140,200,260].map((t,e)=>(0,n.jsx)(nw.div,{className:"absolute rounded-full pointer-events-none",style:{width:2*t,height:2*t,border:"1px dashed rgba(45,212,164,0.06)",top:"50%",left:"50%",transform:"translate(-50%, -50%)"},animate:{rotate:e%2==0?360:-360},transition:{duration:30+10*e,repeat:1/0,ease:"linear"}},t)),nJ.map((t,e)=>{let i=t.icon;return(0,n.jsxs)(nw.div,{className:"absolute flex flex-col items-center gap-1.5 z-10",style:{to
17p:t.top,left:t.left,right:t.right,maxWidth:80},initial:{opacity:0,scale:.7},animate:{opacity:1,scale:1,y:[0,-6,0]},transition:{opacity:{delay:t.delay,duration:.4},scale:{delay:t.delay,duration:.4},y:{delay:t.delay+.4,duration:3.2+.4*e,repeat:1/0,ease:"easeInOut"}},children:[(0,n.jsx)("div",{className:"flex items-center justify-center rounded-full",style:{width:52,height:52,background:"rgba(8,14,12,0.92)",border:`1px solid ${t.color}33`,boxShadow:`0 0 18px ${t.color}18, inset 0 1px 0 rgba(255,255,255,0.05)`},children:(0,n.jsx)(i,{className:"w-5 h-5",style:{color:t.color,opacity:.8}})}),(0,n.jsx)("span",{className:"font-mono text-[8px] tracking-wide text-center leading-tight text-white/30",children:t.label})]},t.label)}),(0,n.jsxs)(nw.div,{className:"relative z-20 flex flex-col gap-3.5 rounded-2xl p-6",style:{width:290,background:"rgba(8,14,12,0.95)",border:"1px solid rgba(255,255,255,0.07)",backdropFilter:"blur(24px)",WebkitBackdropFilter:"blur(24px)",boxShadow:"0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(45,212,164,0.06)"},initial:{opacity:0,y:14},animate:{opacity:1,y:0},transition:{duration:.5,delay:.1},children:[(0,n.jsxs)("div",{className:"flex flex-col items-center gap-1.5 pb-1",children:[(0,n.jsx)("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center",style:{background:"linear-gradient(135deg, rgba(45,212,164,0.22), rgba(20,184,138,0.1))",border:"1px solid rgba(45,212,164,0.3)",boxShadow:"0 0 16px rgba(45,212,164,0.15)"},children:(0,n.jsx)("span",{className:"text-lg",style:{color:"#2dd4a4"},children:"⬡"})}),(0,n.jsx)("p",{className:"font-sans text-sm font-semibold text-white/90 tracking-tight",children:"Social Wallet"}),(0,n.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,n.jsx)(nG.ShieldCheck,{className:"w-3 h-3",style:{color:"#2dd4a4"}}),(0,n.jsx)("span",{className:"font-mono text-[9px] tracking-widest text-white/30",children:"NON-CUSTODIAL · SECURED"})]})]}),(0,n.jsx)("div",{className:"h-px bg-white/[0.06]"}),(0,n.jsxs)("button",{className:"w-full flex items-center gap-3 px-3.5 py-3 rounded-xl transition-all group",style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(255,255,255,0.07)"},children:[(0,n.jsx)("div",{className:"w-7 h-7 rounded-lg flex items-center justify-center shrink-0",style:{background:"rgba(255,255,255,0.06)"},children:(0,n.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",children:[(0,n.jsx)("path",{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z",fill:"#4285F4"}),(0,n.jsx)("path",{d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"}),(0,n.jsx)("path",{d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l3.66-2.84z",fill:"#FBBC05"}),(0,n.jsx)("path",{d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",fill:"#EA4335"})]})}),(0,n.jsx)("span",{className:"font-sans text-xs text-white/65 group-hover:text-white/90 transition-colors",children:"Google"}),(0,n.jsx)("span",{className:"ml-auto font-mono text-[8px] px-1.5 py-0.5 rounded-md shrink-0",style:{background:"rgba(45,212,164,0.1)",color:"#2dd4a4",border:"1px solid rgba(45,212,164,0.18)"},children:"Recent"})]}),(0,n.jsxs)("div",{className:"w-full flex items-center gap-3 px-3.5 py-3 rounded-xl",style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(255,255,255,0.07)"},children:[(0,n.jsx)("div",{className:"w-7 h-7 rounded-lg flex items-center justify-center shrink-0",style:{background:"rgba(255,255,255,0.06)"},children:(0,n.jsx)(nX,{className:"w-3.5 h-3.5 text-white/40"})}),(0,n.jsx)("span",{className:"font-sans text-xs text-white/25",children:"[email protected]"})]}),(0,n.jsxs)("button",{className:"w-full flex items-center gap-3 px-3.5 py-3 rounded-xl transition-all group",style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(255,255,255,0.07)"},children:[(0,n.jsx)("div",{className:"w-7 h-7 rounded-lg flex items-center justify-center shrink-0",style:{background:"rgba(255,255,255,0.06)"},children:(0,n.jsx)(nK.Wallet,{className:"w-3.5 h-3.5 text-white/50"})}),(0,n.jsx)("span",{className:"font-sans text-xs text-white/65 group-hover:text-white/90 transition-colors",children:"Continue with Wallet"})]}),(0,n.jsx)("div",{className:"h-px bg-white/[0.06]"}),(0,n.jsxs)("div",{className:"flex items-center justify-center gap-1.5",children:[(0,n.jsx)(nG.ShieldCheck,{className:"w-3 h-3 text-white/20"}),(0,n.jsx)("span",{className:"font-mono text-[9px] text-white/20 tracking-wide",children:"Powered by Privy"})]})]})]})}var n0=t.i(940141);function n1(t){return(0,n0.GenIcon)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M352 144h112v112"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m48 368 121.37-121.37a32 32 0 0 1 45.26 0l50.74 50.74a32 32 0 0 0 45.26 0L448 160"},child:[]}]})(t)}let n2=["1H","1D","1W","1M","1Y"],n5="M0,80 L60,95 L120,55 L180,75 L240,30 L300,50 L360,20 L420,40",n4=[{cx:120,cy:55,checked:!0},{cx:360,cy:20,checked:!1}
17],n3=[0,60,120,180,240,300,360,420],n6=[20,40,60,80,100],n9=()=>{let[t,e]=(0,a.useState)("1D");return n2.indexOf(t),n2.length,(0,n.jsxs)("div",{className:"w-full h-full flex flex-col",children:[(0,n.jsx)("div",{className:"flex justify-between items-start w-full px-6 pt-6 pb-2",children:(0,n.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("div",{className:"w-8 h-8 rounded-full flex items-center justify-center font-mono text-[10px] font-bold shrink-0",style:{background:"linear-gradient(135deg, rgba(45,212,164,0.2), rgba(20,184,138,0.1))",border:"1px solid rgba(45,212,164,0.25)",color:"#2dd4a4",boxShadow:"0 0 12px rgba(45,212,164,0.15)"},children:"A"}),(0,n.jsx)(c.Texts,{variant:"small",className:"!text-white/40 !font-light tracking-widest uppercase font-mono",children:"AAPL / USD"})]}),(0,n.jsx)(c.Texts,{variant:"h4",className:"bg-gradient-to-br from-white to-neutral-400 bg-clip-text text-transparent !tracking-tight",children:"$249.67"}),(0,n.jsxs)("div",{className:"flex gap-2 items-center text-xs font-mono",style:{color:"#2dd4a4"},children:[(0,n.jsx)(n1,{}),(0,n.jsx)("span",{children:"+3.21%"}),(0,n.jsx)("span",{className:"text-white/25",children:"·"}),(0,n.jsx)("span",{children:"+$7.67"}),(0,n.jsx)("span",{className:"text-white/25",children:"·"}),(0,n.jsx)("span",{className:"text-white/35",children:"1D"})]})]})}),(0,n.jsxs)("div",{className:"relative flex-1 w-full min-h-[200px]",children:[(0,n.jsxs)("svg",{viewBox:"0 0 420 110",className:"w-full h-full",preserveAspectRatio:"xMidYMid meet",children:[(0,n.jsxs)("defs",{children:[(0,n.jsxs)("linearGradient",{id:"areaGrad",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,n.jsx)("stop",{offset:"0%",stopColor:"#2dd4a4",stopOpacity:"0.15"}),(0,n.jsx)("stop",{offset:"100%",stopColor:"#2dd4a4",stopOpacity:"0"})]}),(0,n.jsxs)("filter",{id:"lineGlow",children:[(0,n.jsx)("feGaussianBlur",{stdDeviation:"1.5",result:"blur"}),(0,n.jsxs)("feMerge",{children:[(0,n.jsx)("feMergeNode",{in:"blur"}),(0,n.jsx)("feMergeNode",{in:"SourceGraphic"})]})]})]}),n3.map(t=>(0,n.jsx)("line",{x1:t,y1:0,x2:t,y2:110,stroke:"rgba(255,255,255,0.03)",strokeWidth:"0.5"},t)),n6.map(t=>(0,n.jsx)("line",{x1:0,y1:t,x2:420,y2:t,stroke:"rgba(255,255,255,0.03)",strokeWidth:"0.5"},t)),(0,n.jsx)("path",{d:`${n5} L420,110 L0,110 Z`,fill:"url(#areaGrad)"}),(0,n.jsx)(nw.path,{d:n5,fill:"none",stroke:"#2dd4a4",strokeWidth:"0.5",strokeLinecap:"round",strokeLinejoin:"round",filter:"url(#lineGlow)",initial:{pathLength:0,opacity:0},animate:{pathLength:1,opacity:1},transition:{duration:1.8,ease:"easeInOut"}}),(0,n.jsx)("line",{x1:360,y1:0,x2:360,y2:110,stroke:"rgba(45,212,164,0.15)",strokeWidth:"0.8",strokeDasharray:"3 3"}),n4.map((t,e)=>(0,n.jsxs)("g",{children:[(0,n.jsx)("circle",{cx:t.cx,cy:t.cy,r:10,fill:"rgba(8,15,12,0.9)",stroke:"rgba(45,212,164,0.2)",strokeWidth:"1"}),(0,n.jsx)("circle",{cx:t.cx,cy:t.cy,r:5.5,fill:t.checked?"rgba(45,212,164,0.9)":"rgba(8,15,12,0.9)",stroke:t.checked?"#2dd4a4":"rgba(45,212,164,0.4)",strokeWidth:"1"}),t.checked&&(0,n.jsx)("path",{d:`M${t.cx-2.5},${t.cy} L${t.cx-.5},${t.cy+2} L${t.cx+3},${t.cy-2.5}`,fill:"none",stroke:"white",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),!t.checked&&(0,n.jsx)("text",{x:t.cx,y:t.cy+3.5,textAnchor:"middle",fontSize:"7",fill:"#2dd4a4",children:"↗"})]},e))]}),(0,n.jsxs)(nw.div,{className:"absolute flex items-center gap-2 px-3 py-2 rounded-xl",style:{top:"10%",left:"42%",background:"rgba(8,15,12,0.92)",border:"1px solid rgba(45,212,164,0.12)",backdropFilter:"blur(8px)",WebkitBackdropFilter:"blur(8px)",boxShadow:"0 4px 24px rgba(0,0,0,0.5)"},initial:{opacity:0,y:-6},animate:{opacity:1,y:0},transition:{delay:1.2,duration:.5},children:[(0,n.jsx)("span",{className:"font-mono text-[9px] px-1.5 py-0.5 rounded bg-red-500/10 text-red-500/80 border border-red-950",children:"Alert"}),(0,n.jsx)("span",{className:"font-mono text-[10px] text-white/30",children:"AAPL hit a new all-time high"})]}),(0,n.jsx)(nw.div,{className:"absolute pointer-events-none",style:{top:"26%",left:"66%"},initial:{opacity:0}
17,animate:{opacity:1},transition:{delay:1.6,duration:.4},children:(0,n.jsx)("svg",{width:"16",height:"20",viewBox:"0 0 18 22",fill:"none",children:(0,n.jsx)("path",{d:"M1 1L1 16L5 12.5L7.5 18L9.5 17L7 11.5H12L1 1Z",fill:"white",fillOpacity:"0.7",stroke:"rgba(0,0,0,0.3)",strokeWidth:"0.8"})})})]})]})};function n8(t,e){if(null==t)return{};var i,s,r={},n=Object.keys(t);for(s=0;s<n.length;s++)i=n[s],e.indexOf(i)>=0||(r[i]=t[i]);return r}var n7=["color"],at=(0,a.forwardRef)(function(t,e){var i=t.color,s=n8(t,n7);return(0,a.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s,{ref:e}),(0,a.createElement)("path",{d:"M8.60124 1.25086C8.60124 1.75459 8.26278 2.17927 7.80087 2.30989C10.1459 2.4647 12 4.41582 12 6.79999V10.25C12 11.0563 12.0329 11.7074 12.7236 12.0528C12.931 12.1565 13.0399 12.3892 12.9866 12.6149C12.9333 12.8406 12.7319 13 12.5 13H8.16144C8.36904 13.1832 8.49997 13.4513 8.49997 13.75C8.49997 14.3023 8.05226 14.75 7.49997 14.75C6.94769 14.75 6.49997 14.3023 6.49997 13.75C6.49997 13.4513 6.63091 13.1832 6.83851 13H2.49999C2.2681 13 2.06664 12.8406 2.01336 12.6149C1.96009 12.3892 2.06897 12.1565 2.27638 12.0528C2.96708 11.7074 2.99999 11.0563 2.99999 10.25V6.79999C2.99999 4.41537 4.85481 2.46396 7.20042 2.3098C6.73867 2.17908 6.40036 1.75448 6.40036 1.25086C6.40036 0.643104 6.89304 0.150421 7.5008 0.150421C8.10855 0.150421 8.60124 0.643104 8.60124 1.25086ZM7.49999 3.29999C5.56699 3.29999 3.99999 4.86699 3.99999 6.79999V10.25L4.00002 10.3009C4.0005 10.7463 4.00121 11.4084 3.69929 12H11.3007C10.9988 11.4084 10.9995 10.7463 11 10.3009L11 10.25V6.79999C11 4.86699 9.43299 3.29999 7.49999 3.29999Z",fill:void 0===i?"currentColor":i,fillRule:"evenodd",clipRule:"evenodd"}))}),ae=["color"],ai=(0,a.forwardRef)(function(t,e){var i=t.color,s=n8(t,ae);return(0,a.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s,{ref:e}),(0,a.createElement)("path",{d:"M3 2.5C3 2.22386 3.22386 2 3.5 2H9.08579C9.21839 2 9.34557 2.05268 9.43934 2.14645L11.8536 4.56066C11.9473 4.65443 12 4.78161 12 4.91421V12.5C12 12.7761 11.7761 13 11.5 13H3.5C3.22386 13 3 12.7761 3 12.5V2.5ZM3.5 1C2.67157 1 2 1.67157 2 2.5V12.5C2 13.3284 2.67157 14 3.5 14H11.5C12.3284 14 13 13.3284 13 12.5V4.91421C13 4.51639 12.842 4.13486 12.5607 3.85355L10.1464 1.43934C9.86514 1.15804 9.48361 1 9.08579 1H3.5ZM4.5 4C4.22386 4 4 4.22386 4 4.5C4 4.77614 4.22386 5 4.5 5H7.5C7.77614 5 8 4.77614 8 4.5C8 4.22386 7.77614 4 7.5 4H4.5ZM4.5 7C4.22386 7 4 7.22386 4 7.5C4 7.77614 4.22386 8 4.5 8H10.5C10.7761 8 11 7.77614 11 7.5C11 7.22386 10.7761 7 10.5 7H4.5ZM4.5 10C4.22386 10 4 10.2239 4 10.5C4 10.7761 4.22386 11 4.5 11H10.5C10.7761 11 11 10.7761 11 10.5C11 10.2239 10.7761 10 10.5 10H4.5Z",fill:void 0===i?"currentColor":i,fillRule:"evenodd",clipRule:"evenodd"}))}),as=["color"],ar=(0,a.forwardRef)(function(t,e){var i=t.color,s=void 0===i?"currentColor":i,r=n8(t,as);return(0,a.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{ref:e}),(0,a.createElement)("path",{d:"M7.49996 1.80002C4.35194 1.80002 1.79996 4.352 1.79996 7.50002C1.79996 10.648 4.35194 13.2 7.49996 13.2C10.648 13.2 13.2 10.648 13.2 7.50002C13.2 4.352 10.648 1.80002 7.49996 1.80002ZM0.899963 7.50002C0.899963 3.85494 3.85488 0.900024 7.49996 0.900024C11.145 0.900024 14.1 3.85494 14.1 7.50002C14.1 11.1451 11.145 14.1 7.49996 14.1C3.85488 14.1 0.899963 11.1451 0.899963 7.50002Z",fill:s,fillRule:"evenodd",clipRule:"evenodd"}),(0,a.createElement)("path",{d:"M13.4999 7.89998H1.49994V7.09998H13.4999V7.89998Z",fill:s,fillRule:"evenodd",clipRule:"evenodd"}),(0,a.createElement)("path",{d:"M7.09991 13.5V1.5H7.89991V13.5H7.09991zM10.375 7.49998C10.375 5.32724 9.59364 3.17778 8.06183 1.75656L8.53793 1.24341C10.2396 2.82218 11.075 5.17273 11.075 7.49998 11.075 9.82724 10.2396 12.1778 8.53793 13.7566L8.06183 13.2434C9.59364 11.8222 10.375 9.67273 10.375 7.49998zM3.99969 7.5C3.99969 5.17611 4.80786 2.82678 6.45768 1.24719L6.94177 1.75281C5.4582 3.17323 4.69969 5.32389 4.69969 7.5 4.6997 9.67611 5.45822 11.8268 6.94179 13.2472L6.45769 13.7528C4.80788 12.1732 3.9997 9.8239 3.99969 7.5z",f
17ill:s,fillRule:"evenodd",clipRule:"evenodd"}),(0,a.createElement)("path",{d:"M7.49996 3.95801C9.66928 3.95801 11.8753 4.35915 13.3706 5.19448 13.5394 5.28875 13.5998 5.50197 13.5055 5.67073 13.4113 5.83948 13.198 5.89987 13.0293 5.8056 11.6794 5.05155 9.60799 4.65801 7.49996 4.65801 5.39192 4.65801 3.32052 5.05155 1.97064 5.8056 1.80188 5.89987 1.58866 5.83948 1.49439 5.67073 1.40013 5.50197 1.46051 5.28875 1.62927 5.19448 3.12466 4.35915 5.33063 3.95801 7.49996 3.95801zM7.49996 10.85C9.66928 10.85 11.8753 10.4488 13.3706 9.6135 13.5394 9.51924 13.5998 9.30601 13.5055 9.13726 13.4113 8.9685 13.198 8.90812 13.0293 9.00238 11.6794 9.75643 9.60799 10.15 7.49996 10.15 5.39192 10.15 3.32052 9.75643 1.97064 9.00239 1.80188 8.90812 1.58866 8.9685 1.49439 9.13726 1.40013 9.30601 1.46051 9.51924 1.62927 9.6135 3.12466 10.4488 5.33063 10.85 7.49996 10.85z",fill:s,fillRule:"evenodd",clipRule:"evenodd"}))});function an(){return(0,n.jsx)("section",{className:"relative w-full overflow-hidden bg-black",children:(0,n.jsxs)("div",{className:"relative z-10 max-w-6xl mx-auto py-20 md:py-36 px-4 lg:px-0",children:[(0,n.jsx)("div",{className:"flex flex-col items-center text-center gap-5 mb-14",children:(0,n.jsx)(nk,{delay:.35,children:(0,n.jsxs)(c.Texts,{variant:"h3",className:"bg-gradient-to-b from-white max-w-2xl to-neutral-400 bg-clip-text text-transparent",children:["Ethane Ecosystem - Fast, Secure,",(0,n.jsx)("br",{}),"On-Chain Finance."]})})}),(0,n.jsx)(nk,{delay:.6,children:(0,n.jsxs)(n$,{children:[(0,n.jsx)(nY,{featured:!0,Icon:ai,title:"Unified dashboard",description:"A holistic view of your total net worth, current positions, real-time profit/loss (P&L), and asset allocation across all classes.",href:"#",cta:"Learn more",background:(0,n.jsx)(nH,{})}),(0,n.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,n.jsx)(nY,{Icon:ar,title:"Stock market integration",description:"Access real-time stock data, execute trades, and manage your portfolio seamlessly alongside your crypto assets, all on-chain.",href:"#",cta:"Learn more",background:(0,n.jsx)(n9,{})}),(0,n.jsx)(nY,{Icon:at,title:"Secured social wallet",description:"Login with familiar social accounts while enjoying the security and control of a non-custodial wallet. Your keys, your assets.",href:"#",cta:"Learn more",background:(0,n.jsx)(n_,{})})]})]})})]})})}var aa=t.i(30030),ao=t.i(75830),al=t.i(820783),ah=t.i(981140),ad=t.i(369340),au=t.i(248425),ac=t.i(934620),ap=t.i(296626),am=t.i(610772),af="Collapsible",[ag,ax]=(0,aa.createContextScope)(af),[ay,av]=ag(af),ab=a.forwardRef((t,e)=>{let{__scopeCollapsible:i,open:s,defaultOpen:r,disabled:o,onOpenChange:l,...h}=t,[d,u]=(0,ad.useControllableState)({prop:s,defaultProp:r??!1,onChange:l,caller:af});return(0,n.jsx)(ay,{scope:i,disabled:o,contentId:(0,am.useId)(),open:d,onOpenToggle:a.useCallback(()=>u(t=>!t),[u]),children:(0,n.jsx)(au.Primitive.div,{"data-state":aT(d),"data-disabled":o?"":void 0,...h,ref:e})})});ab.displayName=af;var aA="CollapsibleTrigger",aw=a.forwardRef((t,e)=>{let{__scopeCollapsible:i,...s}=t,r=av(aA,i);return(0,n.jsx)(au.Primitive.button,{type:"button","aria-controls":r.contentId,"aria-expanded":r.open||!1,"data-state":aT(r.open),"data-disabled":r.disabled?"":void 0,disabled:r.disabled,...s,ref:e,onClick:(0,ah.composeEventHandlers)(t.onClick,r.onOpenToggle)})});aw.displayName=aA;var aj="CollapsibleContent",ak=a.forwardRef((t,e)=>{let{forceMount:i,...s}=t,r=av(aj,t.__scopeCollapsible);return(0,n.jsx)(ap.Presence,{present:i||r.open,children:({present:t})=>(0,n.jsx)(aC,{...s,ref:e,present:t})})});ak.displayName=aj;var aC=a.forwardRef((t,e)=>{let{__scopeCollapsible:i,present:s,children:r,...o}=t,l=av(aj,i),[h,d]=a.useState(s),u=a.useRef(null),c=(0,al.useComposedRefs)(e,u),p=a.useRef(0),m=p.current,f=a.useRef(0),g=f.current,x=l.open||h,y=a.useRef(x),v=a.useRef(void 0);return a.useEffect(()=>{let t=requestAnimationFrame(()=>y.current=!1);return()=>cancelAnimationFrame(t)},[]),(0,ac.useLayoutEffect)(()=>{let t=u.current;if(t){v.current=v.current||{transitionDuration:t.style.transitionDuration,animationName:t.
17style.animationName},t.style.transitionDuration="0s",t.style.animationName="none";let e=t.getBoundingClientRect();p.current=e.height,f.current=e.width,y.current||(t.style.transitionDuration=v.current.transitionDuration,t.style.animationName=v.current.animationName),d(s)}},[l.open,s]),(0,n.jsx)(au.Primitive.div,{"data-state":aT(l.open),"data-disabled":l.disabled?"":void 0,id:l.contentId,hidden:!x,...o,ref:c,style:{"--radix-collapsible-content-height":m?`${m}px`:void 0,"--radix-collapsible-content-width":g?`${g}px`:void 0,...t.style},children:x&&r})});function aT(t){return t?"open":"closed"}var aS=t.i(586318),aP="Accordion",aE=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[aM,aR,aN]=(0,ao.createCollection)(aP),[aV,aD]=(0,aa.createContextScope)(aP,[aN,ax]),aL=ax(),aF=a.default.forwardRef((t,e)=>{let{type:i,...s}=t;return(0,n.jsx)(aM.Provider,{scope:t.__scopeAccordion,children:"multiple"===i?(0,n.jsx)(az,{...s,ref:e}):(0,n.jsx)(aW,{...s,ref:e})})});aF.displayName=aP;var[aB,aI]=aV(aP),[aO,aU]=aV(aP,{collapsible:!1}),aW=a.default.forwardRef((t,e)=>{let{value:i,defaultValue:s,onValueChange:r=()=>{},collapsible:o=!1,...l}=t,[h,d]=(0,ad.useControllableState)({prop:i,defaultProp:s??"",onChange:r,caller:aP});return(0,n.jsx)(aB,{scope:t.__scopeAccordion,value:a.default.useMemo(()=>h?[h]:[],[h]),onItemOpen:d,onItemClose:a.default.useCallback(()=>o&&d(""),[o,d]),children:(0,n.jsx)(aO,{scope:t.__scopeAccordion,collapsible:o,children:(0,n.jsx)(aY,{...l,ref:e})})})}),az=a.default.forwardRef((t,e)=>{let{value:i,defaultValue:s,onValueChange:r=()=>{},...o}=t,[l,h]=(0,ad.useControllableState)({prop:i,defaultProp:s??[],onChange:r,caller:aP}),d=a.default.useCallback(t=>h((e=[])=>[...e,t]),[h]),u=a.default.useCallback(t=>h((e=[])=>e.filter(e=>e!==t)),[h]);return(0,n.jsx)(aB,{scope:t.__scopeAccordion,value:l,onItemOpen:d,onItemClose:u,children:(0,n.jsx)(aO,{scope:t.__scopeAccordion,collapsible:!0,children:(0,n.jsx)(aY,{...o,ref:e})})})}),[aH,a$]=aV(aP),aY=a.default.forwardRef((t,e)=>{let{__scopeAccordion:i,disabled:s,dir:r,orientation:o="vertical",...l}=t,h=a.default.useRef(null),d=(0,al.useComposedRefs)(h,e),u=aR(i),c="ltr"===(0,aS.useDirection)(r),p=(0,ah.composeEventHandlers)(t.onKeyDown,t=>{if(!aE.includes(t.key))return;let e=t.target,i=u().filter(t=>!t.ref.current?.disabled),s=i.findIndex(t=>t.ref.current===e),r=i.length;if(-1===s)return;t.preventDefault();let n=s,a=r-1,l=()=>{(n=s+1)>a&&(n=0)},h=()=>{(n=s-1)<0&&(n=a)};switch(t.key){case"Home":n=0;break;case"End":n=a;break;case"ArrowRight":"horizontal"===o&&(c?l():h());break;case"ArrowDown":"vertical"===o&&l();break;case"ArrowLeft":"horizontal"===o&&(c?h():l());break;case"ArrowUp":"vertical"===o&&h()}let d=n%r;i[d].ref.current?.focus()});return(0,n.jsx)(aH,{scope:i,disabled:s,direction:r,orientation:o,children:(0,n.jsx)(aM.Slot,{scope:i,children:(0,n.jsx)(au.Primitive.div,{...l,"data-orientation":o,ref:d,onKeyDown:s?void 0:p})})})}),aG="AccordionItem",[aK,aX]=aV(aG),aQ=a.default.forwardRef((t,e)=>{let{__scopeAccordion:i,value:s,...r}=t,a=a$(aG,i),o=aI(aG,i),l=aL(i),h=(0,am.useId)(),d=s&&o.value.includes(s)||!1,u=a.disabled||t.disabled;return(0,n.jsx)(aK,{scope:i,open:d,disabled:u,triggerId:h,children:(0,n.jsx)(ab,{"data-orientation":a.orientation,"data-state":a2(d),...l,...r,ref:e,disabled:u,open:d,onOpenChange:t=>{t?o.onItemOpen(s):o.onItemClose(s)}})})});aQ.displayName=aG;var aq="AccordionHeader",aZ=a.default.forwardRef((t,e)=>{let{__scopeAccordion:i,...s}=t,r=a$(aP,i),a=aX(aq,i);return(0,n.jsx)(au.Primitive.h3,{"data-orientation":r.orientation,"data-state":a2(a.open),"data-disabled":a.disabled?"":void 0,...s,ref:e})});aZ.displayName=aq;var aJ="AccordionTrigger",a_=a.default.forwardRef((t,e)=>{let{__scopeAccordion:i,...s}=t,r=a$(aP,i),a=aX(aJ,i),o=aU(aJ,i),l=aL(i);
17return(0,n.jsx)(aM.ItemSlot,{scope:i,children:(0,n.jsx)(aw,{"aria-disabled":a.open&&!o.collapsible||void 0,"data-orientation":r.orientation,id:a.triggerId,...l,...s,ref:e})})});a_.displayName=aJ;var a0="AccordionContent",a1=a.default.forwardRef((t,e)=>{let{__scopeAccordion:i,...s}=t,r=a$(aP,i),a=aX(a0,i),o=aL(i);return(0,n.jsx)(ak,{role:"region","aria-labelledby":a.triggerId,"data-orientation":r.orientation,...o,...s,ref:e,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...t.style}})});function a2(t){return t?"open":"closed"}a1.displayName=a0;var a5=t.i(409797);function a4({...t}){return(0,n.jsx)(aF,{"data-slot":"accordion",...t})}function a3({className:t,...e}){return(0,n.jsx)(aQ,{"data-slot":"accordion-item",className:(0,nF.cn)("border-b last:border-b-0",t),...e})}function a6({className:t,children:e,...i}){return(0,n.jsx)(aZ,{className:"flex",children:(0,n.jsxs)(a_,{"data-slot":"accordion-trigger",className:(0,nF.cn)("focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",t),...i,children:[e,(0,n.jsx)(a5.ChevronDownIcon,{className:"text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"})]})})}function a9({className:t,children:e,...i}){return(0,n.jsx)(a1,{"data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",...i,children:(0,n.jsx)("div",{className:(0,nF.cn)("pt-0 pb-4",t),children:e})})}let a8=[{id:1,question:"What is Ethane?",answer:"Ethane is an application completely on-chain allowing users to trade crypto and stocks across multiple blockchain networks without having to worry about gas fees."},{id:2,question:"How secure is Ethane?",answer:"Ethane wallets are powered by Privy, a Stripe company. Their wallets have been extensively audited multiple times to ensure maximum security."},{id:3,question:"Is Ethane suitable for beginners?",answer:"Absolutely! Ethane is designed with user-friendliness in mind, featuring an intuitive interface and comprehensive support resources to help users of all experience levels."},{id:4,question:"What platforms does Ethane support?",answer:"You can access Ethane on any device with an internet connection and browser. Simply login with your Gmail or Email and you're ready to go!"},{id:5,question:"What can I trade on Ethane?",answer:"Ethane supports both crypto swaps and real-world stock market assets — all from a single interface. Swap between tokens across multiple chains or trade tokenized stocks without ever leaving the app."},{id:6,question:"Does Ethane support limit orders?",answer:"Limit orders are coming soon! This will allow you to set a target price and have your trade execute automatically when the market reaches it — giving you more control without having to watch charts all day."},{id:7,question:"How does revenue sharing work?",answer:"A portion of the fees generated from every swap on Ethane is redistributed back to the community. By using and holding within the platform, you earn a share of the protocol's revenue — aligning Ethane's growth directly with yours."},{id:8,question:"What is Ondo tokenized trading on Solana?",answer:"Ethane integrates with Ondo Finance to bring tokenized real-world assets — including US stocks and treasuries — directly on-chain via Solana. This means you can trade tokenized versions of traditional market assets with the speed and low cost of the Solana network, all secured and settled on-chain."}],a7=()=>(0,n.jsxs)("div",{className:"relative bg-black text-white overflow-hidden",children:[(0,n.jsx)("div",{className:"absolute inset-0 pointer-events-none opacity-[0.025]",style:{backgroundImage:"linear-gradient(rgba(45,212,164,0.8) 1px,transparent 1px),linear-gradient(90deg,rgba(45,212,164,0.8) 1px,transparent 1px)",backgroundSize:"48px 48px",maskImage:"radial-gradient(ellipse 90% 60% at 50% 50%,black 20%,transparent 100%)"}}),(0,n.jsx)("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[600px] rounded-full pointer-events-none",style:{background:"radial-gradient(ellipse,rgba(45,212,164,0.10) 0%,rgba(20,184,138,0.04) 45%,transparent 70%)",filter:"blur(32px)"}}),(0,n.jsx)("div",{className:"absolute -top-16 -left-16 w-[260px] h-[260px] rounded-full pointer-events-none",style:{background:"radial-gradient(circle,rgba(45,212,164,0.06) 0%,transparent 70%)",filter:"blur(24px)"}}),(0,n.jsx)("div",{className:"absolute -bottom-16 -right-16 w-[260px] h-[260px] rounded-full pointer-events-none",style:{background:"radial-gradient(circle,rgba(45,212,164,0.05) 0%,transparent 70%)",filter:"blur(24px)"}}),(0,n.jsxs)("div",{className:"max-w-6xl mx-auto py-16 md:py-24 px-6 space-y-16 relative z-10",children:[(0,n.jsxs)("div",{className:"text-center space-y-4",children:[(0,n.jsx)(nk,{delay:.1,children:(0,n.jsx)(c.Texts,{variant:"h2",className:"leading-tight tracking-tight",style:{backgroundImage:"linear-gradient(135deg,#ffffff 0%,#a8f5e0 35%,#2dd4a4 60%,#1aab82 100%)",WebkitBackgroun
17dClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"Questions Answered"})}),(0,n.jsx)(nk,{delay:.2,children:(0,n.jsx)(c.Texts,{variant:"span",className:"!text-[#F5F5F5]/70 max-w-xl mx-auto block",children:"We're here to help you and solve objections. Find answers to the most common questions below."})})]}),(0,n.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:a8.map((t,e)=>(0,n.jsx)(nk,{delay:.1+.05*e,children:(0,n.jsx)(a4,{type:"single",collapsible:!0,className:"w-full",children:(0,n.jsxs)(a3,{value:`item-${t.id}`,className:"border border-[#2dd4a4]/[0.10] bg-[#2dd4a4]/[0.03] backdrop-blur-sm px-6 rounded-2xl hover:border-[#2dd4a4]/[0.22] transition-colors",children:[(0,n.jsx)(a6,{className:"hover:no-underline py-5",children:(0,n.jsx)(c.Texts,{variant:"h6",className:"text-left font-normal !text-[#F5F5F5]/80",children:t.question})}),(0,n.jsx)(a9,{className:"pb-6",children:(0,n.jsx)(c.Texts,{variant:"p",className:"!max-w-none text-neutral-400",children:t.answer})})]})})},t.id))})]})]}),ot={src:t.i(170034).default,width:512,height:512,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAj0lEQVR42oVPywnEIBSUTWVLukgVOaUc7cPLYgse14tYgaisgshsJrCfnCII82bmvXlPTNN0m+f5box5tNZe/MTkqAkC59wT+yulIKVECHLUBN0kxhjQWkNKid77YaImOJJFCAHrumLvgrX2MFD7Grz32LYNy7KcDZ8IjmWEUgq11l/E/5I5Z8QYz0tenfkGZxK+zJHAzl4AAAAASUVORK5CYII="}
17,oe={src:t.i(903799).default,width:2e3,height:2e3,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAArUlEQVR42oWPPQ4BURSFX55GhhWwCYkoNBIbEIuQ2IGERqWyBxYxohMNGmOaaXixgInKz3gvQXK8cxXKKb7kyzk3ufcqrZVu1QrtxbS4TsOyJXRm7BQlngfmtqrgmfQEejwLDDvF6fumDpv04Y4Dgc6MnUrDkn3smnBmjM9174nEmbGTgezQhTsN8bos8fbQmcmArNg24M4TX4x+eGcmK/5HVpFFHYHOTI7Me/MLCV+ZKhtnTswAAAAASUVORK5CYII="},oi={src:t.i(644226).default,width:1200,height:1200,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAkklEQVR42oWPPQrCQBCFN1rI2nsdQWvt1FbRy2jrzzW0UNtsoZ3aKiQnsAsJ7JZfdrMkkCJk4MEw72NmnhBBtyMG41EwVKq/MFpaud7NCs81chpH6yPcP3B7w+oAchJHHrL05gSZoapUw3IP1gtFb2b09gyPr9fzB/8Eri+7ZW50Aewu3ihVA1pOqPYnG2KGZcwcvQ+c/7TKlvsAAAAASUVORK5CYII="},os={src:t.i(998925).default,width:320,height:320,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAz0lEQVR42oWPO88BURCG9zv227XnrHWJyiVBllC4ayRCQoQEoXFpRLalINGIqGj2F+gk/uL5BS+z9IpJJvO8mXlGGRzGSm87FKVhdR4rJB5U1NOMmAdTtYz7z7lUzQBYwIQasWSqYbvEFErrXEi7v0F+f0X8cgJ3ZlAtLokptFLTLZTbO1QWF9jOEaFWB3+MgZgXYMyHXH6K5uSG4uqM5HQNHxefAK3hRlB2S2fMRk90l3dkew408T1BIul61jVFVBr+MHQjBO3tROKe5K83X7G/T3q35/etAAAAAElFTkSuQmCC"};var or=t.i(690847),on=t.i(348978);let oa={src:t.i(664339).default,width:500,height:500,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAmUlEQVR42l2OIQ6DMBSG6dps2QmWOdT07rCJuR1gcgbLMTAcAodBoDgACQqDJMFxAoIhIcD3SEgKTb62r/+X1+c4+3Vi/bTWHndlB0YpdSN0jTERwpf6uoUXAh8qyAlLwpozWCW2J7SIs8WA/JcvRXhBZwvUPcJ77U/xgObQYUJIZC5xzhQh52hLMg/Cfevi8pBCBjEU8JFoAboaIEBL1hbAAAAAAElFTkSuQmCC"},oo=[{col:0,row:0,label:"ETH",bg:"linear-gradient(145deg,#1a1040,#0c0820)",border:"rgba(140,135,245,0.35)",logo:(0,n.jsx)(()=>(0,n.jsx)(nR.default,{src:ot,alt:"Ethereum",width:28,height:28,style:{objectFit:"contain"}}),{})},{col:1,row:0,label:"SOL",bg:"linear-gradient(145deg,#0d0a1f,#071018)",border:"rgba(153,69,255,0.30)",logo:(0,n.jsx)(()=>(0,n.jsx)(nR.default,{src:os,alt:"Solana",width:28,height:28,style:{objectFit:"contain"}}),{})},{col:2,row:0,label:"BNB",bg:"linear-gradient(145deg,#1a1200,#0f0900)",border:"rgba(243,186,47,0.35)",logo:(0,n.jsx)(()=>(0,n.jsx)(nR.default,{src:oe,alt:"BNB",width:28,height:28,style:{objectFit:"contain"}}),{})},{col:0,row:1,label:"BASE",bg:"linear-gradient(145deg,#00143d,#000b2a)",border:"rgba(0,82,255,0.40)",logo:(0,n.jsx)(()=>(0,n.jsx)(nR.default,{src:oi,alt:"Base",width:28,height:28,style:{objectFit:"contain"}}),{})},{col:1,row:1,label:"",bg:"linear-gradient(145deg,#071510,#030d09)",border:"rgba(45,212,164,0.55)",logo:(0,n.jsx)(nR.default,{src:or.default,alt:"Logo",className:"object-contain size-10 invert p-1.5 border-white bg-white border rounded-full"}),hero:!0,glow:"0 0 55px rgba(45,212,164,0.45), inset 0 1px 0 rgba(255,255,255,0.08)"},{col:2,row:1,label:"GOOGL",bg:"linear-gradient(145deg,#0f0f12,#080808)",border:"rgba(255,255,255,0.10)",logo:(0,n.jsx)(()=>(0,n.jsxs)("svg",{viewBox:"0 0 40 40",width:"28",height:"28",children:[(0,n.jsx)("path",{fill:"#4285f4",d:"M39 20c0-1.3-.1-2.6-.4-3.8H20v7.2h10.6c-.5 2.4-1.9 4.4-3.9 5.7v4.7h6.3C36.4 30.8 39 25.8 39 20z"}),(0,n.jsx)("path",{fill:"#34a853",d:"M20 40c5.3 0 9.7-1.7 12.9-4.7l-6.3-4.9c-1.8 1.2-4 1.9-6.6 1.9-5.1 0-9.4-3.4-10.9-8H2.7v5C5.9 35.7 12.6 40 20 40z"}),(0,n.jsx)("path",{fill:"#fbbc04",d:"M9.1 24.3c-.4-1.2-.6-2.4-.6-3.7s.2-2.5.6-3.7v-5H2.7C1.3 14.5.5 17.2.5 20s.8 5.5 2.2 8.1l6.4-3.8z"}),(0,n.jsx)("path",{fill:"#ea4335",d:"M20 7.9c2.9 0 5.5 1 7.5 2.9l5.6-5.6C29.7 2 25.2 0 20 0 12.6 0 5.9 4.3 2.7 11l6.4 5C10.6 11.3 14.9 7.9 20 7.9z"})]}),{})},{col:0,row:2,label:"MSFT",bg:"linear-gradient(145deg,#081000,#050900)",border:"rgba(118,185,0,0.35)",logo:(0,n.jsx)(()=>(0,n.jsxs)("svg",{viewBox:"0 0 32 32",width:"26",height:"26",children:[(0,n.jsx)("rect",{x:"1",y:"1",width:"14",height:"14",fill:"#f25022"}),(0,n.jsx)("rect",{x:"17",y:"1",width:"14",height:"14",fill:"#7fba00"}),(0,n.jsx)("rect",{x:"1",y:"17",width:"14",height:"14",fill:"#00a4ef"}),(0,n.jsx)("rect",{x:"17",y:"17",width:"14",height:"14",fill:"#ffb900"})]}),{})},{col:1,row:2,label:"TSLA",bg:"linear-gradient(145deg,#1a0000,#0d0000)",border:"rgba(232,33,39,0.35)",logo:(0,n.jsx)(()=>(0,n.jsx)("svg",{viewBox:"0 0 40 38",width:"26",height:"26",children:(0,n.jsx)("path",{fill:"#e82127",d:"M20 4C13 4 7 5.5 4 8c1 2 3 3.5 6 4.5 1-1.5 5-3.5 10-3.5s9 2 10 3.5c3-1 5-2.5 6-4.5-3-2.5-9-4-16-4zm0 7c-3.5 0-6.5 1-8 2.5L20 36l8-22.5C26.5 12 23.5 11 20 11z"})}),{})},{col:2,row:2,label:"AAPL",bg:"linear-gradient(145deg,#111115,#090909)",border:"rgba(200,200,218,0.22)",logo:(0,n.jsx)(nR.default,{src:oa,alt:"Apple Logo",className:"size-9 invert"})}],ol=[{tag:["Global trading","Market access"],title:"Instant Access to All Markets. Crypto and Stocks",de
17scription:"Seamlessly access real-time data across crypto and stock markets instantly, without switching platforms.",cta:"Stocks",href:"/stocks",flip:!1,graphic:(0,n.jsx)(function(){return(0,n.jsxs)("div",{className:"relative w-full h-full min-h-[300px] flex items-center justify-center overflow-hidden",children:[(0,n.jsx)("div",{className:"absolute pointer-events-none",style:{top:"50%",left:"50%",width:380,height:380,borderRadius:"50%",background:"radial-gradient(circle,rgba(20,184,138,0.28) 0%,rgba(15,118,110,0.10) 38%,transparent 65%)",filter:"blur(32px)",transform:"translate(-50%,-50%)"}}),(0,n.jsx)("div",{className:"absolute pointer-events-none",style:{top:"-8%",left:"57%",width:90,height:"65%",background:"linear-gradient(155deg,rgba(160,255,210,0.30) 0%,transparent 55%)",filter:"blur(10px)"}}),(0,n.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(3,78px)",gridTemplateRows:"repeat(3,78px)",gap:10},children:oo.map((t,e)=>(0,n.jsxs)("div",{style:{gridColumn:t.col+1,gridRow:t.row+1,width:78,height:78,borderRadius:20,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:5,background:t.bg,border:`1px solid ${t.border}`,boxShadow:t.glow??"none"},children:[t.logo,t.label&&(0,n.jsx)("span",{style:{fontFamily:"monospace",fontSize:8,color:"rgba(255,255,255,0.32)",letterSpacing:"0.06em",lineHeight:1},children:t.label})]},e))})]})},{})},{tag:["Smart insights","Actionable data"],title:"Data that Drives Smart Strategic Decisions",description:"Analyse your investments from every angle. Dive into performance and returns, and easily filter your data.",cta:"Markets",href:"/explore",flip:!0,graphic:(0,n.jsx)(function(){let t=t=>t*Math.PI/180,e=(e,i)=>{let s=130+90*Math.cos(t(e)),r=130+90*Math.sin(t(e)),n=130+90*Math.cos(t(i)),a=130+90*Math.sin(t(i));return`M ${s} ${r} A 90 90 0 ${+(i-e>180)} 1 ${n} ${a}`},i=Array.from({length:13},(e,i)=>{let s=t(-150+25*i);return{x1:130+82*Math.cos(s),y1:130+82*Math.sin(s),x2:130+92*Math.cos(s),y2:130+92*Math.sin(s)}});return(0,n.jsxs)("div",{className:"relative w-full h-full min-h-[300px] flex items-center justify-center overflow-hidden",children:[(0,n.jsx)("div",{className:"absolute pointer-events-none",style:{bottom:"5%",left:"5%",width:260,height:260,borderRadius:"50%",background:"radial-gradient(circle,rgba(45,212,164,0.14) 0%,transparent 70%)",filter:"blur(48px)"}}),(0,n.jsxs)("svg",{width:"260",height:"200",viewBox:"0 0 260 200",style:{overflow:"visible"},children:[(0,n.jsx)("path",{d:e(-150,-30),fill:"none",stroke:"rgba(255,255,255,0.07)",strokeWidth:"14",strokeLinecap:"round"}),(0,n.jsx)("path",{d:e(-150,-64),fill:"none",stroke:"rgba(139,92,246,0.85)",strokeWidth:"14",strokeLinecap:"round"}),(0,n.jsx)("path",{d:e(-78,-64),fill:"none",stroke:"rgba(45,212,164,0.9)",strokeWidth:"14",strokeLinecap:"round"}),i.map((t,e)=>(0,n.jsx)("line",{x1:t.x1,y1:t.y1,x2:t.x2,y2:t.y2,stroke:"rgba(255,255,255,0.15)",strokeWidth:"1",strokeLinecap:"round"},e)),(0,n.jsx)("line",{x1:130,y1:130,x2:130+70*Math.cos(t(-60)),y2:130+70*Math.sin(t(-60)),stroke:"rgba(255,255,255,0.7)",strokeWidth:"2",strokeLinecap:"round"}),(0,n.jsx)("circle",{cx:130,cy:130,r:"5",fill:"rgba(255,255,255,0.15)",stroke:"rgba(255,255,255,0.3)",strokeWidth:"1"}),(0,n.jsx)("text",{x:130,y:158,textAnchor:"middle",fontFamily:"monospace",fontSize:"11",fill:"rgba(45,212,164,0.9)",children:"49% faster"}),(0,n.jsx)("rect",{x:92,y:174,width:"76",height:"20",rx:"10",fill:"rgba(45,212,164,0.12)",stroke:"rgba(45,212,164,0.25)",strokeWidth:"1"}),(0,n.jsx)("text",{x:130,y:188,textAnchor:"middle",fontFamily:"monospace",fontSize:"10",fill:"rgba(45,212,164,0.85)",children:"+12.4% gain"})]})]})},{})}],oh=({item:t,index:e})=>{let i=(0,n.jsxs)("div",{className:"flex flex-col justify-center gap-5 p-8 md:p-12 shrink-0 md:w-[48%]",children:[(0,n.jsx)("div",{className:"flex items-center gap-2 flex-wrap",children:t.tag.map(t=>(0,n.jsx)(nC,{text:t},t))}),(0,n.jsx)(c.Texts,{variant:"h4",className:"bg-gradient-to-br from-white to-neutral-400 bg-clip-text text-transparent max-w-sm",children:t.title}),(0,n.jsx)(c.Texts,{variant:"span",className:"text-neutral-400 max-w-sm leading-relaxed",children:t.description}),(0,n.jsx)(on.SecondaryButton,{label:t.cta,href:t.href})]}),s=(0,n.jsx)("div",{className:"relative flex-1 min-h-[280px]",children:t.graphic});return(0,n.jsx)(nk,{delay:.2+.15*e,children:(0,n.jsxs)("div",{className:"relative w-full overflow-hidden",style:{background:"transparent"},children:[(0,n.jsxs)("div",{className:"flex flex-col md:hidden",children:[i,s]}),(0,n.jsx)("div",{className:"hidden md:flex flex-row",children:t.flip?(0,n.jsxs)(n.Fragment,{children:[s,i]}):(0,n.jsxs)(n.Fragment,{children:[i,s]})})]})})},od=()=>{let[t,e]=(0,a.useState)(!1);return((0,a.useEffect)(()=>{e(!0)},[]),t)?(0,n.jsx)("section",{className:"w-full bg-black py-16 md:py-24 md:px-0",children:(0,n.jsxs)("div",{className:"max-w-6xl mx-auto 
17space-y-6",children:[(0,n.jsx)(nk,{delay:.1,children:(0,n.jsxs)("div",{className:"text-center space-y-4 mb-14",children:[(0,n.jsx)(c.Texts,{variant:"h2",className:"bg-gradient-to-b from-white to-neutral-400 bg-clip-text text-transparent",children:"Redefining the Future of On-Chain Finance"}),(0,n.jsx)(c.Texts,{variant:"span",className:"text-neutral-500 max-w-xl mx-auto block",children:"Experience a unified platform that integrates multiple financial services, empowering you to manage your entire portfolio with confidence and ease."})]})}),(0,n.jsx)("div",{className:"flex flex-col gap-6",children:ol.map((t,e)=>(0,n.jsx)(oh,{item:t,index:e},e))})]})}):null},ou={src:t.i(849281).default,width:225,height:225,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAIAAABLbSncAAAAUElEQVR42oWNsQ0AEBBFTcAcao2KHdRW0CkUNrEJY5jAJMdFJAoXybtc8l/yP2MO3uzHPdiMCH+JlZYKfSClHbfOZIx0AhVRyPAVZBU5/mQCXoxnyd4F9jcAAAAASUVORK5CYII="},oc={src:t.i(973583).default,width:350,height:350,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA9klEQVR42k2PT0sCURTFH32hPkNLN1LrWkS0bVGb6A/lol0fIKSNiLSJaiEU4eCgIqIuBH2KjIyi+Afd+G9m7rw36tE3KLi73PO795zDAjfBg7u3xyNuVnVpWyStGXGT62qnNKaG/qBtuNofpg/XmN5egf7j6A+7htKYf1n8xfjiBHYkDOczBpFJAssleLOqM0/atCqewkuFYDsLfBckIikBjXtwpUc+MC6foVB/wWQDRDMSl++E5y8XjpDE1Jt0L4HDxDlCtShe6z84juURLwkoez9ka9QxPjpJBHNPCGTvEW5oMAfbkLualQ09ExZN3DlV9mquAamTv9RZXRn7AAAAAElFTkSuQmCC"},op=[{src:ot,label:"ETH",size:116,pos:"bottom-[-14px] left-6",glowColor:"rgba(160,185,255,0.55)",borderColor:"rgba(160,185,255,0.22)",bg:"linear-gradient(145deg,#181f30,#0d1119)",floatDelay:0,badge:"+2.4%",badgeColor:"#2dd4a4"},{src:os,label:"SOL",size:90,pos:"bottom-[30px] left-[142px]",glowColor:"rgba(153,69,255,0.55)",borderColor:"rgba(153,69,255,0.25)",bg:"linear-gradient(145deg,#1a0d30,#0d071c)",floatDelay:.7,badge:"+5.1%",badgeColor:"#a855f7"},{src:oe,label:"BNB",size:116,pos:"top-[-14px] right-6",glowColor:"rgba(243,186,47,0.55)",borderColor:"rgba(243,186,47,0.25)",bg:"linear-gradient(145deg,#1f1400,#0f0900)",floatDelay:1.4,badge:"+1.8%",badgeColor:"#f3ba2f"},{src:oi,label:"BASE",size:90,pos:"top-[30px] right-[142px]",glowColor:"rgba(0,100,255,0.55)",borderColor:"rgba(0,100,255,0.28)",bg:"linear-gradient(145deg,#00143d,#000b25)",floatDelay:2.1,badge:"+3.7%",badgeColor:"#3b82f6"}],om=[{src:ou,label:"COIN",size:116,pos:"top-[-14px] left-6",glowColor:"rgba(22,82,240,0.55)",borderColor:"rgba(22,82,240,0.25)",bg:"linear-gradient(145deg,#010d2e,#000820)",floatDelay:.3,badge:"+4.3%",badgeColor:"#6085f8"},{src:oc,label:"GOOGL",size:90,pos:"top-[30px] left-[142px]",glowColor:"rgba(66,133,244,0.55)",borderColor:"rgba(66,133,244,0.25)",bg:"linear-gradient(145deg,#0d1a30,#070f1c)",floatDelay:1.1,badge:"+0.8%",badgeColor:"#60a5fa"},{src:null,letter:"G",letterColor:"#ff4d6d",label:"GME",size:116,pos:"bottom-[-14px] right-6",glowColor:"rgba(227,24,55,0.55)",borderColor:"rgba(227,24,55,0.22)",bg:"linear-gradient(145deg,#2a0010,#160008)",floatDelay:1.8,badge:"+420%",badgeColor:"#ff4d6d"},{src:oa,imageFilter:"brightness(0) invert(1)",label:"AAPL",size:90,pos:"bottom-[30px] right-[142px]",glowColor:"rgba(200,200,200,0.45)",borderColor:"rgba(200,200,200,0.18)",bg:"linear-gradient(145deg,#1a1a1a,#0d0d0d)",floatDelay:2.5,badge:"+0.5%",badgeColor:"#d1d5db"}],of=()=>(0,n.jsx)("section",{className:"relative w-full py-16 md:py-24 px-4 md:px-6 bg-black overflow-hidden",children:(0,n.jsx)("div",{className:"max-w-6xl mx-auto",children:(0,n.jsx)(nk,{delay:.1,children:(0,n.jsxs)("div",{className:"relative rounded-3xl overflow-hidden flex items-center justify-center min-h-[260px] md:min-h-[310px] border border-[#2dd4a4]/10",style:{background:"linear-gradient(135deg,#0e1a12 0%,#0a1410 50%,#071009 100%)",boxShadow:"8px 8px 24px rgba(0,0,0,0.6),-2px -2px 12px rgba(45,212,164,0.06),inset 0 1px 0 rgba(45,212,164,0.08),inset 0 -1px 0 rgba(0,0,0,0.1)"},children:[(0,n.jsx)("div",{className:"absolute inset-0 pointer-events-none opacity-[0.03]",style:{backgroundImage:"linear-gradient(rgba(45,212,164,0.8) 1px,transparent 1px),linear-gradient(90deg,rgba(45,212,164,0.8) 1px,transparent 1px)",backgroundSize:"48px 48px",maskImage:"radial-gradient(ellipse 85% 85% at 50% 50%,black 20%,transparent 100%)"}}),(0,n.jsx)("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[420px] h-[300px] rounded-full pointer-events-none",style:{background:"radial-gradient(ellipse,rgba(45,212,164,0.13) 0%,rgba(20,184,138,0.05) 45%,transparent 70%)",filter:"blur(24px)"}}),(0,n.jsx)("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[700px] h-px pointer-events-none",style:{background:"linear-gradient(90deg,transparent,rgba(45,212,164,0.10) 30%,rgba(180,255,230,0.22) 50%,rgba(45,212,164,0.10) 70%,transparent)",filter:"blur(1px)"}}),(0,n.jsx)("div",{className:"absolute -top-12 -left-12 w-[220px] h-[220px] rounded-full pointer-events-none",style:{background:"radial-gradient(circle,rgba(45,212,164,0.07) 0%,transparent 70%)",filter:"blur(18px)"}}),(0,n.jsx)("div",{className:"absolute -bottom-12 -right-12 w-[220px] h-[220px] rounded-full pointer-events-none",style:{background:"radial-gradient(circle,rgba(45,212,164,0.06) 0%,transparent 70%)",filter:"blur(18px)"}}),(0,n.jsxs)("svg",{className:"absolute inset-0 w-full h-full hidden md:block pointer-events-none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",children:[(0,n.jsxs)("defs",{children:[(0,n.jsxs)("linearGradient",{id:"lineBottomLeft",x1:"0%",y1:"100%",x2:"50%",y2:"50%",children:[(0,n.jsx)("stop",{offset:"0%",stopColor:"rgba(45,212,164,0)"}),(0,n.jsx)("stop",{offset:"50%",stopColor:"rgba(45,212,164,0.18)"}),(0,n.jsx)("stop",{offset:"100%",stopColor:"rgba(45,212,164,0)"})]}),(0,n.jsxs)("linearGradient",{id:"lineTopRight",x1:"100%",y1:"0%",x2:"50%",y2:"50%",children:[(0,n.jsx)("stop",{offset:"0%",stopColor:"rgba(45,212,164,0)"}),(0,n.jsx)("stop",{offset:"50%",stopColor:"rgba(45,212,164,0.18)"}),(0,n.jsx)("stop",{offset:"100%",stopColor:"rgba(45,212,164,0)"})]}),(0,n.jsxs)("linearGradient",{id:"lineTopLeft",x1:"0%",y1:"0%",x2:"50%",y2:"50%",children:[(0,n.jsx)("stop",{offset:"0%",stopColor:"rgba(22,82,240,0)"}),(0,n.jsx)("stop",{offset:"50%",stopColor:"rgba(22,82,240,0.14)"}),(0,n.jsx)("stop",{offset:"100%",stopColor:"rgba(22,82,240,0)"})]}),(0,n.jsxs)("linearGradient",{id:"lineBottomRight",x1:"100%",y1:"100%",x2:"50%",y2:"50%",children:[(0,n.jsx)("stop",{offset:"0%",stopColor:"rgba(227,24,55,0)"}),(0,n.jsx)("stop",{offset:"50%",stopColor:"rgba(227,24,55,0.14)"}),(0,n.jsx)("stop",{offset:"100%",stopColor:"rgba(227,24,55,0)"})]})]}),(0,n.jsx)("line",{x1:"12%",y1:"88%",x2:"50%",y2:"50%",stroke:"url
17(#lineBottomLeft)",strokeWidth:"1"}),(0,n.jsx)("line",{x1:"20%",y1:"78%",x2:"50%",y2:"50%",stroke:"url(#lineBottomLeft)",strokeWidth:"0.5",strokeDasharray:"4 8"}),(0,n.jsx)("line",{x1:"88%",y1:"12%",x2:"50%",y2:"50%",stroke:"url(#lineTopRight)",strokeWidth:"1"}),(0,n.jsx)("line",{x1:"80%",y1:"22%",x2:"50%",y2:"50%",stroke:"url(#lineTopRight)",strokeWidth:"0.5",strokeDasharray:"4 8"}),(0,n.jsx)("line",{x1:"12%",y1:"12%",x2:"50%",y2:"50%",stroke:"url(#lineTopLeft)",strokeWidth:"1"}),(0,n.jsx)("line",{x1:"20%",y1:"22%",x2:"50%",y2:"50%",stroke:"url(#lineTopLeft)",strokeWidth:"0.5",strokeDasharray:"4 8"}),(0,n.jsx)("line",{x1:"88%",y1:"88%",x2:"50%",y2:"50%",stroke:"url(#lineBottomRight)",strokeWidth:"1"}),(0,n.jsx)("line",{x1:"80%",y1:"78%",x2:"50%",y2:"50%",stroke:"url(#lineBottomRight)",strokeWidth:"0.5",strokeDasharray:"4 8"})]}),[...op,...om].map(t=>(0,n.jsxs)(nw.div,{className:`absolute ${t.pos} hidden md:flex flex-col items-center justify-center z-[2]`,animate:{y:[0,-10,2,-6,0],rotate:[0,.8,-.5,.3,0]},transition:{duration:5.5,repeat:1/0,ease:"easeInOut",delay:t.floatDelay},children:[(0,n.jsx)(nw.div,{className:"absolute rounded-full pointer-events-none",style:{width:t.size+28,height:t.size+28,border:`1px solid ${t.glowColor.replace("0.55","0.18")}`,top:-14,left:-14},animate:{scale:[1,1.12,1],opacity:[.5,.1,.5]},transition:{duration:3,repeat:1/0,ease:"easeInOut",delay:t.floatDelay+.3}}),(0,n.jsx)("div",{className:"absolute rounded-full pointer-events-none",style:{width:t.size+14,height:t.size+14,border:`1px solid ${t.borderColor}`,top:-7,left:-7}}),(0,n.jsxs)("div",{className:"relative flex flex-col items-center justify-center gap-1",style:{width:t.size,height:t.size,borderRadius:"50%",background:t.bg,border:`1px solid ${t.borderColor}`,boxShadow:`0 0 ${.6*t.size}px ${t.glowColor.replace("0.55","0.22")},0 0 ${.25*t.size}px ${t.glowColor.replace("0.55","0.35")},4px 8px 20px rgba(0,0,0,0.7),inset 0 1px 0 rgba(255,255,255,0.07)`},children:[(0,n.jsx)("div",{className:"absolute inset-0 rounded-full pointer-events-none",style:{background:`radial-gradient(ellipse 70% 50% at 50% 20%, ${t.glowColor.replace("0.55","0.12")} 0%, transparent 70%)`}}),t.letter?(0,n.jsx)("span",{style:{fontSize:.32*t.size,fontWeight:700,color:t.letterColor??"rgba(255,255,255,0.9)",position:"relative",zIndex:1,lineHeight:1,letterSpacing:"-0.02em"},children:t.letter}):t.src?(0,n.jsx)("div",{style:{width:.52*t.size,height:.52*t.size,borderRadius:"50%",overflow:"hidden",position:"relative",zIndex:1,flexShrink:0},children:(0,n.jsx)(nR.default,{src:t.src,alt:t.label,width:.52*t.size,height:.52*t.size,style:{objectFit:"cover",width:"100%",height:"100%",filter:t.imageFilter}})}):null,(0,n.jsx)("span",{style:{fontSize:7,color:"rgba(255,255,255,0.35)",letterSpacing:"0.12em",textTransform:"uppercase",position:"relative",zIndex:1},children:t.label})]}),(0,n.jsx)("div",{className:"absolute -top-1 -right-1 flex items-center px-1.5 py-0.5 rounded-full",style:{background:"rgba(10,15,10,0.9)",border:`1px solid ${t.badgeColor}33`,backdropFilter:"blur(6px)"},children:(0,n.jsx)("span",{style:{fontSize:8,color:t.badgeColor,fontWeight:600,letterSpacing:"0.03em",fontFamily:"monospace"},children:t.badge})})]},t.label)),(0,n.jsxs)("div",{className:"relative z-10 flex flex-col items-center text-center gap-4 px-6 py-12 md:py-14",children:[(0,n.jsx)(c.Texts,{variant:"h2",className:"leading-tight tracking-tight max-w-lg",style:{backgroundImage:"linear-gradient(135deg,#ffffff 0%,#a8f5e0 35%,#2dd4a4 60%,#1aab82 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"Power Your Web3 Experience with Ethane"}),(0,n.jsx)(c.Texts,{variant:"span",className:"!text-[#F5F5F5]/70 max-w-sm block leading-relaxed",children:"All-in-one platform to swap, stake, and manage your crypto assets seamlessly."}),(0,n.jsx)(l.default,{href:"/dashboard",className:"no-underline flex items-center justify-center px-6 py-3 rounded-xl bg-white text-[#0a0f09] text-sm font-semibold hover:bg-white/90 transition-colors duration-200",children:"Launch App"})]})]})})})});function og(){let[t,e]=(0,a.useState)(!0);return(0,n.jsxs)("main",{className:"dark relative w-full h-full",children:[t&&(0,n.jsx)(u,{onDismiss:()=>e(!1)}),(0,n.jsx)(o.default,{bannerOffset:t?40:void 0}),(0,n.jsx)(nD,{}),(0,n.jsx)(an,{}),(0,n.jsx)(od,{}),(0,n.jsx)(a7,{}),(0,n.jsx)(of,{}),(0,n.jsx)(nL.default,{})]})}t.s(["default",()=>og],331713)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.