PageSourceSearch

https://1hanzla100.github.io/_next/static/chunks/0n3gdrj-a8598.js

js 1hanzla100.github.io collected 2026-10-03 08:31:20 UTC 262,499 bytes, 8 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,46932,e=>{"use strict";let t,i,n,r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],o=new Set([...r,"pathRotation"]),s=(e,t,i)=>i>t?t:i<e?e:i,a={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},l={...a,transform:e=>s(0,1,e)},u={...a,default:1},c=e=>Math.round(1e5*e)/1e5,d=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,h=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,p=(e,t)=>i=>!!("string"==typeof i&&h.test(i)&&i.startsWith(e)||t&&null!=i&&Object.prototype.hasOwnProperty.call(i,t)),f=(e,t,i)=>n=>{if("string"!=typeof n)return n;let[r,o,s,a]=n.match(d);return{[e]:parseFloat(r),[t]:parseFloat(o),[i]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},m={...a,transform:e=>Math.round(s(0,255,e))},g={test:p("rgb","red"),parse:f("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:n=1})=>"rgba("+m.transform(e)+", "+m.transform(t)+", "+m.transform(i)+", "+c(l.transform(n))+")"},y={test:p("#"),parse:function(e){let t="",i="",n="",r="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),n=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),n=e.substring(3,4),r=e.substring(4,5),t+=t,i+=i,n+=n,r+=r),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:g.transform},v=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),b=v("deg"),x=v("%"),w=v("px"),k=v("vh"),S=v("vw"),E={...x,parse:e=>x.parse(e)/100,transform:e=>x.transform(100*e)},T={test:p("hsl","hue"),parse:f("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:n=1})=>"hsla("+Math.round(e)+", "+x.transform(c(t))+", "+x.transform(c(i))+", "+c(l.transform(n))+")"},P={test:e=>g.test(e)||y.test(e)||T.test(e),parse:e=>g.test(e)?g.parse(e):T.test(e)?T.parse(e):y.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?g.transform(e):T.transform(e),getAnimatableNone:e=>{let t=P.parse(e);return t.alpha=0,P.transform(t)}},j=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,C="number",A="color",R=/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 M(e){let t=e.toString(),i=[],n={color:[],number:[],var:[]},r=[],o=0,s=t.replace(R,e=>(P.test(e)?(n.color.push(o),r.push(A),i.push(P.parse(e))):e.startsWith("var(")?(n.var.push(o),r.push("var"),i.push(e)):(n.number.push(o),r.push(C),i.push(parseFloat(e))),++o,"${}")).split("${}");return{values:i,split:s,indexes:n,types:r}}function O({split:e,types:t}){let i=e.length;return n=>{let r="";for(let o=0;o<i;o++)if(r+=e[o],void 0!==n[o]){let e=t[o];e===C?r+=c(n[o]):e===A?r+=P.transform(n[o]):r+=n[o]}return r}}let N={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(d)?.length||0)+(e.match(j)?.length||0)>0},parse:function(e){return M(e).values},createTransformer:function(e){return O(M(e))},getAnimatableNone:function(e){let t=M(e);return O(t)(t.values.map((e,i)=>((e,t)=>"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof e?0:P.test(e)?P.getAnimatableNone(e):e)(e,t.split[i])))}},D=new Set(["brightness","contrast","saturate","opacity"]);function L(e){let[t,i]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=i.match(d)||[];if(!n)return e;let r=i.replace(n,""),o=+!!D.has(t);return n!==i&&(o*=100),t+"("+o+r+")"}let V=/\b([a-z-]*)\(.*?\)/gu,I={...N,getAnimatableNone:e=>{let t=e.match(V);return t?t.map(L).join(" "):e}},F={...N,getAnimatableNone:e=>{let t=N.parse(e);return N.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},_={...a,transform:Math.round},B={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:b,pathRotation:b,rotateX:b,rotateY:b,rotateZ:b,scale:u,scaleX:u,scaleY:u,scaleZ:u,skew:b,skewX:b,skewY:b,distance:w,translateX:w,translateY:w,translateZ:w,x:w,y:w,z:w,perspective:w,transformPerspective:w,opacity:l,originX:E,originY:E,originZ:w,zIndex:_,fillOpacity:l,strokeOpacity:l,numOctaves:_},z={...B,color:P,backgroundColor:P,outlineColor:P,fill:P,stroke:P,borderColor:P,borderTopColor:P,borderRightColor:P,borderBottomColor:P,borderLeftColor:P,filter:I,WebkitFilter:I,mask:F,WebkitMask:F},$=e=>z[e],W=()=>({translate:0,scale:1,origin:0,originPoint:0}),U=()=>({x:W(),y:W()}),H=()=>({min:0,max:0}),Y=()=>({x:H(),y:H()}),G=e=>!!(e&&e.getVelocity),X=new Set(["width","height","top","left","right","bottom",...r]),q=e=>t=>t.test(e),K=[a,w,x,b,S,k,{test:e=>"auto"===e,parse:e=>e}],Z=e=>K.find(q(e));var Q,J=e.i(47167);let ee=()=>{},et=()=>{};J.default;let ei=e=>t=>"string"==typeof t&&t.startsWith(e),en=ei("--"),er=ei("var(--"),eo=e=>!!er(e)&&es.test(e.split("/*")[0].trim()),es=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ea(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}let el=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,eu=e=>180*e/Math.PI,ec=e=>eh(eu(Math.atan2(e[1],e[0]))),ed={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ec,rotateZ:ec,skewX:e=>
1eu(Math.atan(e[1])),skewY:e=>eu(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},eh=e=>((e%=360)<0&&(e+=360),e),ep=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),ef=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),em={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ep,scaleY:ef,scale:e=>(ep(e)+ef(e))/2,rotateX:e=>eh(eu(Math.atan2(e[6],e[5]))),rotateY:e=>eh(eu(Math.atan2(-e[2],e[0]))),rotateZ:ec,rotate:ec,skewX:e=>eu(Math.atan(e[4])),skewY:e=>eu(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function eg(e){return+!!e.includes("scale")}function ey(e,t){let i,n;if(!e||"none"===e)return eg(t);let r=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=em,n=r;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=ed,n=t}if(!n)return eg(t);let o=i[t],s=n[1].split(",").map(ev);return"function"==typeof o?o(s):s[o]}function ev(e){return parseFloat(e.trim())}let eb=e=>e===a||e===w,ex=new Set(["x","y","z"]),ew=r.filter(e=>!ex.has(e)),ek={width:({x:e},{paddingLeft:t="0",paddingRight:i="0",boxSizing:n})=>{let r=e.max-e.min;return"border-box"===n?r:r-parseFloat(t)-parseFloat(i)},height:({y:e},{paddingTop:t="0",paddingBottom:i="0",boxSizing:n})=>{let r=e.max-e.min;return"border-box"===n?r:r-parseFloat(t)-parseFloat(i)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>ey(t,"x"),y:(e,{transform:t})=>ey(t,"y")};ek.translateX=ek.x,ek.translateY=ek.y;let eS=e=>e,eE={},eT=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function eP(e,t){let i=!1,n=!0,r={delta:0,timestamp:0,isProcessing:!1},o=()=>i=!0,s=eT.reduce((e,i)=>(e[i]=function(e,t){let i=new Set,n=new Set,r=!1,o=!1,s=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(t){s.has(t)&&(c.schedule(t),e()),l++,t(a)}let c={schedule:(e,t=!1,o=!1)=>{let a=o&&r?i:n;return t&&s.add(e),a.add(e),e},cancel:e=>{n.delete(e),s.delete(e)},process:e=>{if(a=e,r){o=!0;return}r=!0;let s=i;i=n,n=s,i.forEach(u),t,l=0,i.clear(),r=!1,o&&(o=!1,c.process(e))}};return c}(o,t?i:void 0),e),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:h,render:p,postRender:f}=s,m=()=>{let o=eE.useManualTiming,s=o?r.timestamp:performance.now();i=!1,o||(r.delta=n?1e3/60:Math.max(Math.min(s-r.timestamp,40),1)),r.timestamp=s,r.isProcessing=!0,a.process(r),l.process(r),u.process(r),c.process(r),d.process(r),h.process(r),p.process(r),f.process(r),r.isProcessing=!1,i&&t&&(n=!1,e(m))};return{schedule:eT.reduce((t,o)=>{let a=s[o];return t[o]=(t,o=!1,s=!1)=>(!i&&(i=!0,n=!0,r.isProcessing||e(m)),a.schedule(t,o,s)),t},{}),cancel:e=>{for(let t=0;t<eT.length;t++)s[eT[t]].cancel(e)},state:r,steps:s}}let{schedule:ej,cancel:eC,state:eA,steps:eR}=eP("u">typeof requestAnimationFrame?requestAnimationFrame:eS,!0),eM=new Set,eO=!1,eN=!1,eD=!1;function eL(){if(eN){let e=Array.from(eM).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),i=new Map;t.forEach(e=>
1{let t,n=(t=[],ew.forEach(i=>{let n=e.getValue(i);void 0!==n&&(t.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),t);n.length&&(i.set(e,n),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=i.get(e);t&&t.forEach(([t,i])=>{e.getValue(t)?.set(i)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}eN=!1,eO=!1,eM.forEach(e=>e.complete(eD)),eM.clear()}function eV(){eM.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(eN=!0)})}class eI{constructor(e,t,i,n,r,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=i,this.motionValue=n,this.element=r,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(eM.add(this),eO||(eO=!0,ej.read(eV),ej.resolveKeyframes(eL))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:i,motionValue:n}=this;if(null===e[0]){let r=n?.get(),o=e[e.length-1];if(void 0!==r)e[0]=r;else if(i&&t){let n=i.readValue(t,o);null!=n&&(e[0]=n)}void 0===e[0]&&(e[0]=o),n&&void 0===r&&n.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),eM.delete(this)}cancel(){"scheduled"===this.state&&(eM.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let eF=new Set([I,F]);function e_(e,t){let i=$(e);return eF.has(i)||(i=N),i.getAnimatableNone?i.getAnimatableNone(t):void 0}let eB=new Set(["auto","none","0"]);class ez extends eI{constructor(e,t,i,n,r){super(e,t,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:i}=this;if(!t||!t.current)return;super.readKeyframes();for(let i=0;i<e.length;i++){let n=e[i];if("string"==typeof n&&eo(n=n.trim())){let r=function e(t,i,n=1){et(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,o]=function(e){let t=el.exec(e);if(!t)return[,];let[,i,n,r]=t;return[`--${i??n}`,r]}(t);if(!r)return;let s=window.getComputedStyle(i).getPropertyValue(r);if(s){let e=s.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)?parseFloat(e):e}return eo(o)?e(o,i,n+1):o}(n,t.current);void 0!==r&&(e[i]=r),i===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!X.has(i)||2!==e.length)return;let[n,r]=e,o=Z(n),s=Z(r);if(ea(n)!==ea(r)&&ek[i]){this.needsMeasurement=!0;return}if(o!==s)if(eb(o)&&eb(s))for(let t=0;t<e.length;t++){let i=e[t];"string"==typeof i&&(e[t]=parseFloat(i))}else ek[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,i=[];for(let t=0;t<e.length;t++)(null===e[t]||function(e){if("number"==typeof e)return 0===e;if(null===e)return!0;return"none"===e||"0"===e||/^0[^.\s]+$/u.test(e)}(e[t]))&&i.push(t);i.length&&function(e,t,i){let n,r=0;for(;r<e.length&&!n;){let t=e[r];"string"==typeof t&&!eB.has(t)&&M(t).values.length&&(n=e[r]),r++}if(n&&i)for(let r of t)e[r]=e_(i,n)}(e,i,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:i}=this;if(!e||!e.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ek[i](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let n=t[t.length-1];void 0!==n&&e.getValue(i,n).jump(n,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:i}=this;if(!e||!e.current)return;let n=e.getValue(t);n&&n.jump(this.measuredOrigin,!1);let r=i.length-1,o=i[r];i[r]=ek[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}let e$=e=>1e3*e;function eW(e,t){-1===e.indexOf(t)&&e.push(t)}function eU(e,t){let i=e.indexOf(t);i>-1&&e.splice(i,1)}class eH{constructor(){this.subscriptions=[]}add(e){return eW(this.subscriptions,e),()=>eU(this.subscriptions,e)}notify(e,t,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(e,t,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function eY(e,t,i){t.startsWith("--")?e.style.setProperty(t,i):e.style[t]=i}function eG(e){let t;return()=>(void 0===t&&(t=e()),t)}let eX={};function eq(e,t){let i=eG(e);return()=>eX[t]??i()}let eK=eq(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),eZ=e=>null!==e;function eQ(e,{repeat:t,repeatType:i="loop"},n,r=1){let o=e.filter(eZ),s=r<0||t&&"loop"!==i&&t%2==1?0:o.length-1;return s&&void 0!==n?n:o[s]}class eJ{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}let e0={layout:0,mainThread:0,waapi:0},e1=e=>Array.isArray(e)&&"number"==typeof e[0],e2=eq(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),e3=(e,t,i=10)=>{let n="",r=Math.max(Math.round(t/i),2);for(let t=0;t<r;t++)n+=Math.round(1e4*e(t/(r-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},e5=([e,t,i,n])=>`cubic-bezier(${e}, ${t}, ${i}, ${n})`,e6={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:e5([0,.65,.55,1]),circOut:e5([.55,0,1,.45]),backIn:e5([.31,.01,.66,-.59]),backOut:e5([.33,1.53,.69,.99])};function e4(e){return"function"==typeof e&&"applyToOptions"in e}class e8 extends eJ{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:i,keyframes:n,pseudoElement:r,allowFlatten:o=!1,finalKeyframe:s,onComplete:a}=e;this.isPseudoElement=!!r,this.allowFlatten=o,this.options=e,et("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:e,...t}){return e4(e)&&e2()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,i,{delay:n=0,duration:r=300,repeat:o=0,repeatType:s="loop",ease:a="easeOut",times:l}={},u){let c={[t]:i};l&&(c.offset=l);let d=function e(t,i){if(t)return"function"==typeof t?e2()?e3(t,i):"ease-out":e1(t)?e5(t):Array.isArray(t)?t.map(t=>e(t,i)||e6.easeOut):e6[t]}(a,r);Array.isArray(d)&&(c.easing=d);let h={delay:n,duration:r,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"};u&&(h.pseudoElement=u);let p=e.animate(c,h);return p}(t,i,n,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let e=eQ(n,this.options,s,this.speed);this.updateMotionValue&&this.updateMotionValue(e),eY(t,i,e),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(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(e){let t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=e$(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:i,observe:n}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&eK())?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),i&&(this.animation.rangeEnd=i),eS):n(this)}}let e9=new Set(["opacity","clipPath","filter","transform"]),{schedule:e7}=eP(queueMicrotask,!1);function te(){t=void 0}let tt={now:()=>(void 0===t&&tt.set(eA.isProcessing||eE.useManualTiming?eA.timestamp:performance.now()),t),set:e=>{t=e,queueMicrotask(te)}},ti=(e,t)=>t?1e3/t*e:0,tn;class tr{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=tt.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=tt.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new eH);let i=this.events[e].add(t);return"change"===e?()=>{i(),ej.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,i){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return tn&&tn.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=tt.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return ti(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),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 to(e,t){return new tr(e,t)}let ts=[...K,P,N],ta=new WeakMap;function tl(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function tu(e){return"string"==typeof e||Array.isArray(e)}let tc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],td=["initial",...tc];function th(e){return tl(e.animate)||td.some(t=>tu(e[t]))}function tp(e){return!!(th(e)||e.variants)}let tf={current:null},tm={current:!1},tg="u">typeof window;function ty(e){let t=[{},{}];
1return e?.values.forEach((e,i)=>{t[0][i]=e.get(),t[1][i]=e.getVelocity()}),t}function tv(e,t,i,n){if("function"==typeof t){let[r,o]=ty(n);t=t(void 0!==i?i:e.custom,r,o)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[r,o]=ty(n);t=t(void 0!==i?i:e.custom,r,o)}return t}let tb=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],tx={};class tw{scrapeMotionValuesFromProps(e,t,i){return{}}constructor({parent:e,props:t,presenceContext:i,reducedMotionConfig:n,skipAnimations:r,blockInitialAnimation:o,visualState:s},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=eI,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 e=tt.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,ej.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=s;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=u,this.parent=e,this.props=t,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=r,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=th(t),this.isVariantNode=tp(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in d){const t=d[e];void 0!==l[e]&&G(t)&&t.set(l[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,ta.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(tm.current||function(){if(tm.current=!0,tg)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>tf.current=e.matches;e.addEventListener("change",t),t()}else tf.current=!1}(),this.shouldReduceMotion=tf.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let e in this.projection&&this.projection.unmount(),eC(this.notifyUpdate),eC(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let i;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&e9.has(e)&&this.current instanceof HTMLElement){let{factory:i,keyframes:n,times:r,ease:o,duration:s}=t.accelerate,a=new e8({element:this.current,name:e,keyframes:n,times:r,ease:o,duration:e$(s)}),l=i(a);this.valueSubscriptions.set(e,()=>{l(),a.cancel()});return}let n=o.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&ej.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in tx){let t=tx[e];if(!t)continue;let{isEnabled:i,Feature:n}=t;if(!this.features[e]&&n&&i(this.props)&&(this.features[e]=new n(this)),this.features[e]){let t=this.features[e];
1t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Y()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<tb.length;t++){let i=tb[t];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=e["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(e,t,i){for(let n in t){let r=t[n],o=i[n];if(G(r))e.addValue(n,r);else if(G(o))e.addValue(n,to(r,{owner:e}));else if(o!==r)if(e.hasValue(n)){let t=e.getValue(n);!0===t.liveStyle?t.jump(r):t.hasAnimated||t.set(r)}else{let t=e.getStaticValue(n);e.addValue(n,to(void 0!==t?t:r,{owner:e}))}}for(let n in i)void 0===t[n]&&e.removeValue(n);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]: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(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let i=this.values.get(e);t!==i&&(i&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return void 0===i&&void 0!==t&&(i=to(null===t?void 0:t,{owner:this}),this.addValue(e,i)),i}readValue(e,t){let i=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];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,!ts.find(q(n))&&N.test(t)&&(i=e_(e,t))}this.setBaseTarget(e,G(i)?i.get():i)}return G(i)?i.get():i}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=tv(this.props,i,this.presenceContext?.custom);n&&(t=n[e])}if(i&&void 0!==t)return t;let n=this.getBaseTargetFromProps(this.props,e);return void 0===n||G(n)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:n}on(e,t){return this.events[e]||(this.events[e]=new eH),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){e7.render(this.render)}}class tk extends tw{constructor(){super(...arguments),this.KeyframeResolver=ez}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let i=e.style;return i?i[t]:void 0}removeValueFromRenderState(e,{vars:t,style:i}){delete t[e],delete i[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;G(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function tS(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}let tE=(e,t)=>t&&"number"==typeof e?t.transform(e):e,tT={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tP=r.length;function tj(e,t,i){let{style:n,vars:s,transformOrigin:a}=e,l=!1,u=!1;for(let e in t){let i=t[e];if(o.has(e)){l=!0;continue}if(en(e)){s[e]=i;continue}{let t=tE(i,B[e]);e.startsWith("origin")?(u=!0,a[e]=t):n[e]=t}}if(!t.transform&&(l||i?n.transform=function(e,t,i){let n="",o=!0;for(let s=0;s<tP;s++){let a=r[s],l=e[a];if(void 0===l)continue;let u=!0;
1if("number"==typeof l)u=l===+!!a.startsWith("scale");else{let e=parseFloat(l);u=a.startsWith("scale")?1===e:0===e}if(!u||i){let e=tE(l,B[a]);if(!u){o=!1;let t=tT[a]||a;n+=`${t}(${e}) `}i&&(t[a]=e)}}let s=e.pathRotation;return s&&(o=!1,n+=`rotate(${tE(s,B.pathRotation)}) `),n=n.trim(),i?n=i(t,o?"":n):o&&(n="none"),n}(t,e.transform,i):n.transform&&(n.transform="none")),u){let{originX:e="50%",originY:t="50%",originZ:i=0}=a;n.transformOrigin=`${e} ${t} ${i}`}}let tC={offset:"stroke-dashoffset",array:"stroke-dasharray"},tA={offset:"strokeDashoffset",array:"strokeDasharray"},tR=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function tM(e,{attrX:t,attrY:i,attrScale:n,pathLength:r,pathSpacing:o=1,pathOffset:s=0,...a},l,u,c){if(tj(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:h}=e;for(let e of(d.transform&&(h.transform=d.transform,delete d.transform),(h.transform||d.transformOrigin)&&(h.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),h.transform&&(h.transformBox=c?.transformBox??"fill-box",delete d.transformBox),tR))void 0!==d[e]&&(h[e]=d[e],delete d[e]);void 0!==t&&(d.x=t),void 0!==i&&(d.y=i),void 0!==n&&(d.scale=n),void 0!==r&&function(e,t,i=1,n=0,r=!0){e.pathLength=1;let o=r?tC:tA;e[o.offset]=`${-n}`,e[o.array]=`${t} ${i}`}(d,r,o,s,!1)}let tO=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"]),tN=e=>"string"==typeof e&&"svg"===e.toLowerCase();function tD(e,{style:t,vars:i},n,r){let o,s=e.style;for(o in t)s[o]=t[o];for(o in r?.applyProjectionStyles(s,n),i)s.setProperty(o,i[o])}function tL(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let tV={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!w.test(e))return e;else e=parseFloat(e);let i=tL(e,t.target.x),n=tL(e,t.target.y);return`${i}% ${n}%`}},tI=(e,t,i)=>e+(t-e)*i,tF={borderRadius:{...tV,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tV,borderTopRightRadius:tV,borderBottomLeftRadius:tV,borderBottomRightRadius:tV,boxShadow:{correct:(e,{treeScale:t,projectionDelta:i})=>{let n=N.parse(e);if(n.length>5)return e;let r=N.createTransformer(e),o=+("number"!=typeof n[0]),s=i.x.scale*t.x,a=i.y.scale*t.y;n[0+o]/=s,n[1+o]/=a;let l=tI(s,a,.5);return"number"==typeof n[2+o]&&(n[2+o]/=l),"number"==typeof n[3+o]&&(n[3+o]/=l),r(n)}}};function t_(e,{layout:t,layoutId:i}){return o.has(e)||e.startsWith("origin")||(t||void 0!==i)&&(!!tF[e]||"opacity"===e)}function tB(e,t,i){let n=e.style,r=t?.style,o={};if(!n)return o;for(let t in n)(G(n[t])||r&&G(r[t])||t_(t,e)||i?.getValue(t)?.liveStyle!==void 0)&&(o[t]=n[t]);return o}function tz(e,t,i){let n=tB(e,t,i);for(let i in e)(G(e[i])||G(t[i]))&&(n[-1!==r.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=e[i]);return n}class t$ extends tk{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Y}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(o.has(t)){let e=$(t);return e&&e.default||0}return t=tO.has(t)?t:tS(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,i){return tz(e,t,i)}build(e,t,i){tM(e,t,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(e,t,i,n){for(let i in tD(e,t,void 0,n),t.attrs)e.setAttribute(tO.has(i)?i:tS(i),t.attrs[i])}mount(e){this.isSVGTag=tN(e.tagName),super.mount(e)}}function tW({top:e,left:t,right:i,bottom:n}){return{x:{min:t,max:i},y:{min:e,max:n}}}function tU(e){return void 0===e||1===e}function tH({scale:e,scaleX:t,scaleY:i}){return!tU(e)||!tU(t)||!tU(i)}function tY(e){return tH(e)||tG(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function tG(e){var t,i;return(t=e.x)&&"0%"!==t||(i=e.y)&&"0%"!==i}function tX(e,t,i,n,r){return void 0!==r&&(e=n+r*(e-n)),n+i*(e-n)+t}function tq(e,t=0,i=1,n,r){e.min=tX(e.min,t,i,n,r),e.max=tX(e.max,t,i,n,r)}function tK(e,{x:t,y:i}){tq(e.x,t.translate,t.scale,t.originPoint),tq(e.y,i.translate,i.scale,i.originPoint)}function tZ(e,t){e.min+=t,e.max+=t}function tQ(e,t,i,n,r=.5){let o=tI(e.min,e.max,r);tq(e,t,i,o,n)}function tJ(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function t0(e,t,i){let n=i??e;tQ(e.x,tJ(t.x,n.x),t.scaleX,t.scale,t.originX),tQ(e.y,tJ(t.y,n.y),t.scaleY,t.scale,t.originY)}function t1(e,t){return tW(function(e,t){if(!t)return e;let i=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}class t2 extends tk{constructor(){super(...arguments),this.type="html",this.renderInstance=tD}readValueFromInstance(e,t){if(o.has(t))return this.projection?.isProjecting?eg(t):((e,t)=>{let{transform:i="none"}=getComputedStyle(e);return ey(i,t)})(e,t);
1{let i=window.getComputedStyle(e),n=(en(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return t1(e,t)}build(e,t,i){tj(e,t,i.transformTemplate)}scrapeMotionValuesFromProps(e,t,i){return tB(e,t,i)}}var t3=e.i(71645);let t5=["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 t6(e){if("string"!=typeof e||e.includes("-"));else if(t5.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}var t4=e.i(43476);let t8=(0,t3.createContext)({}),t9=(0,t3.createContext)({strict:!1}),t7=(0,t3.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),ie=(0,t3.createContext)({});function it(e){return Array.isArray(e)?e.join(" "):e}let ii=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ir(e,t,i){for(let n in t)G(t[n])||t_(n,i)||(e[n]=t[n])}let io=()=>({...ii(),attrs:{}}),is=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 ia(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||is.has(e)}let il=e=>!ia(e);try{Q=(()=>{let e=Error("Cannot find module '@emotion/is-prop-valid'");throw e.code="MODULE_NOT_FOUND",e})().default,"function"==typeof Q&&(il=e=>e.startsWith("on")?!ia(e):Q(e))}catch{}function iu(e){return G(e)?e.get():e}let ic=(0,t3.createContext)(null),id=e=>(t,i)=>{let n,r=(0,t3.useContext)(ie),o=(0,t3.useContext)(ic),s=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},i,n,r){return{latestValues:function(e,t,i,n){let r={},o=n(e,{});for(let e in o)r[e]=iu(o[e]);let{initial:s,animate:a}=e,l=th(e),u=tp(e);t&&u&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let c=!!i&&!1===i.initial,d=(c=c||!1===s)?a:s;if(d&&"boolean"!=typeof d&&!tl(d)){let t=Array.isArray(d)?d:[d];for(let i=0;i<t.length;i++){let n=tv(e,t[i]);if(n){let{transitionEnd:e,transition:t,...i}=n;for(let e in i){let t=i[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(r[e]=t)}for(let t in e)r[t]=e[t]}}}return r}(i,n,r,e),renderState:t()}})(e,t,r,o);return i?s():(null===(n=(0,t3.useRef)(null)).current&&(n.current=s()),n.current)},ih=id({scrapeMotionValuesFromProps:tB,createRenderState:ii}),ip=id({scrapeMotionValuesFromProps:tz,createRenderState:io}),im={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"]},ig=!1;function iy(){return!function(){if(ig)return;let e={};for(let t in im)e[t]={isEnabled:e=>im[t].some(t=>!!e[t])};tx=e,ig=!0}(),tx}let iv=Symbol.for("motionComponentSymbol"),ib="data-"+tS("framerAppearId"),ix=(0,t3.createContext)({});function iw(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}let ik="u">typeof window?t3.useLayoutEffect:t3.useEffect;function iS(e,{forwardMotionProps:t=!1,type:i}={},n,r){n&&function(e){let t=iy();for(let i in e)t[i]={...t[i],...e[i]};tx=t}(n);let o=i?"svg"===i:t6(e),s=o?ip:ih;function a(i,n){var a;let l,u,c,d={...(0,t3.useContext)(t7),...i,layoutId:function({layoutId:e}){let t=(0,t3.useContext)(t8).id;return t&&void 0!==e?t+"-"+e:e}(i)},{isStatic:h}=d,p=function(e){let{initial:t,animate:i}=function(e,t){if(th(e)){let{initial:t,animate:i}=e;return{initial:!1===t||tu(t)?t:void 0,animate:tu(i)?i:void 0}}return!1!==e.inherit?t:{}}(e,(0,t3.useContext)(ie));return(0,t3.useMemo)(()=>({initial:t,animate:i}),[it(t),it(i)])}(i),f=s(i,h);if(!h&&"u">typeof window){(0,t3.useContext)(t9).strict;let t=function(e){let{drag:t,layout:i}=iy();if(!t&&!i)return{};let n={...t,...i};return{MeasureLayout:t?.isEnabled(e)||i?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}
1(d);l=t.MeasureLayout,p.visualElement=function(e,t,i,n,r,o){let{visualElement:s}=(0,t3.useContext)(ie),a=(0,t3.useContext)(t9),l=(0,t3.useContext)(ic),u=(0,t3.useContext)(t7),c=u.reducedMotion,d=u.skipAnimations,h=(0,t3.useRef)(null),p=(0,t3.useRef)(!1);n=n||a.renderer,!h.current&&n&&(h.current=n(e,{visualState:t,parent:s,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:c,skipAnimations:d,isSVG:o}),p.current&&h.current&&(h.current.manuallyAnimateOnMount=!0));let f=h.current,m=(0,t3.useContext)(ix);f&&!f.projection&&r&&("html"===f.type||"svg"===f.type)&&function(e,t,i,n){let{layoutId:r,layout:o,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:c,layoutCrossfade:d}=t;e.projection=new i(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:r,layout:o,alwaysMeasureLayout:!!s||a&&iw(a),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:n,crossfade:d,layoutScroll:l,layoutRoot:u,layoutAnchor:c})}(h.current,i,r,m);let g=(0,t3.useRef)(!1);(0,t3.useInsertionEffect)(()=>{f&&g.current&&f.update(i,l)});let y=i[ib],v=(0,t3.useRef)(!!y&&"u">typeof window&&!window.MotionHandoffIsComplete?.(y)&&window.MotionHasOptimisedAnimation?.(y));return ik(()=>{p.current=!0,f&&(g.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),v.current&&f.animationState&&f.animationState.animateChanges())}),(0,t3.useEffect)(()=>{f&&(!v.current&&f.animationState&&f.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(y)}),v.current=!1),f.enteringChildren=void 0)}),f}(e,f,d,r,t.ProjectionNode,o)}return(0,t4.jsxs)(ie.Provider,{value:p,children:[l&&p.visualElement?(0,t4.jsx)(l,{visualElement:p.visualElement,...d}):null,function(e,t,i,{latestValues:n},r,o=!1,s){let a=(s??t6(e)?function(e,t,i,n){let r=(0,t3.useMemo)(()=>{let i=io();return tM(i,t,tN(n),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let t={};ir(t,e.style,e),r.style={...t,...r.style}}return r}:function(e,t){let i,n,r={},o=(i=e.style||{},ir(n={},i,e),Object.assign(n,function({transformTemplate:e},t){return(0,t3.useMemo)(()=>{let i=ii();return tj(i,t,e),Object.assign({},i.vars,i.style)},[t])}(e,t)),n);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=o,r})(t,n,r,e),l=function(e,t,i){let n={};for(let r in e)("values"!==r||"object"!=typeof e.values)&&!G(e[r])&&(il(r)||!0===i&&ia(r)||!t&&!ia(r)||e.draggable&&r.startsWith("onDrag"))&&(n[r]=e[r]);return n}(t,"string"==typeof e,o),u=e!==t3.Fragment?{...l,...a,ref:i}
1:{},{children:c}=t,d=(0,t3.useMemo)(()=>G(c)?c.get():c,[c]);return(0,t3.createElement)(e,{...u,children:d})}(e,i,(a=p.visualElement,u=(0,t3.useRef)(n),(0,t3.useInsertionEffect)(()=>{u.current=n}),c=(0,t3.useRef)(null),(0,t3.useCallback)(e=>{e&&f.onMount?.(e),a&&(e?a.mount(e):a.unmount());let t=u.current;if("function"==typeof t)if(e){let i=t(e);"function"==typeof i&&(c.current=i)}else c.current?(c.current(),c.current=null):t(e);else t&&(t.current=e)},[a])),f,h,t,o)]})}a.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let l=(0,t3.forwardRef)(a);return l[iv]=e,l}class iE{constructor(e){this.isMounted=!1,this.node=e}update(){}}function iT(e,t,i){let n=e.getProps();return tv(n,t,void 0!==i?i:n.custom,e)}function iP(e,t){if(e?.inherit&&t){let{inherit:i,...n}=e;return{...t,...n}}return e}function ij(e,t){let i=e?.[t]??e?.default??e;return i!==e?iP(i,e):i}let iC=e=>Array.isArray(e);function iA(e,t){let i=e.getValue("willChange");if(G(i)&&i.add)return i.add(t);if(!i&&eE.WillChange){let i=new eE.WillChange("auto");e.addValue("willChange",i),i.add(t)}}let iR=(...e)=>e.reduce((e,t)=>i=>t(e(i)));function iM(e,t,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function iO(e,t){return i=>i>0?t:e}let iN=(e,t,i)=>{let n=e*e,r=i*(t*t-n)+n;return r<0?0:Math.sqrt(r)},iD=[y,g,T];function iL(e){let t=iD.find(t=>t.test(e));if(ee(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let i=t.parse(e);return t===T&&(i=function({hue:e,saturation:t,lightness:i,alpha:n}){e/=360,i/=100;let r=0,o=0,s=0;if(t/=100){let n=i<.5?i*(1+t):i+t-i*t,a=2*i-n;r=iM(a,n,e+1/3),o=iM(a,n,e),s=iM(a,n,e-1/3)}else r=o=s=i;return{red:Math.round(255*r),green:Math.round(255*o),blue:Math.round(255*s),alpha:n}}(i)),i}let iV=(e,t)=>{let i=iL(e),n=iL(t);if(!i||!n)return iO(e,t);let r={...i};return e=>(r.red=iN(i.red,n.red,e),r.green=iN(i.green,n.green,e),r.blue=iN(i.blue,n.blue,e),r.alpha=tI(i.alpha,n.alpha,e),g.transform(r))},iI=new Set(["none","hidden"]);function iF(e,t){return i=>tI(e,t,i)}function i_(e){return"number"==typeof e?iF:"string"==typeof e?eo(e)?iO:P.test(e)?iV:i$:Array.isArray(e)?iB:"object"==typeof e?P.test(e)?iV:iz:iO}function iB(e,t){let i=[...e],n=i.length,r=e.map((e,i)=>i_(e)(e,t[i]));return e=>{for(let t=0;t<n;t++)i[t]=r[t](e);return i}}function iz(e,t){let i={...e,...t},n={};for(let r in i)void 0!==e[r]&&void 0!==t[r]&&(n[r]=i_(e[r])(e[r],t[r]));return e=>{for(let t in n)i[t]=n[t](e);return i}}let i$=(e,t)=>{let i=N.createTransformer(t),n=M(e),r=M(t);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 ee(!0,`Complex values '${e}' and '${t}' 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(e,t);if(iI.has(e)&&!r.values.length||iI.has(t)&&!n.values.length)return iI.has(e)?i=>i<=0?e:t:i=>i>=1?t:e;return iR(iB(function(e,t){let i=[],n={color:0,var:0,number:0};for(let r=0;r<t.values.length;r++){let o=t.types[r],s=e.indexes[o][n[o]],a=e.values[s]??0;i[r]=a,n[o]++}return i}(n,r),r.values),i)};function iW(e,t,i){return"number"==typeof e&&"number"==typeof t&&"number"==typeof i?tI(e,t,i):i_(e)(e,t)}let iU=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>ej.update(t,e),stop:()=>eC(t),now:()=>eA.isProcessing?eA.timestamp:tt.now()}};function iH(e){let t=0,i=e.next(t);for(;!i.done&&t<2e4;)t+=50,i=e.next(t);return t>=2e4?1/0:t}let iY=.01,iG=2,iX=.005,iq=.5;function iK(e,t){return e*Math.sqrt(1-t*t)}let iZ=["duration","bounce"],iQ=["stiffness","damping","mass"];function iJ(e,t){return t.some(t=>void 0!==e[t])}function i0(e=.3,t=.3){let i,n,r,o,a,l,u="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:c,restDelta:d}=u,h=u.keyframes[0],p=u.keyframes[u.keyframes.length-1],f={done:!1,value:h},{stiffness:m,damping:g,mass:y,duration:v,velocity:b,isResolvedFromDuration:x}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!iJ(e,iQ)&&iJ(e,iZ))if(t.velocity=0,e.visualDuration){let i=2*Math.PI/(1.2*e.visualDuration),n=i*i,r=2*s(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:1,stiffness:n,damping:r}}else{let i=function({duration:e=800,bounce:t=.3,velocity:i=0,mass:n=1}){let r,o;ee(e<=e$(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-t;a=s(.05,1,a),e=s(.01,10,e/1e3),a<1?(r=t=>{let n=t*a,r=n*e;return .001-(n-i)/iK(t,a)*Math.exp(-r)},o=t=>{let n=t*a*e,o=Math.pow(a,2)*Math.pow(t,2)*e,s=Math.exp(-n),l=iK(Math.pow(t,2),a);return(n*i+i-o)*s*(-r(t)+.001>0?-1:1)/l}):(r=t=>-.001+Math.exp(-t*e)*((t-i)*e+1),o=t=>e*e*(i-t)*Math.exp(-t*e));let l=function(e,t,i){let n=i;for(let i=1;i<12;i++)n-=e(n)/t(n);return n}(r,o,5/e);if(e=e$(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(l,2)*n;
1return{stiffness:t,damping:2*a*Math.sqrt(n*t),duration:e}}}({...e,velocity:0});(t={...t,...i,mass:1}).isResolvedFromDuration=!0}return t}({...u,velocity:-((u.velocity||0)/1e3)}),w=b||0,k=g/(2*Math.sqrt(m*y)),S=p-h,E=Math.sqrt(m/y)/1e3,T=5>Math.abs(S);if(c||(c=T?iY:iG),d||(d=T?iX:iq),k<1)r=iK(E,k),o=(w+k*E*S)/r,i=e=>p-Math.exp(-k*E*e)*(o*Math.sin(r*e)+S*Math.cos(r*e)),a=k*E*o+S*r,l=k*E*S-o*r,n=e=>Math.exp(-k*E*e)*(a*Math.sin(r*e)+l*Math.cos(r*e));else if(1===k){i=e=>p-Math.exp(-E*e)*(S+(w+E*S)*e);let e=w+E*S;n=t=>Math.exp(-E*t)*(E*e*t-w)}else{let e=E*Math.sqrt(k*k-1);i=t=>{let i=Math.exp(-k*E*t),n=Math.min(e*t,300);return p-i*((w+k*E*S)*Math.sinh(n)+e*S*Math.cosh(n))/e};let t=(w+k*E*S)/e,r=k*E*t-S*e,o=k*E*S-t*e;n=t=>{let i=Math.exp(-k*E*t),n=Math.min(e*t,300);return i*(r*Math.sinh(n)+o*Math.cosh(n))}}let P={calculatedDuration:x&&v||null,velocity:e=>e$(n(e)),next:e=>{if(!x&&k<1){let t=Math.exp(-k*E*e),i=Math.sin(r*e),n=Math.cos(r*e),s=p-t*(o*i+S*n);return f.done=Math.abs(e$(t*(a*i+l*n)))<=c&&Math.abs(p-s)<=d,f.value=f.done?p:s,f}let t=i(e);return x?f.done=e>=v:f.done=Math.abs(e$(n(e)))<=c&&Math.abs(p-t)<=d,f.value=f.done?p:t,f},toString:()=>{let e=Math.min(iH(P),2e4),t=e3(t=>P.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return P}function i1(e,t,i){let n=Math.max(t-5,0);return ti(i-e(n),t-n)}function i2({keyframes:e,velocity:t=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){let d,h,p=e[0],f={done:!1,value:p},m=i*t,g=p+m,y=void 0===s?g:s(g);y!==g&&(m=y-p);let v=e=>-m*Math.exp(-e/n),b=e=>y+v(e),x=e=>{let t=v(e),i=b(e);f.done=Math.abs(t)<=u,f.value=f.done?y:i},w=e=>{let t;if(t=f.value,void 0!==a&&t<a||void 0!==l&&t>l){var i;d=e,h=i0({keyframes:[f.value,(i=f.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:i1(b,e,f.value),damping:r,stiffness:o,restDelta:u,restSpeed:c})}};return w(0),{calculatedDuration:null,next:e=>{let t=!1;return(h||void 0!==d||(t=!0,x(e),w(e)),void 0!==d&&e>=d)?h.next(e-d):(t||x(e),f)}}}i0.applyToOptions=e=>{let t=function(e,t=100,i){let n=i({...e,keyframes:[0,t]}),r=Math.min(iH(n),2e4);return{type:"keyframes",ease:e=>n.next(r*e).value/t,duration:r/1e3}}(e,100,i0);return e.ease=t.ease,e.duration=e$(t.duration),e.type="keyframes",e};let i3=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e;function i5(e,t,i,n){return e===t&&i===n?eS:r=>0===r||1===r?r:i3(function(e,t,i,n,r){let o,s,a=0;do(o=i3(s=t+(i-t)/2,n,r)-e)>0?i=s:t=s;while(Math.abs(o)>1e-7&&++a<12)return s}(r,0,1,e,i),t,n)}let i6=i5(.42,0,1,1),i4=i5(0,0,.58,1),i8=i5(.42,0,.58,1),i9=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,i7=e=>t=>1-e(1-t),ne=i5(.33,1.53,.69,.99),nt=i7(ne),ni=i9(nt),nn=e=>e>=1?1:(e*=2)<1?.5*nt(e):.5*(2-Math.pow(2,-10*(e-1))),nr=e=>1-Math.sin(Math.acos(e)),no=i7(nr),ns=i9(nr),na={linear:eS,easeIn:i6,easeInOut:i8,easeOut:i4,circIn:nr,circInOut:ns,circOut:no,backIn:nt,backInOut:ni,backOut:ne,anticipate:nn},nl=e=>{if(e1(e)){et(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,i,n,r]=e;return i5(t,i,n,r)}return"string"==typeof e?(et(void 0!==na[e],`Invalid easing type '${e}'`,"invalid-easing-type"),na[e]):e},nu=(e,t,i)=>{let n=t-e;return n?(i-e)/n:1};function nc({duration:e=300,keyframes:t,times:i,ease:n="easeInOut"}){var r;let o,a=Array.isArray(n)&&"number"!=typeof n[0]?n.map(nl):nl(n),l={done:!1,value:t[0]},u=function(e,t,{clamp:i=!0,ease:n,mixer:r}={}){let o=e.length;if(et(o===t.length,"Both input and output ranges must be the same length","range-length"),1===o)return()=>t[0];if(2===o&&t[0]===t[1])return()=>t[1];let a=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let l=function(e,t,i){let n=[],r=i||eE.mix||iW,o=e.length-1;for(let i=0;i<o;i++){let o=r(e[i],e[i+1]);t&&(o=iR(Array.isArray(t)?t[i]||eS:t,o)),n.push(o)}return n}(t,n,r),u=l.length,c=i=>{if(a&&i<e[0])return t[0];let n=0;if(u>1)for(;n<e.length-2&&!(i<e[n+1]);n++);let r=nu(e[n],e[n+1],i);return l[n](r)};return i?t=>c(s(e[0],e[o-1],t)):c}((r=i&&i.length===t.length?i:(!function(e,t){let i=e[e.length-1];for(let n=1;n<=t;n++){let r=nu(0,t,n);e.push(tI(i,1,r))}}(o=[0],t.length-1),o),r.map(t=>t*e)),t,{ease:Array.isArray(a)?a:t.map(()=>a||i8).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(l.value=u(t),l.done=t>=e,l)}}let nd={decay:i2,inertia:i2,tween:nc,keyframes:nc,spring:i0};function nh(e){"string"==typeof e.type&&(e.type=nd[e.type])}let np=e=>e/100;class nf extends eJ{constructor(e){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:e}=this.options;e&&e.updatedAt!==tt.now()&&this.tick(tt.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},e0.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;nh(e);let{type:t=nc,repeat:i=0,repeatDelay:n=0,repeatType:r,velocity:o=0}=e,{keyframes:s}=e,a=t||nc;a!==nc&&"number"!=typeof s[0]&&(this.mixKeyframes=iR(np,iW(s[0],s[1])),s=[0,100]);let l=a({...e,keyframes:s}
1);"mirror"===r&&(this.mirroredGenerator=a({...e,keyframes:[...s].reverse(),velocity:-o})),null===l.calculatedDuration&&(l.calculatedDuration=iH(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=l}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let i,{generator:n,totalDuration:r,mixKeyframes:o,mirroredGenerator:a,resolvedDuration:l,calculatedDuration:u}=this;if(null===this.startTime)return n.next(0);let{delay:c=0,keyframes:d,repeat:h,repeatType:p,repeatDelay:f,type:m,onUpdate:g,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let v=this.currentTime-c*(this.playbackSpeed>=0?1:-1),b=this.playbackSpeed>=0?v<0:v>r;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let x=this.currentTime,w=n;if(h){let e=Math.min(this.currentTime,r)/l,t=Math.floor(e),i=e%1;!i&&e>=1&&(i=1),1===i&&t--,(t=Math.min(t,h+1))%2&&("reverse"===p?(i=1-i,f&&(i-=f/l)):"mirror"===p&&(w=a)),x=s(0,1,i)*l}b?(this.delayState.value=d[0],i=this.delayState):i=w.next(x),o&&!b&&(i.value=o(i.value));let{done:k}=i;b||null===u||(k=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&k);return S&&m!==i2&&(i.value=eQ(d,this.options,y,this.speed)),g&&g(i.value),S&&this.finish(),i}then(e,t){return this.finished.then(e,t)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return this.currentTime/1e3}set time(e){e=e$(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return i1(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(tt.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:e=iU,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),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=t??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(tt.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,e0.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}let nm={anticipate:nn,backInOut:ni,circInOut:ns};class ng extends e8{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in nm&&(e.ease=nm[e.ease])}(e),nh(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:i,onComplete:n,element:r,...o}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let a=new nf({...o,autoplay:!1}),l=Math.max(10,tt.now()-this.startTime),u=s(0,10,l-10),c=a.sample(l).value,{name:d}=this.options;r&&d&&eY(r,d,c),t.setWithVelocity(a.sample(Math.max(0,l-u)).value,c,u),a.stop()}}let ny=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(N.test(e)||"0"===e)&&!e.startsWith("url("));function nv(e){e.duration=0,e.type="keyframes"}let nb=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,nx=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),nw=eG(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));
1class nk extends eJ{constructor({autoplay:e=!0,delay:t=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:o="loop",keyframes:s,name:a,motionValue:l,element:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tt.now();const d={autoplay:e,delay:t,type:i,repeat:n,repeatDelay:r,repeatType:o,name:a,motionValue:l,element:u,...c},h=u?.KeyframeResolver||eI;this.keyframeResolver=new h(s,(e,t,i)=>this.onKeyframesResolved(e,t,d,!i),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,i,n){let r;this.keyframeResolver=void 0;let{name:o,type:s,velocity:a,delay:l,isHandoff:u,onUpdate:c}=i;this.resolvedAt=tt.now();let d=!0;!function(e,t,i,n){let r=e[0];if(null===r)return!1;if("display"===t||"visibility"===t)return!0;let o=e[e.length-1],s=ny(r,t),a=ny(o,t);return ee(s===a,`You are trying to animate ${t} from "${r}" to "${o}". "${s?o:r}" is not an animatable value.`,"value-not-animatable"),!!s&&!!a&&(function(e){let t=e[0];if(1===e.length)return!0;for(let i=0;i<e.length;i++)if(e[i]!==t)return!0}(e)||("spring"===i||e4(i))&&n)}(e,o,s,a)&&(d=!1,(eE.instantAnimations||!l)&&c?.(eQ(e,i,t)),e[0]=e[e.length-1],nv(i),i.repeat=0);let h={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...i,keyframes:e},p=d&&!u&&function(e){let{motionValue:t,name:i,repeatDelay:n,repeatType:r,damping:o,type:s,keyframes:a}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return nw()&&i&&(e9.has(i)||nx.has(i)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&nb.test(e[t]))return!0;return!1}(a))&&("transform"!==i||!u)&&!l&&!n&&"mirror"!==r&&0!==o&&"inertia"!==s}(h),f=h.motionValue?.owner?.current;if(p)try{r=new ng({...h,element:f})}catch{r=new nf(h)}else r=new nf(h);r.finished.then(()=>{this.notifyFinished()}).catch(eS),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(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),eD=!0,eV(),eL(),eD=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let nS={type:"spring",stiffness:500,damping:25,restSpeed:10},nE={type:"keyframes",duration:.8},nT={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nP=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),nj=(e,t,i,n={},r,s)=>a=>{let l=ij(n,e)||{},u=l.delay||n.delay||0,{elapsed:c=0}=n;c-=e$(u);let d={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-c,onUpdate:e=>{t.set(e),l.onUpdate&&l.onUpdate(e)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:s?void 0:r};!function(e){for(let t in e)if(!nP.has(t))return!0;return!1}(l)&&Object.assign(d,((e,{keyframes:t})=>t.length>2?nE:o.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:nS:nT)(e,d)),d.duration&&(d.duration=e$(d.duration)),d.repeatDelay&&(d.repeatDelay=e$(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let h=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(nv(d),0===d.delay&&(h=!0)),(eE.instantAnimations||eE.skipAnimations||r?.shouldSkipAnimations||l.skipAnimations)&&(h=!0,nv(d),d.delay=0),d.allowFlatten=!l.type&&!l.ease,h&&!s&&void 0!==t.get()){let e=eQ(d.keyframes,l);if(void 0!==e)return void ej.update(()=>{d.onUpdate(e),d.onComplete()})}return l.isSync?new nf(d):new nk(d)};function nC(e,t,{delay:i=0,transitionOverride:n,type:r}={}){let{transition:o,transitionEnd:s,...a}=t,l=e.getDefaultTransition();o=o?iP(o,l):l;let u=o?.reduceMotion,c=o?.skipAnimations;n&&(o=n);let d=[],h=r&&e.animationState&&e.animationState.getState()[r],p=o?.path;for(let t in p&&p.animateVisualElement(e,a,o,i,d),a){let n=e.getValue(t,e.latestValues[t]??null),r=a[t];if(void 0===r||h&&function({protectedKeys:e,needsAnimating:t},i){let n=e.hasOwnProperty(i)&&!0!==t[i];return t[i]=!1,n}(h,t))continue;let s={delay:i,...ij(o||{},t)};c&&(s.skipAnimations=!0);let l=n.get();if(void 0!==l&&!n.isAnimating()&&!Array.isArray(r)&&r===l&&!s.velocity){ej.update(()=>n.set(r));continue}let p=!1;if(window.MotionHandoffAnimation){let i=e.props[ib];if(i){let e=window.MotionHandoffAnimation(i,t,ej);null!==e&&(s.startTime=e,p=!0)}}iA(e,t);let f=u??e.shouldReduceMotion;n.start(nj(t,n,r,f&&X.has(t)?{type:!1}:s,e,p));let m=n.animation;m&&d.push(m)}if(s){let t=()=>ej.update(()=>{s&&function(e,t){let{transitionEnd:i={},transition:n={},...r}=iT(e,t)||{};for(let t in r={...r,...i}){var o;let i=iC(o=r[t])?o[o.length-1]||0:o;e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,to(i))}}(e,s)});d.length?Promise.all(d).then(t):t()}return d}function nA(e,t,i,n=0,r=1){let o=Array.from(e).sort((e,t)=>
1e.sortNodePosition(t)).indexOf(t),s=e.size,a=(s-1)*n;return"function"==typeof i?i(o,s):1===r?o*n:a-o*n}function nR(e,t,i={}){let n=iT(e,t,"exit"===i.type?e.presenceContext?.custom:void 0),{transition:r=e.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(r=i.transitionOverride);let o=n?()=>Promise.all(nC(e,n,i)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=r;return function(e,t,i=0,n=0,r=0,o=1,s){let a=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),a.push(nR(l,t,{...s,delay:i+("function"==typeof n?0:n)+nA(e.variantChildren,l,n,r,o)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}(e,t,n,o,s,a,i)}:()=>Promise.resolve(),{when:a}=r;if(!a)return Promise.all([o(),s(i.delay)]);{let[e,t]="beforeChildren"===a?[o,s]:[s,o];return e().then(()=>t())}}let nM=td.length;function nO(e,t){if(!Array.isArray(t))return!1;let i=t.length;if(i!==e.length)return!1;for(let n=0;n<i;n++)if(t[n]!==e[n])return!1;return!0}let nN=[...tc].reverse(),nD=tc.length;function nL(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nV(){return{animate:nL(!0),whileInView:nL(),whileHover:nL(),whileTap:nL(),whileDrag:nL(),whileFocus:nL(),exit:nL()}}let nI=0;function nF(e){return[e("x"),e("y")]}function n_(e,t,i,n={passive:!0}){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i)}let nB={x:!1,y:!1};function nz(e){return e.max-e.min}function n$(e,t,i,n=.5){e.origin=n,e.originPoint=tI(t.min,t.max,e.origin),e.scale=nz(i)/nz(t),e.translate=tI(i.min,i.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function nW(e,t,i,n){n$(e.x,t.x,i.x,n?n.originX:void 0),n$(e.y,t.y,i.y,n?n.originY:void 0)}function nU(e,t,i,n=0){e.min=(n?tI(i.min,i.max,n):i.min)+t.min,e.max=e.min+nz(t)}function nH(e,t,i,n=0){let r=n?tI(i.min,i.max,n):i.min;e.min=t.min-r,e.max=e.min+nz(t)}function nY(e,t,i,n){nH(e.x,t.x,i.x,n?.x),nH(e.y,t.y,i.y,n?.y)}let nG=e=>"object"==typeof e&&null!==e;function nX(e){return nG(e)&&"ownerSVGElement"in e}var nq=e.i(49652);let nK=new WeakMap,nZ=(e,t,i)=>(n,r)=>r&&r[0]?r[0][e+"Size"]:nX(n)&&"getBBox"in n?n.getBBox()[t]:n[i],nQ=nZ("inline","width","offsetWidth"),nJ=nZ("block","height","offsetHeight");function n0({target:e,borderBoxSize:t}){nK.get(e)?.forEach(i=>{i(e,{get width(){return nQ(e,t)},get height(){return nJ(e,t)}})})}function n1(e){e.forEach(n0)}let n2=new Set;function n3(e,t){let r;return"function"==typeof e?(n2.add(e),n||(n=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};n2.forEach(t=>t(e))},window.addEventListener("resize",n)),()=>{n2.delete(e),n2.size||"function"!=typeof n||(window.removeEventListener("resize",n),n=void 0)}):(!i&&"u">typeof ResizeObserver&&(i=new ResizeObserver(n1)),(r=(0,nq.resolveElements)(e)).forEach(e=>{let n=nK.get(e);n||(n=new Set,nK.set(e,n)),n.add(t),i?.observe(e)}),()=>{r.forEach(e=>{let n=nK.get(e);n?.delete(t),n?.size||i?.unobserve(e)})})}let n5=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),n6=new Set(["INPUT","SELECT","TEXTAREA"]),n4=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function n8(e){return{point:{x:e.pageX,y:e.pageY}}}function n9(e,t,i,n){return n_(e,t,e=>n4(e)&&i(e,n8(e)),n)}let n7=({current:e})=>e?e.ownerDocument.defaultView:null,re=(e,t)=>Math.abs(e-t),rt=new Set(["auto","scroll"]);class ri{constructor(e,t,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:r=!1,distanceThreshold:o=3,element:s}={}){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=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=rn(this.lastRawMoveEventInfo,this.transformPagePoint));let i=ro(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=(e=i.offset,t={x:0,y:0},Math.sqrt(re(e.x,t.x)**2+re(e.y,t.y)**2)>=this.distanceThreshold);if(!n&&!r)return;let{point:o}=i,{timestamp:s}=eA;this.history.push({...o,timestamp:s});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(e,t)=>
1{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=rn(t,this.transformPagePoint),ej.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=ro("pointercancel"===e.type?this.lastMoveEventInfo:rn(t,this.transformPagePoint),this.history);this.startEvent&&i&&i(e,o),n&&n(e,o)},!n4(e))return;this.dragSnapToOrigin=r,this.handlers=t,this.transformPagePoint=i,this.distanceThreshold=o,this.contextWindow=n||window;const a=rn(n8(e),this.transformPagePoint),{point:l}=a,{timestamp:u}=eA;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=t;c&&c(e,ro(a,this.history)),this.removeListeners=iR(n9(this.contextWindow,"pointermove",this.handlePointerMove),n9(this.contextWindow,"pointerup",this.handlePointerUp),n9(this.contextWindow,"pointercancel",this.handlePointerUp)),s&&this.startScrollTracking(s)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(rt.has(e.overflowX)||rt.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.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(e){let t=this.scrollPositions.get(e);if(!t)return;let i=e===window,n=i?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},r={x:n.x-t.x,y:n.y-t.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(e,n),ej.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),eC(this.updatePoint)}}function rn(e,t){return t?{point:t(e.point)}:e}function rr(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ro({point:e},t){return{point:e,delta:rr(e,rs(t)),offset:rr(e,t[0]),velocity:function(e){if(e.length<2)return{x:0,y:0};let t=e.length-1,i=null,n=rs(e);for(;t>=0&&(i=e[t],!(n.timestamp-i.timestamp>e$(.1)));)t--;if(!i)return{x:0,y:0};i===e[0]&&e.length>2&&n.timestamp-i.timestamp>2*e$(.1)&&(i=e[1]);let r=(n.timestamp-i.timestamp)/1e3;if(0===r)return{x:0,y:0};let o={x:(n.x-i.x)/r,y:(n.y-i.y)/r};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(t)}}function rs(e){return e[e.length-1]}function ra(e,t,i){return{min:void 0!==t?e.min+t:void 0,max:void 0!==i?e.max+i-(e.max-e.min):void 0}}function rl(e,t){let i=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([i,n]=[n,i]),{min:i,max:n}}function ru(e,t,i){return{min:rc(e,t),max:rc(e,i)}}function rc(e,t){return"number"==typeof e?e:e[t]||0}let rd=new WeakMap;class rh{constructor(e){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=e}start(e,{snapToCursor:t=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let r=e=>{t&&this.snapToCursor(n8(e).point),this.stopAnimation()},o=(e,t)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"y"===e)if(nB[e])return null;else return nB[e]=!0,()=>{nB[e]=!1};return nB.x||nB.y?null:(nB.x=nB.y=!0,()=>{nB.x=nB.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nF(e=>{let t=this.getAxisMotionValue(e).get()||0;if(x.test(t)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[e];n&&(t=nz(n)*(parseFloat(t)/100))}}this.originPoint[e]=t}),r&&ej.update(()=>r(e,t),!1,!0),iA(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:o}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:s}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}(s),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),o&&ej.update(()=>o(e,t),!1,!0)},a=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();
1this.panSession=new ri(e,{onSessionStart:r,onStart:o,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:n7(this.visualElement),element:this.visualElement.current})}stop(e,t){let i=e||this.latestPointerEvent,n=t||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!n||!i)return;let{velocity:o}=n;this.startAnimation(o);let{onDragEnd:s}=this.getProps();s&&ej.postRender(()=>s(i,n))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,i){let{drag:n}=this.getProps();if(!i||!rf(e,n,this.currentDirection))return;let r=this.getAxisMotionValue(e),o=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:i},n){return void 0!==t&&e<t?e=n?tI(t,e,n.min):Math.max(e,t):void 0!==i&&e>i&&(e=n?tI(i,e,n.max):Math.min(e,i)),e}(o,this.constraints[e],this.elastic[e])),r.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;e&&iw(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=function(e,{top:t,left:i,bottom:n,right:r}){return{x:ra(e.x,i,r),y:ra(e.y,t,n)}}(i.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:ru(e,"left","right"),y:ru(e,"top","bottom")}}(t),n!==this.constraints&&!iw(e)&&i&&this.constraints&&!this.hasMutatedConstraints&&nF(e=>{var t,n;let r;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=i.layoutBox[e],n=this.constraints[e],r={},void 0!==n.min&&(r.min=n.min-t.min),void 0!==n.max&&(r.max=n.max-t.min),r))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!iw(t))return!1;let n=t.current;et(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 o=function(e,t,i){let n=t1(e,i),{scroll:r}=t;return r&&(tZ(n.x,r.offset.x),tZ(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),s=(e=r.layout.layoutBox,{x:rl(e.x,o.x),y:rl(e.y,o.y)});if(i){let e=i(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(s));this.hasMutatedConstraints=!!e,e&&(s=tW(e))}return s}startAnimation(e){let{drag:t,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{};return Promise.all(nF(s=>{if(!rf(s,t,this.currentDirection))return;let l=a&&a[s]||{};(!0===o||o===s)&&(l={min:0,max:0});let u={type:"inertia",velocity:i?e[s]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(s,u)})).then(s)}startAxisValueAnimation(e,t){let i=this.getAxisMotionValue(e);return iA(this.visualElement,e),i.start(nj(e,i,0,t,this.visualElement,!1))}stopAnimation(){nF(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){nF(t=>{let{drag:i}=this.getProps();if(!rf(t,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(t);if(n&&n.layout){let{min:i,max:o}=n.layout.layoutBox[t],s=r.get()||0;r.set(e[t]-tI(i,o,.5)+s)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:i}=this.visualElement;if(!iw(t)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};nF(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var i,r;let o,a,l,u=t.get();n[e]=(i={min:u,max:u},r=this.constraints[e],o=.5,a=nz(i),(l=nz(r))>a?o=nu(r.min,r.max-a,i.min):a>l&&(o=nu(i.min,i.max-l,r.min)),s(0,1,o))}});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(),nF(t=>{if(!rf(t,e,null))return;let i=this.getAxisMotionValue(t),{min:r,max:o}=this.constraints[t];i.set(tI(r,o,n[t]))}),this.visualElement.render()}addListeners(){let e;if(!this.visualElement.current)return;rd.set(this.visualElement,this);let t=this.visualElement.current,i=n9(t,"pointerdown",e=>{let{drag:i,dragListener:n=!0}
1=this.getProps(),r=e.target,o=r!==t&&(n6.has(r.tagName)||!0===r.isContentEditable);i&&n&&!o&&this.start(e)}),n=()=>{var i,n,r;let o,s,{dragConstraints:a}=this.getProps();iw(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),e||(i=t,n=a.current,o=n3(i,rp(r=()=>this.scalePositionWithinConstraints())),s=n3(n,rp(r)),e=()=>{o(),s()}))},{projection:r}=this.visualElement,o=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),ej.read(n);let s=n_(window,"resize",()=>this.scalePositionWithinConstraints()),a=r.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(nF(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{s(),i(),o(),a&&a(),e&&e()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:o=.35,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:o,dragMomentum:s}}}function rp(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function rf(e,t,i){return(!0===t||t===e)&&(null===i||i===e)}let rm=e=>(t,i)=>{e&&ej.update(()=>e(t,i),!1,!0)},rg={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var ry=t3;let rv=!1;class rb extends ry.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=e;r&&(t.group&&t.group.add(r),i&&i.register&&n&&i.register(r),rv&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),rg.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:i,drag:n,isPresent:r}=this.props,{projection:o}=i;return o&&(o.isPresent=r,e.layoutDependency!==t&&o.setOptions({...o.options,layoutDependency:t}),rv=!0,n||e.layoutDependency!==t||void 0===t||e.isPresent!==r?o.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?o.promote():o.relegate()||ej.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:i}=e;i&&(i.options.layoutAnchor=t,i.root.didUpdate(),e7.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i}=this.props,{projection:n}=e;rv=!0,n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function rx(e){let[t,i]=function(e=!0){let t=(0,t3.useContext)(ic);if(null===t)return[!0,null];let{isPresent:i,onExitComplete:n,register:r}=t,o=(0,t3.useId)();(0,t3.useEffect)(()=>{if(e)return r(o)},[e]);let s=(0,t3.useCallback)(()=>e&&n&&n(o),[o,n,e]);return!i&&n?[!1,s]:[!0]}(),n=(0,ry.useContext)(t8);return(0,t4.jsx)(rb,{...e,layoutGroup:n,switchLayoutGroup:(0,ry.useContext)(ix),isPresent:t,safeToRemove:i})}let rw=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],rk=rw.length,rS=e=>"string"==typeof e?parseFloat(e):e,rE=e=>"number"==typeof e||w.test(e);function rT(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let rP=rC(0,.5,no),rj=rC(.5,.95,eS);function rC(e,t,i){return n=>n<e?0:n>t?1:i(nu(e,t,n))}function rA(e,t){e.min=t.min,e.max=t.max}function rR(e,t){rA(e.x,t.x),rA(e.y,t.y)}function rM(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function rO(e,t,i,n,r){return e-=t,e=n+1/i*(e-n),void 0!==r&&(e=n+1/r*(e-n)),e}function rN(e,t,[i,n,r],o,s){!function(e,t=0,i=1,n=.5,r,o=e,s=e){if(x.test(t)&&(t=parseFloat(t),t=tI(s.min,s.max,t/100)-s.min),"number"!=typeof t)return;let a=tI(o.min,o.max,n);e===o&&(a-=t),e.min=rO(e.min,t,i,a,r),e.max=rO(e.max,t,i,a,r)}(e,t[i],t[n],t[r],t.scale,o,s)}let rD=["x","scaleX","originX"],rL=["y","scaleY","originY"];function rV(e,t,i,n){rN(e.x,t,rD,i?i.x:void 0,n?n.x:void 0),rN(e.y,t,rL,i?i.y:void 0,n?n.y:void 0)}function rI(e){return 0===e.translate&&1===e.scale}function rF(e){return rI(e.x)&&rI(e.y)}function r_(e,t){return e.min===t.min&&e.max===t.max}function rB(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function rz(e,t){return rB(e.x,t.x)&&rB(e.y,t.y)}function r$(e){return nz(e.x)/nz(e.y)}function rW(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class rU{constructor(){this.members=[]}add(e){eW(this.members,e);for(let t=this.members.length-1;t>=0;t--){let i=this.members[t];if(i===e||i===this.lead||i===this.prevLead)continue;let n=i.instance;n&&!1!==n.isConnected||i.snapshot||(eU(this.members,i),i.unmount())}e.scheduleRender()}remove(e){if(eU(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(!1!==e.isPresent&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.updateSnapshot(),e.scheduleRender();let{layoutDependency:n}=i.options,{layoutDependency:r}=e.options;(void 0===n||n!==r)&&(e.resumeFrom=i,t&&(i.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root?.isU
1pdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let rH=(e,t)=>e.depth-t.depth;class rY{constructor(){this.children=[],this.isDirty=!1}add(e){eW(this.children,e),this.isDirty=!0}remove(e){eU(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(rH),this.isDirty=!1,this.children.forEach(e)}}let rG=["","X","Y","Z"],rX=0;function rq(e,t,i,n){let{latestValues:r}=t;r[e]&&(i[e]=r[e],t.setStaticValue(e,0),n&&(n[e]=0))}function rK({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(e={},i=t?.()){this.id=rX++,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(rJ),this.nodes.forEach(r9),this.nodes.forEach(r7),this.nodes.forEach(r0)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,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 e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new rY)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new eH),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let i=this.eventHandlers.get(e);i&&i.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=nX(t)&&!(nX(t)&&"svg"===t.tagName),this.instance=t;let{layoutId:i,layout:n,visualElement:r}=this.options;if(r&&!r.current&&r.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),e){let i,n=0,r=()=>this.root.updateBlockedByResize=!1;ej.read(()=>{n=window.innerWidth}),e(t,()=>{let e=window.innerWidth;if(e!==n){let t,o;n=e,this.root.updateBlockedByResize=!0,i&&i(),t=tt.now(),o=({timestamp:e})=>{let i=e-t;i>=250&&(eC(o),r(i-250))},ej.setup(o,!0),i=()=>eC(o),rg.hasAnimatedSinceResize&&(rg.hasAnimatedSinceResize=!1,this.nodes.forEach(r8))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(i||n)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let o=this.options.transition||r.getDefaultTransition()||oo,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!rz(this.targetLayout,n),u=!t&&i;if(this.options.layoutRoot||this.resumeFrom||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...ij(o,"layout"),onPlay:s,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u,t.path)}else t||r8(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),eC(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(oe),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:i}=t.options;if(!i)return;let n=i.props[ib];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:e,layoutId:i}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",ej,!(e||i))}let{parent:r}=t;r&&!r.hasCheckedOptimisedAppear&&e(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,("string"==typeof t.latestValues.x||"string"==typeof t.latestValues.y)&&(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:i}=this.options;if(void 0===t&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(r3),this.nodes.forEach(r2);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(r5);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(r6),this.nodes.forEach(r4),this.nodes.forEach(rZ),this.nodes.forEach(rQ)):this.nodes.forEach(r5),this.clearAllSnapshots();let e=tt.now();eA.delta=s(0,1e3/60,e-eA.timestamp),eA.timestamp=e,eA.isProcessing=!0,eR.update.process(eA),eR.preRender.process(eA),eR.render.process(eA),eA.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,e7.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(r1),this.sharedNodes.forEach(ot)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ej.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ej.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||nz(this.snapshot.measuredBox.x)||nz(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 e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=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:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=n(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!r)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!rF(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,o=n!==this.prevTransformTemplateValue;e&&this.instance&&(t||tY(this.latestValues)||o)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let i=this.measurePageBox(),n=this.removeElementScroll(i);return e&&(n=this.removeTransform(n)),ol((t=n).x),ol(t.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return Y();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(oc))){let{scroll:e}=this.root;e&&(tZ(t.x,e.offset.x),tZ(t.y,e.offset.y))}return t}removeElementScroll(e){let t=Y();if(rR(t,e),this.scroll?.wasRoot)return t;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:r,options:o}=n;n!==this.root&&r&&o.layoutScroll&&(r.wasRoot&&rR(t,e),tZ(t.x,r.offset.x),tZ(t.y,r.offset.y))}return t}applyTransform(e,t=!1,i){let n=i||Y();rR(n,e);for(let e=0;e<this.path.length;e++){let i=this.path[e];!t&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(tZ(n.x,-i.scroll.offset.x),tZ(n.y,-i.scroll.offset.y)),tY(i.latestValues)&&t0(n,i.latestValues,i.layout?.layoutBox)}return tY(this.latestValues)&&t0(n,this.latestValues,this.layout?.layoutBox),n}removeTransform(e){let t=Y();rR(t,e);for(let e=0;e<this.path.length;e++){let i,n=this.path[e];tY(n.latestValues)&&(n.instance&&(tH(n.latestValues)&&n.updateSnapshot(),rR(i=Y(),n.measurePageBox())),rV(t,n.latestValues,n.snapshot?.layoutBox,i))}return tY(this.latestValues)&&rV(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.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!==eA.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
1isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==t;if(!(e||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=eA.timestamp;let o=this.getClosestProjectingParent();if(o&&this.linkedParentVersion!==o.layoutVersion&&!o.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&o&&o.layout?this.createRelativeTarget(o,this.layout.layoutBox,o.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 s,a,l,u;this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,u=this.options.layoutAnchor||void 0,nU(s.x,a.x,l.x,u?.x),nU(s.y,a.y,l.y,u?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):rR(this.target,this.layout.layoutBox),tK(this.target,this.targetDelta)):rR(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&o&&!!o.resumingFrom==!!this.resumingFrom&&!o.options.layoutScroll&&o.target&&1!==this.animationProgress?this.createRelativeTarget(o,this.target,o.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||tH(this.parent.latestValues)||tG(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(e,t,i){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Y(),this.relativeTargetOrigin=Y(),nY(this.relativeTargetOrigin,t,i,this.options.layoutAnchor||void 0),rR(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,i=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===eA.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;rR(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,s=this.treeScale.y;!function(e,t,i,n=!1){let r,o,s=i.length;if(s){t.x=t.y=1;for(let a=0;a<s;a++){o=(r=i[a]).projectionDelta;let{visualElement:s}=r.options;(!s||!s.props.style||"contents"!==s.props.style.display)&&(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(tZ(e.x,-r.scroll.offset.x),tZ(e.y,-r.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,tK(e,o)),n&&tY(r.latestValues)&&t0(e,r.latestValues,r.layout?.layoutBox))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=Y());let{target:a}=e;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(rM(this.prevProjectionDelta.x,this.projectionDelta.x),rM(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),nW(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===o&&this.treeScale.y===s&&rW(this.projectionDelta.x,this.prevProjectionDelta.x)&&rW(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=U(),this.projectionDelta=U(),this.projectionDeltaWithTransform=U()}setAnimationOrigin(e,t=!1,i){let n,r=this.snapshot,o=r?r.latestValues:{},s={...this.latestValues},a=U();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let l=Y(),u=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),d=!c||c.members.length<=1,h=!!(u&&!d&&!0===this.options.crossfade&&!this.path.some(or));this.animationProgress=0;let p=i?.interpolateProjection(e);this.mixTargetDelta=t=>{let i=t/1e3,r=p?.(i);if(r?(a.x.translate=r.x,a.x.scale=tI(e.x.scale,1,i),a.x.origin=e.x.origin,a.x.originPoint=e.x.originPoint,a.y.translate=r.y,a.y.scale=tI(e.y.scale,1,i),a.y.origin=e.y.origin,a.y.originPoint=e.y.originPoint):(oi(a.x,e.x,i),oi(a.y,e.y,i)),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var c,f,m,g,y,v;nY(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),m=this.relativeTarget,g=this.relativeTargetOrigin,y=l,v=i,on(m.x,g.x,y.x,v),on(m.y,g.y,y.y,v),n&&(c=this.relativeTarget,f=n,r_(c.x,f.x)&&r_(c.y,f.y))&&(this.isProjectionDirty=!1),n||(n=Y()),rR(n,this.relativeTarget)}u&&(this.animationValues=s,function(e,t,i,n,r,o){r?(e.opacity=tI(0,i.opacity??1,rP(n)),e.opacityExit=tI(t.opacity??1,0,rj(n))):o&&(e.opacity=tI(t.opacity??1,i.opacity??1,n));for(let r=0;r<rk;r++){let o=rw[r],s=rT(t,o),a=rT(i,o);(void 0!==s||void 0!==a)&&(s||(s=0),a||(a=0),0===s||0===a||rE(s)===rE(a)?(e[o]=Math.max(tI(rS(s),rS(a),n),0),(x.test(a)||x.test(s))&&(e[o]+="%")):e[o]=a)}(t.rotate||i.rotate)&&(e.rotate=tI(t.rotate||0,i.rotate||0,n))}(s,o,this.latestValues,i,h,d)),r&&void 0!==r.rotate&&(this.animationValues||(this.animationValues=s),this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(eC(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ej.update(()=>{var t,i,n;let r;rg.hasAnimatedSinceResize=!0,e0.layout++,this.motionValue||(this.motionValue=to(0)),this.motionValue.jump(0,!1),this.currentAnimation=(t=this.motionValue,i=[0,1e3],n={...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{e0.layout--},onComplete:()=>{e0.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}},(r=G(t)?t:to(t)).start(nj("",r,i,n)),r.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.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 e=this.getLead(),{targetWithTransforms:t,target:i,layout:n,latestValues:r}=e;if(t&&i&&n){if(this!==e&&this.layout&&n&&ou(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||Y();let t=nz(this.layout.layoutBox.x);i.x.min=e.target.x.min,i.x.max=i.x.min+t;let n=nz(this.layout.layoutBox.y);i.y.min=e.target.y.min,i.y.max=i.y.min+n}rR(t,i),t0(t,r),nW(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new rU),this.sharedNodes.get(e).add(t);let i=t.options.initialPromotionConfig;t.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;
1return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:i}=e;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(t=!0),!t)return;let n={};i.z&&rq("z",e,n,this.animationValues);for(let t=0;t<rG.length;t++)rq(`rotate${rG[t]}`,e,n,this.animationValues),rq(`skew${rG[t]}`,e,n,this.animationValues);for(let t in e.render(),n)e.setStaticValue(t,n[t]),this.animationValues&&(this.animationValues[t]=n[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=iu(t?.pointerEvents)||"",e.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=iu(t?.pointerEvents)||""),this.hasProjected&&!tY(this.latestValues)&&(e.transform=i?i({},""):"none",this.hasProjected=!1);return}e.visibility="";let r=n.animationValues||n.latestValues;this.applyTransformsToTarget();
1let o=function(e,t,i){let n="",r=e.x.translate/t.x,o=e.y.translate/t.y,s=i?.z||0;if((r||o||s)&&(n=`translate3d(${r}px, ${o}px, ${s}px) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),i){let{transformPerspective:e,rotate:t,pathRotation:r,rotateX:o,rotateY:s,skewX:a,skewY:l}=i;e&&(n=`perspective(${e}px) ${n}`),t&&(n+=`rotate(${t}deg) `),r&&(n+=`rotate(${r}deg) `),o&&(n+=`rotateX(${o}deg) `),s&&(n+=`rotateY(${s}deg) `),a&&(n+=`skewX(${a}deg) `),l&&(n+=`skewY(${l}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);i&&(o=i(r,o)),e.transform=o;let{x:s,y:a}=this.projectionDelta;for(let t in e.transformOrigin=`${100*s.origin}% ${100*a.origin}% 0`,n.animationValues?e.opacity=n===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:e.opacity=n===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,tF){if(void 0===r[t])continue;let{correct:i,applyTo:s,isCSSVariable:a}=tF[t],l="none"===o?r[t]:i(r[t],n);if(s){let t=s.length;for(let i=0;i<t;i++)e[s[i]]=l}else a?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=n===this?iu(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(r2),this.root.sharedNodes.clear()}}}function rZ(e){e.updateLayout()}function rQ(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=e.layout,{animationType:r}=e.options,o=t.source!==e.layout.source;if("size"===r)nF(e=>{let n=o?t.measuredBox[e]:t.layoutBox[e],r=nz(n);n.min=i[e].min,n.max=n.min+r});else if("x"===r||"y"===r){let e="x"===r?"y":"x";rA(o?t.measuredBox[e]:t.layoutBox[e],i[e])}else ou(r,t.layoutBox,i)&&nF(n=>{let r=o?t.measuredBox[n]:t.layoutBox[n],s=nz(i[n]);r.max=r.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+s)});let s=U();nW(s,i,t.layoutBox);let a=U();o?nW(a,e.applyTransform(n,!0),t.measuredBox):nW(a,i,t.layoutBox);let l=!rF(s),u=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:o}=n;if(r&&o){let s=e.options.layoutAnchor||void 0,a=Y();nY(a,t.layoutBox,r.layoutBox,s);let l=Y();nY(l,i,o.layoutBox,s),rz(a,l)||(u=!0),n.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=a,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:t,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function rJ(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function r0(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function r1(e){e.clearSnapshot()}function r2(e){e.clearMeasurements()}function r3(e){e.isLayoutDirty=!0,e.updateLayout()}function r5(e){e.isLayoutDirty=!1}function r6(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function r4(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function r8(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function r9(e){e.resolveTargetDelta()}function r7(e){e.calcProjection()}function oe(e){e.resetSkewAndRotation()}function ot(e){e.removeLeadSnapshot()}function oi(e,t,i){e.translate=tI(t.translate,0,i),e.scale=tI(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function on(e,t,i,n){e.min=tI(t.min,i.min,n),e.max=tI(t.max,i.max,n)}function or(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let oo={duration:.45,ease:[.4,0,.1,1]},os=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),oa=os("applewebkit/")&&!os("chrome/")?Math.round:eS;function ol(e){e.min=oa(e.min),e.max=oa(e.max)}function ou(e,t,i){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(r$(t)-r$(i)))}function oc(e){return e!==e.root&&e.scroll?.wasRoot}let od=rK({attachResizeListener:(e,t)=>n_(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),oh={current:void 0},op=rK({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!oh.current){let e=new od({});e.mount(window),e.setOptions({layoutScroll:!0}),oh.current=e}return oh.current},resetTransform:(e,t)=>
1{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function of(e,t){let i=(0,nq.resolveElements)(e),n=new AbortController;return[i,{passive:!0,...t,signal:n.signal},()=>n.abort()]}function om(e,t,i){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&ej.postRender(()=>r(t,n8(t)))}let og=(e,t)=>!!t&&(e===t||og(e,t.parentElement)),oy=new WeakSet;function ov(e){return t=>{"Enter"===t.key&&e(t)}}function ob(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function ox(e){return n4(e)&&!(nB.x||nB.y)}let ow=new WeakSet;function ok(e,t,i){let{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&ej.postRender(()=>r(t,n8(t)))}let oS=new WeakMap,oE=new WeakMap,oT=e=>{let t=oS.get(e.target);t&&t(e)},oP=e=>{e.forEach(oT)},oj={some:0,all:1},oC=function(e,t){if("u"<typeof Proxy)return iS;let i=new Map,n=(i,n)=>iS(i,n,e,t);return new Proxy((e,t)=>n(e,t),{get:(r,o)=>"create"===o?n:(i.has(o)||i.set(o,iS(o,void 0,e,t)),i.get(o))})}({animation:{Feature:class extends iE{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:i})=>(function(e,t,i={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t))n=Promise.all(t.map(t=>nR(e,t,i)));else if("string"==typeof t)n=nR(e,t,i);else{let r="function"==typeof t?iT(e,t,i.custom):t;n=Promise.all(nC(e,r,i))}return n.then(()=>{e.notify("AnimationComplete",t)})})(e,t,i))),i=nV(),n=!0,r=!1,o=t=>(i,n)=>{let r=iT(e,n,"exit"===t?e.presenceContext?.custom:void 0);if(r){let{transition:e,transitionEnd:t,...n}=r;i={...i,...n,...t}}return i};function s(s){let{props:a}=e,l=function e(t){if(!t)return;if(!t.isControllingVariants){let i=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(i.initial=t.props.initial),i}let i={};for(let e=0;e<nM;e++){let n=td[e],r=t.props[n];(tu(r)||!1===r)&&(i[n]=r)}return i}(e.parent)||{},u=[],c=new Set,d={},h=1/0;for(let t=0;t<nD;t++){var p,f;let m=nN[t],g=i[m],y=void 0!==a[m]?a[m]:l[m],v=tu(y),b=m===s?g.isActive:null;!1===b&&(h=t);let x=y===l[m]&&y!==a[m]&&v;if(x&&(n||r)&&e.manuallyAnimateOnMount&&(x=!1),g.protectedKeys={...d},!g.isActive&&null===b||!y&&!g.prevProp||tl(y)||"boolean"==typeof y)continue;if("exit"===m&&g.isActive&&!0!==b){g.prevResolvedValues&&(d={...d,...g.prevResolvedValues});continue}let w=(p=g.prevProp,"string"==typeof(f=y)?f!==p:!!Array.isArray(f)&&!nO(f,p)),k=w||m===s&&g.isActive&&!x&&v||t>h&&v,S=!1,E=Array.isArray(y)?y:[y],T=E.reduce(o(m),{});!1===b&&(T={});let{prevResolvedValues:P={}}=g,j={...P,...T},C=t=>{k=!0,c.has(t)&&(S=!0,c.delete(t)),g.needsAnimating[t]=!0;let i=e.getValue(t);i&&(i.liveStyle=!1)};for(let e in j){let t=T[e],i=P[e];if(!d.hasOwnProperty(e))(iC(t)&&iC(i)?!nO(t,i)||w:t!==i)?null!=t?C(e):c.add(e):void 0!==t&&c.has(e)?C(e):g.protectedKeys[e]=!0}g.prevProp=y,g.prevResolvedValues=T,g.isActive&&(d={...d,...T}),(n||r)&&e.blockInitialAnimation&&(k=!1);let A=x&&w,R=!A||S;k&&R&&u.push(...E.map(t=>{let i={type:m};if("string"==typeof t&&(n||r)&&!A&&e.manuallyAnimateOnMount&&e.parent){let{parent:n}=e,r=iT(n,t);if(n.enteringChildren&&r){let{delayChildren:t}=r.transition||{};i.delay=nA(n.enteringChildren,e,t)}}return{animation:t,options:i}}))}if(c.size){let t={};if("boolean"!=typeof a.initial){let i=iT(e,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(t.transition=i.transition)}c.forEach(i=>{let n=e.getBaseTarget(i),r=e.getValue(i);r&&(r.liveStyle=!0),t[i]=n??null}),u.push({animation:t})}let m=!!u.length;return n&&(!1===a.initial||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(m=!1),n=!1,r=!1,m?t(u):Promise.resolve()}return{animateChanges:s,setActive:function(t,n){if(i[t].isActive===n)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,n)),i[t].isActive=n;let r=s(t);for(let e in i)i[e].protectedKeys={};return r},setAnimateFunction:function(i){t=i(e)},getState:()=>i,reset:()=>{i=nV(),r=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();tl(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends iE{constructor(){super(...arguments),this.id=nI++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;if(e&&!1===i){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if("string"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)){let i=iT(this.node,e,t);if(i){let{transition:e,transitionEnd:t,...n}=i;for(let e in n)this.node.getValue(e)?.jump(n[e])}}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",!e);t&&!e&&n.then(()=>
1{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}},inView:{Feature:class extends iE{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:s}=i,a={root:n?n.current:void 0,rootMargin:r,threshold:"number"==typeof o?o:oj[o]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,s&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),r=t?i:n;r&&r(e)};this.stopObserver=(e=this.node.current,t=function({root:e,...t}){let i=e||document;oE.has(i)||oE.set(i,{});let n=oE.get(i),r=JSON.stringify(t);return n[r]||(n[r]=new IntersectionObserver(oP,{root:e,...t})),n[r]}(a),oS.set(e,l),t.observe(e),()=>{oS.delete(e),t.unobserve(e)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends iE{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:i}=this.node.props;this.unmount=function(e,t,i={}){let[n,r,o]=of(e,i),s=e=>{let n=e.currentTarget;if(!ox(e)||ow.has(e))return;oy.add(n),i.stopPropagation&&ow.add(e);let o=t(n,e),s=(e,t)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),oy.has(n)&&oy.delete(n),ox(e)&&"function"==typeof o&&o(e,{success:t})},a=e=>{s(e,n===window||n===document||i.useGlobalTarget||og(n,e.target))},l=e=>{s(e,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};return n.forEach(e=>{(i.useGlobalTarget?window:e).addEventListener("pointerdown",s,r),nG(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)&&(e.addEventListener("focus",e=>((e,t)=>{let i=e.currentTarget;if(!i)return;let n=ov(()=>{if(oy.has(i))return;ob(i,"down");let e=ov(()=>{ob(i,"up")});i.addEventListener("keyup",e,t),i.addEventListener("blur",()=>ob(i,"cancel"),t)});i.addEventListener("keydown",n,t),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),t)})(e,r)),n5.has(e.tagName)||!0===e.isContentEditable||e.hasAttribute("tabindex")||(e.tabIndex=0))}),o}(e,(e,t)=>(ok(this.node,t,"Start"),(e,{success:t})=>ok(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:i?.tap===!1})}unmount(){}}},focus:{Feature:class extends iE{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&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=iR(n_(this.node.current,"focus",()=>this.onFocus()),n_(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends iE{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,i={}){let[n,r,o]=of(e,i);return n.forEach(e=>{let i,n=!1,o=!1,s=t=>{i&&(i(t),i=void 0),e.removeEventListener("pointerleave",l)},a=e=>{n=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),o&&(o=!1,s(e))},l=e=>{if("touch"!==e.pointerType){if(n){o=!0;return}s(e)}};e.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||nB.x||nB.y)return;o=!1;let s=t(e,n);"function"==typeof s&&(i=s,e.addEventListener("pointerleave",l,r))},r),e.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",a,r)},r)}),o}(e,(e,t)=>(om(this.node,t,"Start"),e=>om(this.node,e,"End"))))}unmount(){}}},pan:{Feature:class extends iE{constructor(){super(...arguments),this.removePointerDownListener=eS}onPointerDown(e){this.session=new ri(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:n7(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:rm(e),onStart:rm(t),onMove:rm(i),onEnd:(e,t)=>{delete this.session,n&&ej.postRender(()=>n(e,t))}}}mount(){this.removePointerDownListener=n9(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends iE{constructor(e){super(e),this.removeGroupControls=eS,this.removeListeners=eS,this.controls=new rh(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||eS}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:op,MeasureLayout:rx},layout:{ProjectionNode:op,MeasureLayout:rx}},(e,t)=>
1t.isSVG??t6(e)?new t$(t):new t2(t,{allowProjection:e!==t3.Fragment}));e.s(["motion",0,oC],46932)},49652,87652,e=>{"use strict";function t(e,t,i){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let n=document;t&&(n=t.current);let r=i?.[e]??n.querySelectorAll(e);return r?Array.from(r):[]}return Array.from(e).filter(e=>null!=e)}e.s(["resolveElements",0,t],49652);var i=e.i(71645);let n={some:0,all:1};e.s(["useInView",0,function(e,{root:r,margin:o,amount:s,once:a=!1,initial:l=!1}={}){let[u,c]=(0,i.useState)(l);return(0,i.useEffect)(()=>{if(!e.current||a&&u)return;let i={root:r&&r.current||void 0,margin:o,amount:s};return function(e,i,{root:r,margin:o,amount:s="some"}={}){let a=t(e),l=new WeakMap,u=new IntersectionObserver(e=>{e.forEach(e=>{let t=l.get(e.target);if(!!t!==e.isIntersecting)if(e.isIntersecting){let t=i(e.target,e);"function"==typeof t?l.set(e.target,t):u.unobserve(e.target)}else"function"==typeof t&&(t(e),l.delete(e.target))})},{root:r,rootMargin:o,threshold:"number"==typeof s?s:n[s]});return a.forEach(e=>u.observe(e)),()=>u.disconnect()}(e.current,()=>(c(!0),a?void 0:()=>c(!1)),i)},[r,e,o,a,s]),u}],87652)},47163,7670,e=>{"use strict";function t(){for(var e,t,i=0,n="",r=arguments.length;i<r;i++)(e=arguments[i])&&(t=function e(t){var i,n,r="";if("string"==typeof t||"number"==typeof t)r+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(i=0;i<o;i++)t[i]&&(n=e(t[i]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}(e))&&(n&&(n+=" "),n+=t);return n}e.s(["clsx",0,t],7670);let i=(e=new Map,t=null,i)=>({nextPart:e,validators:t,classGroupId:i}),n=[],r=(e,t,i)=>{if(0==e.length-t)return i.classGroupId;let n=e[t],o=i.nextPart.get(n);if(o){let i=r(e,t+1,o);if(i)return i}let s=i.validators;if(null===s)return;let a=0===t?e.join("-"):e.slice(t).join("-"),l=s.length;for(let e=0;e<l;e++){let t=s[e];if(t.validator(a))return t.classGroupId}},o=(e,t)=>{let n=i();for(let i in e)s(e[i],n,i,t);return n},s=(e,t,i,n)=>{let r=e.length;for(let o=0;o<r;o++)a(e[o],t,i,n)},a=(e,t,i,n)=>{"string"==typeof e?l(e,t,i):"function"==typeof e?u(e,t,i,n):c(e,t,i,n)},l=(e,t,i)=>{(""===e?t:d(t,e)).classGroupId=i},u=(e,t,i,n)=>{h(e)?s(e(n),t,i,n):(null===t.validators&&(t.validators=[]),t.validators.push({classGroupId:i,validator:e}))},c=(e,t,i,n)=>{let r=Object.entries(e),o=r.length;for(let e=0;e<o;e++){let[o,a]=r[e];s(a,d(t,o),i,n)}},d=(e,t)=>{let n=e,r=t.split("-"),o=r.length;for(let e=0;e<o;e++){let t=r[e],o=n.nextPart.get(t);o||(o=i(),n.nextPart.set(t,o)),n=o}return n},h=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,p=[],f=(e,t,i,n,r)=>({modifiers:e,hasImportantModifier:t,baseClassName:i,maybePostfixModifierPosition:n,isExternal:r}),m=/\s+/,g=e=>{let t;if("string"==typeof e)return e;let i="";for(let n=0;n<e.length;n++)e[n]&&(t=g(e[n]))&&(i&&(i+=" "),i+=t);return i},y=[],v=e=>{let t=t=>t[e]||y;return t.isThemeGetter=!0,t},b=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,x=/^\((?:(\w[\w-]*):)?(.+)\)$/i,w=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,k=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,S=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,E=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,T=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,P=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,j=e=>w.test(e),C=e=>!!e&&!Number.isNaN(Number(e)),A=e=>!!e&&Number.isInteger(Number(e)),R=e=>e.endsWith("%")&&C(e.slice(0,-1)),M=e=>k.test(e),O=()=>!0,N=e=>S.test(e)&&!E.test(e),D=()=>!1,L=e=>T.test(e),V=e=>P.test(e),I=e=>!B(e)&&!X(e),F=e=>e.startsWith("@container")&&("/"===e[10]&&void 0!==e[11]||"s"===e[11]&&void 0!==e[16]&&e.startsWith("-size/",10)||"n"===e[11]&&void 0!==e[18]&&e.startsWith("-normal/",10)),_=e=>ei(e,es,D),B=e=>b.test(e),z=e=>ei(e,ea,N),$=e=>ei(e,el,C),W=e=>ei(e,ec,O),U=e=>ei(e,eu,D),H=e=>ei(e,er,D),Y=e=>ei(e,eo,V),G=e=>ei(e,ed,L),X=e=>x.test(e),q=e=>en(e,ea),K=e=>en(e,eu),Z=e=>
1en(e,er),Q=e=>en(e,es),J=e=>en(e,eo),ee=e=>en(e,ed,!0),et=e=>en(e,ec,!0),ei=(e,t,i)=>{let n=b.exec(e);return!!n&&(n[1]?t(n[1]):i(n[2]))},en=(e,t,i=!1)=>{let n=x.exec(e);return!!n&&(n[1]?t(n[1]):i)},er=e=>"position"===e||"percentage"===e,eo=e=>"image"===e||"url"===e,es=e=>"length"===e||"size"===e||"bg-size"===e,ea=e=>"length"===e,el=e=>"number"===e,eu=e=>"family-name"===e,ec=e=>"number"===e||"weight"===e,ed=e=>"shadow"===e,eh=((e,...t)=>{let i,s,a,l,u=e=>{let t=s(e);if(t)return t;let n=((e,t)=>{let{parseClassName:i,getClassGroupId:n,getConflictingClassGroupIds:r,sortModifiers:o,postfixLookupClassGroupIds:s}=t,a=[],l=e.trim().split(m),u="";for(let e=l.length-1;e>=0;e-=1){let t,c=l[e],{isExternal:d,modifiers:h,hasImportantModifier:p,baseClassName:f,maybePostfixModifierPosition:m}=i(c);if(d){u=c+(u.length>0?" "+u:u);continue}let g=!!m;if(g){let e=(t=n(f.substring(0,m)))&&s[t]?n(f):void 0;e&&e!==t&&(t=e,g=!1)}else t=n(f);if(!t){if(!g||!(t=n(f))){u=c+(u.length>0?" "+u:u);continue}g=!1}let y=0===h.length?"":1===h.length?h[0]:o(h).join(":"),v=p?y+"!":y,b=v+t;if(a.indexOf(b)>-1)continue;a.push(b);let x=r(t,g);for(let e=0;e<x.length;++e){let t=x[e];a.push(v+t)}u=c+(u.length>0?" "+u:u)}return u})(e,i);return a(e,n),n};return l=c=>{var d;let h;return s=(i={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,i=Object.create(null),n=Object.create(null),r=(r,o)=>{i[r]=o,++t>e&&(t=0,n=i,i=Object.create(null))};return{get(e){let t=i[e];return void 0!==t?t:void 0!==(t=n[e])?(r(e,t),t):void 0},set(e,t){e in i?i[e]=t:r(e,t)}}})((d=t.reduce((e,t)=>t(e),e())).cacheSize),parseClassName:(e=>{let{prefix:t,experimentalParseClassName:i}=e,n=e=>{let t,i=[],n=0,r=0,o=0,s=e.length;for(let a=0;a<s;a++){let s=e[a];if(0===n&&0===r){if(":"===s){i.push(e.slice(o,a)),o=a+1;continue}if("/"===s){t=a;continue}}"["===s?n++:"]"===s?n--:"("===s?r++:")"===s&&r--}let a=0===i.length?e:e.slice(o),l=a,u=!1;return a.endsWith("!")?(l=a.slice(0,-1),u=!0):a.startsWith("!")&&(l=a.slice(1),u=!0),f(i,u,l,t&&t>o?t-o:void 0)};if(t){let e=t+":",i=n;n=t=>t.startsWith(e)?i(t.slice(e.length)):f(p,!1,t,void 0,!0)}if(i){let e=n;n=t=>i({className:t,parseClassName:e})}return n})(d),sortModifiers:(h=new Map,d.orderSensitiveModifiers.forEach((e,t)=>{h.set(e,1e6+t)}),e=>{let t=[],i=[];for(let n=0;n<e.length;n++){let r=e[n],o="["===r[0],s=h.has(r);o||s?(i.length>0&&(i.sort(),t.push(...i),i=[]),t.push(r)):i.push(r)}return i.length>0&&(i.sort(),t.push(...i)),t}),postfixLookupClassGroupIds:(e=>{let t=Object.create(null),i=e.postfixLookupClassGroups;if(i)for(let e=0;e<i.length;e++)t[i[e]]=!0;return t})(d),...(e=>{let t=(e=>{let{theme:t,classGroups:i}=e;return o(i,t)})(e),{conflictingClassGroups:i,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]")){var i;let t,n,r;return -1===(i=e).slice(1,-1).indexOf(":")?void 0:(n=(t=i.slice(1,-1)).indexOf(":"),(r=t.slice(0,n))?"arbitrary.."+r:void 0)}let n=e.split("-"),o=+(""===n[0]&&n.length>1);return r(n,o,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=s[e],r=i[e];if(t){if(r){let e=Array(r.length+t.length);for(let t=0;t<r.length;t++)e[t]=r[t];for(let i=0;i<t.length;i++)e[r.length+i]=t[i];return e}return t}return r||n}return i[e]||n}}})(d)}).cache.get,a=i.cache.set,l=u,u(c)},(...e)=>l(((...e)=>{let t,i,n=0,r="";for(;n<e.length;)(t=e[n++])&&(i=g(t))&&(r&&(r+=" "),r+=i);return r})(...e))})(()=>{let e=v("color"),t=v("font"),i=v("text"),n=v("font-weight"),r=v("tracking"),o=v("leading"),s=v("breakpoint"),a=v("container"),l=v("spacing"),u=v("radius"),c=v("shadow"),d=v("inset-shadow"),h=v("text-shadow"),p=v("drop-shadow"),f=v("blur"),m=v("perspective"),g=v("aspect"),y=v("ease"),b=v("animate"),x=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[...w(),X,B],S=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto","contain","none"],T=()=>[X,B,l],P=()=>[j,"full","auto",...T()],N=()=>
vendor: 8,914 bytes, line 1
1[A,"none","subgrid",X,B],D=()=>["auto",{span:["full",A,X,B]},A,X,B],L=()=>[A,"auto",X,B],V=()=>["auto","min","max","fr",X,B],ei=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],en=()=>["start","end","center","stretch","center-safe","end-safe"],er=()=>["auto",...T()],eo=()=>[j,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...T()],es=()=>[j,"screen","full","dvw","lvw","svw","min","max","fit",...T()],ea=()=>[j,"screen","full","lh","dvh","lvh","svh","min","max","fit",...T()],el=()=>[e,X,B],eu=()=>[...w(),Z,H,{position:[X,B]}],ec=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ed=()=>["auto","cover","contain",Q,_,{size:[X,B]}],eh=()=>[R,q,z],ep=()=>["","none","full",u,X,B],ef=()=>["",C,q,z],em=()=>["solid","dashed","dotted","double"],eg=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ey=()=>[C,R,Z,H],ev=()=>["","none",f,X,B],eb=()=>["none",C,X,B],ex=()=>["none",C,X,B],ew=()=>[C,X,B],ek=()=>[j,"full",...T()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[M],breakpoint:[M],color:[O],container:[M],"drop-shadow":[M],ease:["in","out","in-out"],font:[I],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[M],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[M],shadow:[M],spacing:["px",C],text:[M],"text-shadow":[M],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",j,B,X,g]}],container:["container"],"container-type":[{"@container":["","normal","size",X,B]}],"container-named":[F],columns:[{columns:[C,B,X,a]}],"break-after":[{"break-after":x()}],"break-before":[{"break-before":x()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:k()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:P()}],"inset-x":[{"inset-x":P()}],"inset-y":[{"inset-y":P()}],start:[{"inset-s":P(),start:P()}],end:[{"inset-e":P(),end:P()}],"inset-bs":[{"inset-bs":P()}],"inset-be":[{"inset-be":P()}],top:[{top:P()}],right:[{right:P()}],bottom:[{bottom:P()}],left:[{left:P()}],visibility:["visible","invisible","collapse"],z:[{z:[A,"auto",X,B]}],basis:[{basis:[j,"full","auto",a,...T()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[C,j,"auto","initial","none",B]}],grow:[{grow:["",C,X,B]}],shrink:[{shrink:["",C,X,B]}],order:[{order:[A,"first","last","none",X,B]}],"grid-cols":[{"grid-cols":N()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":N()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":V()}],"auto-rows":[{"auto-rows":V()}],gap:[{gap:T()}],"gap-x":[{"gap-x":T()}],"gap-y":[{"gap-y":T()}],"justify-content":[{justify:[...ei(),"normal"]}],"justify-items":[{"justify-items":[...en(),"normal"]}],"justify-self":[{"justify-self":["auto",...en()]}],"align-content":[{content:["normal",...ei()]}],"align-items":[{items:[...en(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...en(),{baseline:["","last"]}]}],"place-content":[{"place-content":ei()}],"place-items":[{"place-items":[...en(),"baseline"]}],"place-self":[{"place-self":["auto",...en()]}],p:[{p:T()}],px:[{px:T()}],py:[{py:T()}],ps:[{ps:T()}],pe:[{pe:T()}],pbs:[{pbs:T()}],pbe:[{pbe:T()}],pt:[{pt:T()}],pr:[{pr:T()}],pb:[{pb:T()}],pl:[{pl:T()}],m:[{m:er()}],mx:[{mx:er()}],my:[{my:er()}],ms:[{ms:er()}],me:[{me:er()}],mbs:[{mbs:er()}],mbe:[{mbe:er()}],mt:[{mt:er()}],mr:[{mr:er()}],mb:[{mb:er()}],ml:[{ml:er()}],"space-x":[{"space-x":T()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":T()}],"space-y-reverse":["space-y-reverse"],size:[{size:eo()}],"inline-size":[{inline:["auto",...es()]}],"min-inline-size":[{"min-inline":["auto",...es()]}],"max-inline-size":[{"max-inline":["none",...es()]}],"block-size":[{block:["auto",...ea()]}],"min-block-size":[{"min-block":["auto",...ea()]}],"max-block-size":[{"max-block":["none",...ea()]}],w:[{w:[a,"screen",...eo()]}],"min-w":[{"min-w":[a,"screen","none",...eo()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...eo()]}],h:[{h:["screen","lh",...eo()]}],"min-h":[{"min-h":["screen","lh","none",...eo()]}],"max-h":[{"max-h":["screen","lh",...eo()]}],"font-size":[{text:["base",i,q,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,et,W]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",R,B]}],"font-family":[{font:[K,U,t]}],"font-features":[{"font-features":[B]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[r,X,B]}],"line-clamp":[{"line-clamp":[C,"none",X,$]}],leading:[{leading:[o,...T()]}],"list-image":[{"list-image":["none",X,B]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",X,B]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:el()}],"text-color":[{text:el()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...em(),"wavy"]}],"text-decoration-thickness":[{decoration:[C,"from-font","auto",X,z]}],"text-decoration-color":[{decoration:el()}],"underline-offset":[{"underline-offset":[C,"auto",X,B]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:T()}],"tab-size":[{tab:[A,X,B]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",X,B]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",X,B]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:eu()}],"bg-repeat":[{bg:ec()}],"bg-size":[{bg:ed()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},A,X,B],radial:["",X,B],conic:[A,X,B]},J,Y]}],"bg-color":[{bg:el()}],"gradient-from-pos":[{from:eh()}],"gradient-via-pos":[{via:eh()}],"gradient-to-pos":[{to:eh()}],"gradient-from":[{from:el()}],"gradient-via":[{via:el()}],"gradient-to":[{to:el()}],rounded:[{rounded:ep()}],"rounded-s":[{"rounded-s":ep()}],"rounded-e":[{"rounded-e":ep()}],"rounded-t":[{"rounded-t":ep()}],"rounded-r":[{"rounded-r":ep()}],"rounded-b":[{"rounded-b":ep()}],"rounded-l":[{"rounded-l":ep()}],"rounded-ss":[{"rounded-ss":ep()}],"rounded-se":[{"rounded-se":ep()}],"rounded-ee":[{"rounded-ee":ep()}],"rounded-es":[{"rounded-es":ep()}],"rounded-tl":[{"rounded-tl":ep()}],"rounded-tr":[{"rounded-tr":ep()}],"rounded-br":[{"rounded-br":ep()}],"rounded-bl":[{"rounded-bl":ep()}],"border-w":[{border:ef()}],"border-w-x":[{"border-x":ef()}],"border-w-y":[{"border-y":ef()}],"border-w-s":[{"border-s":ef()}],"border-w-e":[{"border-e":ef()}],"border-w-bs":[{"border-bs":ef()}],"border-w-be":[{"border-be":ef()}],"border-w-t":[{"border-t":ef()}],"border-w-r":[{"border-r":ef()}],"border-w-b":[{"border-b":ef()}
vendor: 6,407 bytes, line 1
1],"border-w-l":[{"border-l":ef()}],"divide-x":[{"divide-x":ef()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ef()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...em(),"hidden","none"]}],"divide-style":[{divide:[...em(),"hidden","none"]}],"border-color":[{border:el()}],"border-color-x":[{"border-x":el()}],"border-color-y":[{"border-y":el()}],"border-color-s":[{"border-s":el()}],"border-color-e":[{"border-e":el()}],"border-color-bs":[{"border-bs":el()}],"border-color-be":[{"border-be":el()}],"border-color-t":[{"border-t":el()}],"border-color-r":[{"border-r":el()}],"border-color-b":[{"border-b":el()}],"border-color-l":[{"border-l":el()}],"divide-color":[{divide:el()}],"outline-style":[{outline:[...em(),"none","hidden"]}],"outline-offset":[{"outline-offset":[C,X,B]}],"outline-w":[{outline:["",C,q,z]}],"outline-color":[{outline:el()}],shadow:[{shadow:["","none",c,ee,G]}],"shadow-color":[{shadow:el()}],"inset-shadow":[{"inset-shadow":["none",d,ee,G]}],"inset-shadow-color":[{"inset-shadow":el()}],"ring-w":[{ring:ef()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:el()}],"ring-offset-w":[{"ring-offset":[C,z]}],"ring-offset-color":[{"ring-offset":el()}],"inset-ring-w":[{"inset-ring":ef()}],"inset-ring-color":[{"inset-ring":el()}],"text-shadow":[{"text-shadow":["none",h,ee,G]}],"text-shadow-color":[{"text-shadow":el()}],opacity:[{opacity:[C,X,B]}],"mix-blend":[{"mix-blend":[...eg(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":eg()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[C]}],"mask-image-linear-from-pos":[{"mask-linear-from":ey()}],"mask-image-linear-to-pos":[{"mask-linear-to":ey()}],"mask-image-linear-from-color":[{"mask-linear-from":el()}],"mask-image-linear-to-color":[{"mask-linear-to":el()}],"mask-image-t-from-pos":[{"mask-t-from":ey()}],"mask-image-t-to-pos":[{"mask-t-to":ey()}],"mask-image-t-from-color":[{"mask-t-from":el()}],"mask-image-t-to-color":[{"mask-t-to":el()}],"mask-image-r-from-pos":[{"mask-r-from":ey()}],"mask-image-r-to-pos":[{"mask-r-to":ey()}],"mask-image-r-from-color":[{"mask-r-from":el()}],"mask-image-r-to-color":[{"mask-r-to":el()}],"mask-image-b-from-pos":[{"mask-b-from":ey()}],"mask-image-b-to-pos":[{"mask-b-to":ey()}],"mask-image-b-from-color":[{"mask-b-from":el()}],"mask-image-b-to-color":[{"mask-b-to":el()}],"mask-image-l-from-pos":[{"mask-l-from":ey()}],"mask-image-l-to-pos":[{"mask-l-to":ey()}],"mask-image-l-from-color":[{"mask-l-from":el()}],"mask-image-l-to-color":[{"mask-l-to":el()}],"mask-image-x-from-pos":[{"mask-x-from":ey()}],"mask-image-x-to-pos":[{"mask-x-to":ey()}],"mask-image-x-from-color":[{"mask-x-from":el()}],"mask-image-x-to-color":[{"mask-x-to":el()}],"mask-image-y-from-pos":[{"mask-y-from":ey()}],"mask-image-y-to-pos":[{"mask-y-to":ey()}],"mask-image-y-from-color":[{"mask-y-from":el()}],"mask-image-y-to-color":[{"mask-y-to":el()}],"mask-image-radial":[{"mask-radial":[X,B]}],"mask-image-radial-from-pos":[{"mask-radial-from":ey()}],"mask-image-radial-to-pos":[{"mask-radial-to":ey()}],"mask-image-radial-from-color":[{"mask-radial-from":el()}],"mask-image-radial-to-color":[{"mask-radial-to":el()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":w()}],"mask-image-conic-pos":[{"mask-conic":[C]}],"mask-image-conic-from-pos":[{"mask-conic-from":ey()}],"mask-image-conic-to-pos":[{"mask-conic-to":ey()}],"mask-image-conic-from-color":[{"mask-conic-from":el()}],"mask-image-conic-to-color":[{"mask-conic-to":el()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:eu()}],"mask-repeat":[{mask:ec()}],"mask-size":[{mask:ed()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",X,B]}],filter:[{filter:["","none",X,B]}],blur:[{blur:ev()}],brightness:[{brightness:[C,X,B]}],contrast:[{contrast:[C,X,B]}],"drop-shadow":[{"drop-shadow":["","none",p,ee,G]}],"drop-shadow-color":[{"drop-shadow":el()}],grayscale:[{grayscale:["",C,X,B]}],"hue-rotate":[{"hue-rotate":[C,X,B]}],invert:[{invert:["",C,X,B]}],saturate:[{saturate:[C,X,B]}],sepia:[{sepia:["",C,X,B]}],"backdrop-filter":[{"backdrop-filter":["","none",X,B]}],"backdrop-blur":[{"backdrop-blur":ev()}],"backdrop-brightness":[{"backdrop-brightness":[C,X,B]}],"backdrop-contrast":[{"backdrop-contrast":[C,X,B]}],"backdrop-grayscale":[{"backdrop-grayscale":["",C,X,B]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[C,X,B]}],"backdrop-invert":[{"backdrop-invert":["",C,X,B]}],"backdrop-opacity":[{"backdrop-opacity":[C,X,B]}],"backdrop-saturate":[{"backdrop-saturate":[C,X,B]}],"backdrop-sepia":[{"backdrop-sepia":["",C,X,B]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":T()}],"border-spacing-x":[{"border-spacing-x":T()}],"border-spacing-y":[{"border-spacing-y":T()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",X,B]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[C,"initial",X,B]}],ease:[{ease:["linear","initial",y,X,B]}],delay:[{delay:[C,X,B]}],animate:[{animate:["none",b,X,B]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,X,B]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:eb()}],"rotate-x":[{"rotate-x":eb()}],"rotate-y":[{"rotate-y":eb()}],"rotate-z":[{"rotate-z":eb()}],scale:[{scale:ex()}],"scale-x":[{"scale-x":ex()}],"scale-y":[{"scale-y":ex()}],"scale-z":[{"scale-z":ex()}],"scale-3d":["scale-3d"],skew:[{skew:ew()}],"skew-x":[{"skew-x":ew()}],"skew-y":[{"skew-y":ew()}],transform:[{transform:[X,B,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ek()}],"translate-x":[{"translate-x":ek()}],"translate-y":[{"translate-y":ek()}],"translate-z":[{"translate-z":ek()}],"translate-none":["translate-none"],zoom:[{zoom:[A,X,B]}],accent:[{accent:el()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:el()}
1],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",X,B]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":el()}],"scrollbar-track-color":[{"scrollbar-track":el()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mbs":[{"scroll-mbs":T()}],"scroll-mbe":[{"scroll-mbe":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pbs":[{"scroll-pbs":T()}],"scroll-pbe":[{"scroll-pbe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",X,B]}],fill:[{fill:["none",...el()]}],"stroke-w":[{stroke:[C,q,z,$]}],stroke:[{stroke:["none",...el()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});e.s(["cn",0,function(...e){return eh(t(e))}],47163)},58336,e=>{"use strict";var t=e.i(43476),i=e.i(46932),n=e.i(87652),r=e.i(71645),o=e.i(47163);e.s(["SectionWrapper",0,function({id:e,num:s,children:a,className:l=""}){let u=(0,r.useRef)(null),c=(0,n.useInView)(u,{once:!0,margin:"-60px"});return(0,t.jsxs)("section",{id:e,ref:u,className:(0,o.cn)("relative border-t border-terminal-border px-6 py-16 md:px-12 md:py-24",l),children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"pointer-events-none absolute right-6 top-3 select-none font-mono text-[48px] font-bold leading-none text-terminal-border md:right-8 md:top-2 md:text-[80px]",children:s}),(0,t.jsx)(i.motion.div,{initial:{opacity:0,y:32},animate:c?{opacity:1,y:0}:{},transition:{duration:.55,ease:[.22,1,.36,1]},children:a})]})}])},63662,e=>{"use strict";let t;var i,n=e.i(71645);let r=Object.freeze({left:0,top:0,width:16,height:16}),o=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),s=Object.freeze({...r,...o}),a=Object.freeze({...s,body:"",hidden:!1});function l(e,t){let i,n,r=(i={},!e.hFlip!=!t.hFlip&&(i.hFlip=!0),!e.vFlip!=!t.vFlip&&(i.vFlip=!0),(n=((e.rotate||0)+(t.rotate||0))%4)&&(i.rotate=n),i);for(let i in a)i in o?i in e&&!(i in r)&&(r[i]=o[i]):i in t?r[i]=t[i]:i in e&&(r[i]=e[i]);return r}function u(e,t){let i,n,r,o=[];if("object"!=typeof e||"object"!=typeof e.icons)return o;
1e.not_found instanceof Array&&e.not_found.forEach(e=>{t(e,null),o.push(e)});let s=(i=e.icons,n=e.aliases||Object.create(null),r=Object.create(null),Object.keys(i).concat(Object.keys(n)).forEach(function e(t){if(i[t])return r[t]=[];if(!(t in r)){r[t]=null;let i=n[t]&&n[t].parent,o=i&&e(i);o&&(r[t]=[i].concat(o))}return r[t]}),r);for(let i in s){let n=s[i];n&&(t(i,function(e,t,i){let n=e.icons,r=e.aliases||Object.create(null),o={};function s(e){o=l(n[e]||r[e],o)}return s(t),i.forEach(s),l(e,o)}(e,i,n)),o.push(i))}return o}let c={provider:"",aliases:{},not_found:{},...r};function d(e,t){for(let i in t)if(i in e&&typeof e[i]!=typeof t[i])return!1;return!0}function h(e){if("object"!=typeof e||null===e||"string"!=typeof e.prefix||!e.icons||"object"!=typeof e.icons||!d(e,c))return null;let t=e.icons;for(let e in t){let i=t[e];if(!e||"string"!=typeof i.body||!d(i,a))return null}let i=e.aliases||Object.create(null);for(let e in i){let n=i[e],r=n.parent;if(!e||"string"!=typeof r||!t[r]&&!i[r]||!d(n,a))return null}return e}let p=Object.create(null);function f(e,t){let i=p[e]||(p[e]=Object.create(null));return i[t]||(i[t]={provider:e,prefix:t,icons:Object.create(null),missing:new Set})}function m(e,t){return h(t)?u(t,(t,i)=>{i?e.icons[t]=i:e.missing.add(t)}):[]}let g=/^[a-z0-9]+(-[a-z0-9]+)*$/,y=(e,t,i,n="")=>{let r=e.split(":");if("@"===e.slice(0,1)){if(r.length<2||r.length>3)return null;n=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){let e=r.pop(),i=r.pop(),o={provider:r.length>0?r[0]:n,prefix:i,name:e};return t&&!v(o)?null:o}let o=r[0],s=o.split("-");if(s.length>1){let e={provider:n,prefix:s.shift(),name:s.join("-")};return t&&!v(e)?null:e}if(i&&""===n){let e={provider:n,prefix:"",name:o};return t&&!v(e,i)?null:e}return null},v=(e,t)=>!!e&&!!((t&&""===e.prefix||e.prefix)&&e.name),b=!1;function x(e){return"boolean"==typeof e&&(b=e),b}function w(e){let t="string"==typeof e?y(e,!0,b):e;if(t){let e=f(t.provider,t.prefix),i=t.name;return e.icons[i]||(e.missing.has(i)?null:void 0)}}function k(e,t){let i=y(e,!0,b);if(!i)return!1;let n=f(i.provider,i.prefix);if(!t)return n.missing.add(i.name),!0;var r=i.name;try{if("string"==typeof t.body)return n.icons[r]={...t},!0}catch(e){}return!1}function S(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),b&&!t&&!e.prefix){let t=!1;return h(e)&&(e.prefix="",u(e,(e,i)=>{k(e,i)&&(t=!0)})),t}let i=e.prefix;return!!v({prefix:i,name:"a"})&&!!m(f(t,i),e)}let E=Object.freeze({width:null,height:null}),T=Object.freeze({...E,...o}),P=/(-?[0-9.]*[0-9]+[0-9.]*)/g,j=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function C(e,t,i){if(1===t)return e;if(i=i||100,"number"==typeof e)return Math.ceil(e*t*i)/i;if("string"!=typeof e)return e;let n=e.split(P);if(null===n||!n.length)return e;let r=[],o=n.shift(),s=j.test(o);for(;;){if(s){let e=parseFloat(o);isNaN(e)?r.push(o):r.push(Math.ceil(e*t*i)/i)}else r.push(o);if(void 0===(o=n.shift()))return r.join("");s=!s}}function A(e,t){let i,n,r={...s,...e},o={...T,...t},a={left:r.left,top:r.top,width:r.width,height:r.height},l=r.body;[r,o].forEach(e=>{var t,i,n,r;let o,s,u=[],c=e.hFlip,d=e.vFlip,h=e.rotate;switch(c?d?h+=2:(u.push("translate("+(a.width+a.left).toString()+" "+(0-a.top).toString()+")"),u.push("scale(-1 1)"),a.top=a.left=0):d&&(u.push("translate("+(0-a.left).toString()+" "+(a.height+a.top).toString()+")"),u.push("scale(1 -1)"),a.top=a.left=0),h<0&&(h-=4*Math.floor(h/4)),h%=4){case 1:u.unshift("rotate(90 "+(o=a.height/2+a.top).toString()+" "+o.toString()+")");break;case 2:u.unshift("rotate(180 "+(a.width/2+a.left).toString()+" "+(a.height/2+a.top).toString()+")");break;case 3:u.unshift("rotate(-90 "+(o=a.width/2+a.left).toString()+" "+o.toString()+")")}h%2==1&&(a.left!==a.top&&(o=a.left,a.left=a.top,a.top=o),a.width!==a.height&&(o=a.width,a.width=a.height,a.height=o)),u.length&&(t=l,i='<g transform="'+u.join(" ")+'">',n=(s=function(e,t="defs"){let i="",n=e.indexOf("<"+t);for(;n>=0;){let r=e.indexOf(">",n),o=e.indexOf("</"+t);if(-1===r||-1===o)break;let s=e.indexOf(">",o);if(-1===s)break;i+=e.slice(r+1,o).trim(),e=e.slice(0,n).trim()+e.slice(s+1)}return{defs:i,content:e}}(t)).defs,r=i+s.content+"</g>",l=n?"<defs>"+n+"</defs>"+r:r)});let u=o.width,c=o.height,d=a.width,h=a.height;null===u?i=C(n=null===c?"1em":"auto"===c?h:c,d/h):(i="auto"===u?d:u,n=null===c?C(i,h/d):"auto"===c?h:c);let p={},f=(e,t)=>{"unset"!==t&&"undefined"!==t&&"none"!==t&&(p[e]=t.toString())};f("width",i),f("height",n);let m=[a.left,a.top,d,h];return p.viewBox=m.join(" "),{attributes:p,viewBox:m,body:l}}let R=/\sid="(\S+)"/g,M="IconifyId"+Date.now().toString(16)+(0x1000000*Math.random()|0).toString(16),O=0;function N(e,t=M){let i,n=[];for(;i=R.exec(e);)n.push(i[1]);if(!n.length)return e;let r="suffix"+(0x1000000*Math.random()|Date.now()).toString(16);
1return n.forEach(i=>{let n="function"==typeof t?t(i):t+(O++).toString(),o=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(RegExp('([#;"])('+o+')([")]|\\.[a-z])',"g"),"$1"+n+r+"$3")}),e=e.replace(RegExp(r,"g"),"")}let D=Object.create(null);function L(e){return D[e]||D[""]}function V(e){let t;if("string"==typeof e.resources)t=[e.resources];else if(!((t=e.resources)instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:!0===e.random,index:e.index||0,dataAfterTimeout:!1!==e.dataAfterTimeout}}let I=Object.create(null),F=["https://api.simplesvg.com","https://api.unisvg.com"],_=[];for(;F.length>0;)1===F.length||Math.random()>.5?_.push(F.shift()):_.push(F.pop());function B(e,t){let i=V(t);return null!==i&&(I[e]=i,!0)}I[""]=V({resources:["https://api.iconify.design"].concat(_)});let z=(()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch(e){}})();function $(e,t){e.forEach(e=>{let i=e.loaderCallbacks;i&&(e.loaderCallbacks=i.filter(e=>e.id!==t))})}let W=0,U={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function H(e){let t={...U,...e},i=[];function n(){i=i.filter(e=>"pending"===e().status)}return{query:function(e,r,o){let s=function(e,t,i,n){let r,o,s=e.resources.length,a=e.random?Math.floor(Math.random()*s):e.index;if(e.random){let t=e.resources.slice(0);for(r=[];t.length>1;){let e=Math.floor(Math.random()*t.length);r.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}r=r.concat(t)}else r=e.resources.slice(a).concat(e.resources.slice(0,a));let l=Date.now(),u="pending",c=0,d=null,h=[],p=[];function f(){d&&(clearTimeout(d),d=null)}function m(){"pending"===u&&(u="aborted"),f(),h.forEach(e=>{"pending"===e.status&&(e.status="aborted")}),h=[]}function g(e,t){t&&(p=[]),"function"==typeof e&&p.push(e)}function y(){u="failed",p.forEach(e=>{e(void 0,o)})}function v(){h.forEach(e=>{"pending"===e.status&&(e.status="aborted")}),h=[]}return"function"==typeof n&&p.push(n),setTimeout(function n(){if("pending"!==u)return;f();let s=r.shift();if(void 0===s){if(h.length){d=setTimeout(()=>{f(),"pending"===u&&(v(),y())},e.timeout);return}y();return}let a={status:"pending",resource:s,callback:(t,i)=>{!function(t,i,s){let a="success"!==i;switch(h=h.filter(e=>e!==t),u){case"pending":break;case"failed":if(a||!e.dataAfterTimeout)return;break;default:return}if("abort"===i){o=s,y();return}if(a){o=s,h.length||(r.length?n():y());return}if(f(),v(),!e.random){let i=e.resources.indexOf(t.resource);-1!==i&&i!==e.index&&(e.index=i)}u="completed",p.forEach(e=>{e(s)})}(a,t,i)}};h.push(a),c++,d=setTimeout(n,e.rotate),i(s,t,a.callback)}),function(){return{startTime:l,payload:t,status:u,queriesSent:c,queriesPending:h.length,subscribe:g,abort:m}}}(t,e,r,(e,t)=>{n(),o&&o(e,t)});return i.push(s),s},find:function(e){return i.find(t=>e(t))||null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:n}}function Y(){}let G=Object.create(null);function X(e,t,i){let n,r;if("string"==typeof e){let t=L(e);if(!t)return i(void 0,424),Y;r=t.send;let o=function(e){if(!G[e]){let t=I[e];if(!t)return;let i=H(t);G[e]={config:t,redundancy:i}}return G[e]}(e);o&&(n=o.redundancy)}else{let t=V(e);if(t){n=H(t);let i=L(e.resources?e.resources[0]:"");i&&(r=i.send)}}return n&&r?n.query(t,r,i)().abort:(i(void 0,424),Y)}function q(){}function K(e,t,i){function n(){let i=e.pendingIcons;t.forEach(t=>{i&&i.delete(t),e.icons[t]||e.missing.add(t)})}if(i&&"object"==typeof i)try{if(!m(e,i).length)return void n()}catch(e){console.error(e)}n(),e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;let t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let i=!1,n=e.provider,r=e.prefix;t.forEach(t=>{let o=t.icons,s=o.pending.length;o.pending=o.pending.filter(t=>{if(t.prefix!==r)return!0;let s=t.name;if(e.icons[s])o.loaded.push({provider:n,prefix:r,name:s});else{if(!e.missing.has(s))return i=!0,!0;o.missing.push({provider:n,prefix:r,name:s})}return!1}),o.pending.length!==s&&(i||$([e],t.id),t.callback(o.loaded.slice(0),o.missing.slice(0),o.pending.slice(0),t.abort))})}))}))}function Z(e,t){e instanceof Promise?e.then(e=>{t(e)}).catch(()=>{t(null)}):t(e)}let Q=(e,t)=>{var i;let n,r,o,s,a,l=(i=function(e,t=!0,i=!1){let n=[];
1return e.forEach(e=>{let r="string"==typeof e?y(e,t,i):e;r&&n.push(r)}),n}(e,!0,x()),o={loaded:[],missing:[],pending:[]},s=Object.create(null),i.sort((e,t)=>e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name)),a={provider:"",prefix:"",name:""},i.forEach(e=>{if(a.name===e.name&&a.prefix===e.prefix&&a.provider===e.provider)return;a=e;let t=e.provider,i=e.prefix,n=e.name,r=s[t]||(s[t]=Object.create(null)),l=r[i]||(r[i]=f(t,i));(n in l.icons?o.loaded:""===i||l.missing.has(n)?o.missing:o.pending).push({provider:t,prefix:i,name:n})}),o);if(!l.pending.length){let e=!0;return t&&setTimeout(()=>{e&&t(l.loaded,l.missing,l.pending,q)}),()=>{e=!1}}let u=Object.create(null),c=[];return l.pending.forEach(e=>{let{provider:t,prefix:i}=e;if(i===r&&t===n)return;n=t,r=i,c.push(f(t,i));let o=u[t]||(u[t]=Object.create(null));o[i]||(o[i]=[])}),l.pending.forEach(e=>{let{provider:t,prefix:i,name:n}=e,r=f(t,i),o=r.pendingIcons||(r.pendingIcons=new Set);o.has(n)||(o.add(n),u[t][i].push(n))}),c.forEach(e=>{let t=u[e.provider][e.prefix];t.length&&(e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{let t,i;e.iconsQueueFlag=!1;let{provider:n,prefix:r}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;let s=e.loadIcon;if(e.loadIcons&&(o.length>
11||!s))return void Z(e.loadIcons(o,r,n),t=>{K(e,o,t)});if(s)return void o.forEach(t=>{Z(s(t,r,n),i=>{let n=i?{prefix:r,icons:{[t]:i}}:null;K(e,[t],n)})});let{valid:a,invalid:l}=(t=[],i=[],o.forEach(e=>{(e.match(g)?t:i).push(e)}),{valid:t,invalid:i});if(l.length&&K(e,l,null),!a.length)return;let u=r.match(g)?L(n):null;u?u.prepare(n,r,a).forEach(t=>{X(n,t,i=>{K(e,t.icons,i)})}):K(e,a,null)})))}),t?function(e,t,i){let n=W++,r=$.bind(null,i,n);if(!t.pending.length)return r;let o={id:n,icons:t,callback:e,abort:r};return i.forEach(e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(o)}),r}(t,l,c):q},J=/[\s,]+/,ee={...T,inline:!1},et={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},ei={display:"inline-block"},en={backgroundColor:"currentColor"},er={backgroundColor:"transparent"},eo={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},es={WebkitMask:en,mask:en,background:er};for(let e in es){let t=es[e];for(let i in eo)t[e+i]=eo[i]}let ea={...ee,inline:!0};function el(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}if(x(!0),i={prepare:(e,t,i)=>{let n=[],r=function(e,t){let i,n=I[e];if(!n)return 0;if(n.maxURL){let e=0;n.resources.forEach(t=>{e=Math.max(e,t.length)}),i=n.maxURL-e-n.path.length-(t+".json?icons=").length}else i=0;return i}(e,t),o="icons",s={type:o,provider:e,prefix:t,icons:[]},a=0;return i.forEach((i,l)=>{(a+=i.length+1)>=r&&l>0&&(n.push(s),s={type:o,provider:e,prefix:t,icons:[]},a=i.length),s.icons.push(i)}),n.push(s),n},send:(e,t,i)=>{if(!z)return void i("abort",424);let n=function(e){if("string"==typeof e){let t=I[e];if(t)return t.path}return"/"}(t.provider);switch(t.type){case"icons":n+=t.prefix+".json?"+new URLSearchParams({icons:t.icons.join(",")}).toString();break;case"custom":{let e=t.uri;n+="/"===e.slice(0,1)?e.slice(1):e;break}default:i("abort",400);return}let r=503;z(e+n).then(e=>{let t=e.status;return 200!==t?void setTimeout(()=>{i(404===t?"abort":"next",t)}):(r=501,e.json())}).then(e=>{"object"!=typeof e||null===e?setTimeout(()=>{404===e?i("abort",e):i("next",r)}):setTimeout(()=>{i("success",e)})}).catch(()=>{i("next",r)})}},D[""]=i,"u">typeof document&&"u">typeof window){let e=window;if(void 0!==e.IconifyPreload){let t=e.IconifyPreload,i="Invalid IconifyPreload syntax.";"object"==typeof t&&null!==t&&(t instanceof Array?t:[t]).forEach(e=>{try{("object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||!S(e))&&console.error(i)}catch(e){console.error(i)}})}if(void 0!==e.IconifyProviders){let t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(let e in t){let i="IconifyProviders["+e+"] is invalid.";try{let n=t[e];if("object"!=typeof n||!n||void 0===n.resources)continue;B(e,n)||console.error(i)}catch(e){console.error(i)}}}}function eu(e){let[i,r]=(0,n.useState)(!!e.ssr),[o,a]=(0,n.useState)({}),[l,u]=(0,n.useState)(function(t){if(t){let t=e.icon;if("object"==typeof t)return{name:"",data:t};let i=w(t);if(i)return{name:t,data:i}}return{name:""}}(!!e.ssr));function c(){let e=o.callback;e&&(e(),a({}))}function d(e){if(JSON.stringify(l)!==JSON.stringify(e))return c(),u(e),!0}(0,n.useEffect)(()=>(r(!0),c),[]),(0,n.useEffect)(()=>{i&&function t(){var i;let n=e.icon;if("object"==typeof n)return void d({name:"",data:n});let r=w(n);d({name:n,data:r})&&(void 0===r?a({callback:Q([n],t)}):r&&(null==(i=e.onLoad)||i.call(e,n)))}()},[e.icon,i]);let{name:h,data:p}=l;return p?((e,i,r)=>{let o=i.inline?ea:ee,s=function(e,t){let i={...e};for(let e in t){let n=t[e],r=typeof n;e in E?(null===n||n&&("string"===r||"number"===r))&&(i[e]=n):r===typeof i[e]&&(i[e]="rotate"===e?n%4:n)}return i}(o,i),a=i.mode||"svg",l={},u=i.style||{},c={..."svg"===a?et:{}};if(r){let e=y(r,!1,!0);if(e){let t=["iconify"];for(let i of["provider","prefix"])e[i]&&t.push("iconify--"+e[i]);c.className=t.join(" ")}}for(let e in i){let t=i[e];if(void 0!==t)switch(e){case"icon":case"style":case"children":case"onLoad":case"mode":case"ssr":case"fallback":break;case"_ref":c.ref=t;break;case"className":c[e]=(c[e]?c[e]+" ":"")+t;break;case"inline":case"hFlip":case"vFlip":s[e]=!0===t||"true"===t||1===t;break;case"flip":"string"==typeof t&&function(e,t){t.split(J).forEach(t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0}})}(s,t);break;case"color":l.color=t;break;case"rotate":"string"==typeof t?s[e]=function(e,t=0){let i=e.replace(/^-?[0-9.]*/,"");function n(e){for(;e<0;)e+=4;return e%4}if(""===i){let t=parseInt(e);return isNaN(t)?0:n(t)}if(i!==e){let t=0;switch(i){case"%":t=25;break;case"deg":t=90}if(t){let r=parseFloat(e.slice(0,e.length-i.length));return isNaN(r)?0:(r/=t)%1==0?n(r):0}}return t}(t):"number"==typeof t&&(s[e]=t);break;case"ariaHidden":case"aria-hidden":!0!==t&&"true"!==t&&delete c["aria-hidden"];break;default:void 0===o[e]&&(c[e]=t)}}let d=A(e,s),h=d.attributes;if(s.inline&&(l.verticalAlign="-0.125em"),"svg"===a){var p;c.style={...l,...u},Object.assign(c,h);let e=0,r=i.id;return"string"==typeof r&&(r=r.replace(/-/g,"_")),c.dangerouslySetInnerHTML={__html:(p=N(d.body,r?()=>r+"ID"+e++:"iconifyReact"),void 0===t&&function(){try{t=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch(e){t=null}}(),t?t.createHTML(p):p)},(0,n.createElement)("svg",c)}let{body:f,width:m,height:g}=e,v="mask"===a||"bg"!==a&&-1!==f.indexOf("currentColor"),b=function(e,t){let i=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(let e in t)i+=" "+e+'="'+t[e]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+i+">"+e+"</svg>"}(f,{...h,width:m+"",height:g+""});return c.style={...l,"--svg":'url("data:image/svg+xml,'+b.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")+'")',width:el(h.width),height:el(h.height),...ei,...v?en:er,...u},(0,n.createElement)("span",c)})({...s,...p},e,h):e.children?e.children:e.fallback?e.fallback:(0,n.createElement)("span",{})}let ec=(0,n.forwardRef)((e,t)=>eu({...e,_ref:t})),ed=(0,n.forwardRef)((e,t)=>eu({inline:!0,...e,_ref:t}));e.s(["Icon",0,ec,"InlineIcon",0,ed,"_api",0,{getAPIConfig:function(e){return I[e]},setAPIModule:function(e,t){D[e]=t},sendAPIQuery:X,setFetch:function(e){z=e},getFetch:function(){return z},listAPIProviders:function(){return Object.keys(I)}},"addAPIProvider",0,B,"addCollection",0,S,"addIcon",0,k,"buildIcon",0,A,"calculateSize",0,C,"getIcon",0,function(e){let t=w(e);return t?{...s,...t}:t},"iconLoaded",0,function(e){return!!w(e)},"listIcons",0,function(e,t){let i=[];
1return("string"==typeof e?[e]:Object.keys(p)).forEach(e=>{("string"==typeof e&&"string"==typeof t?[t]:Object.keys(p[e]||{})).forEach(t=>{let n=f(e,t);i=i.concat(Object.keys(n.icons).map(i=>(""!==e?"@"+e+":":"")+t+":"+i))})}),i},"loadIcon",0,e=>new Promise((t,i)=>{let n="string"==typeof e?y(e,!0):e;n?Q([n||e],r=>{if(r.length&&n){let e=w(n);if(e)return void t({...s,...e})}i(e)}):i(e)}),"loadIcons",0,Q,"replaceIDs",0,N,"setCustomIconLoader",0,function(e,t,i){f(i||"",t).loadIcon=e},"setCustomIconsLoader",0,function(e,t,i){f(i||"",t).loadIcons=e}])},56420,e=>{"use strict";var t=e.i(71645);let i=(...e)=>e.filter((e,t,i)=>!!e&&""!==e.trim()&&i.indexOf(e)===t).join(" ").trim(),n=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,i)=>i?i.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var r={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 o=(0,t.createContext)({}),s=(0,t.forwardRef)(({color:e,size:n,strokeWidth:s,absoluteStrokeWidth:a,className:l="",children:u,iconNode:c,...d},h)=>{let{size:p=24,strokeWidth:f=2,absoluteStrokeWidth:m=!1,color:g="currentColor",className:y=""}=(0,t.useContext)(o)??{},v=a??m?24*Number(s??f)/Number(n??p):s??f;return(0,t.createElement)("svg",{ref:h,...r,width:n??p??r.width,height:n??p??r.height,stroke:e??g,strokeWidth:v,className:i("lucide",y,l),...!u&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(d)&&{"aria-hidden":"true"},...d},[...c.map(([e,i])=>(0,t.createElement)(e,i)),...Array.isArray(u)?u:[u]])});e.s(["default",0,(e,r)=>{let o=(0,t.forwardRef)(({className:o,...a},l)=>(0,t.createElement)(s,{ref:l,iconNode:r,className:i(`lucide-${n(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,o),...a}));return o.displayName=n(e),o}],56420)},20783,e=>{"use strict";var t=e.i(71645);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return t=>{let n=!1,r=e.map(e=>{let r=i(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():i(e[t],null)}}}}e.s(["composeRefs",0,n,"useComposedRefs",0,function(...e){return t.useCallback(n(...e),e)}])},91918,e=>{"use strict";var t=e.i(71645),i=e.i(20783),n=e.i(43476),r=Symbol.for("react.lazy"),o=t[" use ".trim().toString()];function s(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===r&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}function a(e){var r;let a,l=(r=e,(a=t.forwardRef((e,n)=>{let{children:r,...a}=e;if(s(r)&&"function"==typeof o&&(r=o(r._payload)),t.isValidElement(r)){var l;let e,o,s=(l=r,(o=(e=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.ref:(o=(e=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.props.ref:l.props.ref||l.ref),u=function(e,t){let i={...t};for(let n in t){let r=e[n],o=t[n];/^on[A-Z]/.test(n)?r&&o?i[n]=(...e)=>{let t=o(...e);return r(...e),t}:r&&(i[n]=r):"style"===n?i[n]={...r,...o}:"className"===n&&(i[n]=[r,o].filter(Boolean).join(" "))}return{...e,...i}}(a,r.props);return r.type!==t.Fragment&&(u.ref=n?(0,i.composeRefs)(n,s):s),t.cloneElement(r,u)}return t.Children.count(r)>1?t.Children.only(null):null})).displayName=`${r}.SlotClone`,a),u=t.forwardRef((e,i)=>{let{children:r,...a}=e;s(r)&&"function"==typeof o&&(r=o(r._payload));let u=t.Children.toArray(r),d=u.find(c);if(d){let e=d.props.children,r=u.map(i=>i!==d?i:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,n.jsx)(l,{...a,ref:i,children:t.isValidElement(e)?t.cloneElement(e,void 0,r):null})}return(0,n.jsx)(l,{...a,ref:i,children:r})});return u.displayName=`${e}.Slot`,u}var l=a("Slot"),u=Symbol("radix.slottable");function c(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===u}e.s(["Slot",0,l,"createSlot",0,a])},67881,32673,e=>{"use strict";let t,i;var n=e.i(43476),r=e.i(71645),o=e.i(91918),s=e.i(7670);let a=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,l=s.clsx;var u=e.i(47163);let c=(t="inline-flex items-center justify-center gap-2 whitespace-nowrap border font-mono text-xs uppercase tracking-widest transition-colors duration-200 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-terminal-signal disabled:pointer-events-none disabled:opacity-50",i={variants:{variant:{outline:"border-terminal-signal text-terminal-signal hover:bg-terminal-signal hover:text-terminal-bg",ghost:"border-terminal-border text-terminal-dim hover:border-terminal-signal hover:text-terminal-signal"},size:{default:"h-10 px-5 py-2",icon:"h-9 w-9"}},defaultVariants:{variant:"outline",size:"default"}},e=>{var n;if((null==i?void 0:i.variants)==null)return l(t,null==e?void 0:e.class,null==e?void 0:e.className);let{variants:r,defaultVariants:o}=i,s=Object.keys(r).map(t=>{let i=null==e?void 0:e[t],n=null==o?void 0:o[t];if(null===i)return null;let s=a(i)||a(n);return r[t][s]}),u=e&&Object.entries(e).reduce((e,t)=>
1{let[i,n]=t;return void 0===n||(e[i]=n),e},{});return l(t,s,null==i||null==(n=i.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:i,className:n,...r}=t;return Object.entries(r).every(e=>{let[t,i]=e;return Array.isArray(i)?i.includes({...o,...u}[t]):({...o,...u})[t]===i})?[...e,i,n]:e},[]),null==e?void 0:e.class,null==e?void 0:e.className)}),d=r.forwardRef(({className:e,variant:t,size:i,asChild:r=!1,...s},a)=>{let l=r?o.Slot:"button";return(0,n.jsx)(l,{className:(0,u.cn)(c({variant:t,size:i,className:e})),ref:a,...s})});d.displayName="Button",e.s(["Button",0,d],67881),e.s(["socialLinks",0,{email:"mailto:[email protected]",linkedin:"https://www.linkedin.com/in/1hanzla100/",github:"https://github.com/1hanzla100",instagram:"https://www.instagram.com/hanzla_tauqeer"}],32673)},88845,e=>{"use strict";var t=e.i(43476),i=e.i(71645),n=e.i(63662),r=e.i(56420);let o=(0,r.default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]),s=(0,r.default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);var a=e.i(67881),l=e.i(32673);let u=[{href:l.socialLinks.github,label:"GitHub",icon:"mdi:github"},{href:l.socialLinks.linkedin,label:"LinkedIn",icon:"mdi:linkedin"},{href:l.socialLinks.instagram,label:"Instagram",icon:"mdi:instagram"}];e.s(["NavBar",0,function(){let[e,r]=(0,i.useState)(!1),[c,d]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=window.scrollY,t=()=>{let t=window.scrollY;d(t>80&&t>e),e=t};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[]),(0,t.jsxs)("header",{className:`fixed left-0 right-0 top-0 z-50 border-b border-terminal-border bg-terminal-bg/90 backdrop-blur-sm transition-transform duration-300 ${c?"-translate-y-full":"translate-y-0"}`,children:[(0,t.jsxs)("nav",{className:"mx-auto flex h-16 max-w-[1400px] items-center justify-between px-6 md:px-12",children:[(0,t.jsxs)("a",{href:"#hero",className:"font-mono text-lg font-bold tracking-wider text-terminal-text",children:[(0,t.jsx)("span",{className:"text-terminal-signal",children:">"})," HANZLA_TAUQEER"]}),(0,t.jsxs)("div",{className:"hidden items-center gap-3 md:flex",children:[u.map(({href:e,label:i,icon:r})=>(0,t.jsx)("a",{href:e,target:"_blank",rel:"noreferrer","aria-label":i,className:"flex h-9 w-9 items-center justify-center border border-terminal-border text-terminal-dim transition-colors duration-200 hover:border-terminal-signal hover:text-terminal-signal",children:(0,t.jsx)(n.Icon,{icon:r,width:18,height:18,"aria-hidden":!0})},i)),(0,t.jsx)(a.Button,{asChild:!0,variant:"outline",children:(0,t.jsx)("a",{href:l.socialLinks.email,children:"[ CONTACT ]"})})]}),(0,t.jsx)("button",{type:"button","aria-label":"Toggle menu","aria-expanded":e,onClick:()=>r(e=>!e),className:"flex h-9 w-9 items-center justify-center border border-terminal-border text-terminal-dim transition-colors hover:border-terminal-signal hover:text-terminal-signal md:hidden",children:e?(0,t.jsx)(s,{size:18}):(0,t.jsx)(o,{size:18})})]}),e?(0,t.jsx)("div",{className:"border-b border-terminal-border bg-terminal-surface md:hidden",children:[...u,{href:l.socialLinks.email,label:"CONTACT",icon:"mdi:email-outline"}].map(({href:e,label:i,icon:o})=>(0,t.jsxs)("a",{href:e,target:e.startsWith("mailto:")?void 0:"_blank",rel:e.startsWith("mailto:")?void 0:"noreferrer",className:"flex items-center justify-between border-b border-terminal-border px-6 py-4 font-mono text-xs text-terminal-dim",onClick:()=>r(!1),children:[(0,t.jsx)("span",{children:i}),(0,t.jsx)(n.Icon,{icon:o,width:16,height:16,"aria-hidden":!0})]},i))}):null]})}],88845)},98879,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return a}});let n=e.r(71645),r="u"<typeof window,o=r?()=>{}:n.useLayoutEffect,s=r?()=>{}:n.useEffect;function a(e){let{headManager:t,reduceComponentsToState:i}=e;function a(){if(t&&t.mountedInstances){let e=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(i(e))}}return r&&(t?.mountedInstances?.add(e.children),a()),o(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),o(()=>(t&&(t._pendingUpdate=a),()=>{t&&(t._pendingUpdate=a)})),s(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},25633,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={default:function(){return m},defaultHead:function(){return d}};for(var r in n)Object.defineProperty(i,r,{enumerable:!0,get:n[r]});let o=e.r(55682),s=e.r(90809),a=e.r(43476),l=s._(e.r(71645)),u=o._(e.r(98879)),c=e.r(42732);function d(){return[(0,a.jsx)("meta",{charSet:"utf-8"},"charset"),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function h(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>
1"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}e.r(33525);let p=["name","httpEquiv","charSet","itemProp"];function f(e){let t,i,n,r;return e.reduce(h,[]).reverse().concat(d().reverse()).filter((t=new Set,i=new Set,n=new Set,r={},e=>{let o=!0,s=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){s=!0;let i=e.key.slice(e.key.indexOf("$")+1);t.has(i)?o=!1:t.add(i)}switch(e.type){case"title":case"base":i.has(e.type)?o=!1:i.add(e.type);break;case"meta":for(let t=0,i=p.length;t<i;t++){let i=p[t];if(e.props.hasOwnProperty(i))if("charSet"===i)n.has(i)?o=!1:n.add(i);else{let t=e.props[i],n=r[i]||new Set;("name"!==i||!s)&&n.has(t)?o=!1:(n.add(t),r[i]=n)}}}return o})).reverse().map((e,t)=>{let i=e.key||t;return l.default.cloneElement(e,{key:i})})}let m=function({children:e}){let t=(0,l.useContext)(c.HeadManagerContext);return(0,a.jsx)(u.default,{reduceComponentsToState:f,headManager:t,children:e})};("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),t.exports=i.default)},88143,(e,t,i)=>{"use strict";function n({widthInt:e,heightInt:t,blurWidth:i,blurHeight:r,blurDataURL:o,objectFit:s}){let a=i?40*i:e,l=r?40*r:t,u=a&&l?`viewBox='0 0 ${a} ${l}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${u}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${u?"none":"contain"===s?"xMidYMid":"cover"===s?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${o}'/%3E%3C/svg%3E`}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},87690,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={VALID_LOADERS:function(){return o},imageConfigDefault:function(){return s}};for(var r in n)Object.defineProperty(i,r,{enumerable:!0,get:n[r]});let o=["default","imgix","cloudinary","akamai","custom"],s={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},8927,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImgProps",{enumerable:!0,get:function(){return u}}),e.r(33525);let n=e.r(43369),r=e.r(88143),o=e.r(87690),s=["-moz-initial","fill","none","scale-down",void 0];function a(e){return void 0!==e.default}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u({src:e,sizes:t,unoptimized:i=!1,priority:c=!1,preload:d=!1,loading:h,className:p,quality:f,width:m,height:g,fill:y=!1,style:v,overrideSrc:b,onLoad:x,onLoadingComplete:w,placeholder:k="empty",blurDataURL:S,fetchPriority:E,decoding:T="async",layout:P,objectFit:j,objectPosition:C,lazyBoundary:A,lazyRoot:R,...M},O){var N;let D,L,V,{imgConf:I,showAltText:F,blurComplete:_,defaultLoader:B}=O,z=I||o.imageConfigDefault;if("allSizes"in z)D=z;else{let e=[...z.deviceSizes,...z.imageSizes].sort((e,t)=>e-t),t=z.deviceSizes.sort((e,t)=>e-t),i=z.qualities?.sort((e,t)=>e-t);D={...z,allSizes:e,deviceSizes:t,qualities:i}}if(void 0===B)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,
1configurable:!0});let $=M.loader||B;delete M.loader,delete M.srcSet;let W="__next_img_default"in $;if(W){if("custom"===D.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
2Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=$;$=t=>{let{config:i,...n}=t;return e(n)}}if(P){"fill"===P&&(y=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[P];e&&(v={...v,...e});let i={responsive:"100vw",fill:"100vw"}[P];i&&!t&&(t=i)}let U="",H=l(m),Y=l(g);if((N=e)&&"object"==typeof N&&(a(N)||void 0!==N.src)){let t=a(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(L=t.blurWidth,V=t.blurHeight,S=S||t.blurDataURL,U=t.src,!y)if(H||Y){if(H&&!Y){let e=H/t.width;Y=Math.round(t.height*e)}else if(!H&&Y){let e=Y/t.height;H=Math.round(t.width*e)}}else H=t.width,Y=t.height}let G=!c&&!d&&("lazy"===h||void 0===h);(!(e="string"==typeof e?e:U)||e.startsWith("data:")||e.startsWith("blob:"))&&(i=!0,G=!1),D.unoptimized&&(i=!0),W&&!D.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(i=!0);let X=l(f),q=Object.assign(y?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:j,objectPosition:C}:{},F?{}:{color:"transparent"},v),K=_||"empty"===k?null:"blur"===k?`url("data:image/svg+xml;charset=utf-8,${(0,r.getImageBlurSvg)({widthInt:H,heightInt:Y,blurWidth:L,blurHeight:V,blurDataURL:S||"",objectFit:q.objectFit})}")`:`url("${k}")`,Z=s.includes(q.objectFit)?"fill"===q.objectFit?"100% 100%":"cover":q.objectFit,Q=K?{backgroundSize:Z,backgroundPosition:q.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:K}:{},J=function({config:e,src:t,unoptimized:i,width:r,quality:o,sizes:s,loader:a}){if(i){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,n.getDeploymentId)();if(e){let i=t.indexOf("?");if(-1!==i){let n=new URLSearchParams(t.slice(i+1));n.get("dpl")||(n.append("dpl",e),t=t.slice(0,i)+"?"+n.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:l,kind:u}=function({deviceSizes:e,allSizes:t},i,n){if(n){let i=/(^|\s)(1?\d?\d)vw/g,r=[];for(let e;e=i.exec(n);)r.push(parseInt(e[2]));if(r.length){let i=.01*Math.min(...r);return{widths:t.filter(t=>t>=e[0]*i),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof i?{widths:e,kind:"w"}:{widths:[...new Set([i,2*i].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,r,s),c=l.length-1;return{sizes:s||"w"!==u?s:"100vw",srcSet:l.map((i,n)=>`${a({config:e,src:t,quality:o,width:i})} ${"w"===u?i:n+1}${u}`).join(", "),src:a({config:e,src:t,quality:o,width:l[c]})}}({config:D,src:e,unoptimized:i,width:H,quality:X,sizes:t,loader:$}),ee=G?"lazy":h;return{props:{...M,loading:ee,fetchPriority:E,width:H,height:Y,decoding:T,className:p,style:{...q,...Q},sizes:J.sizes,srcSet:J.srcSet,src:b||J.src},meta:{unoptimized:i,preload:d||c,placeholder:k,fill:y}}}},18556,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"ImageConfigContext",{enumerable:!0,get:function(){return o}});let n=e.r(55682)._(e.r(71645)),r=e.r(87690),o=n.default.createContext(r.imageConfigDefault)},65856,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"RouterContext",{enumerable:!0,get:function(){return n}});let n=e.r(55682)._(e.r(71645)).default.createContext(null)},70965,(e,t,i)=>{"use strict";function n(e,t){let i=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-i)<Math.abs(e-i)?t:e,t.qualities[0]):i}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"findClosestQuality",{enumerable:!0,get:function(){return n}})},1948,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return s}});
2let n=e.r(70965),r=e.r(43369);function o({config:e,src:t,width:i,quality:s}){let a=(0,r.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")){let e=t.indexOf("?");if(-1!==e){let i=new URLSearchParams(t.slice(e+1)),n=i.get("dpl");if(n){a=n,i.delete("dpl");let r=i.toString();t=t.slice(0,e)+(r?"?"+r:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
3Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let l=(0,n.findClosestQuality)(s,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${i}&q=${l}${t.startsWith("/")&&a?`&dpl=${a}`:""}`}o.__next_img_default=!0;let s=o},18581,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"useMergedRef",{enumerable:!0,get:function(){return r}});let n=e.r(71645);function r(e,t){let i=(0,n.useRef)(null),r=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=i.current;e&&(i.current=null,e());let t=r.current;t&&(r.current=null,t())}else e&&(i.current=o(e,n)),t&&(r.current=o(t,n))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let i=e(t);return"function"==typeof i?i:()=>e(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),t.exports=i.default)},85437,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"Image",{enumerable:!0,get:function(){return x}});let n=e.r(55682),r=e.r(90809),o=e.r(43476),s=r._(e.r(71645)),a=n._(e.r(74080)),l=n._(e.r(25633)),u=e.r(8927),c=e.r(87690),d=e.r(18556);e.r(33525);let h=e.r(65856),p=n._(e.r(1948)),f=e.r(18581),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function g(e,t,i,n,r,o,s){let a=e?.src;e&&e["data-loaded-src"]!==a&&(e["data-loaded-src"]=a,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&r(!0),i?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,r=!1;i.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>r,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{r=!0,t.stopPropagation()}})}n?.current&&n.current(e)}}))}function y(e){return s.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let v=(0,s.forwardRef)(({src:e,srcSet:t,sizes:i,height:n,width:r,decoding:a,className:l,style:u,fetchPriority:c,placeholder:d,loading:h,unoptimized:p,fill:m,onLoadRef:v,onLoadingCompleteRef:b,setBlurComplete:x,setShowAltText:w,sizesInput:k,onLoad:S,onError:E,...T},P)=>{let j=(0,s.useCallback)(e=>{e&&(E&&(e.src=e.src),e.complete&&g(e,d,v,b,x,p,k))},[e,d,v,b,x,E,p,k]),C=(0,f.useMergedRef)(P,j);return(0,o.jsx)("img",{...T,...y(c),loading:h,width:r,height:n,decoding:a,"data-nimg":m?"fill":"1",className:l,style:u,sizes:i,srcSet:t,src:e,ref:C,onLoad:e=>{g(e.currentTarget,d,v,b,x,p,k)},onError:e=>{w(!0),"empty"!==d&&x(!0),E&&E(e)}})});function b({isAppRouter:e,imgAttributes:t}){let i={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...y(t.fetchPriority)};return e&&a.default.preload?(a.default.preload(t.src,i),null):(0,o.jsx)(l.default,{children:(0,o.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...i},"__nimg-"+t.src+t.srcSet+t.sizes)})}let x=(0,s.forwardRef)((e,t)=>{let i=(0,s.useContext)(h.RouterContext),n=(0,s.useContext)(d.ImageConfigContext),r=(0,s.useMemo)(()=>{let e=m||n||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>
3e-t),i=e.deviceSizes.sort((e,t)=>e-t),r=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:i,qualities:r,localPatterns:"u"<typeof window?n?.localPatterns:e.localPatterns}},[n]),{onLoad:a,onLoadingComplete:l}=e,f=(0,s.useRef)(a);(0,s.useEffect)(()=>{f.current=a},[a]);let g=(0,s.useRef)(l);(0,s.useEffect)(()=>{g.current=l},[l]);let[y,x]=(0,s.useState)(!1),[w,k]=(0,s.useState)(!1),{props:S,meta:E}=(0,u.getImgProps)(e,{defaultLoader:p.default,imgConf:r,blurComplete:y,showAltText:w});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(v,{...S,unoptimized:E.unoptimized,placeholder:E.placeholder,fill:E.fill,onLoadRef:f,onLoadingCompleteRef:g,setBlurComplete:x,setShowAltText:k,sizesInput:e.sizes,ref:t}),E.preload?(0,o.jsx)(b,{isAppRouter:!i,imgAttributes:S}):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),t.exports=i.default)},73600,e=>{"use strict";var t=e.i(43476);e.s(["SectionLabel",0,function({num:e,label:i}){return(0,t.jsxs)("p",{className:"mb-4 flex items-center gap-3 font-mono text-xs tracking-[0.25em] text-terminal-signal",children:[(0,t.jsx)("span",{className:"text-terminal-dim",children:"//"}),(0,t.jsxs)("span",{children:["SECTION_",e]}),i?(0,t.jsx)("span",{className:"text-terminal-dim",children:i}):null]})}])},55415,e=>{"use strict";var t=e.i(43476),i=e.i(67881);let n=Array.from({length:60},(e,t)=>({id:t,left:`${37*t%100}%`,top:`${61*t%100}%`,delay:`${t%10*.35}s`,duration:`${7+t%8}s`}));function r(){return(0,t.jsx)("div",{"aria-hidden":!0,className:"absolute inset-0 overflow-hidden",children:n.map(e=>(0,t.jsx)("span",{className:"absolute h-px w-px bg-terminal-signal opacity-30",style:{left:e.left,top:e.top,animation:`particle-drift ${e.duration} linear ${e.delay} infinite`}},e.id))})}var o=e.i(63662),s=e.i(47163);function a({href:e,icon:i,label:n,showLabel:r=!1,className:l}){let u="string"==typeof i?null:i;return(0,t.jsxs)("a",{href:e,target:e.startsWith("mailto:")||"#"===e?void 0:"_blank",rel:e.startsWith("mailto:")||"#"===e?void 0:"noreferrer","aria-label":n,className:(0,s.cn)(r?"flex items-center gap-2 border border-terminal-border px-4 py-2 font-mono text-xs text-terminal-dim transition-colors duration-200 hover:border-terminal-signal hover:text-terminal-signal":"flex h-9 w-9 items-center justify-center border border-terminal-border text-terminal-dim transition-colors duration-200 hover:border-terminal-signal hover:text-terminal-signal",l),children:["string"==typeof i?(0,t.jsx)(o.Icon,{icon:i,width:18,height:18,"aria-hidden":!0}):u?(0,t.jsx)(u,{size:18,"aria-hidden":!0}):null,r?(0,t.jsx)("span",{children:n}):null]})}var l=e.i(46932);function u({text:e,className:i,delay:n=0,cursor:r=!1}){return(0,t.jsx)(l.motion.span,{className:(0,s.cn)(r&&"cursor",i),initial:"hidden",animate:"show",variants:{hidden:{},show:{transition:{staggerChildren:.1,delayChildren:n}}},children:e.split("").map((e,i)=>(0,t.jsx)(l.motion.span,{variants:{hidden:{opacity:0},show:{opacity:1}},children:e},`${e}-${i}`))})}let c=[{value:18,suffix:"+",label:"Happy Clients"},{value:9,suffix:"+",label:"Projects Done"},{value:100,suffix:"%",label:"Satisfaction"}];var d=e.i(32673),h=e.i(71645),p=e.i(87652),f=e.i(73600);function m({value:e,suffix:i,label:n}){let{ref:r,count:o}=function(e,t=1400){let i=(0,h.useRef)(null),n=(0,p.useInView)(i,{once:!0}),[r,o]=(0,h.useState)(0);return(0,h.useEffect)(()=>{if(!n)return;let i=performance.now(),r=n=>{let s=Math.min((n-i)/t,1);o(Math.round(e*(1-Math.pow(1-s,3)))),s<1&&requestAnimationFrame(r)},s=requestAnimationFrame(r);return()=>cancelAnimationFrame(s)},[t,n,e]),{ref:i,count:r}}(e);return(0,t.jsxs)("div",{ref:r,className:"border-r border-terminal-border px-4 py-6 last:border-r-0 md:px-8",children:[(0,t.jsxs)("div",{className:"font-mono text-4xl font-bold text-terminal-text",children:[o,(0,t.jsx)("span",{className:"text-terminal-signal",children:i})]}),(0,t.jsx)("p",{className:"mt-2 text-xs uppercase tracking-widest text-terminal-dim",children:n})]})}e.s(["HeroSection",0,function(){return(0,t.jsxs)("section",{id:"hero",className:"relative flex min-h-[100svh] flex-col justify-start overflow-hidden px-6 pb-0 pt-20 md:min-
3h-screen md:justify-end md:px-12 md:pt-24",children:[(0,t.jsx)(r,{}),(0,t.jsxs)("div",{className:"relative z-10 my-auto max-w-5xl pb-12 md:my-0 md:pb-16",children:[(0,t.jsx)(f.SectionLabel,{num:"01"}),(0,t.jsxs)("h1",{className:"font-mono text-[clamp(64px,12vw,160px)] font-bold leading-none text-terminal-text",children:[(0,t.jsx)("span",{className:"block",children:"HI ALL,"}),(0,t.jsxs)("span",{className:"block",children:["I'M ",(0,t.jsx)(u,{text:"HANZLA",cursor:!0})]})]}),(0,t.jsx)("p",{className:"mt-8 max-w-xl whitespace-pre-line border-l-2 border-terminal-signal pl-4 text-sm leading-relaxed text-terminal-soft",children:"I turn complex product and data challenges into clean, dependable systems that scale from first release to high-volume production."}),(0,t.jsxs)("div",{className:"mt-8 flex flex-wrap items-center gap-4",children:[(0,t.jsx)(i.Button,{asChild:!0,children:(0,t.jsx)("a",{href:"https://docs.google.com/document/d/1k36gG-YZbCqZYvyUYtU2IoB0tXavn4Bw2Kqw4upjUHE/view",children:"[ SEE MY RESUME ]"})}),(0,t.jsx)(a,{href:d.socialLinks.github,icon:"mdi:github",label:"GitHub"}),(0,t.jsx)(a,{href:d.socialLinks.linkedin,icon:"mdi:linkedin",label:"LinkedIn"}),(0,t.jsx)(a,{href:d.socialLinks.instagram,icon:"mdi:instagram",label:"Instagram"})]})]}),(0,t.jsx)("div",{className:"relative z-10 grid grid-cols-3 border-t border-terminal-border",children:c.map(e=>(0,t.jsx)(m,{...e},e.label))})]})}],55415)},53369,e=>{"use strict";var t=e.i(43476),i=e.i(47163);e.s(["SectionTitle",0,function({children:e,className:n}){return(0,t.jsx)("h2",{className:(0,i.cn)("mb-12 font-mono text-[clamp(40px,7vw,96px)] font-bold leading-[0.9] text-terminal-text",n),children:e})}])},63822,e=>{"use strict";var t=e.i(43476),i=e.i(71645),n=e.i(87652);e.i(74080);var r=e.i(91918),o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let o=(0,r.createSlot)(`Primitive.${n}`),s=i.forwardRef((e,i)=>{let{asChild:r,...s}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(r?o:n,{...s,ref:i})});return s.displayName=`Primitive.${n}`,{...e,[n]:s}},{}),s="Progress",[a,l]=function(e,n=[]){let r=[],o=()=>{let t=r.map(e=>i.createContext(e));return function(n){let r=n?.[e]||t;return i.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return o.scopeName=e,[function(n,o){let s=i.createContext(o);s.displayName=n+"Context";let a=r.length;r=[...r,o];let l=n=>{let{scope:r,children:o,...l}=n,u=r?.[e]?.[a]||s,c=i.useMemo(()=>l,Object.values(l));return(0,t.jsx)(u.Provider,{value:c,children:o})};return l.displayName=n+"Provider",[l,function(t,r){let l=r?.[e]?.[a]||s,u=i.useContext(l);if(u)return u;if(void 0!==o)return o;throw Error(`\`${t}\` must be used within \`${n}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:i,scopeName:n})=>{let r=i(e)[`__scope${n}`];return{...t,...r}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(o,...n)]}(s),[u,c]=a(s),d=i.forwardRef((e,i)=>{var n,r;let{__scopeProgress:s,value:a=null,max:l,getValueLabel:c=f,...d}=e;(l||0===l)&&!y(l)&&console.error((n=`${l}`,`Invalid prop \`max\` of value \`${n}\` supplied to \`Progress\`. Only numbers greater than 0 are valid max values. Defaulting to \`100\`.`));let h=y(l)?l:100;null===a||v(a,h)||console.error((r=`${a}`,`Invalid prop \`value\` of value \`${r}\` supplied to \`Progress\`. The \`value\` prop must be:
4  - a positive number
5  - less than the value passed to \`max\` (or 100 if no \`max\` prop is set)
6  - \`null\` or \`undefined\` if the progress is indeterminate.
7
8Defaulting to \`null\`.`));let p=v(a,h)?a:null,b=g(p)?c(p,h):void 0;return(0,t.jsx)(u,{scope:s,value:p,max:h,children:(0,t.jsx)(o.div,{"aria-valuemax":h,"aria-valuemin":0,"aria-valuenow":g(p)?p:void 0,"aria-valuetext":b,role:"progressbar","data-state":m(p,h),"data-value":p??void 0,"data-max":h,...d,ref:i})})});d.displayName=s;var h="ProgressIndicator",p=i.forwardRef((e,i)=>{let{__scopeProgress:n,...r}=e,s=c(h,n);return(0,t.jsx)(o.div,{"data-state":m(s.value,s.max),"data-value":s.value??void 0,"data-max":s.max,...r,ref:i})});function f(e,t){return`${Math.round(e/t*100)}%`}function m(e,t){return null==e?"indeterminate":e===t?"complete":"loading"}function g(e){return"number"==typeof e}function y(e){return g(e)&&!isNaN(e)&&e>0}function v(e,t){return g(e)&&!isNaN(e)&&e<=t&&e>=0}p.displayName=h;var b=e.i(47163);let x=i.forwardRef(({className:e,value:i,...n},r)=>(0,t.jsx)(d,{ref:r,className:(0,b.cn)("progress-brutalist",e),...n,children:(0,t.jsx)(p,{style:{width:`${i??0}%`}})}
8));function w({value:e,active:i}){return(0,t.jsx)(x,{value:i?e:0,"aria-label":`${e}%`})}x.displayName=d.displayName;var k=e.i(73600),S=e.i(53369);let E=[{label:"Backend Engineering",percentage:95},{label:"Data Engineering / ETL",percentage:90},{label:"Cloud & DevOps",percentage:88},{label:"Frontend Development",percentage:82},{label:"Testing & Reliability",percentage:90}];e.s(["ProficiencySection",0,function(){let e=(0,i.useRef)(null),r=(0,n.useInView)(e,{once:!0,margin:"-80px"});return(0,t.jsxs)("div",{ref:e,className:"space-y-12",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(k.SectionLabel,{num:"03"}),(0,t.jsx)(S.SectionTitle,{children:"PROFICIENCY."}),(0,t.jsx)("p",{className:"max-w-md text-sm leading-relaxed text-terminal-soft",children:"Balanced across product-facing interfaces, backend systems, and core programming discipline."})]}),(0,t.jsx)("div",{className:"grid gap-8 md:grid-cols-2",children:E.map(e=>(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"mb-2 flex justify-between gap-4",children:[(0,t.jsx)("span",{className:"font-mono text-sm uppercase text-terminal-text",children:e.label}),(0,t.jsxs)("span",{className:"font-mono text-sm text-terminal-signal",children:[e.percentage,"%"]})]}),(0,t.jsx)(w,{value:e.percentage,active:r})]},e.label))})]})}],63822)},24968,e=>{"use strict";var t=e.i(43476),i=e.i(46932),n=e.i(87652),r=e.i(71645),o=e.i(63662);let s=(0,e.i(56420).default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);var a=e.i(47163);function l({children:e,className:i}){return(0,t.jsx)("div",{className:(0,a.cn)("border border-terminal-border bg-terminal-surface p-6 transition-[box-shadow,border-color,transform] duration-200 hover:border-terminal-signal hover:shadow-[6px_6px_0_rgba(255,61,0,0.45)]",i),children:e})}function u({children:e,as:i="span",className:n}){return(0,t.jsx)(i,{className:(0,a.cn)("glitch",n),"data-text":e,children:e})}function c({name:e,desc:i,github:n,link:r,index:a}){let d=`[PROJ_${String(a+1).padStart(3,"0")}]`;return(0,t.jsxs)(l,{className:"flex h-full flex-col",children:[(0,t.jsx)("p",{className:"mb-3 font-mono text-xs text-terminal-signal",children:d}),(0,t.jsx)("h3",{className:"mb-1 font-mono text-xl font-bold text-terminal-text",children:(0,t.jsx)(u,{children:e})}),(0,t.jsx)("div",{className:"my-3 border-t border-terminal-border"}),(0,t.jsx)("p",{className:"flex-1 text-sm leading-relaxed text-terminal-soft",children:i}),(0,t.jsxs)("div",{className:"mt-4 flex flex-wrap gap-3",children:[n?(0,t.jsxs)("a",{href:n,target:"_blank",rel:"noreferrer",className:"flex items-center gap-2 border border-terminal-border px-3 py-1.5 font-mono text-xs text-terminal-dim transition-colors hover:border-terminal-signal hover:text-terminal-signal",children:[(0,t.jsx)(o.Icon,{icon:"mdi:github",width:14,height:14,"aria-hidden":!0}),"GITHUB"]}):null,r?(0,t.jsxs)("a",{href:r,target:"_blank",rel:"noreferrer",className:"flex items-center gap-2 border border-terminal-border px-3 py-1.5 font-mono text-xs text-terminal-dim transition-colors hover:border-terminal-signal hover:text-terminal-signal",children:[(0,t.jsx)(s,{size:14,"aria-hidden":!0}),"LIVE DEMO"]}):null]})]})}var d=e.i(73600),h=e.i(53369);let p=[{name:"ToughCAD",desc:"Developed an e-commerce module supporting large file uploads and automated PDF post-processing workflows. Integrated shipping APIs and fulfillment automation. Contributed to generating £250k+ in annual revenue through the platform.",link:"https://toughcad.co.uk/"},{name:"NAVA Ring",desc:"Developed backend systems integrating wearable smart ring data. Implemented metric processing logic and AI-powered recommendations using OpenAI APIs.",link:"https://navaring.com/"},{name:"Premium Property Management",desc:"A comprehensive property management platform for efficient management of properties, leasing, maintenance, and contracts. To simplify property operations."},{name:"Visual Portfolios",desc:"Empowering content creators to generate stunning infographics effortlessly, while boosting their LinkedIn audience. Write, visualize, and grow with our user-friendly platform."}
8,{name:"developer-portfolio",desc:"Software Developer Portfolio Template built with react.js and next.js bootstrap that helps you showcase your work and skills as a software developer. 800+ Stars & 480+ Forks",github:"https://github.com/1hanzla100/developer-portfolio",link:"https://developer-portfolio-1hanzla100.vercel.app/"}];e.s(["ProjectsSection",0,function(){let e=(0,r.useRef)(null),o=(0,n.useInView)(e,{once:!0,margin:"-80px"});return(0,t.jsxs)("div",{ref:e,children:[(0,t.jsx)(d.SectionLabel,{num:"06"}),(0,t.jsx)(h.SectionTitle,{children:"PROJECTS."}),(0,t.jsx)(i.motion.div,{className:"grid gap-4 md:grid-cols-2",variants:{hidden:{},show:{transition:{staggerChildren:.1}}},initial:"hidden",animate:o?"show":"hidden",children:p.map((e,n)=>(0,t.jsx)(i.motion.div,{className:"h-full",variants:{hidden:{opacity:0,y:24},show:{opacity:1,y:0,transition:{duration:.5,ease:[.22,1,.36,1]}}},children:(0,t.jsx)(c,{...e,index:n})},e.name))})]})}],24968)},26913,e=>{"use strict";let t,i;var n,r=e.i(43476),o=e.i(46932),s=e.i(87652),a=e.i(71645),l=e.i(73600),u=e.i(53369),c=e.i(63662);function d(e,t,{checkForDefaultPrevented:i=!0}={}){return function(n){if(e?.(n),!1===i||!n.defaultPrevented)return t?.(n)}}"u">typeof window&&window.document&&window.document.createElement;var h=e.i(20783),p=e.i(74080),f=Symbol("radix.slottable");function m(e){return a.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===f}var g=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{var i,n;let o,s,l,u=(n=i=`Primitive.${t}`,(o=a.forwardRef((e,t)=>{let{children:i,...n}=e;if(a.isValidElement(i)){var r;let e,o,s=(r=i,(o=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?r.ref:(o=(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?r.props.ref:r.props.ref||r.ref),l=function(e,t){let i={...t};for(let n in t){let r=e[n],o=t[n];/^on[A-Z]/.test(n)?r&&o?i[n]=(...e)=>{let t=o(...e);return r(...e),t}:r&&(i[n]=r):"style"===n?i[n]={...r,...o}:"className"===n&&(i[n]=[r,o].filter(Boolean).join(" "))}return{...e,...i}}(n,i.props);return i.type!==a.Fragment&&(l.ref=t?(0,h.composeRefs)(t,s):s),a.cloneElement(i,l)}return a.Children.count(i)>1?a.Children.only(null):null})).displayName=`${n}.SlotClone`,s=o,(l=a.forwardRef((e,t)=>{let{children:i,...n}=e,o=a.Children.toArray(i),l=o.find(m);if(l){let e=l.props.children,i=o.map(t=>t!==l?t:a.Children.count(e)>1?a.Children.only(null):a.isValidElement(e)?e.props.children:null);return(0,r.jsx)(s,{...n,ref:t,children:a.isValidElement(e)?a.cloneElement(e,void 0,i):null})}return(0,r.jsx)(s,{...n,ref:t,children:i})})).displayName=`${i}.Slot`,l),c=a.forwardRef((e,i)=>{let{asChild:n,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(n?u:t,{...o,ref:i})});return c.displayName=`Primitive.${t}`,{...e,[t]:c}},{});function y(e){let t=a.useRef(e);return a.useEffect(()=>{t.current=e}),a.useMemo(()=>(...e)=>t.current?.(...e),[])}var v="dismissableLayer.update",b=a.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),x=a.forwardRef((e,t)=>{let{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:l,onInteractOutside:u,onDismiss:c,...p}=e,f=a.useContext(b),[m,x]=a.useState(null),S=m?.ownerDocument??globalThis?.document,[,E]=a.useState({}),T=(0,h.useComposedRefs)(t,e=>x(e)),P=Array.from(f.layers),[j]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),C=P.indexOf(j),A=m?P.indexOf(m):-1,R=f.layersWithOutsidePointerEventsDisabled.size>0,M=A>=C,O=function(e,t=globalThis?.document){let i=y(e),n=a.useRef(!1),r=a.useRef(()=>{});return a.useEffect(()=>{let e=e=>{if(e.target&&!n.current){let n=function(){k("dismissableLayer.pointerDownOutside",i,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",r.current),r.current=n,t.addEventListener("click",r.current,{once:!0})):n()}else t.removeEventListener("click",r.current);n.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",r.current)}},[t,i]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,i=[...f.branches].some(e=>e.contains(t));M&&!i&&(s?.(e),u?.(e),e.defaultPrevented||c?.())},S),N=function(e,t=globalThis?.document){let i=y(e),n=a.useRef(!1);return a.useEffect(()=>{let e=e=>
8{e.target&&!n.current&&k("dismissableLayer.focusOutside",i,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,i]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target;![...f.branches].some(e=>e.contains(t))&&(l?.(e),u?.(e),e.defaultPrevented||c?.())},S);return!function(e,t=globalThis?.document){let i=y(e);a.useEffect(()=>{let e=e=>{"Escape"===e.key&&i(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[i,t])}(e=>{A===f.layers.size-1&&(o?.(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))},S),a.useEffect(()=>{if(m)return i&&(0===f.layersWithOutsidePointerEventsDisabled.size&&(n=S.body.style.pointerEvents,S.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(m)),f.layers.add(m),w(),()=>{i&&1===f.layersWithOutsidePointerEventsDisabled.size&&(S.body.style.pointerEvents=n)}},[m,S,i,f]),a.useEffect(()=>()=>{m&&(f.layers.delete(m),f.layersWithOutsidePointerEventsDisabled.delete(m),w())},[m,f]),a.useEffect(()=>{let e=()=>E({});return document.addEventListener(v,e),()=>document.removeEventListener(v,e)},[]),(0,r.jsx)(g.div,{...p,ref:T,style:{pointerEvents:R?M?"auto":"none":void 0,...e.style},onFocusCapture:d(e.onFocusCapture,N.onFocusCapture),onBlurCapture:d(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:d(e.onPointerDownCapture,O.onPointerDownCapture)})});function w(){let e=new CustomEvent(v);document.dispatchEvent(e)}function k(e,t,i,{discrete:n}){let r=i.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:i});if(t&&r.addEventListener(e,t,{once:!0}),n)r&&p.flushSync(()=>r.dispatchEvent(o));else r.dispatchEvent(o)}x.displayName="DismissableLayer",a.forwardRef((e,t)=>{let i=a.useContext(b),n=a.useRef(null),o=(0,h.useComposedRefs)(t,n);return a.useEffect(()=>{let e=n.current;if(e)return i.branches.add(e),()=>{i.branches.delete(e)}},[i.branches]),(0,r.jsx)(g.div,{...e,ref:o})}).displayName="DismissableLayerBranch";var S=globalThis?.document?a.useLayoutEffect:()=>{},E=a[" useId ".trim().toString()]||(()=>void 0),T=0;let P=["top","right","bottom","left"],j=Math.min,C=Math.max,A=Math.round,R=Math.floor,M=e=>({x:e,y:e}),O={left:"right",right:"left",bottom:"top",top:"bottom"};function N(e,t){return"function"==typeof e?e(t):e}function D(e){return e.split("-")[0]}function L(e){return e.split("-")[1]}function V(e){return"x"===e?"y":"x"}function I(e){return"y"===e?"height":"width"}function F(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function _(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let B=["left","right"],z=["right","left"],$=["top","bottom"],W=["bottom","top"];function U(e){let t=D(e);return O[t]+e.slice(t.length)}function H(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function Y(e){let{x:t,y:i,width:n,height:r}=e;return{width:n,height:r,top:i,left:t,right:t+n,bottom:i+r,x:t,y:i}}function G(e,t,i){let n,{reference:r,floating:o}=e,s=F(t),a=V(F(t)),l=I(a),u=D(t),c="y"===s,d=r.x+r.width/2-o.width/2,h=r.y+r.height/2-o.height/2,p=r[l]/2-o[l]/2;switch(u){case"top":n={x:d,y:r.y-o.height};break;case"bottom":n={x:d,y:r.y+r.height};break;case"right":n={x:r.x+r.width,y:h};break;case"left":n={x:r.x-o.width,y:h};break;default:n={x:r.x,y:r.y}}switch(L(t)){case"start":n[a]-=p*(i&&c?-1:1);break;case"end":n[a]+=p*(i&&c?-1:1)}return n}async function X(e,t){var i;void 0===t&&(t={});let{x:n,y:r,platform:o,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:h=!1,padding:p=0}=N(t,e),f=H(p),m=a[h?"floating"===d?"reference":"floating":d],g=Y(await o.getClippingRect({element:null==(i=await (null==o.isElement?void 0:o.isElement(m)))||i?m:m.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),y="floating"===d?{x:n,y:r,width:s.floating.width,height:s.floating.height}:s.reference,v=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),b=await (null==o.isElement?void 0:o.isElement(v))&&await (null==o.getScale?void 0:o.getScale(v))||{x:1,y:1},x=Y(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:v,strategy:l}):y);return{top:(g.top-x.top+f.top)/b.y,bottom:(x.bottom-g.bottom+f.bottom)/b.y,left:(g.left-x.left+f.left)/b.x,right:(x.right-g.right+f.right)/b.x}}let q=async(e,t,i)=>{let{placement:n="bottom",strategy:r="absolute",middleware:o=[],platform:s}=i,a=s.detectOverflow?s:{...s,detectOverflow:X},l=await (null==s.isRTL?void 0:s.isRTL(t)),u=await s.getElementRects({reference:e,floating:t,strategy:r}),{x:c,y:d}=G(u,n,l),h=n,p=0,f={};for(let i=0;i<o.length;i++){let m=o[i];if(!m)continue;let{name:g,fn:y}=m,{x:v,y:b,data:x,reset:w}=await y({x:c,y:d,initialPlacement:n,placement:h,strategy:r,middlewareData:f,re
8cts:u,platform:a,elements:{reference:e,floating:t}});c=null!=v?v:c,d=null!=b?b:d,f[g]={...f[g],...x},w&&p<50&&(p++,"object"==typeof w&&(w.placement&&(h=w.placement),w.rects&&(u=!0===w.rects?await s.getElementRects({reference:e,floating:t,strategy:r}):w.rects),{x:c,y:d}=G(u,h,l)),i=-1)}return{x:c,y:d,placement:h,strategy:r,middlewareData:f}};function K(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Z(e){return P.some(t=>e[t]>=0)}let Q=new Set(["left","top"]);async function J(e,t){let{placement:i,platform:n,elements:r}=e,o=await (null==n.isRTL?void 0:n.isRTL(r.floating)),s=D(i),a=L(i),l="y"===F(i),u=Q.has(s)?-1:1,c=o&&l?-1:1,d=N(t,e),{mainAxis:h,crossAxis:p,alignmentAxis:f}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&"number"==typeof f&&(p="end"===a?-1*f:f),l?{x:p*c,y:h*u}:{x:h*u,y:p*c}}function ee(){return"u">typeof window}function et(e){return er(e)?(e.nodeName||"").toLowerCase():"#document"}function ei(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function en(e){var t;return null==(t=(er(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function er(e){return!!ee()&&(e instanceof Node||e instanceof ei(e).Node)}function eo(e){return!!ee()&&(e instanceof Element||e instanceof ei(e).Element)}function es(e){return!!ee()&&(e instanceof HTMLElement||e instanceof ei(e).HTMLElement)}function ea(e){return!(!ee()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof ei(e).ShadowRoot)}function el(e){let{overflow:t,overflowX:i,overflowY:n,display:r}=eg(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+i)&&"inline"!==r&&"contents"!==r}function eu(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let ec=/transform|translate|scale|rotate|perspective|filter/,ed=/paint|layout|strict|content/,eh=e=>!!e&&"none"!==e;function ep(e){let t=eo(e)?eg(e):e;return eh(t.transform)||eh(t.translate)||eh(t.scale)||eh(t.rotate)||eh(t.perspective)||!ef()&&(eh(t.backdropFilter)||eh(t.filter))||ec.test(t.willChange||"")||ed.test(t.contain||"")}function ef(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function em(e){return/^(html|body|#document)$/.test(et(e))}function eg(e){return ei(e).getComputedStyle(e)}function ey(e){return eo(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ev(e){if("html"===et(e))return e;let t=e.assignedSlot||e.parentNode||ea(e)&&e.host||en(e);return ea(t)?t.host:t}function eb(e,t,i){var n;void 0===t&&(t=[]),void 0===i&&(i=!0);let r=function e(t){let i=ev(t);return em(i)?t.ownerDocument?t.ownerDocument.body:t.body:es(i)&&el(i)?i:e(i)}(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),s=ei(r);if(!o)return t.concat(r,eb(r,[],i));{let e=ex(s);return t.concat(s,s.visualViewport||[],el(r)?r:[],e&&i?eb(e):[])}}function ex(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ew(e){let t=eg(e),i=parseFloat(t.width)||0,n=parseFloat(t.height)||0,r=es(e),o=r?e.offsetWidth:i,s=r?e.offsetHeight:n,a=A(i)!==o||A(n)!==s;return a&&(i=o,n=s),{width:i,height:n,$:a}}function ek(e){return eo(e)?e:e.contextElement}function eS(e){let t=ek(e);if(!es(t))return M(1);let i=t.getBoundingClientRect(),{width:n,height:r,$:o}=ew(t),s=(o?A(i.width):i.width)/n,a=(o?A(i.height):i.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}let eE=M(0);function eT(e){let t=ei(e);return ef()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eE}function eP(e,t,i,n){var r;void 0===t&&(t=!1),void 0===i&&(i=!1);let o=e.getBoundingClientRect(),s=ek(e),a=M(1);t&&(n?eo(n)&&(a=eS(n)):a=eS(e));let l=(void 0===(r=i)&&(r=!1),n&&(!r||n===ei(s))&&r)?eT(s):M(0),u=(o.left+l.x)/a.x,c=(o.top+l.y)/a.y,d=o.width/a.x,h=o.height/a.y;if(s){let e=ei(s),t=n&&eo(n)?ei(n):n,i=e,r=ex(i);for(;r&&n&&t!==i;){let e=eS(r),t=r.getBoundingClientRect(),n=eg(r),o=t.left+(r.clientLeft+parseFloat(n.paddingLeft))*e.x,s=t.top+(r.clientTop+parseFloat(n.paddingTop))*e.y;u*=e.x,c*=e.y,d*=e.x,h*=e.y,u+=o,c+=s,r=ex(i=ei(r))}}return Y({width:d,height:h,x:u,y:c})}function ej(e,t){let i=ey(e).scrollLeft;return t?t.left+i:eP(en(e)).left+i}function eC(e,t){let i=e.getBoundingClientRect();return{x:i.left+t.scrollLeft-ej(e,i),y:i.top+t.scrollTop}}function eA(e,t,i){var n;let r;if("viewport"===t)r=function(e,t){let i=ei(e),n=en(e),r=i.visualVie
8wport,o=n.clientWidth,s=n.clientHeight,a=0,l=0;if(r){o=r.width,s=r.height;let e=ef();(!e||e&&"fixed"===t)&&(a=r.offsetLeft,l=r.offsetTop)}let u=ej(n);if(u<=0){let e=n.ownerDocument,t=e.body,i=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(i.marginLeft)+parseFloat(i.marginRight)||0,s=Math.abs(n.clientWidth-t.clientWidth-r);s<=25&&(o-=s)}else u<=25&&(o+=u);return{width:o,height:s,x:a,y:l}}(e,i);else if("document"===t){let t,i,o,s,a,l,u;n=en(e),t=en(n),i=ey(n),o=n.ownerDocument.body,s=C(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),a=C(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),l=-i.scrollLeft+ej(n),u=-i.scrollTop,"rtl"===eg(o).direction&&(l+=C(t.clientWidth,o.clientWidth)-s),r={width:s,height:a,x:l,y:u}}else if(eo(t)){let e,n,o,s,a,l;n=(e=eP(t,!0,"fixed"===i)).top+t.clientTop,o=e.left+t.clientLeft,s=es(t)?eS(t):M(1),a=t.clientWidth*s.x,l=t.clientHeight*s.y,r={width:a,height:l,x:o*s.x,y:n*s.y}}else{let i=eT(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Y(r)}function eR(e){return"static"===eg(e).position}function eM(e,t){if(!es(e)||"fixed"===eg(e).position)return null;if(t)return t(e);let i=e.offsetParent;return en(e)===i&&(i=i.ownerDocument.body),i}function eO(e,t){var i;let n=ei(e);if(eu(e))return n;if(!es(e)){let t=ev(e);for(;t&&!em(t);){if(eo(t)&&!eR(t))return t;t=ev(t)}return n}let r=eM(e,t);for(;r&&(i=r,/^(table|td|th)$/.test(et(i)))&&eR(r);)r=eM(r,t);return r&&em(r)&&eR(r)&&!ep(r)?n:r||function(e){let t=ev(e);for(;es(t)&&!em(t);){if(ep(t))return t;if(eu(t))break;t=ev(t)}return null}(e)||n}let eN=async function(e){let t=this.getOffsetParent||eO,i=this.getDimensions,n=await i(e.floating);return{reference:function(e,t,i){let n=es(t),r=en(t),o="fixed"===i,s=eP(e,!0,o,t),a={scrollLeft:0,scrollTop:0},l=M(0);if(n||!n&&!o)if(("body"!==et(t)||el(r))&&(a=ey(t)),n){let e=eP(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else r&&(l.x=ej(r));o&&!n&&r&&(l.x=ej(r));let u=!r||n||o?M(0):eC(r,a);return{x:s.left+a.scrollLeft-l.x-u.x,y:s.top+a.scrollTop-l.y-u.y,width:s.width,height:s.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},eD={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:i,offsetParent:n,strategy:r}=e,o="fixed"===r,s=en(n),a=!!t&&eu(t.floating);if(n===s||a&&o)return i;let l={scrollLeft:0,scrollTop:0},u=M(1),c=M(0),d=es(n);if((d||!d&&!o)&&(("body"!==et(n)||el(s))&&(l=ey(n)),d)){let e=eP(n);u=eS(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}let h=!s||d||o?M(0):eC(s,l);return{width:i.width*u.x,height:i.height*u.y,x:i.x*u.x-l.scrollLeft*u.x+c.x+h.x,y:i.y*u.y-l.scrollTop*u.y+c.y+h.y}},getDocumentElement:en,getClippingRect:function(e){let{element:t,boundary:i,rootBoundary:n,strategy:r}=e,o=[..."clippingAncestors"===i?eu(t)?[]:function(e,t){let i=t.get(e);if(i)return i;let n=eb(e,[],!1).filter(e=>eo(e)&&"body"!==et(e)),r=null,o="fixed"===eg(e).position,s=o?ev(e):e;for(;eo(s)&&!em(s);){let t=eg(s),i=ep(s);i||"fixed"!==t.position||(r=null),(o?i||r:!(!i&&"static"===t.position&&r&&("absolute"===r.position||"fixed"===r.position)||el(s)&&!i&&function e(t,i){let n=ev(t);return!(n===i||!eo(n)||em(n))&&("fixed"===eg(n).position||e(n,i))}(e,s)))?r=t:n=n.filter(e=>e!==s),s=ev(s)}return t.set(e,n),n}(t,this._c):[].concat(i),n],s=eA(t,o[0],r),a=s.top,l=s.right,u=s.bottom,c=s.left;for(let e=1;e<o.length;e++){let i=eA(t,o[e],r);a=C(i.top,a),l=j(i.right,l),u=j(i.bottom,u),c=C(i.left,c)}return{width:l-c,height:u-a,x:c,y:a}},getOffsetParent:eO,getElementRects:eN,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:i}=ew(e);return{width:t,height:i}},getScale:eS,isElement:eo,isRTL:function(e){return"rtl"===eg(e).direction}};function eL(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eV=e=>({name:"arrow",options:e,async fn(t){let{x:i,y:n,placement:r,rects:o,platform:s,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=N(e,t)||{};if(null==u)return{};let d=H(c),h={x:i,y:n},p=V(F(r)),f=I(p),m=await s.getDimensions(u),g="y"===p,y=g?"clientHeight":"clientWidth",v=o.reference[f]+o.reference[p]-h[p]-o.floating[f],b=h[p]-o.reference[p],x=await (null==s.getOffsetParent?void 0:s.getOffsetParent(u)),w=x?x[y]:0;w&&await (null==s.isElement?void 0:s.isElement(x))||(w=a.floating[y]||o.floating[f]);let k=w/2-m[f]/2-1,S=j(d[g?"top":"left"],k),E=j(d[g?"bottom":"right"],k),T=w-m[f]-E,P=w/2-m[f]/2+(v/2-b/2),A=C(S,j(P,T)),R=!l.arrow&&null!=L(r)&&P!==A&&o.reference[f]/2-(P<S?S:E)-m[f]/2<0,M=R?P<S?P-S:P-T:0;return{[p]:h[p]+M,data:{[p]:A,centerOffset:P-A-M,...R&&{alignmentOffset:M}},reset:R}}});var eI="u">typeof document?a.useLayoutEffect:function(){};function eF(e,t){let i,n,r;if(e===t)return!0;
8if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((i=e.length)!==t.length)return!1;for(n=i;0!=n--;)if(!eF(e[n],t[n]))return!1;return!0}if((i=(r=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=i;0!=n--;)if(!({}).hasOwnProperty.call(t,r[n]))return!1;for(n=i;0!=n--;){let i=r[n];if(("_owner"!==i||!e.$$typeof)&&!eF(e[i],t[i]))return!1}return!0}return e!=e&&t!=t}function e_(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eB(e,t){let i=e_(e);return Math.round(t*i)/i}function ez(e){let t=a.useRef(e);return eI(()=>{t.current=e}),t}var e$=Symbol("radix.slottable");function eW(e){return a.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===e$}var eU=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{var i,n;let o,s,l,u=(n=i=`Primitive.${t}`,(o=a.forwardRef((e,t)=>{let{children:i,...n}=e;if(a.isValidElement(i)){var r;let e,o,s=(r=i,(o=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?r.ref:(o=(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?r.props.ref:r.props.ref||r.ref),l=function(e,t){let i={...t};for(let n in t){let r=e[n],o=t[n];/^on[A-Z]/.test(n)?r&&o?i[n]=(...e)=>{let t=o(...e);return r(...e),t}:r&&(i[n]=r):"style"===n?i[n]={...r,...o}:"className"===n&&(i[n]=[r,o].filter(Boolean).join(" "))}return{...e,...i}}(n,i.props);return i.type!==a.Fragment&&(l.ref=t?(0,h.composeRefs)(t,s):s),a.cloneElement(i,l)}return a.Children.count(i)>1?a.Children.only(null):null})).displayName=`${n}.SlotClone`,s=o,(l=a.forwardRef((e,t)=>{let{children:i,...n}=e,o=a.Children.toArray(i),l=o.find(eW);if(l){let e=l.props.children,i=o.map(t=>t!==l?t:a.Children.count(e)>1?a.Children.only(null):a.isValidElement(e)?e.props.children:null);return(0,r.jsx)(s,{...n,ref:t,children:a.isValidElement(e)?a.cloneElement(e,void 0,i):null})}return(0,r.jsx)(s,{...n,ref:t,children:i})})).displayName=`${i}.Slot`,l),c=a.forwardRef((e,i)=>{let{asChild:n,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(n?u:t,{...o,ref:i})});return c.displayName=`Primitive.${t}`,{...e,[t]:c}},{}),eH=a.forwardRef((e,t)=>{let{children:i,width:n=10,height:o=5,...s}=e;return(0,r.jsx)(eU.svg,{...s,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?i:(0,r.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eH.displayName="Arrow";var eY=Symbol("radix.slottable");function eG(e){return a.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===eY}var eX=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{var i,n;let o,s,l,u=(n=i=`Primitive.${t}`,(o=a.forwardRef((e,t)=>{let{children:i,...n}=e;if(a.isValidElement(i)){var r;let e,o,s=(r=i,(o=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?r.ref:(o=(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?r.props.ref:r.props.ref||r.ref),l=function(e,t){let i={...t};for(let n in t){let r=e[n],o=t[n];/^on[A-Z]/.test(n)?r&&o?i[n]=(...e)=>{let t=o(...e);return r(...e),t}:r&&(i[n]=r):"style"===n?i[n]={...r,...o}:"className"===n&&(i[n]=[r,o].filter(Boolean).join(" "))}return{...e,...i}}(n,i.props);return i.type!==a.Fragment&&(l.ref=t?(0,h.composeRefs)(t,s):s),a.cloneElement(i,l)}return a.Children.count(i)>1?a.Children.only(null):null})).displayName=`${n}.SlotClone`,s=o,(l=a.forwardRef((e,t)=>{let{children:i,...n}=e,o=a.Children.toArray(i),l=o.find(eG);if(l){let e=l.props.children,i=o.map(t=>t!==l?t:a.Children.count(e)>1?a.Children.only(null):a.isValidElement(e)?e.props.children:null);return(0,r.jsx)(s,{...n,ref:t,children:a.isValidElement(e)?a.cloneElement(e,void 0,i):null})}return(0,r.jsx)(s,{...n,ref:t,children:i})})).displayName=`${i}.Slot`,l),c=a.forwardRef((e,i)=>{let{asChild:n,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(n?u:t,{...o,ref:i}
8)});return c.displayName=`Primitive.${t}`,{...e,[t]:c}},{}),eq="Popper",[eK,eZ]=function(e,t=[]){let i=[],n=()=>{let t=i.map(e=>a.createContext(e));return function(i){let n=i?.[e]||t;return a.useMemo(()=>({[`__scope${e}`]:{...i,[e]:n}}),[i,n])}};return n.scopeName=e,[function(t,n){let o=a.createContext(n),s=i.length;i=[...i,n];let l=t=>{let{scope:i,children:n,...l}=t,u=i?.[e]?.[s]||o,c=a.useMemo(()=>l,Object.values(l));return(0,r.jsx)(u.Provider,{value:c,children:n})};return l.displayName=t+"Provider",[l,function(i,r){let l=r?.[e]?.[s]||o,u=a.useContext(l);if(u)return u;if(void 0!==n)return n;throw Error(`\`${i}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let i=()=>{let i=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=i.reduce((t,{useScope:i,scopeName:n})=>{let r=i(e)[`__scope${n}`];return{...t,...r}},{});return a.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return i.scopeName=t.scopeName,i}(n,...t)]}(eq),[eQ,eJ]=eK(eq),e0=e=>{let{__scopePopper:t,children:i}=e,[n,o]=a.useState(null);return(0,r.jsx)(eQ,{scope:t,anchor:n,onAnchorChange:o,children:i})};e0.displayName=eq;var e1="PopperAnchor",e2=a.forwardRef((e,t)=>{let{__scopePopper:i,virtualRef:n,...o}=e,s=eJ(e1,i),l=a.useRef(null),u=(0,h.useComposedRefs)(t,l),c=a.useRef(null);return a.useEffect(()=>{let e=c.current;c.current=n?.current||l.current,e!==c.current&&s.onAnchorChange(c.current)}),n?null:(0,r.jsx)(eX.div,{...o,ref:u})});e2.displayName=e1;var e3="PopperContent",[e5,e6]=eK(e3),e4=a.forwardRef((e,t)=>{var i,n,o,s,l,u,c,d,f,m,g,v,b,x,w,k,E,T,P,A,M;let O,H,Y,G,X,ee,{__scopePopper:et,side:ei="bottom",sideOffset:er=0,align:eo="center",alignOffset:es=0,arrowPadding:ea=0,avoidCollisions:el=!0,collisionBoundary:eu=[],collisionPadding:ec=0,sticky:ed="partial",hideWhenDetached:eh=!1,updatePositionStrategy:ep="optimized",onPlaced:ef,...em}=e,eg=eJ(e3,et),[ey,ev]=a.useState(null),ex=(0,h.useComposedRefs)(t,e=>ev(e)),[ew,eS]=a.useState(null),eE=function(e){let[t,i]=a.useState(void 0);return S(()=>{if(e){i({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,r;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,r=t.blockSize}else n=e.offsetWidth,r=e.offsetHeight;i({width:n,height:r})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}i(void 0)},[e]),t}(ew),eT=eE?.width??0,ej=eE?.height??0,eC="number"==typeof ec?ec:{top:0,right:0,bottom:0,left:0,...ec},eA=Array.isArray(eu)?eu:[eu],eR=eA.length>0,eM={padding:eC,boundary:eA.filter(te),altBoundary:eR},{refs:eO,floatingStyles:eN,placement:e$,isPositioned:eW,middlewareData:eU}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:i="absolute",middleware:n=[],platform:r,elements:{reference:o,floating:s}={},transform:l=!0,whileElementsMounted:u,open:c}=e,[d,h]=a.useState({x:0,y:0,strategy:i,placement:t,middlewareData:{},isPositioned:!1}),[f,m]=a.useState(n);eF(f,n)||m(n);let[g,y]=a.useState(null),[v,b]=a.useState(null),x=a.useCallback(e=>{e!==E.current&&(E.current=e,y(e))},[]),w=a.useCallback(e=>{e!==T.current&&(T.current=e,b(e))},[]),k=o||g,S=s||v,E=a.useRef(null),T=a.useRef(null),P=a.useRef(d),j=null!=u,C=ez(u),A=ez(r),R=ez(c),M=a.useCallback(()=>{var e,n;let r,o,s;if(!E.current||!T.current)return;let a={placement:t,strategy:i,middleware:f};A.current&&(a.platform=A.current),(e=E.current,n=T.current,r=new Map,s={...(o={platform:eD,...a}).platform,_c:r},q(e,n,{...o,platform:s})).then(e=>{let t={...e,isPositioned:!1!==R.current};O.current&&!eF(P.current,t)&&(P.current=t,p.flushSync(()=>{h(t)}))})},[f,t,i,A,R]);eI(()=>{!1===c&&P.current.isPositioned&&(P.current.isPositioned=!1,h(e=>({...e,isPositioned:!1})))},[c]);let O=a.useRef(!1);eI(()=>(O.current=!0,()=>{O.current=!1}),[]),eI(()=>{if(k&&(E.current=k),S&&(T.current=S),k&&S){if(C.current)return C.current(k,S,M);M()}},[k,S,M,C,j]);let N=a.useMemo(()=>({reference:E,floating:T,setReference:x,setFloating:w}),[x,w]),D=a.useMemo(()=>({reference:k,floating:S}),[k,S]),L=a.useMemo(()=>{let e={position:i,left:0,top:0};if(!D.floating)return e;let t=eB(D.floating,d.x),n=eB(D.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+n+"px)",...e_(D.floating)>=1.5&&{willChange:"transform"}}:{position:i,left:t,top:n}},[i,l,D.floating,d.x,d.y]);return a.useMemo(()=>({...d,update:M,refs:N,elements:D,floatingStyles:L}),[d,M,N,D,L])}({strategy:"fixed",placement:ei+("center"!==eo?"-"+eo:""),whileElementsMounted:(...e)=>(function(e,t,i,n){let r;void 0===n&&(n={});let{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:u=!1}=n,c=ek(e),d=o||s?[...c?eb(c):[],...t?eb(t):[]]:[];
8d.forEach(e=>{o&&e.addEventListener("scroll",i,{passive:!0}),s&&e.addEventListener("resize",i)});let h=c&&l?function(e,t){let i,n=null,r=en(e);function o(){var e;clearTimeout(i),null==(e=n)||e.disconnect(),n=null}return!function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),o();let u=e.getBoundingClientRect(),{left:c,top:d,width:h,height:p}=u;if(a||t(),!h||!p)return;let f={rootMargin:-R(d)+"px "+-R(r.clientWidth-(c+h))+"px "+-R(r.clientHeight-(d+p))+"px "+-R(c)+"px",threshold:C(0,j(1,l))||1},m=!0;function g(t){let n=t[0].intersectionRatio;if(n!==l){if(!m)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==n||eL(u,e.getBoundingClientRect())||s(),m=!1}try{n=new IntersectionObserver(g,{...f,root:r.ownerDocument})}catch(e){n=new IntersectionObserver(g,f)}n.observe(e)}(!0),o}(c,i):null,p=-1,f=null;a&&(f=new ResizeObserver(e=>{let[n]=e;n&&n.target===c&&f&&t&&(f.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=f)||e.observe(t)})),i()}),c&&!u&&f.observe(c),t&&f.observe(t));let m=u?eP(e):null;return u&&function t(){let n=eP(e);m&&!eL(m,n)&&i(),m=n,r=requestAnimationFrame(t)}(),i(),()=>{var e;d.forEach(e=>{o&&e.removeEventListener("scroll",i),s&&e.removeEventListener("resize",i)}),null==h||h(),null==(e=f)||e.disconnect(),f=null,u&&cancelAnimationFrame(r)}})(...e,{animationFrame:"always"===ep}),elements:{reference:eg.anchor},middleware:[{name:(O={name:"offset",options:o=i={mainAxis:er+ej,alignmentAxis:es},async fn(e){var t,i;let{x:n,y:r,placement:s,middlewareData:a}=e,l=await J(e,o);return s===(null==(t=a.offset)?void 0:t.placement)&&null!=(i=a.arrow)&&i.alignmentOffset?{}:{x:n+l.x,y:r+l.y,data:{...l,placement:s}}}}).name,fn:O.fn,options:[i,n]},el&&{name:(H={name:"shift",options:f=c={mainAxis:!0,crossAxis:!1,limiter:"partial"===ed?{fn:(void 0===(u=s)&&(u={}),{options:u,fn(e){let{x:t,y:i,placement:n,rects:r,middlewareData:o}=e,{offset:s=0,mainAxis:a=!0,crossAxis:l=!0}=N(u,e),c={x:t,y:i},d=F(n),h=V(d),p=c[h],f=c[d],m=N(s,e),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(a){let e="y"===h?"height":"width",t=r.reference[h]-r.floating[e]+g.mainAxis,i=r.reference[h]+r.reference[e]-g.mainAxis;p<t?p=t:p>i&&(p=i)}if(l){var y,v;let e="y"===h?"width":"height",t=Q.has(D(n)),i=r.reference[d]-r.floating[e]+(t&&(null==(y=o.offset)?void 0:y[d])||0)+(t?0:g.crossAxis),s=r.reference[d]+r.reference[e]+(t?0:(null==(v=o.offset)?void 0:v[d])||0)-(t?g.crossAxis:0);f<i?f=i:f>s&&(f=s)}return{[h]:p,[d]:f}}}).fn,options:[s,l]}:void 0,...eM},async fn(e){let{x:t,y:i,placement:n,platform:r}=e,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:e=>{let{x:t,y:i}=e;return{x:t,y:i}}},...l}=N(f,e),u={x:t,y:i},c=await r.detectOverflow(e,l),d=F(D(n)),h=V(d),p=u[h],m=u[d];if(o){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",i=p+c[e],n=p-c[t];p=C(i,j(p,n))}if(s){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",i=m+c[e],n=m-c[t];m=C(i,j(m,n))}let g=a.fn({...e,[h]:p,[d]:m});return{...g,data:{x:g.x-t,y:g.y-i,enabled:{[h]:o,[d]:s}}}}}).name,fn:H.fn,options:[c,d]},el&&{name:(Y={name:"flip",options:v=m={...eM},async fn(e){var t,i,n,r,o,s,a,l;let u,c,d,{placement:h,middlewareData:p,rects:f,initialPlacement:m,platform:g,elements:y}=e,{mainAxis:b=!0,crossAxis:x=!0,fallbackPlacements:w,fallbackStrategy:k="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:E=!0,...T}=N(v,e);if(null!=(t=p.arrow)&&t.alignmentOffset)return{};let P=D(h),j=F(m),C=D(m)===m,A=await (null==g.isRTL?void 0:g.isRTL(y.floating)),R=w||(C||!E?[U(m)]:(u=U(m),[_(m),u,_(u)])),M="none"!==S;!w&&M&&R.push(...(c=L(m),d=function(e,t,i){switch(e){case"top":case"bottom":if(i)return t?z:B;return t?B:z;case"left":case"right":return t?$:W;default:return[]}}(D(m),"start"===S,A),c&&(d=d.map(e=>e+"-"+c),E&&(d=d.concat(d.map(_)))),d));let O=[m,...R],H=await g.detectOverflow(e,T),Y=[],G=(null==(i=p.flip)?void 0:i.overflows)||[];if(b&&Y.push(H[P]),x){let e,t,i,n,r=(s=h,a=f,void 0===(l=A)&&(l=!1),e=L(s),i=I(t=V(F(s))),n="x"===t?e===(l?"end":"start")?"right":"left":"start"===e?"bottom":"top",a.reference[i]>a.floating[i]&&(n=U(n)),[n,U(n)]);Y.push(H[r[0]],H[r[1]])}if(G=[...G,{placement:h,overflows:Y}],!Y.every(e=>e<=0)){let e=((null==(n=p.flip)?void 0:n.index)||0)+1,t=O[e];if(t&&("alignment"!==x||j===F(t)||G.every(e=>F(e.placement)!==j||e.overflows[0]>0)))return{data:{index:e,overflows:G},reset:{placement:t}};let i=null==(r=G.filter(e=>e.overflows[0]<=0).sort((e,t)=>
8e.overflows[1]-t.overflows[1])[0])?void 0:r.placement;if(!i)switch(k){case"bestFit":{let e=null==(o=G.filter(e=>{if(M){let t=F(e.placement);return t===j||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:o[0];e&&(i=e);break}case"initialPlacement":i=m}if(h!==i)return{reset:{placement:i}}}return{}}}).name,fn:Y.fn,options:[m,g]},{name:(G={name:"size",options:w=b={...eM,apply:({elements:e,rects:t,availableWidth:i,availableHeight:n})=>{let{width:r,height:o}=t.reference,s=e.floating.style;s.setProperty("--radix-popper-available-width",`${i}px`),s.setProperty("--radix-popper-available-height",`${n}px`),s.setProperty("--radix-popper-anchor-width",`${r}px`),s.setProperty("--radix-popper-anchor-height",`${o}px`)}},async fn(e){var t,i;let n,r,{placement:o,rects:s,platform:a,elements:l}=e,{apply:u=()=>{},...c}=N(w,e),d=await a.detectOverflow(e,c),h=D(o),p=L(o),f="y"===F(o),{width:m,height:g}=s.floating;"top"===h||"bottom"===h?(n=h,r=p===(await (null==a.isRTL?void 0:a.isRTL(l.floating))?"start":"end")?"left":"right"):(r=h,n="end"===p?"top":"bottom");let y=g-d.top-d.bottom,v=m-d.left-d.right,b=j(g-d[n],y),x=j(m-d[r],v),k=!e.middlewareData.shift,S=b,E=x;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(E=v),null!=(i=e.middlewareData.shift)&&i.enabled.y&&(S=y),k&&!p){let e=C(d.left,0),t=C(d.right,0),i=C(d.top,0),n=C(d.bottom,0);f?E=m-2*(0!==e||0!==t?e+t:C(d.left,d.right)):S=g-2*(0!==i||0!==n?i+n:C(d.top,d.bottom))}await u({...e,availableWidth:E,availableHeight:S});let T=await a.getDimensions(l.floating);
8return m!==T.width||g!==T.height?{reset:{rects:!0}}:{}}}).name,fn:G.fn,options:[b,x]},ew&&{name:(X={name:"arrow",options:T=k={element:ew,padding:ea},fn(e){let{element:t,padding:i}="function"==typeof T?T(e):T;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?eV({element:t.current,padding:i}).fn(e):{}:t?eV({element:t,padding:i}).fn(e):{}}}).name,fn:X.fn,options:[k,E]},tt({arrowWidth:eT,arrowHeight:ej}),eh&&{name:(ee={name:"hide",options:M=P={strategy:"referenceHidden",...eM},async fn(e){let{rects:t,platform:i}=e,{strategy:n="referenceHidden",...r}=N(M,e);switch(n){case"referenceHidden":{let n=K(await i.detectOverflow(e,{...r,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:Z(n)}}}case"escaped":{let n=K(await i.detectOverflow(e,{...r,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:Z(n)}}}default:return{}}}}).name,fn:ee.fn,options:[P,A]}]}),[eH,eY]=ti(e$),eG=y(ef);S(()=>{eW&&eG?.()},[eW,eG]);let eq=eU.arrow?.x,eK=eU.arrow?.y,eZ=eU.arrow?.centerOffset!==0,[eQ,e0]=a.useState();return S(()=>{ey&&e0(window.getComputedStyle(ey).zIndex)},[ey]),(0,r.jsx)("div",{ref:eO.setFloating,"data-radix-popper-content-wrapper":"",style:{...eN,transform:eW?eN.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eQ,"--radix-popper-transform-origin":[eU.transformOrigin?.x,eU.transformOrigin?.y].join(" "),...eU.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,r.jsx)(e5,{scope:et,placedSide:eH,onArrowChange:eS,arrowX:eq,arrowY:eK,shouldHideArrow:eZ,children:(0,r.jsx)(eX.div,{"data-side":eH,"data-align":eY,...em,ref:ex,style:{...em.style,animation:eW?void 0:"none"}})})})});e4.displayName=e3;var e8="PopperArrow",e9={top:"bottom",right:"left",bottom:"top",left:"right"},e7=a.forwardRef(function(e,t){let{__scopePopper:i,...n}=e,o=e6(e8,i),s=e9[o.placedSide];return(0,r.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,r.jsx)(eH,{...n,ref:t,style:{...n.style,display:"block"}})})});function te(e){return null!==e}e7.displayName=e8;var tt=e=>({name:"transformOrigin",options:e,fn(t){let{placement:i,rects:n,middlewareData:r}=t,o=r.arrow?.centerOffset!==0,s=o?0:e.arrowWidth,a=o?0:e.arrowHeight,[l,u]=ti(i),c={start:"0%",center:"50%",end:"100%"}[u],d=(r.arrow?.x??0)+s/2,h=(r.arrow?.y??0)+a/2,p="",f="";return"bottom"===l?(p=o?c:`${d}px`,f=`${-a}px`):"top"===l?(p=o?c:`${d}px`,f=`${n.floating.height+a}px`):"right"===l?(p=`${-a}px`,f=o?c:`${h}px`):"left"===l&&(p=`${n.floating.width+a}px`,f=o?c:`${h}px`),{data:{x:p,y:f}}}});function ti(e){let[t,i="center"]=e.split("-");return[t,i]}var tn=Symbol("radix.slottable");function tr(e){return a.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===tn}var to=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{var i,n;let o,s,l,u=(n=i=`Primitive.${t}`,(o=a.forwardRef((e,t)=>{let{children:i,...n}=e;if(a.isValidElement(i)){var r;let e,o,s=(r=i,(o=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?r.ref:(o=(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?r.props.ref:r.props.ref||r.ref),l=function(e,t){let i={...t};for(let n in t){let r=e[n],o=t[n];/^on[A-Z]/.test(n)?r&&o?i[n]=(...e)=>{let t=o(...e);return r(...e),t}:r&&(i[n]=r):"style"===n?i[n]={...r,...o}:"className"===n&&(i[n]=[r,o].filter(Boolean).join(" "))}return{...e,...i}}(n,i.props);return i.type!==a.Fragment&&(l.ref=t?(0,h.composeRefs)(t,s):s),a.cloneElement(i,l)}return a.Children.count(i)>1?a.Children.only(null):null})).displayName=`${n}.SlotClone`,s=o,(l=a.forwardRef((e,t)=>{let{children:i,...n}=e,o=a.Children.toArray(i),l=o.find(tr);if(l){let e=l.props.children,i=o.map(t=>t!==l?t:a.Children.count(e)>1?a.Children.only(null):a.isValidElement(e)?e.props.children:null);return(0,r.jsx)(s,{...n,ref:t,children:a.isValidElement(e)?a.cloneElement(e,void 0,i):null})}return(0,r.jsx)(s,{...n,ref:t,children:i})})).displayName=`${i}.Slot`,l),c=a.forwardRef((e,i)=>{let{asChild:n,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(n?u:t,{...o,ref:i}
8)});return c.displayName=`Primitive.${t}`,{...e,[t]:c}},{}),ts=a.forwardRef((e,t)=>{let{container:i,...n}=e,[o,s]=a.useState(!1);S(()=>s(!0),[]);let l=i||o&&globalThis?.document?.body;return l?p.default.createPortal((0,r.jsx)(to.div,{...n,ref:t}),l):null});ts.displayName="Portal";var ta=e=>{var t;let i,n,{present:r,children:o}=e,s=function(e){var t,i;let[n,r]=a.useState(),o=a.useRef(null),s=a.useRef(e),l=a.useRef("none"),[u,c]=(t=e?"mounted":"unmounted",i={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},a.useReducer((e,t)=>i[e][t]??e,t));return a.useEffect(()=>{let e=tl(o.current);l.current="mounted"===u?e:"none"},[u]),S(()=>{let t=o.current,i=s.current;if(i!==e){let n=l.current,r=tl(t);e?c("MOUNT"):"none"===r||t?.display==="none"?c("UNMOUNT"):i&&n!==r?c("ANIMATION_OUT"):c("UNMOUNT"),s.current=e}},[e,c]),S(()=>{if(n){let e,t=n.ownerDocument.defaultView??window,i=i=>{let r=tl(o.current).includes(CSS.escape(i.animationName));if(i.target===n&&r&&(c("ANIMATION_END"),!s.current)){let i=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=i)})}},r=e=>{e.target===n&&(l.current=tl(o.current))};return n.addEventListener("animationstart",r),n.addEventListener("animationcancel",i),n.addEventListener("animationend",i),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",r),n.removeEventListener("animationcancel",i),n.removeEventListener("animationend",i)}}c("ANIMATION_END")},[n,c]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:a.useCallback(e=>{o.current=e?getComputedStyle(e):null,r(e)},[])}}(r),l="function"==typeof o?o({present:s.isPresent}):a.Children.only(o),u=(0,h.useComposedRefs)(s.ref,(t=l,(n=(i=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?t.ref:(n=(i=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof o||s.isPresent?a.cloneElement(l,{ref:u}):null};function tl(e){return e?.animationName||"none"}ta.displayName="Presence";var tu=Symbol("radix.slottable");function tc(e){return a.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===tu}var td=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{var i,n;let o,s,l,u=(n=i=`Primitive.${t}`,(o=a.forwardRef((e,t)=>{let{children:i,...n}=e;if(a.isValidElement(i)){var r;let e,o,s=(r=i,(o=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?r.ref:(o=(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?r.props.ref:r.props.ref||r.ref),l=function(e,t){let i={...t};for(let n in t){let r=e[n],o=t[n];/^on[A-Z]/.test(n)?r&&o?i[n]=(...e)=>{let t=o(...e);return r(...e),t}:r&&(i[n]=r):"style"===n?i[n]={...r,...o}:"className"===n&&(i[n]=[r,o].filter(Boolean).join(" "))}return{...e,...i}}(n,i.props);return i.type!==a.Fragment&&(l.ref=t?(0,h.composeRefs)(t,s):s),a.cloneElement(i,l)}return a.Children.count(i)>1?a.Children.only(null):null})).displayName=`${n}.SlotClone`,s=o,(l=a.forwardRef((e,t)=>{let{children:i,...n}=e,o=a.Children.toArray(i),l=o.find(tc);if(l){let e=l.props.children,i=o.map(t=>t!==l?t:a.Children.count(e)>1?a.Children.only(null):a.isValidElement(e)?e.props.children:null);return(0,r.jsx)(s,{...n,ref:t,children:a.isValidElement(e)?a.cloneElement(e,void 0,i):null})}return(0,r.jsx)(s,{...n,ref:t,children:i})})).displayName=`${i}.Slot`,l),c=a.forwardRef((e,i)=>{let{asChild:n,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(n?u:t,{...o,ref:i})});return c.displayName=`Primitive.${t}`,{...e,[t]:c}},{});a[" useEffectEvent ".trim().toString()],a[" useInsertionEffect ".trim().toString()];var th=a[" useInsertionEffect ".trim().toString()]||S;Symbol("RADIX:SYNC_STATE");var tp=Symbol("radix.slottable");function tf(e){return a.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===tp}var tm=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
8{var i,n;let o,s,l,u=(n=i=`Primitive.${t}`,(o=a.forwardRef((e,t)=>{let{children:i,...n}=e;if(a.isValidElement(i)){var r;let e,o,s=(r=i,(o=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?r.ref:(o=(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?r.props.ref:r.props.ref||r.ref),l=function(e,t){let i={...t};for(let n in t){let r=e[n],o=t[n];/^on[A-Z]/.test(n)?r&&o?i[n]=(...e)=>{let t=o(...e);return r(...e),t}:r&&(i[n]=r):"style"===n?i[n]={...r,...o}:"className"===n&&(i[n]=[r,o].filter(Boolean).join(" "))}return{...e,...i}}(n,i.props);return i.type!==a.Fragment&&(l.ref=t?(0,h.composeRefs)(t,s):s),a.cloneElement(i,l)}return a.Children.count(i)>1?a.Children.only(null):null})).displayName=`${n}.SlotClone`,s=o,(l=a.forwardRef((e,t)=>{let{children:i,...n}=e,o=a.Children.toArray(i),l=o.find(tf);if(l){let e=l.props.children,i=o.map(t=>t!==l?t:a.Children.count(e)>1?a.Children.only(null):a.isValidElement(e)?e.props.children:null);return(0,r.jsx)(s,{...n,ref:t,children:a.isValidElement(e)?a.cloneElement(e,void 0,i):null})}return(0,r.jsx)(s,{...n,ref:t,children:i})})).displayName=`${i}.Slot`,l),c=a.forwardRef((e,i)=>{let{asChild:n,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(n?u:t,{...o,ref:i})});return c.displayName=`Primitive.${t}`,{...e,[t]:c}},{}),tg=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),ty=a.forwardRef((e,t)=>(0,r.jsx)(tm.span,{...e,ref:t,style:{...tg,...e.style}}));ty.displayName="VisuallyHidden";var[tv,tb]=function(e,t=[]){let i=[],n=()=>{let t=i.map(e=>a.createContext(e));return function(i){let n=i?.[e]||t;return a.useMemo(()=>({[`__scope${e}`]:{...i,[e]:n}}),[i,n])}};return n.scopeName=e,[function(t,n){let o=a.createContext(n),s=i.length;i=[...i,n];let l=t=>{let{scope:i,children:n,...l}=t,u=i?.[e]?.[s]||o,c=a.useMemo(()=>l,Object.values(l));return(0,r.jsx)(u.Provider,{value:c,children:n})};return l.displayName=t+"Provider",[l,function(i,r){let l=r?.[e]?.[s]||o,u=a.useContext(l);if(u)return u;if(void 0!==n)return n;throw Error(`\`${i}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let i=()=>{let i=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=i.reduce((t,{useScope:i,scopeName:n})=>{let r=i(e)[`__scope${n}`];return{...t,...r}},{});return a.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return i.scopeName=t.scopeName,i}(n,...t)]}("Tooltip",[eZ]),tx=eZ(),tw="TooltipProvider",tk="tooltip.open",[tS,tE]=tv(tw),tT=e=>{let{__scopeTooltip:t,delayDuration:i=700,skipDelayDuration:n=300,disableHoverableContent:o=!1,children:s}=e,l=a.useRef(!0),u=a.useRef(!1),c=a.useRef(0);return a.useEffect(()=>{let e=c.current;return()=>window.clearTimeout(e)},[]),(0,r.jsx)(tS,{scope:t,isOpenDelayedRef:l,delayDuration:i,onOpen:a.useCallback(()=>{window.clearTimeout(c.current),l.current=!1},[]),onClose:a.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>l.current=!0,n)},[n]),isPointerInTransitRef:u,onPointerInTransitChange:a.useCallback(e=>{u.current=e},[]),disableHoverableContent:o,children:s})};tT.displayName=tw;var tP="Tooltip",[tj,tC]=tv(tP),tA=e=>{let{__scopeTooltip:t,children:i,open:n,defaultOpen:o,onOpenChange:s,disableHoverableContent:l,delayDuration:u}=e,c=tE(tP,e.__scopeTooltip),d=tx(t),[h,p]=a.useState(null),f=function(){let[e,t]=a.useState(E());return S(()=>{t(e=>e??String(T++))},[void 0]),e?`radix-${e}`:""}(),m=a.useRef(0),g=l??c.disableHoverableContent,y=u??c.delayDuration,v=a.useRef(!1),[b,x]=function({prop:e,defaultProp:t,onChange:i=()=>{},caller:n}){let[r,o,s]=function({defaultProp:e,onChange:t}){let[i,n]=a.useState(e),r=a.useRef(i),o=a.useRef(t);return th(()=>{o.current=t},[t]),a.useEffect(()=>{r.current!==i&&(o.current?.(i),r.current=i)},[i,r]),[i,n,o]}({defaultProp:t,onChange:i}),l=void 0!==e,u=l?e:r;{let t=a.useRef(void 0!==e);a.useEffect(()=>{let e=t.current;if(e!==l){let t=l?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=l},[l,n])}return[u,a.useCallback(t=>{if(l){let i="function"==typeof t?t(e):t;i!==e&&s.current?.(i)}else o(t)},[l,e,o,s])]}({prop:n,defaultProp:o??!1,onChange:e=>{e?(c.onOpen(),document.dispatchEvent(new CustomEvent(tk))):c.onClose(),s?.(e)},caller:tP}),w=a.useMemo(()=>b?v.current?"delayed-open":"instant-open":"closed",[b]),k=a.useCallback(()=>{window.clearTimeout(m.current),m.current=0,v.current=!1,x(!0)},[x]),P=a.useCallback(()=>{window.clearTimeout(m.current),m.current=0,x(!1)},[x]),j=a.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{v.current=!0,x(!0),m.current=0},y)},[y,x]);return a.useEffect(()=>()=>{m.current&&(window.clearTimeout(m.current),m.current=0)},[]),(0,r.jsx)(e0,{...d,children:(0,r.jsx)(tj,{scope:t,contentId:f,open:b,
8stateAttribute:w,trigger:h,onTriggerChange:p,onTriggerEnter:a.useCallback(()=>{c.isOpenDelayedRef.current?j():k()},[c.isOpenDelayedRef,j,k]),onTriggerLeave:a.useCallback(()=>{g?P():(window.clearTimeout(m.current),m.current=0)},[P,g]),onOpen:k,onClose:P,disableHoverableContent:g,children:i})})};tA.displayName=tP;var tR="TooltipTrigger",tM=a.forwardRef((e,t)=>{let{__scopeTooltip:i,...n}=e,o=tC(tR,i),s=tE(tR,i),l=tx(i),u=a.useRef(null),c=(0,h.useComposedRefs)(t,u,o.onTriggerChange),p=a.useRef(!1),f=a.useRef(!1),m=a.useCallback(()=>p.current=!1,[]);return a.useEffect(()=>()=>document.removeEventListener("pointerup",m),[m]),(0,r.jsx)(e2,{asChild:!0,...l,children:(0,r.jsx)(td.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...n,ref:c,onPointerMove:d(e.onPointerMove,e=>{"touch"!==e.pointerType&&(f.current||s.isPointerInTransitRef.current||(o.onTriggerEnter(),f.current=!0))}),onPointerLeave:d(e.onPointerLeave,()=>{o.onTriggerLeave(),f.current=!1}),onPointerDown:d(e.onPointerDown,()=>{o.open&&o.onClose(),p.current=!0,document.addEventListener("pointerup",m,{once:!0})}),onFocus:d(e.onFocus,()=>{p.current||o.onOpen()}),onBlur:d(e.onBlur,o.onClose),onClick:d(e.onClick,o.onClose)})})});tM.displayName=tR;var tO="TooltipPortal",[tN,tD]=tv(tO,{forceMount:void 0}),tL=e=>{let{__scopeTooltip:t,forceMount:i,children:n,container:o}=e,s=tC(tO,t);return(0,r.jsx)(tN,{scope:t,forceMount:i,children:(0,r.jsx)(ta,{present:i||s.open,children:(0,r.jsx)(ts,{asChild:!0,container:o,children:n})})})};tL.displayName=tO;var tV="TooltipContent",tI=a.forwardRef((e,t)=>{let i=tD(tV,e.__scopeTooltip),{forceMount:n=i.forceMount,side:o="top",...s}=e,a=tC(tV,e.__scopeTooltip);return(0,r.jsx)(ta,{present:n||a.open,children:a.disableHoverableContent?(0,r.jsx)(t$,{side:o,...s,ref:t}):(0,r.jsx)(tF,{side:o,...s,ref:t})})}),tF=a.forwardRef((e,t)=>{let i=tC(tV,e.__scopeTooltip),n=tE(tV,e.__scopeTooltip),o=a.useRef(null),s=(0,h.useComposedRefs)(t,o),[l,u]=a.useState(null),{trigger:c,onClose:d}=i,p=o.current,{onPointerInTransitChange:f}=n,m=a.useCallback(()=>{u(null),f(!1)},[f]),g=a.useCallback((e,t)=>{let i,n=e.currentTarget,r={x:e.clientX,y:e.clientY},o=function(e,t){let i=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),r=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(i,n,r,o)){case o:return"left";case r:return"right";case i:return"top";case n:return"bottom";default:throw Error("unreachable")}}(r,n.getBoundingClientRect());u(((i=[...function(e,t,i=5){let n=[];switch(t){case"top":n.push({x:e.x-i,y:e.y+i},{x:e.x+i,y:e.y+i});break;case"bottom":n.push({x:e.x-i,y:e.y-i},{x:e.x+i,y:e.y-i});break;case"left":n.push({x:e.x+i,y:e.y-i},{x:e.x+i,y:e.y+i});break;case"right":n.push({x:e.x-i,y:e.y-i},{x:e.x-i,y:e.y+i})}return n}(r,o),...function(e){let{top:t,right:i,bottom:n,left:r}=e;return[{x:r,y:t},{x:i,y:t},{x:i,y:n},{x:r,y:n}]}(t.getBoundingClientRect())].slice()).sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:1*!!(e.y>t.y)),function(e){if(e.length<=1)return e.slice();let t=[];for(let i=0;i<e.length;i++){let n=e[i];for(;t.length>=2;){let e=t[t.length-1],i=t[t.length-2];if((e.x-i.x)*(n.y-i.y)>=(e.y-i.y)*(n.x-i.x))t.pop();else break}t.push(n)}t.pop();let i=[];for(let t=e.length-1;t>=0;t--){let n=e[t];for(;i.length>=2;){let e=i[i.length-1],t=i[i.length-2];if((e.x-t.x)*(n.y-t.y)>=(e.y-t.y)*(n.x-t.x))i.pop();else break}i.push(n)}return(i.pop(),1===t.length&&1===i.length&&t[0].x===i[0].x&&t[0].y===i[0].y)?t:t.concat(i)}(i))),f(!0)},[f]);return a.useEffect(()=>()=>m(),[m]),a.useEffect(()=>{if(c&&p){let e=e=>g(e,p),t=e=>g(e,c);return c.addEventListener("pointerleave",e),p.addEventListener("pointerleave",t),()=>{c.removeEventListener("pointerleave",e),p.removeEventListener("pointerleave",t)}}},[c,p,g,m]),a.useEffect(()=>{if(l){let e=e=>{let t=e.target,i={x:e.clientX,y:e.clientY},n=c?.contains(t)||p?.contains(t),r=!function(e,t){let{x:i,y:n}=e,r=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let s=t[e],a=t[o],l=s.x,u=s.y,c=a.x,d=a.y;u>n!=d>n&&i<(c-l)*(n-u)/(d-u)+l&&(r=!r)}return r}(i,l);n?m():r&&(m(),d())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[c,p,l,d,m]),(0,r.jsx)(t$,{...e,ref:s})}),[t_,tB]=tv(tP,{isInside:!1}),tz=((i=({children:e})=>(0,r.jsx)(r.Fragment,{children:e})).displayName="TooltipContent.Slottable",i.__radixId=tu,i),t$=a.forwardRef((e,t)=>
8{let{__scopeTooltip:i,children:n,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:l,...u}=e,c=tC(tV,i),d=tx(i),{onClose:h}=c;return a.useEffect(()=>(document.addEventListener(tk,h),()=>document.removeEventListener(tk,h)),[h]),a.useEffect(()=>{if(c.trigger){let e=e=>{let t=e.target;t?.contains(c.trigger)&&h()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[c.trigger,h]),(0,r.jsx)(x,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:e=>e.preventDefault(),onDismiss:h,children:(0,r.jsxs)(e4,{"data-state":c.stateAttribute,...d,...u,ref:t,style:{...u.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,r.jsx)(tz,{children:n}),(0,r.jsx)(t_,{scope:i,isInside:!0,children:(0,r.jsx)(ty,{id:c.contentId,role:"tooltip",children:o||n})})]})})});tI.displayName=tV;var tW="TooltipArrow";a.forwardRef((e,t)=>{let{__scopeTooltip:i,...n}=e,o=tx(i);return tB(tW,i).isInside?null:(0,r.jsx)(e7,{...o,...n,ref:t})}).displayName=tW;var tU=e.i(47163);let tH=a.forwardRef(({className:e,sideOffset:t=6,...i},n)=>(0,r.jsx)(tL,{children:(0,r.jsx)(tI,{ref:n,sideOffset:t,className:(0,tU.cn)("z-50 border border-terminal-signal bg-terminal-bg px-3 py-1.5 font-mono text-xs text-terminal-signal",e),...i})}));function tY({skillName:e,iconifyTag:t}){return(0,r.jsxs)(tA,{children:[(0,r.jsx)(tM,{asChild:!0,children:(0,r.jsxs)(o.motion.span,{variants:{hidden:{opacity:0,y:16},show:{opacity:1,y:0,transition:{duration:.35,ease:[.22,1,.36,1]}}},className:"inline-flex items-center gap-2 border border-terminal-border px-3 py-1 font-body text-xs text-terminal-soft transition-colors duration-200 hover:border-terminal-signal hover:text-terminal-signal",children:[(0,r.jsx)(c.Icon,{icon:t,width:16,height:16,"aria-hidden":!0}),e]})}),(0,r.jsx)(tH,{children:e})]})}tH.displayName=tI.displayName;let tG=[{title:"Backend Engineering",capabilities:["Designing scalable backend systems with Python, Django, FastAPI, Node.js, and Django REST Framework","Building high-performance REST APIs, GraphQL services, WebSockets, authentication, SSO, and reporting workflows","Refactoring production services for reliability, performance, and maintainable multi-tenant architectures"],softwareSkills:[{skillName:"Python",iconifyTag:"logos:python"},{skillName:"Django",iconifyTag:"vscode-icons:file-type-django"},{skillName:"FastAPI",iconifyTag:"devicon:fastapi"},{skillName:"Node.js",iconifyTag:"logos:nodejs-icon"},{skillName:"REST APIs",iconifyTag:"mdi:api"},{skillName:"GraphQL",iconifyTag:"logos:graphql"},{skillName:"WebSockets",iconifyTag:"mdi:connection"},{skillName:"Celery",iconifyTag:"simple-icons:celery"}]},{title:"Data Engineering & ETL",capabilities:["Architecting ETL pipelines for healthcare reporting, ML workflows, and event-processing workloads at large scale","Processing millions of daily records and 1B+ annual events with optimized tagging, transformations, and ingestion flows","Improving analytics access with BigQuery, ClickHouse, Apache Superset, Pandas, Apache Spark, and Airflow"],softwareSkills:[{skillName:"Airflow",iconifyTag:"logos:airflow"},{skillName:"Apache Spark",iconifyTag:"logos:apache-spark"},{skillName:"Pandas",iconifyTag:"devicon:pandas"},{skillName:"ClickHouse",iconifyTag:"simple-icons:clickhouse"},{skillName:"BigQuery",iconifyTag:"logos:google-cloud"},{skillName:"PostgreSQL",iconifyTag:"logos:postgresql"},{skillName:"Redis",iconifyTag:"logos:redis"},{skillName:"Apache Superset",iconifyTag:"simple-icons:apachesuperset"}]},{title:"Cloud & DevOps",capabilities:["Deploying and maintaining production systems across AWS, GCP, Docker, and Linux environments","Operating AWS ECS, EC2, Lambda, S3, autoscaling, queue-based processing, and monitoring for high-throughput workloads","Shipping reliable CI/CD workflows with GitHub Actions and secure production configuration practices"],softw
8areSkills:[{skillName:"AWS",iconifyTag:"logos:aws"},{skillName:"GCP",iconifyTag:"logos:google-cloud"},{skillName:"Docker",iconifyTag:"logos:docker-icon"},{skillName:"GitHub Actions",iconifyTag:"logos:github-actions"},{skillName:"Linux",iconifyTag:"logos:linux-tux"},{skillName:"CI/CD",iconifyTag:"mdi:source-branch-sync"}]},{title:"Frontend Development",capabilities:["Delivering production-ready React.js and Next.js interfaces for web applications and operational workflows","Translating product requirements into reliable full stack features across authentication, user management, and business automation","Collaborating with frontend teams to integrate API-driven React components and real-time application states"],softwareSkills:[{skillName:"React.js",iconifyTag:"vscode-icons:file-type-reactjs"},{skillName:"Next.js",iconifyTag:"vscode-icons:file-type-light-next"},{skillName:"TypeScript",iconifyTag:"logos:typescript-icon"},{skillName:"JavaScript",iconifyTag:"logos:javascript"}]},{title:"Testing & Engineering Practices",capabilities:["Applying PyTest, TDD, unit tests, and integration tests to reduce manual QA and protect backend reliability","Working in Agile/Scrum teams while leading implementation from requirements through delivery","Improving production systems through systematic debugging, performance optimization, and maintainable engineering practices"],softwareSkills:[{skillName:"PyTest",iconifyTag:"devicon:pytest"},{skillName:"TDD",iconifyTag:"mdi:test-tube"},{skillName:"Agile/Scrum",iconifyTag:"mdi:sync-circle"},{skillName:"GitHub",iconifyTag:"mdi:github"}]}];e.s(["SkillsSection",0,function(){let e=(0,a.useRef)(null),t=(0,s.useInView)(e,{once:!0,margin:"-80px"});return(0,r.jsxs)("div",{ref:e,children:[(0,r.jsx)(l.SectionLabel,{num:"02"}),(0,r.jsx)(u.SectionTitle,{children:"WHAT I DO."}),(0,r.jsx)("p",{className:"max-w-2xl font-mono text-sm uppercase leading-relaxed tracking-widest text-terminal-soft",children:"Senior full stack developer building scalable backend systems, high-performance APIs, data pipelines, and reliable production software"}),(0,r.jsx)("div",{className:"my-12 border-t border-terminal-border"}),(0,r.jsx)(tT,{children:(0,r.jsx)("div",{className:"space-y-12 md:space-y-16",children:tG.map(e=>(0,r.jsxs)("div",{className:"grid gap-10 md:grid-cols-[minmax(0,1fr)_minmax(0,1fr)]",children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)("h3",{className:"mb-6 font-mono text-2xl font-bold uppercase text-terminal-text",children:[(0,r.jsx)("span",{className:"text-terminal-signal",children:"> "}),e.title]}),(0,r.jsx)("ul",{className:"space-y-3",children:e.capabilities.map(e=>(0,r.jsxs)("li",{className:"flex gap-3 text-sm text-terminal-soft",children:[(0,r.jsx)("span",{className:"text-terminal-signal",children:"-"}),(0,r.jsx)("span",{children:e})]},e))})]}),(0,r.jsx)(o.motion.div,{className:"flex flex-wrap content-start gap-2",variants:{hidden:{},show:{transition:{staggerChildren:.04}}},initial:"hidden",animate:t?"show":"hidden",children:e.softwareSkills.map(e=>(0,r.jsx)(tY,{...e},e.skillName))})]},e.title))})})]})}],26913)}]);

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.