1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,46932,76959,30162,83411,65566,60830,87022,63074,33887,30551,97307,60140,25791,86427,72094,17218,706,75737,86783,31178,37806,21476,47414,74008,21748,28409,93544,30151,83920,44230,15932,15923,83352,72323,89026,49652,61327,64978,68705,36331,72846,t=>{"use strict";let e,i,n,r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],s=new Set([...r,"pathRotation"]),o=(t,e,i)=>i>e?e:i<t?t:i;t.s(["clamp",0,o],76959);let a={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},l={...a,transform:t=>o(0,1,t)},u={...a,default:1},h=t=>Math.round(1e5*t)/1e5,d=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,c=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,p=(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[r,s,o,a]=n.match(d);return{[t]:parseFloat(r),[e]:parseFloat(s),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},f={...a,transform:t=>Math.round(o(0,255,t))},y={test:p("rgb","red"),parse:m("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+f.transform(t)+", "+f.transform(e)+", "+f.transform(i)+", "+h(l.transform(n))+")"},g={test:p("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:y.transform},v=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),x=v("deg"),b=v("%"),w=v("px"),T=v("vh"),P=v("vw"),S={...b,parse:t=>b.parse(t)/100,transform:t=>b.transform(100*t)},k={test:p("hsl","hue"),parse:m("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:n=1})=>"hsla("+Math.round(t)+", "+b.transform(h(e))+", "+b.transform(h(i))+", "+h(l.transform(n))+")"},E={test:t=>y.test(t)||g.test(t)||k.test(t),parse:t=>y.test(t)?y.parse(t):k.test(t)?k.parse(t):g.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?y.transform(t):k.transform(t),getAnimatableNone:t=>{let e=E.parse(t);return e.alpha=0,E.transform(e)}},A=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,M="number",C="color",j=/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 V(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},r=[],s=0,o=e.replace(j,t=>(E.test(t)?(n.color.push(s),r.push(C),i.push(E.parse(t))):t.startsWith("var(")?(n.var.push(s),r.push("var"),i.push(t)):(n.number.push(s),r.push(M),i.push(parseFloat(t))),++s,"${}")).split("${}");return{values:i,split:o,indexes:n,types:r}}function D({split:t,types:e}){let i=t.length;return n=>{let r="";for(let s=0;s<i;s++)if(r+=t[s],void 0!==n[s]){let t=e[s];t===M?r+=h(n[s]):t===C?r+=E.transform(n[s]):r+=n[s]}return r}}let R={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(d)?.length||0)+(t.match(A)?.length||0)>0},parse:function(t){return V(t).values},createTransformer:function(t){return D(V(t))},getAnimatableNone:function(t){let e=V(t);return D(e)(e.values.map((t,i)=>((t,e)=>"number"==typeof t?e?.trim().endsWith("/")?t:0:"number"==typeof t?0:E.test(t)?E.getAnimatableNone(t):t)(t,e.split[i])))}},L=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(d)||[];if(!n)return t;let r=i.replace(n,""),s=+!!L.has(e);return n!==i&&(s*=100),e+"("+s+r+")"}let N=/\b([a-z-]*)\(.*?\)/gu,B={...R,getAnimatableNone:t=>{let e=t.match(N);return e?e.map(F).join(" "):t}},O={...R,getAnimatableNone:t=>{let e=R.parse(t);return R.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}},I={...a,transform:Math.round},U={borderWidth:w,borderTopWidth:w,borderRightWidth:w,borderBottomWidth:w,borderLeftWidth:w,borderRadius:w,borderTopLeftRadius:w,borderTopRightRadius:w,borderBottomRightRadius:w,borderBottomLeftRadius:w,width:w,maxWidth:w,height:w,maxHeight:w,top:w,right:w,bottom:w,left:w,inset:w,insetBlock:w,insetBlockStart:w,insetBlockEnd:w,insetInline:w,insetInlineStart:w,insetInlineEnd:w,padding:w,paddingTop:w,paddingRight:w,paddingBottom:w,paddingLeft:w,paddingBlock:w,paddingBlockStart:w,paddingBlockEnd:w,paddingInline:w,paddingInlineStart:w,paddingInlineEnd:w,margin:w,marginTop:w,marginRight:w,marginBottom:w,marginLeft:w,marginBlock:w,marginBlockStart:w,marginBlockEnd:w,marginInline:w,marginInlineStart:w,marginInlineEnd:w,fontSize:w,backgroundPositionX:w,backgroundPositionY:w,rotate:x,pathRotation:x,rotateX:x,rotateY:x,rotateZ:x,scale:u,scaleX:u,scaleY:u,scaleZ:u,skew:x,skewX:x,skewY:x,distance:w,translateX:w,translateY:w,translateZ:w,x:w,y:w,z:w,perspective:w,transformPerspective:w,opacity:l,originX:S,originY:S,originZ:w,zIndex:I,fillOpacity:l,strokeOpacity:l,numOctaves:I},$={...U,color:E,backgroundColor:E,outlineColor:E,fill:E,stroke:E,borderColor:E,borderTopColor:E,borderRightColor:E,borderBottomColor:E,borderLeftColor:E,filter:B,WebkitFilter:B,mask:O,WebkitMask:O},z=t=>$[t],W=()=>({translate:0,scale:1,origin:0,originPoint:0}),_=()=>({x:W(),y:W()}),H=()=>({min:0,max:0}),Y=()=>({x:H(),y:H()});t.s(["createBox",0,Y,"createDelta",0,_],30162);let X=t=>!!(t&&t.getVelocity);t.s(["isMotionValue",0,X],83411);let q=new Set(["width","height","top","left","right","bottom",...r]),K=t=>e=>e.test(t),G=[a,w,b,x,P,T,{test:t=>"auto"===t,parse:t=>t}],Z=t=>G.find(K(t));var Q,J=t.i(47167);let tt=()=>{},te=()=>{};J.default,t.s(["invariant",0,te,"warning",0,tt],65566);let ti=t=>e=>"string"==typeof e&&e.startsWith(t),tn=ti("--"),tr=ti("var(--"),ts=t=>!!tr(t)&&to.test(t.split("/*")[0].trim()),to=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ta(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}let tl=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tu=t=>180*t/Math.PI,th=t=>tc(tu(Math.atan2(t[1],t[0]))),td={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:th,rotateZ:th,skewX:t=>tu(Math.atan(t[1])),skewY:t=>tu(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},tc=t=>((t%=360)<0&&(t+=360),t),tp=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),tm=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),tf={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tp,scaleY:tm,scale:t=>(tp(t)+tm(t))/2,rotateX:t=>tc(tu(Math.atan2(t[6],t[5]))),rotateY:t=>tc(tu(Math.atan2(-t[2],t[0]))),rotateZ:th,rotate:th,skewX:t=>tu(Math.atan(t[4])),skewY:t=>tu(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function ty(t){return+!!t.includes("scale")}function tg(t,e){let i,n;if(!t||"none"===t)return ty(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=tf,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=td,n=e}if(!n)return ty(e);let s=i[e],o=n[1].split(",").map(tv);return"function"==typeof s?s(o):o[s]}function tv(t){return parseFloat(t.trim())}let tx=t=>t===a||t===w,tb=new Set(["x","y","z"]),tw=r.filter(t=>!tb.has(t)),tT={width:({x:t},{paddingLeft:e="0",paddingRight:i="0",boxSizing:n})=>{let r=t.max-t.min;return"border-box"===n?r:r-parseFloat(e)-parseFloat(i)},height:({y:t},{paddingTop:e="0",paddingBottom:i="0",boxSizing:n})=>{let r=t.max-t.min;return"border-box"===n?r:r-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})=>tg(e,"x"),y:(t,{transform:e})=>tg(e,"y")};tT.translateX=tT.x,tT.translateY=tT.y;let tP=t=>t;t.s(["noop",0,tP],60830);let tS={},tk=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function tE(t,e){let i=!1,n=!0,r={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,o=tk.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,n=!1,r=!1,s=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(e){s.has(e)&&(l.schedule(e),t()),e(o)}let l={schedule:(t,r=!1,o=!1)=>{let a=o&&n?e:i;return r&&s.add(t),a.add(t),t},cancel:t=>{i.delete(t),s.delete(t)},process:t=>{if(o=t,n){r=!0;return}n=!0;let s=e;e=i,i=s,e.forEach(a),e.clear(),n=!1,r&&(r=!1,l.process(t))}};return l}(s),t),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:h,update:d,preRender:c,render:p,postRender:m}=o,f=()=>{let s=tS.useManualTiming,o=s?r.timestamp:performance.now();i=!1,s||(r.delta=n?1e3/60:Math.max(Math.min(o-r.timestamp,40),1)),r.timestamp=o,r.isProcessing=!0,a.process(r),l.process(r),u.process(r),h.process(r),d.process(r),c.process(r),p.process(r),m.process(r),r.isProcessing=!1,i&&e&&(n=!1,t(f))};return{schedule:tk.reduce((e,s)=>{let a=o[s];return e[s]=(e,s=!1,o=!1)=>(!i&&(i=!0,n=!0,r.isProcessing||t(f)),a.schedule(e,s,o)),e},{}),cancel:t=>{for(let e=0;e<tk.length;e++)o[tk[e]].cancel(t)},state:r,steps:o}}let{schedule:tA,cancel:tM,state:tC,steps:tj}=tE("u">typeof requestAnimationFrame?requestAnimationFrame:tP,!0);t.s(["cancelFrame",0,tM,"frame",0,tA,"frameData",0,tC,"frameSteps",0,tj],87022);let tV=new Set,tD=!1,tR=!1,tL=!1;function tF(){if(tR){let t=Array.from(tV).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>
1{let e,n=(e=[],tw.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)})}tR=!1,tD=!1,tV.forEach(t=>t.complete(tL)),tV.clear()}function tN(){tV.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tR=!0)})}class tB{constructor(t,e,i,n,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(tV.add(this),tD||(tD=!0,tA.read(tN),tA.resolveKeyframes(tF))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;if(null===t[0]){let r=n?.get(),s=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let n=i.readValue(e,s);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=s),n&&void 0===r&&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),tV.delete(this)}cancel(){"scheduled"===this.state&&(tV.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let tO=new Set([B,O]);function tI(t,e){let i=z(t);return tO.has(i)||(i=R),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let tU=new Set(["auto","none","0"]);class t$ extends tB{constructor(t,e,i,n,r){super(t,e,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&ts(n=n.trim())){let r=function t(e,i,n=1){te(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,s]=function(t){let e=tl.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${i??n}`,r]}(e);if(!r)return;let o=window.getComputedStyle(i).getPropertyValue(r);if(o){let t=o.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return ts(s)?t(s,i,n+1):s}(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!q.has(i)||2!==t.length)return;let[n,r]=t,s=Z(n),o=Z(r);if(ta(n)!==ta(r)&&tT[i]){this.needsMeasurement=!0;return}if(s!==o)if(tx(s)&&tx(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else tT[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++)(null===t[e]||function(t){if("number"==typeof t)return 0===t;if(null===t)return!0;return"none"===t||"0"===t||/^0[^.\s]+$/u.test(t)}(t[e]))&&i.push(e);i.length&&function(t,e,i){let n,r=0;for(;r<t.length&&!n;){let e=t[r];"string"==typeof e&&!tU.has(e)&&V(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=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=tT[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 r=i.length-1,s=i[r];i[r]=tT[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}let tz=t=>1e3*t,tW=t=>t/1e3;function t_(t,e){-1===t.indexOf(e)&&t.push(e)}function tH(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}t.s(["millisecondsToSeconds",0,tW,"secondsToMilliseconds",0,tz],63074),t.s(["addUniqueItem",0,t_,"removeItem",0,tH],33887);class tY{constructor(){this.subscriptions=[]}add(t){return t_(this.subscriptions,t),()=>tH(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 r=0;r<n;r++){let n=this.subscriptions[r];n&&n(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function tX(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}function tq(t){let e;return()=>(void 0===e&&(e=t()),e)}let tK={};function tG(t,e){let i=tq(t);return()=>tK[e]??i()}let tZ=tG(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),tQ=tG(()=>void 0!==window.ViewTimeline,"viewTimeline");t.s(["supportsScrollTimeline",0,tZ,"supportsViewTimeline",0,tQ],30551);let tJ=t=>null!==t;function t0(t,{repeat:e,repeatType:i="loop"},n,r=1){let s=t.filter(tJ),o=r<0||e&&"loop"!==i&&e%2==1?0:s.length-1;return o&&void 0!==n?n:s[o]}class t1{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let t2=t=>Array.isArray(t)&&"number"==typeof t[0],t5=tG(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),t3=(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e<r;e++)n+=Math.round(1e4*t(e/(r-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},t4=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,t6={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:t4([0,.65,.55,1]),circOut:t4([.55,0,1,.45]),backIn:t4([.31,.01,.66,-.59]),backOut:t4([.33,1.53,.69,.99])};function t7(t){return"function"==typeof t&&"applyToOptions"in t}t.s(["isGenerator",0,t7],97307);class t8 extends t1{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:i,keyframes:n,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,te("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return t7(t)&&t5()?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:r=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let h={[e]:i};l&&(h.offset=l);let d=function t(e,i){if(e)return"function"==typeof e?t5()?t3(e,i):"ease-out":t2(e)?t4(e):Array.isArray(e)?e.map(e=>t(e,i)||t6.easeOut):t6[e]}(a,r);Array.isArray(d)&&(h.easing=d);let c={delay:n,duration:r,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};return u&&(c.pseudoElement=u),t.animate(h,c)}(e,i,n,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let t=t0(n,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(t),tX(e,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 tW(Number(this.animation.effect?.getComputedTiming?.().duration||0))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+tW(t)}get time(){return tW(Number(this.animation.currentTime)||0)}set time(t){let e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=tz(t),e&&this.animation.pause()}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,rangeStart:e,rangeEnd:i,observe:n}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&tZ())?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),i&&(this.animation.rangeEnd=i),tP):n(this)}}let t9=new Set(["opacity","clipPath","filter","transform"]),{schedule:et,cancel:ee}=tE(queueMicrotask,!1);function ei(){e=void 0}t.s(["cancelMicrotask",0,ee,"microtask",0,et],60140);let en={now:()=>(void 0===e&&en.set(tC.isProcessing||tS.useManualTiming?tC.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(ei)}},er=(t,e)=>e?1e3/e*t:0;t.s(["velocityPerSecond",0,er],25791);let es={current:void 0};class eo{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=en.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=en.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 tY);let i=this.events[t].add(e);return"change"===t?()=>{i(),tA.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 es.current&&es.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=en.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return er(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 ea(t,e){return new eo(t,e)}t.s(["collectMotionValues",0,es,"motionValue",0,ea],86427);let el=[...G,E,R],eu=new WeakMap;function eh(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function ed(t){return"string"==typeof t||Array.isArray(t)}t.s(["visualElementStore",0,eu],72094);let ec=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ep=["initial",...ec];function em(t){return eh(t.animate)||ep.some(e=>ed(t[e]))}function ef(t){return!!(em(t)||t.variants)}let ey={current:null},eg={current:!1},ev="u">typeof window;function ex(t){let e=[{},{}];
1return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function eb(t,e,i,n){if("function"==typeof e){let[r,s]=ex(n);e=e(void 0!==i?i:t.custom,r,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,s]=ex(n);e=e(void 0!==i?i:t.custom,r,s)}return e}let ew=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],eT={};function eP(t){eT=t}function eS(){return eT}class ek{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,skipAnimations:r,blockInitialAnimation:s,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=tB,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=en.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,tA.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=r,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=em(e),this.isVariantNode=ef(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:h,...d}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in d){const e=d[t];void 0!==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,eu.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:(eg.current||function(){if(eg.current=!0,ev)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>ey.current=t.matches;t.addEventListener("change",e),e()}else ey.current=!1}(),this.shouldReduceMotion=ey.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(),tM(this.notifyUpdate),tM(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:r,ease:s,duration:o}=e.accelerate,a=new t8({element:this.current,name:t,keyframes:n,times:r,ease:s,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&&tA.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()})}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 eT){let e=eT[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):Y()}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<ew.length;e++){let i=ew[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 r=e[n],s=i[n];if(X(r))t.addValue(n,r);else if(X(s))t.addValue(n,ea(r,{owner:t}));else if(s!==r)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(n);t.addValue(n,ea(void 0!==e?e:r,{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=ea(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,r;if("string"==typeof i&&(n=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(r=i,/^0[^.\s]+$/u.test(r))))i=parseFloat(i);else{let n;n=i,!el.find(K(n))&&R.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=eb(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 tY),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){et.render(this.render)}}t.s(["VisualElement",0,ek,"getFeatureDefinitions",0,eS,"setFeatureDefinitions",0,eP],17218);class eE extends ek{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 eA(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}let eM=(t,e)=>e&&"number"==typeof t?e.transform(t):t,eC={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ej=r.length;function eV(t,e,i){let{style:n,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(tn(t)){o[t]=i;continue}{let e=eM(i,U[t]);t.startsWith("origin")?(u=!0,a[t]=e):n[t]=e}}
1if(!e.transform&&(l||i?n.transform=function(t,e,i){let n="",s=!0;for(let o=0;o<ej;o++){let a=r[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=eM(l,U[a]);if(!u){s=!1;let e=eC[a]||a;n+=`${e}(${t}) `}i&&(e[a]=t)}}let o=t.pathRotation;return o&&(s=!1,n+=`rotate(${eM(o,U.pathRotation)}) `),n=n.trim(),i?n=i(e,s?"":n):s&&(n="none"),n}(e,t.transform,i):n.transform&&(n.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:i=0}=a;n.transformOrigin=`${t} ${e} ${i}`}}let eD={offset:"stroke-dashoffset",array:"stroke-dasharray"},eR={offset:"strokeDashoffset",array:"strokeDasharray"},eL=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function eF(t,{attrX:e,attrY:i,attrScale:n,pathLength:r,pathSpacing:s=1,pathOffset:o=0,...a},l,u,h){if(eV(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:d,style:c}=t;for(let t of(d.transform&&(c.transform=d.transform,delete d.transform),(c.transform||d.transformOrigin)&&(c.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),c.transform&&(c.transformBox=h?.transformBox??"fill-box",delete d.transformBox),eL))void 0!==d[t]&&(c[t]=d[t],delete d[t]);void 0!==e&&(d.x=e),void 0!==i&&(d.y=i),void 0!==n&&(d.scale=n),void 0!==r&&function(t,e,i=1,n=0,r=!0){t.pathLength=1;let s=r?eD:eR;t[s.offset]=`${-n}`,t[s.array]=`${e} ${i}`}(d,r,s,o,!1)}let eN=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"]),eB=t=>"string"==typeof t&&"svg"===t.toLowerCase();function eO(t,{style:e,vars:i},n,r){let s,o=t.style;for(s in e)o[s]=e[s];for(s in r?.applyProjectionStyles(o,n),i)o.setProperty(s,i[s])}let eI=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function eU(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let e$={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!w.test(t))return t;else t=parseFloat(t);let i=eU(t,e.target.x),n=eU(t,e.target.y);return`${i}% ${n}%`}},ez=(t,e,i)=>t+(e-t)*i;t.s(["mixNumber",0,ez],706);let eW={borderRadius:{...e$,applyTo:[...eI]},borderTopLeftRadius:e$,borderTopRightRadius:e$,borderBottomLeftRadius:e$,borderBottomRightRadius:e$,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=R.parse(t);if(n.length>5)return t;let r=R.createTransformer(t),s=+("number"!=typeof n[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;n[0+s]/=o,n[1+s]/=a;let l=ez(o,a,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),r(n)}}};function e_(t,{layout:e,layoutId:i}){return s.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!eW[t]||"opacity"===t)}function eH(t,e,i){let n=t.style,r=e?.style,s={};if(!n)return s;for(let e in n)(X(n[e])||r&&X(r[e])||e_(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(s[e]=n[e]);return s}function eY(t,e,i){let n=eH(t,e,i);for(let i in t)(X(t[i])||X(e[i]))&&(n[-1!==r.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}class eX extends eE{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Y}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(s.has(e)){let t=z(e);return t&&t.default||0}return e=eN.has(e)?e:eA(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return eY(t,e,i)}build(t,e,i){eF(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in eO(t,e,void 0,n),e.attrs)t.setAttribute(eN.has(i)?i:eA(i),e.attrs[i])}mount(t){this.isSVGTag=eB(t.tagName),super.mount(t)}}function eq({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function eK(t){return void 0===t||1===t}function eG({scale:t,scaleX:e,scaleY:i}){return!eK(t)||!eK(e)||!eK(i)}function eZ(t){return eG(t)||eQ(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function eQ(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}t.s(["SVGVisualElement",0,eX],75737);function eJ(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function e0(t,e=0,i=1,n,r){t.min=eJ(t.min,e,i,n,r),t.max=eJ(t.max,e,i,n,r)}function e1(t,{x:e,y:i}){e0(t.x,e.translate,e.scale,e.originPoint),e0(t.y,i.translate,i.scale,i.originPoint)}function e2(t,e){t.min+=e,t.max+=e}function e5(t,e,i,n,r=.5){let s=ez(t.min,t.max,r);e0(t,e,i,s,n)}function e3(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function e4(t,e,i){let n=i??t;e5(t.x,e3(e.x,n.x),e.scaleX,e.scale,e.originX),e5(t.y,e3(e.y,n.y),e.scaleY,e.scale,e.originY)}function e6(t,e){return eq(function(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}}(t.getBoundingClientRect(),e))}class e7 extends eE{constructor(){super(...arguments),this.type="html",this.renderInstance=eO}readValueFromInstance(t,e){if(s.has(e))return this.projection?.isProjecting?ty(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return tg(i,e)})(t,e);{let i=window.getComputedStyle(t),n=(tn(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return e6(t,e)}build(t,e,i){eV(t,e,i.transformTemplate)}
1scrapeMotionValuesFromProps(t,e,i){return eH(t,e,i)}}t.s(["HTMLVisualElement",0,e7],86783);var e8=t.i(71645);let e9=["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 it(t){if("string"!=typeof t||t.includes("-"));else if(e9.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var ie=t.i(43476);let ii=(0,e8.createContext)({});t.s(["LayoutGroupContext",0,ii],31178);let ir=(0,e8.createContext)({strict:!1}),is=(0,e8.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",0,is],37806);let io=(0,e8.createContext)({});function ia(t){return Array.isArray(t)?t.join(" "):t}let il=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function iu(t,e,i){for(let n in e)X(e[n])||e_(n,i)||(t[n]=e[n])}let ih=()=>({...il(),attrs:{}}),id=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 ic(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||id.has(t)}let ip=t=>!ic(t);try{Q=(()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default,"function"==typeof Q&&(ip=t=>t.startsWith("on")?!ic(t):Q(t))}catch{}function im(t){return X(t)?t.get():t}let iy=(0,e8.createContext)(null);function ig(t){let e=(0,e8.useRef)(null);return null===e.current&&(e.current=t()),e.current}t.s(["PresenceContext",0,iy],21476),t.s(["useConstant",0,ig],47414);let iv=t=>(e,i)=>{let n=(0,e8.useContext)(io),r=(0,e8.useContext)(iy),s=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,n,r){return{latestValues:function(t,e,i,n){let r={},s=n(t,{});for(let t in s)r[t]=im(s[t]);let{initial:o,animate:a}=t,l=em(t),u=ef(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let h=!!i&&!1===i.initial,d=(h=h||!1===o)?a:o;if(d&&"boolean"!=typeof d&&!eh(d)){let e=Array.isArray(d)?d:[d];for(let i=0;i<e.length;i++){let n=eb(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=h?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(i,n,r,t),renderState:e()}})(t,e,n,r);return i?s():ig(s)},ix=iv({scrapeMotionValuesFromProps:eH,createRenderState:il}),ib=iv({scrapeMotionValuesFromProps:eY,createRenderState:ih}),iw={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"]},iT=!1;function iP(){return!function(){if(iT)return;let t={};for(let e in iw)t[e]={isEnabled:t=>iw[e].some(e=>!!t[e])};eP(t),iT=!0}(),eS()}let iS=Symbol.for("motionComponentSymbol"),ik="data-"+eA("framerAppearId"),iE=(0,e8.createContext)({});function iA(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let iM="u">typeof window?e8.useLayoutEffect:e8.useEffect;function iC(t,{forwardMotionProps:e=!1,type:i}={},n,r){n&&function(t){let e=iP();for(let i in t)e[i]={...e[i],...t[i]};eP(e)}(n);let s=i?"svg"===i:it(t),o=s?ib:ix;function a(i,n){var a;let l,u,h,d={...(0,e8.useContext)(is),...i,layoutId:function({layoutId:t}){let e=(0,e8.useContext)(ii).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:c}=d,p=function(t){let{initial:e,animate:i}=function(t,e){if(em(t)){let{initial:e,animate:i}=t;return{initial:!1===e||ed(e)?e:void 0,animate:ed(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,e8.useContext)(io));return(0,e8.useMemo)(()=>({initial:e,animate:i}),[ia(e),ia(i)])}(i),m=o(i,c);if(!c&&"u">typeof window){(0,e8.useContext)(ir).strict;let e=function(t){let{drag:e,layout:i}=iP();if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}
1(d);l=e.MeasureLayout,p.visualElement=function(t,e,i,n,r,s){let{visualElement:o}=(0,e8.useContext)(io),a=(0,e8.useContext)(ir),l=(0,e8.useContext)(iy),u=(0,e8.useContext)(is),h=u.reducedMotion,d=u.skipAnimations,c=(0,e8.useRef)(null),p=(0,e8.useRef)(!1);n=n||a.renderer,!c.current&&n&&(c.current=n(t,{visualState:e,parent:o,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:h,skipAnimations:d,isSVG:s}),p.current&&c.current&&(c.current.manuallyAnimateOnMount=!0));let m=c.current,f=(0,e8.useContext)(iE);m&&!m.projection&&r&&("html"===m.type||"svg"===m.type)&&function(t,e,i,n){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:h,layoutCrossfade:d}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||a&&iA(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,crossfade:d,layoutScroll:l,layoutRoot:u,layoutAnchor:h})}(c.current,i,r,f);let y=(0,e8.useRef)(!1);(0,e8.useInsertionEffect)(()=>{m&&y.current&&m.update(i,l)});let g=i[ik],v=(0,e8.useRef)(!!g&&"u">typeof window&&!window.MotionHandoffIsComplete?.(g)&&window.MotionHasOptimisedAnimation?.(g));return iM(()=>{p.current=!0,m&&(y.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),v.current&&m.animationState&&m.animationState.animateChanges())}),(0,e8.useEffect)(()=>{m&&(!v.current&&m.animationState&&m.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(g)}),v.current=!1),m.enteringChildren=void 0)}),m}(t,m,d,r,e.ProjectionNode,s)}return(0,ie.jsxs)(io.Provider,{value:p,children:[l&&p.visualElement?(0,ie.jsx)(l,{visualElement:p.visualElement,...d}):null,function(t,e,i,{latestValues:n},r,s=!1,o){let a=(o??it(t)?function(t,e,i,n){let r=(0,e8.useMemo)(()=>{let i=ih();return eF(i,e,eB(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};iu(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i,n,r={},s=(i=t.style||{},iu(n={},i,t),Object.assign(n,function({transformTemplate:t},e){return(0,e8.useMemo)(()=>{let i=il();return eV(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),n);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.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=s,r})(e,n,r,t),l=function(t,e,i){let n={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&!X(t[r])&&(ip(r)||!0===i&&ic(r)||!e&&!ic(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(e,"string"==typeof t,s),u=t!==e8.Fragment?{...l,...a,ref:i}
1:{},{children:h}=e,d=(0,e8.useMemo)(()=>X(h)?h.get():h,[h]);return(0,e8.createElement)(t,{...u,children:d})}(t,i,(a=p.visualElement,u=(0,e8.useRef)(n),(0,e8.useInsertionEffect)(()=>{u.current=n}),h=(0,e8.useRef)(null),(0,e8.useCallback)(t=>{t&&m.onMount?.(t),a&&(t?a.mount(t):a.unmount());let e=u.current;if("function"==typeof e)if(t){let i=e(t);"function"==typeof i&&(h.current=i)}else h.current?(h.current(),h.current=null):e(t);else e&&(e.current=t)},[a])),m,c,e,s)]})}a.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let l=(0,e8.forwardRef)(a);return l[iS]=t,l}t.s(["useIsomorphicLayoutEffect",0,iM],74008);class ij{constructor(t){this.isMounted=!1,this.node=t}update(){}}function iV(t,e,i){let n=t.getProps();return eb(n,e,void 0!==i?i:n.custom,t)}function iD(t,e){if(t?.inherit&&e){let{inherit:i,...n}=t;return{...e,...n}}return t}function iR(t,e){let i=t?.[e]??t?.default??t;return i!==t?iD(i,t):i}let iL=t=>Array.isArray(t);function iF(t,e){let i=t.getValue("willChange");if(X(i)&&i.add)return i.add(e);if(!i&&tS.WillChange){let i=new tS.WillChange("auto");t.addValue("willChange",i),i.add(e)}}let iN=(...t)=>t.reduce((t,e)=>i=>e(t(i)));function iB(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function iO(t,e){return i=>i>0?e:t}let iI=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},iU=[g,y,k];function i$(t){let e=iU.find(e=>e.test(t));if(tt(!!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===k&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,s=0,o=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,a=2*i-n;r=iB(a,n,t+1/3),s=iB(a,n,t),o=iB(a,n,t-1/3)}else r=s=o=i;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*o),alpha:n}}(i)),i}let iz=(t,e)=>{let i=i$(t),n=i$(e);if(!i||!n)return iO(t,e);let r={...i};return t=>(r.red=iI(i.red,n.red,t),r.green=iI(i.green,n.green,t),r.blue=iI(i.blue,n.blue,t),r.alpha=ez(i.alpha,n.alpha,t),y.transform(r))},iW=new Set(["none","hidden"]);function i_(t,e){return i=>ez(t,e,i)}function iH(t){return"number"==typeof t?i_:"string"==typeof t?ts(t)?iO:E.test(t)?iz:iq:Array.isArray(t)?iY:"object"==typeof t?E.test(t)?iz:iX:iO}function iY(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>iH(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function iX(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=iH(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let iq=(t,e)=>{let i=R.createTransformer(e),n=V(t),r=V(e);if(!(n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length))return tt(!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"),iO(t,e);if(iW.has(t)&&!r.values.length||iW.has(e)&&!n.values.length)return iW.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return iN(iY(function(t,e){let i=[],n={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){let s=e.types[r],o=t.indexes[s][n[s]],a=t.values[o]??0;i[r]=a,n[s]++}return i}(n,r),r.values),i)};function iK(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?ez(t,e,i):iH(t)(t,e)}let iG=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>tA.update(e,t),stop:()=>tM(e),now:()=>tC.isProcessing?tC.timestamp:en.now()}};function iZ(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}function iQ(t,e=100,i){let n=i({...t,keyframes:[0,e]}),r=Math.min(iZ(n),2e4);return{type:"keyframes",ease:t=>n.next(r*t).value/e,duration:tW(r)}}t.s(["createGeneratorEasing",0,iQ],21748);let iJ=.01,i0=2,i1=.005,i2=.5;function i5(t,e){return t*Math.sqrt(1-e*e)}let i3=["duration","bounce"],i4=["stiffness","damping","mass"];function i6(t,e){return e.some(e=>void 0!==t[e])}function i7(t=.3,e=.3){let i,n,r,s,a,l,u="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:h,restDelta:d}
1=u,c=u.keyframes[0],p=u.keyframes[u.keyframes.length-1],m={done:!1,value:c},{stiffness:f,damping:y,mass:g,duration:v,velocity:x,isResolvedFromDuration:b}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!i6(t,i4)&&i6(t,i3))if(e.velocity=0,t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,r=2*o(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:1,stiffness:n,damping:r}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:n=1}){let r,s;tt(t<=tz(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-e;a=o(.05,1,a),t=o(.01,10,tW(t)),a<1?(r=e=>{let n=e*a,r=n*t;return .001-(n-i)/i5(e,a)*Math.exp(-r)},s=e=>{let n=e*a*t,s=Math.pow(a,2)*Math.pow(e,2)*t,o=Math.exp(-n),l=i5(Math.pow(e,2),a);return(n*i+i-s)*o*(-r(e)+.001>0?-1:1)/l}):(r=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));let l=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(r,s,5/t);if(t=tz(t),isNaN(l))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(l,2)*n;return{stiffness:e,damping:2*a*Math.sqrt(n*e),duration:t}}}({...t,velocity:0});(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...u,velocity:-tW(u.velocity||0)}),w=x||0,T=y/(2*Math.sqrt(f*g)),P=p-c,S=tW(Math.sqrt(f/g)),k=5>Math.abs(P);if(h||(h=k?iJ:i0),d||(d=k?i1:i2),T<1)r=i5(S,T),s=(w+T*S*P)/r,i=t=>p-Math.exp(-T*S*t)*(s*Math.sin(r*t)+P*Math.cos(r*t)),a=T*S*s+P*r,l=T*S*P-s*r,n=t=>Math.exp(-T*S*t)*(a*Math.sin(r*t)+l*Math.cos(r*t));else if(1===T){i=t=>p-Math.exp(-S*t)*(P+(w+S*P)*t);let t=w+S*P;n=e=>Math.exp(-S*e)*(S*t*e-w)}else{let t=S*Math.sqrt(T*T-1);i=e=>{let i=Math.exp(-T*S*e),n=Math.min(t*e,300);return p-i*((w+T*S*P)*Math.sinh(n)+t*P*Math.cosh(n))/t};let e=(w+T*S*P)/t,r=T*S*e-P*t,s=T*S*P-e*t;n=e=>{let i=Math.exp(-T*S*e),n=Math.min(t*e,300);return i*(r*Math.sinh(n)+s*Math.cosh(n))}}let E={calculatedDuration:b&&v||null,velocity:t=>tz(n(t)),next:t=>{if(!b&&T<1){let e=Math.exp(-T*S*t),i=Math.sin(r*t),n=Math.cos(r*t),o=p-e*(s*i+P*n);return m.done=Math.abs(tz(e*(a*i+l*n)))<=h&&Math.abs(p-o)<=d,m.value=m.done?p:o,m}let e=i(t);return b?m.done=t>=v:m.done=Math.abs(tz(n(t)))<=h&&Math.abs(p-e)<=d,m.value=m.done?p:e,m},toString:()=>{let t=Math.min(iZ(E),2e4),e=t3(e=>E.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return E}function i8(t,e,i){let n=Math.max(e-5,0);return er(i-t(n),e-n)}function i9({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let d,c,p=t[0],m={done:!1,value:p},f=i*e,y=p+f,g=void 0===o?y:o(y);g!==y&&(f=g-p);let v=t=>-f*Math.exp(-t/n),x=t=>g+v(t),b=t=>{let e=v(t),i=x(t);m.done=Math.abs(e)<=u,m.value=m.done?g:i},w=t=>{let e;if(e=m.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;d=t,c=i7({keyframes:[m.value,(i=m.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:i8(x,t,m.value),damping:r,stiffness:s,restDelta:u,restSpeed:h})}};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==d||(e=!0,b(t),w(t)),void 0!==d&&t>=d)?c.next(t-d):(e||b(t),m)}}}i7.applyToOptions=t=>{let e=iQ(t,100,i7);return t.ease=e.ease,t.duration=tz(e.duration),t.type="keyframes",t},t.s(["spring",0,i7],28409);let nt=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function ne(t,e,i,n){return t===e&&i===n?tP:r=>0===r||1===r?r:nt(function(t,e,i,n,r){let s,o,a=0;do(s=nt(o=e+(i-e)/2,n,r)-t)>0?i=o:e=o;while(Math.abs(s)>1e-7&&++a<12)return o}(r,0,1,t,i),e,n)}let ni=ne(.42,0,1,1),nn=ne(0,0,.58,1),nr=ne(.42,0,.58,1),ns=t=>Array.isArray(t)&&"number"!=typeof t[0];t.s(["isEasingArray",0,ns],93544);let no=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,na=t=>e=>1-t(1-e);t.s(["reverseEasing",0,na],30151);let nl=ne(.33,1.53,.69,.99),nu=na(nl),nh=no(nu),nd=t=>t>=1?1:(t*=2)<1?.5*nu(t):.5*(2-Math.pow(2,-10*(t-1))),nc=t=>1-Math.sin(Math.acos(t)),np=na(nc),nm=no(nc),nf={linear:tP,easeIn:ni,easeInOut:nr,easeOut:nn,circIn:nc,circInOut:nm,circOut:np,backIn:nu,backInOut:nh,backOut:nl,anticipate:nd},ny=t=>{if(t2(t)){te(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,r]=t;return ne(e,i,n,r)}return"string"==typeof t?(te(void 0!==nf[t],`Invalid easing type '${t}
1'`,"invalid-easing-type"),nf[t]):t},ng=(t,e,i)=>{let n=e-t;return n?(i-t)/n:1};function nv(t,e,{clamp:i=!0,ease:n,mixer:r}={}){let s=t.length;if(te(s===e.length,"Both input and output ranges must be the same length","range-length"),1===s)return()=>e[0];if(2===s&&e[0]===e[1])return()=>e[1];let a=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let l=function(t,e,i){let n=[],r=i||tS.mix||iK,s=t.length-1;for(let i=0;i<s;i++){let s=r(t[i],t[i+1]);e&&(s=iN(Array.isArray(e)?e[i]||tP:e,s)),n.push(s)}return n}(e,n,r),u=l.length,h=i=>{if(a&&i<t[0])return e[0];let n=0;if(u>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let r=ng(t[n],t[n+1],i);return l[n](r)};return i?e=>h(o(t[0],t[s-1],e)):h}function nx(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let r=ng(0,e,n);t.push(ez(i,1,r))}}function nb(t){let e=[0];return nx(e,t.length-1),e}function nw({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var r;let s=ns(n)?n.map(ny):ny(n),o={done:!1,value:e[0]},a=nv((r=i&&i.length===e.length?i:nb(e),r.map(e=>e*t)),e,{ease:Array.isArray(s)?s:e.map(()=>s||nr).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=a(e),o.done=e>=t,o)}}t.s(["progress",0,ng],83920),t.s(["interpolate",0,nv],44230),t.s(["fillOffset",0,nx],15932),t.s(["defaultOffset",0,nb],15923);let nT={decay:i9,inertia:i9,tween:nw,keyframes:nw,spring:i7};function nP(t){"string"==typeof t.type&&(t.type=nT[t.type])}let nS=t=>t/100;class nk extends t1{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==en.now()&&this.tick(en.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;nP(t);let{type:e=nw,repeat:i=0,repeatDelay:n=0,repeatType:r,velocity:s=0}=t,{keyframes:o}=t,a=e||nw;a!==nw&&"number"!=typeof o[0]&&(this.mixKeyframes=iN(nS,iK(o[0],o[1])),o=[0,100]);let l=a({...t,keyframes:o});"mirror"===r&&(this.mirroredGenerator=a({...t,keyframes:[...o].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=iZ(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 i,{generator:n,totalDuration:r,mixKeyframes:s,mirroredGenerator:a,resolvedDuration:l,calculatedDuration:u}=this;if(null===this.startTime)return n.next(0);let{delay:h=0,keyframes:d,repeat:c,repeatType:p,repeatDelay:m,type:f,onUpdate:y,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let v=this.currentTime-h*(this.playbackSpeed>=0?1:-1),x=this.playbackSpeed>=0?v<0:v>r;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let b=this.currentTime,w=n;if(c){let t=Math.min(this.currentTime,r)/l,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===p?(i=1-i,m&&(i-=m/l)):"mirror"===p&&(w=a)),b=o(0,1,i)*l}x?(this.delayState.value=d[0],i=this.delayState):i=w.next(b),s&&!x&&(i.value=s(i.value));let{done:T}=i;x||null===u||(T=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let P=null===this.holdTime&&("finished"===this.state||"running"===this.state&&T);return P&&f!==i9&&(i.value=t0(d,this.options,g,this.speed)),y&&y(i.value),P&&this.finish(),i}then(t,e){return this.finished.then(t,e)}get duration(){return tW(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+tW(t)}get time(){return tW(this.currentTime)}set time(t){t=tz(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?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){let t=this.currentTime;
1if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let e=this.generator.next(t).value;return i8(t=>this.generator.next(t).value,t,e)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(en.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=tW(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=iG,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(en.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}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)}}t.s(["JSAnimation",0,nk],83352);let nE={anticipate:nd,backInOut:nh,circInOut:nm};class nA extends t8{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in nE&&(t.ease=nE[t.ease])}
1(t),nP(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:r,...s}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let a=new nk({...s,autoplay:!1}),l=Math.max(10,en.now()-this.startTime),u=o(0,10,l-10),h=a.sample(l).value,{name:d}=this.options;r&&d&&tX(r,d,h),e.setWithVelocity(a.sample(Math.max(0,l-u)).value,h,u),a.stop()}}let nM=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(R.test(t)||"0"===t)&&!t.startsWith("url("));function nC(t){t.duration=0,t.type="keyframes"}let nj=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,nV=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),nD=tq(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class nR extends t1{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="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=en.now();const d={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,name:a,motionValue:l,element:u,...h},c=u?.KeyframeResolver||tB;this.keyframeResolver=new c(o,(t,e,i)=>this.onKeyframesResolved(t,e,d,!i),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){let r;this.keyframeResolver=void 0;let{name:s,type:o,velocity:a,delay:l,isHandoff:u,onUpdate:h}=i;this.resolvedAt=en.now();let d=!0;!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=nM(r,e),a=nM(s,e);return tt(o===a,`You are trying to animate ${e} from "${r}" to "${s}". "${o?s:r}" 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||t7(i))&&n)}(t,s,o,a)&&(d=!1,(tS.instantAnimations||!l)&&h?.(t0(t,i,e)),t[0]=t[t.length-1],nC(i),i.repeat=0);let c={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},p=d&&!u&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:o,keyframes:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:u}=e.owner.getProps();return nD()&&i&&(t9.has(i)||nV.has(i)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&nj.test(t[e]))return!0;return!1}(a))&&("transform"!==i||!u)&&!l&&!n&&"mirror"!==r&&0!==s&&"inertia"!==o}(c),m=c.motionValue?.owner?.current;if(p)try{r=new nA({...c,element:m})}catch{r=new nk(c)}else r=new nk(c);r.finished.then(()=>{this.notifyFinished()}).catch(tP),this.pendingTimeline&&(this.stopTimeline=r.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=r}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(),tL=!0,tN(),tF(),tL=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let nL={type:"spring",stiffness:500,damping:25,restSpeed:10},nF={type:"keyframes",duration:.8},nN={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nB=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),nO=(t,e,i,n={},r,o)=>a=>{let l=iR(n,t)||{}
1,u=l.delay||n.delay||0,{elapsed:h=0}=n;h-=tz(u);let d={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-h,onUpdate:t=>{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:o?void 0:r};!function(t){for(let e in t)if(!nB.has(e))return!0;return!1}(l)&&Object.assign(d,((t,{keyframes:e})=>e.length>2?nF:s.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:nL:nN)(t,d)),d.duration&&(d.duration=tz(d.duration)),d.repeatDelay&&(d.repeatDelay=tz(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let c=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(nC(d),0===d.delay&&(c=!0)),(tS.instantAnimations||tS.skipAnimations||r?.shouldSkipAnimations||l.skipAnimations)&&(c=!0,nC(d),d.delay=0),d.allowFlatten=!l.type&&!l.ease,c&&!o&&void 0!==e.get()){let t=t0(d.keyframes,l);if(void 0!==t)return void tA.update(()=>{d.onUpdate(t),d.onComplete()})}return l.isSync?new nk(d):new nR(d)};function nI(t,e,{delay:i=0,transitionOverride:n,type:r}={}){let{transition:s,transitionEnd:o,...a}=e,l=t.getDefaultTransition();s=s?iD(s,l):l;let u=s?.reduceMotion,h=s?.skipAnimations;n&&(s=n);let d=[],c=r&&t.animationState&&t.animationState.getState()[r],p=s?.path;for(let e in p&&p.animateVisualElement(t,a,s,i,d),a){let n=t.getValue(e,t.latestValues[e]??null),r=a[e];if(void 0===r||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,...iR(s||{},e)};h&&(o.skipAnimations=!0);let l=n.get();if(void 0!==l&&!n.isAnimating()&&!Array.isArray(r)&&r===l&&!o.velocity){tA.update(()=>n.set(r));continue}let p=!1;if(window.MotionHandoffAnimation){let i=t.props[ik];if(i){let t=window.MotionHandoffAnimation(i,e,tA);null!==t&&(o.startTime=t,p=!0)}}iF(t,e);let m=u??t.shouldReduceMotion;n.start(nO(e,n,r,m&&q.has(e)?{type:!1}:o,t,p));let f=n.animation;f&&d.push(f)}if(o){let e=()=>tA.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=iV(t,e)||{};for(let e in r={...r,...i}){var s;let i=iL(s=r[e])?s[s.length-1]||0:s;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,ea(i))}}(t,o)});d.length?Promise.all(d).then(e):e()}return d}function nU(t,e,i,n=0,r=1){let s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*n;return"function"==typeof i?i(s,o):1===r?s*n:a-s*n}function n$(t,e,i={}){let n=iV(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:r=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(r=i.transitionOverride);let s=n?()=>Promise.all(nI(t,n,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=r;return function(t,e,i=0,n=0,r=0,s=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(n$(l,e,{...o,delay:i+("function"==typeof n?0:n)+nU(t.variantChildren,l,n,r,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,n,s,o,a,i)}:()=>Promise.resolve(),{when:a}=r;if(!a)return Promise.all([s(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}t.s(["animateTarget",0,nI],72323);let nz=ep.length;function nW(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 n_=[...ec].reverse(),nH=ec.length;function nY(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nX(){return{animate:nY(!0),whileInView:nY(),whileHover:nY(),whileTap:nY(),whileDrag:nY(),whileFocus:nY(),exit:nY()}}let nq=0;function nK(t){return[t("x"),t("y")]}function nG(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}let nZ={x:!1,y:!1};function nQ(t){return t.max-t.min}function nJ(t,e,i,n=.5){t.origin=n,t.originPoint=ez(e.min,e.max,t.origin),t.scale=nQ(i)/nQ(e),t.translate=ez(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 n0(t,e,i,n){nJ(t.x,e.x,i.x,n?n.originX:void 0),nJ(t.y,e.y,i.y,n?n.originY:void 0)}function n1(t,e,i,n=0){t.min=(n?ez(i.min,i.max,n):i.min)+e.min,t.max=t.min+nQ(e)}function n2(t,e,i,n=0){let r=n?ez(i.min,i.max,n):i.min;t.min=e.min-r,t.max=t.min+nQ(e)}function n5(t,e,i,n){n2(t.x,e.x,i.x,n?.x),n2(t.y,e.y,i.y,n?.y)}let n3=t=>"object"==typeof t&&null!==t;function n4(t){return n3(t)&&"ownerSVGElement"in t}function n6(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 r=i?.[t]??n.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t).filter(t=>null!=t)}t.s(["isSVGElement",0,n4],89026),t.s(["resolveElements",0,n6],49652);let n7=new WeakMap,n8=(t,e,i)=>(n,r)=>r&&r[0]?r[0][t+"Size"]:n4(n)&&"getBBox"in n?n.getBBox()[e]:n[i],n9=n8("inline","width","offsetWidth"),rt=n8("block","height","offsetHeight");function re({target:t,borderBoxSize:e}){n7.get(t)?.forEach(i=>
1{i(t,{get width(){return n9(t,e)},get height(){return rt(t,e)}})})}function ri(t){t.forEach(re)}let rn=new Set;function rr(t,e){let r;return"function"==typeof t?(rn.add(t),n||(n=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};rn.forEach(e=>e(t))},window.addEventListener("resize",n)),()=>{rn.delete(t),rn.size||"function"!=typeof n||(window.removeEventListener("resize",n),n=void 0)}):(!i&&"u">typeof ResizeObserver&&(i=new ResizeObserver(ri)),(r=n6(t)).forEach(t=>{let n=n7.get(t);n||(n=new Set,n7.set(t,n)),n.add(e),i?.observe(t)}),()=>{r.forEach(t=>{let n=n7.get(t);n?.delete(e),n?.size||i?.unobserve(t)})})}t.s(["resize",0,rr],61327);let rs=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),ro=new Set(["INPUT","SELECT","TEXTAREA"]),ra=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function rl(t){return{point:{x:t.pageX,y:t.pageY}}}function ru(t,e,i,n){return nG(t,e,t=>ra(t)&&i(t,rl(t)),n)}let rh=({current:t})=>t?t.ownerDocument.defaultView:null,rd=(t,e)=>Math.abs(t-e),rc=new Set(["auto","scroll"]);class rp{constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=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;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=rm(this.lastRawMoveEventInfo,this.transformPagePoint));let i=ry(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(rd(t.x,e.x)**2+rd(t.y,e.y)**2)>=this.distanceThreshold);if(!n&&!r)return;let{point:s}=i,{timestamp:o}=tC;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=rm(e,this.transformPagePoint),tA.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=ry("pointercancel"===t.type?this.lastMoveEventInfo:rm(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!ra(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=n||window;const a=rm(rl(t),this.transformPagePoint),{point:l}=a,{timestamp:u}=tC;this.history=[{...l,timestamp:u}];const{onSessionStart:h}=e;h&&h(t,ry(a,this.history));const d={passive:!0,capture:!0};this.removeListeners=iN(ru(this.contextWindow,"pointermove",this.handlePointerMove,d),ru(this.contextWindow,"pointerup",this.handlePointerUp,d),ru(this.contextWindow,"pointercancel",this.handlePointerUp,d)),o&&this.startScrollTracking(o)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(rc.has(t.overflowX)||rc.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},r={x:n.x-e.x,y:n.y-e.y};(0!==r.x||0!==r.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(t,n),tA.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),tM(this.updatePoint)}}function rm(t,e){return e?{point:e(t.point)}:t}function rf(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ry({point:t},e){return{point:t,delta:rf(t,rg(e)),offset:rf(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,n=rg(t);for(;e>=0&&(i=t[e],!(n.timestamp-i.timestamp>tz(.1)));)e--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&n.timestamp-i.timestamp>2*tz(.1)&&(i=t[1]);let r=tW(n.timestamp-i.timestamp);if(0===r)return{x:0,y:0};let s={x:(n.x-i.x)/r,y:(n.y-i.y)/r};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(e)}}function rg(t){return t[t.length-1]}function rv(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 rx(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 rb(t,e,i){return{min:rw(t,e),max:rw(t,i)}}function rw(t,e){return"number"==typeof t?t:t[e]||0}let rT=new WeakMap;class rP{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=Y(),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 r=t=>{e&&this.snapToCursor(rl(t).point),this.stopAnimation()},s=(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(nZ[t])return null;else return nZ[t]=!0,()=>{nZ[t]=!1};return nZ.x||nZ.y?null:(nZ.x=nZ.y=!0,()=>{nZ.x=nZ.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nK(t=>{let e=this.getAxisMotionValue(t).get()||0;if(b.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];
1n&&(e=nQ(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&tA.update(()=>r(t,e),!1,!0),iF(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=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}(o),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&tA.update(()=>s(t,e),!1,!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new rp(t,{onSessionStart:r,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:rh(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!n||!i)return;let{velocity:s}=n;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&tA.postRender(()=>o(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||!rk(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?ez(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?ez(i,t,n.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}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&&iA(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:rv(t.x,i,r),y:rv(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:rb(t,"left","right"),y:rb(t,"top","bottom")}}(e),n!==this.constraints&&!iA(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&nK(t=>{var e,n;let r;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],n=this.constraints[t],r={},void 0!==n.min&&(r.min=n.min-e.min),void 0!==n.max&&(r.max=n.max-e.min),r))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!iA(e))return!1;let n=e.current;te(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:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let s=function(t,e,i){let n=e6(t,i),{scroll:r}=e;return r&&(e2(n.x,r.offset.x),e2(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),o=(t=r.layout.layoutBox,{x:rx(t.x,s.x),y:rx(t.y,s.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=eq(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(nK(o=>{if(!rk(o,e,this.currentDirection))return;let l=a&&a[o]||{};(!0===s||s===o)&&(l={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,...r,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return iF(this.visualElement,t),i.start(nO(t,i,0,e,this.visualElement,!1))}stopAnimation(){nK(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`;return this.visualElement.getProps()[e]||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){nK(e=>{let{drag:i}=this.getProps();if(!rk(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[e],o=r.get()||0;r.set(t[e]-ez(i,s,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!iA(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};nK(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,r;let s,a,l,u=e.get();n[t]=(i={min:u,max:u},r=this.constraints[t],s=.5,a=nQ(i),(l=nQ(r))>a?s=ng(r.min,r.max-a,i.min):a>l&&(s=ng(i.min,i.max-l,r.min)),o(0,1,s))}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),nK(e=>{if(!rk(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set(ez(r,s,n[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;rT.set(this.visualElement,this);let e=this.visualElement.current,i=ru(e,"pointerdown",t=>{let{drag:i,dragListener:n=!0}
1=this.getProps(),r=t.target,s=r!==e&&(ro.has(r.tagName)||!0===r.isContentEditable);i&&n&&!s&&this.start(t)}),n=()=>{var i,n,r;let s,o,{dragConstraints:a}=this.getProps();iA(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,n=a.current,s=rr(i,rS(r=()=>this.scalePositionWithinConstraints())),o=rr(n,rS(r)),t=()=>{s(),o()}))},{projection:r}=this.visualElement,s=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),tA.read(n);let o=nG(window,"resize",()=>this.scalePositionWithinConstraints()),a=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(nK(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{o(),i(),s(),a&&a(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function rS(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function rk(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}let rE=t=>(e,i)=>{t&&tA.update(()=>t(e,i),!1,!0)},rA={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var rM=e8;function rC(t=!0){let e=(0,e8.useContext)(iy);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:n,register:r}=e,s=(0,e8.useId)();(0,e8.useEffect)(()=>{if(t)return r(s)},[t]);let o=(0,e8.useCallback)(()=>t&&n&&n(s),[s,n,t]);return!i&&n?[!1,o]:[!0]}t.s(["usePresence",0,rC],64978);let rj=!1;class rV extends rM.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),rj&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),rA.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,{projection:s}=i;return s&&(s.isPresent=r,t.layoutDependency!==e&&s.setOptions({...s.options,layoutDependency:e}),rj=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||tA.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:e}=this.props,{projection:i}=t;i&&(i.options.layoutAnchor=e,i.root.didUpdate(),et.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;rj=!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 rD(t){let[e,i]=rC(),n=(0,rM.useContext)(ii);return(0,ie.jsx)(rV,{...t,layoutGroup:n,switchLayoutGroup:(0,rM.useContext)(iE),isPresent:e,safeToRemove:i})}function rR(t,e,i){let n=X(t)?t:ea(t);return n.start(nO("",n,e,i)),n.animation}t.s(["animateSingleValue",0,rR],68705);function rL(t){return n4(t)&&"svg"===t.tagName}t.s(["isSVGSVGElement",0,rL],36331);let rF=eI.length,rN=t=>"string"==typeof t?parseFloat(t):t,rB=t=>"number"==typeof t||w.test(t);function rO(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let rI=r$(0,.5,np),rU=r$(.5,.95,tP);function r$(t,e,i){return n=>n<t?0:n>e?1:i(ng(t,e,n))}function rz(t,e){t.min=e.min,t.max=e.max}function rW(t,e){rz(t.x,e.x),rz(t.y,e.y)}function r_(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function rH(t,e,i,n,r){return t-=e,t=n+1/i*(t-n),void 0!==r&&(t=n+1/r*(t-n)),t}function rY(t,e,[i,n,r],s,o){!function(t,e=0,i=1,n=.5,r,s=t,o=t){if(b.test(e)&&(e=parseFloat(e),e=ez(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=ez(s.min,s.max,n);t===s&&(a-=e),t.min=rH(t.min,e,i,a,r),t.max=rH(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,s,o)}let rX=["x","scaleX","originX"],rq=["y","scaleY","originY"];function rK(t,e,i,n){rY(t.x,e,rX,i?i.x:void 0,n?n.x:void 0),rY(t.y,e,rq,i?i.y:void 0,n?n.y:void 0)}function rG(t){return 0===t.translate&&1===t.scale}function rZ(t){return rG(t.x)&&rG(t.y)}function rQ(t,e){return t.min===e.min&&t.max===e.max}function rJ(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function r0(t,e){return rJ(t.x,e.x)&&rJ(t.y,e.y)}function r1(t){return nQ(t.x)/nQ(t.y)}function r2(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class r5{constructor(){this.members=[]}add(t){t_(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||i.snapshot||(tH(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if(tH(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)}
1}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){let t=this.members[e];if(!1!==t.isPresent&&t.instance?.isConnected!==!1)return this.promote(t),!0}return!1}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.updateSnapshot(),t.scheduleRender();let{layoutDependency:n}=i.options,{layoutDependency:r}=t.options;(void 0===n||n!==r)&&(t.resumeFrom=i,e&&(i.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let r3=(t,e)=>t.depth-e.depth;class r4{constructor(){this.children=[],this.isDirty=!1}add(t){t_(this.children,t),this.isDirty=!0}remove(t){tH(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(r3),this.isDirty=!1,this.children.forEach(t)}}let r6=["","X","Y","Z"],r7=0;function r8(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function r9({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=e?.()){this.id=r7++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(si),this.nodes.forEach(sd),this.nodes.forEach(sc),this.nodes.forEach(sn)},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 r4)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tY),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=n4(e)&&!rL(e),this.instance=e;let{layoutId:i,layout:n,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),t){let i,n=0,r=()=>this.root.updateBlockedByResize=!1;tA.read(()=>{n=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==n){let e,s;n=t,this.root.updateBlockedByResize=!0,i&&i(),e=en.now(),s=({timestamp:t})=>{let i=t-e;i>=250&&(tM(s),r(i-250))},tA.setup(s,!0),i=()=>tM(s),rA.hasAnimatedSinceResize&&(rA.hasAnimatedSinceResize=!1,this.nodes.forEach(sh))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(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||r.getDefaultTransition()||sv,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!r0(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={...iR(s,"layout"),onPlay:o,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u,e.path)}else e||sh(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(),tM(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(sp),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=i.props[ik];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",tA,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,("string"==typeof e.latestValues.x||"string"==typeof e.latestValues.y)&&(e.isLayoutDirty=!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()){let t=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEach(so),this.nodes.forEach(ss);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(sa);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(sl),this.nodes.forEach(su),this.nodes.forEach(st),this.nodes.forEach(se)):this.nodes.forEach(sa),this.clearAllSnapshots();let t=en.now();tC.delta=o(0,1e3/60,t-tC.timestamp),tC.timestamp=t,tC.isProcessing=!0,tj.update.process(tC),tj.preRender.process(tC),tj.render.process(tC),tC.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,et.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(sr),this.sharedNodes.forEach(sm)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tA.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tA.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||nQ(this.snapshot.measuredBox.x)||nQ(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||(this.layoutCorrected=Y()),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(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!rZ(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||eZ(this.latestValues)||s)&&(r(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)),sw((e=n).x),sw(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return Y();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(sP))){let{scroll:t}=this.root;t&&(e2(e.x,t.offset.x),e2(e.y,t.offset.y))}return e}removeElementScroll(t){let e=Y();if(rW(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:r,options:s}=n;n!==this.root&&r&&s.layoutScroll&&(r.wasRoot&&rW(e,t),e2(e.x,r.offset.x),e2(e.y,r.offset.y))}return e}applyTransform(t,e=!1,i){let n=i||Y();rW(n,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(e2(n.x,-i.scroll.offset.x),e2(n.y,-i.scroll.offset.y)),eZ(i.latestValues)&&e4(n,i.latestValues,i.layout?.layoutBox)}return eZ(this.latestValues)&&e4(n,this.latestValues,this.layout?.layoutBox),n}removeTransform(t){let e=Y();rW(e,t);for(let t=0;t<this.path.length;t++){let i,n=this.path[t];eZ(n.latestValues)&&(n.instance&&(eG(n.latestValues)&&n.updateSnapshot(),rW(i=Y(),n.measurePageBox())),rK(e,n.latestValues,n.snapshot?.layoutBox,i))}return eZ(this.latestValues)&&rK(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!==tC.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:r}=this.options;if(!this.layout||!(n||r))return;this.resolvedRelativeTargetAt=tC.timestamp;let s=this.getClosestProjectingParent();if(s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=Y(),this.targetWithTransforms=Y()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var o,a,l,u;this.forceRelativeParentToResolveTarget(),o=this.target,a=this.relativeTarget,l=this.relativeParent.target,u=this.options.layoutAnchor||void 0,n1(o.x,a.x,l.x,u?.x),n1(o.y,a.y,l.y,u?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):rW(this.target,this.layout.layoutBox),e1(this.target,this.targetDelta)):rW(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&s&&!!s.resumingFrom==!!this.resumingFrom&&!s.options.layoutScroll&&s.target&&1!==this.animationProgress?this.createRelativeTarget(s,this.target,s.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||eG(this.parent.latestValues)||eQ(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=Y(),this.relativeTargetOrigin=Y(),n5(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),rW(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===tC.timestamp&&(i=!1),i)return;let{layout:n,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||r))return;rW(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;!function(t,e,i,n=!1){let r,s,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(r=i[a]).projectionDelta;let{visualElement:o}=r.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(e2(t.x,-r.scroll.offset.x),e2(t.y,-r.scroll.offset.y)),s&&(e.x*=s.x.scale,e.y*=s.y.scale,e1(t,s)),n&&eZ(r.latestValues)&&e4(t,r.latestValues,r.layout?.layoutBox))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=Y());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(r_(this.prevProjectionDelta.x,this.projectionDelta.x),r_(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),n0(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&r2(this.projectionDelta.x,this.prevProjectionDelta.x)&&r2(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}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=_(),this.projectionDelta=_(),this.projectionDeltaWithTransform=_()}setAnimationOrigin(t,e=!1,i){let n,r=this.snapshot,s=r?r.latestValues:{},o={...this.latestValues},a=_();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let l=Y(),u=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),d=!h||h.members.length<=1,c=!!(u&&!d&&!0===this.options.crossfade&&!this.path.some(sg));this.animationProgress=0;let p=i?.interpolateProjection(t);this.mixTargetDelta=e=>{let i=e/1e3,r=p?.(i);if(r?(a.x.translate=r.x,a.x.scale=ez(t.x.scale,1,i),a.x.origin=t.x.origin,a.x.originPoint=t.x.originPoint,a.y.translate=r.y,a.y.scale=ez(t.y.scale,1,i),a.y.origin=t.y.origin,a.y.originPoint=t.y.originPoint):(sf(a.x,t.x,i),sf(a.y,t.y,i)),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,m,f,y,g,v;n5(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),f=this.relativeTarget,y=this.relativeTargetOrigin,g=l,v=i,sy(f.x,y.x,g.x,v),sy(f.y,y.y,g.y,v),n&&(h=this.relativeTarget,m=n,rQ(h.x,m.x)&&rQ(h.y,m.y))&&(this.isProjectionDirty=!1),n||(n=Y()),rW(n,this.relativeTarget)}u&&(this.animationValues=o,function(t,e,i,n,r,s){r?(t.opacity=ez(0,i.opacity??1,rI(n)),t.opacityExit=ez(e.opacity??1,0,rU(n))):s&&(t.opacity=ez(e.opacity??1,i.opacity??1,n));for(let r=0;r<rF;r++){let s=eI[r],o=rO(e,s),a=rO(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||rB(o)===rB(a)?(t[s]=Math.max(ez(rN(o),rN(a),n),0),(b.test(a)||b.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=ez(e.rotate||0,i.rotate||0,n))}(o,s,this.latestValues,i,c,d)),r&&void 0!==r.rotate&&(this.animationValues||(this.animationValues=o),this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(tM(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tA.update(()=>{rA.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ea(0)),this.motionValue.jump(0,!1),this.currentAnimation=rR(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),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:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&sT(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||Y();let e=nQ(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=nQ(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}rW(e,i),e4(e,r),n0(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new r5),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;
1return 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&&r8("z",t,n,this.animationValues);for(let e=0;e<r6.length;e++)r8(`rotate${r6[e]}`,t,n,this.animationValues),r8(`skew${r6[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=im(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=im(e?.pointerEvents)||""),this.hasProjected&&!eZ(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let r=n.animationValues||n.latestValues;this.applyTransformsToTarget();let s=function(t,e,i){let n="",r=t.x.translate/e.x,s=t.y.translate/e.y,o=i?.z||0;if((r||s||o)&&(n=`translate3d(${r}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,pathRotation:r,rotateX:s,rotateY:o,skewX:a,skewY:l}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),r&&(n+=`rotate(${r}deg) `),s&&(n+=`rotateX(${s}deg) `),o&&(n+=`rotateY(${o}deg) `),a&&(n+=`skewX(${a}deg) `),l&&(n+=`skewY(${l}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,r);i&&(s=i(r,s)),t.transform=s;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?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:t.opacity=n===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,eW){if(void 0===r[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=eW[e],l="none"===s?r[e]:i(r[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?im(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(ss),this.root.sharedNodes.clear()}}}function st(t){t.updateLayout()}function se(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:r}=t.options,s=e.source!==t.layout.source;if("size"===r)nK(t=>{let n=s?e.measuredBox[t]:e.layoutBox[t],r=nQ(n);n.min=i[t].min,n.max=n.min+r});else if("x"===r||"y"===r){let t="x"===r?"y":"x";rz(s?e.measuredBox[t]:e.layoutBox[t],i[t])}else sT(r,e.layoutBox,i)&&nK(n=>{let r=s?e.measuredBox[n]:e.layoutBox[n],o=nQ(i[n]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=_();n0(o,i,e.layoutBox);let a=_();s?n0(a,t.applyTransform(n,!0),e.measuredBox):n0(a,i,e.layoutBox);let l=!rZ(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let o=t.options.layoutAnchor||void 0,a=Y();n5(a,e.layoutBox,r.layoutBox,o);let l=Y();n5(l,i,s.layoutBox,o),r0(a,l)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=a,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 si(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function sn(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function sr(t){t.clearSnapshot()}function ss(t){t.clearMeasurements()}function so(t){t.isLayoutDirty=!0,t.updateLayout()}function sa(t){t.isLayoutDirty=!1}function sl(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function su(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function sh(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function sd(t){t.resolveTargetDelta()}function sc(t){t.calcProjection()}function sp(t){t.resetSkewAndRotation()}function sm(t){t.removeLeadSnapshot()}function sf(t,e,i){t.translate=ez(e.translate,0,i),t.scale=ez(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function sy(t,e,i,n){t.min=ez(e.min,i.min,n),t.max=ez(e.max,i.max,n)}function sg(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let sv={duration:.45,ease:[.4,0,.1,1]},sx=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),sb=sx("applewebkit/")&&!sx("chrome/")?Math.round:tP;function sw(t){t.min=sb(t.min),t.max=sb(t.max)}function sT(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(r1(e)-r1(i)))}function sP(t){return t!==t.root&&t.scroll?.wasRoot}let sS=r9({attachResizeListener:(t,e)=>nG(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),sk={current:void 0},sE=r9({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!sk.current){let t=new sS({});t.mount(window),t.setOptions({layoutScroll:!0}),sk.current=t}return sk.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function sA(t,e){let i=n6(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function sM(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&tA.postRender(()=>r(e,rl(e)))}function sC(t){return n3(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}t.s(["isHTMLElement",0,sC],72846);let sj=(t,e)=>!!e&&(t===e||sj(t,e.parentElement)),sV=new WeakSet;function sD(t){return e=>{"Enter"===e.key&&t(e)}}function sR(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function sL(t){return ra(t)&&!(nZ.x||nZ.y)}let sF=new WeakSet;function sN(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 r=n["onTap"+("End"===i?"":i)];r&&tA.postRender(()=>r(e,rl(e)))}let sB=new WeakMap,sO=new WeakMap,sI=t=>{let e=sB.get(t.target);e&&e(t)},sU=t=>{t.forEach(sI)},s$={some:0,all:1},sz=function(t,e){if("u"<typeof Proxy)return iC;let i=new Map,n=(i,n)=>iC(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(r,s)=>"create"===s?n:(i.has(s)||i.set(s,iC(s,void 0,t,e)),i.get(s))})}({animation:{Feature:class extends ij{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=>n$(t,e,i)));else if("string"==typeof e)n=n$(t,e,i);else{let r="function"==typeof e?iV(t,e,i.custom):e;n=Promise.all(nI(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=nX(),n=!0,r=!1,s=e=>(i,n)=>{let r=iV(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...n}=r;i={...i,...n,...e}}return i};function o(o){let{props:a}=t,l=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<nz;t++){let n=ep[t],r=e.props[n];(ed(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},u=[],h=new Set,d={},c=1/0;for(let e=0;e<nH;e++){var p,m;
1let f=n_[e],y=i[f],g=void 0!==a[f]?a[f]:l[f],v=ed(g),x=f===o?y.isActive:null;!1===x&&(c=e);let b=g===l[f]&&g!==a[f]&&v;if(b&&(n||r)&&t.manuallyAnimateOnMount&&(b=!1),y.protectedKeys={...d},!y.isActive&&null===x||!g&&!y.prevProp||eh(g)||"boolean"==typeof g)continue;if("exit"===f&&y.isActive&&!0!==x){y.prevResolvedValues&&(d={...d,...y.prevResolvedValues});continue}let w=(p=y.prevProp,"string"==typeof(m=g)?m!==p:!!Array.isArray(m)&&!nW(m,p)),T=w||f===o&&y.isActive&&!b&&v||e>c&&v,P=!1,S=Array.isArray(g)?g:[g],k=S.reduce(s(f),{});!1===x&&(k={});let{prevResolvedValues:E={}}=y,A={...E,...k},M=e=>{T=!0,h.has(e)&&(P=!0,h.delete(e)),y.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in A){let e=k[t],i=E[t];if(!d.hasOwnProperty(t))(iL(e)&&iL(i)?!nW(e,i)||w:e!==i)?null!=e?M(t):h.add(t):void 0!==e&&h.has(t)?M(t):y.protectedKeys[t]=!0}y.prevProp=g,y.prevResolvedValues=k,y.isActive&&(d={...d,...k}),(n||r)&&t.blockInitialAnimation&&(T=!1);let C=b&&w,j=!C||P;T&&j&&u.push(...S.map(e=>{let i={type:f};if("string"==typeof e&&(n||r)&&!C&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,r=iV(n,e);if(n.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=nU(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(h.size){let e={};if("boolean"!=typeof a.initial){let i=iV(t,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(e.transition=i.transition)}h.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=n??null}),u.push({animation:e})}let f=!!u.length;return n&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(f=!1),n=!1,r=!1,f?e(u):Promise.resolve()}return{animateChanges:o,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 r=o(e);for(let t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=nX(),r=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();eh(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 ij{constructor(){super(...arguments),this.id=nq++,this.isExitComplete=!1}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;if(t&&!1===i){if(this.isExitComplete){let{initial:t,custom:e}=this.node.getProps();if("string"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)){let i=iV(this.node,t,e);if(i){let{transition:t,transitionEnd:e,...n}=i;for(let t in n)this.node.getValue(t)?.jump(n[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends ij{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:o}=i,a={root:n?n.current:void 0,rootMargin:r,threshold:"number"==typeof s?s:s$[s]},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(),r=e?i:n;r&&r(t)};this.stopObserver=(t=this.node.current,e=function({root:t,...e}){let i=t||document;sO.has(i)||sO.set(i,{});let n=sO.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(sU,{root:t,...e})),n[r]}(a),sB.set(t,l),e.observe(t),()=>{sB.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(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends ij{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,r,s]=sA(t,i),o=t=>{let n=t.currentTarget;if(!sL(t)||sF.has(t))return;sV.add(n),i.stopPropagation&&sF.add(t);let s=e(n,t),o={...r,capture:!0},a=(t,e)=>{window.removeEventListener("pointerup",l,o),window.removeEventListener("pointercancel",u,o),sV.has(n)&&sV.delete(n),sL(t)&&"function"==typeof s&&s(t,{success:e})},l=t=>{a(t,n===window||n===document||i.useGlobalTarget||sj(n,t.target))},u=t=>{a(t,!1)};window.addEventListener("pointerup",l,o),window.addEventListener("pointercancel",u,o)};return n.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",o,r),sC(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=sD(()=>{if(sV.has(i))return;sR(i,"down");let t=sD(()=>{sR(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>sR(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,r)),rs.has(t.tagName)||!0===t.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(sN(this.node,e,"Start"),(t,{success:e})=>sN(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}},focus:{Feature:class extends ij{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=iN(nG(this.node.current,"focus",()=>this.onFocus()),nG(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends ij{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=sA(t,i);return n.forEach(t=>{let i,n=!1,s=!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),s&&(s=!1,o(t))},l=t=>{if("touch"!==t.pointerType){if(n){s=!0;return}o(t)}};t.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||nZ.x||nZ.y)return;s=!1;let o=e(t,n);"function"==typeof o&&(i=o,t.addEventListener("pointerleave",l,r))},r),t.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",a,r)},r)}),s}(t,(t,e)=>(sM(this.node,e,"Start"),t=>sM(this.node,t,"End"))))}unmount(){}}},pan:{Feature:class extends ij{constructor(){super(...arguments),this.removePointerDownListener=tP}onPointerDown(t){this.session=new rp(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rh(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:rE(t),onStart:rE(e),onMove:rE(i),onEnd:(t,e)=>{delete this.session,n&&tA.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=ru(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends ij{constructor(t){super(t),this.removeGroupControls=tP,this.removeListeners=tP,this.controls=new rP(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tP}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:sE,MeasureLayout:rD},layout:{ProjectionNode:sE,MeasureLayout:rD}},(t,e)=>e.isSVG??it(t)?new eX(e):new e7(e,{allowProjection:t!==e8.Fragment}));t.s(["motion",0,sz],46932)},88653,t=>{"use strict";t.i(47167);var e=t.i(43476),i=t.i(71645),n=t.i(31178),r=t.i(47414),s=t.i(74008),o=t.i(21476),a=t.i(72846),l=i,u=t.i(37806);function h(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}class d extends l.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if((0,a.isHTMLElement)(e)&&t.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let t=e.offsetParent,
1i=(0,a.isHTMLElement)(t)&&t.offsetWidth||0,n=(0,a.isHTMLElement)(t)&&t.offsetHeight||0,r=getComputedStyle(e),s=this.props.sizeRef.current;s.height=parseFloat(r.height),s.width=parseFloat(r.width),s.top=e.offsetTop,s.left=e.offsetLeft,s.right=i-s.width-s.left,s.bottom=n-s.height-s.top,s.direction=r.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function c({children:t,isPresent:n,anchorX:r,anchorY:s,root:o,pop:a}){let p=(0,l.useId)(),m=(0,l.useRef)(null),f=(0,l.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:y}=(0,l.useContext)(u.MotionConfigContext),g=function(...t){return i.useCallback(function(...t){return e=>{let i=!1,n=t.map(t=>{let n=h(t,e);return i||"function"!=typeof n||(i=!0),n});if(i)return()=>{for(let e=0;e<n.length;e++){let i=n[e];"function"==typeof i?i():h(t[e],null)}}}}(...t),t)}(m,t.props?.ref??t?.ref);return(0,l.useInsertionEffect)(()=>{let{width:t,height:e,top:i,left:l,right:u,bottom:h,direction:d}=f.current;if(n||!1===a||!m.current||!t||!e)return;let c="rtl"===d,g="left"===r?c?`right: ${u}`:`left: ${l}`:c?`left: ${l}`:`right: ${u}`,v="bottom"===s?`bottom: ${h}`:`top: ${i}`;m.current.dataset.motionPopId=p;let x=document.createElement("style");y&&(x.nonce=y);let b=o??document.head;return b.appendChild(x),x.sheet&&x.sheet.insertRule(` 2 [data-motion-pop-id="${p}"] { 3 position: absolute !important; 4 width: ${t}px !important; 5 height: ${e}px !important; 6 ${g}px !important; 7 ${v}px !important; 8 } 9 `),()=>{m.current?.removeAttribute("data-motion-pop-id"),b.contains(x)&&b.removeChild(x)}},[n]),(0,e.jsx)(d,{isPresent:n,childRef:m,sizeRef:f,pop:a,children:!1===a?t:l.cloneElement(t,{ref:g})})}let p=({children:t,initial:n,isPresent:a,onExitComplete:l,custom:u,presenceAffectsLayout:h,mode:d,anchorX:p,anchorY:f,root:y})=>{let g=(0,r.useConstant)(m),v=(0,i.useId)(),x=(0,i.useRef)(a),b=(0,i.useRef)(l);(0,s.useIsomorphicLayoutEffect)(()=>{x.current=a,b.current=l});let w=!0,T=(0,i.useMemo)(()=>(w=!1,{id:v,initial:n,isPresent:a,custom:u,onExitComplete:t=>{for(let e of(g.set(t,!0),g.values()))if(!e)return;l&&l()},register:t=>(g.set(t,!1),()=>{g.delete(t),x.current||g.size||b.current?.()})}),[a,g,l]);return h&&w&&(T={...T}),(0,i.useMemo)(()=>{g.forEach((t,e)=>g.set(e,!1))},[a]),i.useEffect(()=>{a||g.size||!l||l()},[a]),t=(0,e.jsx)(c,{pop:"popLayout"===d,isPresent:a,anchorX:p,anchorY:f,root:y,children:t}),(0,e.jsx)(o.PresenceContext.Provider,{value:T,children:t})};function m(){return new Map}var f=t.i(64978);let y=t=>t.key||"";function g(t){let e=[];return i.Children.forEach(t,t=>{(0,i.isValidElement)(t)&&e.push(t)}),e}t.s(["AnimatePresence",0,({children:t,custom:o,initial:a=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:h="sync",propagate:d=!1,anchorX:c="left",anchorY:m="top",root:v})=>{let[x,b]=(0,f.usePresence)(d),w=(0,i.useMemo)(()=>g(t),[t]),T=d&&!x?[]:w.map(y),P=(0,i.useRef)(!0),S=(0,i.useRef)(w),k=(0,r.useConstant)(()=>new Map),E=(0,i.useRef)(new Set),[A,M]=(0,i.useState)(w),[C,j]=(0,i.useState)(w);(0,s.useIsomorphicLayoutEffect)(()=>{P.current=!1,S.current=w;for(let t=0;t<C.length;t++){let e=y(C[t]);T.includes(e)?(k.delete(e),E.current.delete(e)):!0!==k.get(e)&&k.set(e,!1)}},[C,T.length,T.join("-")]);let V=[];if(w!==A){let t=[...w];for(let e=0;e<C.length;e++){let i=C[e],n=y(i);T.includes(n)||(t.splice(e,0,i),V.push(i))}return"wait"===h&&V.length&&(t=V),j(g(t)),M(w),null}let{forceRender:D}=(0,i.useContext)(n.LayoutGroupContext);return(0,e.jsx)(e.Fragment,{children:C.map(t=>{let i=y(t),n=(!d||!!x)&&(w===C||T.includes(i));return(0,e.jsx)(p,{isPresent:n,initial:(!P.current||!!a)&&void 0,custom:o,presenceAffectsLayout:u,mode:h,root:v,onExitComplete:n?void 0:()=>{if(E.current.has(i)||!k.has(i))return;E.current.add(i),k.set(i,!0);let t=!0;k.forEach(e=>{e||(t=!1)}),t&&(D?.(),j(S.current),d&&b?.(),l&&l())},anchorX:c,anchorY:m,children:t},i)})})}],88653)},75254,t=>{"use strict";var e=t.i(71645);let i=(...t)=>t.filter((t,e,i)=>!!t&&""!==t.trim()&&i.indexOf(t)===e).join(" ").trim();var n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let r=(0,e.forwardRef)(({color:t="currentColor",size:r=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:a="",children:l,iconNode:u,...h},d)=>(0,e.createElement)("svg",{ref:d,...n,width:r,height:r,stroke:t,strokeWidth:o?24*Number(s)/Number(r):s,className:i("lucide",a),...h},[...u.map(([t,i])=>(0,e.createElement)(t,i)),...Array.isArray(l)?l:[l]]));t.s(["default",0,(t,n)=>{let s=(0,e.forwardRef)(({className:s,...o},a)=>(0,e.createElement)(r,{ref:a,iconNode:n,className:i(`lucide-${t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,s),...o}));return s.displayName=`${t}`,s}],75254)},43531,t=>{"use strict";let e=(0,t.i(75254).default)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);t.s(["Check",0,e],43531)}
9,37727,t=>{"use strict";let e=(0,t.i(75254).default)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);t.s(["X",0,e],37727)},64659,t=>{"use strict";let e=(0,t.i(75254).default)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);t.s(["ChevronDown",0,e],64659)},72520,t=>{"use strict";let e=(0,t.i(75254).default)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);t.s(["ArrowRight",0,e],72520)},78583,t=>{"use strict";let e=(0,t.i(75254).default)("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);t.s(["FileText",0,e],78583)},92161,t=>{"use strict";let e=(0,t.i(75254).default)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);t.s(["Menu",0,e],92161)},83086,t=>{"use strict";let e=(0,t.i(75254).default)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);t.s(["Sparkles",0,e],83086)},95057,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={formatUrl:function(){return a},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var r in n)Object.defineProperty(i,r,{enumerable:!0,get:n[r]});let s=t.r(90809)._(t.r(98183)),o=/https?|ftp|gopher|file/;function a(t){let{auth:e,hostname:i}=t,n=t.protocol||"",r=t.pathname||"",a=t.hash||"",l=t.query||"",u=!1;e=e?encodeURIComponent(e).replace(/%3A/i,":")+"@":"",t.host?u=e+t.host:i&&(u=e+(~i.indexOf(":")?`[${i}]`:i),t.port&&(u+=":"+t.port)),l&&"object"==typeof l&&(l=String(s.urlQueryToSearchParams(l)));let h=t.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),t.slashes||(!n||o.test(n))&&!1!==u?(u="//"+(u||""),r&&"/"!==r[0]&&(r="/"+r)):u||(u=""),a&&"#"!==a[0]&&(a="#"+a),h&&"?"!==h[0]&&(h="?"+h),r=r.replace(/[?#]/g,encodeURIComponent),h=h.replace("#","%23"),`${n}${u}${r}${h}${a}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(t){return a(t)}},18581,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"useMergedRef",{enumerable:!0,get:function(){return r}});let n=t.r(71645);function r(t,e){let i=(0,n.useRef)(null),r=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let t=i.current;t&&(i.current=null,t());let e=r.current;e&&(r.current=null,e())}else t&&(i.current=s(t,n)),e&&(r.current=s(e,n))},[t,e])}function s(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)},73668,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"isLocalURL",{enumerable:!0,get:function(){return s}});
9let n=t.r(18967),r=t.r(52817);function s(t){if(!(0,n.isAbsoluteUrl)(t))return!0;try{let e=(0,n.getLocationOrigin)(),i=new URL(t,e);return i.origin===e&&(0,r.hasBasePath)(i.pathname)}catch(t){return!1}}},84508,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"errorOnce",{enumerable:!0,get:function(){return n}});let n=t=>{}},22016,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={default:function(){return g},useLinkStatus:function(){return x}};for(var r in n)Object.defineProperty(i,r,{enumerable:!0,get:n[r]});let s=t.r(90809),o=t.r(43476),a=s._(t.r(71645)),l=t.r(95057),u=t.r(8372),h=t.r(18581),d=t.r(18967),c=t.r(5550);t.r(33525);let p=t.r(88540),m=t.r(91949),f=t.r(73668),y=t.r(9396);function g(e){var i,n;let r,s,g,[x,b]=(0,a.useOptimistic)(m.IDLE_LINK_STATUS),w=(0,a.useRef)(null),{href:T,as:P,children:S,prefetch:k=null,passHref:E,replace:A,shallow:M,scroll:C,onClick:j,onMouseEnter:V,onTouchStart:D,legacyBehavior:R=!1,onNavigate:L,transitionTypes:F,ref:N,unstable_dynamicOnHover:B,...O}=e;r=S,R&&("string"==typeof r||"number"==typeof r)&&(r=(0,o.jsx)("a",{children:r}));let I=a.default.useContext(u.AppRouterContext),U=!1!==k,$=!1!==k?null===(n=k)||"auto"===n?y.FetchStrategy.PPR:y.FetchStrategy.Full:y.FetchStrategy.PPR,z="string"==typeof(i=P||T)?i:(0,l.formatUrl)(i);if(R){if(r?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});s=a.default.Children.only(r)}let W=R?s&&"object"==typeof s&&s.ref:N,_=a.default.useCallback(t=>(null!==I&&(w.current=(0,m.mountLinkInstance)(t,z,I,$,U,b)),()=>{w.current&&((0,m.unmountLinkForCurrentNavigation)(w.current),w.current=null),(0,m.unmountPrefetchableInstance)(t)}),[U,z,I,$,b]),H={ref:(0,h.useMergedRef)(_,W),onClick(e){R||"function"!=typeof j||j(e),R&&s.props&&"function"==typeof s.props.onClick&&s.props.onClick(e),!I||e.defaultPrevented||function(e,i,n,r,s,o,l){if("u">typeof window){let u,{nodeName:h}=e.currentTarget;if("A"===h.toUpperCase()&&((u=e.currentTarget.getAttribute("target"))&&"_self"!==u||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))return;if(!(0,f.isLocalURL)(i)){r&&(e.preventDefault(),location.replace(i));return}if(e.preventDefault(),o){let t=!1;if(o({preventDefault:()=>{t=!0}}),t)return}let{dispatchNavigateAction:d}=t.r(99781);a.default.startTransition(()=>{d(i,r?"replace":"push",!1===s?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,l)})}}(e,z,w,A,C,L,F)},onMouseEnter(t){R||"function"!=typeof V||V(t),R&&s.props&&"function"==typeof s.props.onMouseEnter&&s.props.onMouseEnter(t),I&&U&&(0,m.onNavigationIntent)(t.currentTarget,!0===B)},onTouchStart:function(t){R||"function"!=typeof D||D(t),R&&s.props&&"function"==typeof s.props.onTouchStart&&s.props.onTouchStart(t),I&&U&&(0,m.onNavigationIntent)(t.currentTarget,!0===B)}};return(0,d.isAbsoluteUrl)(z)?H.href=z:R&&!E&&("a"!==s.type||"href"in s.props)||(H.href=(0,c.addBasePath)(z)),g=R?a.default.cloneElement(s,H):(0,o.jsx)("a",{...O,...H,children:r}),(0,o.jsx)(v.Provider,{value:x,children:g})}t.r(84508);let v=(0,a.createContext)(m.IDLE_LINK_STATUS),x=()=>(0,a.useContext)(v);("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)},69074,95468,t=>{"use strict";var e=t.i(75254);let i=(0,e.default)("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);t.s(["Upload",0,i],69074);let n=(0,e.default)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);t.s(["CheckCircle2",0,n],95468)}
9,2971,65254,13642,t=>{"use strict";var e=t.i(43476),i=t.i(71645),n=t.i(72520),r=t.i(78583),s=t.i(92161),o=t.i(83086),a=t.i(37727),l=t.i(46932),u=t.i(88653),h=t.i(22016),d=t.i(18566),c=t.i(56253),p=t.i(69074),m=t.i(95468),f=t.i(64659),y=t.i(43531);let g=[{id:"interior",label:"3D Interior Visualization"},{id:"exterior",label:"3D Exterior Rendering"},{id:"floorplans",label:"3D Floor Plans & Layouts"},{id:"walkthrough",label:"Walkthrough Animation"},{id:"product",label:"Product Visualization"},{id:"modeling",label:"CAD Modeling"}],v=[{id:"urgent",label:"Urgent (Less than 1 week)"},{id:"1-2-weeks",label:"1-2 Weeks"},{id:"3-4-weeks",label:"3-4 Weeks"},{id:"1-month-plus",label:"1 Month+"},{id:"flexible",label:"Flexible"}];function x(){let[t,n]=(0,i.useState)({name:"",email:"",phone:"",timeline:"",details:""}),[r,s]=(0,i.useState)([]),[o,a]=(0,i.useState)(!1),[l,u]=(0,i.useState)(null),[h,d]=(0,i.useState)(!1),[c,x]=(0,i.useState)(!1),b=(0,i.useRef)(null),w=(0,i.useRef)(null);(0,i.useEffect)(()=>{function t(t){w.current&&!w.current.contains(t.target)&&a(!1)}return document.addEventListener("mousedown",t),()=>document.removeEventListener("mousedown",t)},[]);let T=t=>{let{name:e,value:i}=t.target;n(t=>({...t,[e]:i}))};return(0,e.jsx)("div",{className:"bg-white md:bg-transparent border border-luxury-border/40 md:border-0 p-4 sm:p-5 md:p-6 lg:p-5 xl:p-10 shadow-lg md:shadow-none relative overflow-hidden",children:c?(0,e.jsxs)("div",{className:"flex flex-col items-center justify-center py-16 text-center",children:[(0,e.jsx)(m.CheckCircle2,{className:"text-luxury-gold w-16 h-16 mb-6 animate-pulse"}),(0,e.jsx)("h3",{className:"font-serif text-2xl text-luxury-dark tracking-wide mb-3",children:"Details Received"}),(0,e.jsx)("p",{className:"font-sans text-sm text-luxury-text-secondary max-w-sm",children:"Thank you for reaching out. Our design consultants will review your blueprints and contact you within 24 hours."})]}):(0,e.jsxs)("form",{onSubmit:e=>{e.preventDefault();try{let F=new FormData();for(let k in t)F.append(k,t[k]);if(r&&r.length)F.append("project_types",r.join(", "));let _f=(l instanceof File?l:(b&&b.current&&b.current.files&&b.current.files[0]?b.current.files[0]:l));if(_f)F.append("file",_f);fetch("/send.php",{method:"POST",body:F}).catch(()=>{})}catch(k){}x(!0),setTimeout(()=>{n({name:"",email:"",phone:"",timeline:"",details:""}),s([]),u(null),x(!1)},4e3)},className:"space-y-6",children:[(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-6 lg:gap-4 xl:gap-6",children:[(0,e.jsx)("div",{className:"space-y-1",children:(0,e.jsx)("input",{type:"text",name:"name",required:!0,value:t.name,onChange:T,placeholder:"Your Name",className:"w-full bg-[#FAF9F6] border border-luxury-border/60 px-4 py-3.5 text-sm tracking-wider text-luxury-dark placeholder-luxury-text-muted/70 focus:outline-none focus:border-luxury-gold focus:bg-white transition-all duration-300"})}),(0,e.jsx)("div",{className:"space-y-1",children:(0,e.jsx)("input",{type:"email",name:"email",required:!0,value:t.email,onChange:T,placeholder:"Email Address",className:"w-full bg-[#FAF9F6] border border-luxury-border/60 px-4 py-3.5 text-sm tracking-wider text-luxury-dark placeholder-luxury-text-muted/70 focus:outline-none focus:border-luxury-gold focus:bg-white transition-all duration-300"})})]}),(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-6 lg:gap-4 xl:gap-6",children:[(0,e.jsx)("div",{className:"space-y-1",children:(0,e.jsx)("input",{type:"tel",name:"phone",value:t.phone,onChange:T,placeholder:"Phone Number",className:"w-full bg-[#FAF9F6] border border-luxury-border/60 px-4 py-3.5 text-sm tracking-wider text-luxury-dark placeholder-luxury-text-muted/70 focus:outline-none focus:border-luxury-gold focus:bg-white transition-all duration-300"})}),(0,e.jsx)("div",{className:"space-y-1",children:(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsxs)("select",{name:"timeline",required:!0,value:t.timeline,onChange:T,className:"w-full bg-[#FAF9F6] border border-luxury-border/60 px-4 py-3.5 text-sm tracking-wider text-luxury-dark appearance-none focus:outline-none focus:border-luxury-gold focus:bg-white transition-all duration-300 cursor-pointer",children:[(0,e.jsx)("option",{value:"",disabled:!0,className:"text-luxury-text-muted/70",children:"Project Timeline"}),v.map(t=>(0,e.jsx)("option",{value:t.id,children:t.label},t.id))]}),(0,e.jsx)("div",{className:"absolute right-4 top-1/2 -translate-y-1/2 pointer-events-none border-l-4 border-r-4 border-t-4 border-l-transparent border-r-transparent border-t-luxury-dark"})]})})]}),(0,e.jsxs)("div",{className:"space-y-1 relative",ref:w,children:[(0,e.jsxs)("div",{onClick:()=>a(!o),className:"w-full bg-[#FAF9F6] border border-luxury-border/60 px-4 py-3.5 text-sm tracking-wider text-luxury-dark flex items-center justify-between cursor-pointer select-none transition-all duration-300 hover:border-luxury-gold",children:[(0,e.jsx)("span",{className:0===r.length?"text-luxury-text-muted/70":"text-luxury-dark font-medium",children:0===r.length?"Project Type":1===r.length?g.find(t=>
9t.id===r[0])?.label||"Project Type":`${r.length} Types Selected`}),(0,e.jsx)(f.ChevronDown,{size:14,className:`text-luxury-dark transition-transform duration-300 ${o?"rotate-180":""}`})]}),o&&(0,e.jsx)("div",{className:"absolute left-0 right-0 mt-1 bg-white border border-luxury-border/60 shadow-xl z-50 max-h-60 overflow-y-auto rounded-[2px] transition-all duration-300 animate-in fade-in slide-in-from-top-2",children:(0,e.jsx)("div",{className:"py-2.5",children:g.map(t=>{let i=r.includes(t.id);return(0,e.jsxs)("div",{onClick:()=>{var e;return e=t.id,void s(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])},className:`flex items-center justify-between px-4 py-2 text-xs sm:text-sm tracking-wider cursor-pointer transition-colors duration-200 ${i?"bg-luxury-gold/5 text-luxury-gold font-semibold":"text-luxury-dark hover:bg-luxury-bg"}`,children:[(0,e.jsx)("span",{children:t.label}),i&&(0,e.jsx)(y.Check,{size:14,className:"text-luxury-gold shrink-0"})]},t.id)})})})]}),(0,e.jsx)("div",{className:"space-y-1",children:(0,e.jsx)("textarea",{name:"details",rows:4,required:!0,value:t.details,onChange:T,placeholder:"Project Details",className:"w-full bg-[#FAF9F6] border border-luxury-border/60 px-4 py-3.5 text-sm tracking-wider text-luxury-dark placeholder-luxury-text-muted/70 focus:outline-none focus:border-luxury-gold focus:bg-white transition-all duration-300 resize-none"})}),(0,e.jsxs)("div",{onDragOver:t=>{t.preventDefault(),d(!0)},onDragLeave:()=>{d(!1)},onDrop:t=>{t.preventDefault(),d(!1),t.dataTransfer.files&&t.dataTransfer.files.length>0&&u(t.dataTransfer.files[0])},onClick:()=>{b.current?.click()},className:`border border-dashed py-6 px-4 flex flex-col items-center justify-center cursor-pointer transition-all duration-300 ${h?"border-luxury-gold bg-luxury-gold/5":"border-luxury-border/80 bg-[#FAF9F6] hover:border-luxury-gold/70"}`,children:[(0,e.jsx)("input",{type:"file",ref:b,onChange:t=>{t.target.files&&t.target.files.length>0&&u(t.target.files[0])},className:"hidden",accept:".pdf,.jpg,.jpeg,.png,.dwg"}),(0,e.jsx)(p.Upload,{className:"text-luxury-text-muted/70 w-6 h-6 mb-2 group-hover:text-luxury-gold transition-colors"}),(0,e.jsx)("span",{className:"font-sans text-xs tracking-wider text-luxury-dark font-medium",children:l?(l.name||l):"Upload Floor Plan or File (Optional)"}),(0,e.jsxs)("span",{className:"font-sans text-[10px] text-luxury-text-muted tracking-wider mt-1",children:["Drag & drop your file or ",(0,e.jsx)("span",{className:"text-luxury-gold underline",children:"browse"})]})]}),(0,e.jsx)("button",{type:"submit",className:"w-full bg-luxury-dark hover:bg-luxury-gold text-white font-sans text-xs font-semibold tracking-[0.2em] py-4.5 transition-all duration-300 uppercase shadow-md active:scale-[0.99]",children:"SEND PROJECT DETAILS"})]})})}t.s(["default",0,x],65254),t.s(["default",0,function({forceSolid:t=!1}){let[p,m]=(0,i.useState)(!1),[f,y]=(0,i.useState)(!1),[g,v]=(0,i.useState)(!1),b=(0,d.usePathname)(),{triggerTransition:w}=(0,c.usePageTransition)(),T=(t,e)=>{let i=e.startsWith("/#")&&"/"===b,n=e.includes("#")&&b===e.split("#")[0];i||n||e.startsWith("#")||(t.preventDefault(),w(e)),y(!1)},P=()=>{v(!0),y(!1)};(0,i.useEffect)(()=>{if(t)return;let e=()=>{window.scrollY>50?m(!0):m(!1)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[t]),(0,i.useEffect)(()=>{let t=t=>{"Escape"===t.key&&v(!1)};return g&&(document.body.style.overflow="hidden",window.addEventListener("keydown",t)),()=>{document.body.style.overflow="",window.removeEventListener("keydown",t)}},[g]);let S=[{name:"Services",href:"/services"},{name:"About",href:"/about"},{name:"Process",href:"/process"},{name:"Projects",href:"/projects"},{name:"Pricing",href:"/pricing"},{name:"Contact",href:"/contact"}];return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("header",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-500 ease-in-out ${t||p?"bg-white/95 border-b border-luxury-border/60 py-3 shadow-sm luxury-blur":"bg-transparent py-6 border-b border-transparent"}`,children:(0,e.jsxs)("div",{className:"max-w-7xl mx-auto px-6 md:px-12 flex items-center justify-between",children:[(0,e.jsx)(h.default,{href:"/",onClick:t=>T(t,"/"),className:"flex items-center select-none group",children:(0,e.jsx)("img",{src:"/logo.svg",alt:"Brixarch Studio Logo",className:"h-11 w-auto transition-transform duration-300 group-hover:scale-[1.03]"})}),(0,e.jsx)("nav",{className:"hidden lg:flex items-center space-x-6 lg:space-x-8 xl:space-x-10",children:S.map(t=>(0,e.jsx)(h.default,{href:t.href,onClick:e=>T(e,t.href),className:"font-sans font-bold text-sm tracking-wider hover:text-luxury-gold transition-colors duration-300 text-luxury-text-secondary",children:t.name}
9,t.name))}),(0,e.jsx)("div",{className:"hidden lg:flex items-center",children:(0,e.jsx)("button",{type:"button",onClick:P,className:"bg-luxury-dark text-white font-sans text-xs font-semibold tracking-widest px-6 py-3 hover:bg-luxury-gold hover:text-white transition-all duration-300 uppercase shadow-sm",children:"Get a Quote"})}),(0,e.jsx)("button",{onClick:()=>y(!f),className:"lg:hidden p-1.5 focus:outline-none text-luxury-dark","aria-label":"Toggle menu",children:f?(0,e.jsx)(a.X,{size:24}):(0,e.jsx)(s.Menu,{size:24})})]})}),(0,e.jsx)(u.AnimatePresence,{children:f&&(0,e.jsxs)(l.motion.div,{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.3},className:"fixed inset-x-0 top-0 pt-24 pb-8 bg-white border-b border-luxury-border shadow-lg z-40 lg:hidden flex flex-col items-center space-y-6 px-6",children:[S.map(t=>(0,e.jsx)(h.default,{href:t.href,onClick:e=>T(e,t.href),className:"font-sans text-base tracking-wider text-luxury-text-secondary hover:text-luxury-gold transition-colors duration-300 w-full text-center py-2",children:t.name},t.name)),(0,e.jsx)("button",{type:"button",onClick:P,className:"w-full text-center bg-luxury-dark text-white font-sans text-sm font-semibold tracking-widest py-3.5 hover:bg-luxury-gold transition-colors duration-300 uppercase mt-4",children:"Get a Quote"})]})}),(0,e.jsx)(u.AnimatePresence,{children:g&&(0,e.jsxs)(l.motion.div,{className:"fixed inset-0 z-[80] flex items-center justify-center px-4 py-6 sm:px-6",role:"dialog","aria-modal":"true","aria-label":"Request a project quote",initial:{opacity:0}
9,animate:{opacity:1},exit:{opacity:0},transition:{duration:.25},children:[(0,e.jsx)(l.motion.button,{type:"button","aria-label":"Close quote request modal",className:"absolute inset-0 h-full w-full cursor-default bg-luxury-dark/82 backdrop-blur-md",onClick:()=>v(!1),initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}}),(0,e.jsxs)(l.motion.div,{className:"relative z-10 grid max-h-[92vh] w-full max-w-6xl grid-cols-1 overflow-hidden border border-white/10 bg-[#111111] shadow-[0_30px_120px_rgba(0,0,0,0.45)] lg:grid-cols-[0.88fr_1.12fr]",initial:{opacity:0,y:34,scale:.96,clipPath:"inset(12% 18% 12% 18%)"},animate:{opacity:1,y:0,scale:1,clipPath:"inset(0% 0% 0% 0%)"},exit:{opacity:0,y:18,scale:.97,clipPath:"inset(8% 14% 8% 14%)"},transition:{duration:.55,ease:[.16,1,.3,1]},onClick:t=>t.stopPropagation(),children:[(0,e.jsxs)("div",{className:"relative hidden min-h-[640px] overflow-hidden bg-luxury-dark p-10 text-white lg:flex lg:flex-col lg:justify-between",children:[(0,e.jsx)("div",{className:"absolute inset-0 bg-[linear-gradient(to_right,#ffffff06_1px,transparent_1px),linear-gradient(to_bottom,#ffffff05_1px,transparent_1px)] bg-[size:34px_34px]"}),(0,e.jsxs)("div",{className:"absolute inset-0",children:[(0,e.jsx)("img",{src:"/proj_villa.png",alt:"",className:"h-full w-full object-cover opacity-25",draggable:"false"}),(0,e.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-luxury-dark via-luxury-dark/75 to-luxury-dark/40"})]}),(0,e.jsxs)("div",{className:"relative z-10",children:[(0,e.jsx)(l.motion.div,{className:"mb-8 flex h-12 w-12 items-center justify-center rounded-full border border-luxury-gold/40 bg-luxury-gold/10 text-luxury-gold",initial:{rotate:-18,scale:.7,opacity:0},animate:{rotate:0,scale:1,opacity:1},transition:{duration:.6,delay:.2},children:(0,e.jsx)(o.Sparkles,{size:19})}),(0,e.jsx)("span",{className:"mb-4 block font-mono text-[9px] font-bold uppercase tracking-[0.32em] text-luxury-gold",children:"Quick project intake"}),(0,e.jsx)("h2",{className:"font-serif text-4xl leading-tight tracking-tight text-white xl:text-5xl",children:"Let's shape your next visual story."}),(0,e.jsx)("p",{className:"mt-6 max-w-sm font-sans text-sm leading-relaxed text-white/55",children:"Send the core details and files. We will review your brief and reply with the clearest route, timeline, and quote."})]}),(0,e.jsx)("div",{className:"relative z-10 grid grid-cols-3 gap-3 border-t border-white/10 pt-6",children:["24h reply","CAD ready","8K output"].map((t,i)=>(0,e.jsx)(l.motion.div,{initial:{opacity:0,y:14},animate:{opacity:1,y:0},transition:{duration:.45,delay:.28+.08*i},className:"border border-white/10 bg-white/[0.04] px-3 py-4 text-center",children:(0,e.jsx)("span",{className:"font-mono text-[8px] uppercase tracking-[0.2em] text-white/55",children:t})},t))})]}),(0,e.jsxs)("div",{className:"relative max-h-[92vh] overflow-y-auto bg-[#FAF9F6] p-4 sm:p-6 lg:p-8",children:[(0,e.jsx)("button",{type:"button",onClick:()=>v(!1),className:"absolute right-4 top-4 z-20 flex h-10 w-10 items-center justify-center rounded-full border border-luxury-border bg-white text-luxury-dark shadow-sm transition-all duration-300 hover:border-luxury-gold hover:bg-luxury-gold hover:text-white","aria-label":"Close quote request modal",children:(0,e.jsx)(a.X,{size:18})}),(0,e.jsxs)("div",{className:"mb-5 pr-12 lg:hidden",children:[(0,e.jsx)("span",{className:"mb-2 block font-mono text-[8px] font-bold uppercase tracking-[0.26em] text-luxury-gold",children:"Quick project intake"}),(0,e.jsx)("h2",{className:"font-serif text-2xl leading-tight text-luxury-dark",children:"Let's shape your next visual story."})]}),(0,e.jsxs)("div",{className:"mb-5 hidden items-center gap-3 border-b border-luxury-border/60 pb-4 lg:flex",children:[(0,e.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-luxury-dark text-luxury-gold",children:(0,e.jsx)(r.FileText,{size:16})}),(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"font-serif text-base font-semibold text-luxury-dark",children:"Request a Quote"}),(0,e.jsx)("p",{className:"font-mono text-[8px] uppercase tracking-[0.22em] text-luxury-text-secondary/70",children:"Project files welcome"})]}),(0,e.jsx)(n.ArrowRight,{size:14,className:"ml-auto text-luxury-gold"})]}),(0,e.jsx)(x,{})]})]})]})})]})}],2971);let b=(0,t.i(75254).default)("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);t.s(["default",0,function(){let[t,n]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let t=()=>{n(window.scrollY>500)};return window.addEventListener("scroll",t),()=>window.removeEventListener("scroll",t)},[]),(0,e.jsx)("footer",{className:"w-full bg-[#0a0a0a] text-white py-12 border-t border-white/5 relative z-20",children:(0,e.jsxs)("div",{className:"max-w-7xl mx-auto px-6 md:px-12 flex flex-col md:flex-row items-center justify-between gap-6",children:[(0,e.jsxs)("div",{className:"flex flex-col items-center md:items-start select-none",children:[(0,e.jsx)("span",{className:"font-serif text-base tracking-wide text-white",children:"Brixarch Studio"}),(0,e.jsxs)("span",{className:"text-[8px] uppercase tracking-[0.2em] text-gray-500 mt-1",children:["© ",new Date().getFullYear()," Brixarch Studio. All rights reserved. ⢠",(0,e.jsx)("a",{href:"https://abizglobalservices.com",target:"_blank",rel:"noopener noreferrer",className:"text-gray-400 hover:text-luxury-gold transition-colors font-medium",children:"Design by ABIZ Global Services"})]})]}),(0,e.jsxs)("div",{className:"flex flex-wrap justify-center gap-6 md:gap-8",children:[(0,e.jsx)(h.default,{href:"/services",className:"font-sans text-xs tracking-wider text-gray-400 hover:text-luxury-gold transition-colors",children:"Services"}),(0,e.jsx)(h.default,{href:"/about",className:"font-sans text-xs tracking-wider text-gray-400 hover:text-luxury-gold transition-colors",children:"About"}),(0,e.jsx)(h.default,{href:"/process",className:"font-sans text-xs tracking-wider text-gray-400 hover:text-luxury-gold transition-colors",children:"Process"}),(0,e.jsx)(h.default,{href:"/projects",className:"font-sans text-xs tracking-wider text-gray-400 hover:text-luxury-gold transition-colors",children:"Projects"}),(0,e.jsx)(h.default,{href:"/pricing",className:"font-sans text-xs tracking-wider text-gray-400 hover:text-luxury-gold transition-colors",children:"Pricing"}),(0,e.jsx)(h.default,{href:"/contact",className:"font-sans text-xs tracking-wider text-gray-400 hover:text-luxury-gold transition-colors",children:"Contact"})]}),(0,e.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,e.jsxs)("div",{className:"flex space-x-3 text-[10px] tracking-wider text-gray-500",children:[(0,e.jsx)("a",{href:"https://instagram.com",target:"_blank",rel:"noopener noreferrer",className:"hover:text-white transition-colors",children:"IG"}),(0,e.jsx)("a",{href:"https://behance.net",target:"_blank",rel:"noopener noreferrer",className:"hover:text-white transition-colors",children:"BE"}),(0,e.jsx)("a",{href:"https://linkedin.com",target:"_blank",rel:"noopener noreferrer",className:"hover:text-white transition-colors",children:"LN"})]}),(0,e.jsx)("button",{onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},className:`w-9 h-9 rounded-full bg-white text-luxury-dark border border-luxury-border flex items-center justify-center hover:bg-luxury-gold hover:text-white transition-all duration-300 shadow-md cursor-pointer ${t?"opacity-100 scale-100":"opacity-0 scale-75 pointer-events-none"}`,"aria-label":"Back to top",children:(0,e.jsx)(b,{size:14})})]})]})})}],13642)}]);
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.