PageSourceSearch

https://www.bootnode.dev/_next/static/chunks/001il0lg2qa1o.js

js bootnode.dev collected 2026-10-03 23:51:36 UTC 146,232 bytes, 136 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,14503,55810,71955,93959,54511,21006,98125,13953,3595,22405,65907,51233,88905,19744,44063,50180,42827,62448,46164,27524,93709,78892,68445,55974,25412,32486,78269,93345,25778,12179,33592,86791,50833,83026,90516,19708,47477,12159,801,71188,46768,25346,25052,20007,66651,91770,30195,68782,49276,60541,35403,81057,4955,4606,t=>{"use strict";let e,i,n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],s=new Set(n);t.s(["transformPropOrder",0,n,"transformProps",0,s],55810);let r=(t,e,i)=>i>e?e:i<t?t:i;t.s(["clamp",0,r],71955);let o={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},a={...o,transform:t=>r(0,1,t)},l={...o,default:1},u=t=>Math.round(1e5*t)/1e5,h=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,c=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,d=(t,e)=>i=>!!("string"==typeof i&&c.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),m=(t,e,i)=>n=>{if("string"!=typeof n)return n;let[s,r,o,a]=n.match(h);return{[t]:parseFloat(s),[e]:parseFloat(r),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},p={...o,transform:t=>Math.round(r(0,255,t))},f={test:d("rgb","red"),parse:m("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+p.transform(t)+", "+p.transform(e)+", "+p.transform(i)+", "+u(a.transform(n))+")"};t.s(["rgba",0,f],93959);let g={test:d("#"),parse:function(t){let e="",i="",n="",s="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),s=t.substring(4,5),e+=e,i+=i,n+=n,s+=s),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:s?parseInt(s,16)/255:1}},transform:f.transform};t.s(["hex",0,g],54511);let v=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),y=v("deg"),x=v("%"),b=v("px"),w=v("vh"),T=v("vw"),P={...x,parse:t=>x.parse(t)/100,transform:t=>x.transform(100*t)};t.s(["degrees",0,y,"percent",0,x,"progressPercentage",0,P,"px",0,b,"vh",0,w,"vw",0,T],21006);let S={test:d("hsl","hue"),parse:m("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:n=1})=>"hsla("+Math.round(t)+", "+x.transform(u(e))+", "+x.transform(u(i))+", "+u(a.transform(n))+")"};t.s(["hsla",0,S],98125);let M={test:t=>f.test(t)||g.test(t)||S.test(t),parse:t=>f.test(t)?f.parse(t):S.test(t)?S.parse(t):g.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?f.transform(t):S.transform(t),getAnimatableNone:t=>{let e=M.parse(t);return e.alpha=0,M.transform(e)}};t.s(["color",0,M],13953);let C=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,E="number",A="color",V=/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 D(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},s=[],r=0,o=e.replace(V,t=>(M.test(t)?(n.color.push(r),s.push(A),i.push(M.parse(t))):t.startsWith("var(")?(n.var.push(r),s.push("var"),i.push(t)):(n.number.push(r),s.push(E),i.push(parseFloat(t))),++r,"${}")).split("${}");return{values:i,split:o,indexes:n,types:s}}function R(t){return D(t).values}function k(t){let{split:e,types:i}=D(t),n=e.length;return t=>{let s="";for(let r=0;r<n;r++)if(s+=e[r],void 0!==t[r]){let e=i[r];e===E?s+=u(t[r]):e===A?s+=M.transform(t[r]):s+=t[r]}return s}}let L=t=>"number"==typeof t?0:M.test(t)?M.getAnimatableNone(t):t,B={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(h)?.length||0)+(t.match(C)?.length||0)>0},parse:R,createTransformer:k,getAnimatableNone:function(t){let e=R(t);return k(t)(e.map(L))}};t.s(["analyseComplexValue",0,D,"complex",0,B],3595);let j=new Set(["brightness","contrast","saturate","opacity"]);function F(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(h)||[];if(!n)return t;let s=i.replace(n,""),r=+!!j.has(e);return n!==i&&(r*=100),e+"("+r+s+")"}let O=/\b([a-z-]*)\(.*?\)/gu,I={...B,getAnimatableNone:t=>{let e=t.match(O);return e?e.map(F).join(" "):t}},N={...B,getAnimatableNone:t=>{let e=B.parse(t);return B.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}},$={...o,transform:Math.round},z={borderWidth:b,borderTopWidth:b,borderRightWidth:b,borderBottomWidth:b,borderLeftWidth:b,borderRadius:b,borderTopLeftRadius:b,borderTopRightRadius:b,borderBottomRightRadius:b,borderBottomLeftRadius:b,width:b,maxWidth:b,height:b,maxHeight:b,top:b,right:b,bottom:b,left:b,inset:b,insetBlock:b,insetBlockStart:b,insetBlockEnd:b,insetInline:b,insetInlineStart:b,insetInlineEnd:b,padding:b,paddingTop:b,paddingRight:b,paddingBottom:b,paddingLeft:b,paddingBlock:b,paddingBlockStart:b,paddingBlockEnd:b,paddingInline:b,paddingInlineStart:b,paddingInlineEnd:b,margin:b,marginTop:b,marginRight:b,marginBottom:b,marginLeft:b,marginBlock:b,marginBlockStart:b,marginBlockEnd:b,marginInline:b,marginInlineStart:b,marginInlineEnd:b,fontSize:b,backgroundPositionX:b,backgroundPositionY:b,rotate:y,rotateX:y,rotateY:y,rotateZ:y,scale:l,scaleX:l,scaleY:l,scaleZ:l,skew:y,skewX:y,skewY:y,distance:b,translateX:b,translateY:b,translateZ:b,x:b,y:b,z:b,perspective:b,transformPerspective:b,opacity:a,originX:P,originY:P,originZ:b,zIndex:$,fillOpacity:a,strokeOpacity:a,numOctaves:$},_={...z,color:M,backgroundColor:M,outlineColor:M,fill:M,stroke:M,borderColor:M,borderTopColor:M,borderRightColor:M,borderBottomColor:M,borderLeftColor:M,filter:I,WebkitFilter:I,mask:N,WebkitMask:N},U=t=>_[t],W=()=>({translate:0,scale:1,origin:0,originPoint:0}),G=()=>({min:0,max:0}),H=()=>({x:G(),y:G()});t.s(["createBox",0,H,"createDelta",0,()=>({x:W(),y:W()})],22405);let X=t=>!!(t&&t.getVelocity);t.s(["isMotionValue",0,X],65907);let Y=new Set(["width","height","top","left","right","bottom",...n]);t.s(["positionalKeys",0,Y],51233);let K=t=>e=>e.test(t),q=[o,b,x,y,T,w,{test:t=>"auto"===t,parse:t=>t}],Z=t=>q.find(K(t));var J=t.i(50461);let Q=()=>{};J.default,t.s(["invariant",0,Q,"warning",0,()=>{}],88905);let tt=t=>e=>"string"==typeof e&&e.startsWith(t),te=tt("--"),ti=tt("var(--"),tn=t=>!!ti(t)&&ts.test(t.split("/*")[0].trim()),ts=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function tr(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}t.s(["containsCSSVariable",0,tr,"isCSSVariableName",0,te,"isCSSVariableToken",0,tn],19744);let to=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ta=t=>180*t/Math.PI,tl=t=>th(ta(Math.atan2(t[1],t[0]))),tu={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:tl,rotateZ:tl,skewX:t=>ta(Math.atan(t[1])),skewY:t=>ta(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},th=t=>((t%=360)<0&&(t+=360),t),tc=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),td=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),tm={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tc,scaleY:td,scale:t=>(tc(t)+td(t))/2,rotateX:t=>th(ta(Math.atan2(t[6],t[5]))),rotateY:t=>th(ta(Math.atan2(-t[2],t[0]))),rotateZ:tl,rotate:tl,skewX:t=>ta(Math.atan(t[4])),skewY:t=>ta(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function tp(t){return+!!t.includes("scale")}function tf(t,e){let i,n;if(!t||"none"===t)return tp(e);let s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(s)i=tm,n=s;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=tu,n=e}if(!n)return tp(e);let r=i[e],o=n[1].split(",").map(tg);return"function"==typeof r?r(o):o[r]}function tg(t){return parseFloat(t.trim())}let tv=t=>t===o||t===b,ty=new Set(["x","y","z"]),tx=n.filter(t=>!ty.has(t)),tb={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})=>tf(e,"x"),y:(t,{transform:e})=>tf(e,"y")};tb.translateX=tb.x,tb.translateY=tb.y;let tw=t=>t;t.s(["noop",0,tw],44063);let tT={};t.s(["MotionGlobalConfig",0,tT],50180);let tP=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],tS={value:null,addProjectionMetrics:null};function tM(t,e){let i=!1,n=!0,s={delta:0,timestamp:0,isProcessing:!1},r=()=>i=!0,o=tP.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,n=new Set,s=!1,r=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(e){o.has(e)&&(h.schedule(e),t()),l++,e(a)}let h={schedule:(t,e=!1,r=!1)=>{let a=r&&s?i:n;return e&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{n.delete(t),o.delete(t)},process:t=>{if(a=t,s){r=!0;return}
1s=!0,[i,n]=[n,i],i.forEach(u),e&&tS.value&&tS.value.frameloop[e].push(l),l=0,i.clear(),s=!1,r&&(r=!1,h.process(t))}};return h}(r,e?i:void 0),t),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:h,update:c,preRender:d,render:m,postRender:p}=o,f=()=>{let r=tT.useManualTiming?s.timestamp:performance.now();i=!1,tT.useManualTiming||(s.delta=n?1e3/60:Math.max(Math.min(r-s.timestamp,40),1)),s.timestamp=r,s.isProcessing=!0,a.process(s),l.process(s),u.process(s),h.process(s),c.process(s),d.process(s),m.process(s),p.process(s),s.isProcessing=!1,i&&e&&(n=!1,t(f))};return{schedule:tP.reduce((e,r)=>{let a=o[r];return e[r]=(e,r=!1,o=!1)=>(!i&&(i=!0,n=!0,s.isProcessing||t(f)),a.schedule(e,r,o)),e},{}),cancel:t=>{for(let e=0;e<tP.length;e++)o[tP[e]].cancel(t)},state:s,steps:o}}t.s(["statsBuffer",0,tS],42827);let{schedule:tC,cancel:tE,state:tA,steps:tV}=tM("u">typeof requestAnimationFrame?requestAnimationFrame:tw,!0);t.s(["cancelFrame",0,tE,"frame",0,tC,"frameData",0,tA,"frameSteps",0,tV],62448);let tD=new Set,tR=!1,tk=!1,tL=!1;function tB(){if(tk){let t=Array.from(tD).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,n=(e=[],tx.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e);n.length&&(i.set(t,n),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)})}tk=!1,tR=!1,tD.forEach(t=>t.complete(tL)),tD.clear()}function tj(){tD.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tk=!0)})}class tF{constructor(t,e,i,n,s,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=s,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(tD.add(this),tR||(tR=!0,tC.read(tj),tC.resolveKeyframes(tB))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;if(null===t[0]){let s=n?.get(),r=t[t.length-1];if(void 0!==s)t[0]=s;else if(i&&e){let n=i.readValue(e,r);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=r),n&&void 0===s&&n.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),tD.delete(this)}cancel(){"scheduled"===this.state&&(tD.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}t.s(["KeyframeResolver",0,tF,"flushKeyframeResolvers",0,function(){tL=!0,tj(),tB(),tL=!1}],46164);let tO=new Set([I,N]);function tI(t,e){let i=U(t);return tO.has(i)||(i=B),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let tN=new Set(["auto","none","0"]);class t$ extends tF{constructor(t,e,i,n,s){super(t,e,i,n,s,!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 n=t[i];if("string"==typeof n&&tn(n=n.trim())){let s=function t(e,i,n=1){Q(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[s,r]=function(t){let e=to.exec(t);if(!e)return[,];let[,i,n,s]=e;return[`--${i??n}`,s]}(e);if(!s)return;let o=window.getComputedStyle(i).getPropertyValue(s);if(o){let t=o.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return tn(r)?t(r,i,n+1):r}(n,e.current);void 0!==s&&(t[i]=s),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!Y.has(i)||2!==t.length)return;let[n,s]=t,r=Z(n),o=Z(s);if(tr(n)!==tr(s)&&tb[i]){this.needsMeasurement=!0;return}if(r!==o)if(tv(r)&&tv(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else tb[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);
1i.length&&function(t,e,i){let n,s=0;for(;s<t.length&&!n;){let e=t[s];"string"==typeof e&&!tN.has(e)&&D(e).values.length&&(n=t[s]),s++}if(n&&i)for(let s of e)t[s]=tI(i,n)}(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=tb[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let n=t.getValue(e);n&&n.jump(this.measuredOrigin,!1);let s=i.length-1,r=i[s];i[s]=tb[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()}}let tz=t=>1e3*t,t_=t=>t/1e3;function tU(t,e){-1===t.indexOf(e)&&t.push(e)}function tW(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}t.s(["millisecondsToSeconds",0,t_,"secondsToMilliseconds",0,tz],27524),t.s(["addUniqueItem",0,tU,"removeItem",0,tW],93709);class tG{constructor(){this.subscriptions=[]}add(t){return tU(this.subscriptions,t),()=>tW(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let s=0;s<n;s++){let n=this.subscriptions[s];n&&n(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function tH(t){let e;return()=>(void 0===e&&(e=t()),e)}t.s(["SubscriptionManager",0,tG],78892),t.s(["memo",0,tH],68445);let tX={};function tY(t,e){let i=tH(t);return()=>tX[e]??i()}let tK=tY(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),tq=t=>null!==t;function tZ(t,{repeat:e,repeatType:i="loop"},n,s=1){let r=t.filter(tq),o=s<0||e&&"loop"!==i&&e%2==1?0:r.length-1;return o&&void 0!==n?n:r[o]}t.s(["getFinalKeyframe",0,tZ],55974);class tJ{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)}}t.s(["WithPromise",0,tJ],25412);let tQ={layout:0,mainThread:0,waapi:0};t.s(["activeAnimations",0,tQ],32486);let t0=t=>Array.isArray(t)&&"number"==typeof t[0];t.s(["isBezierDefinition",0,t0],78269);let t1=tY(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),t2=(t,e,i=10)=>{let n="",s=Math.max(Math.round(e/i),2);for(let e=0;e<s;e++)n+=Math.round(1e4*t(e/(s-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`};t.s(["generateLinearEasing",0,t2],93345);let t5=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,t8={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:t5([0,.65,.55,1]),circOut:t5([.55,0,1,.45]),backIn:t5([.31,.01,.66,-.59]),backOut:t5([.33,1.53,.69,.99])};function t6(t){return"function"==typeof t&&"applyToOptions"in t}t.s(["isGenerator",0,t6],25778);class t3 extends tJ{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:i,keyframes:n,pseudoElement:s,allowFlatten:r=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!s,this.allowFlatten=r,this.options=t,Q("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return t6(t)&&t1()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:n=0,duration:s=300,repeat:r=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let h={[e]:i};l&&(h.offset=l);let c=function t(e,i){if(e)return"function"==typeof e?t1()?t2(e,i):"ease-out":t0(e)?t5(e):Array.isArray(e)?e.map(e=>t(e,i)||t8.easeOut):t8[e]}(a,s);Array.isArray(c)&&(h.easing=c),tS.value&&tQ.waapi++;let d={delay:n,duration:s,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:r+1,direction:"reverse"===o?"alternate":"normal"};u&&(d.pseudoElement=u);let m=t.animate(h,d);return tS.value&&m.finished.finally(()=>{tQ.waapi--}),m}(e,i,n,l,s),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){let t=tZ(n,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(t):i.startsWith("--")?e.style.setProperty(i,t):e.style[i]=t,this.animation.cancel()}a?.(),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(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){return t_(Number(this.animation.effect?.getComputedTiming?.().duration||0))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t_(t)}get time(){return t_(Number(this.animation.currentTime)||0)}set time(t){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=tz(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&&tK())?(this.animation.timeline=t,tw):e(this)}}t.s(["NativeAnimation",0,t3],12179);let t9=new Set(["opacity","clipPath","filter","transform"]),{schedule:t4}=tM(queueMicrotask,!1);function t7(){i=void 0}t.s(["microtask",0,t4],33592);let et={now:()=>(void 0===i&&et.set(tA.isProcessing||tT.useManualTiming?tA.timestamp:performance.now()),i),set:t=>{i=t,queueMicrotask(t7)}};function ee(t,e){return e?1e3/e*t:0}t.s(["time",0,et],86791),t.s(["velocityPerSecond",0,ee],50833);class ei{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=et.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=et.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 tG);let i=this.events[t].add(e);return"change"===t?()=>{i(),tC.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 e&&e.push(this),this.current}getPrevious(){return this.prev}
1getVelocity(){let t=et.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return ee(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}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 en(t,e){return new ei(t,e)}t.s(["motionValue",0,en],83026);let es=[...q,M,B],er=new WeakMap;function eo(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function ea(t){return"string"==typeof t||Array.isArray(t)}t.s(["isAnimationControls",0,eo],90516),t.s(["isVariantLabel",0,ea],19708);let el=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],eu=["initial",...el];function eh(t){return eo(t.animate)||eu.some(e=>ea(t[e]))}function ec(t){return!!(eh(t)||t.variants)}t.s(["variantPriorityOrder",0,el,"variantProps",0,eu],47477),t.s(["isControllingVariants",0,eh,"isVariantNode",0,ec],12159);let ed={current:null},em={current:!1},ep="u">typeof window;function ef(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function eg(t,e,i,n){if("function"==typeof e){let[s,r]=ef(n);e=e(void 0!==i?i:t.custom,s,r)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[s,r]=ef(n);e=e(void 0!==i?i:t.custom,s,r)}return e}t.s(["resolveVariantFromProps",0,eg],801);let ev=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],ey={};class ex{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,skipAnimations:s,blockInitialAnimation:r,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=tF,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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=et.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,tC.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=s,this.options=a,this.blockInitialAnimation=!!r,this.isControllingVariants=eh(e),this.isVariantNode=ec(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:h,...c}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in c){const e=c[t];void 0!==l[t]&&X(e)&&e.set(l[t])}}mount(t){if(this.hasBeenMounted)for(let t in this.initialValues)this.values.get(t)?.jump(this.initialValues[t]),this.latestValues[t]=this.initialValues[t];this.current=t,er.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:(em.current||function(){if(em.current=!0,ep)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>ed.current=t.matches;t.addEventListener("change",e),e()}else ed.current=!1}(),this.shouldReduceMotion=ed.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let t in this.projection&&this.projection.unmount(),tE(this.notifyUpdate),tE(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;if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&t9.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:n,times:s,ease:r,duration:o}=e.accelerate,a=new t3({element:this.current,name:t,keyframes:n,times:s,ease:r,duration:tz(o)}),l=i(a);this.valueSubscriptions.set(t,()=>{l(),a.cancel()});return}let n=s.has(t);n&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tC.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in ey){let e=ey[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];
1e.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):H()}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<ev.length;e++){let i=ev[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let s=e[n],r=i[n];if(X(s))t.addValue(n,s);else if(X(r))t.addValue(n,en(s,{owner:t}));else if(r!==s)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(n);t.addValue(n,en(void 0!==e?e:s,{owner:t}))}}for(let n in i)void 0===e[n]&&t.removeValue(n);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=en(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 n,s;if("string"==typeof i&&(n=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(s=i,/^0[^.\s]+$/u.test(s))))i=parseFloat(i);else{let n;n=i,!es.find(K(n))&&B.test(e)&&(i=tI(t,e))}this.setBaseTarget(t,X(i)?i.get():i)}return X(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 n=eg(this.props,i,this.presenceContext?.custom);n&&(e=n[t])}if(i&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||X(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new tG),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){t4.render(this.render)}}t.s(["VisualElement",0,ex,"getFeatureDefinitions",0,function(){return ey},"setFeatureDefinitions",0,function(t){ey=t}],71188);class eb extends ex{constructor(){super(...arguments),this.KeyframeResolver=t$}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;X(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function ew(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}t.s(["camelToDash",0,ew],46768);let eT=(t,e)=>e&&"number"==typeof t?e.transform(t):t,eP={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eS=n.length;function eM(t,e,i){let{style:r,vars:o,transformOrigin:a}=t,l=!1,u=!1;for(let t in e){let i=e[t];if(s.has(t)){l=!0;continue}if(te(t)){o[t]=i;continue}{let e=eT(i,z[t]);t.startsWith("origin")?(u=!0,a[t]=e):r[t]=e}}
1if(!e.transform&&(l||i?r.transform=function(t,e,i){let s="",r=!0;for(let o=0;o<eS;o++){let a=n[o],l=t[a];if(void 0===l)continue;let u=!0;if("number"==typeof l)u=l===+!!a.startsWith("scale");else{let t=parseFloat(l);u=a.startsWith("scale")?1===t:0===t}if(!u||i){let t=eT(l,z[a]);if(!u){r=!1;let e=eP[a]||a;s+=`${e}(${t}) `}i&&(e[a]=t)}}return s=s.trim(),i?s=i(e,r?"":s):r&&(s="none"),s}(e,t.transform,i):r.transform&&(r.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:i=0}=a;r.transformOrigin=`${t} ${e} ${i}`}}t.s(["buildHTMLStyles",0,eM],25346);let eC={offset:"stroke-dashoffset",array:"stroke-dasharray"},eE={offset:"strokeDashoffset",array:"strokeDasharray"},eA=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function eV(t,{attrX:e,attrY:i,attrScale:n,pathLength:s,pathSpacing:r=1,pathOffset:o=0,...a},l,u,h){if(eM(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:c,style:d}=t;for(let t of(c.transform&&(d.transform=c.transform,delete c.transform),(d.transform||c.transformOrigin)&&(d.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),d.transform&&(d.transformBox=h?.transformBox??"fill-box",delete c.transformBox),eA))void 0!==c[t]&&(d[t]=c[t],delete c[t]);void 0!==e&&(c.x=e),void 0!==i&&(c.y=i),void 0!==n&&(c.scale=n),void 0!==s&&function(t,e,i=1,n=0,s=!0){t.pathLength=1;let r=s?eC:eE;t[r.offset]=`${-n}`,t[r.array]=`${e} ${i}`}(c,s,r,o,!1)}t.s(["buildSVGAttrs",0,eV],25052);let eD=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"]),eR=t=>"string"==typeof t&&"svg"===t.toLowerCase();function ek(t,{style:e,vars:i},n,s){let r,o=t.style;for(r in e)o[r]=e[r];for(r in s?.applyProjectionStyles(o,n),i)o.setProperty(r,i[r])}function eL(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}t.s(["isSVGTag",0,eR],20007);let eB={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!b.test(t))return t;else t=parseFloat(t);let i=eL(t,e.target.x),n=eL(t,e.target.y);return`${i}% ${n}%`}},ej=(t,e,i)=>t+(e-t)*i;t.s(["mixNumber",0,ej],66651);let eF={borderRadius:{...eB,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:eB,borderTopRightRadius:eB,borderBottomLeftRadius:eB,borderBottomRightRadius:eB,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=B.parse(t);if(n.length>5)return t;let s=B.createTransformer(t),r=+("number"!=typeof n[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;n[0+r]/=o,n[1+r]/=a;let l=ej(o,a,.5);return"number"==typeof n[2+r]&&(n[2+r]/=l),"number"==typeof n[3+r]&&(n[3+r]/=l),s(n)}}};function eO(t,{layout:e,layoutId:i}){return s.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!eF[t]||"opacity"===t)}function eI(t,e,i){let n=t.style,s=e?.style,r={};if(!n)return r;for(let e in n)(X(n[e])||s&&X(s[e])||eO(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(r[e]=n[e]);return r}function eN(t,e,i){let s=eI(t,e,i);for(let i in t)(X(t[i])||X(e[i]))&&(s[-1!==n.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return s}t.s(["scaleCorrectors",0,eF],91770),t.s(["isForcedMotionValue",0,eO],30195),t.s(["scrapeMotionValuesFromProps",0,eI],68782),t.s(["scrapeMotionValuesFromProps",0,eN],49276);class e$ extends eb{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=H}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(s.has(e)){let t=U(e);return t&&t.default||0}return e=eD.has(e)?e:ew(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return eN(t,e,i)}build(t,e,i){eV(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in ek(t,e,void 0,n),e.attrs)t.setAttribute(eD.has(i)?i:ew(i),e.attrs[i])}mount(t){this.isSVGTag=eR(t.tagName),super.mount(t)}}function ez({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function e_(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}function eU(t){return void 0===t||1===t}function eW({scale:t,scaleX:e,scaleY:i}){return!eU(t)||!eU(e)||!eU(i)}function eG(t){return eW(t)||eH(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function eH(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function eX(t,e,i){return i+e*(t-i)}function eY(t,e,i,n,s){return void 0!==s&&(t=eX(t,s,n)),eX(t,i,n)+e}function eK(t,e=0,i=1,n,s){t.min=eY(t.min,e,i,n,s),t.max=eY(t.max,e,i,n,s)}function eq(t,{x:e,y:i}){eK(t.x,e.translate,e.scale,e.originPoint),eK(t.y,i.translate,i.scale,i.originPoint)}function eZ(t,e){t.min=t.min+e,t.max=t.max+e}function eJ(t,e,i,n,s=.5){let r=ej(t.min,t.max,s);eK(t,e,i,r,n)}function eQ(t,e){eJ(t.x,e.x,e.scaleX,e.scale,e.originX),eJ(t.y,e.y,e.scaleY,e.scale,e.originY)}function e0(t,e){return ez(e_(t.getBoundingClientRect(),e))}t.s(["convertBoundingBoxToBox",0,ez,"convertBoxToBoundingBox",0,function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}},"transformBoxPoints",0,e_],60541),t.s(["has2DTranslate",0,eH,"hasScale",0,eW,"hasTransform",0,eG],35403),t.s(["applyBoxDelta",0,eq,"applyTreeDeltas",0,function(t,e,
1i,n=!1){let s,r,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){r=(s=i[a]).projectionDelta;let{visualElement:o}=s.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&s.options.layoutScroll&&s.scroll&&s!==s.root&&eQ(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),r&&(e.x*=r.x.scale,e.y*=r.y.scale,eq(t,r)),n&&eG(s.latestValues)&&eQ(t,s.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}},"scalePoint",0,eX,"transformBox",0,eQ,"translateAxis",0,eZ],81057),t.s(["measurePageBox",0,function(t,e,i){let n=e0(t,i),{scroll:s}=e;return s&&(eZ(n.x,s.offset.x),eZ(n.y,s.offset.y)),n},"measureViewportBox",0,e0],4955);class e1 extends eb{constructor(){super(...arguments),this.type="html",this.renderInstance=ek}readValueFromInstance(t,e){if(s.has(e))return this.projection?.isProjecting?tp(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return tf(i,e)})(t,e);{let i=window.getComputedStyle(t),n=(te(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return e0(t,e)}build(t,e,i){eM(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return eI(t,e,i)}}var e2=t.i(91788);let e5=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function e8(t){if("string"!=typeof t||t.includes("-"));else if(e5.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}t.s(["isSVGComponent",0,e8],4606),t.s(["createDomVisualElement",0,(t,e)=>e.isSVG??e8(t)?new e$(e):new e1(e,{allowProjection:t!==e2.Fragment})],14503)},11535,t=>{"use strict";let e=(0,t.i(91788).createContext)({});t.s(["LayoutGroupContext",0,e])},64854,t=>{"use strict";let e=(0,t.i(91788).createContext)({strict:!1});t.s(["LazyContext",0,e])},12600,t=>{"use strict";let e=(0,t.i(91788).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",0,e])},64357,86649,28235,89124,38777,46530,32866,t=>{"use strict";var e,i=t.i(91788);let n=(0,i.createContext)({});t.s(["MotionContext",0,n],64357);var s=t.i(12159),r=t.i(19708);function o(t){return Array.isArray(t)?t.join(" "):t}t.s(["useCreateMotionContext",0,function(t){let{initial:e,animate:a}=function(t,e){if((0,s.isControllingVariants)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,r.isVariantLabel)(e)?e:void 0,animate:(0,r.isVariantLabel)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,i.useContext)(n));return(0,i.useMemo)(()=>({initial:e,animate:a}),[o(e),o(a)])}],86649);var a=t.i(65907),l=t.i(30195),u=t.i(25346);let h=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function c(t,e,i){for(let n in e)(0,a.isMotionValue)(e[n])||(0,l.isForcedMotionValue)(n,i)||(t[n]=e[n])}t.s(["createHtmlRenderState",0,h],28235);var d=t.i(25052),m=t.i(20007);let p=()=>({...h(),attrs:{}});t.s(["createSvgRenderState",0,p],89124);let f=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","propagate","ignoreStrict","viewport"]);function g(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||f.has(t)}let v=t=>!g(t);try{e=t.r(87897).default,"function"==typeof e&&(v=t=>t.startsWith("on")?!g(t):e(t))}catch{}var y=t.i(4606);t.s(["useRender",0,function(t,e,n,{latestValues:s},r,o=!1,l){let f=(l??(0,y.isSVGComponent)(t)?function(t,e,n,s){let r=(0,i.useMemo)(()=>{let i=p();return(0,d.buildSVGAttrs)(i,e,(0,m.isSVGTag)(s),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};c(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let n,s,r={},o=(n=t.style||{},c(s={},n,t),Object.assign(s,function({transformTemplate:t},e){return(0,i.useMemo)(()=>{let i=h();return(0,u.buildHTMLStyles)(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),s);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=o,r}
1)(e,s,r,t),x=function(t,e,i){let n={};for(let s in t)("values"!==s||"object"!=typeof t.values)&&(v(s)||!0===i&&g(s)||!e&&!g(s)||t.draggable&&s.startsWith("onDrag"))&&(n[s]=t[s]);return n}(e,"string"==typeof t,o),b=t!==i.Fragment?{...x,...f,ref:n}:{},{children:w}=e,T=(0,i.useMemo)(()=>(0,a.isMotionValue)(w)?w.get():w,[w]);return(0,i.createElement)(t,{...b,children:T})}],38777);var x=t.i(68782);t.s(["scrapeHTMLMotionValuesFromProps",()=>x.scrapeMotionValuesFromProps],46530),t.s(["resolveMotionValue",0,function(t){return(0,a.isMotionValue)(t)?t.get():t}],32866)},62946,t=>{"use strict";let e=(0,t.i(91788).createContext)(null);t.s(["PresenceContext",0,e])},57126,t=>{"use strict";var e=t.i(91788);t.s(["useConstant",0,function(t){let i=(0,e.useRef)(null);return null===i.current&&(i.current=t()),i.current}])},18110,61080,t=>{"use strict";var e=t.i(46530),i=t.i(32866),n=t.i(12159),s=t.i(90516),r=t.i(801),o=t.i(91788),a=t.i(64357),l=t.i(62946),u=t.i(57126);let h=t=>(e,h)=>{let c=(0,o.useContext)(a.MotionContext),d=(0,o.useContext)(l.PresenceContext),m=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},o,a,l){return{latestValues:function(t,e,o,a){let l={},u=a(t,{});for(let t in u)l[t]=(0,i.resolveMotionValue)(u[t]);let{initial:h,animate:c}=t,d=(0,n.isControllingVariants)(t),m=(0,n.isVariantNode)(t);e&&m&&!d&&!1!==t.inherit&&(void 0===h&&(h=e.initial),void 0===c&&(c=e.animate));let p=!!o&&!1===o.initial,f=(p=p||!1===h)?c:h;if(f&&"boolean"!=typeof f&&!(0,s.isAnimationControls)(f)){let e=Array.isArray(f)?f:[f];for(let i=0;i<e.length;i++){let n=(0,r.resolveVariantFromProps)(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=p?e.length-1:0;e=e[t]}null!==e&&(l[t]=e)}for(let e in t)l[e]=t[e]}}}return l}(o,a,l,t),renderState:e()}})(t,e,c,d);return h?m():(0,u.useConstant)(m)};var c=t.i(28235);let d=h({scrapeMotionValuesFromProps:e.scrapeHTMLMotionValuesFromProps,createRenderState:c.createHtmlRenderState});t.s(["useHTMLVisualState",0,d],18110);var m=t.i(49276),m=m,p=t.i(89124);let f=h({scrapeMotionValuesFromProps:m.scrapeMotionValuesFromProps,createRenderState:p.createSvgRenderState});t.s(["useSVGVisualState",0,f],61080)},46628,t=>{"use strict";let e="u">typeof window;t.s(["isBrowser",0,e])},83896,99991,81103,7572,32914,22469,43392,t=>{"use strict";var e=t.i(71188);let i={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"]},n=!1;function s(){return!function(){if(n)return;let t={};for(let e in i)t[e]={isEnabled:t=>i[e].some(e=>!!t[e])};(0,e.setFeatureDefinitions)(t),n=!0}(),(0,e.getFeatureDefinitions)()}t.s(["getInitializedFeatureDefinitions",0,s],83896),t.s(["loadFeatures",0,function(t){let i=s();for(let e in t)i[e]={...i[e],...t[e]};(0,e.setFeatureDefinitions)(i)}],99991);let r=Symbol.for("motionComponentSymbol");t.s(["motionComponentSymbol",0,r],81103);var o=t.i(91788);t.s(["useMotionRef",0,function(t,e,i){let n=(0,o.useRef)(i);(0,o.useInsertionEffect)(()=>{n.current=i});let s=(0,o.useRef)(null);return(0,o.useCallback)(i=>{i&&t.onMount?.(i),e&&(i?e.mount(i):e.unmount());let r=n.current;if("function"==typeof r)if(i){let t=r(i);"function"==typeof t&&(s.current=t)}else s.current?(s.current(),s.current=null):r(i);else r&&(r.current=i)},[e])}],7572);let a="data-"+(0,t.i(46768).camelToDash)("framerAppearId");t.s(["optimizedAppearDataAttribute",0,a],32914);let l=(0,o.createContext)({});t.s(["SwitchLayoutGroupContext",0,l],22469),t.s(["isRefObject",0,function(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}],43392)},39016,t=>{"use strict";var e=t.i(91788);let i=t.i(46628).isBrowser?e.useLayoutEffect:e.useEffect;t.s(["useIsomorphicLayoutEffect",0,i])},95555,56888,64699,85406,31234,4681,55023,61064,48544,30519,67798,88414,51502,27191,20932,78780,t=>{"use strict";t.i(50461);var e=t.i(91398),i=t.i(91788),n=t.i(11535),s=t.i(64854),r=t.i(12600),o=t.i(64357),a=t.i(86649),l=t.i(38777),u=t.i(4606),h=t.i(18110),c=t.i(61080),d=t.i(46628),m=t.i(83896),p=t.i(99991),f=t.i(81103),g=t.i(7572),v=t.i(32914),y=t.i(62946),x=t.i(22469),b=t.i(43392),w=t.i(39016);function T(t,{forwardMotionProps:P=!1,type:S}={},M,C){M&&(0,p.loadFeatures)(M);
1let E=S?"svg"===S:(0,u.isSVGComponent)(t),A=E?c.useSVGVisualState:h.useHTMLVisualState;function V(u,h){let c,p={...(0,i.useContext)(r.MotionConfigContext),...u,layoutId:function({layoutId:t}){let e=(0,i.useContext)(n.LayoutGroupContext).id;return e&&void 0!==t?e+"-"+t:t}(u)},{isStatic:f}=p,T=(0,a.useCreateMotionContext)(u),S=A(u,f);if(!f&&d.isBrowser){(0,i.useContext)(s.LazyContext).strict;let e=function(t){let{drag:e,layout:i}=(0,m.getInitializedFeatureDefinitions)();if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(p);c=e.MeasureLayout,T.visualElement=function(t,e,n,a,l,u){let{visualElement:h}=(0,i.useContext)(o.MotionContext),c=(0,i.useContext)(s.LazyContext),d=(0,i.useContext)(y.PresenceContext),m=(0,i.useContext)(r.MotionConfigContext),p=m.reducedMotion,f=m.skipAnimations,g=(0,i.useRef)(null),T=(0,i.useRef)(!1);a=a||c.renderer,!g.current&&a&&(g.current=a(t,{visualState:e,parent:h,props:n,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:p,skipAnimations:f,isSVG:u}),T.current&&g.current&&(g.current.manuallyAnimateOnMount=!0));let P=g.current,S=(0,i.useContext)(x.SwitchLayoutGroupContext);P&&!P.projection&&l&&("html"===P.type||"svg"===P.type)&&function(t,e,i,n){let{layoutId:s,layout:r,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,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:s,layout:r,alwaysMeasureLayout:!!o||a&&(0,b.isRefObject)(a),visualElement:t,animationType:"string"==typeof r?r:"both",initialPromotionConfig:n,crossfade:h,layoutScroll:l,layoutRoot:u})}(g.current,n,l,S);let M=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{P&&M.current&&P.update(n,d)});let C=n[v.optimizedAppearDataAttribute],E=(0,i.useRef)(!!C&&!window.MotionHandoffIsComplete?.(C)&&window.MotionHasOptimisedAnimation?.(C));return(0,w.useIsomorphicLayoutEffect)(()=>{T.current=!0,P&&(M.current=!0,window.MotionIsMounted=!0,P.updateFeatures(),P.scheduleRenderMicrotask(),E.current&&P.animationState&&P.animationState.animateChanges())}),(0,i.useEffect)(()=>{P&&(!E.current&&P.animationState&&P.animationState.animateChanges(),E.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(C)}),E.current=!1),P.enteringChildren=void 0)}),P}(t,S,p,C,e.ProjectionNode,E)}return(0,e.jsxs)(o.MotionContext.Provider,{value:T,children:[c&&T.visualElement?(0,e.jsx)(c,{visualElement:T.visualElement,...p}):null,(0,l.useRender)(t,u,(0,g.useMotionRef)(S,T.visualElement,h),S,f,P,E)]})}V.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let D=(0,i.forwardRef)(V);return D[f.motionComponentSymbol]=t,D}t.s(["createMotionProxy",0,function(t,e){if("u"<typeof Proxy)return T;let i=new Map,n=(i,n)=>T(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(s,r)=>"create"===r?n:(i.has(r)||i.set(r,T(r,void 0,t,e)),i.get(r))})}],95555);class P{constructor(t){this.isMounted=!1,this.node=t}update(){}}t.s(["Feature",0,P],56888);var S=t.i(801);function M(t,e,i){let n=t.getProps();return(0,S.resolveVariantFromProps)(n,e,void 0!==i?i:n.custom,t)}function C(t,e){if(t?.inherit&&e){let{inherit:i,...n}=t;return{...e,...n}}return t}function E(t,e){let i=t?.[e]??t?.default??t;return i!==t?C(i,t):i}t.s(["getValueTransition",0,E],64699);var A=t.i(51233),V=t.i(83026);let D=t=>Array.isArray(t);var R=t.i(50180),k=t.i(65907);function L(t,e){let i=t.getValue("willChange");if((0,k.isMotionValue)(i)&&i.add)return i.add(e);if(!i&&R.MotionGlobalConfig.WillChange){let i=new R.MotionGlobalConfig.WillChange("auto");t.addValue("willChange",i),i.add(e)}}function B(t){return t.props[v.optimizedAppearDataAttribute]}t.s(["addValueToWillChange",0,L],85406),t.s(["getOptimisedAppearId",0,B],31234);var j=t.i(27524),F=t.i(44063),O=t.i(86791);let I=(t,e)=>i=>e(t(i)),N=(...t)=>t.reduce(I);t.s(["pipe",0,N],4681);var $=t.i(71955),z=t.i(32486),_=t.i(88905),U=t.i(19744),W=t.i(13953),G=t.i(3595),H=t.i(54511),X=t.i(98125);function Y(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}var K=t.i(93959);function q(t,e){return i=>i>0?e:t}var Z=t.i(66651);let J=(t,e,i)=>{let n=t*t,s=i*(e*e-n)+n;return s<0?0:Math.sqrt(s)},Q=[H.hex,K.rgba,X.hsla];function tt(t){let e=Q.find(e=>e.test(t));if((0,_.warning)(!!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===X.hsla&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let s=0,r=0,o=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,a=2*i-n;s=Y(a,n,t+1/3),r=Y(a,n,t),o=Y(a,n,t-1/3)}else s=r=o=i;return{red:Math.round(255*s),green:Math.round(255*r),blue:Math.round(255*o),alpha:n}}(i)),i}let te=(t,e)=>{let i=tt(t),n=tt(e);if(!i||!n)return q(t,e);let s={...i};return t=>(s.red=J(i.red,n.red,t),s.green=J(i.green,n.green,t),s.blue=J(i.blue,n.blue,t),s.alpha=(0,Z.mixNumber)(i.alpha,n.alpha,t),K.rgba.transform(s))},ti=new Set(["none","hidden"]);function tn(t,e){return i=>(0,Z.mixNumber)(t,e,i)}function ts(t){return"number"==typeof t?tn:"string"==typeof t?(0,U.isCSSVariableToken)(t)?q:W.color.test(t)?te:ta:Array.isArray(t)?tr:"object"==typeof t?W.color.test(t)?te:to:q}function tr(t,e){let i=[...t],n=i.length,s=t.map((t,i)=>ts(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=s[e](t);return i}}function to(t,e){let i={...t,...e},n={};for(let s in i)void 0!==t[s]&&void 0!==e[s]&&(n[s]=ts(t[s])(t[s],e[s]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let ta=(t,e)=>
1{let i=G.complex.createTransformer(e),n=(0,G.analyseComplexValue)(t),s=(0,G.analyseComplexValue)(e);if(!(n.indexes.var.length===s.indexes.var.length&&n.indexes.color.length===s.indexes.color.length&&n.indexes.number.length>=s.indexes.number.length))return(0,_.warning)(!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"),q(t,e);if(ti.has(t)&&!s.values.length||ti.has(e)&&!n.values.length)return ti.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return N(tr(function(t,e){let i=[],n={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){let r=e.types[s],o=t.indexes[r][n[r]],a=t.values[o]??0;i[s]=a,n[r]++}return i}(n,s),s.values),i)};function tl(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,Z.mixNumber)(t,e,i):ts(t)(t,e)}var tu=t.i(62448);let th=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>tu.frame.update(e,t),stop:()=>(0,tu.cancelFrame)(e),now:()=>tu.frameData.isProcessing?tu.frameData.timestamp:O.time.now()}};var tc=t.i(93345);function td(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}var tm=t.i(50833);function tp(t,e,i){let n=Math.max(e-5,0);return(0,tm.velocityPerSecond)(i-t(n),e-n)}let tf=.01,tg=2,tv=.005,ty=.5;function tx(t,e){return t*Math.sqrt(1-e*e)}let tb=["duration","bounce"],tw=["stiffness","damping","mass"];function tT(t,e){return e.some(e=>void 0!==t[e])}function tP(t=.3,e=.3){let i,n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:s,restDelta:r}=n,o=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],l={done:!1,value:o},{stiffness:u,damping:h,mass:c,duration:d,velocity:m,isResolvedFromDuration:p}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!tT(t,tw)&&tT(t,tb))if(e.velocity=0,t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,s=2*(0,$.clamp)(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:1,stiffness:n,damping:s}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:n=1}){let s,r;(0,_.warning)(t<=(0,j.secondsToMilliseconds)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-e;o=(0,$.clamp)(.05,1,o),t=(0,$.clamp)(.01,10,(0,j.millisecondsToSeconds)(t)),o<1?(s=e=>{let n=e*o,s=n*t;return .001-(n-i)/tx(e,o)*Math.exp(-s)},r=e=>{let n=e*o*t,r=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-n),l=tx(Math.pow(e,2),o);return(n*i+i-r)*a*(-s(e)+.001>0?-1:1)/l}):(s=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),r=e=>t*t*(i-e)*Math.exp(-e*t));let a=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(s,r,5/t);if(t=(0,j.secondsToMilliseconds)(t),isNaN(a))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(a,2)*n;return{stiffness:e,damping:2*o*Math.sqrt(n*e),duration:t}}}({...t,velocity:0});(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...n,velocity:-(0,j.millisecondsToSeconds)(n.velocity||0)}),f=m||0,g=h/(2*Math.sqrt(u*c)),v=a-o,y=(0,j.millisecondsToSeconds)(Math.sqrt(u/c)),x=5>Math.abs(v);if(s||(s=x?tf:tg),r||(r=x?tv:ty),g<1){let t=tx(y,g);i=e=>a-Math.exp(-g*y*e)*((f+g*y*v)/t*Math.sin(t*e)+v*Math.cos(t*e))}else if(1===g)i=t=>a-Math.exp(-y*t)*(v+(f+y*v)*t);else{let t=y*Math.sqrt(g*g-1);i=e=>{let i=Math.exp(-g*y*e),n=Math.min(t*e,300);return a-i*((f+g*y*v)*Math.sinh(n)+t*v*Math.cosh(n))/t}}let b={calculatedDuration:p&&d||null,next:t=>{let e=i(t);if(p)l.done=t>=d;else{let n=0===t?f:0;g<1&&(n=0===t?(0,j.secondsToMilliseconds)(f):tp(i,t,e));let o=Math.abs(a-e)<=r;l.done=Math.abs(n)<=s&&o}return l.value=l.done?a:e,l},toString:()=>{let t=Math.min(td(b),2e4),e=(0,tc.generateLinearEasing)(e=>b.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return b}function tS({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:s=10,bounceStiffness:r=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,d,m=t[0],p={done:!1,value:m},f=i*e,g=m+f,v=void 0===o?g:o(g);v!==g&&(f=v-m);let y=t=>-f*Math.exp(-t/n),x=t=>v+y(t),b=t=>{let e=y(t),i=x(t);p.done=Math.abs(e)<=u,p.value=p.done?v:i},w=t=>{let e;if(e=p.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;c=t,d=tP({keyframes:[p.value,(i=p.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:tp(x,t,p.value),damping:s,stiffness:r,restDelta:u,restSpeed:h})}};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,b(t),w(t)),void 0!==c&&t>=c)?d.next(t-c):(e||b(t),p)}}}tP.applyToOptions=t=>{let e=function(t,e=100,i){let n=i({...t,keyframes:[0,e]}),s=Math.min(td(n),2e4);return{type:"keyframes",ease:t=>n.next(s*t).value/e,duration:(0,j.millisecondsToSeconds)(s)}}(t,100,tP);return t.ease=e.ease,t.duration=(0,j.secondsToMilliseconds)(e.duration),t.type="keyframes",t};let tM=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function tC(t,e,i,n){return t===e&&i===n?F.noop:s=>
10===s||1===s?s:tM(function(t,e,i,n,s){let r,o,a=0;do(r=tM(o=e+(i-e)/2,n,s)-t)>0?i=o:e=o;while(Math.abs(r)>1e-7&&++a<12)return o}(s,0,1,t,i),e,n)}let tE=tC(.42,0,1,1),tA=tC(0,0,.58,1),tV=tC(.42,0,.58,1),tD=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,tR=t=>e=>1-t(1-e),tk=tC(.33,1.53,.69,.99),tL=tR(tk),tB=tD(tL),tj=t=>(t*=2)<1?.5*tL(t):.5*(2-Math.pow(2,-10*(t-1))),tF=t=>1-Math.sin(Math.acos(t)),tO=tR(tF),tI=tD(tF);t.s(["circIn",0,tF,"circInOut",0,tI,"circOut",0,tO],55023);var tN=t.i(78269);let t$={linear:F.noop,easeIn:tE,easeInOut:tV,easeOut:tA,circIn:tF,circInOut:tI,circOut:tO,backIn:tL,backInOut:tB,backOut:tk,anticipate:tj},tz=t=>{if((0,tN.isBezierDefinition)(t)){(0,_.invariant)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,s]=t;return tC(e,i,n,s)}return"string"==typeof t?((0,_.invariant)(void 0!==t$[t],`Invalid easing type '${t}'`,"invalid-easing-type"),t$[t]):t},t_=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n};function tU({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var s;let r,o=Array.isArray(n)&&"number"!=typeof n[0]?n.map(tz):tz(n),a={done:!1,value:e[0]},l=function(t,e,{clamp:i=!0,ease:n,mixer:s}={}){let r=t.length;if((0,_.invariant)(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 o=t[0]===t[1];t[0]>t[r-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,i){let n=[],s=i||R.MotionGlobalConfig.mix||tl,r=t.length-1;for(let i=0;i<r;i++){let r=s(t[i],t[i+1]);e&&(r=N(Array.isArray(e)?e[i]||F.noop:e,r)),n.push(r)}return n}(e,n,s),l=a.length,u=i=>{if(o&&i<t[0])return e[0];let n=0;if(l>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let s=t_(t[n],t[n+1],i);return a[n](s)};return i?e=>u((0,$.clamp)(t[0],t[r-1],e)):u}((s=i&&i.length===e.length?i:(!function(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let s=t_(0,e,n);t.push((0,Z.mixNumber)(i,1,s))}}(r=[0],e.length-1),r),s.map(e=>e*t)),e,{ease:Array.isArray(o)?o:e.map(()=>o||tV).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=l(e),a.done=e>=t,a)}}t.s(["progress",0,t_],61064);var tW=t.i(55974);let tG={decay:tS,inertia:tS,tween:tU,keyframes:tU,spring:tP};function tH(t){"string"==typeof t.type&&(t.type=tG[t.type])}var tX=t.i(25412);let tY=t=>t/100;class tK extends tX.WithPromise{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!==O.time.now()&&this.tick(O.time.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},z.activeAnimations.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;tH(t);let{type:e=tU,repeat:i=0,repeatDelay:n=0,repeatType:s,velocity:r=0}=t,{keyframes:o}=t,a=e||tU;a!==tU&&"number"!=typeof o[0]&&(this.mixKeyframes=N(tY,tl(o[0],o[1])),o=[0,100]);let l=a({...t,keyframes:o});"mirror"===s&&(this.mirroredGenerator=a({...t,keyframes:[...o].reverse(),velocity:-r})),null===l.calculatedDuration&&(l.calculatedDuration=td(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(i+1)-n,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:n,mixKeyframes:s,mirroredGenerator:r,resolvedDuration:o,calculatedDuration:a}=this;if(null===this.startTime)return i.next(0);let{delay:l=0,keyframes:u,repeat:h,repeatType:c,repeatDelay:d,type:m,onUpdate:p,finalKeyframe:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?g<0:g>n;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let y=this.currentTime,x=i;if(h){let t=Math.min(this.currentTime,n)/o,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,d&&(i-=d/
1o)):"mirror"===c&&(x=r)),y=(0,$.clamp)(0,1,i)*o}let b=v?{done:!1,value:u[0]}:x.next(y);s&&(b.value=s(b.value));let{done:w}=b;v||null===a||(w=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return T&&m!==tS&&(b.value=(0,tW.getFinalKeyframe)(u,this.options,f,this.speed)),p&&p(b.value),T&&this.finish(),b}then(t,e){return this.finished.then(t,e)}get duration(){return(0,j.millisecondsToSeconds)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,j.millisecondsToSeconds)(t)}get time(){return(0,j.millisecondsToSeconds)(this.currentTime)}set time(t){t=(0,j.secondsToMilliseconds)(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(O.time.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,j.millisecondsToSeconds)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=th,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(O.time.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,z.activeAnimations.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)}}var tq=t.i(46164),tZ=t.i(12179);let tJ={anticipate:tj,backInOut:tB,circInOut:tI};class tQ extends tZ.NativeAnimation{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in tJ&&(t.ease=tJ[t.ease])}(t),tH(t),super(t),void 0!==t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:s,...r}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new tK({...r,autoplay:!1}),a=Math.max(10,O.time.now()-this.startTime),l=(0,$.clamp)(0,10,a-10);e.setWithVelocity(o.sample(Math.max(0,a-l)).value,o.sample(a).value,l),o.stop()}}var t0=t.i(25778);let t1=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(G.complex.test(t)||"0"===t)&&!t.startsWith("url("));function t2(t){t.duration=0,t.type="keyframes"}var t5=tX,t8=t.i(68445);let t6=new Set(["opacity","clipPath","filter","transform"]),t3=(0,t8.memo)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class t9 extends t5.WithPromise{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:s=0,repeatType:r="loop",keyframes:o,name:a,motionValue:l,element:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=O.time.now();const c={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:s,repeatType:r,name:a,motionValue:l,element:u,...h},d=u?.KeyframeResolver||tq.KeyframeResolver;this.keyframeResolver=new d(o,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){this.keyframeResolver=void 0;let{name:s,type:r,velocity:o,delay:a,isHandoff:l,onUpdate:u}=i;
1this.resolvedAt=O.time.now(),!function(t,e,i,n){let s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;let r=t[t.length-1],o=t1(s,e),a=t1(r,e);return(0,_.warning)(o===a,`You are trying to animate ${e} from "${s}" to "${r}". "${o?r:s}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(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||(0,t0.isGenerator)(i))&&n)}(t,s,r,o)&&((R.MotionGlobalConfig.instantAnimations||!a)&&u?.((0,tW.getFinalKeyframe)(t,i,e)),t[0]=t[t.length-1],t2(i),i.repeat=0);let h={startTime:n?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:n,repeatType:s,damping:r,type:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return t3()&&i&&t6.has(i)&&("transform"!==i||!l)&&!a&&!n&&"mirror"!==s&&0!==r&&"inertia"!==o}(h),d=h.motionValue?.owner?.current,m=c?new tQ({...h,element:d}):new tK(h);m.finished.then(()=>{this.notifyFinished()}).catch(F.noop),this.pendingTimeline&&(this.stopTimeline=m.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=m}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(),(0,tq.flushKeyframeResolvers)()),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()}}var t4=t.i(55810);let t7={type:"spring",stiffness:500,damping:25,restSpeed:10},et={type:"keyframes",duration:.8},ee={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ei=t=>null!==t,en=(t,e,i,n={},s,r)=>o=>{let a=E(n,t)||{},l=a.delay||n.delay||0,{elapsed:u=0}=n;u-=(0,j.secondsToMilliseconds)(l);let h={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:r?void 0:s};!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:s,repeat:r,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(a)&&Object.assign(h,((t,{keyframes:e})=>e.length>2?et:t4.transformProps.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:t7:ee)(t,h)),h.duration&&(h.duration=(0,j.secondsToMilliseconds)(h.duration)),h.repeatDelay&&(h.repeatDelay=(0,j.secondsToMilliseconds)(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let c=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(t2(h),0===h.delay&&(c=!0)),(R.MotionGlobalConfig.instantAnimations||R.MotionGlobalConfig.skipAnimations||s?.shouldSkipAnimations)&&(c=!0,t2(h),h.delay=0),h.allowFlatten=!a.type&&!a.ease,c&&!r&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"}){let n=t.filter(ei),s=e&&"loop"!==i&&e%2==1?0:n.length-1;return n[s]}(h.keyframes,a);if(void 0!==t)return void tu.frame.update(()=>{h.onUpdate(t),h.onComplete()})}return a.isSync?new tK(h):new t9(h)};function es(t,e,{delay:i=0,transitionOverride:n,type:s}={}){let{transition:r,transitionEnd:o,...a}=e,l=t.getDefaultTransition();r=r?C(r,l):l;let u=r?.reduceMotion;n&&(r=n);let h=[],c=s&&t.animationState&&t.animationState.getState()[s];for(let e in a){let n=t.getValue(e,t.latestValues[e]??null),s=a[e];if(void 0===s||c&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(c,e))continue;let o={delay:i,...E(r||{},e)},l=n.get();if(void 0!==l&&!n.isAnimating&&!Array.isArray(s)&&s===l&&!o.velocity)continue;let d=!1;if(window.MotionHandoffAnimation){let i=B(t);if(i){let t=window.MotionHandoffAnimation(i,e,tu.frame);null!==t&&(o.startTime=t,d=!0)}}L(t,e);let m=u??t.shouldReduceMotion;n.start(en(e,n,s,m&&A.positionalKeys.has(e)?{type:!1}:o,t,d));let p=n.animation;p&&h.push(p)}if(o){let e=()=>tu.frame.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:n={},...s}=M(t,e)||{};for(let e in s={...s,...i}){var r;let i=D(r=s[e])?r[r.length-1]||0:r;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,V.motionValue)(i))}}(t,o)});h.length?Promise.all(h).then(e):e()}return h}function er(t,e,i,n=0,s=1){let r=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*n;return"function"==typeof i?i(r,o):1===s?r*n:a-r*n}
1function eo(t,e,i={}){let n=M(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:s=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(s=i.transitionOverride);let r=n?()=>Promise.all(es(t,n,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:r=0,staggerChildren:o,staggerDirection:a}=s;return function(t,e,i=0,n=0,s=0,r=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(eo(l,e,{...o,delay:i+("function"==typeof n?0:n)+er(t.variantChildren,l,n,s,r)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,n,r,o,a,i)}:()=>Promise.resolve(),{when:a}=s;if(!a)return Promise.all([r(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[r,o]:[o,r];return t().then(()=>e())}}t.s(["animateMotionValue",0,en],48544);var ea=t.i(19708),el=t.i(47477);let eu=el.variantProps.length;var eh=t.i(90516);function ec(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}let ed=[...el.variantPriorityOrder].reverse(),em=el.variantPriorityOrder.length;function ep(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ef(){return{animate:ep(!0),whileInView:ep(),whileHover:ep(),whileTap:ep(),whileDrag:ep(),whileFocus:ep(),exit:ep()}}let eg=0;t.s(["animations",0,{animation:{Feature:class extends P{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 n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>eo(t,e,i)));else if("string"==typeof e)n=eo(t,e,i);else{let s="function"==typeof e?M(t,e,i.custom):e;n=Promise.all(es(t,s,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=ef(),n=!0,s=e=>(i,n)=>{let s=M(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(s){let{transition:t,transitionEnd:e,...n}=s;i={...i,...n,...e}}return i};function r(r){let{props:o}=t,a=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<eu;t++){let n=el.variantProps[t],s=e.props[n];((0,ea.isVariantLabel)(s)||!1===s)&&(i[n]=s)}return i}(t.parent)||{},l=[],u=new Set,h={},c=1/0;for(let e=0;e<em;e++){var d,m;let p=ed[e],f=i[p],g=void 0!==o[p]?o[p]:a[p],v=(0,ea.isVariantLabel)(g),y=p===r?f.isActive:null;!1===y&&(c=e);let x=g===a[p]&&g!==o[p]&&v;if(x&&n&&t.manuallyAnimateOnMount&&(x=!1),f.protectedKeys={...h},!f.isActive&&null===y||!g&&!f.prevProp||(0,eh.isAnimationControls)(g)||"boolean"==typeof g)continue;if("exit"===p&&f.isActive&&!0!==y){f.prevResolvedValues&&(h={...h,...f.prevResolvedValues});continue}let b=(d=f.prevProp,"string"==typeof(m=g)?m!==d:!!Array.isArray(m)&&!ec(m,d)),w=b||p===r&&f.isActive&&!x&&v||e>c&&v,T=!1,P=Array.isArray(g)?g:[g],S=P.reduce(s(p),{});!1===y&&(S={});let{prevResolvedValues:C={}}=f,E={...C,...S},A=e=>{w=!0,u.has(e)&&(T=!0,u.delete(e)),f.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in E){let e=S[t],i=C[t];if(!h.hasOwnProperty(t))(D(e)&&D(i)?ec(e,i):e===i)?void 0!==e&&u.has(t)?A(t):f.protectedKeys[t]=!0:null!=e?A(t):u.add(t)}f.prevProp=g,f.prevResolvedValues=S,f.isActive&&(h={...h,...S}),n&&t.blockInitialAnimation&&(w=!1);let V=x&&b,R=!V||T;w&&R&&l.push(...P.map(e=>{let i={type:p};if("string"==typeof e&&n&&!V&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,s=M(n,e);if(n.enteringChildren&&s){let{delayChildren:e}=s.transition||{};i.delay=er(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(u.size){let e={};if("boolean"!=typeof o.initial){let i=M(t,Array.isArray(o.initial)?o.initial[0]:o.initial);i&&i.transition&&(e.transition=i.transition)}u.forEach(i=>{let n=t.getBaseTarget(i),s=t.getValue(i);s&&(s.liveStyle=!0),e[i]=n??null}),l.push({animation:e})}let p=!!l.length;return n&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(p=!1),n=!1,p?e(l):Promise.resolve()}return{animateChanges:r,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),i[e].isActive=n;let s=r(e);for(let t in i)i[t].protectedKeys={};return s},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=ef()}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,eh.isAnimationControls)(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 P{constructor(){super(...arguments),this.id=eg++}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 n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>
1{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}}}],30519),t.s(["eachAxis",0,function(t){return[t("x"),t("y")]}],67798);let ev=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),ey=new Set(["INPUT","SELECT","TEXTAREA"]);t.s(["isElementKeyboardAccessible",0,function(t){return ev.has(t.tagName)||!0===t.isContentEditable},"isElementTextInput",0,function(t){return ey.has(t.tagName)||!0===t.isContentEditable}],88414),t.s(["addDomEvent",0,function(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}],51502);let ex={x:!1,y:!1};t.s(["isDragActive",0,function(){return ex.x||ex.y},"isDragging",0,ex],27191),t.s(["setDragLock",0,function(t){if("x"===t||"y"===t)if(ex[t])return null;else return ex[t]=!0,()=>{ex[t]=!1};return ex.x||ex.y?null:(ex.x=ex.y=!0,()=>{ex.x=ex.y=!1})}],20932);function eb(t){return t.max-t.min}function ew(t,e,i,n=.5){t.origin=n,t.originPoint=(0,Z.mixNumber)(e.min,e.max,t.origin),t.scale=eb(i)/eb(e),t.translate=(0,Z.mixNumber)(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 eT(t,e,i){t.min=i.min+e.min,t.max=t.min+eb(e)}function eP(t,e,i){t.min=e.min-i.min,t.max=t.min+eb(e)}t.s(["calcBoxDelta",0,function(t,e,i,n){ew(t.x,e.x,i.x,n?n.originX:void 0),ew(t.y,e.y,i.y,n?n.originY:void 0)},"calcLength",0,eb,"calcRelativeBox",0,function(t,e,i){eT(t.x,e.x,i.x),eT(t.y,e.y,i.y)},"calcRelativePosition",0,function(t,e,i){eP(t.x,e.x,i.x),eP(t.y,e.y,i.y)},"isNear",0,function(t,e,i){return Math.abs(t-e)<=i}],78780)},68098,t=>{"use strict";t.s(["isObject",0,function(t){return"object"==typeof t&&null!==t}])},88975,20972,98715,89784,26470,98700,1432,t=>{"use strict";let e,i;var n=t.i(56888),s=t.i(44063),r=t.i(22405),o=t.i(62448),a=t.i(67798),l=t.i(4955),u=t.i(60541),h=t.i(85406),c=t.i(48544),d=t.i(66651),m=t.i(88414),p=t.i(51502),f=t.i(20932),g=t.i(21006),v=t.i(78780),y=t.i(68098);function x(t){return(0,y.isObject)(t)&&"ownerSVGElement"in t}function b(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let s=i?.[t]??n.querySelectorAll(t);return s?Array.from(s):[]}return Array.from(t).filter(t=>null!=t)}t.s(["isSVGElement",0,x],20972),t.s(["resolveElements",0,b],98715);let w=new WeakMap,T=(t,e,i)=>(n,s)=>s&&s[0]?s[0][t+"Size"]:x(n)&&"getBBox"in n?n.getBBox()[e]:n[i],P=T("inline","width","offsetWidth"),S=T("block","height","offsetHeight");function M({target:t,borderBoxSize:e}){w.get(t)?.forEach(i=>{i(t,{get width(){return P(t,e)},get height(){return S(t,e)}})})}function C(t){t.forEach(M)}let E=new Set;function A(t,n){let s;return"function"==typeof t?(E.add(t),i||(i=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};E.forEach(e=>e(t))},window.addEventListener("resize",i)),()=>{E.delete(t),E.size||"function"!=typeof i||(window.removeEventListener("resize",i),i=void 0)}):(!e&&"u">typeof ResizeObserver&&(e=new ResizeObserver(C)),(s=b(t)).forEach(t=>{let i=w.get(t);i||(i=new Set,w.set(t,i)),i.add(n),e?.observe(t)}),()=>{s.forEach(t=>{let i=w.get(t);i?.delete(n),i?.size||e?.unobserve(t)})})}var V=t.i(88905);let D=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function R(t){return{point:{x:t.pageX,y:t.pageY}}}t.s(["isPrimaryPointer",0,D],89784);let k=t=>e=>D(e)&&t(e,R(e));function L(t,e,i,n){return(0,p.addDomEvent)(t,e,k(i),n)}t.s(["addPointerInfo",0,k,"extractEventInfo",0,R],26470);let B=({current:t})=>t?t.ownerDocument.defaultView:null;var j=t.i(43392),F=t.i(4681),O=t.i(27524);let I=(t,e)=>Math.abs(t-e),N=new Set(["auto","scroll"]);class ${constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:s=!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=U(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,s=(t=i.offset,e={x:0,y:0},Math.sqrt(I(t.x,e.x)**2+I(t.y,e.y)**2)>=this.distanceThreshold);if(!n&&!s)return;let{point:r}=i,{timestamp:a}=o.frameData;this.history.push({...r,timestamp:a});let{onStart:l,onMove:u}=this.handlers;n||(l&&l(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),u&&u(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=z(e,this.transformPagePoint),o.frame.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:s}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&s&&s(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=U("pointercancel"===t.type?this.lastMoveEventInfo:z(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,r),n&&n(t,r)},!D(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=r,this.contextWindow=n||window;const l=z(R(t),this.transformPagePoint),{point:u}=l,{timestamp:h}=o.frameData;this.history=[{...u,timestamp:h}];const{onSessionStart:c}=e;c&&c(t,U(l,this.history)),this.removeListeners=(0,F.pipe)(L(this.contextWindow,"pointermove",this.handlePointerMove),L(this.contextWindow,"pointerup",this.handlePointerUp),L(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(N.has(t.overflowX)||N.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}),window.addEventListener("scroll",this.onWindowScroll),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,n=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s={x:n.x-e.x,y:n.y-e.y};(0!==s.x||0!==s.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(t,n),o.frame.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,o.cancelFrame)(this.updatePoint)}}function z(t,e){return e?{point:e(t.point)}:t}function _(t,e){return{x:t.x-e.x,y:t.y-e.y}}function U({point:t},e){return{point:t,delta:_(t,W(e)),offset:_(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,n=W(t);for(;e>=0&&(i=t[e],!(n.timestamp-i.timestamp>(0,O.secondsToMilliseconds)(.1)));)e--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&n.timestamp-i.timestamp>
12*(0,O.secondsToMilliseconds)(.1)&&(i=t[1]);let s=(0,O.millisecondsToSeconds)(n.timestamp-i.timestamp);if(0===s)return{x:0,y:0};let r={x:(n.x-i.x)/s,y:(n.y-i.y)/s};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}(e)}}function W(t){return t[t.length-1]}var G=t.i(61064),H=t.i(71955);function X(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 Y(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function K(t,e,i){return{min:q(t,e),max:q(t,i)}}function q(t,e){return"number"==typeof t?t:t[e]||0}let Z=new WeakMap;class J{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=(0,r.createBox)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let s=t=>{e&&this.snapToCursor(R(t).point),this.stopAnimation()},r=(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:s}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,f.setDragLock)(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),(0,a.eachAxis)(t=>{let e=this.getAxisMotionValue(t).get()||0;if(g.percent.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];n&&(e=(0,v.calcLength)(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),s&&o.frame.update(()=>s(t,e),!1,!0),(0,h.addValueToWillChange)(this.visualElement,"transform");let{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},l=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:s,onDrag:r}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=e;if(n&&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&&s&&s(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),r&&o.frame.update(()=>r(t,e),!1,!0)},u=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new $(t,{onSessionStart:s,onStart:r,onMove:l,onSessionEnd:u,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:i,contextWindow:B(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!n||!i)return;let{velocity:r}=n;this.startAnimation(r);let{onDragEnd:a}=this.getProps();a&&o.frame.postRender(()=>a(i,n))}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:n}=this.getProps();if(!i||!tt(t,n,this.currentDirection))return;let s=this.getAxisMotionValue(t),r=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(r=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?(0,d.mixNumber)(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?(0,d.mixNumber)(i,t,n.max):Math.min(t,i)),t}(r,this.constraints[t],this.elastic[t])),s.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,n=this.constraints;t&&(0,j.isRefObject)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:s}){return{x:X(t.x,i,s),y:X(t.y,e,n)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:K(t,"left","right"),y:K(t,"top","bottom")}}(e),n!==this.constraints&&!(0,j.isRefObject)(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&(0,a.eachAxis)(t=>{var e,n;let s;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],n=this.constraints[t],s={},void 0!==n.min&&(s.min=n.min-e.min),void 0!==n.max&&(s.max=n.max-e.min),s))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!(0,j.isRefObject)(e))return!1;let n=e.current;(0,V.invariant)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:s}=this.visualElement;if(!s||!s.layout)return!1;let r=(0,l.measurePageBox)(n,s.root,this.visualElement.getTransformPagePoint()),o=(t=s.layout.layoutBox,{x:Y(t.x,r.x),y:Y(t.y,r.y)});if(i){let t=i((0,u.convertBoxToBoundingBox)(o));this.hasMutatedConstraints=!!t,t&&(o=(0,u.convertBoundingBoxToBox)(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:s,dragSnapToOrigin:r,onDragTransitionEnd:o}=this.getProps(),l=this.constraints||{};return Promise.all((0,a.eachAxis)(o=>{if(!tt(o,e,this.currentDirection))return;let a=l&&l[o]||{};r&&(a={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...s,...a};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,h.addValueToWillChange)(this.visualElement,t),i.start((0,c.animateMotionValue)(t,i,0,e,this.visualElement,!1))}stopAnimation(){(0,a.eachAxis)(t=>this.getAxisMotionValue(t).stop())}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){(0,a.eachAxis)(e=>{let{drag:i}=this.getProps();if(!tt(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,s=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:r}=n.layout.layoutBox[e],o=s.get()||0;s.set(t[e]-(0,d.mixNumber)(i,r,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,j.isRefObject)(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};(0,a.eachAxis)(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,s;let r,o,a,l=e.get();n[t]=(i={min:l,max:l},s=this.constraints[t],r=.5,o=(0,v.calcLength)(i),(a=(0,v.calcLength)(s))>o?r=(0,G.progress)(s.min,s.max-o,i.min):o>a&&(r=(0,G.progress)(i.min,i.max-a,s.min)),(0,H.clamp)(0,1,r))}});let{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),(0,a.eachAxis)(e=>{if(!tt(e,t,null))return;let i=this.getAxisMotionValue(e),{min:s,max:r}=this.constraints[e];i.set((0,d.mixNumber)(s,r,n[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;Z.set(this.visualElement,this);let e=this.visualElement.current,i=L(e,"pointerdown",t=>{let{drag:i,dragListener:n=!0}
1=this.getProps(),s=t.target,r=s!==e&&(0,m.isElementTextInput)(s);i&&n&&!r&&this.start(t)}),n=()=>{var i,n,s;let r,o,{dragConstraints:a}=this.getProps();(0,j.isRefObject)(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,n=a.current,r=A(i,Q(s=()=>this.scalePositionWithinConstraints())),o=A(n,Q(s)),t=()=>{r(),o()}))},{projection:s}=this.visualElement,r=s.addEventListener("measure",n);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),o.frame.read(n);let l=(0,p.addDomEvent)(window,"resize",()=>this.scalePositionWithinConstraints()),u=s.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&((0,a.eachAxis)(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{l(),i(),r(),u&&u(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:s=!1,dragElastic:r=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:s,dragElastic:r,dragMomentum:o}}}function Q(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function tt(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class te extends n.Feature{constructor(t){super(t),this.removeGroupControls=s.noop,this.removeListeners=s.noop,this.controls=new J(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||s.noop}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()}}t.s(["DragGesture",0,te],88975);var ti=n;let tn=t=>(e,i)=>{t&&o.frame.update(()=>t(e,i),!1,!0)};class ts extends ti.Feature{constructor(){super(...arguments),this.removePointerDownListener=s.noop}onPointerDown(t){this.session=new $(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:B(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:tn(t),onStart:tn(e),onMove:tn(i),onEnd:(t,e)=>{delete this.session,n&&o.frame.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=L(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}t.s(["PanGesture",0,ts],98700),t.s(["globalProjectionState",0,{hasAnimatedSinceResize:!0,hasEverUpdated:!1}],1432)},86398,t=>{"use strict";var e=t.i(91788),i=t.i(62946);t.s(["usePresence",0,function(t=!0){let n=(0,e.useContext)(i.PresenceContext);if(null===n)return[!0,null];let{isPresent:s,onExitComplete:r,register:o}=n,a=(0,e.useId)();(0,e.useEffect)(()=>{if(t)return o(a)},[t]);let l=(0,e.useCallback)(()=>t&&r&&r(a),[a,r,t]);return!s&&r?[!1,l]:[!0]}])},19655,24505,23482,23147,90577,26975,t=>{"use strict";var e=t.i(88975),i=t.i(98700),n=t.i(91398),s=t.i(1432),r=t.i(62448),o=t.i(33592),a=t.i(91788),l=t.i(86398),u=t.i(11535),h=t.i(22469);let c=!1;class d extends a.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),c&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),s.globalProjectionState.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:s}=this.props,{projection:o}=i;return o&&(o.isPresent=s,t.layoutDependency!==e&&o.setOptions({...o.options,layoutDependency:e}),c=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==s?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||r.frame.postRender(()=>
1{let t=o.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),o.microtask.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;c=!0,n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function m(t){let[e,i]=(0,l.usePresence)(),s=(0,a.useContext)(u.LayoutGroupContext);return(0,n.jsx)(d,{...t,layoutGroup:s,switchLayoutGroup:(0,a.useContext)(h.SwitchLayoutGroupContext),isPresent:e,safeToRemove:i})}t.s(["MeasureLayout",0,m],24505);var p=t.i(78892),f=t.i(71955),g=t.i(44063),v=t.i(48544),y=t.i(83026),x=t.i(65907),b=t.i(31234),w=t.i(64699),T=t.i(86791),P=t.i(91770),S=t.i(32486),M=t.i(42827);t.i(27524);var C=t.i(20972),E=t.i(66651),A=t.i(32866),V=t.i(21006),D=t.i(61064),R=t.i(55023);let k=["TopLeft","TopRight","BottomLeft","BottomRight"],L=k.length,B=t=>"string"==typeof t?parseFloat(t):t,j=t=>"number"==typeof t||V.px.test(t);function F(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let O=N(0,.5,R.circOut),I=N(.5,.95,g.noop);function N(t,e,i){return n=>n<t?0:n>e?1:i((0,D.progress)(t,e,n))}function $(t,e){t.min=e.min,t.max=e.max}function z(t,e){$(t.x,e.x),$(t.y,e.y)}function _(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var U=t.i(81057),W=t.i(78780);function G(t,e,i,n,s){return t-=e,t=(0,U.scalePoint)(t,1/i,n),void 0!==s&&(t=(0,U.scalePoint)(t,1/s,n)),t}function H(t,e,[i,n,s],r,o){!function(t,e=0,i=1,n=.5,s,r=t,o=t){if(V.percent.test(e)&&(e=parseFloat(e),e=(0,E.mixNumber)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,E.mixNumber)(r.min,r.max,n);t===r&&(a-=e),t.min=G(t.min,e,i,a,s),t.max=G(t.max,e,i,a,s)}(t,e[i],e[n],e[s],e.scale,r,o)}let X=["x","scaleX","originX"],Y=["y","scaleY","originY"];function K(t,e,i,n){H(t.x,e,X,i?i.x:void 0,n?n.x:void 0),H(t.y,e,Y,i?i.y:void 0,n?n.y:void 0)}var q=t.i(22405);function Z(t){return 0===t.translate&&1===t.scale}function J(t){return Z(t.x)&&Z(t.y)}function Q(t,e){return t.min===e.min&&t.max===e.max}function tt(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function te(t,e){return tt(t.x,e.x)&&tt(t.y,e.y)}function ti(t){return(0,W.calcLength)(t.x)/(0,W.calcLength)(t.y)}function tn(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var ts=t.i(93709);class tr{constructor(){this.members=[]}add(t){(0,ts.addUniqueItem)(this.members,t);for(let e=this.members.length-1;e>=0;e--){let i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;let n=i.instance;n&&!1===n.isConnected&&!1!==i.isPresent&&!i.snapshot&&(0,ts.removeItem)(this.members,i)}t.scheduleRender()}remove(t){if((0,ts.removeItem)(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],n=i.instance;if(!1!==i.isPresent&&(!n||!1!==n.isConnected)){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 n=i.options.layoutDependency,s=t.options.layoutDependency;if(void 0===n||void 0===s||n!==s){let n=i.instance;!(n&&!1===n.isConnected&&!i.snapshot)&&(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)}}var to=t.i(67798);let ta=(t,e)=>t.depth-e.depth;class tl{constructor(){this.children=[],this.isDirty=!1}add(t){(0,ts.addUniqueItem)(this.children,t),this.isDirty=!0}remove(t){(0,ts.removeItem)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(ta),this.isDirty=!1,this.children.forEac
1h(t)}}var tu=t.i(35403);let th={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},tc=["","X","Y","Z"],td=0;function tm(t,e,i,n){let{latestValues:s}=e;s[t]&&(i[t]=s[t],e.setStaticValue(t,0),n&&(n[t]=0))}function tp({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:a}){return class{constructor(t={},i=e?.()){this.id=td++,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,M.statsBuffer.value&&(th.nodes=th.calculatedTargetDeltas=th.calculatedProjections=0),this.nodes.forEach(tv),this.nodes.forEach(tS),this.nodes.forEach(tM),this.nodes.forEach(ty),M.statsBuffer.addProjectionMetrics&&M.statsBuffer.addProjectionMetrics(th)},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 tl)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new p.SubscriptionManager),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=(0,C.isSVGElement)(e)&&(!(0,C.isSVGElement)(e)||"svg"!==e.tagName),this.instance=e;let{layoutId:i,layout:n,visualElement:o}=this.options;if(o&&!o.current&&o.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),t){let i,n=0,o=()=>this.root.updateBlockedByResize=!1;r.frame.read(()=>{n=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==n){let e,a;n=t,this.root.updateBlockedByResize=!0,i&&i(),e=T.time.now(),a=({timestamp:t})=>{let i=t-e;i>=250&&((0,r.cancelFrame)(a),o(i-250))},r.frame.setup(a,!0),i=()=>(0,r.cancelFrame)(a),s.globalProjectionState.hasAnimatedSinceResize&&(s.globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEach(tP))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&o&&(i||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||o.getDefaultTransition()||tR,{onLayoutAnimationStart:r,onLayoutAnimationComplete:a}=o.getProps(),l=!this.targetLayout||!te(this.targetLayout,n),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...(0,w.getValueTransition)(s,"layout"),onPlay:r,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u)}else e||tP(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}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(),(0,r.cancelFrame)(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.forEac
1h(tC),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 n=(0,b.getOptimisedAppearId)(i);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",r.frame,!(t||i))}let{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&t(s)}(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 n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(tb);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(tw);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(tT),this.nodes.forEach(tf),this.nodes.forEach(tg)):this.nodes.forEach(tw),this.clearAllSnapshots();let t=T.time.now();r.frameData.delta=(0,f.clamp)(0,1e3/60,t-r.frameData.timestamp),r.frameData.timestamp=t,r.frameData.isProcessing=!0,r.frameSteps.update.process(r.frameData),r.frameSteps.preRender.process(r.frameData),r.frameSteps.render.process(r.frameData),r.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,o.microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(tx),this.sharedNodes.forEach(tE)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,r.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){r.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,W.calcLength)(this.snapshot.measuredBox.x)||(0,W.calcLength)(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=(0,q.createBox)(),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=n(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(!a)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!J(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,tu.hasTransform)(this.latestValues)||s)&&(a(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),tB((e=n).x),tB(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,q.createBox)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(tF))){let{scroll:t}=this.root;t&&((0,U.translateAxis)(e.x,t.offset.x),(0,U.translateAxis)(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,q.createBox)();if(z(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:s,options:r}=n;n!==this.root&&s&&r.layoutScroll&&(s.wasRoot&&z(e,t),(0,U.translateAxis)(e.x,s.offset.x),(0,U.translateAxis)(e.y,s.offset.y))}return e}applyTransform(t,e=!1){let i=(0,q.createBox)();z(i,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(0,U.transformBox)(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),(0,tu.hasTransform)(n.latestValues)&&(0,U.transformBox)(i,n.latestValues)}return(0,tu.hasTransform)(this.latestValues)&&(0,U.transformBox)(i,this.latestValues),i}removeTransform(t){let e=(0,q.createBox)();z(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,tu.hasTransform)(i.latestValues))continue;(0,tu.hasScale)(i.latestValues)&&i.updateSnapshot();let n=(0,q.createBox)();z(n,i.measurePageBox()),K(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return(0,tu.hasTransform)(this.latestValues)&&K(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!==r.frameData.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:n,layoutId:s}=this.options;if(!this.layout||!(n||s))return;this.resolvedRelativeTargetAt=r.frameData.timestamp;let o=this.getClosestProjectingParent();o&&this.linkedParentVersion!==o.layoutVersion&&!o.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(o&&o.layout?this.createRelativeTarget(o,this.layout.layoutBox,o.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=(0,q.createBox)(),this.targetWithTransforms=(0,q.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,W.calcRelativeBox)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):z(this.target,this.layout.layoutBox),(0,U.applyBoxDelta)(this.target,this.targetDelta)):z(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,o&&!!o.resumingFrom==!!this.resumingFrom&&!o.options.layoutScroll&&o.target&&1!==this.animationProgress?this.createRelativeTarget(o,this.target,o.target):this.relativeParent=this.relativeTarget=void 0),M.statsBuffer.value&&th.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||(0,tu.hasScale)(this.parent.latestValues)||(0,tu.has2DTranslate)(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=(0,q.createBox)(),this.relativeTargetOrigin=(0,q.createBox)(),(0,W.calcRelativePosition)(this.relativeTargetOrigin,e,i),z(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===r.frameData.timestamp&&(i=!1),i)return;let{layout:n,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||s))return;z(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;(0,U.applyTreeDeltas)(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=(0,q.createBox)());let{target:l}=t;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(_(this.prevProjectionDelta.x,this.projectionDelta.x),_(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,W.calcBoxDelta)(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&tn(this.projectionDelta.x,this.prevProjectionDelta.x)&&tn(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),M.statsBuffer.value&&th.calculatedProjections++}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=(0,q.createDelta)(),this.projectionDelta=(0,q.createDelta)(),this.projectionDeltaWithTransform=(0,q.createDelta)()}setAnimationOrigin(t,e=!1){let i,n=this.snapshot,s=n?n.latestValues:{},r={...this.latestValues},o=(0,q.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=(0,q.createBox)(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(tD));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(tA(o.x,t.x,n),tA(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,m,p,f,g;(0,W.calcRelativePosition)(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),m=this.relativeTarget,p=this.relativeTargetOrigin,f=a,g=n,tV(m.x,p.x,f.x,g),tV(m.y,p.y,f.y,g),i&&(u=this.relativeTarget,d=i,Q(u.x,d.x)&&Q(u.y,d.y))&&(this.isProjectionDirty=!1),i||(i=(0,q.createBox)()),z(i,this.relativeTarget)}l&&(this.animationValues=r,function(t,e,i,n,s,r){s?(t.opacity=(0,E.mixNumber)(0,i.opacity??1,O(n)),t.opacityExit=(0,E.mixNumber)(e.opacity??1,0,I(n))):r&&(t.opacity=(0,E.mixNumber)(e.opacity??1,i.opacity??1,n));for(let s=0;s<L;s++){let r=`border${k[s]}Radius`,o=F(e,r),a=F(i,r);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||j(o)===j(a)?(t[r]=Math.max((0,E.mixNumber)(B(o),B(a),n),0),(V.percent.test(a)||V.percent.test(o))&&(t[r]+="%")):t[r]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,E.mixNumber)(e.rotate||0,i.rotate||0,n))}(r,s,this.latestValues,n,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,r.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=r.frame.update(()=>{var e,i,n;let r;s.globalProjectionState.hasAnimatedSinceResize=!0,S.activeAnimations.layout++,this.motionValue||(this.motionValue=(0,y.motionValue)(0)),this.motionValue.jump(0,!1),this.currentAnimation=(e=this.motionValue,i=[0,1e3],n={...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{S.activeAnimations.layout--},onComplete:()=>{S.activeAnimations.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}},(r=(0,x.isMotionValue)(e)?e:(0,y.motionValue)(e)).start((0,v.animateMotionValue)("",r,i,n)),r.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:s}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&tj(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||(0,q.createBox)();let e=(0,W.calcLength)(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=(0,W.calcLength)(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}
1z(e,i),(0,U.transformBox)(e,s),(0,W.calcBoxDelta)(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new tr),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 n=this.getStack();n&&n.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 n={};i.z&&tm("z",t,n,this.animationValues);for(let e=0;e<tc.length;e++)tm(`rotate${tc[e]}`,t,n,this.animationValues),tm(`skew${tc[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[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=(0,A.resolveMotionValue)(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,A.resolveMotionValue)(e?.pointerEvents)||""),this.hasProjected&&!(0,tu.hasTransform)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let s=n.animationValues||n.latestValues;this.applyTransformsToTarget();let r=function(t,e,i){let n="",s=t.x.translate/e.x,r=t.y.translate/e.y,o=i?.z||0;if((s||r||o)&&(n=`translate3d(${s}px, ${r}px, ${o}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:s,rotateY:r,skewX:o,skewY:a}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),s&&(n+=`rotateX(${s}deg) `),r&&(n+=`rotateY(${r}deg) `),o&&(n+=`skewX(${o}deg) `),a&&(n+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,s);i&&(r=i(s,r)),t.transform=r;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,n.animationValues?t.opacity=n===this?s.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:t.opacity=n===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,P.scaleCorrectors){if
1(void 0===s[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=P.scaleCorrectors[e],l="none"===r?s[e]:i(s[e],n);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?(0,A.resolveMotionValue)(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(tb),this.root.sharedNodes.clear()}}}function tf(t){t.updateLayout()}function tg(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=t.layout,{animationType:s}=t.options,r=e.source!==t.layout.source;"size"===s?(0,to.eachAxis)(t=>{let n=r?e.measuredBox[t]:e.layoutBox[t],s=(0,W.calcLength)(n);n.min=i[t].min,n.max=n.min+s}):tj(s,e.layoutBox,i)&&(0,to.eachAxis)(n=>{let s=r?e.measuredBox[n]:e.layoutBox[n],o=(0,W.calcLength)(i[n]);s.max=s.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=(0,q.createDelta)();(0,W.calcBoxDelta)(o,i,e.layoutBox);let a=(0,q.createDelta)();r?(0,W.calcBoxDelta)(a,t.applyTransform(n,!0),e.measuredBox):(0,W.calcBoxDelta)(a,i,e.layoutBox);let l=!J(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:s,layout:r}=n;if(s&&r){let o=(0,q.createBox)();(0,W.calcRelativePosition)(o,e.layoutBox,s.layoutBox);let a=(0,q.createBox)();(0,W.calcRelativePosition)(a,i,r.layoutBox),te(o,a)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function tv(t){M.statsBuffer.value&&th.nodes++,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 ty(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function tx(t){t.clearSnapshot()}function tb(t){t.clearMeasurements()}function tw(t){t.isLayoutDirty=!1}function tT(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function tP(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tS(t){t.resolveTargetDelta()}function tM(t){t.calcProjection()}function tC(t){t.resetSkewAndRotation()}function tE(t){t.removeLeadSnapshot()}function tA(t,e,i){t.translate=(0,E.mixNumber)(e.translate,0,i),t.scale=(0,E.mixNumber)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function tV(t,e,i,n){t.min=(0,E.mixNumber)(e.min,i.min,n),t.max=(0,E.mixNumber)(e.max,i.max,n)}function tD(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let tR={duration:.45,ease:[.4,0,.1,1]},tk=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),tL=tk("applewebkit/")&&!tk("chrome/")?Math.round:g.noop;function tB(t){t.min=tL(t.min),t.max=tL(t.max)}function tj(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,W.isNear)(ti(e),ti(i),.2)}function tF(t){return t!==t.root&&t.scroll?.wasRoot}var tO=t.i(51502);let tI=tp({attachResizeListener:(t,e)=>(0,tO.addDomEvent)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),tN={current:void 0},t$=tp({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!tN.current){let t=new tI({});t.mount(window),t.setOptions({layoutScroll:!0}),tN.current=t}return tN.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});t.s(["HTMLProjectionNode",0,t$],23482);let tz={pan:{Feature:i.PanGesture},drag:{Feature:e.DragGesture,ProjectionNode:t$,MeasureLayout:m}};t.s(["drag",0,tz],19655);
1var t_=t.i(56888),tU=t.i(27191),tW=t.i(98715);function tG(t,e){let i=(0,tW.resolveElements)(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}t.s(["setupGesture",0,tG],23147);var tH=t.i(26470);function tX(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let s=n["onHover"+i];s&&r.frame.postRender(()=>s(e,(0,tH.extractEventInfo)(e)))}class tY extends t_.Feature{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,s,r]=tG(t,i);return n.forEach(t=>{let i,n=!1,r=!1,o=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},a=t=>{n=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),r&&(r=!1,o(t))},l=t=>{if("touch"!==t.pointerType){if(n){r=!0;return}o(t)}};t.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||(0,tU.isDragActive)())return;r=!1;let o=e(t,n);"function"==typeof o&&(i=o,t.addEventListener("pointerleave",l,s))},s),t.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",a,s)},s)}),r}(t,(t,e)=>(tX(this.node,e,"Start"),t=>tX(this.node,t,"End"))))}unmount(){}}t.s(["HoverGesture",0,tY],90577);var tK=t_,tq=t.i(4681);class tZ extends tK.Feature{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=(0,tq.pipe)((0,tO.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,tO.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}t.s(["FocusGesture",0,tZ],26975)},51723,t=>{"use strict";var e=t.i(68098);t.s(["isHTMLElement",0,function(t){return(0,e.isObject)(t)&&"offsetHeight"in t}])},98311,t=>{"use strict";var e=t.i(14503),i=t.i(95555),n=t.i(30519),s=t.i(19655),r=t.i(90577),o=t.i(26975),a=t.i(56888),l=t.i(51723),u=t.i(27191);let h=(t,e)=>!!e&&(t===e||h(t,e.parentElement));var c=t.i(89784),d=t.i(23147),m=t.i(88414);let p=new WeakSet;function f(t){return e=>{"Enter"===e.key&&t(e)}}function g(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function v(t){return(0,c.isPrimaryPointer)(t)&&!(0,u.isDragActive)()}let y=new WeakSet;var x=t.i(62448),b=t.i(26470);function w(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let s=n["onTap"+("End"===i?"":i)];s&&x.frame.postRender(()=>s(e,(0,b.extractEventInfo)(e)))}class T extends a.Feature{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e,i={}){let[n,s,r]=(0,d.setupGesture)(t,i),o=t=>{let n=t.currentTarget;if(!v(t)||y.has(t))return;p.add(n),i.stopPropagation&&y.add(t);let r=e(n,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),p.has(n)&&p.delete(n),v(t)&&"function"==typeof r&&r(t,{success:e})},a=t=>{o(t,n===window||n===document||i.useGlobalTarget||h(n,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",l,s)};return n.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,s),(0,l.isHTMLElement)(t)&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=f(()=>{if(p.has(i))return;g(i,"down");let t=f(()=>{g(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>g(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,s)),(0,m.isElementKeyboardAccessible)(t)||t.hasAttribute("tabindex")||(t.tabIndex=0))}),r}(t,(t,e)=>(w(this.node,e,"Start"),(t,{success:e})=>w(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}var P=a;let S=new WeakMap,M=new WeakMap,C=t=>{let e=S.get(t.target);e&&e(t)}
1,E=t=>{t.forEach(C)},A={some:0,all:1};class V extends P.Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:n,margin:s,amount:r="some",once:o}=i,a={root:n?n.current:void 0,rootMargin:s,threshold:"number"==typeof r?r:A[r]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,o&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),s=e?i:n;s&&s(t)};return t=this.node.current,e=function({root:t,...e}){let i=t||document;M.has(i)||M.set(i,{});let n=M.get(i),s=JSON.stringify(e);return n[s]||(n[s]=new IntersectionObserver(E,{root:t,...e})),n[s]}(a),S.set(t,l),e.observe(t),()=>{S.delete(t),e.unobserve(t)}}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let D={inView:{Feature:V},tap:{Feature:T},focus:{Feature:o.FocusGesture},hover:{Feature:r.HoverGesture}};var R=t.i(23482),k=t.i(24505);let L={layout:{ProjectionNode:R.HTMLProjectionNode,MeasureLayout:k.MeasureLayout}},B={...n.animations,...D,...s.drag,...L},j=(0,i.createMotionProxy)(B,e.createDomVisualElement);t.s(["motion",0,j],98311)},63230,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"useMergedRef",{enumerable:!0,get:function(){return s}});let n=t.r(91788);function s(t,e){let i=(0,n.useRef)(null),s=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let t=i.current;t&&(i.current=null,t());let e=s.current;e&&(s.current=null,e())}else t&&(i.current=r(t,n)),e&&(s.current=r(e,n))},[t,e])}function r(t,e){if("function"!=typeof t)return t.current=e,()=>{t.current=null};{let i=t(e);return"function"==typeof i?i:()=>t(null)}}("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},96777,t=>{"use strict";let e={mobileS:"(max-width: 320px)",mobileM:"(max-width: 375px)",mobileL:"(max-width: 425px)",tabletS:"(max-width: 560px)",tablet:"(max-width: 768px)",laptop:"(max-width: 1024px)",laptopL:"(max-width: 1480px)",desktop:"(max-width: 1600px)",desktopL:"(max-width: 2560px)"};t.s(["Device",0,e])},91332,t=>{"use strict";var e=t.i(60814),i=t.i(96777);let n=e.default.div.withConfig({displayName:"InnerContainer",componentId:"sc-6bd030ff-0"})`
2  width: var(--max-width);
3  margin: 0 auto;
4  position: relative;
5
6  @media ${i.Device.laptopL} {
7    padding-inline: calc(var(--space) * 8);
8    width: 100%;
9  }
10
11  @media ${i.Device.laptop} {
12    padding-inline: calc(var(--space) * 6);
13    width: 100%;
14  }
15
16  @media ${i.Device.tablet} {
17    padding-inline: calc(var(--space) * 4);
18  }
19
20  @media ${i.Device.mobileL} {
21    padding-inline: calc(var(--space) * 3);
22  }
23
24  @media ${i.Device.mobileM} {
25    padding-inline: calc(var(--space) * 2);
26  }
27`,s=(0,e.default)(n).withConfig({displayName:"InnerContainer__LandingInnerContainer",componentId:"sc-6bd030ff-1"})`
28  max-width: 1196px;
29`;t.s(["InnerContainer",0,n,"LandingInnerContainer",0,s])},33681,t=>{"use strict";var e=t.i(60814),i=t.i(96777);let n=e.default.h1.withConfig({displayName:"BaseTitle__TitleH1",componentId:"sc-2c7d3a09-0"})`
30  font-weight: 700;
31  font-size: 7.4rem;
32  line-height: 100%;
33  margin-bottom: calc(var(--space) * 2);
34  user-select: none;
35
36  strong {
37    font-weight: 800;
38    background: linear-gradient(90deg, #df2080, #f81e7d);
39    background-clip: text;
40    -webkit-text-fill-color: transparent;
41    box-decoration-break: clone;
42
43    br {
44      display: none;
45    }
46
47    @media ${i.Device.mobileL} {
48      br {
49        display: block;
50      }
51    }
52  }
53
54  @media ${i.Device.laptop} {
55    font-size: 4.7rem;
56  }
57
58  @media screen and (${i.Device.tablet}) and (height <= 600px) and (orientation: landscape) {
59    font-size: 2.6rem;
60  }
61
62  @media ${i.Device.mobileL} {
63    font-size: 3.8rem;
64  }
65
66  @media ${i.Device.mobileS} {
67    font-size: 3.2rem;
68  }
69`,s=e.default.h2.withConfig({displayName:"BaseTitle__TitleH2",componentId:"sc-2c7d3a09-1"})`
70  font-weight: 700;
71  font-size: 3.2rem;
72  line-height: 1;
73  margin-bottom: calc(var(--space) * 2);
74
75  @media ${i.Device.laptop} {
76    font-size: 2.8rem;
77  }
78
79  @media ${i.Device.mobileL} {
80    font-size: 2.4rem;
81    margin-bottom: var(--space);
82  }
83`,r=e.default.h3.withConfig({displayName:"BaseTitle__TitleH3",componentId:"sc-2c7d3a09-2"})`
84  font-weight: 500;
85  font-size: 2.4rem;
86  line-height: 1.6;
87
88  @media ${i.Device.laptop} {
89    font-size: 2.1rem;
90  }
91
92  @media ${i.Device.mobileL} {
93    font-size: 1.9rem;
94  }
95`,o=e.default.h4.withConfig({displayName:"BaseTitle__TitleH4",componentId:"sc-2c7d3a09-3"})`
96  font-weight: 700;
97  font-size: 2.1rem;
98  line-height: 1.2;
99
100  @media ${i.Device.laptop} {
101    font-size: 1.8rem;
102  }
103
104  @media ${i.Device.mobileL} {
105    font-size: 1.8rem;
106  }
107`,a=e.default.h2.withConfig({displayName:"BaseTitle__LandingTitleH2",componentId:"sc-2c7d3a09-4"})`
108  font-family: var(--title-font);
109  font-size: 3.6rem;
110  font-weight: 700;
111  line-height: 1.1;
112  color: var(--textColor);
113
114  @media ${i.Device.laptop} {
115    font-size: 3.0rem;
116  }
117
118  @media ${i.Device.mobileL} {
119    font-size: 2.4rem;
120  }
121`,l=e.default.div.withConfig({displayName:"BaseTitle__LandingSectionTitleBlock",componentId:"sc-2c7d3a09-5"})`
122  text-align: center;
123  display: flex;
124  flex-direction: column;
125  align-items: center;
126  gap: var(--space);
127`,u=e.default.p.withConfig({displayName:"BaseTitle__LandingSectionSubtitle",componentId:"sc-2c7d3a09-6"})`
128  font-size: 1.6rem;
129  font-weight: 300;
130  line-height: 1.6;
131  color: var(--transparentWhite80);
132  max-width: 640px;
133  margin: 0 auto;
134`;t.s(["LandingSectionSubtitle",0,u,"LandingSectionTitleBlock",0,l,"LandingTitleH2",0,a,"TitleH1",0,n,"TitleH2",0,s,"TitleH3",0,r,"TitleH4",0,o])},13606,(t,e,i)=>{"use strict";function n({widthInt:t,heightInt:e,blurWidth:i,blurHeight:s,blurDataURL:r,objectFit:o}
134){let a=i?40*i:t,l=s?40*s:e,u=a&&l?`viewBox='0 0 ${a} ${l}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${u}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${u?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${r}'/%3E%3C/svg%3E`}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},66785,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImgProps",{enumerable:!0,get:function(){return u}}),t.r(94470);let n=t.r(20262),s=t.r(13606),r=t.r(15125),o=["-moz-initial","fill","none","scale-down",void 0];function a(t){return void 0!==t.default}function l(t){return void 0===t?t:"number"==typeof t?Number.isFinite(t)?t:NaN:"string"==typeof t&&/^[0-9]+$/.test(t)?parseInt(t,10):NaN}function u({src:t,sizes:e,unoptimized:i=!1,priority:h=!1,preload:c=!1,loading:d,className:m,quality:p,width:f,height:g,fill:v=!1,style:y,overrideSrc:x,onLoad:b,onLoadingComplete:w,placeholder:T="empty",blurDataURL:P,fetchPriority:S,decoding:M="async",layout:C,objectFit:E,objectPosition:A,lazyBoundary:V,lazyRoot:D,...R},k){var L;let B,j,F,{imgConf:O,showAltText:I,blurComplete:N,defaultLoader:$}=k,z=O||r.imageConfigDefault;if("allSizes"in z)B=z;else{let t=[...z.deviceSizes,...z.imageSizes].sort((t,e)=>t-e),e=z.deviceSizes.sort((t,e)=>t-e),i=z.qualities?.sort((t,e)=>t-e);B={...z,allSizes:t,deviceSizes:e,qualities:i}}if(void 0===$)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let _=R.loader||$;delete R.loader,delete R.srcSet;let U="__next_img_default"in _;if(U){if("custom"===B.loader)throw Object.defineProperty(Error(`Image with src "${t}" is missing "loader" prop.
135Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let t=_;_=e=>{let{config:i,...n}=e;return t(n)}}if(C){"fill"===C&&(v=!0);let t={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[C];t&&(y={...y,...t});let i={responsive:"100vw",fill:"100vw"}[C];i&&!e&&(e=i)}let W="",G=l(f),H=l(g);if((L=t)&&"object"==typeof L&&(a(L)||void 0!==L.src)){let e=a(t)?t.default:t;if(!e.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(e)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(e)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(j=e.blurWidth,F=e.blurHeight,P=P||e.blurDataURL,W=e.src,!v)if(G||H){if(G&&!H){let t=G/e.width;H=Math.round(e.height*t)}else if(!G&&H){let t=H/e.height;G=Math.round(e.width*t)}}else G=e.width,H=e.height}let X=!h&&!c&&("lazy"===d||void 0===d);(!(t="string"==typeof t?t:W)||t.startsWith("data:")||t.startsWith("blob:"))&&(i=!0,X=!1),B.unoptimized&&(i=!0),U&&!B.dangerouslyAllowSVG&&t.split("?",1)[0].endsWith(".svg")&&(i=!0);let Y=l(p),K=Object.assign(v?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:E,objectPosition:A}:{},I?{}:{color:"transparent"},y),q=N||"empty"===T?null:"blur"===T?`url("data:image/svg+xml;charset=utf-8,${(0,s.getImageBlurSvg)({widthInt:G,heightInt:H,blurWidth:j,blurHeight:F,blurDataURL:P||"",objectFit:K.objectFit})}")`:`url("${T}")`,Z=o.includes(K.objectFit)?"fill"===K.objectFit?"100% 100%":"cover":K.objectFit,J=q?{backgroundSize:Z,backgroundPosition:K.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:q}:{},Q=function({config:t,src:e,unoptimized:i,width:s,quality:r,sizes:o,loader:a}){if(i){if(e.startsWith("/")&&!e.startsWith("//")){let t=(0,n.getDeploymentId)();if(t){let i=e.indexOf("?");if(-1!==i){let n=new URLSearchParams(e.slice(i+1));n.get("dpl")||(n.append("dpl",t),e=e.slice(0,i)+"?"+n.toString())}else e+=`?dpl=${t}`}}return{src:e,srcSet:void 0,sizes:void 0}}let{widths:l,kind:u}=function({deviceSizes:t,allSizes:e},i,n){if(n){let i=/(^|\s)(1?\d?\d)vw/g,s=[];for(let t;t=i.exec(n);)s.push(parseInt(t[2]));if(s.length){let i=.01*Math.min(...s);return{widths:e.filter(e=>e>=t[0]*i),kind:"w"}}return{widths:e,kind:"w"}}return"number"!=typeof i?{widths:t,kind:"w"}:{widths:[...new Set([i,2*i].map(t=>e.find(e=>e>=t)||e[e.length-1]))],kind:"x"}}(t,s,o),h=l.length-1;return{sizes:o||"w"!==u?o:"100vw",srcSet:l.map((i,n)=>`${a({config:t,src:e,quality:r,width:i})} ${"w"===u?i:n+1}${u}`).join(", "),src:a({config:t,src:e,quality:r,width:l[h]})}}({config:B,src:t,unoptimized:i,width:G,quality:Y,sizes:e,loader:_}),tt=X?"lazy":d;return{props:{...R,loading:tt,fetchPriority:S,width:G,height:H,decoding:M,className:m,style:{...K,...J},sizes:Q.sizes,srcSet:Q.srcSet,src:x||Q.src},meta:{unoptimized:i,preload:c||h,placeholder:T,fill:v}}}},68816,(t,e,i)=>{"use strict";function n(t,e){let i=t||75;return e?.qualities?.length?e.qualities.reduce((t,e)=>Math.abs(e-i)<Math.abs(t-i)?e:t,e.qualities[0]):i}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"findClosestQuality",{enumerable:!0,get:function(){return n}})},3866,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return o}});let n=t.r(68816),s=t.r(20262);function r({config:t,src:e,width:i,quality:o}){let a=(0,s.getDeploymentId)();if(e.startsWith("/")&&!e.startsWith("//")){let t=e.indexOf("?");if(-1!==t){let i=new URLSearchParams(e.slice(t+1)),n=i.get("dpl");if(n){a=n,i.delete("dpl");let s=i.toString();e=e.slice(0,t)+(s?"?"+s:"")}}}if(e.startsWith("/")&&e.includes("?")&&t.localPatterns?.length===1&&"**"===t.localPatterns[0].pathname&&""===t.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${e}" is using a query string which is not configured in images.localPatterns.
136Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,
136configurable:!0});let l=(0,n.findClosestQuality)(o,t);return`${t.path}?url=${encodeURIComponent(e)}&w=${i}&q=${l}${e.startsWith("/")&&a?`&dpl=${a}`:""}`}r.__next_img_default=!0;let o=r},49194,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"Image",{enumerable:!0,get:function(){return b}});let n=t.r(41705),s=t.r(52456),r=t.r(91398),o=s._(t.r(91788)),a=n._(t.r(30943)),l=n._(t.r(80963)),u=t.r(66785),h=t.r(15125),c=t.r(13521);t.r(94470);let d=t.r(25479),m=n._(t.r(3866)),p=t.r(63230),f={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function g(t,e,i,n,s,r,o){let a=t?.src;t&&t["data-loaded-src"]!==a&&(t["data-loaded-src"]=a,("decode"in t?t.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(t.parentElement&&t.isConnected){if("empty"!==e&&s(!0),i?.current){let e=new Event("load");Object.defineProperty(e,"target",{writable:!1,value:t});let n=!1,s=!1;i.current({...e,nativeEvent:e,currentTarget:t,target:t,isDefaultPrevented:()=>n,isPropagationStopped:()=>s,persist:()=>{},preventDefault:()=>{n=!0,e.preventDefault()},stopPropagation:()=>{s=!0,e.stopPropagation()}})}n?.current&&n.current(t)}}))}function v(t){return o.use?{fetchPriority:t}:{fetchpriority:t}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let y=(0,o.forwardRef)(({src:t,srcSet:e,sizes:i,height:n,width:s,decoding:a,className:l,style:u,fetchPriority:h,placeholder:c,loading:d,unoptimized:m,fill:f,onLoadRef:y,onLoadingCompleteRef:x,setBlurComplete:b,setShowAltText:w,sizesInput:T,onLoad:P,onError:S,...M},C)=>{let E=(0,o.useCallback)(t=>{t&&(S&&(t.src=t.src),t.complete&&g(t,c,y,x,b,m,T))},[t,c,y,x,b,S,m,T]),A=(0,p.useMergedRef)(C,E);return(0,r.jsx)("img",{...M,...v(h),loading:d,width:s,height:n,decoding:a,"data-nimg":f?"fill":"1",className:l,style:u,sizes:i,srcSet:e,src:t,ref:A,onLoad:t=>{g(t.currentTarget,c,y,x,b,m,T)},onError:t=>{w(!0),"empty"!==c&&b(!0),S&&S(t)}})});function x({isAppRouter:t,imgAttributes:e}){let i={as:"image",imageSrcSet:e.srcSet,imageSizes:e.sizes,crossOrigin:e.crossOrigin,referrerPolicy:e.referrerPolicy,...v(e.fetchPriority)};return t&&a.default.preload?(a.default.preload(e.src,i),null):(0,r.jsx)(l.default,{children:(0,r.jsx)("link",{rel:"preload",href:e.srcSet?void 0:e.src,...i},"__nimg-"+e.src+e.srcSet+e.sizes)})}let b=(0,o.forwardRef)((t,e)=>{let i=(0,o.useContext)(d.RouterContext),n=(0,o.useContext)(c.ImageConfigContext),s=(0,o.useMemo)(()=>{let t=f||n||h.imageConfigDefault,e=[...t.deviceSizes,...t.imageSizes].sort((t,e)=>t-e),i=t.deviceSizes.sort((t,e)=>t-e),s=t.qualities?.sort((t,e)=>t-e);return{...t,allSizes:e,deviceSizes:i,qualities:s,localPatterns:"u"<typeof window?n?.localPatterns:t.localPatterns}},[n]),{onLoad:a,onLoadingComplete:l}=t,p=(0,o.useRef)(a);(0,o.useEffect)(()=>{p.current=a},[a]);let g=(0,o.useRef)(l);(0,o.useEffect)(()=>{g.current=l},[l]);let[v,b]=(0,o.useState)(!1),[w,T]=(0,o.useState)(!1),{props:P,meta:S}=(0,u.getImgProps)(t,{defaultLoader:m.default,imgConf:s,blurComplete:v,showAltText:w});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y,{...P,unoptimized:S.unoptimized,placeholder:S.placeholder,fill:S.fill,onLoadRef:p,onLoadingCompleteRef:g,setBlurComplete:b,setShowAltText:T,sizesInput:t.sizes,ref:e}),S.preload?(0,r.jsx)(x,{isAppRouter:!i,imgAttributes:P}):null]})});("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},88961,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={default:function(){return h},getImageProps:function(){return u}};for(var s in n)Object.defineProperty(i,s,{enumerable:!0,get:n[s]});let r=t.r(41705),o=t.r(66785),a=t.r(49194),l=r._(t.r(3866));function u(t){let{props:e}=(0,o.getImgProps)(t,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[t,i]of Object.entries(e))void 0===i&&delete e[t];return{props:e}}let h=a.Image},26019,(t,e,i)=>{e.exports=t.r(88961)}]);

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