@vibedeckx/darwin-arm64 0.1.28 → 0.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +2767 -2243
- package/dist/ui/404/index.html +1 -1
- package/dist/ui/404.html +1 -1
- package/dist/ui/__next.__PAGE__.txt +2 -2
- package/dist/ui/__next._full.txt +11 -8
- package/dist/ui/__next._head.txt +1 -1
- package/dist/ui/__next._index.txt +6 -6
- package/dist/ui/__next._tree.txt +6 -3
- package/dist/ui/_next/static/chunks/0d37083ccc5fbf7c.css +4 -0
- package/dist/ui/_next/static/chunks/{57495168178cb0c6.js → 6134ca0517400811.js} +4 -4
- package/dist/ui/_next/static/chunks/87951526e3ed5f5e.css +1 -0
- package/dist/ui/_next/static/chunks/c859d4f64b6b2057.js +979 -0
- package/dist/ui/_next/static/chunks/eaaacb70148ac267.js +29 -0
- package/dist/ui/_next/static/media/04c5164763c40239-s.690580e8.woff2 +0 -0
- package/dist/ui/_next/static/media/051742360c26797e-s.p.102b7f24.woff2 +0 -0
- package/dist/ui/_next/static/media/26f284dcc38c84c0-s.303a03d6.woff2 +0 -0
- package/dist/ui/_next/static/media/6a5386fd6038edbe-s.719084df.woff2 +0 -0
- package/dist/ui/_next/static/media/7e7f32a39836f228-s.0b4edfe7.woff2 +0 -0
- package/dist/ui/_next/static/media/7ebf22b5a21034f8-s.p.d8bad3ab.woff2 +0 -0
- package/dist/ui/_next/static/media/ccf27e5a7366fb23-s.262b87c4.woff2 +0 -0
- package/dist/ui/_next/static/media/e41d5df559864f9e-s.p.380d09ea.woff2 +0 -0
- package/dist/ui/_next/static/media/fa39153a3fc630ba-s.bff0868b.woff2 +0 -0
- package/dist/ui/_next/static/media/fc0a7394b875fa43-s.614a1c00.woff2 +0 -0
- package/dist/ui/_not-found/__next._full.txt +7 -7
- package/dist/ui/_not-found/__next._head.txt +1 -1
- package/dist/ui/_not-found/__next._index.txt +6 -6
- package/dist/ui/_not-found/__next._not-found.__PAGE__.txt +1 -1
- package/dist/ui/_not-found/__next._not-found.txt +1 -1
- package/dist/ui/_not-found/__next._tree.txt +3 -3
- package/dist/ui/_not-found/index.html +1 -1
- package/dist/ui/_not-found/index.txt +7 -7
- package/dist/ui/index.html +1 -1
- package/dist/ui/index.txt +11 -8
- package/package.json +1 -1
- package/dist/ui/_next/static/chunks/206325729c6b437c.js +0 -29
- package/dist/ui/_next/static/chunks/2473c16c0c2f6b5f.css +0 -2
- package/dist/ui/_next/static/chunks/373ecc09d993b339.css +0 -1
- package/dist/ui/_next/static/chunks/73d9cd102c21dc34.js +0 -1
- /package/dist/ui/_next/static/{c3XhyFJJbnxGICK0cg7UN → X7XLphuDX-NShtX9FqfE6}/_buildManifest.js +0 -0
- /package/dist/ui/_next/static/{c3XhyFJJbnxGICK0cg7UN → X7XLphuDX-NShtX9FqfE6}/_clientMiddlewareManifest.json +0 -0
- /package/dist/ui/_next/static/{c3XhyFJJbnxGICK0cg7UN → X7XLphuDX-NShtX9FqfE6}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,979 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,573751,t=>{"use strict";let e,i,s;var n,r=t.i(813443),a=t.i(629109),o=t.i(247755),l=t.i(642098),d=t.i(943445),h=t.i(198631);let c=(0,h.default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);var u=t.i(165512),p=t.i(423917),m=t.i(331053);let f=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],v=new Set(f),x=(t,e,i)=>i>e?e:i<t?t:i,g={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},y={...g,transform:t=>x(0,1,t)},b={...g,default:1},w=t=>Math.round(1e5*t)/1e5,k=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,j=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,T=(t,e)=>i=>!!("string"==typeof i&&j.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),S=(t,e,i)=>s=>{if("string"!=typeof s)return s;let[n,r,a,o]=s.match(k);return{[t]:parseFloat(n),[e]:parseFloat(r),[i]:parseFloat(a),alpha:void 0!==o?parseFloat(o):1}},P={...g,transform:t=>Math.round(x(0,255,t))},A={test:T("rgb","red"),parse:S("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:s=1})=>"rgba("+P.transform(t)+", "+P.transform(e)+", "+P.transform(i)+", "+w(y.transform(s))+")"},N={test:T("#"),parse:function(t){let e="",i="",s="",n="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),s=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),s=t.substring(3,4),n=t.substring(4,5),e+=e,i+=i,s+=s,n+=n),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:n?parseInt(n,16)/255:1}},transform:A.transform},E=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),C=E("deg"),M=E("%"),V=E("px"),D=E("vh"),R=E("vw"),L={...M,parse:t=>M.parse(t)/100,transform:t=>M.transform(100*t)},B={test:T("hsl","hue"),parse:S("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:s=1})=>"hsla("+Math.round(t)+", "+M.transform(w(e))+", "+M.transform(w(i))+", "+w(y.transform(s))+")"},F={test:t=>A.test(t)||N.test(t)||B.test(t),parse:t=>A.test(t)?A.parse(t):B.test(t)?B.parse(t):N.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?A.transform(t):B.transform(t),getAnimatableNone:t=>{let e=F.parse(t);return e.alpha=0,F.transform(e)}},I=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,O="number",z="color",U=/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 W(t){let e=t.toString(),i=[],s={color:[],number:[],var:[]},n=[],r=0,a=e.replace(U,t=>(F.test(t)?(s.color.push(r),n.push(z),i.push(F.parse(t))):t.startsWith("var(")?(s.var.push(r),n.push("var"),i.push(t)):(s.number.push(r),n.push(O),i.push(parseFloat(t))),++r,"${}")).split("${}");return{values:i,split:a,indexes:s,types:n}}function $(t){return W(t).values}function Y(t){let{split:e,types:i}=W(t),s=e.length;return t=>{let n="";for(let r=0;r<s;r++)if(n+=e[r],void 0!==t[r]){let e=i[r];e===O?n+=w(t[r]):e===z?n+=F.transform(t[r]):n+=t[r]}return n}}let X=t=>"number"==typeof t?0:F.test(t)?F.getAnimatableNone(t):t,H={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(k)?.length||0)+(t.match(I)?.length||0)>0},parse:$,createTransformer:Y,getAnimatableNone:function(t){let e=$(t);return Y(t)(e.map(X))}},K=new Set(["brightness","contrast","saturate","opacity"]);function q(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[s]=i.match(k)||[];if(!s)return t;let n=i.replace(s,""),r=+!!K.has(e);return s!==i&&(r*=100),e+"("+r+n+")"}let G=/\b([a-z-]*)\(.*?\)/gu,_={...H,getAnimatableNone:t=>{let e=t.match(G);return e?e.map(q).join(" "):t}},Z={...g,transform:Math.round},Q={borderWidth:V,borderTopWidth:V,borderRightWidth:V,borderBottomWidth:V,borderLeftWidth:V,borderRadius:V,borderTopLeftRadius:V,borderTopRightRadius:V,borderBottomRightRadius:V,borderBottomLeftRadius:V,width:V,maxWidth:V,height:V,maxHeight:V,top:V,right:V,bottom:V,left:V,inset:V,insetBlock:V,insetBlockStart:V,insetBlockEnd:V,insetInline:V,insetInlineStart:V,insetInlineEnd:V,padding:V,paddingTop:V,paddingRight:V,paddingBottom:V,paddingLeft:V,paddingBlock:V,paddingBlockStart:V,paddingBlockEnd:V,paddingInline:V,paddingInlineStart:V,paddingInlineEnd:V,margin:V,marginTop:V,marginRight:V,marginBottom:V,marginLeft:V,marginBlock:V,marginBlockStart:V,marginBlockEnd:V,marginInline:V,marginInlineStart:V,marginInlineEnd:V,fontSize:V,backgroundPositionX:V,backgroundPositionY:V,rotate:C,rotateX:C,rotateY:C,rotateZ:C,scale:b,scaleX:b,scaleY:b,scaleZ:b,skew:C,skewX:C,skewY:C,distance:V,translateX:V,translateY:V,translateZ:V,x:V,y:V,z:V,perspective:V,transformPerspective:V,opacity:y,originX:L,originY:L,originZ:V,zIndex:Z,fillOpacity:y,strokeOpacity:y,numOctaves:Z},J={...Q,color:F,backgroundColor:F,outlineColor:F,fill:F,stroke:F,borderColor:F,borderTopColor:F,borderRightColor:F,borderBottomColor:F,borderLeftColor:F,filter:_,WebkitFilter:_},tt=t=>J[t],te=()=>({translate:0,scale:1,origin:0,originPoint:0}),ti=()=>({x:te(),y:te()}),ts=()=>({min:0,max:0}),tn=()=>({x:ts(),y:ts()}),tr=t=>!!(t&&t.getVelocity),ta=new Set(["width","height","top","left","right","bottom",...f]),to=t=>e=>e.test(t),tl=[g,V,M,C,R,D,{test:t=>"auto"===t,parse:t=>t}],td=t=>tl.find(to(t));var th=t.i(885101);let tc=()=>{},tu=()=>{};th.default;let tp=t=>e=>"string"==typeof e&&e.startsWith(t),tm=tp("--"),tf=tp("var(--"),tv=t=>!!tf(t)&&tx.test(t.split("/*")[0].trim()),tx=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function tg(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}let ty=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tb=t=>180*t/Math.PI,tw=t=>tj(tb(Math.atan2(t[1],t[0]))),tk={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:tw,rotateZ:tw,skewX:t=>tb(Math.atan(t[1])),skewY:t=>tb(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},tj=t=>((t%=360)<0&&(t+=360),t),tT=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),tS=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),tP={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tT,scaleY:tS,scale:t=>(tT(t)+tS(t))/2,rotateX:t=>tj(tb(Math.atan2(t[6],t[5]))),rotateY:t=>tj(tb(Math.atan2(-t[2],t[0]))),rotateZ:tw,rotate:tw,skewX:t=>tb(Math.atan(t[4])),skewY:t=>tb(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function tA(t){return+!!t.includes("scale")}function tN(t,e){let i,s;if(!t||"none"===t)return tA(e);let n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=tP,s=n;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=tk,s=e}if(!s)return tA(e);let r=i[e],a=s[1].split(",").map(tE);return"function"==typeof r?r(a):a[r]}function tE(t){return parseFloat(t.trim())}let tC=t=>t===g||t===V,tM=new Set(["x","y","z"]),tV=f.filter(t=>!tM.has(t)),tD={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})=>tN(e,"x"),y:(t,{transform:e})=>tN(e,"y")};tD.translateX=tD.x,tD.translateY=tD.y;let tR=t=>t,tL={},tB=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function tF(t,e){let i=!1,s=!0,n={delta:0,timestamp:0,isProcessing:!1},r=()=>i=!0,a=tB.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,s=new Set,n=!1,r=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1},l=0;function d(e){a.has(e)&&(h.schedule(e),t()),l++,e(o)}let h={schedule:(t,e=!1,r=!1)=>{let o=r&&n?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,n){r=!0;return}n=!0,[i,s]=[s,i],i.forEach(d),e,l=0,i.clear(),n=!1,r&&(r=!1,h.process(t))}};return h}(r,e?i:void 0),t),{}),{setup:o,read:l,resolveKeyframes:d,preUpdate:h,update:c,preRender:u,render:p,postRender:m}=a,f=()=>{let r=tL.useManualTiming?n.timestamp:performance.now();i=!1,tL.useManualTiming||(n.delta=s?1e3/60:Math.max(Math.min(r-n.timestamp,40),1)),n.timestamp=r,n.isProcessing=!0,o.process(n),l.process(n),d.process(n),h.process(n),c.process(n),u.process(n),p.process(n),m.process(n),n.isProcessing=!1,i&&e&&(s=!1,t(f))};return{schedule:tB.reduce((e,r)=>{let o=a[r];return e[r]=(e,r=!1,a=!1)=>(!i&&(i=!0,s=!0,n.isProcessing||t(f)),o.schedule(e,r,a)),e},{}),cancel:t=>{for(let e=0;e<tB.length;e++)a[tB[e]].cancel(t)},state:n,steps:a}}let{schedule:tI,cancel:tO,state:tz,steps:tU}=tF("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:tR,!0),tW=new Set,t$=!1,tY=!1,tX=!1;function tH(){if(tY){let t=Array.from(tW).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,s=(e=[],tV.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)})}tY=!1,t$=!1,tW.forEach(t=>t.complete(tX)),tW.clear()}function tK(){tW.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tY=!0)})}class tq{constructor(t,e,i,s,n,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=s,this.element=n,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(tW.add(this),t$||(t$=!0,tI.read(tK),tI.resolveKeyframes(tH))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:s}=this;if(null===t[0]){let n=s?.get(),r=t[t.length-1];if(void 0!==n)t[0]=n;else if(i&&e){let s=i.readValue(e,r);null!=s&&(t[0]=s)}void 0===t[0]&&(t[0]=r),s&&void 0===n&&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),tW.delete(this)}cancel(){"scheduled"===this.state&&(tW.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}function tG(t,e){let i=tt(t);return i!==_&&(i=H),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let t_=new Set(["auto","none","0"]);class tZ extends tq{constructor(t,e,i,s,n){super(t,e,i,s,n,!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&&tv(s=s.trim())){let n=function t(e,i,s=1){tu(s<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[n,r]=function(t){let e=ty.exec(t);if(!e)return[,];let[,i,s,n]=e;return[`--${i??s}`,n]}(e);if(!n)return;let a=window.getComputedStyle(i).getPropertyValue(n);if(a){let t=a.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return tv(r)?t(r,i,s+1):r}(s,e.current);void 0!==n&&(t[i]=n),i===t.length-1&&(this.finalKeyframe=s)}}if(this.resolveNoneKeyframes(),!ta.has(i)||2!==t.length)return;let[s,n]=t,r=td(s),a=td(n);if(tg(s)!==tg(n)&&tD[i]){this.needsMeasurement=!0;return}if(r!==a)if(tC(r)&&tC(a))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else tD[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,n=0;for(;n<t.length&&!s;){let e=t[n];"string"==typeof e&&!t_.has(e)&&W(e).values.length&&(s=t[n]),n++}if(s&&i)for(let n of e)t[n]=tG(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=tD[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 n=i.length-1,r=i[n];i[n]=tD[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==r&&void 0===this.finalKeyframe&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEach(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}function tQ(t,e){-1===t.indexOf(e)&&t.push(e)}function tJ(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class t0{constructor(){this.subscriptions=[]}add(t){return tQ(this.subscriptions,t),()=>tJ(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 n=0;n<s;n++){let s=this.subscriptions[n];s&&s(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let{schedule:t1}=tF(queueMicrotask,!1);function t2(){e=void 0}let t5={now:()=>(void 0===e&&t5.set(tz.isProcessing||tL.useManualTiming?tz.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(t2)}};class t8{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=t5.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=t5.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 t0);let i=this.events[t].add(e);return"change"===t?()=>{i(),tI.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=t5.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 t3(t,e){return new t8(t,e)}let t6=[...tl,F,H],t4={current:null},t7={current:!1},t9="undefined"!=typeof window,et=new WeakMap;function ee(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function ei(t){return"string"==typeof t||Array.isArray(t)}let es=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],en=["initial",...es];function er(t){return ee(t.animate)||en.some(e=>ei(t[e]))}function ea(t){return!!(er(t)||t.variants)}function eo(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function el(t,e,i,s){if("function"==typeof e){let[n,r]=eo(s);e=e(void 0!==i?i:t.custom,n,r)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[n,r]=eo(s);e=e(void 0!==i?i:t.custom,n,r)}return e}let ed=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],eh={};class ec{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:s,blockInitialAnimation:n,visualState:r},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=tq,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=t5.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,tI.render(this.render,!1,!0))};const{latestValues:o,renderState:l}=r;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=!!n,this.isControllingVariants=er(e),this.isVariantNode=ea(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in h){const e=h[t];void 0!==o[t]&&tr(e)&&e.set(o[t])}}mount(t){this.current=t,et.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)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(t7.current||function(){if(t7.current=!0,t9)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>t4.current=t.matches;t.addEventListener("change",e),e()}else t4.current=!1}(),this.shouldReduceMotion=t4.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),tO(this.notifyUpdate),tO(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=v.has(t);s&&this.onBindTransform&&this.onBindTransform();let n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tI.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"undefined"!=typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{n(),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 eh){let e=eh[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):tn()}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<ed.length;e++){let i=ed[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let s=t["on"+i];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=function(t,e,i){for(let s in e){let n=e[s],r=i[s];if(tr(n))t.addValue(s,n);else if(tr(r))t.addValue(s,t3(n,{owner:t}));else if(r!==n)if(t.hasValue(s)){let e=t.getValue(s);!0===e.liveStyle?e.jump(n):e.hasAnimated||e.set(n)}else{let e=t.getStaticValue(s);t.addValue(s,t3(void 0!==e?e:n,{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=t3(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,n;if("string"==typeof i&&(s=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(s)||(n=i,/^0[^.\s]+$/u.test(n))))i=parseFloat(i);else{let s;s=i,!t6.find(to(s))&&H.test(e)&&(i=tG(t,e))}this.setBaseTarget(t,tr(i)?i.get():i)}return tr(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=el(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||tr(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 t0),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){t1.render(this.render)}}class eu extends ec{constructor(){super(...arguments),this.KeyframeResolver=tZ}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[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;tr(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function ep(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}let em=(t,e)=>e&&"number"==typeof t?e.transform(t):t,ef={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ev=f.length;function ex(t,e,i){let{style:s,vars:n,transformOrigin:r}=t,a=!1,o=!1;for(let t in e){let i=e[t];if(v.has(t)){a=!0;continue}if(tm(t)){n[t]=i;continue}{let e=em(i,Q[t]);t.startsWith("origin")?(o=!0,r[t]=e):s[t]=e}}if(!e.transform&&(a||i?s.transform=function(t,e,i){let s="",n=!0;for(let r=0;r<ev;r++){let a=f[r],o=t[a];if(void 0===o)continue;let l=!0;if("number"==typeof o)l=o===+!!a.startsWith("scale");else{let t=parseFloat(o);l=a.startsWith("scale")?1===t:0===t}if(!l||i){let t=em(o,Q[a]);if(!l){n=!1;let e=ef[a]||a;s+=`${e}(${t}) `}i&&(e[a]=t)}}return s=s.trim(),i?s=i(e,n?"":s):n&&(s="none"),s}(e,t.transform,i):s.transform&&(s.transform="none")),o){let{originX:t="50%",originY:e="50%",originZ:i=0}=r;s.transformOrigin=`${t} ${e} ${i}`}}let eg={offset:"stroke-dashoffset",array:"stroke-dasharray"},ey={offset:"strokeDashoffset",array:"strokeDasharray"},eb=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function ew(t,{attrX:e,attrY:i,attrScale:s,pathLength:n,pathSpacing:r=1,pathOffset:a=0,...o},l,d,h){if(ex(t,o,d),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:c,style:u}=t;for(let t of(c.transform&&(u.transform=c.transform,delete c.transform),(u.transform||c.transformOrigin)&&(u.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),u.transform&&(u.transformBox=h?.transformBox??"fill-box",delete c.transformBox),eb))void 0!==c[t]&&(u[t]=c[t],delete c[t]);void 0!==e&&(c.x=e),void 0!==i&&(c.y=i),void 0!==s&&(c.scale=s),void 0!==n&&function(t,e,i=1,s=0,n=!0){t.pathLength=1;let r=n?eg:ey;t[r.offset]=`${-s}`,t[r.array]=`${e} ${i}`}(c,n,r,a,!1)}let ek=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"]),ej=t=>"string"==typeof t&&"svg"===t.toLowerCase();function eT(t,{style:e,vars:i},s,n){let r,a=t.style;for(r in e)a[r]=e[r];for(r in n?.applyProjectionStyles(a,s),i)a.setProperty(r,i[r])}function eS(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let eP={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!V.test(t))return t;else t=parseFloat(t);let i=eS(t,e.target.x),s=eS(t,e.target.y);return`${i}% ${s}%`}},eA=(t,e,i)=>t+(e-t)*i,eN={borderRadius:{...eP,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:eP,borderTopRightRadius:eP,borderBottomLeftRadius:eP,borderBottomRightRadius:eP,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let s=H.parse(t);if(s.length>5)return t;let n=H.createTransformer(t),r=+("number"!=typeof s[0]),a=i.x.scale*e.x,o=i.y.scale*e.y;s[0+r]/=a,s[1+r]/=o;let l=eA(a,o,.5);return"number"==typeof s[2+r]&&(s[2+r]/=l),"number"==typeof s[3+r]&&(s[3+r]/=l),n(s)}}};function eE(t,{layout:e,layoutId:i}){return v.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!eN[t]||"opacity"===t)}function eC(t,e,i){let s=t.style,n=e?.style,r={};if(!s)return r;for(let e in s)(tr(s[e])||n&&tr(n[e])||eE(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(r[e]=s[e]);return r}function eM(t,e,i){let s=eC(t,e,i);for(let i in t)(tr(t[i])||tr(e[i]))&&(s[-1!==f.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return s}class eV extends eu{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=tn}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(v.has(e)){let t=tt(e);return t&&t.default||0}return e=ek.has(e)?e:ep(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return eM(t,e,i)}build(t,e,i){ew(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,s){for(let i in eT(t,e,void 0,s),e.attrs)t.setAttribute(ek.has(i)?i:ep(i),e.attrs[i])}mount(t){this.isSVGTag=ej(t.tagName),super.mount(t)}}function eD({top:t,left:e,right:i,bottom:s}){return{x:{min:e,max:i},y:{min:t,max:s}}}function eR(t){return void 0===t||1===t}function eL({scale:t,scaleX:e,scaleY:i}){return!eR(t)||!eR(e)||!eR(i)}function eB(t){return eL(t)||eF(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function eF(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function eI(t,e,i,s,n){return void 0!==n&&(t=s+n*(t-s)),s+i*(t-s)+e}function eO(t,e=0,i=1,s,n){t.min=eI(t.min,e,i,s,n),t.max=eI(t.max,e,i,s,n)}function ez(t,{x:e,y:i}){eO(t.x,e.translate,e.scale,e.originPoint),eO(t.y,i.translate,i.scale,i.originPoint)}function eU(t,e){t.min=t.min+e,t.max=t.max+e}function eW(t,e,i,s,n=.5){let r=eA(t.min,t.max,n);eO(t,e,i,r,s)}function e$(t,e){eW(t.x,e.x,e.scaleX,e.scale,e.originX),eW(t.y,e.y,e.scaleY,e.scale,e.originY)}function eY(t,e){return eD(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))}class eX extends eu{constructor(){super(...arguments),this.type="html",this.renderInstance=eT}readValueFromInstance(t,e){if(v.has(e))return this.projection?.isProjecting?tA(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return tN(i,e)})(t,e);{let i=window.getComputedStyle(t),s=(tm(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof s?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:e}){return eY(t,e)}build(t,e,i){ex(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return eC(t,e,i)}}let eH=["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 eK(t){if("string"!=typeof t||t.includes("-"));else if(eH.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}let eq=(0,a.createContext)({}),eG=(0,a.createContext)({strict:!1}),e_=(0,a.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),eZ=(0,a.createContext)({});function eQ(t){return Array.isArray(t)?t.join(" "):t}let eJ=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function e0(t,e,i){for(let s in e)tr(e[s])||eE(s,i)||(t[s]=e[s])}let e1=()=>({...eJ(),attrs:{}}),e2=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 e5(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||e2.has(t)}let e8=t=>!e5(t);try{n=(()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default,"function"==typeof n&&(e8=t=>t.startsWith("on")?!e5(t):n(t))}catch{}function e3(t){return tr(t)?t.get():t}let e6=(0,a.createContext)(null),e4=t=>(e,i)=>{let s,n=(0,a.useContext)(eZ),r=(0,a.useContext)(e6),o=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,s,n){return{latestValues:function(t,e,i,s){let n={},r=s(t,{});for(let t in r)n[t]=e3(r[t]);let{initial:a,animate:o}=t,l=er(t),d=ea(t);e&&d&&!l&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===o&&(o=e.animate));let h=!!i&&!1===i.initial,c=(h=h||!1===a)?o:a;if(c&&"boolean"!=typeof c&&!ee(c)){let e=Array.isArray(c)?c:[c];for(let i=0;i<e.length;i++){let s=el(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=h?e.length-1:0;e=e[t]}null!==e&&(n[t]=e)}for(let e in t)n[e]=t[e]}}}return n}(i,s,n,t),renderState:e()}})(t,e,n,r);return i?o():(null===(s=(0,a.useRef)(null)).current&&(s.current=o()),s.current)},e7=e4({scrapeMotionValuesFromProps:eC,createRenderState:eJ}),e9=e4({scrapeMotionValuesFromProps:eM,createRenderState:e1}),it="undefined"!=typeof window,ie={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"]},ii=!1;function is(){return!function(){if(ii)return;let t={};for(let e in ie)t[e]={isEnabled:t=>ie[e].some(e=>!!t[e])};eh=t,ii=!0}(),eh}let ir=Symbol.for("motionComponentSymbol"),ia="data-"+ep("framerAppearId"),io=(0,a.createContext)({});function il(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let id=it?a.useLayoutEffect:a.useEffect;function ih(t,{forwardMotionProps:e=!1,type:i}={},s,n){s&&function(t){let e=is();for(let i in t)e[i]={...e[i],...t[i]};eh=e}(s);let o=i?"svg"===i:eK(t),l=o?e9:e7;function d(i,s){var d;let h,c,u,p={...(0,a.useContext)(e_),...i,layoutId:function({layoutId:t}){let e=(0,a.useContext)(eq).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:m}=p,f=function(t){let{initial:e,animate:i}=function(t,e){if(er(t)){let{initial:e,animate:i}=t;return{initial:!1===e||ei(e)?e:void 0,animate:ei(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,a.useContext)(eZ));return(0,a.useMemo)(()=>({initial:e,animate:i}),[eQ(e),eQ(i)])}(i),v=l(i,m);if(!m&&it){(0,a.useContext)(eG).strict;let e=function(t){let{drag:e,layout:i}=is();if(!e&&!i)return{};let s={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}(p);h=e.MeasureLayout,f.visualElement=function(t,e,i,s,n,r){let{visualElement:o}=(0,a.useContext)(eZ),l=(0,a.useContext)(eG),d=(0,a.useContext)(e6),h=(0,a.useContext)(e_).reducedMotion,c=(0,a.useRef)(null),u=(0,a.useRef)(!1);s=s||l.renderer,!c.current&&s&&(c.current=s(t,{visualState:e,parent:o,props:i,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:h,isSVG:r}),u.current&&c.current&&(c.current.manuallyAnimateOnMount=!0));let p=c.current,m=(0,a.useContext)(io);p&&!p.projection&&n&&("html"===p.type||"svg"===p.type)&&function(t,e,i,s){let{layoutId:n,layout:r,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:d,layoutCrossfade:h}=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:n,layout:r,alwaysMeasureLayout:!!a||o&&il(o),visualElement:t,animationType:"string"==typeof r?r:"both",initialPromotionConfig:s,crossfade:h,layoutScroll:l,layoutRoot:d})}(c.current,i,n,m);let f=(0,a.useRef)(!1);(0,a.useInsertionEffect)(()=>{p&&f.current&&p.update(i,d)});let v=i[ia],x=(0,a.useRef)(!!v&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return id(()=>{u.current=!0,p&&(f.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),p.scheduleRenderMicrotask(),x.current&&p.animationState&&p.animationState.animateChanges())}),(0,a.useEffect)(()=>{p&&(!x.current&&p.animationState&&p.animationState.animateChanges(),x.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),x.current=!1),p.enteringChildren=void 0)}),p}(t,v,p,n,e.ProjectionNode,o)}return(0,r.jsxs)(eZ.Provider,{value:f,children:[h&&f.visualElement?(0,r.jsx)(h,{visualElement:f.visualElement,...p}):null,function(t,e,i,{latestValues:s},n,r=!1,o){let l=(o??eK(t)?function(t,e,i,s){let n=(0,a.useMemo)(()=>{let i=e1();return ew(i,e,ej(s),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};e0(e,t.style,t),n.style={...e,...n.style}}return n}:function(t,e){let i,s,n={},r=(i=t.style||{},e0(s={},i,t),Object.assign(s,function({transformTemplate:t},e){return(0,a.useMemo)(()=>{let i=eJ();return ex(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),s);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=r,n})(e,s,n,t),d=function(t,e,i){let s={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&(e8(n)||!0===i&&e5(n)||!e&&!e5(n)||t.draggable&&n.startsWith("onDrag"))&&(s[n]=t[n]);return s}(e,"string"==typeof t,r),h=t!==a.Fragment?{...d,...l,ref:i}:{},{children:c}=e,u=(0,a.useMemo)(()=>tr(c)?c.get():c,[c]);return(0,a.createElement)(t,{...h,children:u})}(t,i,(d=f.visualElement,c=(0,a.useRef)(s),(0,a.useInsertionEffect)(()=>{c.current=s}),u=(0,a.useRef)(null),(0,a.useCallback)(t=>{t&&v.onMount?.(t),d&&(t?d.mount(t):d.unmount());let e=c.current;if("function"==typeof e)if(t){let i=e(t);"function"==typeof i&&(u.current=i)}else u.current?(u.current(),u.current=null):e(t);else e&&(e.current=t)},[d])),v,m,e,o)]})}d.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let h=(0,a.forwardRef)(d);return h[ir]=t,h}class ic{constructor(t){this.isMounted=!1,this.node=t}update(){}}function iu(t,e,i){let s=t.getProps();return el(s,e,void 0!==i?i:s.custom,t)}function ip(t,e){return t?.[e]??t?.default??t}let im=t=>Array.isArray(t);function iv(t,e){let i=t.getValue("willChange");if(tr(i)&&i.add)return i.add(e);if(!i&&tL.WillChange){let i=new tL.WillChange("auto");t.addValue("willChange",i),i.add(e)}}let ix=t=>1e3*t,ig=(t,e)=>i=>e(t(i)),iy=(...t)=>t.reduce(ig),ib={layout:0,mainThread:0,waapi:0};function iw(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 ik(t,e){return i=>i>0?e:t}let ij=(t,e,i)=>{let s=t*t,n=i*(e*e-s)+s;return n<0?0:Math.sqrt(n)},iT=[N,A,B];function iS(t){let e=iT.find(e=>e.test(t));if(tc(!!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===B&&(i=function({hue:t,saturation:e,lightness:i,alpha:s}){t/=360,i/=100;let n=0,r=0,a=0;if(e/=100){let s=i<.5?i*(1+e):i+e-i*e,o=2*i-s;n=iw(o,s,t+1/3),r=iw(o,s,t),a=iw(o,s,t-1/3)}else n=r=a=i;return{red:Math.round(255*n),green:Math.round(255*r),blue:Math.round(255*a),alpha:s}}(i)),i}let iP=(t,e)=>{let i=iS(t),s=iS(e);if(!i||!s)return ik(t,e);let n={...i};return t=>(n.red=ij(i.red,s.red,t),n.green=ij(i.green,s.green,t),n.blue=ij(i.blue,s.blue,t),n.alpha=eA(i.alpha,s.alpha,t),A.transform(n))},iA=new Set(["none","hidden"]);function iN(t,e){return i=>eA(t,e,i)}function iE(t){return"number"==typeof t?iN:"string"==typeof t?tv(t)?ik:F.test(t)?iP:iV:Array.isArray(t)?iC:"object"==typeof t?F.test(t)?iP:iM:ik}function iC(t,e){let i=[...t],s=i.length,n=t.map((t,i)=>iE(t)(t,e[i]));return t=>{for(let e=0;e<s;e++)i[e]=n[e](t);return i}}function iM(t,e){let i={...t,...e},s={};for(let n in i)void 0!==t[n]&&void 0!==e[n]&&(s[n]=iE(t[n])(t[n],e[n]));return t=>{for(let e in s)i[e]=s[e](t);return i}}let iV=(t,e)=>{let i=H.createTransformer(e),s=W(t),n=W(e);if(!(s.indexes.var.length===n.indexes.var.length&&s.indexes.color.length===n.indexes.color.length&&s.indexes.number.length>=n.indexes.number.length))return tc(!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"),ik(t,e);if(iA.has(t)&&!n.values.length||iA.has(e)&&!s.values.length)return iA.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return iy(iC(function(t,e){let i=[],s={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let r=e.types[n],a=t.indexes[r][s[r]],o=t.values[a]??0;i[n]=o,s[r]++}return i}(s,n),n.values),i)};function iD(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?eA(t,e,i):iE(t)(t,e)}let iR=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>tI.update(e,t),stop:()=>tO(e),now:()=>tz.isProcessing?tz.timestamp:t5.now()}},iL=(t,e,i=10)=>{let s="",n=Math.max(Math.round(e/i),2);for(let e=0;e<n;e++)s+=Math.round(1e4*t(e/(n-1)))/1e4+", ";return`linear(${s.substring(0,s.length-2)})`};function iB(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 iF(t,e,i){var s,n;let r=Math.max(e-5,0);return s=i-t(r),(n=e-r)?1e3/n*s:0}let iI=.01,iO=2,iz=.005,iU=.5;function iW(t,e){return t*Math.sqrt(1-e*e)}let i$=["duration","bounce"],iY=["stiffness","damping","mass"];function iX(t,e){return e.some(e=>void 0!==t[e])}function iH(t=.3,e=.3){let i,s="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:n,restDelta:r}=s,a=s.keyframes[0],o=s.keyframes[s.keyframes.length-1],l={done:!1,value:a},{stiffness:d,damping:h,mass:c,duration:u,velocity:p,isResolvedFromDuration:m}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!iX(t,iY)&&iX(t,i$))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),s=i*i,n=2*x(.05,1,1-(t.bounce||0))*Math.sqrt(s);e={...e,mass:1,stiffness:s,damping:n}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:s=1}){let n,r;tc(t<=ix(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-e;a=x(.05,1,a),t=x(.01,10,t/1e3),a<1?(n=e=>{let s=e*a,n=s*t;return .001-(s-i)/iW(e,a)*Math.exp(-n)},r=e=>{let s=e*a*t,r=Math.pow(a,2)*Math.pow(e,2)*t,o=Math.exp(-s),l=iW(Math.pow(e,2),a);return(s*i+i-r)*o*(-n(e)+.001>0?-1:1)/l}):(n=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),r=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}(n,r,5/t);if(t=ix(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,v=h/(2*Math.sqrt(d*c)),g=o-a,y=Math.sqrt(d/c)/1e3,b=5>Math.abs(g);if(n||(n=b?iI:iO),r||(r=b?iz:iU),v<1){let t=iW(y,v);i=e=>o-Math.exp(-v*y*e)*((f+v*y*g)/t*Math.sin(t*e)+g*Math.cos(t*e))}else if(1===v)i=t=>o-Math.exp(-y*t)*(g+(f+y*g)*t);else{let t=y*Math.sqrt(v*v-1);i=e=>{let i=Math.exp(-v*y*e),s=Math.min(t*e,300);return o-i*((f+v*y*g)*Math.sinh(s)+t*g*Math.cosh(s))/t}}let w={calculatedDuration:m&&u||null,next:t=>{let e=i(t);if(m)l.done=t>=u;else{let s=0===t?f:0;v<1&&(s=0===t?ix(f):iF(i,t,e));let a=Math.abs(o-e)<=r;l.done=Math.abs(s)<=n&&a}return l.value=l.done?o:e,l},toString:()=>{let t=Math.min(iB(w),2e4),e=iL(e=>w.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return w}function iK({keyframes:t,velocity:e=0,power:i=.8,timeConstant:s=325,bounceDamping:n=10,bounceStiffness:r=500,modifyTarget:a,min:o,max:l,restDelta:d=.5,restSpeed:h}){let c,u,p=t[0],m={done:!1,value:p},f=i*e,v=p+f,x=void 0===a?v:a(v);x!==v&&(f=x-p);let g=t=>-f*Math.exp(-t/s),y=t=>x+g(t),b=t=>{let e=g(t),i=y(t);m.done=Math.abs(e)<=d,m.value=m.done?x:i},w=t=>{let e;if(e=m.value,void 0!==o&&e<o||void 0!==l&&e>l){var i;c=t,u=iH({keyframes:[m.value,(i=m.value,void 0===o?l:void 0===l||Math.abs(o-i)<Math.abs(l-i)?o:l)],velocity:iF(y,t,m.value),damping:n,stiffness:r,restDelta:d,restSpeed:h})}};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return(u||void 0!==c||(e=!0,b(t),w(t)),void 0!==c&&t>=c)?u.next(t-c):(e||b(t),m)}}}iH.applyToOptions=t=>{let e=function(t,e=100,i){let s=i({...t,keyframes:[0,e]}),n=Math.min(iB(s),2e4);return{type:"keyframes",ease:t=>s.next(n*t).value/e,duration:n/1e3}}(t,100,iH);return t.ease=e.ease,t.duration=ix(e.duration),t.type="keyframes",t};let iq=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function iG(t,e,i,s){return t===e&&i===s?tR:n=>0===n||1===n?n:iq(function(t,e,i,s,n){let r,a,o=0;do(r=iq(a=e+(i-e)/2,s,n)-t)>0?i=a:e=a;while(Math.abs(r)>1e-7&&++o<12)return a}(n,0,1,t,i),e,s)}let i_=iG(.42,0,1,1),iZ=iG(0,0,.58,1),iQ=iG(.42,0,.58,1),iJ=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,i0=t=>e=>1-t(1-e),i1=iG(.33,1.53,.69,.99),i2=i0(i1),i5=iJ(i2),i8=t=>(t*=2)<1?.5*i2(t):.5*(2-Math.pow(2,-10*(t-1))),i3=t=>1-Math.sin(Math.acos(t)),i6=i0(i3),i4=iJ(i3),i7=t=>Array.isArray(t)&&"number"==typeof t[0],i9={linear:tR,easeIn:i_,easeInOut:iQ,easeOut:iZ,circIn:i3,circInOut:i4,circOut:i6,backIn:i2,backInOut:i5,backOut:i1,anticipate:i8},st=t=>{if(i7(t)){tu(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,s,n]=t;return iG(e,i,s,n)}return"string"==typeof t?(tu(void 0!==i9[t],`Invalid easing type '${t}'`,"invalid-easing-type"),i9[t]):t},se=(t,e,i)=>{let s=e-t;return 0===s?1:(i-t)/s};function si({duration:t=300,keyframes:e,times:i,ease:s="easeInOut"}){var n;let r,a=Array.isArray(s)&&"number"!=typeof s[0]?s.map(st):st(s),o={done:!1,value:e[0]},l=function(t,e,{clamp:i=!0,ease:s,mixer:n}={}){let r=t.length;if(tu(r===e.length,"Both input and output ranges must be the same length","range-length"),1===r)return()=>e[0];if(2===r&&e[0]===e[1])return()=>e[1];let a=t[0]===t[1];t[0]>t[r-1]&&(t=[...t].reverse(),e=[...e].reverse());let o=function(t,e,i){let s=[],n=i||tL.mix||iD,r=t.length-1;for(let i=0;i<r;i++){let r=n(t[i],t[i+1]);e&&(r=iy(Array.isArray(e)?e[i]||tR:e,r)),s.push(r)}return s}(e,s,n),l=o.length,d=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 n=se(t[s],t[s+1],i);return o[s](n)};return i?e=>d(x(t[0],t[r-1],e)):d}((n=i&&i.length===e.length?i:(!function(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let n=se(0,e,s);t.push(eA(i,1,n))}}(r=[0],e.length-1),r),n.map(e=>e*t)),e,{ease:Array.isArray(a)?a:e.map(()=>a||iQ).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=l(e),o.done=e>=t,o)}}let ss=t=>null!==t;function sn(t,{repeat:e,repeatType:i="loop"},s,n=1){let r=t.filter(ss),a=n<0||e&&"loop"!==i&&e%2==1?0:r.length-1;return a&&void 0!==s?s:r[a]}let sr={decay:iK,inertia:iK,tween:si,keyframes:si,spring:iH};function sa(t){"string"==typeof t.type&&(t.type=sr[t.type])}class so{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 sl=t=>t/100;class sd extends so{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!==t5.now()&&this.tick(t5.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},ib.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;sa(t);let{type:e=si,repeat:i=0,repeatDelay:s=0,repeatType:n,velocity:r=0}=t,{keyframes:a}=t,o=e||si;o!==si&&"number"!=typeof a[0]&&(this.mixKeyframes=iy(sl,iD(a[0],a[1])),a=[0,100]);let l=o({...t,keyframes:a});"mirror"===n&&(this.mirroredGenerator=o({...t,keyframes:[...a].reverse(),velocity:-r})),null===l.calculatedDuration&&(l.calculatedDuration=iB(l));let{calculatedDuration:d}=l;this.calculatedDuration=d,this.resolvedDuration=d+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:n,mirroredGenerator:r,resolvedDuration:a,calculatedDuration:o}=this;if(null===this.startTime)return i.next(0);let{delay:l=0,keyframes:d,repeat:h,repeatType:c,repeatDelay:u,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 v=this.currentTime-l*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?v<0:v>s;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let y=this.currentTime,b=i;if(h){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,h+1))%2&&("reverse"===c?(i=1-i,u&&(i-=u/a)):"mirror"===c&&(b=r)),y=x(0,1,i)*a}let w=g?{done:!1,value:d[0]}:b.next(y);n&&(w.value=n(w.value));let{done:k}=w;g||null===o||(k=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);let j=null===this.holdTime&&("finished"===this.state||"running"===this.state&&k);return j&&p!==iK&&(w.value=sn(d,this.options,f,this.speed)),m&&m(w.value),j&&this.finish(),w}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=ix(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(t5.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:t=iR,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(t5.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,ib.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 sh(t){let e;return()=>(void 0===e&&(e=t()),e)}let sc=sh(()=>void 0!==window.ScrollTimeline),su={},sp=(i=sh(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0}),()=>su.linearEasing??i()),sm=([t,e,i,s])=>`cubic-bezier(${t}, ${e}, ${i}, ${s})`,sf={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:sm([0,.65,.55,1]),circOut:sm([.55,0,1,.45]),backIn:sm([.31,.01,.66,-.59]),backOut:sm([.33,1.53,.69,.99])};function sv(t){return"function"==typeof t&&"applyToOptions"in t}class sx extends so{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:i,keyframes:s,pseudoElement:n,allowFlatten:r=!1,finalKeyframe:a,onComplete:o}=t;this.isPseudoElement=!!n,this.allowFlatten=r,this.options=t,tu("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return sv(t)&&sp()?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:n=300,repeat:r=0,repeatType:a="loop",ease:o="easeOut",times:l}={},d){let h={[e]:i};l&&(h.offset=l);let c=function t(e,i){if(e)return"function"==typeof e?sp()?iL(e,i):"ease-out":i7(e)?sm(e):Array.isArray(e)?e.map(e=>t(e,i)||sf.easeOut):sf[e]}(o,n);Array.isArray(c)&&(h.easing=c);let u={delay:s,duration:n,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:r+1,direction:"reverse"===a?"alternate":"normal"};d&&(u.pseudoElement=d);let p=t.animate(h,u);return p}(e,i,s,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let t=sn(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.manualStartTime=null,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.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=ix(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 this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&sc())?(this.animation.timeline=t,tR):e(this)}}let sg={anticipate:i8,backInOut:i5,circInOut:i4};class sy extends sx{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in sg&&(t.ease=sg[t.ease])}(t),sa(t),super(t),void 0!==t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:s,element:n,...r}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let a=new sd({...r,autoplay:!1}),o=Math.max(10,t5.now()-this.startTime),l=x(0,10,o-10);e.setWithVelocity(a.sample(Math.max(0,o-l)).value,a.sample(o).value,l),a.stop()}}let sb=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(H.test(t)||"0"===t)&&!t.startsWith("url("));function sw(t){t.duration=0,t.type="keyframes"}let sk=new Set(["opacity","clipPath","filter","transform"]),sj=sh(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class sT extends so{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:s=0,repeatDelay:n=0,repeatType:r="loop",keyframes:a,name:o,motionValue:l,element:d,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=t5.now();const c={autoplay:t,delay:e,type:i,repeat:s,repeatDelay:n,repeatType:r,name:o,motionValue:l,element:d,...h},u=d?.KeyframeResolver||tq;this.keyframeResolver=new u(a,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),o,l,d),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,s){this.keyframeResolver=void 0;let{name:n,type:r,velocity:a,delay:o,isHandoff:l,onUpdate:d}=i;this.resolvedAt=t5.now(),!function(t,e,i,s){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let r=t[t.length-1],a=sb(n,e),o=sb(r,e);return tc(a===o,`You are trying to animate ${e} from "${n}" to "${r}". "${a?r:n}" 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,n,r,a)&&((tL.instantAnimations||!o)&&d?.(sn(t,i,e)),t[0]=t[t.length-1],sw(i),i.repeat=0);let h={startTime:s?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},c=!l&&function(t){let{motionValue:e,name:i,repeatDelay:s,repeatType:n,damping:r,type:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:o,transformTemplate:l}=e.owner.getProps();return sj()&&i&&sk.has(i)&&("transform"!==i||!l)&&!o&&!s&&"mirror"!==n&&0!==r&&"inertia"!==a}(h),u=h.motionValue?.owner?.current,p=c?new sy({...h,element:u}):new sd(h);p.finished.then(()=>{this.notifyFinished()}).catch(tR),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}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(),tX=!0,tK(),tH(),tX=!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={type:"spring",stiffness:500,damping:25,restSpeed:10},sP={type:"keyframes",duration:.8},sA={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},sN=t=>null!==t,sE=(t,e,i,s={},n,r)=>a=>{let o=ip(s,t)||{},l=o.delay||s.delay||0,{elapsed:d=0}=s;d-=ix(l);let h={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...o,delay:-d,onUpdate:t=>{e.set(t),o.onUpdate&&o.onUpdate(t)},onComplete:()=>{a(),o.onComplete&&o.onComplete()},name:t,motionValue:e,element:r?void 0:n};!function({when:t,delay:e,delayChildren:i,staggerChildren:s,staggerDirection:n,repeat:r,repeatType:a,repeatDelay:o,from:l,elapsed:d,...h}){return!!Object.keys(h).length}(o)&&Object.assign(h,((t,{keyframes:e})=>e.length>2?sP:v.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:sS:sA)(t,h)),h.duration&&(h.duration=ix(h.duration)),h.repeatDelay&&(h.repeatDelay=ix(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let c=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(sw(h),0===h.delay&&(c=!0)),(tL.instantAnimations||tL.skipAnimations)&&(c=!0,sw(h),h.delay=0),h.allowFlatten=!o.type&&!o.ease,c&&!r&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"},s){let n=t.filter(sN),r=e&&"loop"!==i&&e%2==1?0:n.length-1;return n[r]}(h.keyframes,o);if(void 0!==t)return void tI.update(()=>{h.onUpdate(t),h.onComplete()})}return o.isSync?new sd(h):new sT(h)};function sC(t,e,{delay:i=0,transitionOverride:s,type:n}={}){let{transition:r=t.getDefaultTransition(),transitionEnd:a,...o}=e,l=r?.reduceMotion;s&&(r=s);let d=[],h=n&&t.animationState&&t.animationState.getState()[n];for(let e in o){let s=t.getValue(e,t.latestValues[e]??null),n=o[e];if(void 0===n||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,...ip(r||{},e)},c=s.get();if(void 0!==c&&!s.isAnimating&&!Array.isArray(n)&&n===c&&!a.velocity)continue;let u=!1;if(window.MotionHandoffAnimation){let i=t.props[ia];if(i){let t=window.MotionHandoffAnimation(i,e,tI);null!==t&&(a.startTime=t,u=!0)}}iv(t,e);let p=l??t.shouldReduceMotion;s.start(sE(e,s,n,p&&ta.has(e)?{type:!1}:a,t,u));let m=s.animation;m&&d.push(m)}return a&&Promise.all(d).then(()=>{tI.update(()=>{a&&function(t,e){let{transitionEnd:i={},transition:s={},...n}=iu(t,e)||{};for(let e in n={...n,...i}){var r;let i=im(r=n[e])?r[r.length-1]||0:r;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,t3(i))}}(t,a)})}),d}function sM(t,e,i,s=0,n=1){let r=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),a=t.size,o=(a-1)*s;return"function"==typeof i?i(r,a):1===n?r*s:o-r*s}function sV(t,e,i={}){let s=iu(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:n=t.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(n=i.transitionOverride);let r=s?()=>Promise.all(sC(t,s,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(s=0)=>{let{delayChildren:r=0,staggerChildren:a,staggerDirection:o}=n;return function(t,e,i=0,s=0,n=0,r=1,a){let o=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),o.push(sV(l,e,{...a,delay:i+("function"==typeof s?0:s)+sM(t.variantChildren,l,s,n,r)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(o)}(t,e,s,r,a,o,i)}:()=>Promise.resolve(),{when:o}=n;if(!o)return Promise.all([r(),a(i.delay)]);{let[t,e]="beforeChildren"===o?[r,a]:[a,r];return t().then(()=>e())}}let sD=en.length;function sR(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 sL=[...es].reverse(),sB=es.length;function sF(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function sI(){return{animate:sF(!0),whileInView:sF(),whileHover:sF(),whileTap:sF(),whileDrag:sF(),whileFocus:sF(),exit:sF()}}let sO=0;function sz(t){return[t("x"),t("y")]}let sU=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function sW(t){return sU.has(t.tagName)||!0===t.isContentEditable}function s$(t,e,i,s={passive:!0}){return t.addEventListener(e,i,s),()=>t.removeEventListener(e,i)}let sY={x:!1,y:!1};function sX(t){return t.max-t.min}function sH(t,e,i,s=.5){t.origin=s,t.originPoint=eA(e.min,e.max,t.origin),t.scale=sX(i)/sX(e),t.translate=eA(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 sK(t,e,i,s){sH(t.x,e.x,i.x,s?s.originX:void 0),sH(t.y,e.y,i.y,s?s.originY:void 0)}function sq(t,e,i){t.min=i.min+e.min,t.max=t.min+sX(e)}function sG(t,e,i){t.min=e.min-i.min,t.max=t.min+sX(e)}function s_(t,e,i){sG(t.x,e.x,i.x),sG(t.y,e.y,i.y)}let sZ=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function sQ(t){return{point:{x:t.pageX,y:t.pageY}}}function sJ(t,e,i,s){return s$(t,e,t=>sZ(t)&&i(t,sQ(t)),s)}let s0=({current:t})=>t?t.ownerDocument.defaultView:null,s1=(t,e)=>Math.abs(t-e),s2=new Set(["auto","scroll"]);class s5{constructor(t,e,{transformPagePoint:i,contextWindow:s=window,dragSnapToOrigin:n=!1,distanceThreshold:r=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=s6(this.lastMoveEventInfo,this.history),s=null!==this.startEvent,n=(t=i.offset,e={x:0,y:0},Math.sqrt(s1(t.x,e.x)**2+s1(t.y,e.y)**2)>=this.distanceThreshold);if(!s&&!n)return;let{point:r}=i,{timestamp:a}=tz;this.history.push({...r,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=s8(e,this.transformPagePoint),tI.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:s,resumeAnimation:n}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=s6("pointercancel"===t.type?this.lastMoveEventInfo:s8(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,r),s&&s(t,r)},!sZ(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=r,this.contextWindow=s||window;const o=s8(sQ(t),this.transformPagePoint),{point:l}=o,{timestamp:d}=tz;this.history=[{...l,timestamp:d}];const{onSessionStart:h}=e;h&&h(t,s6(o,this.history)),this.removeListeners=iy(sJ(this.contextWindow,"pointermove",this.handlePointerMove),sJ(this.contextWindow,"pointerup",this.handlePointerUp),sJ(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(s2.has(t.overflowX)||s2.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,s=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},n={x:s.x-e.x,y:s.y-e.y};(0!==n.x||0!==n.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=n.x,this.lastMoveEventInfo.point.y+=n.y):this.history.length>0&&(this.history[0].x-=n.x,this.history[0].y-=n.y),this.scrollPositions.set(t,s),tI.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),tO(this.updatePoint)}}function s8(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,s4(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,n=s4(t);for(;i>=0&&(s=t[i],!(n.timestamp-s.timestamp>ix(.1)));)i--;if(!s)return{x:0,y:0};let r=(n.timestamp-s.timestamp)/1e3;if(0===r)return{x:0,y:0};let a={x:(n.x-s.x)/r,y:(n.y-s.y)/r};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(e,.1)}}function s4(t){return t[t.length-1]}function s7(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 s9(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 nt(t,e,i){return{min:ne(t,e),max:ne(t,i)}}function ne(t,e){return"number"==typeof t?t:t[e]||0}let ni=new WeakMap;class ns{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=tn(),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 n=t=>{e?(this.stopAnimation(),this.snapToCursor(sQ(t).point)):this.pauseAnimation()},r=(t,e)=>{this.stopAnimation();let{drag:i,dragPropagation:s,onDragStart:n}=this.getProps();if(i&&!s&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(sY[t])return null;else return sY[t]=!0,()=>{sY[t]=!1};return sY.x||sY.y?null:(sY.x=sY.y=!0,()=>{sY.x=sY.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),sz(t=>{let e=this.getAxisMotionValue(t).get()||0;if(M.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}),n&&tI.postRender(()=>n(t,e)),iv(this.visualElement,"transform");let{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:s,onDirectionLock:n,onDrag:r}=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&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),r&&r(t,e)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>sz(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play()),{dragSnapToOrigin:d}=this.getProps();this.panSession=new s5(t,{onSessionStart:n,onStart:r,onMove:a,onSessionEnd:o,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:i,contextWindow:s0(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,s=e||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!s||!i)return;let{velocity:r}=s;this.startAnimation(r);let{onDragEnd:a}=this.getProps();a&&tI.postRender(()=>a(i,s))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:s}=this.getProps();if(!i||!nn(t,s,this.currentDirection))return;let n=this.getAxisMotionValue(t),r=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(r=function(t,{min:e,max:i},s){return void 0!==e&&t<e?t=s?eA(e,t,s.min):Math.max(t,e):void 0!==i&&t>i&&(t=s?eA(i,t,s.max):Math.min(t,i)),t}(r,this.constraints[t],this.elastic[t])),n.set(r)}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&&il(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:s,right:n}){return{x:s7(t.x,i,n),y:s7(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:nt(t,"left","right"),y:nt(t,"top","bottom")}}(e),s!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&sz(t=>{var e,s;let n;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],s=this.constraints[t],n={},void 0!==s.min&&(n.min=s.min-e.min),void 0!==s.max&&(n.max=s.max-e.min),n))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!il(e))return!1;let s=e.current;tu(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:n}=this.visualElement;if(!n||!n.layout)return!1;let r=function(t,e,i){let s=eY(t,i),{scroll:n}=e;return n&&(eU(s.x,n.offset.x),eU(s.y,n.offset.y)),s}(s,n.root,this.visualElement.getTransformPagePoint()),a=(t=n.layout.layoutBox,{x:s9(t.x,r.x),y:s9(t.y,r.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=eD(t))}return a}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:s,dragTransition:n,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),o=this.constraints||{};return Promise.all(sz(a=>{if(!nn(a,e,this.currentDirection))return;let l=o&&o[a]||{};r&&(l={min:0,max:0});let d={type:"inertia",velocity:i?t[a]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(a,d)})).then(a)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return iv(this.visualElement,t),i.start(sE(t,i,0,e,this.visualElement,!1))}stopAnimation(){sz(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){sz(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){sz(e=>{let{drag:i}=this.getProps();if(!nn(e,i,this.currentDirection))return;let{projection:s}=this.visualElement,n=this.getAxisMotionValue(e);if(s&&s.layout){let{min:i,max:r}=s.layout.layoutBox[e],a=n.get()||0;n.set(t[e]-eA(i,r,.5)+a)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!il(e)||!i||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};sz(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,n;let r,a,o,l=e.get();s[t]=(i={min:l,max:l},n=this.constraints[t],r=.5,a=sX(i),(o=sX(n))>a?r=se(n.min,n.max-a,i.min):a>o&&(r=se(i.min,i.max-o,n.min)),x(0,1,r))}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),sz(e=>{if(!nn(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:r}=this.constraints[e];i.set(eA(n,r,s[e]))})}addListeners(){if(!this.visualElement.current)return;ni.set(this.visualElement,this);let t=this.visualElement.current,e=sJ(t,"pointerdown",e=>{let{drag:i,dragListener:s=!0}=this.getProps(),n=e.target,r=n!==t&&sW(n);i&&s&&!r&&this.start(e)}),i=()=>{let{dragConstraints:t}=this.getProps();il(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,n=s.addEventListener("measure",i);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),tI.read(i);let r=s$(window,"resize",()=>this.scalePositionWithinConstraints()),a=s.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(sz(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(),e(),n(),a&&a()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:n=!1,dragElastic:r=.35,dragMomentum:a=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:s,dragConstraints:n,dragElastic:r,dragMomentum:a}}}function nn(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}let nr=t=>(e,i)=>{t&&tI.postRender(()=>t(e,i))},na={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var no=a;let nl=!1;class nd extends no.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:n}=t;n&&(e.group&&e.group.add(n),i&&i.register&&s&&i.register(n),nl&&n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),na.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:s,isPresent:n}=this.props,{projection:r}=i;return r&&(r.isPresent=n,t.layoutDependency!==e&&r.setOptions({...r.options,layoutDependency:e}),nl=!0,s||t.layoutDependency!==e||void 0===e||t.isPresent!==n?r.willUpdate():this.safeToRemove(),t.isPresent!==n&&(n?r.promote():r.relegate()||tI.postRender(()=>{let t=r.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),t1.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:s}=t;nl=!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 nh(t){let[e,i]=function(t=!0){let e=(0,a.useContext)(e6);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:s,register:n}=e,r=(0,a.useId)();(0,a.useEffect)(()=>{if(t)return n(r)},[t]);let o=(0,a.useCallback)(()=>t&&s&&s(r),[r,s,t]);return!i&&s?[!1,o]:[!0]}(),s=(0,no.useContext)(eq);return(0,r.jsx)(nd,{...t,layoutGroup:s,switchLayoutGroup:(0,no.useContext)(io),isPresent:e,safeToRemove:i})}function nc(t){return"object"==typeof t&&null!==t}function nu(t){return nc(t)&&"ownerSVGElement"in t}let np=["TopLeft","TopRight","BottomLeft","BottomRight"],nm=np.length,nf=t=>"string"==typeof t?parseFloat(t):t,nv=t=>"number"==typeof t||V.test(t);function nx(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let ng=nb(0,.5,i6),ny=nb(.5,.95,tR);function nb(t,e,i){return s=>s<t?0:s>e?1:i(se(t,e,s))}function nw(t,e){t.min=e.min,t.max=e.max}function nk(t,e){nw(t.x,e.x),nw(t.y,e.y)}function nj(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function nT(t,e,i,s,n){return t-=e,t=s+1/i*(t-s),void 0!==n&&(t=s+1/n*(t-s)),t}function nS(t,e,[i,s,n],r,a){!function(t,e=0,i=1,s=.5,n,r=t,a=t){if(M.test(e)&&(e=parseFloat(e),e=eA(a.min,a.max,e/100)-a.min),"number"!=typeof e)return;let o=eA(r.min,r.max,s);t===r&&(o-=e),t.min=nT(t.min,e,i,o,n),t.max=nT(t.max,e,i,o,n)}(t,e[i],e[s],e[n],e.scale,r,a)}let nP=["x","scaleX","originX"],nA=["y","scaleY","originY"];function nN(t,e,i,s){nS(t.x,e,nP,i?i.x:void 0,s?s.x:void 0),nS(t.y,e,nA,i?i.y:void 0,s?s.y:void 0)}function nE(t){return 0===t.translate&&1===t.scale}function nC(t){return nE(t.x)&&nE(t.y)}function nM(t,e){return t.min===e.min&&t.max===e.max}function nV(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function nD(t,e){return nV(t.x,e.x)&&nV(t.y,e.y)}function nR(t){return sX(t.x)/sX(t.y)}function nL(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class nB{constructor(){this.members=[]}add(t){tQ(this.members,t),t.scheduleRender()}remove(t){if(tJ(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();let s=i.options.layoutDependency,n=t.options.layoutDependency;(void 0===s||void 0===n||s!==n)&&(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:r}=t.options;!1===r&&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 nF=(t,e)=>t.depth-e.depth;class nI{constructor(){this.children=[],this.isDirty=!1}add(t){tQ(this.children,t),this.isDirty=!0}remove(t){tJ(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(nF),this.isDirty=!1,this.children.forEach(t)}}let nO=["","X","Y","Z"],nz=0;function nU(t,e,i,s){let{latestValues:n}=e;n[t]&&(i[t]=n[t],e.setStaticValue(t,0),s&&(s[t]=0))}function nW({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:s,resetTransform:n}){return class{constructor(t={},i=e?.()){this.id=nz++,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.layoutVersion=0,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(nX),this.nodes.forEach(nQ),this.nodes.forEach(nJ),this.nodes.forEach(nH)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=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 nI)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new t0),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=nu(e)&&!(nu(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:s,visualElement:n}=this.options;if(n&&!n.current&&n.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,n=()=>this.root.updateBlockedByResize=!1;tI.read(()=>{s=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==s){let e,r;s=t,this.root.updateBlockedByResize=!0,i&&i(),e=t5.now(),r=({timestamp:t})=>{let i=t-e;i>=250&&(tO(r),n(i-250))},tI.setup(r,!0),i=()=>tO(r),na.hasAnimatedSinceResize&&(na.hasAnimatedSinceResize=!1,this.nodes.forEach(nZ))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&n&&(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 r=this.options.transition||n.getDefaultTransition()||n3,{onLayoutAnimationStart:a,onLayoutAnimationComplete:o}=n.getProps(),l=!this.targetLayout||!nD(this.targetLayout,s),d=!e&&i;if(this.options.layoutRoot||this.resumeFrom||d||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...ip(r,"layout"),onPlay:a,onComplete:o};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,d)}else e||nZ(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(),tO(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(n0),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[ia];if(window.MotionHasOptimisedAnimation(s,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(s,"transform",tI,!(t||i))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&t(n)}(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(nq);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(nG);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(n_),this.nodes.forEach(n$),this.nodes.forEach(nY)):this.nodes.forEach(nG),this.clearAllSnapshots();let t=t5.now();tz.delta=x(0,1e3/60,t-tz.timestamp),tz.timestamp=t,tz.isProcessing=!0,tU.update.process(tz),tU.preRender.process(tz),tU.render.process(tz),tz.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,t1.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(nK),this.sharedNodes.forEach(n1)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tI.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tI.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.layoutVersion++,this.layoutCorrected=tn(),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(!n)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!nC(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,r=s!==this.prevTransformTemplateValue;t&&this.instance&&(e||eB(this.latestValues)||r)&&(n(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)),n7((e=s).x),n7(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:s,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return tn();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(rt))){let{scroll:t}=this.root;t&&(eU(e.x,t.offset.x),eU(e.y,t.offset.y))}return e}removeElementScroll(t){let e=tn();if(nk(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let s=this.path[i],{scroll:n,options:r}=s;s!==this.root&&n&&r.layoutScroll&&(n.wasRoot&&nk(e,t),eU(e.x,n.offset.x),eU(e.y,n.offset.y))}return e}applyTransform(t,e=!1){let i=tn();nk(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&&e$(i,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),eB(s.latestValues)&&e$(i,s.latestValues)}return eB(this.latestValues)&&e$(i,this.latestValues),i}removeTransform(t){let e=tn();nk(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!eB(i.latestValues))continue;eL(i.latestValues)&&i.updateSnapshot();let s=tn();nk(s,i.measurePageBox()),nN(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,s)}return eB(this.latestValues)&&nN(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!==tz.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:n}=this.options;if(!this.layout||!(s||n))return;this.resolvedRelativeTargetAt=tz.timestamp;let r=this.getClosestProjectingParent();if(r&&this.linkedParentVersion!==r.layoutVersion&&!r.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(r&&r.layout?this.createRelativeTarget(r,this.layout.layoutBox,r.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=tn(),this.targetWithTransforms=tn()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var a,o,l;this.forceRelativeParentToResolveTarget(),a=this.target,o=this.relativeTarget,l=this.relativeParent.target,sq(a.x,o.x,l.x),sq(a.y,o.y,l.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):nk(this.target,this.layout.layoutBox),ez(this.target,this.targetDelta)):nk(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,r&&!!r.resumingFrom==!!this.resumingFrom&&!r.options.layoutScroll&&r.target&&1!==this.animationProgress?this.createRelativeTarget(r,this.target,r.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||eL(this.parent.latestValues)||eF(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)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=tn(),this.relativeTargetOrigin=tn(),s_(this.relativeTargetOrigin,e,i),nk(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}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===tz.timestamp&&(i=!1),i)return;let{layout:s,layoutId:n}=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||n))return;nk(this.layoutCorrected,this.layout.layoutBox);let r=this.treeScale.x,a=this.treeScale.y;!function(t,e,i,s=!1){let n,r,a=i.length;if(a){e.x=e.y=1;for(let o=0;o<a;o++){r=(n=i[o]).projectionDelta;let{visualElement:a}=n.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(s&&n.options.layoutScroll&&n.scroll&&n!==n.root&&e$(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),r&&(e.x*=r.x.scale,e.y*=r.y.scale,ez(t,r)),s&&eB(n.latestValues)&&e$(t,n.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=tn());let{target:o}=t;if(!o){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(nj(this.prevProjectionDelta.x,this.projectionDelta.x),nj(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),sK(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.treeScale.x===r&&this.treeScale.y===a&&nL(this.projectionDelta.x,this.prevProjectionDelta.x)&&nL(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=ti(),this.projectionDelta=ti(),this.projectionDeltaWithTransform=ti()}setAnimationOrigin(t,e=!1){let i,s=this.snapshot,n=s?s.latestValues:{},r={...this.latestValues},a=ti();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let o=tn(),l=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),d=this.getStack(),h=!d||d.members.length<=1,c=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(n8));this.animationProgress=0,this.mixTargetDelta=e=>{let s=e/1e3;if(n2(a.x,t.x,s),n2(a.y,t.y,s),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var d,u,p,m,f,v;s_(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=o,v=s,n5(p.x,m.x,f.x,v),n5(p.y,m.y,f.y,v),i&&(d=this.relativeTarget,u=i,nM(d.x,u.x)&&nM(d.y,u.y))&&(this.isProjectionDirty=!1),i||(i=tn()),nk(i,this.relativeTarget)}l&&(this.animationValues=r,function(t,e,i,s,n,r){n?(t.opacity=eA(0,i.opacity??1,ng(s)),t.opacityExit=eA(e.opacity??1,0,ny(s))):r&&(t.opacity=eA(e.opacity??1,i.opacity??1,s));for(let n=0;n<nm;n++){let r=`border${np[n]}Radius`,a=nx(e,r),o=nx(i,r);(void 0!==a||void 0!==o)&&(a||(a=0),o||(o=0),0===a||0===o||nv(a)===nv(o)?(t[r]=Math.max(eA(nf(a),nf(o),s),0),(M.test(o)||M.test(a))&&(t[r]+="%")):t[r]=o)}(e.rotate||i.rotate)&&(t.rotate=eA(e.rotate||0,i.rotate||0,s))}(r,n,this.latestValues,s,c,h)),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&&(tO(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tI.update(()=>{var e,i,s;let n;na.hasAnimatedSinceResize=!0,ib.layout++,this.motionValue||(this.motionValue=t3(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:()=>{ib.layout--},onComplete:()=>{ib.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}},(n=tr(e)?e:t3(e)).start(sE("",n,i,s)),n.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:n}=t;if(e&&i&&s){if(this!==t&&this.layout&&s&&n9(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||tn();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}nk(e,i),e$(e,n),sK(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new nB),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;return 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&&nU("z",t,s,this.animationValues);for(let e=0;e<nO.length;e++)nU(`rotate${nO[e]}`,t,s,this.animationValues),nU(`skew${nO[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=e3(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=e3(e?.pointerEvents)||""),this.hasProjected&&!eB(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let n=s.animationValues||s.latestValues;this.applyTransformsToTarget();let r=function(t,e,i){let s="",n=t.x.translate/e.x,r=t.y.translate/e.y,a=i?.z||0;if((n||r||a)&&(s=`translate3d(${n}px, ${r}px, ${a}px) `),(1!==e.x||1!==e.y)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:n,rotateY:r,skewX:a,skewY:o}=i;t&&(s=`perspective(${t}px) ${s}`),e&&(s+=`rotate(${e}deg) `),n&&(s+=`rotateX(${n}deg) `),r&&(s+=`rotateY(${r}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,n);i&&(r=i(n,r)),t.transform=r;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?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:t.opacity=s===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,eN){if(void 0===n[e])continue;let{correct:i,applyTo:a,isCSSVariable:o}=eN[e],l="none"===r?n[e]:i(n[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?e3(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(nq),this.root.sharedNodes.clear()}}}function n$(t){t.updateLayout()}function nY(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:n}=t.options,r=e.source!==t.layout.source;"size"===n?sz(t=>{let s=r?e.measuredBox[t]:e.layoutBox[t],n=sX(s);s.min=i[t].min,s.max=s.min+n}):n9(n,e.layoutBox,i)&&sz(s=>{let n=r?e.measuredBox[s]:e.layoutBox[s],a=sX(i[s]);n.max=n.min+a,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+a)});let a=ti();sK(a,i,e.layoutBox);let o=ti();r?sK(o,t.applyTransform(s,!0),e.measuredBox):sK(o,i,e.layoutBox);let l=!nC(a),d=!1;if(!t.resumeFrom){let s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:n,layout:r}=s;if(n&&r){let a=tn();s_(a,e.layoutBox,n.layoutBox);let o=tn();s_(o,i,r.layoutBox),nD(a,o)||(d=!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:d})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function nX(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function nH(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function nK(t){t.clearSnapshot()}function nq(t){t.clearMeasurements()}function nG(t){t.isLayoutDirty=!1}function n_(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function nZ(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function nQ(t){t.resolveTargetDelta()}function nJ(t){t.calcProjection()}function n0(t){t.resetSkewAndRotation()}function n1(t){t.removeLeadSnapshot()}function n2(t,e,i){t.translate=eA(e.translate,0,i),t.scale=eA(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function n5(t,e,i,s){t.min=eA(e.min,i.min,s),t.max=eA(e.max,i.max,s)}function n8(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let n3={duration:.45,ease:[.4,0,.1,1]},n6=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),n4=n6("applewebkit/")&&!n6("chrome/")?Math.round:tR;function n7(t){t.min=n4(t.min),t.max=n4(t.max)}function n9(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(nR(e)-nR(i)))}function rt(t){return t!==t.root&&t.scroll?.wasRoot}let re=nW({attachResizeListener:(t,e)=>s$(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),ri={current:void 0},rs=nW({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ri.current){let t=new re({});t.mount(window),t.setOptions({layoutScroll:!0}),ri.current=t}return ri.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function rn(t,e){let i=function(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let e=document,i=(void 0)??e.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t).filter(t=>null!=t)}(t),s=new AbortController;return[i,{passive:!0,...e,signal:s.signal},()=>s.abort()]}function rr(t){return!("touch"===t.pointerType||sY.x||sY.y)}function ra(t,e,i){let{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover","Start"===i);let n=s["onHover"+i];n&&tI.postRender(()=>n(e,sQ(e)))}let ro=(t,e)=>!!e&&(t===e||ro(t,e.parentElement)),rl=new WeakSet;function rd(t){return e=>{"Enter"===e.key&&t(e)}}function rh(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function rc(t){return sZ(t)&&!(sY.x||sY.y)}function ru(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 n=s["onTap"+("End"===i?"":i)];n&&tI.postRender(()=>n(e,sQ(e)))}let rp=new WeakMap,rm=new WeakMap,rf=t=>{let e=rp.get(t.target);e&&e(t)},rv=t=>{t.forEach(rf)},rx={some:0,all:1},rg=function(t,e){if("undefined"==typeof Proxy)return ih;let i=new Map,s=(i,s)=>ih(i,s,t,e);return new Proxy((t,e)=>s(t,e),{get:(n,r)=>"create"===r?s:(i.has(r)||i.set(r,ih(r,void 0,t,e)),i.get(r))})}({animation:{Feature:class extends ic{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=>sV(t,e,i)));else if("string"==typeof e)s=sV(t,e,i);else{let n="function"==typeof e?iu(t,e,i.custom):e;s=Promise.all(sC(t,n,i))}return s.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=sI(),s=!0,n=e=>(i,s)=>{let n=iu(t,s,"exit"===e?t.presenceContext?.custom:void 0);if(n){let{transition:t,transitionEnd:e,...s}=n;i={...i,...s,...e}}return i};function r(r){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<sD;t++){let s=en[t],n=e.props[s];(ei(n)||!1===n)&&(i[s]=n)}return i}(t.parent)||{},l=[],d=new Set,h={},c=1/0;for(let e=0;e<sB;e++){var u,p;let m=sL[e],f=i[m],v=void 0!==a[m]?a[m]:o[m],x=ei(v),g=m===r?f.isActive:null;!1===g&&(c=e);let y=v===o[m]&&v!==a[m]&&x;if(y&&s&&t.manuallyAnimateOnMount&&(y=!1),f.protectedKeys={...h},!f.isActive&&null===g||!v&&!f.prevProp||ee(v)||"boolean"==typeof v)continue;let b=(u=f.prevProp,"string"==typeof(p=v)?p!==u:!!Array.isArray(p)&&!sR(p,u)),w=b||m===r&&f.isActive&&!y&&x||e>c&&x,k=!1,j=Array.isArray(v)?v:[v],T=j.reduce(n(m),{});!1===g&&(T={});let{prevResolvedValues:S={}}=f,P={...S,...T},A=e=>{w=!0,d.has(e)&&(k=!0,d.delete(e)),f.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in P){let e=T[t],i=S[t];if(!h.hasOwnProperty(t))(im(e)&&im(i)?sR(e,i):e===i)?void 0!==e&&d.has(t)?A(t):f.protectedKeys[t]=!0:null!=e?A(t):d.add(t)}f.prevProp=v,f.prevResolvedValues=T,f.isActive&&(h={...h,...T}),s&&t.blockInitialAnimation&&(w=!1);let N=y&&b,E=!N||k;w&&E&&l.push(...j.map(e=>{let i={type:m};if("string"==typeof e&&s&&!N&&t.manuallyAnimateOnMount&&t.parent){let{parent:s}=t,n=iu(s,e);if(s.enteringChildren&&n){let{delayChildren:e}=n.transition||{};i.delay=sM(s.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(d.size){let e={};if("boolean"!=typeof a.initial){let i=iu(t,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(e.transition=i.transition)}d.forEach(i=>{let s=t.getBaseTarget(i),n=t.getValue(i);n&&(n.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:r,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 n=r(e);for(let t in i)i[t].protectedKeys={};return n},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=sI()}}}(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 ic{constructor(){super(...arguments),this.id=sO++}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||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends ic{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:n,amount:r="some",once:a}=i,o={root:s?s.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:rx[r]},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(),n=e?i:s;n&&n(t)};return t=this.node.current,e=function({root:t,...e}){let i=t||document;rm.has(i)||rm.set(i,{});let s=rm.get(i),n=JSON.stringify(e);return s[n]||(s[n]=new IntersectionObserver(rv,{root:t,...e})),s[n]}(o),rp.set(t,l),e.observe(t),()=>{rp.delete(t),e.unobserve(t)}}mount(){this.startObserver()}update(){if("undefined"==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 ic{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[s,n,r]=rn(t,i),a=t=>{let s=t.currentTarget;if(!rc(t))return;rl.add(s);let r=e(s,t),a=(t,e)=>{window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",l),rl.has(s)&&rl.delete(s),rc(t)&&"function"==typeof r&&r(t,{success:e})},o=t=>{a(t,s===window||s===document||i.useGlobalTarget||ro(s,t.target))},l=t=>{a(t,!1)};window.addEventListener("pointerup",o,n),window.addEventListener("pointercancel",l,n)};return s.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",a,n),nc(t)&&"offsetHeight"in t&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let s=rd(()=>{if(rl.has(i))return;rh(i,"down");let t=rd(()=>{rh(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>rh(i,"cancel"),e)});i.addEventListener("keydown",s,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),e)})(t,n)),sW(t)||t.hasAttribute("tabindex")||(t.tabIndex=0))}),r}(t,(t,e)=>(ru(this.node,e,"Start"),(t,{success:e})=>ru(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends ic{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=iy(s$(this.node.current,"focus",()=>this.onFocus()),s$(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends ic{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[s,n,r]=rn(t,i),a=t=>{if(!rr(t))return;let{target:i}=t,s=e(i,t);if("function"!=typeof s||!i)return;let r=t=>{rr(t)&&(s(t),i.removeEventListener("pointerleave",r))};i.addEventListener("pointerleave",r,n)};return s.forEach(t=>{t.addEventListener("pointerenter",a,n)}),r}(t,(t,e)=>(ra(this.node,e,"Start"),t=>ra(this.node,t,"End"))))}unmount(){}}},pan:{Feature:class extends ic{constructor(){super(...arguments),this.removePointerDownListener=tR}onPointerDown(t){this.session=new s5(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:s0(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:nr(t),onStart:nr(e),onMove:i,onEnd:(t,e)=>{delete this.session,s&&tI.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=sJ(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 ic{constructor(t){super(t),this.removeGroupControls=tR,this.removeListeners=tR,this.controls=new ns(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tR}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:rs,MeasureLayout:nh},layout:{ProjectionNode:rs,MeasureLayout:nh}},(t,e)=>e.isSVG??eK(t)?new eV(e):new eX(e,{allowProjection:t!==a.Fragment}));var ry=t.i(252512);let rb=(0,h.default)("apple",[["path",{d:"M12 6.528V3a1 1 0 0 1 1-1h0",key:"11qiee"}],["path",{d:"M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21",key:"110c12"}]]);var rw=t.i(801836),rk=t.i(671798),rj=t.i(710307),rT=t.i(454267),rS=t.i(166520);let rP=(0,h.default)("corner-down-right",[["path",{d:"m15 10 5 5-5 5",key:"qqa56n"}],["path",{d:"M4 4v7a4 4 0 0 0 4 4h12",key:"z08zvw"}]]),rA=[{id:"macos",label:"macOS",icon:rb,steps:[{text:"Download the package from the latest release"},{text:"Install globally",command:"npm install -g ./vibedeckx-0.1.6-darwin-arm64.tar.gz"},{text:"Launch the orchestrator",command:"vibedeckx"}]},{id:"linux",label:"Linux",icon:rk.Terminal,steps:[{text:"Download the package from the latest release"},{text:"Run directly with npx",command:"npx -y ./vibedeckx-0.1.6-linux-x64.tar.gz"}]},{id:"windows",label:"Windows",icon:rw.Monitor,steps:[{text:"Download the package from the latest release"},{text:"Run directly with npx",command:"npx -y ./vibedeckx-0.1.6-win-x64.tar.gz"}]}],rN=[{n:"01",title:"Code without testing is a guess.",body:"A coding agent edits files. It doesn't run your dev server, doesn't smoke-test the migration, doesn't verify the build. You're stuck switching terminals, breaking the loop."},{n:"02",title:"One conversation is a bottleneck.",body:"Real work is parallel — auth here, billing there, a hot bugfix on a third branch. A single chat thread is a queue. Three branches need three sessions, isolated and observable."},{n:"03",title:"One vendor is a leash.",body:"Claude Code today, Codex tomorrow, something better next quarter. Your workflow shouldn't have to be rebuilt every time the agent layer shifts."}],rE=[{coord:"[01.A]",title:"Agent Orchestration",body:"Spawn, monitor, pause and resume coding-agent sessions. Plan/edit modes switch in place; history survives restarts."},{coord:"[01.B]",title:"Executors — your testing surface",body:"Named, reusable units of work: shell commands (PTY-backed for dev servers and TUIs) or AI-driven prompts. The agent calls them, you queue them, output streams back."},{coord:"[02.A]",title:"Branch-Scoped Workspaces",body:"Every project × branch carries its own session, rules, tasks, executors and worktree. Run multiple agents at once without state collisions."},{coord:"[02.B]",title:"Provider-Agnostic Layer",body:"Claude Code today. Codex via the AgentProvider interface, next. One UI, one protocol, no rewrite when the agent layer changes."},{coord:"[03.A]",title:"Distributed Execution",body:"Drive agents and executors on a remote box from your laptop UI via transparent WebSocket proxying. Reverse-tunnel mode reaches NAT'd hosts."},{coord:"[03.B]",title:"Tasks & Rules",body:"Per-project task lists with AI-suggested titles. Branch-scoped rules feed the agent's context — structure beside the chat, not buried inside it."},{coord:"[03.C]",title:"Worktrees, first-class",body:"Create / list / delete from the UI. Agent paths resolve against the worktree, so parallel branches stay genuinely parallel — not a shell trick."}],rC=[{coord:"[01.A]",branch:"feature/auth-rebuild",agent:"claude-code",status:"RUNNING",statusTone:"live",detail:"edit · components/auth/landing-page.tsx"},{coord:"[01.B]",branch:"fix/migration-rollback",agent:"codex",status:"PLANNING",statusTone:"warn",detail:"exec · pnpm test --filter storage"},{coord:"[01.C]",branch:"refactor/pricing-engine",agent:"claude-code",status:"IDLE",statusTone:"idle",detail:"awaiting executor · build:ui"}];function rM({command:t}){let[e,i]=(0,a.useState)(!1);return(0,r.jsxs)("div",{className:"vdx-code-block",children:[(0,r.jsx)("span",{className:"vdx-code-prompt",children:"$"}),(0,r.jsx)("code",{className:"vdx-code-text",children:t}),(0,r.jsx)("button",{onClick:()=>{navigator.clipboard.writeText(t),i(!0),setTimeout(()=>i(!1),1800)},className:"vdx-code-copy","aria-label":"Copy command",children:e?(0,r.jsx)(rT.Check,{className:"h-3.5 w-3.5"}):(0,r.jsx)(rj.Copy,{className:"h-3.5 w-3.5"})})]})}function rV({tone:t}){return(0,r.jsx)("span",{className:`vdx-status-dot vdx-status-dot--${t}`,"aria-hidden":!0})}function rD({onSignIn:t}){let e,i,s,[n,o]=(0,a.useState)("macos"),l=rA.find(t=>t.id===n);return(0,r.jsxs)("div",{className:"vdx-landing",children:[(0,r.jsx)("style",{children:rI}),(0,r.jsx)("div",{className:"vdx-grain","aria-hidden":!0}),(0,r.jsx)("div",{className:"vdx-rule-grid","aria-hidden":!0}),(0,r.jsx)("div",{className:"vdx-vignette","aria-hidden":!0}),(0,r.jsx)("header",{className:"vdx-nav",children:(0,r.jsxs)("div",{className:"vdx-nav-inner",children:[(0,r.jsxs)("div",{className:"vdx-brand",children:[(0,r.jsx)("div",{className:"vdx-brand-mark",children:(0,r.jsx)("span",{children:"VDX"})}),(0,r.jsxs)("div",{className:"vdx-brand-name",children:[(0,r.jsx)("span",{className:"vdx-brand-word",children:"Vibedeckx"}),(0,r.jsx)("span",{className:"vdx-brand-coord",children:"// CTRL.PLANE"})]})]}),(0,r.jsxs)("div",{className:"vdx-nav-meta",children:[(0,r.jsx)("span",{className:"vdx-nav-meta-line",children:"v0.1.6 · OPS-04"}),(0,r.jsx)("a",{href:"https://github.com/vibedeckx-dev/vibedeckx",target:"_blank",rel:"noopener noreferrer",className:"vdx-nav-link",children:"source"}),(0,r.jsxs)("button",{onClick:t,className:"vdx-nav-cta",children:["Enter cockpit",(0,r.jsx)(ry.ArrowRight,{className:"h-3.5 w-3.5"})]})]})]})}),(0,r.jsxs)("section",{className:"vdx-hero",children:[(0,r.jsxs)("div",{className:"vdx-hero-inner",children:[(0,r.jsxs)(rg.div,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.6,ease:[.2,.7,.2,1]},className:"vdx-eyebrow",children:[(0,r.jsx)("span",{className:"vdx-eyebrow-tick",children:"/ /"}),"CONTROL PLANE FOR CODING AGENTS"]}),(0,r.jsx)(rg.h1,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.7,delay:.08,ease:[.2,.7,.2,1]},className:"vdx-hero-title",children:"A coding agent, alone, is not enough."}),(0,r.jsx)(rg.p,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.6,delay:.18},className:"vdx-hero-sub",children:"Vibedeckx is the outer orchestrator that runs them — schedules many in parallel, wraps them in a real testing surface, and lets you swap Claude Code, Codex and what comes next without rebuilding your workflow."}),(0,r.jsxs)(rg.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.5,delay:.28},className:"vdx-hero-actions",children:[(0,r.jsxs)("button",{onClick:t,className:"vdx-btn-primary",children:["Enter the cockpit",(0,r.jsx)(ry.ArrowRight,{className:"h-4 w-4"})]}),(0,r.jsxs)("a",{href:"#capabilities",className:"vdx-btn-ghost",children:["See the system",(0,r.jsx)(rP,{className:"h-4 w-4"})]})]}),(0,r.jsxs)(rg.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.8,delay:.5},className:"vdx-hero-meta",children:[(0,r.jsx)("span",{children:"self-hosted"}),(0,r.jsx)("span",{className:"vdx-dot"}),(0,r.jsx)("span",{children:"local-first"}),(0,r.jsx)("span",{className:"vdx-dot"}),(0,r.jsx)("span",{children:"provider-agnostic"}),(0,r.jsx)("span",{className:"vdx-dot"}),(0,r.jsx)("span",{children:"parallel by default"})]})]}),(0,r.jsxs)(rg.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.7,delay:.35,ease:[.2,.7,.2,1]},className:"vdx-rack",children:[(0,r.jsxs)("div",{className:"vdx-rack-header",children:[(0,r.jsx)("span",{className:"vdx-rack-title",children:"FLEET / live agent rack"}),(0,r.jsxs)("span",{className:"vdx-rack-coord",children:["3 sessions · 1 worktree set · ts ",(i=String((e=new Date).getHours()).padStart(2,"0"),s=String(e.getMinutes()).padStart(2,"0"),`${i}:${s}`)]})]}),(0,r.jsxs)("div",{className:"vdx-rack-body",children:[rC.map((t,e)=>(0,r.jsxs)(rg.div,{initial:{opacity:0,x:-12},animate:{opacity:1,x:0},transition:{duration:.5,delay:.5+.08*e},className:"vdx-lane",children:[(0,r.jsx)("span",{className:"vdx-lane-coord",children:t.coord}),(0,r.jsx)("span",{className:"vdx-lane-branch",children:t.branch}),(0,r.jsx)("span",{className:"vdx-lane-agent",children:t.agent}),(0,r.jsxs)("span",{className:`vdx-lane-status vdx-lane-status--${t.statusTone}`,children:[(0,r.jsx)(rV,{tone:t.statusTone}),t.status]}),(0,r.jsx)("span",{className:"vdx-lane-detail",children:t.detail})]},t.coord)),(0,r.jsx)("div",{className:"vdx-rack-scanline","aria-hidden":!0})]})]})]}),(0,r.jsxs)("section",{className:"vdx-manifesto",children:[(0,r.jsxs)("div",{className:"vdx-section-head",children:[(0,r.jsx)("span",{className:"vdx-section-tick",children:"— 01"}),(0,r.jsxs)("h2",{className:"vdx-section-title",children:["Why an agent ",(0,r.jsx)("span",{className:"vdx-display vdx-italic",children:"on its own"})," ships less than you think."]})]}),(0,r.jsx)("div",{className:"vdx-pains",children:rN.map(t=>(0,r.jsxs)("article",{className:"vdx-pain",children:[(0,r.jsx)("span",{className:"vdx-pain-num vdx-display",children:t.n}),(0,r.jsx)("h3",{className:"vdx-pain-title",children:t.title}),(0,r.jsx)("p",{className:"vdx-pain-body",children:t.body})]},t.n))})]}),(0,r.jsxs)("section",{id:"capabilities",className:"vdx-capabilities",children:[(0,r.jsxs)("div",{className:"vdx-section-head",children:[(0,r.jsx)("span",{className:"vdx-section-tick",children:"— 02"}),(0,r.jsxs)("h2",{className:"vdx-section-title",children:["What the orchestrator gives you that ",(0,r.jsx)("span",{className:"vdx-display vdx-italic",children:"a chat window"})," can’t."]})]}),(0,r.jsx)("div",{className:"vdx-cap-grid",children:rE.map((t,e)=>(0,r.jsxs)("article",{className:`vdx-cap vdx-cap--${e%3+1}`,children:[(0,r.jsx)("span",{className:"vdx-cap-coord",children:t.coord}),(0,r.jsx)("h3",{className:"vdx-cap-title",children:t.title}),(0,r.jsx)("p",{className:"vdx-cap-body",children:t.body})]},t.coord))})]}),(0,r.jsxs)("section",{className:"vdx-diff",children:[(0,r.jsxs)("div",{className:"vdx-section-head",children:[(0,r.jsx)("span",{className:"vdx-section-tick",children:"— 03"}),(0,r.jsxs)("h2",{className:"vdx-section-title",children:["What makes this ",(0,r.jsx)("span",{className:"vdx-display vdx-italic",children:"unlike"})," Cursor, Aider and Claude Code itself."]})]}),(0,r.jsxs)("article",{className:"vdx-diff-row vdx-diff-row--A",children:[(0,r.jsxs)("div",{className:"vdx-diff-copy",children:[(0,r.jsx)("span",{className:"vdx-diff-tag",children:"orchestrator-first"}),(0,r.jsxs)("h3",{className:"vdx-diff-title",children:["They ",(0,r.jsx)("span",{className:"vdx-display vdx-italic",children:"are"})," the agent. We sit ",(0,r.jsx)("span",{className:"vdx-display vdx-italic",children:"above"})," the agent."]}),(0,r.jsx)("p",{className:"vdx-diff-body",children:"Cursor, Aider and Claude Code embed the agent in their own chat. Vibedeckx treats the agent as a replaceable subprocess. The value is in scheduling, the testing surface, and multi-session control."})]}),(0,r.jsx)("div",{className:"vdx-diff-visual",children:(0,r.jsx)(rR,{})})]}),(0,r.jsxs)("article",{className:"vdx-diff-row vdx-diff-row--B",children:[(0,r.jsxs)("div",{className:"vdx-diff-copy",children:[(0,r.jsx)("span",{className:"vdx-diff-tag",children:"tests are first-class"}),(0,r.jsxs)("h3",{className:"vdx-diff-title",children:["Executors give the agent a ",(0,r.jsx)("span",{className:"vdx-display vdx-italic",children:"verification loop"}),", not just a shell."]}),(0,r.jsx)("p",{className:"vdx-diff-body",children:"Tests, builds and dev servers are named, reusable, queueable artifacts the agent can call — closer to a personal CI than an inline command. The agent edits, the executor verifies, the result feeds the next turn."})]}),(0,r.jsx)("div",{className:"vdx-diff-visual",children:(0,r.jsx)(rL,{})})]}),(0,r.jsxs)("article",{className:"vdx-diff-row vdx-diff-row--C",children:[(0,r.jsxs)("div",{className:"vdx-diff-copy",children:[(0,r.jsx)("span",{className:"vdx-diff-tag",children:"parallel · self-hosted · swappable"}),(0,r.jsx)("h3",{className:"vdx-diff-title",children:"Multiple agents, on your machine — or someone else’s."}),(0,r.jsx)("p",{className:"vdx-diff-body",children:"Branch is the unit of parallelism. Provider is the unit of choice. Drive a remote box through reverse-tunnel when the work needs more iron. Single binary, local SQLite, your code never leaves the network you allow."})]}),(0,r.jsx)("div",{className:"vdx-diff-visual",children:(0,r.jsx)(rB,{})})]})]}),(0,r.jsxs)("section",{className:"vdx-arch",children:[(0,r.jsxs)("div",{className:"vdx-section-head",children:[(0,r.jsx)("span",{className:"vdx-section-tick",children:"— 04"}),(0,r.jsx)("h2",{className:"vdx-section-title",children:"The map."})]}),(0,r.jsx)("div",{className:"vdx-arch-board",children:(0,r.jsx)(rF,{})})]}),(0,r.jsxs)("section",{className:"vdx-install",children:[(0,r.jsxs)("div",{className:"vdx-section-head",children:[(0,r.jsx)("span",{className:"vdx-section-tick",children:"— 05"}),(0,r.jsxs)("h2",{className:"vdx-section-title",children:["One binary. ",(0,r.jsx)("span",{className:"vdx-display vdx-italic",children:"Run it."})]}),(0,r.jsxs)("p",{className:"vdx-install-sub",children:["Download from the"," ",(0,r.jsxs)("a",{href:"https://github.com/vibedeckx-dev/vibedeckx/releases/latest",target:"_blank",rel:"noopener noreferrer",className:"vdx-link",children:["latest release ",(0,r.jsx)(rS.Download,{className:"inline h-3.5 w-3.5 ml-0.5"})]}),". Pick your platform."]})]}),(0,r.jsx)("div",{className:"vdx-install-tabs",children:rA.map(t=>(0,r.jsxs)("button",{onClick:()=>o(t.id),className:`vdx-install-tab ${n===t.id?"is-active":""}`,children:[(0,r.jsx)(t.icon,{className:"h-3.5 w-3.5"}),t.label]},t.id))}),(0,r.jsxs)("div",{className:"vdx-install-card",children:[(0,r.jsxs)("div",{className:"vdx-install-card-head",children:[(0,r.jsxs)("span",{children:["installation · ",l.label.toLowerCase()]}),(0,r.jsxs)("span",{className:"vdx-install-card-coord",children:["~/",l.id]})]}),(0,r.jsx)("ol",{className:"vdx-install-steps",children:l.steps.map((t,e)=>(0,r.jsxs)("li",{className:"vdx-install-step",children:[(0,r.jsx)("span",{className:"vdx-install-step-n",children:String(e+1).padStart(2,"0")}),(0,r.jsxs)("div",{className:"vdx-install-step-body",children:[(0,r.jsx)("p",{className:"vdx-install-step-text",children:t.text}),t.command&&(0,r.jsx)(rM,{command:t.command})]})]},e))})]})]}),(0,r.jsxs)("section",{className:"vdx-closing",children:[(0,r.jsxs)("p",{className:"vdx-closing-line",children:["The agent does the work.",(0,r.jsx)("br",{}),"Vibedeckx makes sure it ships."]}),(0,r.jsxs)("button",{onClick:t,className:"vdx-btn-primary vdx-btn-primary--lg",children:["Enter the cockpit",(0,r.jsx)(ry.ArrowRight,{className:"h-4 w-4"})]})]}),(0,r.jsx)("footer",{className:"vdx-footer",children:(0,r.jsxs)("div",{className:"vdx-footer-inner",children:[(0,r.jsx)("span",{children:"VIBEDECKX · CTRL.PLANE FOR CODING AGENTS"}),(0,r.jsx)("span",{className:"vdx-footer-sep",children:"— — —"}),(0,r.jsx)("span",{children:"self-hosted · MIT · 2026"})]})})]})}function rR(){return(0,r.jsxs)("div",{className:"vdx-stack",children:[(0,r.jsxs)("div",{className:"vdx-stack-row vdx-stack-row--top",children:[(0,r.jsx)("span",{className:"vdx-stack-label",children:"VIBEDECKX"}),(0,r.jsx)("span",{className:"vdx-stack-sub",children:"orchestrator · scheduling · executors · UI"})]}),(0,r.jsx)("div",{className:"vdx-stack-divider","aria-hidden":!0}),(0,r.jsxs)("div",{className:"vdx-stack-fleet",children:[(0,r.jsxs)("div",{className:"vdx-stack-cell",children:[(0,r.jsx)("span",{className:"vdx-stack-cell-label",children:"claude-code"}),(0,r.jsx)("span",{className:"vdx-stack-cell-status",children:"running"})]}),(0,r.jsxs)("div",{className:"vdx-stack-cell",children:[(0,r.jsx)("span",{className:"vdx-stack-cell-label",children:"codex"}),(0,r.jsx)("span",{className:"vdx-stack-cell-status",children:"planning"})]}),(0,r.jsxs)("div",{className:"vdx-stack-cell vdx-stack-cell--ghost",children:[(0,r.jsx)("span",{className:"vdx-stack-cell-label",children:"+ next"}),(0,r.jsx)("span",{className:"vdx-stack-cell-status",children:"slot open"})]})]}),(0,r.jsx)("div",{className:"vdx-stack-foot",children:"↑ swappable agent layer"})]})}function rL(){return(0,r.jsxs)("div",{className:"vdx-loop",children:[(0,r.jsxs)("div",{className:"vdx-loop-node vdx-loop-node--agent",children:[(0,r.jsx)("span",{className:"vdx-loop-tag",children:"agent"}),(0,r.jsx)("span",{className:"vdx-loop-text",children:"edit src/server.ts"})]}),(0,r.jsx)("div",{className:"vdx-loop-arrow",children:"→"}),(0,r.jsxs)("div",{className:"vdx-loop-node vdx-loop-node--exec",children:[(0,r.jsx)("span",{className:"vdx-loop-tag",children:"executor"}),(0,r.jsx)("span",{className:"vdx-loop-text",children:"pnpm test"})]}),(0,r.jsx)("div",{className:"vdx-loop-arrow",children:"→"}),(0,r.jsxs)("div",{className:"vdx-loop-node vdx-loop-node--result",children:[(0,r.jsx)("span",{className:"vdx-loop-tag",children:"result"}),(0,r.jsx)("span",{className:"vdx-loop-text",children:"3 failed · feed back"})]}),(0,r.jsx)("div",{className:"vdx-loop-return","aria-hidden":!0})]})}function rB(){return(0,r.jsxs)("div",{className:"vdx-fan",children:[(0,r.jsxs)("div",{className:"vdx-fan-laptop",children:[(0,r.jsx)("span",{className:"vdx-fan-label",children:"your laptop"}),(0,r.jsx)("span",{className:"vdx-fan-sub",children:"vibedeckx · UI + sqlite"})]}),(0,r.jsxs)("svg",{className:"vdx-fan-lines",viewBox:"0 0 200 80",preserveAspectRatio:"none",children:[(0,r.jsx)("path",{d:"M100 0 L20 80"}),(0,r.jsx)("path",{d:"M100 0 L100 80"}),(0,r.jsx)("path",{d:"M100 0 L180 80"})]}),(0,r.jsxs)("div",{className:"vdx-fan-targets",children:[(0,r.jsx)("div",{className:"vdx-fan-target",children:"local · branch A"}),(0,r.jsx)("div",{className:"vdx-fan-target",children:"local · branch B"}),(0,r.jsx)("div",{className:"vdx-fan-target vdx-fan-target--remote",children:"remote · gpu-box-01"})]})]})}function rF(){return(0,r.jsxs)("div",{className:"vdx-map",children:[(0,r.jsx)("div",{className:"vdx-map-row vdx-map-row--top",children:(0,r.jsxs)("div",{className:"vdx-map-block vdx-map-block--user",children:[(0,r.jsx)("span",{className:"vdx-map-coord",children:"[ YOU ]"}),(0,r.jsx)("span",{className:"vdx-map-label",children:"browser UI · localhost:3000"})]})}),(0,r.jsx)("div",{className:"vdx-map-trunk","aria-hidden":!0}),(0,r.jsx)("div",{className:"vdx-map-row",children:(0,r.jsxs)("div",{className:"vdx-map-block vdx-map-block--core",children:[(0,r.jsx)("span",{className:"vdx-map-coord",children:"[ ORCHESTRATOR ]"}),(0,r.jsx)("span",{className:"vdx-map-label",children:"Fastify · WebSocket · SQLite"}),(0,r.jsx)("span",{className:"vdx-map-foot",children:"scheduling · sessions · patches · auth"})]})}),(0,r.jsxs)("div",{className:"vdx-map-row vdx-map-row--split",children:[(0,r.jsx)("div",{className:"vdx-map-leg vdx-map-leg--left","aria-hidden":!0}),(0,r.jsx)("div",{className:"vdx-map-leg vdx-map-leg--right","aria-hidden":!0})]}),(0,r.jsxs)("div",{className:"vdx-map-row vdx-map-row--cells",children:[(0,r.jsxs)("div",{className:"vdx-map-cluster",children:[(0,r.jsx)("span",{className:"vdx-cluster-label",children:"AGENTS"}),(0,r.jsxs)("div",{className:"vdx-cluster-cells",children:[(0,r.jsx)("div",{className:"vdx-cluster-cell",children:"claude-code"}),(0,r.jsx)("div",{className:"vdx-cluster-cell",children:"codex"}),(0,r.jsx)("div",{className:"vdx-cluster-cell vdx-cluster-cell--ghost",children:"+ next"})]})]}),(0,r.jsxs)("div",{className:"vdx-map-cluster",children:[(0,r.jsx)("span",{className:"vdx-cluster-label",children:"EXECUTORS"}),(0,r.jsxs)("div",{className:"vdx-cluster-cells",children:[(0,r.jsx)("div",{className:"vdx-cluster-cell",children:"cmd · pnpm dev"}),(0,r.jsx)("div",{className:"vdx-cluster-cell",children:"cmd · pnpm test"}),(0,r.jsx)("div",{className:"vdx-cluster-cell",children:"prompt · review pr"})]})]}),(0,r.jsxs)("div",{className:"vdx-map-cluster",children:[(0,r.jsx)("span",{className:"vdx-cluster-label",children:"WORKTREES"}),(0,r.jsxs)("div",{className:"vdx-cluster-cells",children:[(0,r.jsx)("div",{className:"vdx-cluster-cell",children:"feature/auth"}),(0,r.jsx)("div",{className:"vdx-cluster-cell",children:"fix/migration"}),(0,r.jsx)("div",{className:"vdx-cluster-cell",children:"refactor/pricing"})]})]})]}),(0,r.jsx)("div",{className:"vdx-map-trunk vdx-map-trunk--down","aria-hidden":!0}),(0,r.jsx)("div",{className:"vdx-map-row",children:(0,r.jsxs)("div",{className:"vdx-map-block vdx-map-block--remote",children:[(0,r.jsx)("span",{className:"vdx-map-coord",children:"[ REMOTE / OPTIONAL ]"}),(0,r.jsx)("span",{className:"vdx-map-label",children:"ws-proxy · reverse tunnel · NAT-traversal"})]})})]})}let rI=`
|
|
2
|
+
.vdx-landing {
|
|
3
|
+
--ink: oklch(0.10 0.005 80);
|
|
4
|
+
--ink-deep: oklch(0.07 0.005 80);
|
|
5
|
+
--paper: oklch(0.96 0.01 85);
|
|
6
|
+
--bone: oklch(0.86 0.015 85);
|
|
7
|
+
--warm: oklch(0.55 0.012 80);
|
|
8
|
+
--warm-dim: oklch(0.40 0.008 80);
|
|
9
|
+
--line: oklch(0.22 0.005 80);
|
|
10
|
+
--line-soft: oklch(0.16 0.005 80);
|
|
11
|
+
--amber: oklch(0.82 0.16 70);
|
|
12
|
+
--amber-deep: oklch(0.62 0.18 60);
|
|
13
|
+
--card: oklch(0.13 0.005 80);
|
|
14
|
+
--card-2: oklch(0.16 0.006 80);
|
|
15
|
+
--rose: oklch(0.72 0.15 30);
|
|
16
|
+
--green: oklch(0.78 0.14 145);
|
|
17
|
+
|
|
18
|
+
position: relative;
|
|
19
|
+
min-height: 100vh;
|
|
20
|
+
background: var(--ink);
|
|
21
|
+
color: var(--paper);
|
|
22
|
+
font-family: var(--font-geist-sans), system-ui, sans-serif;
|
|
23
|
+
overflow-x: hidden;
|
|
24
|
+
isolation: isolate;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.vdx-landing::before {
|
|
28
|
+
content: "";
|
|
29
|
+
position: fixed;
|
|
30
|
+
inset: 0;
|
|
31
|
+
background:
|
|
32
|
+
radial-gradient(1200px 600px at 80% -10%, oklch(0.22 0.04 70 / 0.45), transparent 60%),
|
|
33
|
+
radial-gradient(900px 500px at -10% 30%, oklch(0.18 0.02 220 / 0.25), transparent 70%);
|
|
34
|
+
pointer-events: none;
|
|
35
|
+
z-index: 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.vdx-grain {
|
|
39
|
+
position: fixed;
|
|
40
|
+
inset: 0;
|
|
41
|
+
pointer-events: none;
|
|
42
|
+
z-index: 1;
|
|
43
|
+
opacity: 0.10;
|
|
44
|
+
mix-blend-mode: overlay;
|
|
45
|
+
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.45 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.vdx-rule-grid {
|
|
49
|
+
position: fixed;
|
|
50
|
+
inset: 0;
|
|
51
|
+
pointer-events: none;
|
|
52
|
+
z-index: 1;
|
|
53
|
+
background-image:
|
|
54
|
+
linear-gradient(to right, oklch(1 0 0 / 0.025) 1px, transparent 1px),
|
|
55
|
+
linear-gradient(to bottom, oklch(1 0 0 / 0.025) 1px, transparent 1px);
|
|
56
|
+
background-size: 96px 96px;
|
|
57
|
+
mask-image: radial-gradient(1400px 800px at 50% 30%, black 30%, transparent 80%);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.vdx-vignette {
|
|
61
|
+
position: fixed;
|
|
62
|
+
inset: 0;
|
|
63
|
+
pointer-events: none;
|
|
64
|
+
z-index: 1;
|
|
65
|
+
background: radial-gradient(ellipse at 50% 0%, transparent 30%, oklch(0.05 0.005 80 / 0.4) 100%);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.vdx-display { font-family: var(--font-instrument-serif), serif; font-weight: 400; letter-spacing: -0.01em; }
|
|
69
|
+
.vdx-italic { font-style: italic; }
|
|
70
|
+
.vdx-mono { font-family: var(--font-jetbrains-mono), monospace; }
|
|
71
|
+
|
|
72
|
+
/* ---- Nav ---- */
|
|
73
|
+
.vdx-nav {
|
|
74
|
+
position: relative;
|
|
75
|
+
z-index: 5;
|
|
76
|
+
border-bottom: 1px solid var(--line-soft);
|
|
77
|
+
backdrop-filter: blur(8px);
|
|
78
|
+
background: oklch(0.10 0.005 80 / 0.6);
|
|
79
|
+
}
|
|
80
|
+
.vdx-nav-inner {
|
|
81
|
+
max-width: 1240px;
|
|
82
|
+
margin: 0 auto;
|
|
83
|
+
padding: 16px 28px;
|
|
84
|
+
display: flex;
|
|
85
|
+
align-items: center;
|
|
86
|
+
justify-content: space-between;
|
|
87
|
+
}
|
|
88
|
+
.vdx-brand { display: flex; align-items: center; gap: 12px; }
|
|
89
|
+
.vdx-brand-mark {
|
|
90
|
+
width: 32px; height: 32px;
|
|
91
|
+
border-radius: 6px;
|
|
92
|
+
background: linear-gradient(160deg, var(--amber), var(--amber-deep));
|
|
93
|
+
display: flex; align-items: center; justify-content: center;
|
|
94
|
+
font-family: var(--font-jetbrains-mono), monospace;
|
|
95
|
+
font-weight: 600;
|
|
96
|
+
font-size: 10px;
|
|
97
|
+
letter-spacing: -0.04em;
|
|
98
|
+
color: var(--ink-deep);
|
|
99
|
+
box-shadow: 0 0 30px oklch(0.78 0.16 70 / 0.2), inset 0 0 0 1px oklch(1 0 0 / 0.08);
|
|
100
|
+
}
|
|
101
|
+
.vdx-brand-name {
|
|
102
|
+
display: flex; flex-direction: column; line-height: 1.05;
|
|
103
|
+
}
|
|
104
|
+
.vdx-brand-word {
|
|
105
|
+
font-family: var(--font-instrument-serif), serif;
|
|
106
|
+
font-style: italic;
|
|
107
|
+
font-size: 18px;
|
|
108
|
+
color: var(--paper);
|
|
109
|
+
}
|
|
110
|
+
.vdx-brand-coord {
|
|
111
|
+
font-family: var(--font-jetbrains-mono), monospace;
|
|
112
|
+
font-size: 9.5px;
|
|
113
|
+
letter-spacing: 0.08em;
|
|
114
|
+
color: var(--warm);
|
|
115
|
+
margin-top: 1px;
|
|
116
|
+
}
|
|
117
|
+
.vdx-nav-meta {
|
|
118
|
+
display: flex; align-items: center; gap: 18px;
|
|
119
|
+
font-family: var(--font-jetbrains-mono), monospace;
|
|
120
|
+
font-size: 11px;
|
|
121
|
+
color: var(--warm);
|
|
122
|
+
}
|
|
123
|
+
.vdx-nav-meta-line { letter-spacing: 0.06em; }
|
|
124
|
+
.vdx-nav-link {
|
|
125
|
+
color: var(--bone);
|
|
126
|
+
text-decoration: none;
|
|
127
|
+
transition: color 0.2s;
|
|
128
|
+
}
|
|
129
|
+
.vdx-nav-link:hover { color: var(--amber); }
|
|
130
|
+
.vdx-nav-cta {
|
|
131
|
+
display: inline-flex; align-items: center; gap: 6px;
|
|
132
|
+
border: 1px solid var(--line);
|
|
133
|
+
background: transparent;
|
|
134
|
+
color: var(--paper);
|
|
135
|
+
padding: 8px 14px;
|
|
136
|
+
border-radius: 999px;
|
|
137
|
+
font-family: var(--font-jetbrains-mono), monospace;
|
|
138
|
+
font-size: 11px;
|
|
139
|
+
letter-spacing: 0.04em;
|
|
140
|
+
cursor: pointer;
|
|
141
|
+
transition: all 0.18s ease;
|
|
142
|
+
}
|
|
143
|
+
.vdx-nav-cta:hover {
|
|
144
|
+
border-color: var(--amber);
|
|
145
|
+
color: var(--amber);
|
|
146
|
+
transform: translateY(-1px);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/* ---- Hero ---- */
|
|
150
|
+
.vdx-hero {
|
|
151
|
+
position: relative;
|
|
152
|
+
z-index: 2;
|
|
153
|
+
max-width: 1240px;
|
|
154
|
+
margin: 0 auto;
|
|
155
|
+
padding: 88px 28px 56px;
|
|
156
|
+
}
|
|
157
|
+
.vdx-hero-inner {
|
|
158
|
+
max-width: 920px;
|
|
159
|
+
}
|
|
160
|
+
.vdx-eyebrow {
|
|
161
|
+
display: inline-flex; align-items: center; gap: 10px;
|
|
162
|
+
font-family: var(--font-jetbrains-mono), monospace;
|
|
163
|
+
font-size: 11px;
|
|
164
|
+
letter-spacing: 0.18em;
|
|
165
|
+
color: var(--amber);
|
|
166
|
+
border: 1px solid oklch(0.78 0.16 70 / 0.35);
|
|
167
|
+
padding: 6px 12px;
|
|
168
|
+
border-radius: 999px;
|
|
169
|
+
background: oklch(0.78 0.16 70 / 0.06);
|
|
170
|
+
}
|
|
171
|
+
.vdx-eyebrow-tick { letter-spacing: 0; opacity: 0.7; }
|
|
172
|
+
|
|
173
|
+
.vdx-hero-title {
|
|
174
|
+
margin: 26px 0 22px;
|
|
175
|
+
font-family: var(--font-geist-sans), system-ui, sans-serif;
|
|
176
|
+
font-size: clamp(40px, 6.4vw, 88px);
|
|
177
|
+
font-weight: 500;
|
|
178
|
+
line-height: 1.02;
|
|
179
|
+
letter-spacing: -0.035em;
|
|
180
|
+
color: var(--paper);
|
|
181
|
+
max-width: 18ch;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.vdx-hero-sub {
|
|
185
|
+
max-width: 640px;
|
|
186
|
+
font-size: 17px;
|
|
187
|
+
line-height: 1.55;
|
|
188
|
+
color: var(--bone);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.vdx-hero-actions {
|
|
192
|
+
display: flex;
|
|
193
|
+
gap: 14px;
|
|
194
|
+
margin-top: 32px;
|
|
195
|
+
flex-wrap: wrap;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.vdx-btn-primary {
|
|
199
|
+
display: inline-flex; align-items: center; gap: 10px;
|
|
200
|
+
background: var(--amber);
|
|
201
|
+
color: var(--ink-deep);
|
|
202
|
+
border: 1px solid var(--amber);
|
|
203
|
+
padding: 12px 22px;
|
|
204
|
+
border-radius: 999px;
|
|
205
|
+
font-weight: 600;
|
|
206
|
+
font-size: 14px;
|
|
207
|
+
cursor: pointer;
|
|
208
|
+
transition: all 0.2s ease;
|
|
209
|
+
box-shadow: 0 0 0 0 oklch(0.78 0.16 70 / 0);
|
|
210
|
+
}
|
|
211
|
+
.vdx-btn-primary:hover {
|
|
212
|
+
transform: translateY(-1px);
|
|
213
|
+
box-shadow: 0 14px 36px -12px oklch(0.78 0.16 70 / 0.55);
|
|
214
|
+
background: oklch(0.86 0.16 72);
|
|
215
|
+
}
|
|
216
|
+
.vdx-btn-primary--lg {
|
|
217
|
+
padding: 16px 30px;
|
|
218
|
+
font-size: 15px;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.vdx-btn-ghost {
|
|
222
|
+
display: inline-flex; align-items: center; gap: 8px;
|
|
223
|
+
background: transparent;
|
|
224
|
+
color: var(--paper);
|
|
225
|
+
border: 1px solid var(--line);
|
|
226
|
+
padding: 12px 20px;
|
|
227
|
+
border-radius: 999px;
|
|
228
|
+
font-size: 14px;
|
|
229
|
+
text-decoration: none;
|
|
230
|
+
transition: all 0.2s;
|
|
231
|
+
}
|
|
232
|
+
.vdx-btn-ghost:hover {
|
|
233
|
+
border-color: var(--bone);
|
|
234
|
+
background: oklch(1 0 0 / 0.03);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.vdx-hero-meta {
|
|
238
|
+
margin-top: 38px;
|
|
239
|
+
display: flex;
|
|
240
|
+
align-items: center;
|
|
241
|
+
gap: 14px;
|
|
242
|
+
font-family: var(--font-jetbrains-mono), monospace;
|
|
243
|
+
font-size: 11px;
|
|
244
|
+
letter-spacing: 0.08em;
|
|
245
|
+
color: var(--warm);
|
|
246
|
+
flex-wrap: wrap;
|
|
247
|
+
}
|
|
248
|
+
.vdx-dot {
|
|
249
|
+
width: 3px; height: 3px;
|
|
250
|
+
background: var(--amber);
|
|
251
|
+
border-radius: 50%;
|
|
252
|
+
opacity: 0.7;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/* ---- Agent Rack ---- */
|
|
256
|
+
.vdx-rack {
|
|
257
|
+
margin-top: 64px;
|
|
258
|
+
border: 1px solid var(--line);
|
|
259
|
+
border-radius: 14px;
|
|
260
|
+
background: linear-gradient(180deg, var(--card) 0%, oklch(0.09 0.005 80) 100%);
|
|
261
|
+
overflow: hidden;
|
|
262
|
+
position: relative;
|
|
263
|
+
box-shadow: 0 30px 80px -40px oklch(0 0 0 / 0.6), inset 0 1px 0 oklch(1 0 0 / 0.04);
|
|
264
|
+
}
|
|
265
|
+
.vdx-rack-header {
|
|
266
|
+
display: flex; align-items: center; justify-content: space-between;
|
|
267
|
+
padding: 12px 18px;
|
|
268
|
+
border-bottom: 1px solid var(--line);
|
|
269
|
+
font-family: var(--font-jetbrains-mono), monospace;
|
|
270
|
+
font-size: 11px;
|
|
271
|
+
color: var(--warm);
|
|
272
|
+
letter-spacing: 0.06em;
|
|
273
|
+
background: oklch(0.10 0.005 80 / 0.6);
|
|
274
|
+
}
|
|
275
|
+
.vdx-rack-title { color: var(--bone); }
|
|
276
|
+
.vdx-rack-coord { color: var(--warm); }
|
|
277
|
+
.vdx-rack-body {
|
|
278
|
+
position: relative;
|
|
279
|
+
padding: 6px 0;
|
|
280
|
+
}
|
|
281
|
+
.vdx-lane {
|
|
282
|
+
display: grid;
|
|
283
|
+
grid-template-columns: 80px 1.6fr 1fr 1fr 2fr;
|
|
284
|
+
align-items: center;
|
|
285
|
+
gap: 18px;
|
|
286
|
+
padding: 14px 18px;
|
|
287
|
+
border-bottom: 1px dashed oklch(1 0 0 / 0.04);
|
|
288
|
+
font-family: var(--font-jetbrains-mono), monospace;
|
|
289
|
+
font-size: 13px;
|
|
290
|
+
color: var(--bone);
|
|
291
|
+
transition: background 0.2s;
|
|
292
|
+
}
|
|
293
|
+
.vdx-lane:last-child { border-bottom: none; }
|
|
294
|
+
.vdx-lane:hover { background: oklch(1 0 0 / 0.02); }
|
|
295
|
+
.vdx-lane-coord { color: var(--warm); font-size: 11px; letter-spacing: 0.05em; }
|
|
296
|
+
.vdx-lane-branch { color: var(--paper); }
|
|
297
|
+
.vdx-lane-agent { color: var(--bone); opacity: 0.85; }
|
|
298
|
+
.vdx-lane-status {
|
|
299
|
+
display: inline-flex; align-items: center; gap: 8px;
|
|
300
|
+
font-size: 11px;
|
|
301
|
+
letter-spacing: 0.08em;
|
|
302
|
+
}
|
|
303
|
+
.vdx-lane-status--live { color: var(--amber); }
|
|
304
|
+
.vdx-lane-status--warn { color: oklch(0.82 0.13 95); }
|
|
305
|
+
.vdx-lane-status--idle { color: var(--warm); }
|
|
306
|
+
.vdx-lane-detail { color: var(--warm); font-size: 11.5px; opacity: 0.85; }
|
|
307
|
+
@media (max-width: 900px) {
|
|
308
|
+
.vdx-lane { grid-template-columns: 60px 1fr 1fr; }
|
|
309
|
+
.vdx-lane-agent, .vdx-lane-detail { display: none; }
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.vdx-status-dot {
|
|
313
|
+
width: 8px; height: 8px;
|
|
314
|
+
border-radius: 50%;
|
|
315
|
+
flex-shrink: 0;
|
|
316
|
+
}
|
|
317
|
+
.vdx-status-dot--live {
|
|
318
|
+
background: var(--amber);
|
|
319
|
+
box-shadow: 0 0 0 0 var(--amber);
|
|
320
|
+
animation: vdxPulse 1.6s ease-in-out infinite;
|
|
321
|
+
}
|
|
322
|
+
.vdx-status-dot--warn {
|
|
323
|
+
background: oklch(0.82 0.13 95);
|
|
324
|
+
box-shadow: 0 0 12px oklch(0.82 0.13 95 / 0.45);
|
|
325
|
+
}
|
|
326
|
+
.vdx-status-dot--idle {
|
|
327
|
+
background: var(--warm);
|
|
328
|
+
box-shadow: 0 0 0 1px var(--warm-dim);
|
|
329
|
+
}
|
|
330
|
+
@keyframes vdxPulse {
|
|
331
|
+
0% { box-shadow: 0 0 0 0 oklch(0.82 0.16 70 / 0.55); }
|
|
332
|
+
70% { box-shadow: 0 0 0 7px oklch(0.82 0.16 70 / 0); }
|
|
333
|
+
100% { box-shadow: 0 0 0 0 oklch(0.82 0.16 70 / 0); }
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.vdx-rack-scanline {
|
|
337
|
+
position: absolute;
|
|
338
|
+
left: 0; right: 0; top: 0;
|
|
339
|
+
height: 1px;
|
|
340
|
+
background: linear-gradient(90deg, transparent, var(--amber), transparent);
|
|
341
|
+
opacity: 0.55;
|
|
342
|
+
animation: vdxScan 6s linear infinite;
|
|
343
|
+
}
|
|
344
|
+
@keyframes vdxScan {
|
|
345
|
+
0% { transform: translateY(0); opacity: 0; }
|
|
346
|
+
8% { opacity: 0.5; }
|
|
347
|
+
100% { transform: translateY(220px); opacity: 0; }
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/* ---- Section heads ---- */
|
|
351
|
+
.vdx-section-head {
|
|
352
|
+
max-width: 920px;
|
|
353
|
+
margin: 0 auto 40px;
|
|
354
|
+
}
|
|
355
|
+
.vdx-section-tick {
|
|
356
|
+
display: inline-block;
|
|
357
|
+
font-family: var(--font-jetbrains-mono), monospace;
|
|
358
|
+
font-size: 11px;
|
|
359
|
+
letter-spacing: 0.18em;
|
|
360
|
+
color: var(--amber);
|
|
361
|
+
margin-bottom: 16px;
|
|
362
|
+
}
|
|
363
|
+
.vdx-section-title {
|
|
364
|
+
font-size: clamp(30px, 4vw, 52px);
|
|
365
|
+
line-height: 1.05;
|
|
366
|
+
letter-spacing: -0.02em;
|
|
367
|
+
color: var(--paper);
|
|
368
|
+
font-weight: 500;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
/* ---- Manifesto ---- */
|
|
372
|
+
.vdx-manifesto {
|
|
373
|
+
position: relative;
|
|
374
|
+
z-index: 2;
|
|
375
|
+
max-width: 1240px;
|
|
376
|
+
margin: 0 auto;
|
|
377
|
+
padding: 96px 28px;
|
|
378
|
+
border-top: 1px solid var(--line-soft);
|
|
379
|
+
}
|
|
380
|
+
.vdx-pains {
|
|
381
|
+
display: grid;
|
|
382
|
+
grid-template-columns: repeat(3, 1fr);
|
|
383
|
+
gap: 4px;
|
|
384
|
+
border: 1px solid var(--line);
|
|
385
|
+
border-radius: 14px;
|
|
386
|
+
overflow: hidden;
|
|
387
|
+
background: var(--line);
|
|
388
|
+
}
|
|
389
|
+
@media (max-width: 900px) {
|
|
390
|
+
.vdx-pains { grid-template-columns: 1fr; }
|
|
391
|
+
}
|
|
392
|
+
.vdx-pain {
|
|
393
|
+
background: var(--card);
|
|
394
|
+
padding: 32px 28px;
|
|
395
|
+
display: flex;
|
|
396
|
+
flex-direction: column;
|
|
397
|
+
gap: 14px;
|
|
398
|
+
}
|
|
399
|
+
.vdx-pain-num {
|
|
400
|
+
font-size: 56px;
|
|
401
|
+
line-height: 0.9;
|
|
402
|
+
color: var(--amber);
|
|
403
|
+
opacity: 0.95;
|
|
404
|
+
}
|
|
405
|
+
.vdx-pain-title {
|
|
406
|
+
font-size: 19px;
|
|
407
|
+
line-height: 1.3;
|
|
408
|
+
color: var(--paper);
|
|
409
|
+
font-weight: 500;
|
|
410
|
+
}
|
|
411
|
+
.vdx-pain-body {
|
|
412
|
+
font-size: 14.5px;
|
|
413
|
+
line-height: 1.6;
|
|
414
|
+
color: var(--bone);
|
|
415
|
+
opacity: 0.9;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
/* ---- Capabilities ---- */
|
|
419
|
+
.vdx-capabilities {
|
|
420
|
+
position: relative;
|
|
421
|
+
z-index: 2;
|
|
422
|
+
max-width: 1240px;
|
|
423
|
+
margin: 0 auto;
|
|
424
|
+
padding: 96px 28px;
|
|
425
|
+
border-top: 1px solid var(--line-soft);
|
|
426
|
+
}
|
|
427
|
+
.vdx-cap-grid {
|
|
428
|
+
display: grid;
|
|
429
|
+
grid-template-columns: repeat(6, 1fr);
|
|
430
|
+
gap: 14px;
|
|
431
|
+
}
|
|
432
|
+
@media (max-width: 1024px) {
|
|
433
|
+
.vdx-cap-grid { grid-template-columns: repeat(2, 1fr); }
|
|
434
|
+
}
|
|
435
|
+
@media (max-width: 640px) {
|
|
436
|
+
.vdx-cap-grid { grid-template-columns: 1fr; }
|
|
437
|
+
}
|
|
438
|
+
.vdx-cap {
|
|
439
|
+
background: var(--card);
|
|
440
|
+
border: 1px solid var(--line-soft);
|
|
441
|
+
border-radius: 12px;
|
|
442
|
+
padding: 22px 22px 24px;
|
|
443
|
+
display: flex;
|
|
444
|
+
flex-direction: column;
|
|
445
|
+
gap: 10px;
|
|
446
|
+
position: relative;
|
|
447
|
+
transition: border-color 0.25s, transform 0.25s;
|
|
448
|
+
}
|
|
449
|
+
.vdx-cap:hover {
|
|
450
|
+
border-color: oklch(0.78 0.16 70 / 0.35);
|
|
451
|
+
transform: translateY(-2px);
|
|
452
|
+
}
|
|
453
|
+
/* Asymmetric grid spans for richness */
|
|
454
|
+
.vdx-cap--1 { grid-column: span 4; }
|
|
455
|
+
.vdx-cap--2 { grid-column: span 2; }
|
|
456
|
+
.vdx-cap--3 { grid-column: span 3; }
|
|
457
|
+
/* tweak run: items 4..7 alternate */
|
|
458
|
+
.vdx-cap-grid > .vdx-cap:nth-child(4) { grid-column: span 3; }
|
|
459
|
+
.vdx-cap-grid > .vdx-cap:nth-child(5) { grid-column: span 2; }
|
|
460
|
+
.vdx-cap-grid > .vdx-cap:nth-child(6) { grid-column: span 2; }
|
|
461
|
+
.vdx-cap-grid > .vdx-cap:nth-child(7) { grid-column: span 2; }
|
|
462
|
+
@media (max-width: 1024px) {
|
|
463
|
+
.vdx-cap-grid > .vdx-cap { grid-column: span 1 !important; }
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
.vdx-cap-coord {
|
|
467
|
+
font-family: var(--font-jetbrains-mono), monospace;
|
|
468
|
+
font-size: 10.5px;
|
|
469
|
+
letter-spacing: 0.12em;
|
|
470
|
+
color: var(--amber);
|
|
471
|
+
opacity: 0.9;
|
|
472
|
+
}
|
|
473
|
+
.vdx-cap-title {
|
|
474
|
+
font-size: 18px;
|
|
475
|
+
line-height: 1.3;
|
|
476
|
+
color: var(--paper);
|
|
477
|
+
font-weight: 500;
|
|
478
|
+
}
|
|
479
|
+
.vdx-cap-body {
|
|
480
|
+
font-size: 13.5px;
|
|
481
|
+
line-height: 1.6;
|
|
482
|
+
color: var(--bone);
|
|
483
|
+
opacity: 0.85;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
/* ---- Differentiators ---- */
|
|
487
|
+
.vdx-diff {
|
|
488
|
+
position: relative;
|
|
489
|
+
z-index: 2;
|
|
490
|
+
max-width: 1240px;
|
|
491
|
+
margin: 0 auto;
|
|
492
|
+
padding: 96px 28px;
|
|
493
|
+
border-top: 1px solid var(--line-soft);
|
|
494
|
+
}
|
|
495
|
+
.vdx-diff-row {
|
|
496
|
+
display: grid;
|
|
497
|
+
grid-template-columns: 1.05fr 0.95fr;
|
|
498
|
+
gap: 56px;
|
|
499
|
+
align-items: center;
|
|
500
|
+
padding: 56px 0;
|
|
501
|
+
border-top: 1px dashed oklch(1 0 0 / 0.06);
|
|
502
|
+
}
|
|
503
|
+
.vdx-diff-row:first-of-type { border-top: 1px solid var(--line); }
|
|
504
|
+
@media (max-width: 900px) {
|
|
505
|
+
.vdx-diff-row { grid-template-columns: 1fr; gap: 28px; padding: 32px 0; }
|
|
506
|
+
}
|
|
507
|
+
.vdx-diff-row--B { direction: rtl; }
|
|
508
|
+
.vdx-diff-row--B > * { direction: ltr; }
|
|
509
|
+
@media (max-width: 900px) {
|
|
510
|
+
.vdx-diff-row--B { direction: ltr; }
|
|
511
|
+
}
|
|
512
|
+
.vdx-diff-tag {
|
|
513
|
+
display: inline-block;
|
|
514
|
+
font-family: var(--font-jetbrains-mono), monospace;
|
|
515
|
+
font-size: 10.5px;
|
|
516
|
+
letter-spacing: 0.18em;
|
|
517
|
+
color: var(--amber);
|
|
518
|
+
margin-bottom: 14px;
|
|
519
|
+
}
|
|
520
|
+
.vdx-diff-title {
|
|
521
|
+
font-size: clamp(26px, 3.2vw, 38px);
|
|
522
|
+
line-height: 1.12;
|
|
523
|
+
letter-spacing: -0.015em;
|
|
524
|
+
color: var(--paper);
|
|
525
|
+
font-weight: 500;
|
|
526
|
+
margin-bottom: 14px;
|
|
527
|
+
}
|
|
528
|
+
.vdx-diff-body {
|
|
529
|
+
font-size: 15px;
|
|
530
|
+
line-height: 1.65;
|
|
531
|
+
color: var(--bone);
|
|
532
|
+
opacity: 0.9;
|
|
533
|
+
max-width: 480px;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
/* Diff visuals */
|
|
537
|
+
.vdx-diff-visual {
|
|
538
|
+
background: linear-gradient(180deg, var(--card-2), var(--card));
|
|
539
|
+
border: 1px solid var(--line);
|
|
540
|
+
border-radius: 14px;
|
|
541
|
+
padding: 26px;
|
|
542
|
+
min-height: 240px;
|
|
543
|
+
display: flex;
|
|
544
|
+
align-items: center;
|
|
545
|
+
justify-content: center;
|
|
546
|
+
overflow: hidden;
|
|
547
|
+
position: relative;
|
|
548
|
+
}
|
|
549
|
+
.vdx-diff-visual::before {
|
|
550
|
+
content: "";
|
|
551
|
+
position: absolute;
|
|
552
|
+
inset: 0;
|
|
553
|
+
background:
|
|
554
|
+
radial-gradient(400px 200px at 80% 20%, oklch(0.78 0.16 70 / 0.10), transparent 70%);
|
|
555
|
+
pointer-events: none;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
.vdx-stack {
|
|
559
|
+
width: 100%;
|
|
560
|
+
display: flex;
|
|
561
|
+
flex-direction: column;
|
|
562
|
+
gap: 10px;
|
|
563
|
+
font-family: var(--font-jetbrains-mono), monospace;
|
|
564
|
+
}
|
|
565
|
+
.vdx-stack-row {
|
|
566
|
+
border: 1px solid var(--line);
|
|
567
|
+
border-radius: 10px;
|
|
568
|
+
padding: 14px 16px;
|
|
569
|
+
background: oklch(0.11 0.005 80);
|
|
570
|
+
}
|
|
571
|
+
.vdx-stack-row--top {
|
|
572
|
+
border-color: oklch(0.78 0.16 70 / 0.35);
|
|
573
|
+
background: oklch(0.78 0.16 70 / 0.05);
|
|
574
|
+
}
|
|
575
|
+
.vdx-stack-label {
|
|
576
|
+
font-size: 11px;
|
|
577
|
+
letter-spacing: 0.16em;
|
|
578
|
+
color: var(--amber);
|
|
579
|
+
}
|
|
580
|
+
.vdx-stack-sub {
|
|
581
|
+
display: block;
|
|
582
|
+
margin-top: 4px;
|
|
583
|
+
font-size: 12px;
|
|
584
|
+
color: var(--bone);
|
|
585
|
+
letter-spacing: 0.02em;
|
|
586
|
+
}
|
|
587
|
+
.vdx-stack-divider {
|
|
588
|
+
height: 12px;
|
|
589
|
+
background-image: linear-gradient(to right, var(--warm-dim) 50%, transparent 0%);
|
|
590
|
+
background-size: 6px 1px;
|
|
591
|
+
background-repeat: repeat-x;
|
|
592
|
+
background-position: center;
|
|
593
|
+
}
|
|
594
|
+
.vdx-stack-fleet {
|
|
595
|
+
display: grid;
|
|
596
|
+
grid-template-columns: repeat(3, 1fr);
|
|
597
|
+
gap: 8px;
|
|
598
|
+
}
|
|
599
|
+
.vdx-stack-cell {
|
|
600
|
+
background: oklch(0.11 0.005 80);
|
|
601
|
+
border: 1px solid var(--line);
|
|
602
|
+
border-radius: 8px;
|
|
603
|
+
padding: 12px;
|
|
604
|
+
display: flex;
|
|
605
|
+
flex-direction: column;
|
|
606
|
+
gap: 4px;
|
|
607
|
+
}
|
|
608
|
+
.vdx-stack-cell--ghost {
|
|
609
|
+
border-style: dashed;
|
|
610
|
+
opacity: 0.6;
|
|
611
|
+
}
|
|
612
|
+
.vdx-stack-cell-label { color: var(--paper); font-size: 12px; }
|
|
613
|
+
.vdx-stack-cell-status { color: var(--warm); font-size: 10.5px; letter-spacing: 0.06em; }
|
|
614
|
+
.vdx-stack-foot {
|
|
615
|
+
margin-top: 4px;
|
|
616
|
+
font-size: 11px;
|
|
617
|
+
color: var(--warm);
|
|
618
|
+
text-align: center;
|
|
619
|
+
letter-spacing: 0.06em;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
.vdx-loop {
|
|
623
|
+
width: 100%;
|
|
624
|
+
display: grid;
|
|
625
|
+
grid-template-columns: 1fr auto 1fr auto 1fr;
|
|
626
|
+
gap: 10px;
|
|
627
|
+
align-items: center;
|
|
628
|
+
font-family: var(--font-jetbrains-mono), monospace;
|
|
629
|
+
position: relative;
|
|
630
|
+
}
|
|
631
|
+
.vdx-loop-node {
|
|
632
|
+
background: oklch(0.11 0.005 80);
|
|
633
|
+
border: 1px solid var(--line);
|
|
634
|
+
border-radius: 10px;
|
|
635
|
+
padding: 14px;
|
|
636
|
+
display: flex;
|
|
637
|
+
flex-direction: column;
|
|
638
|
+
gap: 6px;
|
|
639
|
+
min-height: 80px;
|
|
640
|
+
}
|
|
641
|
+
.vdx-loop-node--agent { border-color: oklch(0.78 0.16 70 / 0.35); }
|
|
642
|
+
.vdx-loop-node--exec { border-color: oklch(0.6 0.13 200 / 0.30); }
|
|
643
|
+
.vdx-loop-node--result { border-color: oklch(0.7 0.16 25 / 0.30); }
|
|
644
|
+
.vdx-loop-tag { font-size: 10px; letter-spacing: 0.14em; color: var(--amber); text-transform: uppercase; }
|
|
645
|
+
.vdx-loop-text { font-size: 12px; color: var(--paper); }
|
|
646
|
+
.vdx-loop-arrow {
|
|
647
|
+
color: var(--warm);
|
|
648
|
+
font-family: var(--font-jetbrains-mono), monospace;
|
|
649
|
+
font-size: 16px;
|
|
650
|
+
}
|
|
651
|
+
.vdx-loop-return {
|
|
652
|
+
grid-column: 1 / -1;
|
|
653
|
+
height: 16px;
|
|
654
|
+
margin-top: 4px;
|
|
655
|
+
border-top: 1px dashed var(--warm-dim);
|
|
656
|
+
position: relative;
|
|
657
|
+
}
|
|
658
|
+
.vdx-loop-return::before {
|
|
659
|
+
content: "↺ feedback loop";
|
|
660
|
+
position: absolute;
|
|
661
|
+
top: -8px;
|
|
662
|
+
left: 50%;
|
|
663
|
+
transform: translateX(-50%);
|
|
664
|
+
background: var(--card-2);
|
|
665
|
+
color: var(--warm);
|
|
666
|
+
font-size: 10px;
|
|
667
|
+
letter-spacing: 0.12em;
|
|
668
|
+
padding: 0 8px;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
.vdx-fan {
|
|
672
|
+
width: 100%;
|
|
673
|
+
display: flex;
|
|
674
|
+
flex-direction: column;
|
|
675
|
+
align-items: stretch;
|
|
676
|
+
gap: 10px;
|
|
677
|
+
font-family: var(--font-jetbrains-mono), monospace;
|
|
678
|
+
}
|
|
679
|
+
.vdx-fan-laptop {
|
|
680
|
+
border: 1px solid oklch(0.78 0.16 70 / 0.35);
|
|
681
|
+
border-radius: 10px;
|
|
682
|
+
background: oklch(0.78 0.16 70 / 0.05);
|
|
683
|
+
padding: 12px 16px;
|
|
684
|
+
text-align: center;
|
|
685
|
+
}
|
|
686
|
+
.vdx-fan-label { color: var(--amber); font-size: 11px; letter-spacing: 0.16em; }
|
|
687
|
+
.vdx-fan-sub { display: block; color: var(--bone); font-size: 12px; margin-top: 2px; }
|
|
688
|
+
.vdx-fan-lines {
|
|
689
|
+
width: 100%;
|
|
690
|
+
height: 56px;
|
|
691
|
+
display: block;
|
|
692
|
+
overflow: visible;
|
|
693
|
+
}
|
|
694
|
+
.vdx-fan-lines path {
|
|
695
|
+
stroke: var(--warm-dim);
|
|
696
|
+
stroke-width: 1;
|
|
697
|
+
stroke-dasharray: 4 4;
|
|
698
|
+
fill: none;
|
|
699
|
+
}
|
|
700
|
+
.vdx-fan-targets {
|
|
701
|
+
display: grid;
|
|
702
|
+
grid-template-columns: repeat(3, 1fr);
|
|
703
|
+
gap: 6px;
|
|
704
|
+
}
|
|
705
|
+
.vdx-fan-target {
|
|
706
|
+
background: oklch(0.11 0.005 80);
|
|
707
|
+
border: 1px solid var(--line);
|
|
708
|
+
border-radius: 8px;
|
|
709
|
+
padding: 10px;
|
|
710
|
+
text-align: center;
|
|
711
|
+
color: var(--paper);
|
|
712
|
+
font-size: 11px;
|
|
713
|
+
}
|
|
714
|
+
.vdx-fan-target--remote {
|
|
715
|
+
border-color: oklch(0.6 0.13 200 / 0.30);
|
|
716
|
+
color: oklch(0.78 0.10 200);
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
/* ---- Architecture map ---- */
|
|
720
|
+
.vdx-arch {
|
|
721
|
+
position: relative;
|
|
722
|
+
z-index: 2;
|
|
723
|
+
max-width: 1240px;
|
|
724
|
+
margin: 0 auto;
|
|
725
|
+
padding: 96px 28px;
|
|
726
|
+
border-top: 1px solid var(--line-soft);
|
|
727
|
+
}
|
|
728
|
+
.vdx-arch-board {
|
|
729
|
+
border: 1px solid var(--line);
|
|
730
|
+
border-radius: 18px;
|
|
731
|
+
background:
|
|
732
|
+
linear-gradient(180deg, var(--card-2), var(--ink));
|
|
733
|
+
padding: 40px 28px 48px;
|
|
734
|
+
box-shadow: 0 30px 80px -40px oklch(0 0 0 / 0.7), inset 0 1px 0 oklch(1 0 0 / 0.04);
|
|
735
|
+
position: relative;
|
|
736
|
+
overflow: hidden;
|
|
737
|
+
}
|
|
738
|
+
.vdx-arch-board::before {
|
|
739
|
+
content: "";
|
|
740
|
+
position: absolute;
|
|
741
|
+
inset: 0;
|
|
742
|
+
background-image:
|
|
743
|
+
linear-gradient(to right, oklch(1 0 0 / 0.02) 1px, transparent 1px),
|
|
744
|
+
linear-gradient(to bottom, oklch(1 0 0 / 0.02) 1px, transparent 1px);
|
|
745
|
+
background-size: 28px 28px;
|
|
746
|
+
pointer-events: none;
|
|
747
|
+
}
|
|
748
|
+
.vdx-map {
|
|
749
|
+
position: relative;
|
|
750
|
+
display: flex;
|
|
751
|
+
flex-direction: column;
|
|
752
|
+
align-items: center;
|
|
753
|
+
gap: 0;
|
|
754
|
+
font-family: var(--font-jetbrains-mono), monospace;
|
|
755
|
+
}
|
|
756
|
+
.vdx-map-row { width: 100%; display: flex; justify-content: center; }
|
|
757
|
+
.vdx-map-block {
|
|
758
|
+
border: 1px solid var(--line);
|
|
759
|
+
background: oklch(0.10 0.005 80);
|
|
760
|
+
border-radius: 12px;
|
|
761
|
+
padding: 16px 24px;
|
|
762
|
+
text-align: center;
|
|
763
|
+
min-width: 280px;
|
|
764
|
+
}
|
|
765
|
+
.vdx-map-block--user {
|
|
766
|
+
border-color: oklch(0.78 0.16 70 / 0.30);
|
|
767
|
+
background: oklch(0.78 0.16 70 / 0.04);
|
|
768
|
+
}
|
|
769
|
+
.vdx-map-block--core {
|
|
770
|
+
border-color: oklch(0.78 0.16 70 / 0.50);
|
|
771
|
+
background: oklch(0.78 0.16 70 / 0.07);
|
|
772
|
+
box-shadow: 0 0 60px oklch(0.78 0.16 70 / 0.12);
|
|
773
|
+
min-width: 360px;
|
|
774
|
+
}
|
|
775
|
+
.vdx-map-block--remote { border-style: dashed; opacity: 0.85; }
|
|
776
|
+
.vdx-map-coord { color: var(--amber); font-size: 11px; letter-spacing: 0.16em; }
|
|
777
|
+
.vdx-map-label { display: block; color: var(--paper); font-size: 13px; margin-top: 4px; }
|
|
778
|
+
.vdx-map-foot { display: block; color: var(--warm); font-size: 11px; margin-top: 6px; }
|
|
779
|
+
.vdx-map-trunk {
|
|
780
|
+
width: 1px;
|
|
781
|
+
height: 28px;
|
|
782
|
+
background: linear-gradient(to bottom, transparent, var(--warm-dim), transparent);
|
|
783
|
+
}
|
|
784
|
+
.vdx-map-trunk--down { height: 28px; }
|
|
785
|
+
.vdx-map-row--split { height: 28px; align-items: stretch; }
|
|
786
|
+
.vdx-map-leg {
|
|
787
|
+
width: 50%;
|
|
788
|
+
border-top: 1px dashed var(--warm-dim);
|
|
789
|
+
}
|
|
790
|
+
.vdx-map-leg--left { border-right: 1px dashed var(--warm-dim); border-top-right-radius: 12px; }
|
|
791
|
+
.vdx-map-leg--right { border-left: 1px dashed var(--warm-dim); border-top-left-radius: 12px; margin-left: -1px; }
|
|
792
|
+
|
|
793
|
+
.vdx-map-row--cells { gap: 10px; flex-wrap: wrap; padding: 0 8px; }
|
|
794
|
+
.vdx-map-cluster {
|
|
795
|
+
flex: 1;
|
|
796
|
+
min-width: 220px;
|
|
797
|
+
border: 1px solid var(--line);
|
|
798
|
+
background: oklch(0.10 0.005 80);
|
|
799
|
+
border-radius: 12px;
|
|
800
|
+
padding: 14px;
|
|
801
|
+
display: flex;
|
|
802
|
+
flex-direction: column;
|
|
803
|
+
gap: 8px;
|
|
804
|
+
}
|
|
805
|
+
.vdx-cluster-label { font-size: 10.5px; letter-spacing: 0.16em; color: var(--amber); }
|
|
806
|
+
.vdx-cluster-cells { display: flex; flex-direction: column; gap: 6px; }
|
|
807
|
+
.vdx-cluster-cell {
|
|
808
|
+
background: oklch(0.13 0.005 80);
|
|
809
|
+
border: 1px solid var(--line-soft);
|
|
810
|
+
border-radius: 6px;
|
|
811
|
+
padding: 8px 10px;
|
|
812
|
+
color: var(--bone);
|
|
813
|
+
font-size: 11.5px;
|
|
814
|
+
}
|
|
815
|
+
.vdx-cluster-cell--ghost { border-style: dashed; opacity: 0.6; }
|
|
816
|
+
|
|
817
|
+
/* ---- Install ---- */
|
|
818
|
+
.vdx-install {
|
|
819
|
+
position: relative;
|
|
820
|
+
z-index: 2;
|
|
821
|
+
max-width: 880px;
|
|
822
|
+
margin: 0 auto;
|
|
823
|
+
padding: 96px 28px;
|
|
824
|
+
border-top: 1px solid var(--line-soft);
|
|
825
|
+
}
|
|
826
|
+
.vdx-install-sub {
|
|
827
|
+
margin-top: 14px;
|
|
828
|
+
color: var(--bone);
|
|
829
|
+
font-size: 15px;
|
|
830
|
+
}
|
|
831
|
+
.vdx-link {
|
|
832
|
+
color: var(--amber);
|
|
833
|
+
text-decoration: none;
|
|
834
|
+
border-bottom: 1px dashed oklch(0.78 0.16 70 / 0.5);
|
|
835
|
+
padding-bottom: 1px;
|
|
836
|
+
transition: color 0.2s;
|
|
837
|
+
}
|
|
838
|
+
.vdx-link:hover { color: oklch(0.88 0.16 72); }
|
|
839
|
+
|
|
840
|
+
.vdx-install-tabs {
|
|
841
|
+
display: flex;
|
|
842
|
+
gap: 8px;
|
|
843
|
+
margin-bottom: 14px;
|
|
844
|
+
margin-top: 32px;
|
|
845
|
+
}
|
|
846
|
+
.vdx-install-tab {
|
|
847
|
+
display: inline-flex; align-items: center; gap: 8px;
|
|
848
|
+
background: transparent;
|
|
849
|
+
border: 1px solid var(--line);
|
|
850
|
+
color: var(--bone);
|
|
851
|
+
padding: 9px 16px;
|
|
852
|
+
border-radius: 999px;
|
|
853
|
+
font-family: var(--font-jetbrains-mono), monospace;
|
|
854
|
+
font-size: 11.5px;
|
|
855
|
+
letter-spacing: 0.06em;
|
|
856
|
+
cursor: pointer;
|
|
857
|
+
transition: all 0.18s;
|
|
858
|
+
}
|
|
859
|
+
.vdx-install-tab:hover { color: var(--paper); border-color: var(--bone); }
|
|
860
|
+
.vdx-install-tab.is-active {
|
|
861
|
+
background: var(--amber);
|
|
862
|
+
color: var(--ink-deep);
|
|
863
|
+
border-color: var(--amber);
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
.vdx-install-card {
|
|
867
|
+
border: 1px solid var(--line);
|
|
868
|
+
border-radius: 14px;
|
|
869
|
+
background: var(--card);
|
|
870
|
+
overflow: hidden;
|
|
871
|
+
}
|
|
872
|
+
.vdx-install-card-head {
|
|
873
|
+
display: flex; justify-content: space-between; align-items: center;
|
|
874
|
+
padding: 12px 18px;
|
|
875
|
+
border-bottom: 1px solid var(--line);
|
|
876
|
+
background: oklch(0.10 0.005 80);
|
|
877
|
+
font-family: var(--font-jetbrains-mono), monospace;
|
|
878
|
+
font-size: 11px;
|
|
879
|
+
color: var(--warm);
|
|
880
|
+
letter-spacing: 0.06em;
|
|
881
|
+
}
|
|
882
|
+
.vdx-install-card-coord { color: var(--amber); }
|
|
883
|
+
.vdx-install-steps {
|
|
884
|
+
list-style: none;
|
|
885
|
+
margin: 0;
|
|
886
|
+
padding: 22px 22px 24px;
|
|
887
|
+
display: flex;
|
|
888
|
+
flex-direction: column;
|
|
889
|
+
gap: 18px;
|
|
890
|
+
}
|
|
891
|
+
.vdx-install-step {
|
|
892
|
+
display: grid;
|
|
893
|
+
grid-template-columns: 36px 1fr;
|
|
894
|
+
gap: 14px;
|
|
895
|
+
align-items: start;
|
|
896
|
+
}
|
|
897
|
+
.vdx-install-step-n {
|
|
898
|
+
font-family: var(--font-jetbrains-mono), monospace;
|
|
899
|
+
font-size: 11px;
|
|
900
|
+
letter-spacing: 0.14em;
|
|
901
|
+
color: var(--amber);
|
|
902
|
+
margin-top: 4px;
|
|
903
|
+
}
|
|
904
|
+
.vdx-install-step-text {
|
|
905
|
+
color: var(--bone);
|
|
906
|
+
font-size: 14px;
|
|
907
|
+
margin-bottom: 8px;
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
.vdx-code-block {
|
|
911
|
+
display: flex; align-items: center; gap: 10px;
|
|
912
|
+
background: oklch(0.07 0.005 80);
|
|
913
|
+
border: 1px solid var(--line);
|
|
914
|
+
border-radius: 8px;
|
|
915
|
+
padding: 10px 12px;
|
|
916
|
+
font-family: var(--font-jetbrains-mono), monospace;
|
|
917
|
+
font-size: 12px;
|
|
918
|
+
}
|
|
919
|
+
.vdx-code-prompt { color: var(--amber); }
|
|
920
|
+
.vdx-code-text {
|
|
921
|
+
flex: 1;
|
|
922
|
+
color: var(--paper);
|
|
923
|
+
overflow-x: auto;
|
|
924
|
+
white-space: pre;
|
|
925
|
+
}
|
|
926
|
+
.vdx-code-copy {
|
|
927
|
+
color: var(--warm);
|
|
928
|
+
background: transparent;
|
|
929
|
+
border: none;
|
|
930
|
+
cursor: pointer;
|
|
931
|
+
padding: 4px;
|
|
932
|
+
border-radius: 4px;
|
|
933
|
+
display: inline-flex;
|
|
934
|
+
transition: color 0.15s, background 0.15s;
|
|
935
|
+
}
|
|
936
|
+
.vdx-code-copy:hover { color: var(--paper); background: oklch(1 0 0 / 0.04); }
|
|
937
|
+
|
|
938
|
+
/* ---- Closing ---- */
|
|
939
|
+
.vdx-closing {
|
|
940
|
+
position: relative;
|
|
941
|
+
z-index: 2;
|
|
942
|
+
max-width: 1240px;
|
|
943
|
+
margin: 0 auto;
|
|
944
|
+
padding: 120px 28px 96px;
|
|
945
|
+
text-align: center;
|
|
946
|
+
border-top: 1px solid var(--line-soft);
|
|
947
|
+
}
|
|
948
|
+
.vdx-closing-line {
|
|
949
|
+
font-family: var(--font-geist-sans), system-ui, sans-serif;
|
|
950
|
+
font-size: clamp(28px, 4.2vw, 56px);
|
|
951
|
+
font-weight: 500;
|
|
952
|
+
line-height: 1.12;
|
|
953
|
+
color: var(--paper);
|
|
954
|
+
margin-bottom: 36px;
|
|
955
|
+
letter-spacing: -0.03em;
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
/* ---- Footer ---- */
|
|
959
|
+
.vdx-footer {
|
|
960
|
+
position: relative;
|
|
961
|
+
z-index: 2;
|
|
962
|
+
border-top: 1px solid var(--line-soft);
|
|
963
|
+
padding: 24px 28px;
|
|
964
|
+
}
|
|
965
|
+
.vdx-footer-inner {
|
|
966
|
+
max-width: 1240px;
|
|
967
|
+
margin: 0 auto;
|
|
968
|
+
display: flex;
|
|
969
|
+
justify-content: space-between;
|
|
970
|
+
align-items: center;
|
|
971
|
+
gap: 18px;
|
|
972
|
+
font-family: var(--font-jetbrains-mono), monospace;
|
|
973
|
+
font-size: 10.5px;
|
|
974
|
+
letter-spacing: 0.16em;
|
|
975
|
+
color: var(--warm);
|
|
976
|
+
flex-wrap: wrap;
|
|
977
|
+
}
|
|
978
|
+
.vdx-footer-sep { opacity: 0.4; }
|
|
979
|
+
`;function rO({children:t}){let{getToken:e,isSignedIn:i}=(0,d.useAuth)();return(0,a.useEffect)(()=>{if(!i)return void(0,u.setAuthToken)(null);e().then(t=>(0,u.setAuthToken)(t));let t=setInterval(async()=>{let t=await e();(0,u.setAuthToken)(t)},5e4);return()=>clearInterval(t)},[i,e]),(0,r.jsx)(r.Fragment,{children:t})}function rz({children:t}){let{isSignedIn:e,isLoaded:i}=(0,d.useAuth)(),[s,n]=(0,a.useState)(!1);return((0,a.useEffect)(()=>{let t=window.location.hash;(t.includes("/sso-callback")||t.includes("/factor"))&&n(!0)},[]),i)?e?(0,r.jsx)(r.Fragment,{children:t}):s?(0,r.jsx)("div",{className:"h-screen flex flex-col items-center justify-center bg-background",children:(0,r.jsxs)("div",{className:"w-full max-w-md",children:[(0,r.jsxs)(m.Button,{variant:"ghost",className:"mb-4 text-muted-foreground hover:text-foreground",onClick:()=>n(!1),children:[(0,r.jsx)(c,{className:"mr-2 h-4 w-4"}),"Back"]}),(0,r.jsx)(l.SignIn,{routing:"hash",appearance:{elements:{rootBox:"mx-auto",card:"shadow-lg"}}})]})}):(0,r.jsx)(rD,{onSignIn:()=>n(!0)}):(0,r.jsx)("div",{className:"h-screen flex items-center justify-center",children:(0,r.jsx)("div",{className:"animate-spin h-8 w-8 border-2 border-primary border-t-transparent rounded-full"})})}function rU({children:t}){let{config:e,loading:i}=(0,p.useAppConfig)();return i?(0,r.jsx)("div",{className:"h-screen flex items-center justify-center",children:(0,r.jsx)("div",{className:"animate-spin h-8 w-8 border-2 border-primary border-t-transparent rounded-full"})}):e?.authEnabled&&e.clerkPublishableKey?(0,r.jsx)(o.ClerkProvider,{publishableKey:e.clerkPublishableKey,children:(0,r.jsx)(rO,{children:(0,r.jsx)(rz,{children:t})})}):(0,r.jsx)(r.Fragment,{children:t})}var rW=t.i(254824),r$=t.i(276949);function rY({children:t}){return(0,r.jsx)(rU,{children:(0,r.jsx)(r$.TerminalSettingsProvider,{children:(0,r.jsx)(rW.BrowserFramesProvider,{children:t})})})}t.s(["ClientProviders",()=>rY],573751)}]);
|