1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,358194,e=>{"use strict";let t;var r=e.i(843476);e.i(272628);var i=e.i(747016),n=e.i(247167);let s=()=>{},a=()=>{};function o(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}n.default;let l=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],u=new Set([...l,"pathRotation"]),h=new Set(["width","height","top","left","right","bottom",...l]);class c{constructor(){this.subscriptions=[]}add(e){var t;return t=this.subscriptions,-1===t.indexOf(e)&&t.push(e),()=>this.remove(e)}remove(e){o(this.subscriptions,e)}notify(e,t,r){let i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](e,t,r);else for(let n=0;n<i;n++){let i=this.subscriptions[n];i&&i(e,t,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let d=(e,t)=>t?1e3/t*e:0,f={},p=e=>e,m=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],{schedule:g,cancel:y,state:v}=function(e,t){let r=!1,i=!0,n={delta:0,timestamp:0,isProcessing:!1},s=()=>r=!0,a=m.reduce((e,t)=>(e[t]=function(e){let t=new Set,r=new Set,i=!1,n=!1,s=new Set,a={delta:0,timestamp:0,isProcessing:!1};function o(t){s.has(t)&&(r.add(t),e()),t(a)}let l={schedule:(e,n=!1,a=!1)=>{let o=a&&i?t:r;return n&&s.add(e),o.add(e),e},cancel:e=>{r.delete(e),s.delete(e)},process:e=>{if(a=e,i){n=!0;return}i=!0;let s=t;t=r,r=s,t.forEach(o),t.clear(),i=!1,n&&(n=!1,l.process(e))}};return l}(s),e),{}),{setup:o,read:l,resolveKeyframes:u,preUpdate:h,update:c,preRender:d,render:p,postRender:g}=a,y=()=>{let s=f.useManualTiming,a=s?n.timestamp:performance.now();r=!1,s||(n.delta=i?1e3/60:Math.max(Math.min(a-n.timestamp,40),1)),n.timestamp=a,n.isProcessing=!0,o.process(n),l.process(n),u.process(n),h.process(n),c.process(n),d.process(n),p.process(n),g.process(n),n.isProcessing=!1,r&&t&&(i=!1,e(y))};return{schedule:m.reduce((t,s)=>{let o=a[s];return t[s]=(t,s=!1,a=!1)=>(!r&&(r=!0,i=!0,n.isProcessing||e(y)),o.schedule(t,s,a)),t},{}),cancel:e=>{for(let t=0;t<m.length;t++)a[m[t]].cancel(e)},state:n,steps:a}}("u">typeof requestAnimationFrame?requestAnimationFrame:p,!0);function b(){t=void 0}let w={now:()=>(void 0===t&&w.set(v.isProcessing||f.useManualTiming?v.timestamp:performance.now()),t),set:e=>{t=e,queueMicrotask(b)}},x;class k{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=w.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.notifyChange(),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=w.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){var r;return"change"===e?this.onChangeSubscribe(t):((r=this.events)[e]||(r[e]=new c)).add(t)}onChangeSubscribe(e){let{events:t}=this;return t.change||this.changeSubscriber?(t.change||(t.change=new c,t.change.add(this.changeSubscriber),this.changeSubscriber=void 0),t.change.add(e)):this.changeSubscriber=e,()=>{this.changeSubscriber===e?this.changeSubscriber=void 0:t.change?.remove(e),this.stopIfUnobserved()}}stopIfUnobserved(){g.read(()=>{this.changeSubscriber||this.events.change?.getSize()||this.stop()})}clearListeners(){for(let e in this.changeSubscriber=void 0,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,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}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.notifyChange()}notifyChange(){let{current:e,changeSubscriber:t}=this;t?t(e):this.events.change?.notify(e)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return x&&x.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=w.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return d(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{let r;this.hasAnimated=!0;let i=!1;r=e(()=>{i=!0,this.events.animationComplete?.notify(),this.animation===r&&this.clearAnimation(),t()}),i||(this.animation=r),this.events.animationStart?.notify()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){this.animation=void 0}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}let M=e=>1e3*e,T=(...e)=>e.reduce((e,t)=>
1r=>t(e(r))),A=(e,t,r)=>r>t?t:r<e?e:r,S=e=>Math.round(1e5*e)/1e5,C=e=>"string"==typeof e&&e.startsWith("var(--"),P=e=>!!C(e)&&E.test(e.split("/*")[0].trim()),E=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function R(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}let O={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},F={...O,transform:e=>A(0,1,e)},j={...O,default:1},D=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,I=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,N=(e,t)=>r=>!!("string"==typeof r&&I.test(r)&&r.startsWith(e)||t&&null!=r&&Object.prototype.hasOwnProperty.call(r,t)),V=(e,t,r)=>i=>{if("string"!=typeof i)return i;let[n,s,a,o]=i.match(D);return{[e]:parseFloat(n),[t]:parseFloat(s),[r]:parseFloat(a),alpha:void 0!==o?parseFloat(o):1}},$={...O,transform:e=>Math.round(A(0,255,e))},W={test:N("rgb","red"),parse:V("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:i=1})=>"rgba("+$.transform(e)+", "+$.transform(t)+", "+$.transform(r)+", "+S(F.transform(i))+")"},X={test:N("#"),parse:function(e){let t="",r="",i="",n="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),i=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),i=e.substring(3,4),n=e.substring(4,5),t+=t,r+=r,i+=i,n+=n),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(i,16),alpha:n?parseInt(n,16)/255:1}},transform:W.transform},K=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),B=K("deg"),Y=K("%"),L=K("px"),_=K("vh"),q=K("vw"),U={...Y,parse:e=>Y.parse(e)/100,transform:e=>Y.transform(100*e)},z={test:N("hsl","hue"),parse:V("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:i=1})=>"hsla("+Math.round(e)+", "+Y.transform(S(t))+", "+Y.transform(S(r))+", "+S(F.transform(i))+")"},Z={test:e=>W.test(e)||X.test(e)||z.test(e),parse:e=>W.test(e)?W.parse(e):z.test(e)?z.parse(e):X.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?W.transform(e):z.transform(e),getAnimatableNone:e=>{let t=Z.parse(e);return t.alpha=0,Z.transform(t)}},G=new RegExp(D.source),H=RegExp(/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu.source,"i"),J="number",Q="color",ee=/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 et(e){let t=e.toString(),r=[],i={color:[],number:[],var:[]},n=[],s=0,a=t.replace(ee,e=>(Z.test(e)?(i.color.push(s),n.push(Q),r.push(Z.parse(e))):e.startsWith("var(")?(i.var.push(s),n.push("var"),r.push(e)):(i.number.push(s),n.push(J),r.push(parseFloat(e))),++s,"${}")).split("${}");return{values:r,split:a,indexes:i,types:n}}function er({split:e,types:t}){let r=e.length;return i=>{let n="";for(let s=0;s<r;s++)if(n+=e[s],void 0!==i[s]){let e=t[s];e===J?n+=S(i[s]):e===Q?n+=Z.transform(i[s]):n+=i[s]}return n}}let ei={test:function(e){return isNaN(e)&&"string"==typeof e&&(G.test(e)||H.test(e))},parse:function(e){return et(e).values},createTransformer:function(e){return er(et(e))},getAnimatableNone:function(e){let t=et(e);return er(t)(t.values.map((e,r)=>((e,t)=>"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof e?0:Z.test(e)?Z.getAnimatableNone(e):e)(e,t.split[r])))}};function en(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function es(e,t){return r=>r>0?t:e}let ea=(e,t,r)=>e+(t-e)*r,eo=(e,t,r)=>{let i=e*e,n=r*(t*t-i)+i;return n<0?0:Math.sqrt(n)},el=[X,W,z];function eu(e){let t=el.find(t=>t.test(e));if(!t)return s(`'${e}' is not an animatable color. Use the equivalent color code instead.`),!1;let r=t.parse(e);return t===z&&(r=function({hue:e,saturation:t,lightness:r,alpha:i}){e/=360,r/=100;let n=0,s=0,a=0;if(t/=100){let i=r<.5?r*(1+t):r+t-r*t,o=2*r-i;n=en(o,i,e+1/3),s=en(o,i,e),a=en(o,i,e-1/3)}else n=s=a=r;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*a),alpha:i}}(r)),r}let eh=(e,t)=>{let r=eu(e),i=eu(t);if(!r||!i)return es(e,t);let n={...r};return e=>(n.red=eo(r.red,i.red,e),n.green=eo(r.green,i.green,e),n.blue=eo(r.blue,i.blue,e),n.alpha=ea(r.alpha,i.alpha,e),W.transform(n))},ec=new Set(["none","hidden"]);function ed(e,t){return r=>ea(e,t,r)}function ef(e){return"number"==typeof e?ed:"string"==typeof e?P(e)?es:Z.test(e)?eh:eg:Array.isArray(e)?ep:"object"==typeof e?Z.test(e)?eh:em:es}function ep(e,t){let r=[...e],i=r.length,n=e.map((e,r)=>ef(e)(e,t[r]));return e=>{for(let t=0;t<i;t++)r[t]=n[t](e);return r}}function em(e,t){let r={...e,...t},i={};for(let n in r)void 0!==e[n]&&void 0!==t[n]&&(i[n]=ef(e[n])(e[n],t[n]));return e=>{for(let t in i)r[t]=i[t](e);return r}}let eg=(e,t)=>{let r=ei.createTransformer(t),i=et(e),n=et(t);if(!(i.indexes.var.length===n.indexes.var.length&&i.indexes.color.length===n.indexes.color.length&&i.indexes.number.length>=n.indexes.number.length))return s(`Complex values '${e}' and '${t}
1' 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.`),es(e,t);if(ec.has(e)&&!n.values.length||ec.has(t)&&!i.values.length)return ec.has(e)?r=>r<=0?e:t:r=>r>=1?t:e;return T(ep(function(e,t){let r=[],i={color:0,var:0,number:0};for(let n=0;n<t.values.length;n++){let s=t.types[n],a=e.indexes[s][i[s]],o=e.values[a]??0;r[n]=o,i[s]++}return r}(i,n),n.values),r)},ey=/^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;function ev(e,t,r){if("number"==typeof e&&"number"==typeof t&&"number"==typeof r)return ea(e,t,r);if("string"==typeof e&&"string"==typeof t){let r=function(e,t){let r=ey.exec(e);if(!r)return;let i=ey.exec(t);if(!i||r[2]!==i[2])return;let n=r[2],s=parseFloat(r[1]),a=parseFloat(i[1]);return e=>S(ea(s,a,e))+n}(e,t);if(r)return r}return ef(e)(e,t)}let eb=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>g.update(t,e),stop:()=>y(t),now:()=>v.isProcessing?v.timestamp:w.now()}},ew=(e,t,r=10)=>{let i="",n=Math.max(Math.round(t/r),2);for(let t=0;t<n;t++)i+=Math.round(1e4*e(t/(n-1)))/1e4+", ";return`linear(${i.substring(0,i.length-2)})`};function ex(e,t=50,r=2e4,i){let n=0,s=e.next(n);for(i?.push(s.value);!s.done&&n<r;)n+=t,s=e.next(n),i?.push(s.value);return n>=r?1/0:n}function ek(e,t=100,r){let i=r({...e,keyframes:[0,t]}),n=Math.min(ex(i),2e4);return{type:"keyframes",ease:e=>i.next(n*e).value/t,duration:n/1e3}}let eM=.01,eT=2,eA=.005,eS=.5;function eC(e,t){return e*Math.sqrt(1-t*t)}let eP=["duration","bounce"],eE=["stiffness","damping","mass"];function eR(e,t){return t.some(t=>void 0!==e[t])}function eO(e=.3,t=.3){let r,i,n,a="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,o=a.keyframes[0],l=a.keyframes[a.keyframes.length-1],u={done:!1,value:o},{stiffness:h,damping:c,mass:d,duration:f,velocity:p,isResolvedFromDuration:m}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!eR(e,eE)&&eR(e,eP))if(t.velocity=0,e.visualDuration){let r=2*Math.PI/(1.2*e.visualDuration),i=r*r,n=2*A(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:1,stiffness:i,damping:n}}else{let r=function({duration:e=800,bounce:t=.3,velocity:r=0,mass:i=1}){let n,a;s(M(10));let o=1-t;o=A(.05,1,o),e=A(.01,10,e/1e3),o<1?(n=t=>{let i=t*o,n=i*e;return .001-(i-r)/eC(t,o)*Math.exp(-n)},a=t=>{let i=t*o*e,s=o*o*t*t*e,a=Math.exp(-i),l=eC(t*t,o);return(i*r+r-s)*a*(-n(t)+.001>0?-1:1)/l}):(n=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),a=t=>e*e*(r-t)*Math.exp(-t*e));let l=function(e,t,r){let i=r;for(let r=1;r<12;r++)i-=e(i)/t(i);return i}(n,a,5/e);if(e=M(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{let t=l*l*i;return{stiffness:t,damping:2*o*Math.sqrt(i*t),duration:e}}}({...e,velocity:0});(t={...t,...r,mass:1}).isResolvedFromDuration=!0}return t}({...a,velocity:-((a.velocity||0)/1e3)}),g=c/(2*Math.sqrt(h*d)),y=Math.sqrt(h/d)/1e3,v=g*y,b={target:l,delta:l-o,velocity:p||0,restSpeed:0,restDelta:0},w=()=>{let e=5>Math.abs(b.delta);b.restSpeed=a.restSpeed||(e?eM:eT),b.restDelta=a.restDelta||(e?eA:eS)};if(w(),g<1){let e=eC(y,g),t={A:0,sinC:0,cosC:0,t:-1,env:0,sin:0,cos:0};n=()=>{t.A=(b.velocity+v*b.delta)/e,t.sinC=v*t.A+b.delta*e,t.cosC=v*b.delta-t.A*e};let s=r=>{r!==t.t&&(t.t=r,t.env=Math.exp(-v*r),t.sin=Math.sin(e*r),t.cos=Math.cos(e*r))};r=e=>(s(e),b.target-t.env*(t.A*t.sin+b.delta*t.cos)),i=e=>(s(e),t.env*(t.sinC*t.sin+t.cosC*t.cos))}else if(1===g){r=e=>b.target-Math.exp(-y*e)*(b.delta+(b.velocity+y*b.delta)*e);let e={C:0};n=()=>{e.C=b.velocity+y*b.delta},i=t=>Math.exp(-y*t)*(y*e.C*t-b.velocity)}else{let e=y*Math.sqrt(g*g-1);r=t=>{let r=Math.exp(-v*t),i=Math.min(e*t,300);return b.target-r*((b.velocity+v*b.delta)*Math.sinh(i)+e*b.delta*Math.cosh(i))/e};let t={P:0,sinh:0,cosh:0};n=()=>{t.P=(b.velocity+v*b.delta)/e,t.sinh=v*t.P-b.delta*e,t.cosh=v*b.delta-t.P*e},i=r=>{let i=Math.exp(-v*r),n=Math.min(e*r,300);return i*(t.sinh*Math.sinh(n)+t.cosh*Math.cosh(n))}}n();let x=!eR(a,eE)&&eR(a,eP),k=m&&f||null,T={calculatedDuration:k,retarget:(e,t)=>{b.target=e[e.length-1],b.delta=b.target-e[0],b.velocity=x?0:-(t/1e3),a.restSpeed&&a.restDelta||w(),T.calculatedDuration=k,u.done=!1,n()},velocity:e=>M(i(e)),next:e=>{let t=r(e);return m?u.done=e>=f:u.done=Math.abs(M(i(e)))<=b.restSpeed&&Math.abs(b.target-t)<=b.restDelta,u.value=u.done?b.target:t,u},toString:()=>{let e=Math.min(ex(T),2e4),t=ew(t=>T.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return T}function eF({keyframes:e,velocity:t=0,power:r=.8,timeConstant:i=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:a,min:o,max:l,restDelta:u=.5,restSpeed:h}){let c,d,f=e[0],p={done:!1,value:f},m=r*t,g=f+m,y=void 0===a?g:a(g);y!==g&&(m=y-f);let v=e=>-m*Math.exp(-e/i),b=e=>{let t=v(e);p.done=Math.abs(t)<=u,p.value=p.done?y:y+t},w=e=>{let t;if((t=p.value)<o||t>l){var r;c=e,d=eO({keyframes:[p.value,(r=p.value,void 0===o?l:void 0===l||Math.abs(o-r)<Math.abs(l-r)?o:l)],velocity:-v(e)/i*1e3,damping:n,stiffness:s,restDelta:u,restSpeed:h})}};return w(0),{calculatedDuration:null,next:e=>{let t=!1;return(d||void 0!==c||(t=!0,b(e),w(e)),void 0!==c&&e>
1=c)?d.next(e-c):(t||b(e),p)}}}eO.applyToOptions=e=>{let t=ek(e,100,eO);return e.ease=t.ease,e.duration=M(t.duration),e.type="keyframes",e};let ej=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function eD(e,t,r,i){return e===t&&r===i?p:n=>0===n||1===n?n:ej(function(e,t,r,i,n){let s,a,o=0;do(s=ej(a=t+(r-t)/2,i,n)-e)>0?r=a:t=a;while(Math.abs(s)>1e-7&&++o<12)return a}(n,0,1,e,r),t,i)}let eI=eD(.42,0,1,1),eN=eD(0,0,.58,1),eV=eD(.42,0,.58,1),e$=e=>Array.isArray(e)&&"number"!=typeof e[0],eW=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,eX=e=>t=>1-e(1-t),eK=eD(.33,1.53,.69,.99),eB=eX(eK),eY=eW(eB),eL=e=>e>=1?1:(e*=2)<1?.5*eB(e):.5*(2-Math.pow(2,-10*(e-1))),e_=e=>1-Math.sin(Math.acos(e)),eq=eX(e_),eU=eW(e_),ez=e=>Array.isArray(e)&&"number"==typeof e[0],eZ={linear:p,easeIn:eI,easeInOut:eV,easeOut:eN,circIn:e_,circInOut:eU,circOut:eq,backIn:eB,backInOut:eY,backOut:eK,anticipate:eL},eG=e=>{if(ez(e)){a(e.length);let[t,r,i,n]=e;return eD(t,r,i,n)}return"string"==typeof e?(a(eZ[e],`Invalid easing type '${e}'`),eZ[e]):e},eH=(e,t,r)=>{let i=t-e;return i?(r-e)/i:1};function eJ(e,t){let r=e[e.length-1];for(let i=1;i<=t;i++){let n=eH(0,t,i);e.push(ea(r,1,n))}}function eQ(e){let t=[0];return eJ(t,e.length-1),t}function e0({duration:e=300,keyframes:t,times:r,ease:i="easeInOut"}){var n;let s=e$(i)?i.map(eG):eG(i),o={done:!1,value:t[0]};if(2===t.length&&!Array.isArray(s)&&(!r||2!==r.length||0===r[0]&&1===r[1])){let[r,i]=t,n=r===i?void 0:(f.mix||ev)(r,i);return{calculatedDuration:e,next:t=>(o.value=n?n(s(e>0?A(0,1,t/e):1)):i,o.done=t>=e,o)}}let l=function(e,t,{clamp:r=!0,ease:i,mixer:n}={}){let s=e.length;if(a(t.length),1===s)return()=>t[0];if(2===s&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());let l=function(e,t,r){let i=[],n=r||f.mix||ev,s=e.length-1;for(let r=0;r<s;r++){let s=n(e[r],e[r+1]);t&&(s=T(Array.isArray(t)?t[r]||p:t,s)),i.push(s)}return i}(t,i,n),u=l.length,h=r=>{if(o&&r<e[0])return t[0];let i=0;if(u>1)for(;i<e.length-2&&!(r<e[i+1]);i++);let n=eH(e[i],e[i+1],r);return l[i](n)};return r?t=>h(A(e[0],e[s-1],t)):h}((n=r&&r.length===t.length?r:eQ(t),n.map(t=>t*e)),t,{ease:Array.isArray(s)?s:t.map(()=>s||eV).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(o.value=l(t),o.done=t>=e,o)}}let e1=e=>null!==e;function e2(e,{repeat:t,repeatType:r="loop"},i,n=1){let s=e.filter(e1),a=n<0||t&&"loop"!==r&&t%2==1?0:s.length-1;return a&&void 0!==i?i:s[a]}let e5={decay:eF,inertia:eF,tween:e0,keyframes:e0,spring:eO};function e3(e){"string"==typeof e.type&&(e.type=e5[e.type])}function e4(e,t,r){let i=globalThis.__MOTION_INSPECT__;if(i)try{i({...{kind:"animation-start",animation:e,timestamp:w.now(),frameTimestamp:v.timestamp,frameIsProcessing:v.isProcessing},options:r?{...t,...r}:t})}catch{}}class e6{constructor(){this.isResolved=!1}get finished(){return this._finished||(this._finished=this.isResolved?Promise.resolve():new Promise(e=>{this._resolve=e})),this._finished}updateFinished(){this._finished=this._resolve=void 0,this.isResolved=!1}notifyFinished(){this.isResolved=!0,this._resolve?.()}then(e,t){return this.finished.then(e,t)}}let e7=e=>e/100;class e8 extends e6{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!==w.now()&&this.tick(w.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause(),e4(this,this.options)}initAnimation(){let{options:e}=this;e3(e);let{type:t=e0,repeat:r=0,repeatDelay:i=0,repeatType:n,velocity:s=0}=e,{keyframes:a}=e,o=t||e0;o!==e0&&"number"!=typeof a[0]&&(this.mixKeyframes=T(e7,ev(a[0],a[1])),a=[0,100]);let l=o(a===e.keyframes?e:{...e,keyframes:a});"mirror"===n&&(this.mirroredGenerator=o({...e,keyframes:[...a].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=ex(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+i,this.totalDuration=this.resolvedDuration*(r+1)-i,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 r,{generator:i,totalDuration:n,mixKeyframes:s,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:l}=this;if(null===this.startTime)return i.next(0);let{delay:u=0,keyframes:h,repeat:c,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-n/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let y=this.currentTime-u*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?y<0:y>n;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let b=this.currentTime,w=i;if(c){let e=Math.min(this.currentTime,n)/o,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,(t=Math.min(t,c+1))%2&&("reverse"===d?(r=1-r,f&&(r-=f/o)):"mirror"===d&&(w=a)),b=A(0,1,r)*o}v?(this.delayState.value=h[0],r=this.delayState):r=w.next(b),s&&!v&&(r.value=s(r.value));let{done:x}=r;v||null===l||(x=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let k=null===this.holdTime&&("finished"===this.state||"running"===this.state&&x);return k&&p!==eF&&(r.value=e2(h,this.options,g,this.speed)),m&&m(r.value),k&&this.finish(),r}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=M(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(){return function(e,t,r=0){var i,n;let s;return t<=0?r:e.velocity?e.velocity(t):(i=t=>
1e.next(t).value,n=e.next(t).value,d(n-i(s=Math.max(t-5,0)),t-s))}(this.generator,this.currentTime,this.options.velocity)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(w.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:e=eb,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let r=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=r):null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime||(this.startTime=t??r),"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(w.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(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 e9=new Set(["brightness","contrast","saturate","opacity"]);function te(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[i]=r.match(D)||[];if(!i)return e;let n=r.replace(i,""),s=+!!e9.has(t);return i!==r&&(s*=100),t+"("+s+n+")"}let tt=/\b([a-z-]*)\(.*?\)/gu,tr={...ei,getAnimatableNone:e=>{let t=e.match(tt);return t?t.map(te).join(" "):e}},ti={...ei,getAnimatableNone:e=>{let t=ei.parse(e);return ei.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},tn={...O,transform:Math.round},ts={rotate:B,pathRotation:B,rotateX:B,rotateY:B,rotateZ:B,scale:j,scaleX:j,scaleY:j,scaleZ:j,skew:B,skewX:B,skewY:B,distance:L,translateX:L,translateY:L,translateZ:L,x:L,y:L,z:L,perspective:L,transformPerspective:L,opacity:F,originX:U,originY:U,originZ:L},ta={borderWidth:L,borderTopWidth:L,borderRightWidth:L,borderBottomWidth:L,borderLeftWidth:L,borderRadius:L,borderTopLeftRadius:L,borderTopRightRadius:L,borderBottomRightRadius:L,borderBottomLeftRadius:L,width:L,maxWidth:L,height:L,maxHeight:L,top:L,right:L,bottom:L,left:L,inset:L,insetBlock:L,insetBlockStart:L,insetBlockEnd:L,insetInline:L,insetInlineStart:L,insetInlineEnd:L,padding:L,paddingTop:L,paddingRight:L,paddingBottom:L,paddingLeft:L,paddingBlock:L,paddingBlockStart:L,paddingBlockEnd:L,paddingInline:L,paddingInlineStart:L,paddingInlineEnd:L,margin:L,marginTop:L,marginRight:L,marginBottom:L,marginLeft:L,marginBlock:L,marginBlockStart:L,marginBlockEnd:L,marginInline:L,marginInlineStart:L,marginInlineEnd:L,fontSize:L,backgroundPositionX:L,backgroundPositionY:L,...ts,zIndex:tn,fillOpacity:F,strokeOpacity:F,numOctaves:tn},to={...ta,color:Z,backgroundColor:Z,outlineColor:Z,fill:Z,stroke:Z,borderColor:Z,borderTopColor:Z,borderRightColor:Z,borderBottomColor:Z,borderLeftColor:Z,filter:tr,WebkitFilter:tr,mask:ti,WebkitMask:ti},tl=new Set([tr,ti]);function tu(e,t){let r=to[e];return tl.has(r)||(r=ei),r.getAnimatableNone?r.getAnimatableNone(t):void 0}let th=e=>180*e/Math.PI,tc=e=>tf(th(Math.atan2(e[1],e[0]))),td={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:tc,rotateZ:tc,skewX:e=>th(Math.atan(e[1])),skewY:e=>th(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},tf=e=>((e%=360)<0&&(e+=360),e),tp=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),tm=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),tg={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tp,scaleY:tm,scale:e=>(tp(e)+tm(e))/2,rotateX:e=>tf(th(Math.atan2(e[6],e[5]))),rotateY:e=>tf(th(Math.atan2(-e[2],e[0]))),rotateZ:tc,rotate:tc,skewX:e=>th(Math.atan(e[4])),skewY:e=>th(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function ty(e){return+!!e.includes("scale")}function tv(e,t){let r,i;if(!e||"none"===e)return ty(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)r=tg,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=td,i=t}if(!i)return ty(t);let s=r[t],a=i[1].split(",").map(tb);return"function"==typeof s?s(a):a[s]}function tb(e){return parseFloat(e.trim())}let tw=e=>e===O||e===L,tx=new Set(["x","y","z"]),tk=l.filter(e=>!tx.has(e)),tM=new Set(["bottom","right"]);function tT(e,t,r,i,n,s){let a=parseFloat(e);
1if(!isNaN(a))return a;let{min:o,max:l}=t()[r],u=l-o;return"border-box"===s?u:u-parseFloat(i)-parseFloat(n)}let tA={width:({width:e,paddingLeft:t="0",paddingRight:r="0",boxSizing:i},n)=>tT(e,n,"x",t,r,i),height:({height:e,paddingTop:t="0",paddingBottom:r="0",boxSizing:i},n)=>tT(e,n,"y",t,r,i),top:({top:e})=>parseFloat(e),left:({left:e})=>parseFloat(e),bottom:({top:e},t)=>{let{y:r}=t();return parseFloat(e)+(r.max-r.min)},right:({left:e},t)=>{let{x:r}=t();return parseFloat(e)+(r.max-r.min)},x:({transform:e})=>tv(e,"x"),y:({transform:e})=>tv(e,"y")};tA.translateX=tA.x,tA.translateY=tA.y;let tS=new Set,tC=!1,tP=!1,tE=!1;function tR(){if(tP){let e=[],t=new Set,r=new Set;tS.forEach(i=>{i.needsMeasurement&&(e.push(i),t.add(i.element),tM.has(i.name)&&r.add(i.element))});let i=new Map;r.forEach(e=>{let t,r=(t=[],tk.forEach(r=>{let i=e.getValue(r);if(void 0!==i){let e=i.get(),n=+!!r.startsWith("scale");if(e===n)return;t.push([r,e]),i.set(n)}}),t);r.length&&(i.set(e,r),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=i.get(e);t&&t.forEach(([t,r])=>{e.getValue(t)?.set(r)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}tP=!1,tC=!1,tS.forEach(e=>e.complete(tE)),tS.clear()}function tO(){tS.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(tP=!0)})}class tF{constructor(e,t,r,i,n,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=i,this.element=n,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(tS.add(this),tC||(tC=!0,g.read(tO),g.resolveKeyframes(tR))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:r,motionValue:i}=this;if(null===e[0]){let n=i?.get(),s=e[e.length-1];if(void 0!==n)e[0]=n;else if(r&&t){let i=function(e,t,r){if("string"==typeof e){if(/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)||/^0[^.\s]+$/u.test(e))return parseFloat(e);if(!ei.test(e)&&ei.test(r))return tu(t,r)}return e??void 0}(r.readValue(t,s),t,s);void 0!==i&&(e[0]=i)}void 0===e[0]&&(e[0]=s),i&&void 0===n&&i.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),tS.delete(this)}cancel(){"scheduled"===this.state&&(tS.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}function tj(e,t,r){t.startsWith("--")?e.style.setProperty(t,r):e.style[t]=r}function tD(e){let t;return()=>(void 0===t&&(t=e()),t)}let tI={};function tN(e,t){let r=tD(e);return()=>tI[t]??r()}let tV=tN(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),t$=tN(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),tW=([e,t,r,i])=>`cubic-bezier(${e}, ${t}, ${r}, ${i})`,tX={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tW([0,.65,.55,1]),circOut:tW([.55,0,1,.45]),backIn:tW([.31,.01,.66,-.59]),backOut:tW([.33,1.53,.69,.99])};function tK(e){return"function"==typeof e&&"applyToOptions"in e}class tB extends e6{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:r,keyframes:i,pseudoElement:n,allowFlatten:s=!1,finalKeyframe:o,onComplete:l}=e;this.isPseudoElement=!!n,this.allowFlatten=s,this.options=e,a(e.type);const u=function({type:e,...t}){return tK(e)&&t$()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,r,{delay:i=0,duration:n=300,repeat:s=0,repeatType:a="loop",ease:o="easeOut",times:l}={},u){let h={[t]:r};l&&(h.offset=l);let c=function e(t,r){if(t)return"function"==typeof t?t$()?ew(t,r):"ease-out":ez(t)?tW(t):Array.isArray(t)?t.map(t=>e(t,r)||tX.easeOut):tX[t]}(o,n);Array.isArray(c)&&(h.easing=c);let d={delay:i,duration:n,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===a?"alternate":"normal"};return u&&(d.pseudoElement=u),e.animate(h,d)}(t,r,i,u,n),!1===u.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let e=e2(i,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),tj(t,r,e),this.animation.cancel()}l?.(),this.notifyFinished()},e4(this,e,u)}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=M(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:r,observe:i}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&tV())?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),r&&(this.animation.rangeEnd=r),p):i(this)}}let tY={anticipate:eL,backInOut:eY,circInOut:eU};class tL extends tB{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in tY&&(e.ease=tY[e.ease])}(e),e3(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:r,onComplete:i,element:n,...s}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let a=new e8({...s,autoplay:!1}),o=Math.max(10,w.now()-this.startTime),l=A(0,10,o-10),u=a.sample(o).value,{name:h}=this.options;n&&h&&tj(n,h,u),t.setWithVelocity(a.sample(Math.max(0,o-l)).value,u,l),a.stop()}}let t_=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(ei.test(e)||"0"===e)&&!e.startsWith("url("));function tq(e){e.duration=0,e.type="keyframes"}let tU=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),tz=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,tZ=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),tG=tD(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class tH extends e6{constructor(e){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=w.now();const{keyframes:t,name:r,motionValue:i,element:n}=e;e.autoplay??(e.autoplay=!0),e.delay??(e.delay=0),e.type??(e.type="keyframes"),e.repeat??(e.repeat=0),e.repeatDelay??(e.repeatDelay=0),e.repeatType??(e.repeatType="loop");const s=n?.KeyframeResolver||tF;this.keyframeResolver=new s(t,(t,r,i)=>this.onKeyframesResolved(t,r,e,!i),r,i,n),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,r,i){let n;this.keyframeResolver=void 0;let{name:a,type:o,velocity:l,delay:u,isHandoff:h,onUpdate:c}=r;this.resolvedAt=w.now();let d=!0;!function(e,t,r,i){let n=e[0];if(null===n)return!1;if("display"===t||"visibility"===t)return!0;let a=e[e.length-1],o=t_(n,t),l=t_(a,t);return o&&l?function(e){let t=e[0];if(1===e.length)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}(e)||("spring"===r||tK(r))&&i:(o!==l&&s(`You are trying to animate ${t} from "${n}" to "${a}". "${o?a:n}" is not an animatable value.`),!1)}(e,a,o,l)&&(d=!1,(f.instantAnimations||!u)&&c?.(e2(e,r,t)),e[0]=e[e.length-1],tq(r),r.repeat=0);let p=i?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,{onComplete:m}=r;if(r.startTime??(r.startTime=p),r.finalKeyframe=t,r.keyframes=e,r.onComplete=()=>{m?.(),this.notifyFinished()},d&&!h&&function(e){let{motionValue:t,name:r,repeatDelay:i,repeatType:n,damping:s,type:a,keyframes:o}=e;if(!r||!(tU.has(r)||tZ.has(r)))return!1;let l=t?.owner?.current;if(!(l instanceof HTMLElement)&&!(l instanceof SVGElement))return!1;
1let{onUpdate:u,transformTemplate:h}=t.owner.getProps();return tG()&&(tU.has(r)||tZ.has(r)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&tz.test(e[t]))return!0;return!1}(o))&&("transform"!==r||!h)&&!u&&!i&&"mirror"!==n&&0!==s&&"inertia"!==a}(r)){r.element=r.motionValue?.owner?.current;try{n=new tL(r)}catch{n=new e8(r)}}else n=new e8(r);this.pendingTimeline&&(this.stopTimeline=n.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=n}get finished(){return this._animation?this._animation.finished:super.finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),tE=!0,tO(),tR(),tE=!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 tJ={type:"spring",stiffness:500,damping:25,restSpeed:10},tQ={type:"keyframes",duration:.8},t0={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},t1=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),t2=(e,t,r,i={},n,s)=>a=>{let o,l=((o=i?.[e]??i?.default??i)!==i?function(e,t){if(e?.inherit&&t){let{inherit:r,...i}=e;return{...t,...i}}return e}(o,i):o)||{},h=l.delay||i.delay||0,{elapsed:c=0}=i;c-=M(h);let d={keyframes:Array.isArray(r)?r:[null,r],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:n};!function(e){for(let t in e)if(!t1.has(t))return!0;return!1}(l)&&Object.assign(d,((e,{keyframes:t})=>t.length>2?tQ:u.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:tJ:t0)(e,d)),d.duration&&(d.duration=M(d.duration)),d.repeatDelay&&(d.repeatDelay=M(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let p=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(tq(d),0===d.delay&&(p=!0)),(f.instantAnimations||f.skipAnimations||n?.shouldSkipAnimations||l.skipAnimations)&&(p=!0,tq(d),d.delay=0),d.allowFlatten=!l.type&&!l.ease,p&&!s&&void 0!==t.get()){let e=e2(d.keyframes,l);if(void 0!==e)return void g.update(()=>{d.onUpdate(e),d.onComplete()})}return l.isSync?new e8(d):new tH(d)},t5=[];function t3(e){o(t5,e)}function t4(e,t,r={},i){let n=[],{velocity:s}=r,a=r.reduceMotion??i?.shouldReduceMotion;for(let o in t){if("transition"===o||"transitionEnd"===o)continue;let l=t[o];if(void 0===l)continue;let u=e(o),c=u.get();if(void 0!==c&&!u.isAnimating()&&!Array.isArray(l)&&l===c&&!s){g.update(()=>u.set(l));continue}u.start(t2(o,u,l,a&&h.has(o)?{type:!1}:r,i)),u.animation&&n.push(u.animation)}let{transitionEnd:o}=t;if(o){let t=()=>g.update(()=>{for(let t in o)e(t).set(o[t])});n.length?Promise.all(n).then(t):t()}return n}function t6(e,t,r,i,n){return t4(i=>{let s=e.get(t,i);if(!s){let l;if(!n){var o;let n,s=r[i];l=(null===(n=Array.isArray(o=s)?o[0]:void 0)?void 0:n)??e.read(t,i,s),a(`"${i}" can't be read from the animated subject. Provide [from, to] keyframes.`)}e(t,{[i]:s=new k(l,{owner:n})})}return s},r,i,n)}class t7{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let r=0;r<this.animations.length;r++)this.animations[r][e]=t}attachTimeline(e){let t=this.animations.map(t=>t.attachTimeline(e));return()=>{t.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return t8(this.animations,"duration")}get iterationDuration(){return t8(this.animations,"iterationDuration")}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function t8(e,t){let r=0;for(let i=0;i<e.length;i++){let n=e[i][t];null!==n&&n>r&&(r=n)}return r}class t9 extends t7{then(e,t){return this.finished.finally(e).then(()=>{})}}let re=e=>!!(e&&e.getVelocity);function rt(e,t){var r;let i;return e$(e)?e[r=e.length,((t-0)%(i=r-0)+i)%i+0]:e}function rr(e){return"object"==typeof e&&!Array.isArray(e)}function ri(e,t,r,i){if(null==e)return[];if("string"==typeof e&&rr(t)){var n=e,s=r,a=i;if(null==n)return[];if(n instanceof EventTarget)return[n];if("string"==typeof n){let e=document;s&&(e=s.current);let t=a?.[n]??e.querySelectorAll(n);return t?Array.from(t):[]}return Array.from(n).filter(e=>null!=e)}return e instanceof NodeList?Array.from(e):Array.isArray(e)?e.filter(e=>null!=e):[e]}function rn(e,t,r,i){return"number"==typeof t?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):"<"===t?r:t.startsWith("<")?Math.max(0,r+parseFloat(t.slice(1))):i.get(t)??e}function rs(e,t){return e.at!==t.at?e.at-t.at:null===e.value?1:null===t.value?-1:0}function ra(e,t){return t.has(e)||t.set(e,{}),t.get(e)}function ro(e,t){return t[e]||(t[e]=[]),t[e]}let rl=e=>"number"==typeof e,ru=e=>e.every(rl),rh=e=>"object"==typeof e&&null!==e;function rc(e){return rh(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}function rd(e){return rh(e)&&"ownerSVGElement"in e}let rf=(e,t)=>t&&"number"==typeof e?t.transform(e):e;class rp{constructor(e=g.render){this.step=e,this.values=new Map,this.pending=[],this.numPending=0,this.flush=()=>{let{pending:e,numPending:t}=this;this.numPending=0;for(let r=0;r<t;r++)e[r]()}}
1set(e,t,r,i){if(this.values.get(e)?.onRemove(),i)for(let e of this.values.values())e.value===i&&(r=e.render);let n=()=>r&&this.schedule(r);void 0!==t.get()&&n();let s=t.on("change",n),a=()=>{s(),r&&!i&&this.cancel(r),this.values.delete(e)};return this.values.set(e,{value:t,render:i?void 0:r,onRemove:a}),a}get(e){return this.values.get(e)?.value}release(){let e=new Map;return this.values.forEach((t,r)=>{e.set(r,t.value),t.onRemove()}),this.transformKeys=this.transformValues=void 0,e}schedule(e){let{pending:t,numPending:r}=this;for(let i=0;i<r;i++)if(t[i]===e)return;r||this.step(this.flush),t[this.numPending++]=e}cancel(e){let{pending:t}=this;for(let r=0;r<this.numPending;r++)if(t[r]===e){t[r]=t[--this.numPending];return}}}function rm(e,{step:t,...r}={}){let i=new WeakMap;return Object.assign((r,n)=>{let s=i.get(r)??new rp(t);i.set(r,s);let a=[];for(let t in n){let i=n[t],o=e(r,s,t,i);a.push(o)}return()=>{for(let e of a)e()}},r,{get:(e,t)=>i.get(e)?.get(t),flush:e=>i.get(e)?.flush(),state:e=>i.get(e)})}let rg={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ry={},rv=new Set(["originX","originY","originZ"]),rb=(e,t)=>rf(e.get(t)?.get(),ta[t]),rw=(e,t,r,i)=>{let n,s;if(u.has(r)){if("pathRotation"!==r){let e=t.transformKeys??(t.transformKeys=[]);(t.transformValues??(t.transformValues={}))[r]=i,e.includes(r)||(e.push(r),e.sort((e,t)=>l.indexOf(e)-l.indexOf(t)))}t.get("transform")||(rc(e)||t.get("transformBox")||rw(e,t,"transformBox",new k("fill-box")),t.set("transform",new k("none"),()=>{e.style.transform=function(e){let t="",{transformKeys:r=[],transformValues:i={}}=e;for(let e=0;e<r.length;e++){let n=r[e],s=i[n].get();void 0!==s&&("number"==typeof s?s:parseFloat(s))!==+!!n.startsWith("scale")&&(t+=(t&&" ")+(ry[n]||(ry[n]=(rg[n]||n)+"("))+rf(s,ts[n])+")")}let n=e.get("pathRotation")?.get();return n&&(t+=(t&&" ")+"rotate("+rf(n,ts.pathRotation)+")"),t||"none"}(t)})),s=t.get("transform")}else rv.has(r)?(t.get("transformOrigin")||t.set("transformOrigin",new k(""),()=>{let r=rb(t,"originX")??"50%",i=rb(t,"originY")??"50%",n=rb(t,"originZ")??0;e.style.transformOrigin=`${r} ${i} ${n}`}),s=t.get("transformOrigin")):n=r.startsWith("--")?()=>{e.style.setProperty(r,i.get())}:()=>{e.style[r]=rf(i.get(),ta[r])};return t.set(r,i,n,s)},rx=(e,t)=>{if(u.has(t))return((e,t)=>{let{transform:r="none"}=getComputedStyle(e);return tv(r,t)})(e,t);let r=getComputedStyle(e),i=t.startsWith("--")?r.getPropertyValue(t):r[t];return"string"==typeof i&&i.trim()||0},rk=rm(rw,{test:e=>rc(e)||rd(e),read:rx});function rM(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}l.length;let rT=["transform","opacity","offsetDistance","offsetPath","offsetRotate","offsetAnchor"],rA=(e,t,r,i,n=r)=>{let s=function(e,t){if(!(t in e))return!1;let r=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),t)||Object.getOwnPropertyDescriptor(e,t);return r&&"function"==typeof r.set}(e,n);!s&&(n.startsWith("data")||n.startsWith("aria"))&&(n=rM(n));let a=ta[r]||ta[n],o=s?()=>{e[n]=rf(i.get(),ta[r])}:()=>{let t=rf(i.get(),a);null==t?e.removeAttribute(n):e.setAttribute(n,String(t))};return t.set(r,i,o)},rS=rm((e,t,r,i)=>{if(r.startsWith("path"))return(g.render(()=>e.setAttribute("pathLength","1")),"pathOffset"===r)?t.set(r,i,()=>{let t=i.get();e.setAttribute("stroke-dashoffset",`${-t}`)}):(t.get("stroke-dasharray")||t.set("stroke-dasharray",new k("1 1"),()=>{let r=t.get("pathLength")?.get()??1,i=t.get("pathSpacing")?.get();e.setAttribute("stroke-dasharray",`${r} ${i??1-Number(r)}`)}),t.set(r,i,void 0,t.get("stroke-dasharray")));return r.startsWith("attr")?rA(e,t,r,i,rC(r)):(r in e.style?rw:rA)(e,t,r,i)},{test:rd,read:(e,t)=>u.has(t)?ta[t]?.default||0:rT.includes(t)?rx(e,t):(t=rC(t),e.getAttribute(rM(t))??e.getAttribute(t)??void 0)});function rC(e){return e.replace(/^attr([A-Z])/,(e,t)=>t.toLowerCase())}let rP=[O,L,Y,B,q,_,{test:e=>"auto"===e,parse:e=>e}],rE=e=>rP.find(t=>t.test(e)),rR=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,rO=new Set(["auto","none","0"]);class rF extends tF{constructor(e,t,r,i,n){super(e,t,r,i,n,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:r}=this;if(!t||!t.current)return;super.readKeyframes();for(let r=0;r<e.length;r++){let i=e[r];if("string"==typeof i&&P(i=i.trim())){let n=function e(t,r,i=1){a(`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[n,s]=function(e){let t=rR.exec(e);if(!t)return[,];let[,r,i,n]=t;return[`--${r??i}`,n]}(t);if(!n)return;let o=window.getComputedStyle(r).getPropertyValue(n);if(o){let e=o.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)?parseFloat(e):e}return P(s)?e(s,r,i+1):s}(i,t.current);void 0!==n&&(e[r]=n),r===e.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!h.has(r)||2!==e.length)return;let[i,n]=e;if("number"==typeof i&&"number"==typeof n)return;let s=rE(i),o=rE(n);if(R(i)!==R(n)&&tA[r]){this.needsMeasurement=!0;return}if(s!==o)if(tw(s)&&tw(o))for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r&&(e[t]=parseFloat(r))}else tA[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,r=[];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]))&&r.push(t);r.length&&function(e,t,r){let i,n=0;for(;n<e.length&&!i;){let t=e[n];"string"==typeof t&&!rO.has(t)&&function(e){let t=e.toString();return G.test(t)||H.test(t)}(t)&&(i=e[n]),n++}if(i&&r)for(let n of t)e[n]!==i&&(e[n]=tu(r,i))}(e,r,t)}measure(){let{element:e,name:t}=this;return tA[t](window.getComputedStyle(e.current),()=>e.measureViewportBox())}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:r}=this;if(!e||!e.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=this.measure(),t[0]=this.measuredOrigin;let i=t[t.length-1];void 0!==i&&this.motionValue?.jump(i,!1)}measureEndState(){let{element:e,unresolvedKeyframes:t}=this;if(!e||!e.current)return;this.motionValue?.jump(this.measuredOrigin,!1);let r=t.length-1,i=t[r];t[r]=this.measure(),null!==i&&void 0===this.finalKeyframe&&(this.finalKeyframe=i),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([t,r])=>{e.getValue(t).set(r)}),this.resolveNoneKeyframes()}}let rj={};class rD{constructor(e,t){this.effect=e,this.current=t,this.KeyframeResolver=rF}getValue(e){return this.effect.get(this.current,e)}readValue(e,t){return this.effect.read(this.current,e,t)}render(){this.effect.flush(this.current)}measureViewportBox(){return function({top:e,left:t,right:r,bottom:i}){return{x:{min:t,max:r},y:{min:e,max:i}}}(function(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:i.y,right:i.x}}(this.current.getBoundingClientRect(),void 0))}getProps(){return rj}}let rI=new WeakMap,rN=rm((e,t,r,i)=>t.set(r,i,()=>{e[r]=i.get()}),{test:e=>rh(e),read:(e,t)=>{let r=e[t];return"string"==typeof r||"number"==typeof r?r:void 0}});function rV(e,t,r,i){let n=[];if(re(e)||"number"==typeof e||"string"==typeof e&&!rr(t)){var s,o,l;let i;n.push((s=e,o=rr(t)&&t.default||t,l=r&&r.default||r,(i=re(s)?s:new k(s,void 0)).start(t2("",i,o,l)),i.animation))}else{if(null==e)return n;let s=ri(e,t,i),o=s.length;a();for(let e=0;e<o;e++){let i=s[e],a={...r};"delay"in a&&"function"==typeof a.delay&&(a.delay=a.delay(e,o)),i instanceof Element?n.push(...function(e,t,r,i){if(i)return t4(e=>i.getValue(e,null),t,r,i);let n=rd(e)?rS:rk;return t6(n,e,t,r,new rD(n,e))}(i,t,a,rI.get(i))):n.push(...t6(function(e){return t5.find(t=>t.test(e))}(i)??rN,i,t,a))}}return n}let r$=Object.assign(function(e={}){let{scope:t,reduceMotion:r,skipAnimations:i}=e;return function(e,n,a){var l;let u,h=[],c={};if(void 0!==r&&(c.reduceMotion=r),void 0!==i&&(c.skipAnimations=i),Array.isArray(e)&&e.some(Array.isArray)){let r,{onComplete:i,...a}=n||{};"function"==typeof i&&(u=i),l={...c,...a},r=[],(function(e,{defaultTransition:t={},...r}={},i,n){let a=t.duration||.3,l=new Map,u=new Map,h={},c=new Map,d=0,f=0,p=0;for(let r=0;r<e.length;r++){let l=e[r];if("string"==typeof l){c.set(l,f);continue}if(!Array.isArray(l)){c.set(l.name,rn(f,l.at,d,c));continue}let[y,v,b={}]=l;void 0!==b.at&&(f=rn(f,b.at,d,c));let w=0,x=(e,r,i,l=0,u=0)=>{var h;let c=Array.isArray(h=e)?h:[h],{delay:d=0,times:m=eQ(c),type:g=t.type||"ke
1yframes",repeat:y,repeatType:v,repeatDelay:b=0,...x}=r,{ease:k=t.ease||"easeOut",duration:T}=r,A="function"==typeof d?d(l,u):d,S=c.length,C=tK(g)?g:n?.[g||"keyframes"];if(S<=2&&C){let e=100;2===S&&ru(c)&&(e=Math.abs(c[1]-c[0]));let r={...t,...x};void 0!==T&&(r.duration=M(T));let i=ek(r,e,C);k=i.ease,T=i.duration}T??(T=a);let P=f+A;1===m.length&&0===m[0]&&(m[1]=1);let E=m.length-c.length;if(E>0&&eJ(m,E),1===c.length&&c.unshift(null),y&&s(`Sequence segments can't repeat ${y} times â ignoring repeat option. Use a value below 20 or apply repeat at the sequence level instead.`),y&&y<20){let e=T>0?b/T:0;T=T*(y+1)+b*y;let t=[...c],r=[...m],i=[...k=Array.isArray(k)?[...k]:[k]],n="reverse"===v||"mirror"===v,s=t,a=i;n&&(s=[...t].reverse(),"reverse"===v&&(a=[...i].reverse().map(e=>"function"==typeof e?eX(e):e)));for(let o=0;o<y;o++){let l=n&&o%2==0,u=l?s:t,h=l?a:i,d=(o+1)*(1+e);e>0&&(c.push(c[c.length-1]),m.push(d),k.push("linear")),c.push(...u);for(let e=0;e<u.length;e++)m.push(r[e]+d),k.push(0===e?"linear":rt(h,e-1))}!function(e,t,r=0){let i=t+1+t*r;for(let t=0;t<e.length;t++)e[t]=e[t]/i}(m,y,e)}let R=P+T;!function(e,t,r,i,n,s){for(let t=0;t<e.length;t++){let r=e[t];r.at>n&&r.at<s&&(o(e,r),t--)}for(let a=0;a<t.length;a++)e.push({value:t[a],at:ea(n,s,i[a]),easing:rt(r,a)})}(i,c,k,m,P,R),w=Math.max(A+T,w),p=Math.max(R,p)};if(re(y))x(v,b,ro("default",ra(y,u)));else{let e=ri(y,v,i,h),t=e.length;for(let r=0;r<t;r++){let i=ra(e[r],u);for(let e in v){var m,g;x(v[e],(m=b,g=e,m&&m[g]?{...m,...m[g]}:{...m}),ro(e,i),r,t)}}}d=f,f+=w}return u.forEach((e,i)=>{for(let n in e){let s=e[n];s.sort(rs);let a=[],o=[],u=[];for(let e=0;e<s.length;e++){let{at:t,value:r,easing:i}=s[e];a.push(r),o.push(eH(0,p,t)),u.push(i||"easeOut")}0!==o[0]&&(o.unshift(0),a.unshift(a[0]),u.unshift("easeInOut")),1!==o[o.length-1]&&(o.push(1),a.push(null)),l.has(i)||l.set(i,{keyframes:{},transition:{}});let h=l.get(i);h.keyframes[n]=a;let{type:c,...d}=t;h.transition[n]={...d,duration:p,ease:u,times:o,...r}}}),l})(e.map(e=>{if(Array.isArray(e)&&"function"==typeof e[0]){let t=e[0],r=new k(0,void 0);return(r.on("change",t),1===e.length)?[r,[0,1]]:2===e.length?[r,[0,1],e[1]]:[r,e[1],e[2]]}return e}),l,t,{spring:eO}).forEach(({keyframes:e,transition:t},i)=>{r.push(...rV(i,e,t))}),h=r}else{let{onComplete:r,...i}=a||{};"function"==typeof r&&(u=r),h=rV(e,n,{...c,...i},t)}let d=new t9(h);return u&&d.finished.then(u),t&&(t.animations.push(d),d.finished.then(()=>{o(t.animations,d)})),d}}(),{addEffect:function(e){a("function"==typeof e.test&&e.read),t3(e),t5.unshift(e)},removeEffect:t3});var rW=e.i(271645);let rX={duration:.4,ease:[.22,1,.36,1]},rK={duration:0};function rB(){return(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("line",{x1:"7",y1:"17",x2:"17",y2:"7"}),(0,r.jsx)("polyline",{points:"7 7 17 7 17 17"})]})}function rY(e,t,r){if(r)return 1;let i=e-t;return i<=-2||i>=2?.75:-1===i||1===i?.88:1}function rL({children:e,index:t,itemWidth:i,isMobile:n,setItemRef:s,initialScale:a}){return n?(0,r.jsx)("div",{ref:e=>s(t,e),className:"relative flex shrink-0 flex-col rounded-2xl",style:{width:i,height:"100%"},children:e}):(0,r.jsxs)("div",{ref:e=>s(t,e),className:"relative flex shrink-0 flex-col rounded-2xl transition-shadow hover:shadow-md dark:hover:shadow-[0_4px_20px_rgba(255,222,0,0.1)]",style:{width:i,height:"100%",scale:a},children:[e,(0,r.jsx)("div",{className:"absolute top-4 right-4 flex h-8 w-8 items-center justify-center rounded-full bg-white/10 text-white backdrop-blur-sm cursor-pointer hover:bg-white/20 transition-colors",onPointerDown:e=>e.stopPropagation(),children:(0,r.jsx)(rB,{})})]})}function r_({children:e,autoplay:t=!0,autoplayDelay:n=5e3,pauseOnHover:s=!0,loop:a=!0}){let[o,l]=(0,rW.useState)(()=>window.matchMedia("(max-width: 767px)").matches),u=(0,rW.useRef)(null),h=(0,rW.useRef)(null),c=(0,rW.useRef)([]),d=(0,rW.useRef)(null),f=(0,rW.useRef)([]),p=(0,rW.useRef)(0),m=(0,rW.useRef)(null),g=(0,rW.useRef)(!1),y=(0,rW.useRef)([]),[v,b]=(0,rW.useState)(0),w=(0,rW.useMemo)(()=>Array.isArray(e)?e:[e],[e]),x=w.length;(0,rW.useEffect)(()=>{let e=window.matchMedia("(max-width: 767px)");l(e.matches);let t=e=>l(e.matches);return e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),(0,rW.useEffect)(()=>
1{if(!u.current)return;let e=new ResizeObserver(e=>{for(let t of e)b(t.contentRect.width)});return e.observe(u.current),()=>e.disconnect()},[]);let k=(0,rW.useMemo)(()=>v?o?v:v<640?Math.floor(.7*v):v<1024?Math.floor(.5*v):Math.min(340,Math.floor(.38*v)):260*!o,[v,o]),M=k+16,T=(0,rW.useMemo)(()=>!a||x<=1?0:Math.min(3,x),[a,x]),A=(0,rW.useMemo)(()=>{if(!a||x<=1)return w;let e=w.slice(-T),t=w.slice(0,T);return[...e,...w,...t]},[w,a,x,T]),S=a&&x>1?T:0,[C,P]=(0,rW.useState)(S),[E,R]=(0,rW.useState)(!1),[O,F]=(0,rW.useState)(!1),[j,D]=(0,rW.useState)(!1);function I(e,t){c.current[e]=t}function N(e){if(!m.current)return;let t=e.clientX-m.current.pointerX,r=y.current[0],i=y.current[y.current.length-1],n=r&&i?(i.t-r.t)/1e3:0,s=r&&i&&n>0?(i.x-r.x)/n:0;m.current=null,F(!1);let o=t<-15||s<-500?1:t>15||s>500?-1:0;0!==o&&P(e=>{let t=e+o;return a?t:Math.max(0,Math.min(t,A.length-1))})}let V=(0,rW.useMemo)(()=>{if(0===x)return 0;if(!a||x<=1)return Math.min(C,x-1);let e=(C-T)%x;return e<0?e+x:e},[C,x,a,T]),$=Math.min(10,x),W=(0,rW.useMemo)(()=>x<=10?0:Math.max(0,Math.min(V-Math.floor(5),x-10)),[V,x]);if((0,rW.useLayoutEffect)(function(){let e=a&&x>1?T:0;P(e);let t=-e*M;p.current=t,h.current&&r$(h.current,{x:t},rK)},[x,a,T]),(0,rW.useLayoutEffect)(function(){if(O||!h.current)return;let e=j||o?rK:rX,t=-C*M;if(d.current?.stop(),d.current=r$(h.current,{x:t},e),p.current=t,A.forEach((t,r)=>{let i=c.current[r];i&&(f.current[r]?.stop(),f.current[r]=r$(i,{scale:rY(r,C,o)},e))}),!a||x<=1)return;let r=!1;return d.current.finished.then(()=>{!r&&(C>=x+T?(D(!0),P(T),requestAnimationFrame(()=>D(!1))):C<T&&(D(!0),P(x+C),requestAnimationFrame(()=>D(!1))))}),()=>{r=!0}},[C,M,o,j,O]),(0,rW.useEffect)(()=>{if(!t||x<=1||s&&E||O)return;let e=setInterval(()=>{P(e=>e+1)},n);return()=>clearInterval(e)},[t,n,E,s,x,O]),0===x)return null;if(1===x)return(0,r.jsx)("div",{ref:u,className:"relative w-full py-4",children:(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsx)("div",{className:"relative flex shrink-0 flex-col rounded-2xl w-full max-w-sm",children:w[0]})})});let X=(v-k)/2;return(0,r.jsxs)("div",{ref:u,className:"relative w-full overflow-hidden py-4 select-none",onMouseEnter:()=>s&&R(!0),onMouseLeave:()=>s&&R(!1),children:[(0,r.jsx)("div",{ref:h,className:"flex cursor-grab touch-pan-y active:cursor-grabbing",style:{width:o?"100%":k,gap:"16px",perspective:o?"none":1e3,perspectiveOrigin:`${X+C*M+k/2}px 50%`,transform:`translateX(${-C*M}px)`,marginLeft:o?0:X},onPointerDown:function(e){h.current&&(g.current=!1,d.current?.stop(),f.current.forEach(e=>e?.stop()),m.current={pointerX:e.clientX,trackX:p.current},y.current=[{t:performance.now(),x:e.clientX}],F(!0))},onPointerMove:function(e){if(!m.current||!h.current)return;let t=e.clientX-m.current.pointerX;if(!g.current){if(5>Math.abs(t))return;g.current=!0,h.current.setPointerCapture(e.pointerId)}let r=m.current.trackX+t;
1a||(r=Math.max(-M*(A.length-1),Math.min(0,r))),p.current=r,r$(h.current,{x:r},rK),y.current.push({t:performance.now(),x:e.clientX}),y.current.length>5&&y.current.shift()},onPointerUp:N,onPointerCancel:N,onDragStart:e=>e.preventDefault(),onClickCapture:e=>{g.current&&(e.preventDefault(),e.stopPropagation())},children:A.map((e,t)=>(0,r.jsx)(rL,{index:t,itemWidth:k,isMobile:o,setItemRef:I,initialScale:rY(t,C,o),children:e},t))}),x>1&&(0,r.jsxs)("div",{className:"flex w-full items-center justify-center gap-6 mt-6",children:[(0,r.jsx)("button",{type:"button","aria-label":"Previous",onClick:()=>P(e=>a?e-1:Math.max(0,e-1)),className:"flex h-8 w-8 shrink-0 cursor-pointer items-center justify-center rounded-full bg-gray-200 text-gray-800 shadow-sm transition-all hover:bg-gray-300 hover:scale-105 active:scale-95 focus-visible:outline-2 focus-visible:outline-primary focus-visible:outline-offset-2 dark:bg-gray-800/70 dark:text-gray-200 dark:hover:bg-gray-700/80",children:(0,r.jsx)("span",{className:"-mr-1 flex items-center justify-center",children:(0,r.jsx)(i.ChevronLefttIcon,{})})}),(0,r.jsx)("div",{className:"flex items-center gap-2",children:Array.from({length:$}).map((e,t)=>{let i=W+t,n=V===i;return(0,r.jsx)("button",{type:"button",className:`h-2 rounded-full border-none p-0 appearance-none cursor-pointer transition-[width] duration-300 ease-out focus-visible:outline-2 focus-visible:outline-primary focus-visible:outline-offset-2 ${n?"w-6 bg-primary-dark shadow-sm dark:bg-white":"w-2 bg-gray-300 hover:bg-gray-400 dark:bg-white/30 dark:hover:bg-white/50"}`,"aria-label":`Go to slide ${i+1}`,onClick:()=>P(a?i+T:i)},t)})}),(0,r.jsx)("button",{type:"button","aria-label":"Next",onClick:()=>P(e=>a?e+1:Math.min(A.length-1,e+1)),className:"flex h-8 w-8 shrink-0 cursor-pointer items-center justify-center rounded-full bg-gray-200 text-gray-800 shadow-sm transition-all hover:bg-gray-300 hover:scale-105 active:scale-95 focus-visible:outline-2 focus-visible:outline-primary focus-visible:outline-offset-2 dark:bg-gray-800/70 dark:text-gray-200 dark:hover:bg-gray-700/80",children:(0,r.jsx)("span",{className:"-ml-1 flex items-center justify-center",children:(0,r.jsx)(i.ChevronRightIcon,{})})})]})]})}e.s(["default",0,function({children:e}){return(0,r.jsx)(r_,{autoplayDelay:4e3,children:e})}],358194)}]);
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.