1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,444113,962607,t=>{"use strict";let e,i;var n=t.i(843476),s=t.i(271645),r=t.i(648070),a=t.i(513565);function o(t){return"function"==typeof t}t.s(["LazyMotion",0,function({children:t,features:e,strict:i=!1}){let[,l]=(0,s.useState)(!o(e)),u=(0,s.useRef)(void 0);if(!o(e)){let{renderer:t,...i}=e;u.current=t,(0,a.loadFeatures)(i)}return(0,s.useEffect)(()=>{o(e)&&e().then(({renderer:t,...e})=>{(0,a.loadFeatures)(e),u.current=t,l(!0)})},[]),(0,n.jsx)(r.LazyContext.Provider,{value:{renderer:u.current,strict:i},children:t})}],444113);var l=t.i(44974),u=t.i(243190);function h(t,e,i){let n=t.getProps();return(0,u.resolveVariantFromProps)(n,e,void 0!==i?i:n.custom,t)}function d(t,e){return t?.[e]??t?.default??t}let p=t=>t,c={},m=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function f(t,e){let i=!1,n=!0,s={delta:0,timestamp:0,isProcessing:!1},r=()=>i=!0,a=m.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,n=new Set,s=!1,r=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1},l=0;function u(e){a.has(e)&&(h.schedule(e),t()),l++,e(o)}let h={schedule:(t,e=!1,r=!1)=>{let o=r&&s?i:n;return e&&a.add(t),o.has(t)||o.add(t),t},cancel:t=>{n.delete(t),a.delete(t)},process:t=>{if(o=t,s){r=!0;return}s=!0,[i,n]=[n,i],i.forEach(u),e,l=0,i.clear(),s=!1,r&&(r=!1,h.process(t))}};return h}(r,e?i:void 0),t),{}),{setup:o,read:l,resolveKeyframes:u,preUpdate:h,update:d,preRender:p,render:f,postRender:v}=a,g=()=>{let r=c.useManualTiming?s.timestamp:performance.now();i=!1,c.useManualTiming||(s.delta=n?1e3/60:Math.max(Math.min(r-s.timestamp,40),1)),s.timestamp=r,s.isProcessing=!0,o.process(s),l.process(s),u.process(s),h.process(s),d.process(s),p.process(s),f.process(s),v.process(s),s.isProcessing=!1,i&&e&&(n=!1,t(g))};return{schedule:m.reduce((e,r)=>{let o=a[r];return e[r]=(e,r=!1,a=!1)=>(!i&&(i=!0,n=!0,s.isProcessing||t(g)),o.schedule(e,r,a)),e},{}),cancel:t=>{for(let e=0;e<m.length;e++)a[m[e]].cancel(t)},state:s,steps:a}}let{schedule:v,cancel:g,state:y}=f("u">typeof requestAnimationFrame?requestAnimationFrame:p,!0);var b=t.i(157788);let w=new Set(["width","height","top","left","right","bottom",...b.transformPropOrder]);t.i(247167);class T{constructor(){this.subscriptions=[]}add(t){var e;return e=this.subscriptions,-1===e.indexOf(t)&&e.push(t),()=>{var e;let i;return e=this.subscriptions,void((i=e.indexOf(t))>-1&&e.splice(i,1))}}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let s=0;s<n;s++){let n=this.subscriptions[s];n&&n(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function S(){e=void 0}let V={now:()=>(void 0===e&&V.set(y.isProcessing||c.useManualTiming?y.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(S)}},A;class M{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=V.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=V.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new T);let i=this.events[t].add(e);return"change"===t?()=>{i(),v.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return A&&A.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=V.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*t:0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function C(t,e){return new M(t,e)}let x=t=>Array.isArray(t);var P=t.i(83411),k=t.i(979386);function F(t){t.duration=0,t.type="keyframes"}let E=(t,e)=>i=>e(t(i)),O=(...t)=>t.reduce(E);var I=t.i(476959);let N={mainThread:0,waapi:0},D=()=>{},R=()=>{};var L=t.i(19928),B=t.i(76307);let K=t=>Math.round(1e5*t)/1e5,j=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,$=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,U=(t,e)=>i=>!!("string"==typeof i&&$.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),q=(t,e,i)=>n=>{if("string"!=typeof n)return n;let[s,r,a,o]=n.match(j);return{[t]:parseFloat(s),[e]:parseFloat(r),[i]:parseFloat(a),alpha:void 0!==o?parseFloat(o):1}},W={...B.number,transform:t=>Math.round((0,I.clamp)(0,255,t))},z={test:U("rgb","red"),parse:q("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+W.transform(t)+", "+W.transform(e)+", "+W.transform(i)+", "+K(B.alpha.transform(n))+")"},Y={test:U("#"),parse:function(t){let e="",i="",n="",s="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),s=t.substring(4,5),e+=e,i+=i,n+=n,s+=s),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alph
1a:s?parseInt(s,16)/255:1}},transform:z.transform};var H=t.i(265091);let _={test:U("hsl","hue"),parse:q("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:n=1})=>"hsla("+Math.round(t)+", "+H.percent.transform(K(e))+", "+H.percent.transform(K(i))+", "+K(B.alpha.transform(n))+")"},G={test:t=>z.test(t)||Y.test(t)||_.test(t),parse:t=>z.test(t)?z.parse(t):_.test(t)?_.parse(t):Y.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?z.transform(t):_.transform(t),getAnimatableNone:t=>{let e=G.parse(t);return e.alpha=0,G.transform(e)}},X=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,Z="number",J="color",Q=/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 tt(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},s=[],r=0,a=e.replace(Q,t=>(G.test(t)?(n.color.push(r),s.push(J),i.push(G.parse(t))):t.startsWith("var(")?(n.var.push(r),s.push("var"),i.push(t)):(n.number.push(r),s.push(Z),i.push(parseFloat(t))),++r,"${}")).split("${}");return{values:i,split:a,indexes:n,types:s}}function te(t){return tt(t).values}function ti(t){let{split:e,types:i}=tt(t),n=e.length;return t=>{let s="";for(let r=0;r<n;r++)if(s+=e[r],void 0!==t[r]){let e=i[r];e===Z?s+=K(t[r]):e===J?s+=G.transform(t[r]):s+=t[r]}return s}}let tn=t=>"number"==typeof t?0:G.test(t)?G.getAnimatableNone(t):t,ts={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(j)?.length||0)+(t.match(X)?.length||0)>0},parse:te,createTransformer:ti,getAnimatableNone:function(t){let e=te(t);return ti(t)(e.map(tn))}};function tr(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function ta(t,e){return i=>i>0?e:t}let to=(t,e,i)=>t+(e-t)*i,tl=(t,e,i)=>{let n=t*t,s=i*(e*e-n)+n;return s<0?0:Math.sqrt(s)},tu=[Y,z,_];function th(t){let e=tu.find(e=>e.test(t));if(D(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===_&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let s=0,r=0,a=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,o=2*i-n;s=tr(o,n,t+1/3),r=tr(o,n,t),a=tr(o,n,t-1/3)}else s=r=a=i;return{red:Math.round(255*s),green:Math.round(255*r),blue:Math.round(255*a),alpha:n}}(i)),i}let td=(t,e)=>{let i=th(t),n=th(e);if(!i||!n)return ta(t,e);let s={...i};return t=>(s.red=tl(i.red,n.red,t),s.green=tl(i.green,n.green,t),s.blue=tl(i.blue,n.blue,t),s.alpha=to(i.alpha,n.alpha,t),z.transform(s))},tp=new Set(["none","hidden"]);function tc(t,e){return i=>to(t,e,i)}function tm(t){return"number"==typeof t?tc:"string"==typeof t?(0,L.isCSSVariableToken)(t)?ta:G.test(t)?td:tg:Array.isArray(t)?tf:"object"==typeof t?G.test(t)?td:tv:ta}function tf(t,e){let i=[...t],n=i.length,s=t.map((t,i)=>tm(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=s[e](t);return i}}function tv(t,e){let i={...t,...e},n={};for(let s in i)void 0!==t[s]&&void 0!==e[s]&&(n[s]=tm(t[s])(t[s],e[s]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let tg=(t,e)=>{let i=ts.createTransformer(e),n=tt(t),s=tt(e);if(!(n.indexes.var.length===s.indexes.var.length&&n.indexes.color.length===s.indexes.color.length&&n.indexes.number.length>=s.indexes.number.length))return D(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),ta(t,e);if(tp.has(t)&&!s.values.length||tp.has(e)&&!n.values.length)return tp.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return O(tf(function(t,e){let i=[],n={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){let r=e.types[s],a=t.indexes[r][n[r]],o=t.values[a]??0;i[s]=o,n[r]++}return i}(n,s),s.values),i)};function ty(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?to(t,e,i):tm(t)(t,e)}let tb=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>v.update(e,t),stop:()=>g(e),now:()=>y.isProcessing?y.timestamp:V.now()}}
1,tw=(t,e,i=10)=>{let n="",s=Math.max(Math.round(e/i),2);for(let e=0;e<s;e++)n+=Math.round(1e4*t(e/(s-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`};function tT(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}function tS(t,e,i){var n,s;let r=Math.max(e-5,0);return n=i-t(r),(s=e-r)?1e3/s*n:0}let tV=.01,tA=2,tM=.005,tC=.5;function tx(t,e){return t*Math.sqrt(1-e*e)}let tP=["duration","bounce"],tk=["stiffness","damping","mass"];function tF(t,e){return e.some(e=>void 0!==t[e])}function tE(t=.3,e=.3){let i,n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:s,restDelta:r}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],l={done:!1,value:a},{stiffness:u,damping:h,mass:d,duration:p,velocity:c,isResolvedFromDuration:m}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!tF(t,tk)&&tF(t,tP))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,s=2*(0,I.clamp)(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:1,stiffness:n,damping:s}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:n=1}){let s,r;D(t<=1e4,"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-e;a=(0,I.clamp)(.05,1,a),t=(0,I.clamp)(.01,10,t/1e3),a<1?(s=e=>{let n=e*a,s=n*t;return .001-(n-i)/tx(e,a)*Math.exp(-s)},r=e=>{let n=e*a*t,r=Math.pow(a,2)*Math.pow(e,2)*t,o=Math.exp(-n),l=tx(Math.pow(e,2),a);return(n*i+i-r)*o*(-s(e)+.001>0?-1:1)/l}):(s=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),r=e=>t*t*(i-e)*Math.exp(-e*t));let o=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(s,r,5/t);if(t*=1e3,isNaN(o))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(o,2)*n;return{stiffness:e,damping:2*a*Math.sqrt(n*e),duration:t}}}(t);(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...n,velocity:-((n.velocity||0)/1e3)}),f=c||0,v=h/(2*Math.sqrt(u*d)),g=o-a,y=Math.sqrt(u/d)/1e3,b=5>Math.abs(g);if(s||(s=b?tV:tA),r||(r=b?tM:tC),v<1){let t=tx(y,v);i=e=>o-Math.exp(-v*y*e)*((f+v*y*g)/t*Math.sin(t*e)+g*Math.cos(t*e))}else if(1===v)i=t=>o-Math.exp(-y*t)*(g+(f+y*g)*t);else{let t=y*Math.sqrt(v*v-1);i=e=>{let i=Math.exp(-v*y*e),n=Math.min(t*e,300);return o-i*((f+v*y*g)*Math.sinh(n)+t*g*Math.cosh(n))/t}}let w={calculatedDuration:m&&p||null,next:t=>{let e=i(t);if(m)l.done=t>=p;else{let n=0===t?f:0;v<1&&(n=0===t?1e3*f:tS(i,t,e));let a=Math.abs(o-e)<=r;l.done=Math.abs(n)<=s&&a}return l.value=l.done?o:e,l},toString:()=>{let t=Math.min(tT(w),2e4),e=tw(e=>w.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return w}function tO({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:s=10,bounceStiffness:r=500,modifyTarget:a,min:o,max:l,restDelta:u=.5,restSpeed:h}){let d,p,c=t[0],m={done:!1,value:c},f=i*e,v=c+f,g=void 0===a?v:a(v);g!==v&&(f=g-c);let y=t=>-f*Math.exp(-t/n),b=t=>g+y(t),w=t=>{let e=y(t),i=b(t);m.done=Math.abs(e)<=u,m.value=m.done?g:i},T=t=>{let e;if(e=m.value,void 0!==o&&e<o||void 0!==l&&e>l){var i;d=t,p=tE({keyframes:[m.value,(i=m.value,void 0===o?l:void 0===l||Math.abs(o-i)<Math.abs(l-i)?o:l)],velocity:tS(b,t,m.value),damping:s,stiffness:r,restDelta:u,restSpeed:h})}};return T(0),{calculatedDuration:null,next:t=>{let e=!1;return(p||void 0!==d||(e=!0,w(t),T(t)),void 0!==d&&t>=d)?p.next(t-d):(e||w(t),m)}}}tE.applyToOptions=t=>{let e=function(t,e=100,i){let n=i({...t,keyframes:[0,e]}),s=Math.min(tT(n),2e4);return{type:"keyframes",ease:t=>n.next(s*t).value/e,duration:s/1e3}}(t,100,tE);return t.ease=e.ease,t.duration=1e3*e.duration,t.type="keyframes",t};let tI=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function tN(t,e,i,n){return t===e&&i===n?p:s=>0===s||1===s?s:tI(function(t,e,i,n,s){let r,a,o=0;do(r=tI(a=e+(i-e)/2,n,s)-t)>0?i=a:e=a;while(Math.abs(r)>1e-7&&++o<12)return a}(s,0,1,t,i),e,n)}let tD=tN(.42,0,1,1),tR=tN(0,0,.58,1),tL=tN(.42,0,.58,1),tB=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,tK=t=>e=>1-t(1-e),tj=tN(.33,1.53,.69,.99),t$=tK(tj),tU=tB(t$),tq=t=>(t*=2)<1?.5*t$(t):.5*(2-Math.pow(2,-10*(t-1))),tW=t=>1-Math.sin(Math.acos(t)),tz=tK(tW),tY=tB(tW),tH=t=>Array.isArray(t)&&"number"==typeof t[0],t_={linear:p,easeIn:tD,easeInOut:tL,easeOut:tR,circIn:tW,circInOut:tY,circOut:tz,backIn:t$,backInOut:tU,backOut:tj,anticipate:tq},tG=t=>{if(tH(t)){R(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,s]=t;return tN(e,i,n,s)}return"string"==typeof t?(R(void 0!==t_[t],`Invalid easing type '${t}
1'`,"invalid-easing-type"),t_[t]):t},tX=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n};function tZ({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var s;let r,a=Array.isArray(n)&&"number"!=typeof n[0]?n.map(tG):tG(n),o={done:!1,value:e[0]},l=function(t,e,{clamp:i=!0,ease:n,mixer:s}={}){let r=t.length;if(R(r===e.length,"Both input and output ranges must be the same length","range-length"),1===r)return()=>e[0];if(2===r&&e[0]===e[1])return()=>e[1];let a=t[0]===t[1];t[0]>t[r-1]&&(t=[...t].reverse(),e=[...e].reverse());let o=function(t,e,i){let n=[],s=i||c.mix||ty,r=t.length-1;for(let i=0;i<r;i++){let r=s(t[i],t[i+1]);e&&(r=O(Array.isArray(e)?e[i]||p:e,r)),n.push(r)}return n}(e,n,s),l=o.length,u=i=>{if(a&&i<t[0])return e[0];let n=0;if(l>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let s=tX(t[n],t[n+1],i);return o[n](s)};return i?e=>u((0,I.clamp)(t[0],t[r-1],e)):u}((s=i&&i.length===e.length?i:(!function(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let s=tX(0,e,n);t.push(to(i,1,s))}}(r=[0],e.length-1),r),s.map(e=>e*t)),e,{ease:Array.isArray(a)?a:e.map(()=>a||tL).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=l(e),o.done=e>=t,o)}}let tJ=t=>null!==t;function tQ(t,{repeat:e,repeatType:i="loop"},n,s=1){let r=t.filter(tJ),a=s<0||e&&"loop"!==i&&e%2==1?0:r.length-1;return a&&void 0!==n?n:r[a]}let t0={decay:tO,inertia:tO,tween:tZ,keyframes:tZ,spring:tE};function t1(t){"string"==typeof t.type&&(t.type=t0[t.type])}class t3{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let t2=t=>t/100;class t5 extends t3{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==V.now()&&this.tick(V.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},N.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;t1(t);let{type:e=tZ,repeat:i=0,repeatDelay:n=0,repeatType:s,velocity:r=0}=t,{keyframes:a}=t,o=e||tZ;o!==tZ&&"number"!=typeof a[0]&&(this.mixKeyframes=O(t2,ty(a[0],a[1])),a=[0,100]);let l=o({...t,keyframes:a});"mirror"===s&&(this.mirroredGenerator=o({...t,keyframes:[...a].reverse(),velocity:-r})),null===l.calculatedDuration&&(l.calculatedDuration=tT(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:i,totalDuration:n,mixKeyframes:s,mirroredGenerator:r,resolvedDuration:a,calculatedDuration:o}=this;if(null===this.startTime)return i.next(0);let{delay:l=0,keyframes:u,repeat:h,repeatType:d,repeatDelay:p,type:c,onUpdate:m,finalKeyframe:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let v=this.currentTime-l*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?v<0:v>n;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let y=this.currentTime,b=i;if(h){let t=Math.min(this.currentTime,n)/a,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,h+1))%2&&("reverse"===d?(i=1-i,p&&(i-=p/a)):"mirror"===d&&(b=r)),y=(0,I.clamp)(0,1,i)*a}let w=g?{done:!1,value:u[0]}:b.next(y);s&&(w.value=s(w.value));let{done:T}=w;g||null===o||(T=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&T);return S&&c!==tO&&(w.value=tQ(u,this.options,f,this.speed)),m&&m(w.value),S&&this.finish(),w}then(t,e){return this.finished.then(t,e)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return this.currentTime/1e3}set time(t){t*=1e3,this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(V.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:t=tb,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(V.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,N.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}let t4=t=>180*t/Math.PI,t6=t=>
1t7(t4(Math.atan2(t[1],t[0]))),t9={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:t6,rotateZ:t6,skewX:t=>t4(Math.atan(t[1])),skewY:t=>t4(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},t7=t=>((t%=360)<0&&(t+=360),t),t8=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),et=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),ee={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:t8,scaleY:et,scale:t=>(t8(t)+et(t))/2,rotateX:t=>t7(t4(Math.atan2(t[6],t[5]))),rotateY:t=>t7(t4(Math.atan2(-t[2],t[0]))),rotateZ:t6,rotate:t6,skewX:t=>t4(Math.atan(t[4])),skewY:t=>t4(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function ei(t){return+!!t.includes("scale")}function en(t,e){let i,n;if(!t||"none"===t)return ei(e);let s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(s)i=ee,n=s;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=t9,n=e}if(!n)return ei(e);let r=i[e],a=n[1].split(",").map(es);return"function"==typeof r?r(a):a[r]}function es(t){return parseFloat(t.trim())}let er=t=>t===B.number||t===H.px,ea=new Set(["x","y","z"]),eo=b.transformPropOrder.filter(t=>!ea.has(t)),el={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>en(e,"x"),y:(t,{transform:e})=>en(e,"y")};el.translateX=el.x,el.translateY=el.y;let eu=new Set,eh=!1,ed=!1,ep=!1;function ec(){if(ed){let t=Array.from(eu).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,n=(e=[],eo.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e);n.length&&(i.set(t,n),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}ed=!1,eh=!1,eu.forEach(t=>t.complete(ep)),eu.clear()}function em(){eu.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(ed=!0)})}class ef{constructor(t,e,i,n,s,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=s,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(eu.add(this),eh||(eh=!0,v.read(em),v.resolveKeyframes(ec))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;if(null===t[0]){let s=n?.get(),r=t[t.length-1];if(void 0!==s)t[0]=s;else if(i&&e){let n=i.readValue(e,r);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=r),n&&void 0===s&&n.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),eu.delete(this)}cancel(){"scheduled"===this.state&&(eu.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}function ev(t){let e;return()=>(void 0===e&&(e=t()),e)}let eg=ev(()=>void 0!==window.ScrollTimeline),ey={},eb=(i=ev(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0}),()=>ey.linearEasing??i()),ew=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,eT={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ew([0,.65,.55,1]),circOut:ew([.55,0,1,.45]),backIn:ew([.31,.01,.66,-.59]),backOut:ew([.33,1.53,.69,.99])};function eS(t){return"function"==typeof t&&"applyToOptions"in t}class eV extends t3{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:e,name:i,keyframes:n,pseudoElement:s,allowFlatten:r=!1,finalKeyframe:a,onComplete:o}=t;this.isPseudoElement=!!s,this.allowFlatten=r,this.options=t,R("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return eS(t)&&eb()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:n=0,duration:s=300,repeat:r=0,repeatType:a="loop",ease:o="easeOut",times:l}={},u){let h={[e]:i};l&&(h.offset=l);let d=function t(e,i){if(e)return"function"==typeof e?eb()?tw(e,i):"ease-out":tH(e)?ew(e):Array.isArray(e)?e.map(e=>t(e,i)||eT.easeOut):eT[e]}(o,s);Array.isArray(d)&&(h.easing=d);let p={delay:n,duration:s,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:r+1,direction:"reverse"===a?"alternate":"normal"};u&&(p.pseudoElement=u);let c=t.animate(h,p);return c}(e,i,n,l,s),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){let t=tQ(n,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(t):i.startsWith("--")?e.style.setProperty(i,t):e.style[i]=t,this.animation.cancel()}o?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(t){this.finishedTime=null,this.animation.currentTime=1e3*t}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&eg())?(this.animation.timeline=t,p):e(this)}}let eA={anticipate:tq,backInOut:tU,circInOut:tY};class eM extends eV{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in eA&&(t.ease=eA[t.ease])}(t),t1(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:s,...r}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let a=new t5({...r,autoplay:!1}),o=1e3*(this.finishedTime??this.time);e.setWithVelocity(a.sample(o-10).value,a.sample(o).value,10),a.stop()}}let eC=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(ts.test(t)||"0"===t)&&!t.startsWith("url(")),ex=new Set(["opacity","clipPath","filter","transform"]),eP=ev(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class ek extends t3{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:s=0,repeatType:r="loop",keyframes:a,name:o,motionValue:l,element:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=V.now();const d={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:s,repeatType:r,name:o,motionValue:l,element:u,...h},p=u?.KeyframeResolver||ef;this.keyframeResolver=new p(a,(t,e,i)=>this.onKeyframesResolved(t,e,d,!i),o,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){this.keyframeResolver=void 0;let{name:s,type:r,velocity:a,delay:o,isHandoff:l,onUpdate:u}=i;
1this.resolvedAt=V.now(),!function(t,e,i,n){let s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;let r=t[t.length-1],a=eC(s,e),o=eC(r,e);return D(a===o,`You are trying to animate ${e} from "${s}" to "${r}". "${a?r:s}" is not an animatable value.`,"value-not-animatable"),!!a&&!!o&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||eS(i))&&n)}(t,s,r,a)&&((c.instantAnimations||!o)&&u?.(tQ(t,i,e)),t[0]=t[t.length-1],F(i),i.repeat=0);let h={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},d=!l&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:s,damping:r,type:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:o,transformTemplate:l}=e.owner.getProps();return eP()&&i&&ex.has(i)&&("transform"!==i||!l)&&!o&&!n&&"mirror"!==s&&0!==r&&"inertia"!==a}(h)?new eM({...h,element:h.motionValue.owner.current}):new t5(h);d.finished.then(()=>this.notifyFinished()).catch(p),this.pendingTimeline&&(this.stopTimeline=d.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=d}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),ep=!0,em(),ec(),ep=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let eF=t=>null!==t,eE={type:"spring",stiffness:500,damping:25,restSpeed:10},eO={type:"keyframes",duration:.8},eI={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},eN=(t,e,i,n={},s,r)=>a=>{let o=d(n,t)||{},l=o.delay||n.delay||0,{elapsed:u=0}=n;u-=1e3*l;let h={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...o,delay:-u,onUpdate:t=>{e.set(t),o.onUpdate&&o.onUpdate(t)},onComplete:()=>{a(),o.onComplete&&o.onComplete()},name:t,motionValue:e,element:r?void 0:s};!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:s,repeat:r,repeatType:a,repeatDelay:o,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(o)&&Object.assign(h,((t,{keyframes:e})=>e.length>2?eO:b.transformProps.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:eE:eI)(t,h)),h.duration&&(h.duration=1e3*h.duration),h.repeatDelay&&(h.repeatDelay=1e3*h.repeatDelay),void 0!==h.from&&(h.keyframes[0]=h.from);let p=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(F(h),0===h.delay&&(p=!0)),(c.instantAnimations||c.skipAnimations)&&(p=!0,F(h),h.delay=0),h.allowFlatten=!o.type&&!o.ease,p&&!r&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"}){let n=t.filter(eF),s=e&&"loop"!==i&&e%2==1?0:n.length-1;return n[s]}(h.keyframes,o);if(void 0!==t)return void v.update(()=>{h.onUpdate(t),h.onComplete()})}return o.isSync?new t5(h):new ek(h)};function eD(t,e,{delay:i=0,transitionOverride:n,type:s}={}){let{transition:r=t.getDefaultTransition(),transitionEnd:a,...o}=e;n&&(r=n);let l=[],u=s&&t.animationState&&t.animationState.getState()[s];for(let e in o){let n=t.getValue(e,t.latestValues[e]??null),s=o[e];if(void 0===s||u&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(u,e))continue;let a={delay:i,...d(r||{},e)},h=n.get();if(void 0!==h&&!n.isAnimating&&!Array.isArray(s)&&s===h&&!a.velocity)continue;let p=!1;if(window.MotionHandoffAnimation){let i=t.props[k.optimizedAppearDataAttribute];if(i){let t=window.MotionHandoffAnimation(i,e,v);null!==t&&(a.startTime=t,p=!0)}}!function(t,e){let i=t.getValue("willChange");if((0,P.isMotionValue)(i)&&i.add)return i.add(e);if(!i&&c.WillChange){let i=new c.WillChange("auto");
1t.addValue("willChange",i),i.add(e)}}(t,e),n.start(eN(e,n,s,t.shouldReduceMotion&&w.has(e)?{type:!1}:a,t,p));let m=n.animation;m&&l.push(m)}return a&&Promise.all(l).then(()=>{v.update(()=>{a&&function(t,e){let{transitionEnd:i={},transition:n={},...s}=h(t,e)||{};for(let e in s={...s,...i}){var r;let i=x(r=s[e])?r[r.length-1]||0:r;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,C(i))}}(t,a)})}),l}function eR(t,e,i,n=0,s=1){let r=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),a=t.size,o=(a-1)*n;return"function"==typeof i?i(r,a):1===s?r*n:o-r*n}function eL(t,e,i={}){let n=h(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:s=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(s=i.transitionOverride);let r=n?()=>Promise.all(eD(t,n,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:r=0,staggerChildren:a,staggerDirection:o}=s;return function(t,e,i=0,n=0,s=0,r=1,a){let o=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),o.push(eL(l,e,{...a,delay:i+("function"==typeof n?0:n)+eR(t.variantChildren,l,n,s,r)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(o)}(t,e,n,r,a,o,i)}:()=>Promise.resolve(),{when:o}=s;if(!o)return Promise.all([r(),a(i.delay)]);{let[t,e]="beforeChildren"===o?[r,a]:[a,r];return t().then(()=>e())}}function eB(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}var eK=t.i(342531),ej=t.i(789607);let e$=ej.variantProps.length,eU=[...ej.variantPriorityOrder].reverse(),eq=ej.variantPriorityOrder.length;function eW(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ez(){return{animate:eW(!0),whileInView:eW(),whileHover:eW(),whileTap:eW(),whileDrag:eW(),whileFocus:eW(),exit:eW()}}class eY{constructor(t){this.isMounted=!1,this.node=t}update(){}}let eH=0;function e_(t,e){let i=function(t){if(t instanceof EventTarget)return[t];if("string"==typeof t){let e=document,i=(void 0)??e.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t)}(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function eG(t){return"touch"!==t.pointerType}function eX(t){return{point:{x:t.pageX,y:t.pageY}}}function eZ(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let s=n["onHover"+i];s&&v.postRender(()=>s(e,eX(e)))}function eJ(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}var eQ=t.i(772846);let e0=(t,e)=>!!e&&(t===e||e0(t,e.parentElement)),e1=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),e3=new WeakSet;function e2(t){return e=>{"Enter"===e.key&&t(e)}}function e5(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function e4(t){return"mouse"===t.pointerType?"number"!=typeof t.button||!!(t.button<=0):!1!==t.isPrimary}function e6(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let s=n["onTap"+("End"===i?"":i)];s&&v.postRender(()=>s(e,eX(e)))}let e9=new WeakMap,e7=new WeakMap,e8=t=>{let e=e9.get(t.target);e&&e(t)},it=t=>{t.forEach(e8)},ie={some:0,all:1},ii=t=>e=>e.test(t),is=[B.number,H.px,H.percent,H.degrees,H.vw,H.vh,{test:t=>"auto"===t,parse:t=>t}],ir=t=>is.find(ii(t)),ia=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,io=new Set(["brightness","contrast","saturate","opacity"]);function il(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(j)||[];if(!n)return t;let s=i.replace(n,""),r=+!!io.has(e);return n!==i&&(r*=100),e+"("+r+s+")"}let iu=/\b([a-z-]*)\(.*?\)/gu,ih={...ts,getAnimatableNone:t=>{let e=t.match(iu);return e?e.map(il).join(" "):t}},id={...t.i(434929).numberValueTypes,color:G,backgroundColor:G,outlineColor:G,fill:G,stroke:G,borderColor:G,borderTopColor:G,borderRightColor:G,borderBottomColor:G,borderLeftColor:G,filter:ih,WebkitFilter:ih},ip=t=>id[t];function ic(t,e){let i=ip(t);return i!==ih&&(i=ts),i.getAnimatableNone?i.getAnimatableNone(e):void 0}
1let im=new Set(["auto","none","0"]);class iv extends ef{constructor(t,e,i,n,s){super(t,e,i,n,s,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&(n=n.trim(),(0,L.isCSSVariableToken)(n))){let s=function t(e,i,n=1){R(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[s,r]=function(t){let e=ia.exec(t);if(!e)return[,];let[,i,n,s]=e;return[`--${i??n}`,s]}(e);if(!s)return;let a=window.getComputedStyle(i).getPropertyValue(s);if(a){let t=a.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return(0,L.isCSSVariableToken)(r)?t(r,i,n+1):r}(n,e.current);void 0!==s&&(t[i]=s),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!w.has(i)||2!==t.length)return;let[n,s]=t,r=ir(n),a=ir(s);if(r!==a)if(er(r)&&er(a))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else el[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++)(null===t[e]||function(t){if("number"==typeof t)return 0===t;if(null===t)return!0;return"none"===t||"0"===t||/^0[^.\s]+$/u.test(t)}(t[e]))&&i.push(e);i.length&&function(t,e,i){let n,s=0;for(;s<t.length&&!n;){let e=t[s];"string"==typeof e&&!im.has(e)&&tt(e).values.length&&(n=t[s]),s++}if(n&&i)for(let s of e)t[s]=ic(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=el[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let n=t.getValue(e);n&&n.jump(this.measuredOrigin,!1);let s=i.length-1,r=i[s];i[s]=el[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==r&&void 0===this.finalKeyframe&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}let ig=[...is,G,ts],{schedule:iy}=f(queueMicrotask,!1);var ib=t.i(476948);let iw=()=>({min:0,max:0}),iT=()=>({x:iw(),y:iw()});var iS=t.i(292936);let iV={current:null},iA={current:!1},iM=new WeakMap;var iC=t.i(298922);let ix=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class iP{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,blockInitialAnimation:s,visualState:r},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=ef,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=V.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,v.render(this.render,!1,!0))};const{latestValues:o,renderState:l}=r;this.latestValues=o,this.baseTarget={...o},this.initialValues=e.initial?{...o}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=(0,iC.isControllingVariants)(e),this.isVariantNode=(0,iC.isVariantNode)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in h){const e=h[t];void 0!==o[t]&&(0,P.isMotionValue)(e)&&e.set(o[t])}}mount(t){this.current=t,iM.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),iA.current||function(){if(iA.current=!0,iS.isBrowser)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>iV.current=t.matches;t.addEventListener("change",e),e()}else iV.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||iV.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),g(this.notifyUpdate),g(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=b.transformProps.has(t);n&&this.onBindTransform&&this.onBindTransform();let s=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&v.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{s(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in ib.featureDefinitions){let e=ib.featureDefinitions[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):iT()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<ix.length;e++){let i=ix[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}
1this.prevMotionValues=function(t,e,i){for(let n in e){let s=e[n],r=i[n];if((0,P.isMotionValue)(s))t.addValue(n,s);else if((0,P.isMotionValue)(r))t.addValue(n,C(s,{owner:t}));else if(r!==s)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(n);t.addValue(n,C(void 0!==e?e:s,{owner:t}))}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=C(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){let n,s;if("string"==typeof i&&(n=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(s=i,/^0[^.\s]+$/u.test(s))))i=parseFloat(i);else{let n;n=i,!ig.find(ii(n))&&ts.test(e)&&(i=ic(t,e))}this.setBaseTarget(t,(0,P.isMotionValue)(i)?i.get():i)}return(0,P.isMotionValue)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=(0,u.resolveVariantFromProps)(this.props,i,this.presenceContext?.custom);n&&(e=n[t])}if(i&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||(0,P.isMotionValue)(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new T),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){iy.render(this.render)}}class ik extends iP{constructor(){super(...arguments),this.KeyframeResolver=iv}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,P.isMotionValue)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}var iF=t.i(358768);function iE(t,{style:e,vars:i},n,s){let r,a=t.style;for(r in e)a[r]=e[r];for(r in s?.applyProjectionStyles(a,n),i)a.setProperty(r,i[r])}var iO=t.i(432313);class iI extends ik{constructor(){super(...arguments),this.type="html",this.renderInstance=iE}readValueFromInstance(t,e){if(b.transformProps.has(e))return this.projection?.isProjecting?ei(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return en(i,e)})(t,e);{let i=window.getComputedStyle(t),n=((0,L.isCSSVariableName)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return function({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}build(t,e,i){(0,iF.buildHTMLStyles)(t,e,i.transformTemplate)}
1scrapeMotionValuesFromProps(t,e,i){return(0,iO.scrapeMotionValuesFromProps)(t,e,i)}}var iN=t.i(964600),iD=t.i(733203);let iR=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"]);var iL=t.i(450514),iB=t.i(925954);class iK extends ik{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=iT}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(b.transformProps.has(e)){let t=ip(e);return t&&t.default||0}return e=iR.has(e)?e:(0,iN.camelToDash)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return(0,iB.scrapeMotionValuesFromProps)(t,e,i)}build(t,e,i){(0,iD.buildSVGAttrs)(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in iE(t,e,void 0,n),e.attrs)t.setAttribute(iR.has(i)?i:(0,iN.camelToDash)(i),e.attrs[i])}mount(t){this.isSVGTag=(0,iL.isSVGTag)(t.tagName),super.mount(t)}}var ij=t.i(944966);t.s(["domAnimation",0,{renderer:(t,e)=>(0,ij.isSVGComponent)(t)?new iK(e):new iI(e,{allowProjection:t!==s.Fragment}),animation:{Feature:class extends eY{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>eL(t,e,i)));else if("string"==typeof e)n=eL(t,e,i);else{let s="function"==typeof e?h(t,e,i.custom):e;n=Promise.all(eD(t,s,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=ez(),n=!0,s=e=>(i,n)=>{let s=h(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(s){let{transition:t,transitionEnd:e,...n}=s;i={...i,...n,...e}}return i};function r(r){let{props:a}=t,o=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<e$;t++){let n=ej.variantProps[t],s=e.props[n];((0,eK.isVariantLabel)(s)||!1===s)&&(i[n]=s)}return i}(t.parent)||{},u=[],d=new Set,p={},c=1/0;for(let e=0;e<eq;e++){var m,f;let v=eU[e],g=i[v],y=void 0!==a[v]?a[v]:o[v],b=(0,eK.isVariantLabel)(y),w=v===r?g.isActive:null;!1===w&&(c=e);let T=y===o[v]&&y!==a[v]&&b;if(T&&n&&t.manuallyAnimateOnMount&&(T=!1),g.protectedKeys={...p},!g.isActive&&null===w||!y&&!g.prevProp||(0,l.isAnimationControls)(y)||"boolean"==typeof y)continue;let S=(m=g.prevProp,"string"==typeof(f=y)?f!==m:!!Array.isArray(f)&&!eB(f,m)),V=S||v===r&&g.isActive&&!T&&b||e>c&&b,A=!1,M=Array.isArray(y)?y:[y],C=M.reduce(s(v),{});!1===w&&(C={});let{prevResolvedValues:P={}}=g,k={...P,...C},F=e=>{V=!0,d.has(e)&&(A=!0,d.delete(e)),g.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in k){let e=C[t],i=P[t];if(!p.hasOwnProperty(t))(x(e)&&x(i)?eB(e,i):e===i)?void 0!==e&&d.has(t)?F(t):g.protectedKeys[t]=!0:null!=e?F(t):d.add(t)}g.prevProp=y,g.prevResolvedValues=C,g.isActive&&(p={...p,...C}),n&&t.blockInitialAnimation&&(V=!1);let E=T&&S,O=!E||A;V&&O&&u.push(...M.map(e=>{let i={type:v};if("string"==typeof e&&n&&!E&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,s=h(n,e);if(n.enteringChildren&&s){let{delayChildren:e}=s.transition||{};i.delay=eR(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(d.size){let e={};if("boolean"!=typeof a.initial){let i=h(t,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(e.transition=i.transition)}d.forEach(i=>{let n=t.getBaseTarget(i),s=t.getValue(i);s&&(s.liveStyle=!0),e[i]=n??null}),u.push({animation:e})}let v=!!u.length;return n&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(v=!1),n=!1,v?e(u):Promise.resolve()}return{animateChanges:r,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),i[e].isActive=n;let s=r(e);for(let t in i)i[t].protectedKeys={};return s},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=ez()}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,l.isAnimationControls)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends eY{constructor(){super(...arguments),this.id=eH++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>
1{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends eY{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:n,margin:s,amount:r="some",once:a}=i,o={root:n?n.current:void 0,rootMargin:s,threshold:"number"==typeof r?r:ie[r]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,a&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),s=e?i:n;s&&s(t)};return t=this.node.current,e=function({root:t,...e}){let i=t||document;e7.has(i)||e7.set(i,{});let n=e7.get(i),s=JSON.stringify(e);return n[s]||(n[s]=new IntersectionObserver(it,{root:t,...e})),n[s]}(o),e9.set(t,l),e.observe(t),()=>{e9.delete(t),e.unobserve(t)}}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends eY{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,s,r]=e_(t,i),a=t=>{let n=t.currentTarget;if(!e4(t))return;e3.add(n);let r=e(n,t),a=(t,e)=>{window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",l),e3.has(n)&&e3.delete(n),e4(t)&&"function"==typeof r&&r(t,{success:e})},o=t=>{a(t,n===window||n===document||i.useGlobalTarget||e0(n,t.target))},l=t=>{a(t,!1)};window.addEventListener("pointerup",o,s),window.addEventListener("pointercancel",l,s)};return n.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",a,s),(0,eQ.isHTMLElement)(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=e2(()=>{if(e3.has(i))return;e5(i,"down");let t=e2(()=>{e5(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>e5(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,s)),e1.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),r}(t,(t,e)=>(e6(this.node,e,"Start"),(t,{success:e})=>e6(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends eY{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=O(eJ(this.node.current,"focus",()=>this.onFocus()),eJ(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends eY{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,s,r]=e_(t,i),a=t=>{if(!eG(t))return;let{target:i}=t,n=e(i,t);if("function"!=typeof n||!i)return;let r=t=>{eG(t)&&(n(t),i.removeEventListener("pointerleave",r))};i.addEventListener("pointerleave",r,s)};return n.forEach(t=>{t.addEventListener("pointerenter",a,s)}),r}(t,(t,e)=>(eZ(this.node,e,"Start"),t=>eZ(this.node,t,"End"))))}unmount(){}}}}],962607)}]);
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.