1!function(){try{var t="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="465a50d5-5730-4132-97a6-a46b77755682",t._sentryDebugIdIdentifier="sentry-dbid-465a50d5-5730-4132-97a6-a46b77755682")}catch(t){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3341],{19:(t,e,i)=>{"use strict";function n(t){return"object"==typeof t&&null!==t}i.d(e,{G:()=>n})},145:(t,e,i)=>{"use strict";i.d(e,{Uu:()=>s});var n=i(39206);let r="u">typeof window;function s(){if(n.r.current=!0,r)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>n.O.current=t.matches;t.addEventListener("change",e),e()}else n.O.current=!1}},1247:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={isRequestAPICallableInsideAfter:function(){return u},throwForSearchParamsAccessInUseCache:function(){return l},throwWithStaticGenerationBailoutErrorWithDynamicError:function(){return a}};for(var r in n)Object.defineProperty(e,r,{enumerable:!0,get:n[r]});let s=i(35749),o=i(43747);function a(t,e){throw Object.defineProperty(new s.StaticGenBailoutError(`Route ${t} with \`dynamic = "error"\` couldn't be rendered statically because it used ${e}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E543",enumerable:!1,configurable:!0})}function l(t,e){let i=Object.defineProperty(Error(`Route ${t.route} used \`searchParams\` inside "use cache". Accessing dynamic request data inside a cache scope is not supported. If you need some search params inside a cached function await \`searchParams\` outside of the cached function and pass only the required search params as arguments to the cached function. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E842",enumerable:!1,configurable:!0});throw Error.captureStackTrace(i,e),t.invalidDynamicUsageError??=i,i}function u(){let t=o.afterTaskAsyncStorage.getStore();return(null==t?void 0:t.rootTaskSpawnPhase)==="action"}},2822:(t,e,i)=>{"use strict";let n,r,s,o,a;i.d(e,{P:()=>sI});let l=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],u=new Set(l),h=(t,e,i)=>i>e?e:i<t?t:i,c={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},d={...c,transform:t=>h(0,1,t)},p={...c,default:1},m=t=>Math.round(1e5*t)/1e5,f=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,g=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,v=(t,e)=>i=>!!("string"==typeof i&&g.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),y=(t,e,i)=>n=>{if("string"!=typeof n)return n;let[r,s,o,a]=n.match(f);return{[t]:parseFloat(r),[e]:parseFloat(s),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},b={...c,transform:t=>Math.round(h(0,255,t))},w={test:v("rgb","red"),parse:y("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+b.transform(t)+", "+b.transform(e)+", "+b.transform(i)+", "+m(d.transform(n))+")"},E={test:v("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:w.transform},x=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),T=x("deg"),S=x("%"),P=x("px"),R=x("vh"),A=x("vw"),_={...S,parse:t=>S.parse(t)/100,transform:t=>S.transform(100*t)},C={test:v("hsl","hue"),parse:y("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:n=1})=>"hsla("+Math.round(t)+", "+S.transform(m(e))+", "+S.transform(m(i))+", "+m(d.transform(n))+")"},M={test:t=>w.test(t)||E.test(t)||C.test(t),parse:t=>w.test(t)?w.parse(t):C.test(t)?C.parse(t):E.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?w.transform(t):C.transform(t),getAnimatableNone:t=>{let e=M.parse(t);return e.alpha=0,M.transform(e)}},k=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,D="number",O="color",I=/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 L(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},r=[],s=0,o=e.replace(I,t=>(M.test(t)?(n.color.push(s),r.push(O),i.push(M.parse(t))):t.startsWith("var(")?(n.var.push(s),r.push("var"),i.push(t)):(n.number.push(s),r.push(D),i.push(parseFloat(t))),++s,"${}")).split("${}");return{values:i,split:o,indexes:n,types:r}}function j(t){return L(t).values}function V(t){let{split:e,types:i}=L(t),n=e.length;return t=>{let r="";for(let s=0;s<n;s++)if(r+=e[s],void 0!==t[s]){let e=i[s];e===D?r+=m(t[s]):e===O?r+=M.transform(t[s]):r+=t[s]}return r}}let N=t=>"number"==typeof t?0:M.test(t)?M.getAnimatableNone(t):t,F={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(f)?.length||0)+(t.match(k)?.length||0)>0},parse:j,createTransformer:V,getAnimatableNone:function(t){let e=j(t);return V(t)(e.map(N))}},B=new Set(["brightness","contrast","saturate","opacity"]);function U(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(f)||[];if(!n)return t;let r=i.replace(n,""),s=+!!B.has(e);return n!==i&&(s*=100),e+"("+s+r+")"}let W=/\b([a-z-]*)\(.*?\)/gu,q={...F,getAnimatableNone:t=>{let e=t.match(W);return e?e.map(U).join(" "):t}},$={...c,transform:Math.round},z={borderWidth:P,borderTopWidth:P,borderRightWidth:P,borderBottomWidth:P,borderLeftWidth:P,borderRadius:P,borderTopLeftRadius:P,borderTopRightRadius:P,borderBottomRightRadius:P,borderBottomLeftRadius:P,width:P,maxWidth:P,height:P,maxHeight:P,top:P,right:P,bottom:P,left:P,inset:P,insetBlock:P,insetBlockStart:P,insetBlockEnd:P,insetInline:P,insetInlineStart:P,insetInlineEnd:P,padding:P,paddingTop:P,paddingRight:P,paddingBottom:P,paddingLeft:P,paddingBlock:P,paddingBlockStart:P,paddingBlockEnd:P,paddingInline:P,paddingInlineStart:P,paddingInlineEnd:P,margin:P,marginTop:P,marginRight:P,marginBottom:P,marginLeft:P,marginBlock:P,marginBlockStart:P,marginBlockEnd:P,marginInline:P,marginInlineStart:P,marginInlineEnd:P,fontSize:P,backgroundPositionX:P,backgroundPositionY:P,rotate:T,rotateX:T,rotateY:T,rotateZ:T,scale:p,scaleX:p,scaleY:p,scaleZ:p,skew:T,skewX:T,skewY:T,distance:P,translateX:P,translateY:P,translateZ:P,x:P,y:P,z:P,perspective:P,transformPerspective:P,opacity:d,originX:_,originY:_,originZ:P,zIndex:$,fillOpacity:d,strokeOpacity:d,numOctaves:$},G={...z,color:M,backgroundColor:M,outlineColor:M,fill:M,stroke:M,borderColor:M,borderTopColor:M,borderRightColor:M,borderBottomColor:M,borderLeftColor:M,filter:q,WebkitFilter:q},H=t=>G[t],X=()=>({translate:0,scale:1,origin:0,originPoint:0}),Y=()=>({x:X(),y:X()}),K=()=>({min:0,max:0}),Z=()=>({x:K(),y:K()}),Q=t=>!!(t&&t.getVelocity),J=new Set(["width","height","top","left","right","bottom",...l]),tt=t=>e=>e.test(t),te=[c,P,S,T,A,R,{test:t=>"auto"===t,parse:t=>t}],ti=t=>te.find(tt(t));i(87358);let tn=()=>{},tr=()=>{},ts=t=>e=>"string"==typeof e&&e.startsWith(t),to=ts("--"),ta=ts("var(--"),tl=t=>!!ta(t)&&tu.test(t.split("/*")[0].trim()),tu=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function th(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}let tc=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,td=t=>180*t/Math.PI,tp=t=>tf(td(Math.atan2(t[1],t[0]))),tm={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:tp,rotateZ:tp,skewX:t=>td(Math.atan(t[1])),skewY:t=>td(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},tf=t=>((t%=360)<0&&(t+=360),t),tg=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),tv=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),ty={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tg,scaleY:tv,scale:t=>(tg(t)+tv(t))/2,rotateX:t=>tf(td(Math.atan2(t[6],t[5]))),rotateY:t=>tf(td(Math.atan2(-t[2],t[0]))),rotateZ:tp,rotate:tp,skewX:t=>td(Math.atan(t[4])),skewY:t=>td(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function tb(t){return+!!t.includes("scale")}function tw(t,e){let i,n;if(!t||"none"===t)return tb(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=ty,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=tm,n=e}if(!n)return tb(e);let s=i[e],o=n[1].split(",").map(tE);return"function"==typeof s?s(o):o[s]}function tE(t){return parseFloat(t.trim())}let tx=t=>t===c||t===P,tT=new Set(["x","y","z"]),tS=l.filter(t=>!tT.has(t)),tP={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})=>tw(e,"x"),y:(t,{transform:e})=>tw(e,"y")};tP.translateX=tP.x,tP.translateY=tP.y;let tR=t=>t,tA={},t_=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function tC(t,e){let i=!1,n=!0,r={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,o=t_.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,n=new Set,r=!1,s=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(e){o.has(e)&&(h.schedule(e),t()),l++,e(a)}let h={schedule:(t,e=!1,s=!1)=>{let a=s&&r?i:n;return e&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{n.delete(t),o.delete(t)},process:t=>{if(a=t,r){s=!0;return}
1r=!0,[i,n]=[n,i],i.forEach(u),e,l=0,i.clear(),r=!1,s&&(s=!1,h.process(t))}};return h}(s,e?i:void 0),t),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:h,update:c,preRender:d,render:p,postRender:m}=o,f=()=>{let s=tA.useManualTiming?r.timestamp:performance.now();i=!1,tA.useManualTiming||(r.delta=n?1e3/60:Math.max(Math.min(s-r.timestamp,40),1)),r.timestamp=s,r.isProcessing=!0,a.process(r),l.process(r),u.process(r),h.process(r),c.process(r),d.process(r),p.process(r),m.process(r),r.isProcessing=!1,i&&e&&(n=!1,t(f))};return{schedule:t_.reduce((e,s)=>{let a=o[s];return e[s]=(e,s=!1,o=!1)=>(!i&&(i=!0,n=!0,r.isProcessing||t(f)),a.schedule(e,s,o)),e},{}),cancel:t=>{for(let e=0;e<t_.length;e++)o[t_[e]].cancel(t)},state:r,steps:o}}let{schedule:tM,cancel:tk,state:tD,steps:tO}=tC("u">typeof requestAnimationFrame?requestAnimationFrame:tR,!0),tI=new Set,tL=!1,tj=!1,tV=!1;function tN(){if(tj){let t=Array.from(tI).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,n=(e=[],tS.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)})}tj=!1,tL=!1,tI.forEach(t=>t.complete(tV)),tI.clear()}function tF(){tI.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tj=!0)})}class tB{constructor(t,e,i,n,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(tI.add(this),tL||(tL=!0,tM.read(tF),tM.resolveKeyframes(tN))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;if(null===t[0]){let r=n?.get(),s=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let n=i.readValue(e,s);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=s),n&&void 0===r&&n.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),tI.delete(this)}cancel(){"scheduled"===this.state&&(tI.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}function tU(t,e){let i=H(t);return i!==q&&(i=F),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let tW=new Set(["auto","none","0"]);class tq extends tB{constructor(t,e,i,n,r){super(t,e,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&tl(n=n.trim())){let r=function t(e,i,n=1){tr(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,s]=function(t){let e=tc.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${i??n}`,r]}(e);if(!r)return;let o=window.getComputedStyle(i).getPropertyValue(r);if(o){let t=o.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return tl(s)?t(s,i,n+1):s}(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!J.has(i)||2!==t.length)return;let[n,r]=t,s=ti(n),o=ti(r);if(th(n)!==th(r)&&tP[i]){this.needsMeasurement=!0;return}if(s!==o)if(tx(s)&&tx(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else tP[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++)(null===t[e]||function(t){if("number"==typeof t)return 0===t;if(null===t)return!0;return"none"===t||"0"===t||/^0[^.\s]+$/u.test(t)}(t[e]))&&i.push(e);i.length&&function(t,e,i){let n,r=0;for(;r<t.length&&!n;){let e=t[r];"string"==typeof e&&!tW.has(e)&&L(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=tU(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=tP[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let n=t.getValue(e);n&&n.jump(this.measuredOrigin,!1);let r=i.length-1,s=i[r];i[r]=tP[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}let t$=t=>1e3*t;function tz(t,e){-1===t.indexOf(e)&&t.push(e)}function tG(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class tH{constructor(){this.subscriptions=[]}add(t){return tz(this.subscriptions,t),()=>tG(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function tX(t){let e;return()=>(void 0===e&&(e=t()),e)}let tY=tX(()=>void 0!==window.ScrollTimeline),tK=t=>null!==t;function tZ(t,{repeat:e,repeatType:i="loop"},n,r=1){let s=t.filter(tK),o=r<0||e&&"loop"!==i&&e%2==1?0:s.length-1;return o&&void 0!==n?n:s[o]}class tQ{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 tJ={layout:0,mainThread:0,waapi:0},t0=t=>Array.isArray(t)&&"number"==typeof t[0],t1={},t2=(o=tX(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0}),()=>t1.linearEasing??o()),t5=(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e<r;e++)n+=Math.round(1e4*t(e/(r-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},t3=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,t4={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:t3([0,.65,.55,1]),circOut:t3([.55,0,1,.45]),backIn:t3([.31,.01,.66,-.59]),backOut:t3([.33,1.53,.69,.99])};function t6(t){return"function"==typeof t&&"applyToOptions"in t}class t9 extends tQ{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:i,keyframes:n,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,tr("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return t6(t)&&t2()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:n=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let h={[e]:i};l&&(h.offset=l);let c=function t(e,i){if(e)return"function"==typeof e?t2()?t5(e,i):"ease-out":t0(e)?t3(e):Array.isArray(e)?e.map(e=>t(e,i)||t4.easeOut):t4[e]}(a,r);Array.isArray(c)&&(h.easing=c);let d={delay:n,duration:r,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};u&&(d.pseudoElement=u);let p=t.animate(h,d);return p}(e,i,n,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let t=tZ(n,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(t):i.startsWith("--")?e.style.setProperty(i,t):e.style[i]=t,this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){return 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.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=t$(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&tY())?(this.animation.timeline=t,tR):e(this)}}let t7=new Set(["opacity","clipPath","filter","transform"]),{schedule:t8}=tC(queueMicrotask,!1);function et(){n=void 0}let ee={now:()=>(void 0===n&&ee.set(tD.isProcessing||tA.useManualTiming?tD.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(et)}};class ei{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=ee.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=ee.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 tH);let i=this.events[t].add(e);return"change"===t?()=>{i(),tM.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=ee.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 en(t,e){return new ei(t,e)}let er=[...te,M,F],es=new WeakMap;function eo(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function ea(t){return"string"==typeof t||Array.isArray(t)}let el=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],eu=["initial",...el];function eh(t){return eo(t.animate)||eu.some(e=>ea(t[e]))}function ec(t){return!!(eh(t)||t.variants)}var ed,ep=i(145);function em(t){let e=[{},{}];
1return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function ef(t,e,i,n){if("function"==typeof e){let[r,s]=em(n);e=e(void 0!==i?i:t.custom,r,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,s]=em(n);e=e(void 0!==i?i:t.custom,r,s)}return e}var eg=i(39206);let ev=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],ey={};class eb{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,skipAnimations:r,blockInitialAnimation:s,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=tB,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=ee.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,tM.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=r,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=eh(e),this.isVariantNode=ec(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:h,...c}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in c){const e=c[t];void 0!==l[t]&&Q(e)&&e.set(l[t])}}mount(t){if(this.hasBeenMounted)for(let t in this.initialValues)this.values.get(t)?.jump(this.initialValues[t]),this.latestValues[t]=this.initialValues[t];this.current=t,es.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(eg.r.current||(0,ep.Uu)(),this.shouldReduceMotion=eg.O.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let t in this.projection&&this.projection.unmount(),tk(this.notifyUpdate),tk(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&t7.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:n,times:r,ease:s,duration:o}=e.accelerate,a=new t9({element:this.current,name:t,keyframes:n,times:r,ease:s,duration:t$(o)}),l=i(a);this.valueSubscriptions.set(t,()=>{l(),a.cancel()});return}let n=u.has(t);n&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tM.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in ey){let e=ey[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];
1e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Z()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<ev.length;e++){let i=ev[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let r=e[n],s=i[n];if(Q(r))t.addValue(n,r);else if(Q(s))t.addValue(n,en(r,{owner:t}));else if(s!==r)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(n);t.addValue(n,en(void 0!==e?e:r,{owner:t}))}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=en(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){let n,r;if("string"==typeof i&&(n=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(r=i,/^0[^.\s]+$/u.test(r))))i=parseFloat(i);else{let n;n=i,!er.find(tt(n))&&F.test(e)&&(i=tU(t,e))}this.setBaseTarget(t,Q(i)?i.get():i)}return Q(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=ef(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||Q(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 tH),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){t8.render(this.render)}}class ew extends eb{constructor(){super(...arguments),this.KeyframeResolver=tq}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;Q(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function eE(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}let ex=(t,e)=>e&&"number"==typeof t?e.transform(t):t,eT={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eS=l.length;function eP(t,e,i){let{style:n,vars:r,transformOrigin:s}=t,o=!1,a=!1;for(let t in e){let i=e[t];if(u.has(t)){o=!0;continue}if(to(t)){r[t]=i;continue}{let e=ex(i,z[t]);t.startsWith("origin")?(a=!0,s[t]=e):n[t]=e}}
1if(!e.transform&&(o||i?n.transform=function(t,e,i){let n="",r=!0;for(let s=0;s<eS;s++){let o=l[s],a=t[o];if(void 0===a)continue;let u=!0;if("number"==typeof a)u=a===+!!o.startsWith("scale");else{let t=parseFloat(a);u=o.startsWith("scale")?1===t:0===t}if(!u||i){let t=ex(a,z[o]);if(!u){r=!1;let e=eT[o]||o;n+=`${e}(${t}) `}i&&(e[o]=t)}}return n=n.trim(),i?n=i(e,r?"":n):r&&(n="none"),n}(e,t.transform,i):n.transform&&(n.transform="none")),a){let{originX:t="50%",originY:e="50%",originZ:i=0}=s;n.transformOrigin=`${t} ${e} ${i}`}}let eR={offset:"stroke-dashoffset",array:"stroke-dasharray"},eA={offset:"strokeDashoffset",array:"strokeDasharray"},e_=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function eC(t,{attrX:e,attrY:i,attrScale:n,pathLength:r,pathSpacing:s=1,pathOffset:o=0,...a},l,u,h){if(eP(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:c,style:d}=t;for(let t of(c.transform&&(d.transform=c.transform,delete c.transform),(d.transform||c.transformOrigin)&&(d.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),d.transform&&(d.transformBox=h?.transformBox??"fill-box",delete c.transformBox),e_))void 0!==c[t]&&(d[t]=c[t],delete c[t]);void 0!==e&&(c.x=e),void 0!==i&&(c.y=i),void 0!==n&&(c.scale=n),void 0!==r&&function(t,e,i=1,n=0,r=!0){t.pathLength=1;let s=r?eR:eA;t[s.offset]=`${-n}`,t[s.array]=`${e} ${i}`}(c,r,s,o,!1)}let eM=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"]),ek=t=>"string"==typeof t&&"svg"===t.toLowerCase();function eD(t,{style:e,vars:i},n,r){let s,o=t.style;for(s in e)o[s]=e[s];for(s in r?.applyProjectionStyles(o,n),i)o.setProperty(s,i[s])}function eO(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let eI={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!P.test(t))return t;else t=parseFloat(t);let i=eO(t,e.target.x),n=eO(t,e.target.y);return`${i}% ${n}%`}},eL=(t,e,i)=>t+(e-t)*i,ej={borderRadius:{...eI,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:eI,borderTopRightRadius:eI,borderBottomLeftRadius:eI,borderBottomRightRadius:eI,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=F.parse(t);if(n.length>5)return t;let r=F.createTransformer(t),s=+("number"!=typeof n[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;n[0+s]/=o,n[1+s]/=a;let l=eL(o,a,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),r(n)}}};function eV(t,{layout:e,layoutId:i}){return u.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!ej[t]||"opacity"===t)}function eN(t,e,i){let n=t.style,r=e?.style,s={};if(!n)return s;for(let e in n)(Q(n[e])||r&&Q(r[e])||eV(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(s[e]=n[e]);return s}function eF(t,e,i){let n=eN(t,e,i);for(let i in t)(Q(t[i])||Q(e[i]))&&(n[-1!==l.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}class eB extends ew{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Z}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(u.has(e)){let t=H(e);return t&&t.default||0}return e=eM.has(e)?e:eE(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return eF(t,e,i)}build(t,e,i){eC(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in eD(t,e,void 0,n),e.attrs)t.setAttribute(eM.has(i)?i:eE(i),e.attrs[i])}mount(t){this.isSVGTag=ek(t.tagName),super.mount(t)}}function eU({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function eW(t){return void 0===t||1===t}function eq({scale:t,scaleX:e,scaleY:i}){return!eW(t)||!eW(e)||!eW(i)}function e$(t){return eq(t)||ez(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function ez(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function eG(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function eH(t,e=0,i=1,n,r){t.min=eG(t.min,e,i,n,r),t.max=eG(t.max,e,i,n,r)}function eX(t,{x:e,y:i}){eH(t.x,e.translate,e.scale,e.originPoint),eH(t.y,i.translate,i.scale,i.originPoint)}function eY(t,e){t.min=t.min+e,t.max=t.max+e}function eK(t,e,i,n,r=.5){let s=eL(t.min,t.max,r);eH(t,e,i,s,n)}function eZ(t,e){eK(t.x,e.x,e.scaleX,e.scale,e.originX),eK(t.y,e.y,e.scaleY,e.scale,e.originY)}function eQ(t,e){return eU(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}class eJ extends ew{constructor(){super(...arguments),this.type="html",this.renderInstance=eD}readValueFromInstance(t,e){if(u.has(e))return this.projection?.isProjecting?tb(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return tw(i,e)})(t,e);{let i=window.getComputedStyle(t),n=(to(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return eQ(t,e)}build(t,e,i){eP(t,e,i.transformTemplate)}
1scrapeMotionValuesFromProps(t,e,i){return eN(t,e,i)}}var e0=i(12115);let e1=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function e2(t){if("string"!=typeof t||t.includes("-"));else if(e1.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var e5=i(95155),e3=i(57521);let e4=(0,e0.createContext)({strict:!1});var e6=i(10696);let e9=(0,e0.createContext)({});function e7(t){return Array.isArray(t)?t.join(" "):t}let e8=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function it(t,e,i){for(let n in e)Q(e[n])||eV(n,i)||(t[n]=e[n])}let ie=()=>({...e8(),attrs:{}}),ii=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function ir(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||ii.has(t)}let is=t=>!ir(t);try{ed=require("@emotion/is-prop-valid").default,"function"==typeof ed&&(is=t=>t.startsWith("on")?!ir(t):ed(t))}catch{}function io(t){return Q(t)?t.get():t}var ia=i(49593),il=i(92513);let iu=t=>(e,i)=>{let n=(0,e0.useContext)(e9),r=(0,e0.useContext)(ia.t),s=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,n,r){return{latestValues:function(t,e,i,n){let r={},s=n(t,{});for(let t in s)r[t]=io(s[t]);let{initial:o,animate:a}=t,l=eh(t),u=ec(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let h=!!i&&!1===i.initial,c=(h=h||!1===o)?a:o;if(c&&"boolean"!=typeof c&&!eo(c)){let e=Array.isArray(c)?c:[c];for(let i=0;i<e.length;i++){let n=ef(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(i,n,r,t),renderState:e()}})(t,e,n,r);return i?s():(0,il.M)(s)},ih=iu({scrapeMotionValuesFromProps:eN,createRenderState:e8}),ic=iu({scrapeMotionValuesFromProps:eF,createRenderState:ie});var id=i(71752);let ip={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},im=!1;function ig(){return!function(){if(im)return;let t={};for(let e in ip)t[e]={isEnabled:t=>ip[e].some(e=>!!t[e])};ey=t,im=!0}(),ey}let iv=Symbol.for("motionComponentSymbol"),iy="data-"+eE("framerAppearId"),ib=(0,e0.createContext)({});function iw(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var iE=i(27226);function ix(t,{forwardMotionProps:e=!1,type:i}={},n,r){n&&function(t){let e=ig();for(let i in t)e[i]={...e[i],...t[i]};ey=e}(n);let s=i?"svg"===i:e2(t),o=s?ic:ih;function a(i,n){var a;let l,u,h,c={...(0,e0.useContext)(e6.Q),...i,layoutId:function({layoutId:t}){let e=(0,e0.useContext)(e3.L).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:d}=c,p=function(t){let{initial:e,animate:i}=function(t,e){if(eh(t)){let{initial:e,animate:i}=t;return{initial:!1===e||ea(e)?e:void 0,animate:ea(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,e0.useContext)(e9));return(0,e0.useMemo)(()=>({initial:e,animate:i}),[e7(e),e7(i)])}(i),m=o(i,d);if(!d&&id.B){(0,e0.useContext)(e4).strict;let e=function(t){let{drag:e,layout:i}=ig();if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(c);
1l=e.MeasureLayout,p.visualElement=function(t,e,i,n,r,s){let{visualElement:o}=(0,e0.useContext)(e9),a=(0,e0.useContext)(e4),l=(0,e0.useContext)(ia.t),u=(0,e0.useContext)(e6.Q),h=u.reducedMotion,c=u.skipAnimations,d=(0,e0.useRef)(null),p=(0,e0.useRef)(!1);n=n||a.renderer,!d.current&&n&&(d.current=n(t,{visualState:e,parent:o,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:h,skipAnimations:c,isSVG:s}),p.current&&d.current&&(d.current.manuallyAnimateOnMount=!0));let m=d.current,f=(0,e0.useContext)(ib);m&&!m.projection&&r&&("html"===m.type||"svg"===m.type)&&function(t,e,i,n){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:h}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||a&&iw(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,crossfade:h,layoutScroll:l,layoutRoot:u})}(d.current,i,r,f);let g=(0,e0.useRef)(!1);(0,e0.useInsertionEffect)(()=>{m&&g.current&&m.update(i,l)});let v=i[iy],y=(0,e0.useRef)(!!v&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return(0,iE.E)(()=>{p.current=!0,m&&(g.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),y.current&&m.animationState&&m.animationState.animateChanges())}),(0,e0.useEffect)(()=>{m&&(!y.current&&m.animationState&&m.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),y.current=!1),m.enteringChildren=void 0)}),m}(t,m,c,r,e.ProjectionNode,s)}return(0,e5.jsxs)(e9.Provider,{value:p,children:[l&&p.visualElement?(0,e5.jsx)(l,{visualElement:p.visualElement,...c}):null,function(t,e,i,{latestValues:n},r,s=!1,o){let a=(o??e2(t)?function(t,e,i,n){let r=(0,e0.useMemo)(()=>{let i=ie();return eC(i,e,ek(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};it(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i,n,r={},s=(i=t.style||{},it(n={},i,t),Object.assign(n,function({transformTemplate:t},e){return(0,e0.useMemo)(()=>{let i=e8();return eP(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),n);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=s,r})(e,n,r,t),l=function(t,e,i){let n={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(is(r)||!0===i&&ir(r)||!e&&!ir(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(e,"string"==typeof t,s),u=t!==e0.Fragment?{...l,...a,ref:i}
1:{},{children:h}=e,c=(0,e0.useMemo)(()=>Q(h)?h.get():h,[h]);return(0,e0.createElement)(t,{...u,children:c})}(t,i,(a=p.visualElement,u=(0,e0.useRef)(n),(0,e0.useInsertionEffect)(()=>{u.current=n}),h=(0,e0.useRef)(null),(0,e0.useCallback)(t=>{t&&m.onMount?.(t),a&&(t?a.mount(t):a.unmount());let e=u.current;if("function"==typeof e)if(t){let i=e(t);"function"==typeof i&&(h.current=i)}else h.current?(h.current(),h.current=null):e(t);else e&&(e.current=t)},[a])),m,d,e,s)]})}a.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let l=(0,e0.forwardRef)(a);return l[iv]=t,l}class iT{constructor(t){this.isMounted=!1,this.node=t}update(){}}function iS(t,e,i){let n=t.getProps();return ef(n,e,void 0!==i?i:n.custom,t)}function iP(t,e){if(t?.inherit&&e){let{inherit:i,...n}=t;return{...e,...n}}return t}function iR(t,e){let i=t?.[e]??t?.default??t;return i!==t?iP(i,t):i}let iA=t=>Array.isArray(t);function i_(t,e){let i=t.getValue("willChange");if(Q(i)&&i.add)return i.add(e);if(!i&&tA.WillChange){let i=new tA.WillChange("auto");t.addValue("willChange",i),i.add(e)}}let iC=(t,e)=>i=>e(t(i)),iM=(...t)=>t.reduce(iC);function ik(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 iD(t,e){return i=>i>0?e:t}let iO=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},iI=[E,w,C];function iL(t){let e=iI.find(e=>e.test(t));if(tn(!!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===C&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,s=0,o=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,a=2*i-n;r=ik(a,n,t+1/3),s=ik(a,n,t),o=ik(a,n,t-1/3)}else r=s=o=i;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*o),alpha:n}}(i)),i}let ij=(t,e)=>{let i=iL(t),n=iL(e);if(!i||!n)return iD(t,e);let r={...i};return t=>(r.red=iO(i.red,n.red,t),r.green=iO(i.green,n.green,t),r.blue=iO(i.blue,n.blue,t),r.alpha=eL(i.alpha,n.alpha,t),w.transform(r))},iV=new Set(["none","hidden"]);function iN(t,e){return i=>eL(t,e,i)}function iF(t){return"number"==typeof t?iN:"string"==typeof t?tl(t)?iD:M.test(t)?ij:iW:Array.isArray(t)?iB:"object"==typeof t?M.test(t)?ij:iU:iD}function iB(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>iF(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function iU(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=iF(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let iW=(t,e)=>{let i=F.createTransformer(e),n=L(t),r=L(e);if(!(n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length))return tn(!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"),iD(t,e);if(iV.has(t)&&!r.values.length||iV.has(e)&&!n.values.length)return iV.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return iM(iB(function(t,e){let i=[],n={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){let s=e.types[r],o=t.indexes[s][n[s]],a=t.values[o]??0;i[r]=a,n[s]++}return i}(n,r),r.values),i)};function iq(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?eL(t,e,i):iF(t)(t,e)}let i$=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>tM.update(e,t),stop:()=>tk(e),now:()=>tD.isProcessing?tD.timestamp:ee.now()}};function iz(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}function iG(t,e,i){var n,r;let s=Math.max(e-5,0);return n=i-t(s),(r=e-s)?1e3/r*n:0}let iH=.01,iX=2,iY=.005,iK=.5;function iZ(t,e){return t*Math.sqrt(1-e*e)}let iQ=["duration","bounce"],iJ=["stiffness","damping","mass"];function i0(t,e){return e.some(e=>void 0!==t[e])}function i1(t=.3,e=.3){let i,n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:r,restDelta:s}=n,o=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],l={done:!1,value:o},{stiffness:u,damping:c,mass:d,duration:p,velocity:m,isResolvedFromDuration:f}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!i0(t,iJ)&&i0(t,iQ))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,r=2*h(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:1,stiffness:n,damping:r}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:n=1}){let r,s;tn(t<=t$(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-e;o=h(.05,1,o),t=h(.01,10,t/1e3),o<1?(r=e=>{let n=e*o,r=n*t;return .001-(n-i)/iZ(e,o)*Math.exp(-r)},s=e=>{let n=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-n),l=iZ(Math.pow(e,2),o);return(n*i+i-s)*a*(-r(e)+.001>0?-1:1)/l}):(r=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));
1let a=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(r,s,5/t);if(t=t$(t),isNaN(a))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(a,2)*n;return{stiffness:e,damping:2*o*Math.sqrt(n*e),duration:t}}}(t);(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...n,velocity:-((n.velocity||0)/1e3)}),g=m||0,v=c/(2*Math.sqrt(u*d)),y=a-o,b=Math.sqrt(u/d)/1e3,w=5>Math.abs(y);if(r||(r=w?iH:iX),s||(s=w?iY:iK),v<1){let t=iZ(b,v);i=e=>a-Math.exp(-v*b*e)*((g+v*b*y)/t*Math.sin(t*e)+y*Math.cos(t*e))}else if(1===v)i=t=>a-Math.exp(-b*t)*(y+(g+b*y)*t);else{let t=b*Math.sqrt(v*v-1);i=e=>{let i=Math.exp(-v*b*e),n=Math.min(t*e,300);return a-i*((g+v*b*y)*Math.sinh(n)+t*y*Math.cosh(n))/t}}let E={calculatedDuration:f&&p||null,next:t=>{let e=i(t);if(f)l.done=t>=p;else{let n=0===t?g:0;v<1&&(n=0===t?t$(g):iG(i,t,e));let o=Math.abs(a-e)<=s;l.done=Math.abs(n)<=r&&o}return l.value=l.done?a:e,l},toString:()=>{let t=Math.min(iz(E),2e4),e=t5(e=>E.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return E}function i2({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,d,p=t[0],m={done:!1,value:p},f=i*e,g=p+f,v=void 0===o?g:o(g);v!==g&&(f=v-p);let y=t=>-f*Math.exp(-t/n),b=t=>v+y(t),w=t=>{let e=y(t),i=b(t);m.done=Math.abs(e)<=u,m.value=m.done?v:i},E=t=>{let e;if(e=m.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;c=t,d=i1({keyframes:[m.value,(i=m.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:iG(b,t,m.value),damping:r,stiffness:s,restDelta:u,restSpeed:h})}};return E(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,w(t),E(t)),void 0!==c&&t>=c)?d.next(t-c):(e||w(t),m)}}}i1.applyToOptions=t=>{let e=function(t,e=100,i){let n=i({...t,keyframes:[0,e]}),r=Math.min(iz(n),2e4);return{type:"keyframes",ease:t=>n.next(r*t).value/e,duration:r/1e3}}(t,100,i1);return t.ease=e.ease,t.duration=t$(e.duration),t.type="keyframes",t};let i5=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function i3(t,e,i,n){return t===e&&i===n?tR:r=>0===r||1===r?r:i5(function(t,e,i,n,r){let s,o,a=0;do(s=i5(o=e+(i-e)/2,n,r)-t)>0?i=o:e=o;while(Math.abs(s)>1e-7&&++a<12);return o}(r,0,1,t,i),e,n)}let i4=i3(.42,0,1,1),i6=i3(0,0,.58,1),i9=i3(.42,0,.58,1),i7=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,i8=t=>e=>1-t(1-e),nt=i3(.33,1.53,.69,.99),ne=i8(nt),ni=i7(ne),nn=t=>(t*=2)<1?.5*ne(t):.5*(2-Math.pow(2,-10*(t-1))),nr=t=>1-Math.sin(Math.acos(t)),ns=i8(nr),no=i7(nr),na={linear:tR,easeIn:i4,easeInOut:i9,easeOut:i6,circIn:nr,circInOut:no,circOut:ns,backIn:ne,backInOut:ni,backOut:nt,anticipate:nn},nl=t=>{if(t0(t)){tr(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,r]=t;return i3(e,i,n,r)}return"string"==typeof t?(tr(void 0!==na[t],`Invalid easing type '${t}'`,"invalid-easing-type"),na[t]):t},nu=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n};function nh({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var r;let s,o=Array.isArray(n)&&"number"!=typeof n[0]?n.map(nl):nl(n),a={done:!1,value:e[0]},l=function(t,e,{clamp:i=!0,ease:n,mixer:r}={}){let s=t.length;if(tr(s===e.length,"Both input and output ranges must be the same length","range-length"),1===s)return()=>e[0];if(2===s&&e[0]===e[1])return()=>e[1];let o=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,i){let n=[],r=i||tA.mix||iq,s=t.length-1;for(let i=0;i<s;i++){let s=r(t[i],t[i+1]);e&&(s=iM(Array.isArray(e)?e[i]||tR:e,s)),n.push(s)}return n}(e,n,r),l=a.length,u=i=>{if(o&&i<t[0])return e[0];let n=0;if(l>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let r=nu(t[n],t[n+1],i);return a[n](r)};return i?e=>u(h(t[0],t[s-1],e)):u}((r=i&&i.length===e.length?i:(!function(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let r=nu(0,e,n);t.push(eL(i,1,r))}}(s=[0],e.length-1),s),r.map(e=>e*t)),e,{ease:Array.isArray(o)?o:e.map(()=>o||i9).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=l(e),a.done=e>=t,a)}}let nc={decay:i2,inertia:i2,tween:nh,keyframes:nh,spring:i1};
1function nd(t){"string"==typeof t.type&&(t.type=nc[t.type])}let np=t=>t/100;class nm extends tQ{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!==ee.now()&&this.tick(ee.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},tJ.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;nd(t);let{type:e=nh,repeat:i=0,repeatDelay:n=0,repeatType:r,velocity:s=0}=t,{keyframes:o}=t,a=e||nh;a!==nh&&"number"!=typeof o[0]&&(this.mixKeyframes=iM(np,iq(o[0],o[1])),o=[0,100]);let l=a({...t,keyframes:o});"mirror"===r&&(this.mirroredGenerator=a({...t,keyframes:[...o].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=iz(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:i,totalDuration:n,mixKeyframes:r,mirroredGenerator:s,resolvedDuration:o,calculatedDuration:a}=this;if(null===this.startTime)return i.next(0);let{delay:l=0,keyframes:u,repeat:c,repeatType:d,repeatDelay:p,type:m,onUpdate:f,finalKeyframe:g}=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),y=this.playbackSpeed>=0?v<0:v>n;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let b=this.currentTime,w=i;if(c){let t=Math.min(this.currentTime,n)/o,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===d?(i=1-i,p&&(i-=p/o)):"mirror"===d&&(w=s)),b=h(0,1,i)*o}let E=y?{done:!1,value:u[0]}:w.next(b);r&&(E.value=r(E.value));let{done:x}=E;y||null===a||(x=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&x);return T&&m!==i2&&(E.value=tZ(u,this.options,g,this.speed)),f&&f(E.value),T&&this.finish(),E}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=t$(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(ee.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:t=i$,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(ee.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,tJ.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 nf={anticipate:nn,backInOut:ni,circInOut:no};
1class ng extends t9{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in nf&&(t.ease=nf[t.ease])}(t),nd(t),super(t),void 0!==t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:r,...s}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new nm({...s,autoplay:!1}),a=Math.max(10,ee.now()-this.startTime),l=h(0,10,a-10);e.setWithVelocity(o.sample(Math.max(0,a-l)).value,o.sample(a).value,l),o.stop()}}let nv=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(F.test(t)||"0"===t)&&!t.startsWith("url("));function ny(t){t.duration=0,t.type="keyframes"}let nb=new Set(["opacity","clipPath","filter","transform"]),nw=tX(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class nE extends tQ{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="loop",keyframes:o,name:a,motionValue:l,element:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=ee.now();const c={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,name:a,motionValue:l,element:u,...h},d=u?.KeyframeResolver||tB;this.keyframeResolver=new d(o,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){this.keyframeResolver=void 0;let{name:r,type:s,velocity:o,delay:a,isHandoff:l,onUpdate:u}=i;this.resolvedAt=ee.now(),!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=nv(r,e),a=nv(s,e);return tn(o===a,`You are trying to animate ${e} from "${r}" to "${s}". "${o?s:r}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||t6(i))&&n)}(t,r,s,o)&&((tA.instantAnimations||!a)&&u?.(tZ(t,i,e)),t[0]=t[t.length-1],ny(i),i.repeat=0);let h={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},c=!l&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return nw()&&i&&nb.has(i)&&("transform"!==i||!l)&&!a&&!n&&"mirror"!==r&&0!==s&&"inertia"!==o}(h),d=h.motionValue?.owner?.current,p=c?new ng({...h,element:d}):new nm(h);p.finished.then(()=>{this.notifyFinished()}).catch(tR),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}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(),tV=!0,tF(),tN(),tV=!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 nx={type:"spring",stiffness:500,damping:25,restSpeed:10},nT={type:"keyframes",duration:.8},nS={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nP=t=>null!==t,nR=(t,e,i,n={},r,s)=>o=>{let a=iR(n,t)||{},l=a.delay||n.delay||0,{elapsed:h=0}=n;h-=t$(l);let c={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-h,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:s?void 0:r};!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:s,repeatType:
1o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(a)&&Object.assign(c,((t,{keyframes:e})=>e.length>2?nT:u.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:nx:nS)(t,c)),c.duration&&(c.duration=t$(c.duration)),c.repeatDelay&&(c.repeatDelay=t$(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(ny(c),0===c.delay&&(d=!0)),(tA.instantAnimations||tA.skipAnimations||r?.shouldSkipAnimations)&&(d=!0,ny(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,d&&!s&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"},n){let r=t.filter(nP),s=e&&"loop"!==i&&e%2==1?0:r.length-1;return r[s]}(c.keyframes,a);if(void 0!==t)return void tM.update(()=>{c.onUpdate(t),c.onComplete()})}return a.isSync?new nm(c):new nE(c)};function nA(t,e,{delay:i=0,transitionOverride:n,type:r}={}){let{transition:s,transitionEnd:o,...a}=e,l=t.getDefaultTransition();s=s?iP(s,l):l;let u=s?.reduceMotion;n&&(s=n);let h=[],c=r&&t.animationState&&t.animationState.getState()[r];for(let e in a){let n=t.getValue(e,t.latestValues[e]??null),r=a[e];if(void 0===r||c&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(c,e))continue;let o={delay:i,...iR(s||{},e)},l=n.get();if(void 0!==l&&!n.isAnimating&&!Array.isArray(r)&&r===l&&!o.velocity)continue;let d=!1;if(window.MotionHandoffAnimation){let i=t.props[iy];if(i){let t=window.MotionHandoffAnimation(i,e,tM);null!==t&&(o.startTime=t,d=!0)}}i_(t,e);let p=u??t.shouldReduceMotion;n.start(nR(e,n,r,p&&J.has(e)?{type:!1}:o,t,d));let m=n.animation;m&&h.push(m)}if(o){let e=()=>tM.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=iS(t,e)||{};for(let e in r={...r,...i}){var s;let i=iA(s=r[e])?s[s.length-1]||0:s;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,en(i))}}(t,o)});h.length?Promise.all(h).then(e):e()}return h}function n_(t,e,i,n=0,r=1){let s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*n;return"function"==typeof i?i(s,o):1===r?s*n:a-s*n}function nC(t,e,i={}){let n=iS(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:r=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(r=i.transitionOverride);let s=n?()=>Promise.all(nA(t,n,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=r;return function(t,e,i=0,n=0,r=0,s=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(nC(l,e,{...o,delay:i+("function"==typeof n?0:n)+n_(t.variantChildren,l,n,r,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,n,s,o,a,i)}:()=>Promise.resolve(),{when:a}=r;if(!a)return Promise.all([s(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}let nM=eu.length;function nk(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}let nD=[...el].reverse(),nO=el.length;function nI(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nL(){return{animate:nI(!0),whileInView:nI(),whileHover:nI(),whileTap:nI(),whileDrag:nI(),whileFocus:nI(),exit:nI()}}class nj extends iT{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=>nC(t,e,i)));else if("string"==typeof e)n=nC(t,e,i);else{let r="function"==typeof e?iS(t,e,i.custom):e;n=Promise.all(nA(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=nL(),n=!0,r=e=>(i,n)=>{let r=iS(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...n}=r;i={...i,...n,...e}}return i};function s(s){let{props:o}=t,a=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<nM;t++){let n=eu[t],r=e.props[n];(ea(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},l=[],u=new Set,h={},c=1/0;for(let e=0;e<nO;e++){var d,p;let m=nD[e],f=i[m],g=void 0!==o[m]?o[m]:a[m],v=ea(g),y=m===s?f.isActive:null;!1===y&&(c=e);let b=g===a[m]&&g!==o[m]&&v;if(b&&n&&t.manuallyAnimateOnMount&&(b=!1),f.protectedKeys={...h},!f.isActive&&null===y||!g&&!f.prevProp||eo(g)||"boolean"==typeof g)continue;if("exit"===m&&f.isActive&&!0!==y){f.prevResolvedValues&&(h={...h,...f.prevResolvedValues});continue}let w=(d=f.prevProp,"string"==typeof(p=g)?p!==d:!!Array.isArray(p)&&!nk(p,d)),E=w||m===s&&f.isActive&&!b&&v||e>c&&v,x=!1,T=Array.isArray(g)?g:[g],S=T.reduce(r(m),{});!1===y&&(S={});let{prevResolvedValues:P={}}=f,R={...P,...S},A=e=>{E=!0,u.has(e)&&(x=!0,u.delete(e)),f.needsAnimating[e]=!0;let i=t.getValue(e);
1i&&(i.liveStyle=!1)};for(let t in R){let e=S[t],i=P[t];if(!h.hasOwnProperty(t))(iA(e)&&iA(i)?nk(e,i):e===i)?void 0!==e&&u.has(t)?A(t):f.protectedKeys[t]=!0:null!=e?A(t):u.add(t)}f.prevProp=g,f.prevResolvedValues=S,f.isActive&&(h={...h,...S}),n&&t.blockInitialAnimation&&(E=!1);let _=b&&w,C=!_||x;E&&C&&l.push(...T.map(e=>{let i={type:m};if("string"==typeof e&&n&&!_&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,r=iS(n,e);if(n.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=n_(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(u.size){let e={};if("boolean"!=typeof o.initial){let i=iS(t,Array.isArray(o.initial)?o.initial[0]:o.initial);i&&i.transition&&(e.transition=i.transition)}u.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=n??null}),l.push({animation:e})}let m=!!l.length;return n&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(m=!1),n=!1,m?e(l):Promise.resolve()}return{animateChanges:s,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),i[e].isActive=n;let r=s(e);for(let t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=nL()}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();eo(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?.()}}let nV=0;class nN extends iT{constructor(){super(...arguments),this.id=nV++}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(()=>{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}let nF={x:!1,y:!1};function nB(t){return[t("x"),t("y")]}function nU(t){return t.max-t.min}function nW(t,e,i,n=.5){t.origin=n,t.originPoint=eL(e.min,e.max,t.origin),t.scale=nU(i)/nU(e),t.translate=eL(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function nq(t,e,i,n){nW(t.x,e.x,i.x,n?n.originX:void 0),nW(t.y,e.y,i.y,n?n.originY:void 0)}function n$(t,e,i){t.min=i.min+e.min,t.max=t.min+nU(e)}function nz(t,e,i){t.min=e.min-i.min,t.max=t.min+nU(e)}function nG(t,e,i){nz(t.x,e.x,i.x),nz(t.y,e.y,i.y)}let nH=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),nX=new Set(["INPUT","SELECT","TEXTAREA"]);function nY(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}var nK=i(19);function nZ(t){return(0,nK.G)(t)&&"ownerSVGElement"in t}function nQ(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let r=i?.[t]??n.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t).filter(t=>null!=t)}let nJ=new WeakMap,n0=(t,e,i)=>(n,r)=>r&&r[0]?r[0][t+"Size"]:nZ(n)&&"getBBox"in n?n.getBBox()[e]:n[i],n1=n0("inline","width","offsetWidth"),n2=n0("block","height","offsetHeight");function n5({target:t,borderBoxSize:e}){nJ.get(t)?.forEach(i=>{i(t,{get width(){return n1(t,e)},get height(){return n2(t,e)}})})}function n3(t){t.forEach(n5)}let n4=new Set;function n6(t,e){let i;return"function"==typeof t?(n4.add(t),s||(s=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};n4.forEach(e=>e(t))},window.addEventListener("resize",s)),()=>{n4.delete(t),n4.size||"function"!=typeof s||(window.removeEventListener("resize",s),s=void 0)}):(!r&&"u">typeof ResizeObserver&&(r=new ResizeObserver(n3)),(i=nQ(t)).forEach(t=>{let i=nJ.get(t);i||(i=new Set,nJ.set(t,i)),i.add(e),r?.observe(t)}),()=>{i.forEach(t=>{let i=nJ.get(t);i?.delete(e),i?.size||r?.unobserve(t)})})}let n9=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function n7(t){return{point:{x:t.pageX,y:t.pageY}}}function n8(t,e,i,n){return nY(t,e,t=>n9(t)&&i(t,n7(t)),n)}let rt=({current:t})=>t?t.ownerDocument.defaultView:null,re=(t,e)=>Math.abs(t-e),ri=new Set(["auto","scroll"]);class rn{constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=ro(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(re(t.x,e.x)**2+re(t.y,e.y)**2)>=this.distanceThreshold);if(!n&&!r)return;let{point:s}=i,{timestamp:o}=tD;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=rr(e,this.transformPagePoint),tM.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=ro("pointercancel"===t.type?this.lastMoveEventInfo:rr(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!n9(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=n||window;const a=rr(n7(t),this.transformPagePoint),{point:l}=a,{timestamp:u}=tD;this.history=[{...l,timestamp:u}];const{onSessionStart:h}=e;h&&h(t,ro(a,this.history)),this.removeListeners=iM(n8(this.contextWindow,"pointermove",this.handlePointerMove),n8(this.contextWindow,"pointerup",this.handlePointerUp),n8(this.contextWindow,"pointercancel",this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(ri.has(t.overflowX)||ri.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,n=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},r={x:n.x-e.x,y:n.y-e.y};(0!==r.x||0!==r.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(t,n),tM.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),tk(this.updatePoint)}}function rr(t,e){return e?{point:e(t.point)}:t}function rs(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ro({point:t},e){return{point:t,delta:rs(t,ra(e)),offset:rs(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=ra(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>t$(.1)));)i--;if(!n)return{x:0,y:0};n===t[0]&&t.length>2&&r.timestamp-n.timestamp>2*t$(.1)&&(n=t[1]);let s=(r.timestamp-n.timestamp)/1e3;if(0===s)return{x:0,y:0};let o={x:(r.x-n.x)/s,y:(r.y-n.y)/s}
1;return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function ra(t){return t[t.length-1]}function rl(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function ru(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function rh(t,e,i){return{min:rc(t,e),max:rc(t,i)}}function rc(t,e){return"number"==typeof t?t:t[e]||0}let rd=new WeakMap;class rp{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Z(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let r=t=>{e&&this.snapToCursor(n7(t).point),this.stopAnimation()},s=(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(nF[t])return null;else return nF[t]=!0,()=>{nF[t]=!1};return nF.x||nF.y?null:(nF.x=nF.y=!0,()=>{nF.x=nF.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nB(t=>{let e=this.getAxisMotionValue(t).get()||0;if(S.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];n&&(e=nU(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&tM.update(()=>r(t,e),!1,!0),i_(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&tM.update(()=>s(t,e),!1,!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new rn(t,{onSessionStart:r,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:rt(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!n||!i)return;let{velocity:s}=n;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&tM.postRender(()=>o(i,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!rf(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?eL(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?eL(i,t,n.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;t&&iw(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:rl(t.x,i,r),y:rl(t.y,e,n)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:rh(t,"left","right"),y:rh(t,"top","bottom")}}(e),n!==this.constraints&&!iw(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&nB(t=>{var e,n;let r;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],n=this.constraints[t],r={},void 0!==n.min&&(r.min=n.min-e.min),void 0!==n.max&&(r.max=n.max-e.min),r))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!iw(e))return!1;let n=e.current;tr(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;
1let s=function(t,e,i){let n=eQ(t,i),{scroll:r}=e;return r&&(eY(n.x,r.offset.x),eY(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),o=(t=r.layout.layoutBox,{x:ru(t.x,s.x),y:ru(t.y,s.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=eU(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(nB(o=>{if(!rf(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return i_(this.visualElement,t),i.start(nR(t,i,0,e,this.visualElement,!1))}stopAnimation(){nB(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){nB(e=>{let{drag:i}=this.getProps();if(!rf(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[e],o=r.get()||0;r.set(t[e]-eL(i,s,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!iw(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};nB(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,r;let s,o,a,l=e.get();n[t]=(i={min:l,max:l},r=this.constraints[t],s=.5,o=nU(i),(a=nU(r))>o?s=nu(r.min,r.max-o,i.min):o>a&&(s=nu(i.min,i.max-a,r.min)),h(0,1,s))}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),nB(e=>{if(!rf(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set(eL(r,s,n[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;rd.set(this.visualElement,this);let e=this.visualElement.current,i=n8(e,"pointerdown",t=>{let{drag:i,dragListener:n=!0}=this.getProps(),r=t.target,s=r!==e&&(nX.has(r.tagName)||!0===r.isContentEditable);i&&n&&!s&&this.start(t)}),n=()=>{var i,n,r;let s,o,{dragConstraints:a}=this.getProps();iw(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,n=a.current,s=n6(i,rm(r=()=>this.scalePositionWithinConstraints())),o=n6(n,rm(r)),t=()=>{s(),o()}))},{projection:r}=this.visualElement,s=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),tM.read(n);let o=nY(window,"resize",()=>this.scalePositionWithinConstraints()),a=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(nB(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{o(),i(),s(),a&&a(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function rm(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function rf(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class rg extends iT{constructor(t){super(t),this.removeGroupControls=tR,this.removeListeners=tR,this.controls=new rp(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tR}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}let rv=t=>(e,i)=>{t&&tM.update(()=>t(e,i),!1,!0)};class ry extends iT{constructor(){super(...arguments),this.removePointerDownListener=tR}onPointerDown(t){this.session=new rn(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rt(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:rv(t),onStart:rv(e),onMove:rv(i),onEnd:(t,e)=>{delete this.session,n&&tM.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=n8(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let rb={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var rw=i(98534);let rE=!1;class rx extends e0.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),rE&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),rb.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,{projection:s}=i;return s&&(s.isPresent=r,t.layoutDependency!==e&&s.setOptions({...s.options,layoutDependency:e}),rE=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||tM.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),t8.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;rE=!0,n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function rT(t){let[e,i]=(0,rw.xQ)(),n=(0,e0.useContext)(e3.L);return(0,e5.jsx)(rx,{...t,layoutGroup:n,switchLayoutGroup:(0,e0.useContext)(ib),isPresent:e,safeToRemove:i})}let rS=["TopLeft","TopRight","BottomLeft","BottomRight"],rP=rS.length,rR=t=>"string"==typeof t?parseFloat(t):t,rA=t=>"number"==typeof t||P.test(t);function r_(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let rC=rk(0,.5,ns),rM=rk(.5,.95,tR);function rk(t,e,i){return n=>n<t?0:n>e?1:i(nu(t,e,n))}function rD(t,e){t.min=e.min,t.max=e.max}function rO(t,e){rD(t.x,e.x),rD(t.y,e.y)}function rI(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function rL(t,e,i,n,r){return t-=e,t=n+1/i*(t-n),void 0!==r&&(t=n+1/r*(t-n)),t}function rj(t,e,[i,n,r],s,o){!function(t,e=0,i=1,n=.5,r,s=t,o=t){if(S.test(e)&&(e=parseFloat(e),e=eL(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=eL(s.min,s.max,n);t===s&&(a-=e),t.min=rL(t.min,e,i,a,r),t.max=rL(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,s,o)}let rV=["x","scaleX","originX"],rN=["y","scaleY","originY"];
1function rF(t,e,i,n){rj(t.x,e,rV,i?i.x:void 0,n?n.x:void 0),rj(t.y,e,rN,i?i.y:void 0,n?n.y:void 0)}function rB(t){return 0===t.translate&&1===t.scale}function rU(t){return rB(t.x)&&rB(t.y)}function rW(t,e){return t.min===e.min&&t.max===e.max}function rq(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function r$(t,e){return rq(t.x,e.x)&&rq(t.y,e.y)}function rz(t){return nU(t.x)/nU(t.y)}function rG(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class rH{constructor(){this.members=[]}add(t){tz(this.members,t);for(let e=this.members.length-1;e>=0;e--){let i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;let n=i.instance;n&&!1===n.isConnected&&!1!==i.isPresent&&!i.snapshot&&tG(this.members,i)}t.scheduleRender()}remove(t){if(tG(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t],n=i.instance;if(!1!==i.isPresent&&(!n||!1!==n.isConnected)){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender();let n=i.options.layoutDependency,r=t.options.layoutDependency;if(void 0===n||void 0===r||n!==r){let n=i.instance;!(n&&!1===n.isConnected&&!i.snapshot)&&(t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0))}let{crossfade:s}=t.options;!1===s&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let rX=(t,e)=>t.depth-e.depth;class rY{constructor(){this.children=[],this.isDirty=!1}add(t){tz(this.children,t),this.isDirty=!0}remove(t){tG(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(rX),this.isDirty=!1,this.children.forEach(t)}}let rK=["","X","Y","Z"],rZ=0;function rQ(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function rJ({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=e?.()){this.id=rZ++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(r2),this.nodes.forEach(r8),this.nodes.forEach(st),this.nodes.forEach(r5)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new rY)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tH),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=nZ(e)&&!(nZ(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:n,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),t){let i,n=0,r=()=>this.root.updateBlockedByResize=!1;tM.read(()=>{n=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==n){let e,s;n=t,this.root.updateBlockedByResize=!0,i&&i(),e=ee.now(),s=({timestamp:t})=>{let i=t-e;i>=250&&(tk(s),r(i-250))},tM.setup(s,!0),i=()=>tk(s),rb.hasAnimatedSinceResize&&(rb.hasAnimatedSinceResize=!1,this.nodes.forEac
1h(r7))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(i||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||r.getDefaultTransition()||so,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!r$(this.targetLayout,n),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...iR(s,"layout"),onPlay:o,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u)}else e||r7(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),tk(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(se),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=i.props[iy];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",tM,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(r4);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(r6);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(r9),this.nodes.forEach(r0),this.nodes.forEach(r1)):this.nodes.forEach(r6),this.clearAllSnapshots();let t=ee.now();tD.delta=h(0,1e3/60,t-tD.timestamp),tD.timestamp=t,tD.isProcessing=!0,tO.update.process(tD),tO.preRender.process(tD),tO.render.process(tD),tD.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,t8.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(r3),this.sharedNodes.forEach(si)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tM.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tM.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||nU(this.snapshot.measuredBox.x)||nU(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=Z(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=n(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!rU(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||e$(this.latestValues)||s)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),su((e=n).x),su(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return Z();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(sc))){let{scroll:t}=this.root;t&&(eY(e.x,t.offset.x),eY(e.y,t.offset.y))}return e}removeElementScroll(t){let e=Z();if(rO(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:r,options:s}=n;n!==this.root&&r&&s.layoutScroll&&(r.wasRoot&&rO(e,t),eY(e.x,r.offset.x),eY(e.y,r.offset.y))}return e}applyTransform(t,e=!1){let i=Z();rO(i,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&eZ(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),e$(n.latestValues)&&eZ(i,n.latestValues)}return e$(this.latestValues)&&eZ(i,this.latestValues),i}removeTransform(t){let e=Z();rO(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!e$(i.latestValues))continue;eq(i.latestValues)&&i.updateSnapshot();let n=Z();rO(n,i.measurePageBox()),rF(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return e$(this.latestValues)&&rF(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==tD.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:r}=this.options;if(!this.layout||!(n||r))return;this.resolvedRelativeTargetAt=tD.timestamp;let s=this.getClosestProjectingParent();if(s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=Z(),this.targetWithTransforms=Z()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var o,a,l;this.forceRelativeParentToResolveTarget(),o=this.target,a=this.relativeTarget,l=this.relativeParent.target,n$(o.x,a.x,l.x),n$(o.y,a.y,l.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rO(this.target,this.layout.layoutBox),eX(this.target,this.targetDelta)):rO(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,s&&!!s.resumingFrom==!!this.resumingFrom&&!s.options.layoutScroll&&s.target&&1!==this.animationProgress?this.createRelativeTarget(s,this.target,s.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||eq(this.parent.latestValues)||ez(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Z(),this.relativeTargetOrigin=Z(),nG(this.relativeTargetOrigin,e,i),rO(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===tD.timestamp&&(i=!1),i)return;let{layout:n,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||r))return;rO(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;!function(t,e,i,n=!1){let r,s,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(r=i[a]).projectionDelta;let{visualElement:o}=r.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&eZ(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,eX(t,s)),n&&e$(r.latestValues)&&eZ(t,r.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=Z());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(rI(this.prevProjectionDelta.x,this.projectionDelta.x),rI(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),nq(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&rG(this.projectionDelta.x,this.prevProjectionDelta.x)&&rG(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Y(),this.projectionDelta=Y(),this.projectionDeltaWithTransform=Y()}setAnimationOrigin(t,e=!1){let i,n=this.snapshot,r=n?n.latestValues:{},s={...this.latestValues},o=Y();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=Z(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(ss));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(sn(o.x,t.x,n),sn(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,m,f,g;nG(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=a,g=n,sr(p.x,m.x,f.x,g),sr(p.y,m.y,f.y,g),i&&(u=this.relativeTarget,d=i,rW(u.x,d.x)&&rW(u.y,d.y))&&(this.isProjectionDirty=!1),i||(i=Z()),rO(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,n,r,s){r?(t.opacity=eL(0,i.opacity??1,rC(n)),t.opacityExit=eL(e.opacity??1,0,rM(n))):s&&(t.opacity=eL(e.opacity??1,i.opacity??1,n));for(let r=0;r<rP;r++){let s=`border${rS[r]}Radius`,o=r_(e,s),a=r_(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||rA(o)===rA(a)?(t[s]=Math.max(eL(rR(o),rR(a),n),0),(S.test(a)||S.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=eL(e.rotate||0,i.rotate||0,n))}(s,r,this.latestValues,n,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(tk(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tM.update(()=>{var e,i,n;let r;rb.hasAnimatedSinceResize=!0,tJ.layout++,this.motionValue||(this.motionValue=en(0)),this.currentAnimation=(e=this.motionValue,i=[0,1e3],n={...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{tJ.layout--},onComplete:()=>{tJ.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}},(r=Q(e)?e:en(e)).start(nR("",r,i,n)),r.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&sh(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||Z();let e=nU(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=nU(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}rO(e,i),eZ(e,r),nq(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new rH),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
1return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&rQ("z",t,n,this.animationValues);for(let e=0;e<rK.length;e++)rQ(`rotate${rK[e]}`,t,n,this.animationValues),rQ(`skew${rK[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=io(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=io(e?.pointerEvents)||""),this.hasProjected&&!e$(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let r=n.animationValues||n.latestValues;this.applyTransformsToTarget();let s=function(t,e,i){let n="",r=t.x.translate/e.x,s=t.y.translate/e.y,o=i?.z||0;if((r||s||o)&&(n=`translate3d(${r}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:s,skewX:o,skewY:a}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),r&&(n+=`rotateX(${r}deg) `),s&&(n+=`rotateY(${s}deg) `),o&&(n+=`skewX(${o}deg) `),a&&(n+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);i&&(s=i(r,s)),t.transform=s;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,n.animationValues?t.opacity=n===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:t.opacity=n===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,ej){if(void 0===r[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=ej[e],l="none"===s?r[e]:i(r[e],n);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?io(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(r4),this.root.sharedNodes.clear()}}}function r0(t){t.updateLayout()}function r1(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=t.layout,{animationType:r}=t.options,s=e.source!==t.layout.source;"size"===r?nB(t=>{let n=s?e.measuredBox[t]:e.layoutBox[t],r=nU(n);n.min=i[t].min,n.max=n.min+r}):sh(r,e.layoutBox,i)&&nB(n=>{let r=s?e.measuredBox[n]:e.layoutBox[n],o=nU(i[n]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=Y();nq(o,i,e.layoutBox);let a=Y();s?nq(a,t.applyTransform(n,!0),e.measuredBox):nq(a,i,e.layoutBox);let l=!rU(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let o=Z();nG(o,e.layoutBox,r.layoutBox);let a=Z();nG(a,i,s.layoutBox),r$(o,a)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function r2(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function r5(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function r3(t){t.clearSnapshot()}function r4(t){t.clearMeasurements()}function r6(t){t.isLayoutDirty=!1}function r9(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function r7(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function r8(t){t.resolveTargetDelta()}function st(t){t.calcProjection()}function se(t){t.resetSkewAndRotation()}function si(t){t.removeLeadSnapshot()}function sn(t,e,i){t.translate=eL(e.translate,0,i),t.scale=eL(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function sr(t,e,i,n){t.min=eL(e.min,i.min,n),t.max=eL(e.max,i.max,n)}function ss(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let so={duration:.45,ease:[.4,0,.1,1]},sa=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),sl=sa("applewebkit/")&&!sa("chrome/")?Math.round:tR;function su(t){t.min=sl(t.min),t.max=sl(t.max)}function sh(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(rz(e)-rz(i)))}function sc(t){return t!==t.root&&t.scroll?.wasRoot}let sd=rJ({attachResizeListener:(t,e)=>nY(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),sp={current:void 0},sm=rJ({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!sp.current){let t=new sd({});t.mount(window),t.setOptions({layoutScroll:!0}),sp.current=t}return sp.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function sf(t,e){let i=nQ(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function sg(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&tM.postRender(()=>r(e,n7(e)))}class sv extends iT{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=sf(t,i);return n.forEach(t=>{let i,n=!1,s=!1,o=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},a=t=>{n=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),s&&(s=!1,o(t))},l=t=>{if("touch"!==t.pointerType){if(n){s=!0;return}o(t)}};t.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||nF.x||nF.y)return;s=!1;let o=e(t,n);"function"==typeof o&&(i=o,t.addEventListener("pointerleave",l,r))},r),t.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",a,r)},r)}),s}(t,(t,e)=>(sg(this.node,e,"Start"),t=>sg(this.node,t,"End"))))}unmount(){}}class sy extends iT{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=iM(nY(this.node.current,"focus",()=>this.onFocus()),nY(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var sb=i(57955);let sw=(t,e)=>!!e&&(t===e||sw(t,e.parentElement)),sE=new WeakSet;function sx(t){return e=>{"Enter"===e.key&&t(e)}}function sT(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function sS(t){return n9(t)&&!(nF.x||nF.y)}let sP=new WeakSet;function sR(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&tM.postRender(()=>r(e,n7(e)))}class sA extends iT{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;
1this.unmount=function(t,e,i={}){let[n,r,s]=sf(t,i),o=t=>{let n=t.currentTarget;if(!sS(t)||sP.has(t))return;sE.add(n),i.stopPropagation&&sP.add(t);let s=e(n,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),sE.has(n)&&sE.delete(n),sS(t)&&"function"==typeof s&&s(t,{success:e})},a=t=>{o(t,n===window||n===document||i.useGlobalTarget||sw(n,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};return n.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",o,r),(0,sb.s)(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=sx(()=>{if(sE.has(i))return;sT(i,"down");let t=sx(()=>{sT(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>sT(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,r)),nH.has(t.tagName)||!0===t.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(sR(this.node,e,"Start"),(t,{success:e})=>sR(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}let s_=new WeakMap,sC=new WeakMap,sM=t=>{let e=s_.get(t.target);e&&e(t)},sk=t=>{t.forEach(sM)},sD={some:0,all:1};class sO extends iT{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:r,amount:s="some",once:o}=i,a={root:n?n.current:void 0,rootMargin:r,threshold:"number"==typeof s?s:sD[s]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,o&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),r=e?i:n;r&&r(t)};return t=this.node.current,e=function({root:t,...e}){let i=t||document;sC.has(i)||sC.set(i,{});let n=sC.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(sk,{root:t,...e})),n[r]}(a),s_.set(t,l),e.observe(t),()=>{s_.delete(t),e.unobserve(t)}}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let sI=function(t,e){if("u"<typeof Proxy)return ix;let i=new Map,n=(i,n)=>ix(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(r,s)=>"create"===s?n:(i.has(s)||i.set(s,ix(s,void 0,t,e)),i.get(s))})}({animation:{Feature:nj},exit:{Feature:nN},inView:{Feature:sO},tap:{Feature:sA},focus:{Feature:sy},hover:{Feature:sv},pan:{Feature:ry},drag:{Feature:rg,ProjectionNode:sm,MeasureLayout:rT},layout:{ProjectionNode:sm,MeasureLayout:rT}},(t,e)=>e.isSVG??e2(t)?new eB(e):new eJ(e,{allowProjection:t!==e0.Fragment}))},4906:(t,e,i)=>{"use strict";i(19565)},10696:(t,e,i)=>{"use strict";i.d(e,{Q:()=>n});let n=(0,i(12115).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},13587:(t,e,i)=>{"use strict";function n({moduleIds:t}){return null}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"PreloadChunks",{enumerable:!0,get:function(){return n}}),i(95155),i(47650),i(12756),i(54049),i(94013)},13721:()=>{},16814:()=>{},17697:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}});let n=i(28729)._(i(77377));function r(t,e){let i={};"function"==typeof t&&(i.loader=t);let r={...i,...e};return(0,n.default)({...r,modules:r.loadableGenerated?.modules})}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},18006:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,r={isBot:function(){return a},userAgent:function(){return u},userAgentFromString:function(){return l}};for(var s in r)Object.defineProperty(e,s,{enumerable:!0,get:r[s]});let o=(n=i(70823))&&n.__esModule?n:{default:n};function a(t){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Google-InspectionTool|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|Skype
1UriPreview|ia_archiver/i.test(t)}function l(t){return{...(0,o.default)(t),isBot:void 0!==t&&a(t)}}function u({headers:t}){return l(t.get("user-agent")||void 0)}},19565:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={ImageResponse:function(){return s.ImageResponse},NextRequest:function(){return o.NextRequest},NextResponse:function(){return a.NextResponse},URLPattern:function(){return u.URLPattern},after:function(){return h.after},connection:function(){return c.connection},userAgent:function(){return l.userAgent},userAgentFromString:function(){return l.userAgentFromString}};for(var r in n)Object.defineProperty(e,r,{enumerable:!0,get:n[r]});let s=i(31422),o=i(96422),a=i(41450),l=i(18006),u=i(43829),h=i(36785),c=i(74790)},20128:()=>{},20563:()=>{},22104:()=>{},23063:()=>{},27226:(t,e,i)=>{"use strict";i.d(e,{E:()=>r});var n=i(12115);let r=i(71752).B?n.useLayoutEffect:n.useEffect},30040:(t,e,i)=>{"use strict";i.d(e,{default:()=>r.a});var n=i(17697),r=i.n(n)},31141:t=>{"use strict";t.exports=["chrome 111","edge 111","firefox 111","safari 16.4"]},31422:(t,e)=>{"use strict";function i(){throw Object.defineProperty(Error('ImageResponse moved from "next/server" to "next/og" since Next.js 14, please import from "next/og" instead'),"__NEXT_ERROR_CODE",{value:"E183",enumerable:!1,configurable:!0})}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ImageResponse",{enumerable:!0,get:function(){return i}})},32475:()=>{},34707:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"after",{enumerable:!0,get:function(){return r}});let n=i(12756);function r(t){let e=n.workAsyncStorage.getStore();if(!e)throw Object.defineProperty(Error("`after` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context"),"__NEXT_ERROR_CODE",{value:"E468",enumerable:!1,configurable:!0});let{afterContext:i}=e;return i.after(t)}},36785:(t,e,i)=>{"use strict";var n,r;Object.defineProperty(e,"__esModule",{value:!0}),n=i(34707),r=e,Object.keys(n).forEach(function(t){"default"===t||Object.prototype.hasOwnProperty.call(r,t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return n[t]}})})},39206:(t,e,i)=>{"use strict";i.d(e,{O:()=>n,r:()=>r});let n={current:null},r={current:!1}},41450:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"NextResponse",{enumerable:!0,get:function(){return c}});let n=i(32456),r=i(67738),s=i(1996),o=i(78751),a=i(32456),l=Symbol("internal response"),u=new Set([301,302,303,307,308]);function h(t,e){var i;if(null==t||null==(i=t.request)?void 0:i.headers){if(!(t.request.headers instanceof Headers))throw Object.defineProperty(Error("request.headers must be an instance of Headers"),"__NEXT_ERROR_CODE",{value:"E119",enumerable:!1,configurable:!0});let i=[];for(let[n,r]of t.request.headers)e.set("x-middleware-request-"+n,r),i.push(n);e.set("x-middleware-override-headers",i.join(","))}}class c extends Response{constructor(t,e={}){super(t,e);const i=this.headers,u=new Proxy(new a.ResponseCookies(i),{get(t,r,s){switch(r){case"delete":case"set":return(...s)=>{let o=Reflect.apply(t[r],t,s),l=new Headers(i);return o instanceof a.ResponseCookies&&i.set("x-middleware-set-cookie",o.getAll().map(t=>(0,n.stringifyCookie)(t)).join(",")),h(e,l),o};default:return o.ReflectAdapter.get(t,r,s)}}});this[l]={cookies:u,url:e.url?new r.NextURL(e.url,{headers:(0,s.toNodeOutgoingHttpHeaders)(i),nextConfig:e.nextConfig}):void 0}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,url:this.url,body:this.body,bodyUsed:this.bodyUsed,headers:Object.fromEntries(this.headers),ok:this.ok,redirected:this.redirected,status:this.status,statusText:this.statusText,type:this.type}}get cookies(){return this[l].cookies}static json(t,e){let i=Response.json(t,e);return new c(i.body,i)}static redirect(t,e){let i="number"==typeof e?e:(null==e?void 0:e.status)??307;if(!u.has(i))throw Object.defineProperty(RangeError('Failed to execute "redirect" on "response": Invalid status code'),"__NEXT_ERROR_CODE",{value:"E529",enumerable:!1,
1configurable:!0});let n="object"==typeof e?e:{},r=new Headers(null==n?void 0:n.headers);return r.set("Location",(0,s.validateURL)(t)),new c(null,{...n,headers:r,status:i})}static rewrite(t,e){let i=new Headers(null==e?void 0:e.headers);return i.set("x-middleware-rewrite",(0,s.validateURL)(t)),h(e,i),new c(null,{...e,headers:i})}static next(t){let e=new Headers(null==t?void 0:t.headers);return e.set("x-middleware-next","1"),h(t,e),new c(null,{...t,headers:e})}}},43113:()=>{},43747:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"afterTaskAsyncStorage",{enumerable:!0,get:function(){return n.afterTaskAsyncStorageInstance}});let n=i(73602)},43829:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"URLPattern",{enumerable:!0,get:function(){return i}});let i="u"<typeof URLPattern?void 0:URLPattern},48576:()=>{},49593:(t,e,i)=>{"use strict";i.d(e,{t:()=>n});let n=(0,i(12115).createContext)(null)},51770:(t,e,i)=>{"use strict";i.d(e,{Uk:()=>u});var n=i(86470),r=i(15728),s=i(45871),o=i(39645),a=i(64979),l=i(87358);function u(t){let e;return(e=l.env.NEXT_PHASE===a.PHASE_PRODUCTION_BUILD,e||0)?new r.w({traceId:"00000000000000000000000000000000",spanId:"0000000000000000"}):(0,s.Uk)(t)}}
1,57521:(t,e,i)=>{"use strict";i.d(e,{L:()=>n});let n=(0,i(12115).createContext)({})},57955:(t,e,i)=>{"use strict";i.d(e,{s:()=>r});var n=i(19);function r(t){return(0,n.G)(t)&&"offsetHeight"in t}},64979:(t,e,i)=>{"use strict";var n,r=i(87358);Object.defineProperty(e,"__esModule",{value:!0});var s={APP_CLIENT_INTERNALS:function(){return ti},APP_PATHS_MANIFEST:function(){return E},APP_PATH_ROUTES_MANIFEST:function(){return x},AdapterOutputType:function(){return c},BARREL_OPTIMIZATION_PREFIX:function(){return H},BLOCKED_PAGES:function(){return W},BUILD_ID_FILE:function(){return U},BUILD_MANIFEST:function(){return T},CLIENT_PUBLIC_FILES_PATH:function(){return q},CLIENT_REFERENCE_MANIFEST:function(){return X},CLIENT_STATIC_FILES_PATH:function(){return $},CLIENT_STATIC_FILES_RUNTIME_MAIN:function(){return tt},CLIENT_STATIC_FILES_RUNTIME_MAIN_APP:function(){return te},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS:function(){return ts},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL:function(){return to},CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH:function(){return tn},CLIENT_STATIC_FILES_RUNTIME_WEBPACK:function(){return tr},COMPILER_INDEXES:function(){return h},COMPILER_NAMES:function(){return u},CONFIG_FILES:function(){return B},DEFAULT_RUNTIME_WEBPACK:function(){return ta},DEFAULT_SANS_SERIF_FONT:function(){return td},DEFAULT_SERIF_FONT:function(){return tc},DEV_CLIENT_MIDDLEWARE_MANIFEST:function(){return V},DEV_CLIENT_PAGES_MANIFEST:function(){return O},DYNAMIC_CSS_MANIFEST:function(){return J},EDGE_RUNTIME_WEBPACK:function(){return tl},EDGE_UNSUPPORTED_NODE_APIS:function(){return tv},EXPORT_DETAIL:function(){return _},EXPORT_MARKER:function(){return A},FUNCTIONS_CONFIG_MANIFEST:function(){return S},IMAGES_MANIFEST:function(){return k},INTERCEPTION_ROUTE_REWRITE_MANIFEST:function(){return Q},MIDDLEWARE_BUILD_MANIFEST:function(){return K},MIDDLEWARE_MANIFEST:function(){return I},MIDDLEWARE_REACT_LOADABLE_MANIFEST:function(){return Z},MODERN_BROWSERSLIST_TARGET:function(){return a.default},NEXT_BUILTIN_DOCUMENT:function(){return G},NEXT_FONT_MANIFEST:function(){return R},PAGES_MANIFEST:function(){return b},PHASE_ANALYZE:function(){return p},PHASE_DEVELOPMENT_SERVER:function(){return g},PHASE_EXPORT:function(){return d},PHASE_INFO:function(){return y},PHASE_PRODUCTION_BUILD:function(){return m},PHASE_PRODUCTION_SERVER:function(){return f},PHASE_TEST:function(){return v},PRERENDER_MANIFEST:function(){return C},REACT_LOADABLE_MANIFEST:function(){return N},ROUTES_MANIFEST:function(){return M},RSC_MODULE_TYPES:function(){return tg},SERVER_DIRECTORY:function(){return F},SERVER_FILES_MANIFEST:function(){return D},SERVER_PROPS_ID:function(){return th},SERVER_REFERENCE_MANIFEST:function(){return Y},STATIC_PROPS_ID:function(){return tu},STATIC_STATUS_PAGES:function(){return tp},STRING_LITERAL_DROP_BUNDLE:function(){return z},SUBRESOURCE_INTEGRITY_MANIFEST:function(){return P},SYSTEM_ENTRYPOINTS:function(){return ty},TRACE_OUTPUT_VERSION:function(){return tm},TURBOPACK_CLIENT_BUILD_MANIFEST:function(){return j},TURBOPACK_CLIENT_MIDDLEWARE_MANIFEST:function(){return L},TURBO_TRACE_DEFAULT_MEMORY_LIMIT:function(){return tf},UNDERSCORE_GLOBAL_ERROR_ROUTE:function(){return l.UNDERSCORE_GLOBAL_ERROR_ROUTE},UNDERSCORE_GLOBAL_ERROR_ROUTE_ENTRY:function(){return l.UNDERSCORE_GLOBAL_ERROR_ROUTE_ENTRY},UNDERSCORE_NOT_FOUND_ROUTE:function(){return l.UNDERSCORE_NOT_FOUND_ROUTE},UNDERSCORE_NOT_FOUND_ROUTE_ENTRY:function(){return l.UNDERSCORE_NOT_FOUND_ROUTE_ENTRY},WEBPACK_STATS:function(){return w}};for(var o in s)Object.defineProperty(e,o,{enumerable:!0,get:s[o]});let a=i(28729)._(i(31141)),l=i(78806),u={client:"client",server:"server",edgeServer:"edge-server"},h={[u.client]:0,[u.server]:1,[u.edgeServer]:2};var c=((n={}).PAGES="PAGES",n.PAGES_API="PAGES_API",n.APP_PAGE="APP_PAGE",n.APP_ROUTE="APP_ROUTE",n.PRERENDER="PRERENDER",n.STATIC_FILE="STATIC_FILE",n.MIDDLEWARE="MIDDLEWARE",n);let d="phase-export",p="phase-analyze",m="phase-production-build",f="phase-production-server",g="phase-development-server",v="phase-test",y="phase-info",b="pages-manifest.json",w="webpack-stats.json",E="app-paths-manifest.json",x="app-path-routes-manifest.json",T="build-manifest.json",S="functions-config-manifest.json",P="subresource-integrity-manifest",R="next-font-manifest",A="export-marker.json",_="export-detail.json",C="prerender-manifest.json",M="routes-manifest.json",k="images-manifest.json",D="required-server-files",O="_devPagesManifest.json",I="middleware-manifest.json",L="_clientMiddlewareManifest.json",j="client-build-manifest.json",V="_devMiddlewareManifest.json",N="react-loadable-manifest.json",F="server",B=["next.config.js","next.config.mjs","next.config.ts",...r?.features?.typescript?["next.config.mts"]:[]],U="BUILD_ID",W=["/_document","/_app","/_error"],q="public",$="static",z
1="__NEXT_DROP_CLIENT_FILE__",G="__NEXT_BUILTIN_DOCUMENT__",H="__barrel_optimize__",X="client-reference-manifest",Y="server-reference-manifest",K="middleware-build-manifest",Z="middleware-react-loadable-manifest",Q="interception-route-rewrite-manifest",J="dynamic-css-manifest",tt="main",te=`${tt}-app`,ti="app-pages-internals",tn="react-refresh",tr="webpack",ts="polyfills",to=Symbol(ts),ta="webpack-runtime",tl="edge-runtime-webpack",tu="__N_SSG",th="__N_SSP",tc={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},td={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},tp=["/500"],tm=1,tf=6e3,tg={client:"client",server:"server"},tv=["clearImmediate","setImmediate","BroadcastChannel","ByteLengthQueuingStrategy","CompressionStream","CountQueuingStrategy","DecompressionStream","DomException","MessageChannel","MessageEvent","MessagePort","ReadableByteStreamController","ReadableStreamBYOBRequest","ReadableStreamDefaultController","TransformStreamDefaultController","WritableStreamDefaultController"],ty=new Set([tt,tn,te]);("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},65007:()=>{},66151:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={bindSnapshot:function(){return l},createAsyncLocalStorage:function(){return a},createSnapshot:function(){return u}};for(var n in i)Object.defineProperty(e,n,{enumerable:!0,get:i[n]});let r=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class s{disable(){throw r}getStore(){}run(){throw r}exit(){throw r}enterWith(){throw r}static bind(t){return t}}let o="u">typeof globalThis&&globalThis.AsyncLocalStorage;function a(){return o?new o:new s}function l(t){return o?o.bind(t):s.bind(t)}function u(){return o?o.snapshot():function(t,...e){return t(...e)}}},70823:(t,e,i)=>{var n,r={226:function(r,s){!function(o,a){"use strict";var l="function",u="undefined",h="object",c="string",d="major",p="model",m="name",f="type",g="vendor",v="version",y="architecture",b="console",w="mobile",E="tablet",x="smarttv",T="wearable",S="embedded",P="Amazon",R="Apple",A="ASUS",_="BlackBerry",C="Browser",M="Chrome",k="Firefox",D="Google",O="Huawei",I="Microsoft",L="Motorola",j="Opera",V="Samsung",N="Sharp",F="Sony",B="Xiaomi",U="Zebra",W="Facebook",q="Chromium OS",$="Mac OS",z=function(t,e){var i={};for(var n in t)e[n]&&e[n].length%2==0?i[n]=e[n].concat(t[n]):i[n]=t[n];return i},G=function(t){for(var e={},i=0;i<t.length;i++)e[t[i].toUpperCase()]=t[i];return e},H=function(t,e){return typeof t===c&&-1!==X(e).indexOf(X(t))},X=function(t){return t.toLowerCase()},Y=function(t,e){if(typeof t===c)return t=t.replace(/^\s\s*/,""),typeof e===u?t:t.substring(0,350)},K=function(t,e){for(var i,n,r,s,o,a,u=0;u<e.length&&!o;){var c=e[u],d=e[u+1];for(i=n=0;i<c.length&&!o&&c[i];)if(o=c[i++].exec(t))for(r=0;r<d.length;r++)a=o[++n],typeof(s=d[r])===h&&s.length>0?2===s.length?typeof s[1]==l?this[s[0]]=s[1].call(this,a):this[s[0]]=s[1]:3===s.length?typeof s[1]!==l||s[1].exec&&s[1].test?this[s[0]]=a?a.replace(s[1],s[2]):void 0:this[s[0]]=a?s[1].call(this,a,s[2]):void 0:4===s.length&&(this[s[0]]=a?s[3].call(this,a.replace(s[1],s[2])):void 0):this[s]=a||void 0;u+=2}},Z=function(t,e){for(var i in e)if(typeof e[i]===h&&e[i].length>0){for(var n=0;n<e[i].length;n++)if(H(e[i][n],t))return"?"===i?void 0:i}else if(H(e[i],t))return"?"===i?void 0:i;return t},Q={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},J={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[v,[m,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[v,[m,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[m,v],[/opios[\/ ]+([\w\.]+)/i],[v,[m,j+" Mini"]],[/\bopr\/([\w\.]+)/i],[v,[m,j]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[m,v],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[v,[m,"UC"+C]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[v,[m,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[v,[m,"WeChat"]],[/konqueror\/([\w\.]+)/i],[v,[m,"K
1onqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[v,[m,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[v,[m,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[m,/(.+)/,"$1 Secure "+C],v],[/\bfocus\/([\w\.]+)/i],[v,[m,k+" Focus"]],[/\bopt\/([\w\.]+)/i],[v,[m,j+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[v,[m,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[v,[m,"Dolphin"]],[/coast\/([\w\.]+)/i],[v,[m,j+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[v,[m,"MIUI "+C]],[/fxios\/([-\w\.]+)/i],[v,[m,k]],[/\bqihu|(qi?ho?o?|360)browser/i],[[m,"360 "+C]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[m,/(.+)/,"$1 "+C],v],[/(comodo_dragon)\/([\w\.]+)/i],[[m,/_/g," "],v],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[m,v],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[m],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[m,W],v],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[m,v],[/\bgsa\/([\w\.]+) .*safari\//i],[v,[m,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[v,[m,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[v,[m,M+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[m,M+" WebView"],v],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[v,[m,"Android "+C]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[m,v],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[v,[m,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[v,m],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[m,[v,Z,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[m,v],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[m,"Netscape"],v],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[v,[m,k+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[m,v],[/(cobalt)\/([\w\.]+)/i],[m,[v,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[y,"amd64"]],[/(ia32(?=;))/i],[[y,X]],[/((?:i[346]|x)86)[;\)]/i],[[y,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[y,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[y,"armhf"]],[/windows (ce|mobile); ppc;/i],[[y,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[y,/ower/,"",X]],[/(sun4\w)[;\)]/i],[[y,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[y,X]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[p,[g,V],[f,E]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[p,[g,V],[f,w]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[p,[g,R],[f,w]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[p,[g,R],[f,E]],[/(macintosh);/i],[p,[g,R]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[p,[g,N],[f,w]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[p,[g,O],[f,E]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[p,[g,O],[f,w]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[p,/_/g," "],[g,B],[f,w]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[p,/_/g," "],[g,B],[f,E]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[p,[g,"OPPO"],[f,w]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[p,[g,"Vivo"],[f,w]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[p,[g,"Realme"],[f,w]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[p,[g,L],[f,w]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[p,[g,L],[f,E]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[p,[g,"LG"],[f,E]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[p,[g,"LG"],[f,w]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[p,[g,"Lenovo"],[f,E]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[p,/_/g," "],[g,"Nokia"],[f,w]],[/(pixel c)\b/i],[p,[g,D],[f,E]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[p,[g,D],[f,w]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[p,[g,F],[f,w]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[p,"Xperia Tablet"],[g,F],[f,E]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[p,[g,"OnePlus"],[f,w]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[p,[g,P],[f,E]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[p,/(.+)/g,"Fire Phone $1"],[g,P],[f,w]],[/(playbook);[-\w\),; ]+(rim)/i],[p,g,[f,E]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[p,[g,_],[f,w]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[p,[g,A],[f,E]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[p,[g,A],[f,w]],[/(nexus 9)/i],[p,[g,"HTC"],[f,E]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[g,[p,/_/g," "],[f,w]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[p,[g,"Acer"],[f,E]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[p,[g,"Meizu"],[f,w]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asu
1s)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[g,p,[f,w]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[g,p,[f,E]],[/(surface duo)/i],[p,[g,I],[f,E]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[p,[g,"Fairphone"],[f,w]],[/(u304aa)/i],[p,[g,"AT&T"],[f,w]],[/\bsie-(\w*)/i],[p,[g,"Siemens"],[f,w]],[/\b(rct\w+) b/i],[p,[g,"RCA"],[f,E]],[/\b(venue[\d ]{2,7}) b/i],[p,[g,"Dell"],[f,E]],[/\b(q(?:mv|ta)\w+) b/i],[p,[g,"Verizon"],[f,E]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[p,[g,"Barnes & Noble"],[f,E]],[/\b(tm\d{3}\w+) b/i],[p,[g,"NuVision"],[f,E]],[/\b(k88) b/i],[p,[g,"ZTE"],[f,E]],[/\b(nx\d{3}j) b/i],[p,[g,"ZTE"],[f,w]],[/\b(gen\d{3}) b.+49h/i],[p,[g,"Swiss"],[f,w]],[/\b(zur\d{3}) b/i],[p,[g,"Swiss"],[f,E]],[/\b((zeki)?tb.*\b) b/i],[p,[g,"Zeki"],[f,E]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[g,"Dragon Touch"],p,[f,E]],[/\b(ns-?\w{0,9}) b/i],[p,[g,"Insignia"],[f,E]],[/\b((nxa|next)-?\w{0,9}) b/i],[p,[g,"NextBook"],[f,E]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[g,"Voice"],p,[f,w]],[/\b(lvtel\-)?(v1[12]) b/i],[[g,"LvTel"],p,[f,w]],[/\b(ph-1) /i],[p,[g,"Essential"],[f,w]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[p,[g,"Envizen"],[f,E]],[/\b(trio[-\w\. ]+) b/i],[p,[g,"MachSpeed"],[f,E]],[/\btu_(1491) b/i],[p,[g,"Rotor"],[f,E]],[/(shield[\w ]+) b/i],[p,[g,"Nvidia"],[f,E]],[/(sprint) (\w+)/i],[g,p,[f,w]],[/(kin\.[onetw]{3})/i],[[p,/\./g," "],[g,I],[f,w]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[p,[g,U],[f,E]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[p,[g,U],[f,w]],[/smart-tv.+(samsung)/i],[g,[f,x]],[/hbbtv.+maple;(\d+)/i],[[p,/^/,"SmartTV"],[g,V],[f,x]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[g,"LG"],[f,x]],[/(apple) ?tv/i],[g,[p,R+" TV"],[f,x]],[/crkey/i],[[p,M+"cast"],[g,D],[f,x]],[/droid.+aft(\w)( bui|\))/i],[p,[g,P],[f,x]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[p,[g,N],[f,x]],[/(bravia[\w ]+)( bui|\))/i],[p,[g,F],[f,x]],[/(mitv-\w{5}) bui/i],[p,[g,B],[f,x]],[/Hbbtv.*(technisat) (.*);/i],[g,p,[f,x]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[g,Y],[p,Y],[f,x]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[f,x]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[g,p,[f,b]],[/droid.+; (shield) bui/i],[p,[g,"Nvidia"],[f,b]],[/(playstation [345portablevi]+)/i],[p,[g,F],[f,b]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[p,[g,I],[f,b]],[/((pebble))app/i],[g,p,[f,T]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[p,[g,R],[f,T]],[/droid.+; (glass) \d/i],[p,[g,D],[f,T]],[/droid.+; (wt63?0{2,3})\)/i],[p,[g,U],[f,T]],[/(quest( 2| pro)?)/i],[p,[g,W],[f,T]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[g,[f,S]],[/(aeobc)\b/i],[p,[g,P],[f,S]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[p,[f,w]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[p,[f,E]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[f,E]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[f,w]],[/(android[-\w\. ]{0,9});.+buil/i],[p,[g,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[v,[m,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[v,[m,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[m,v],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[v,m]],os:[[/microsoft (windows) (vista|xp)/i],[m,v],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[m,[v,Z,Q]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[m,"Windows"],[v,Z,Q]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[v,/_/g,"."],[m,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[m,$],[v,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[v,m],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[m,v],[/\(bb(10);/i],[v,[m,_]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[v,[m,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+);
1 rv:.+ gecko\/([\w\.]+)/i],[v,[m,k+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[v,[m,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[v,[m,"watchOS"]],[/crkey\/([\d\.]+)/i],[v,[m,M+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[m,q],v],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[m,v],[/(sunos) ?([\w\.\d]*)/i],[[m,"Solaris"],v],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[m,v]]},tt=function(t,e){if(typeof t===h&&(e=t,t=void 0),!(this instanceof tt))return new tt(t,e).getResult();var i=typeof o!==u&&o.navigator?o.navigator:void 0,n=t||(i&&i.userAgent?i.userAgent:""),r=i&&i.userAgentData?i.userAgentData:void 0,s=e?z(J,e):J,a=i&&i.userAgent==n;return this.getBrowser=function(){var t,e={};return e[m]=void 0,e[v]=void 0,K.call(e,n,s.browser),e[d]=typeof(t=e[v])===c?t.replace(/[^\d\.]/g,"").split(".")[0]:void 0,a&&i&&i.brave&&typeof i.brave.isBrave==l&&(e[m]="Brave"),e},this.getCPU=function(){var t={};return t[y]=void 0,K.call(t,n,s.cpu),t},this.getDevice=function(){var t={};return t[g]=void 0,t[p]=void 0,t[f]=void 0,K.call(t,n,s.device),a&&!t[f]&&r&&r.mobile&&(t[f]=w),a&&"Macintosh"==t[p]&&i&&typeof i.standalone!==u&&i.maxTouchPoints&&i.maxTouchPoints>2&&(t[p]="iPad",t[f]=E),t},this.getEngine=function(){var t={};return t[m]=void 0,t[v]=void 0,K.call(t,n,s.engine),t},this.getOS=function(){var t={};return t[m]=void 0,t[v]=void 0,K.call(t,n,s.os),a&&!t[m]&&r&&"Unknown"!=r.platform&&(t[m]=r.platform.replace(/chrome os/i,q).replace(/macos/i,$)),t},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(t){return n=typeof t===c&&t.length>350?Y(t,350):t,this},this.setUA(n),this};tt.VERSION="1.0.35",tt.BROWSER=G([m,v,d]),tt.CPU=G([y]),tt.DEVICE=G([p,g,f,b,w,x,E,T,S]),tt.ENGINE=tt.OS=G([m,v]),typeof s!==u?(r.exports&&(s=r.exports=tt),s.UAParser=tt):i.amdO?void 0===(n=(function(){return tt}).call(e,i,e,t))||(t.exports=n):typeof o!==u&&(o.UAParser=tt);var te=typeof o!==u&&(o.jQuery||o.Zepto);if(te&&!te.ua){var ti=new tt;te.ua=ti.getResult(),te.ua.get=function(){return ti.getUA()},te.ua.set=function(t){ti.setUA(t);var e=ti.getResult();for(var i in e)te.ua[i]=e[i]}}}("object"==typeof window?window:this)}},s={};function o(t){var e=s[t];if(void 0!==e)return e.exports;var i=s[t]={exports:{}},n=!0;try{r[t].call(i.exports,i,i.exports,o),n=!1}finally{n&&delete s[t]}return i.exports}o.ab="//",t.exports=o(226)},71752:(t,e,i)=>{"use strict";i.d(e,{B:()=>n});let n="u">typeof window},72865:()=>{},73602:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"afterTaskAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,i(66151).createAsyncLocalStorage)()},74790:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"connection",{enumerable:!0,get:function(){return u}});let n=i(12756),r=i(37145),s=i(9865),o=i(35749),a=i(19676),l=i(1247);function u(){let t=n.workAsyncStorage.getStore(),e=r.workUnitAsyncStorage.getStore();if(t){if(e&&"after"===e.phase&&!(0,l.isRequestAPICallableInsideAfter)())throw Object.defineProperty(Error(`Route ${t.route} used \`connection()\` inside \`after()\`. The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but \`after()\` executes after the request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/canary/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E827",enumerable:!1,
1configurable:!0});if(t.forceStatic)return Promise.resolve(void 0);if(t.dynamicShouldError)throw Object.defineProperty(new o.StaticGenBailoutError(`Route ${t.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`connection()\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E847",enumerable:!1,configurable:!0});if(e)switch(e.type){case"cache":{let e=Object.defineProperty(Error(`Route ${t.route} used \`connection()\` inside "use cache". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual request, but caches must be able to be produced before a request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E841",enumerable:!1,configurable:!0});throw Error.captureStackTrace(e,u),t.invalidDynamicUsageError??=e,e}case"private-cache":{let e=Object.defineProperty(Error(`Route ${t.route} used \`connection()\` inside "use cache: private". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual navigation request, but caches must be able to be produced before a navigation request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E837",enumerable:!1,configurable:!0});throw Error.captureStackTrace(e,u),t.invalidDynamicUsageError??=e,e}case"unstable-cache":throw Object.defineProperty(Error(`Route ${t.route} used \`connection()\` inside a function cached with \`unstable_cache()\`. The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but caches must be able to be produced before a Request so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E840",enumerable:!1,configurable:!0});case"prerender":case"prerender-client":case"prerender-runtime":return(0,a.makeHangingPromise)(e.renderSignal,t.route,"`connection()`");case"prerender-ppr":return(0,s.postponeWithTracking)(t.route,"connection",e.dynamicTracking);case"prerender-legacy":return(0,s.throwToInterruptStaticGeneration)("connection",t,e);case"request":return(0,s.trackDynamicDataInDynamicRender)(e),Promise.resolve(void 0)}}(0,r.throwForMissingRequestStore)("connection")}i(39752)},77377:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return l}});let n=i(95155),r=i(12115),s=i(93694);function o(t){return{default:t&&"default"in t?t.default:t}}i(13587);let a={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},l=function(t){let e={...a,...t},i=(0,r.lazy)(()=>e.loader().then(o)),l=e.loading;function u(t){let o=l?(0,n.jsx)(l,{isLoading:!0,pastDelay:!0,error:null}):null,a=!e.ssr||!!e.loading,u=a?r.Suspense:r.Fragment,h=e.ssr?(0,n.jsxs)(n.Fragment,{children:[null,(0,n.jsx)(i,{...t})]}):(0,n.jsx)(s.BailoutToCSR,{reason:"next/dynamic",children:(0,n.jsx)(i,{...t})});return(0,n.jsx)(u,{...a?{fallback:o}:{},children:h})}return u.displayName="LoadableComponent",u}},78751:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ReflectAdapter",{enumerable:!0,get:function(){return i}});
1class i{static get(t,e,i){let n=Reflect.get(t,e,i);return"function"==typeof n?n.bind(t):n}static set(t,e,i,n){return Reflect.set(t,e,i,n)}static has(t,e){return Reflect.has(t,e)}static deleteProperty(t,e){return Reflect.deleteProperty(t,e)}}},78806:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={UNDERSCORE_GLOBAL_ERROR_ROUTE:function(){return o},UNDERSCORE_GLOBAL_ERROR_ROUTE_ENTRY:function(){return a},UNDERSCORE_NOT_FOUND_ROUTE:function(){return r},UNDERSCORE_NOT_FOUND_ROUTE_ENTRY:function(){return s}};for(var n in i)Object.defineProperty(e,n,{enumerable:!0,get:i[n]});let r="/_not-found",s=`${r}/page`,o="/_global-error",a=`${o}/page`},80440:()=>{},87720:(t,e,i)=>{"use strict";i.d(e,{UC:()=>ti,VY:()=>tr,ZL:()=>tt,bL:()=>Q,bm:()=>ts,hE:()=>tn,hJ:()=>te,l9:()=>J});var n=i(12115),r=i(65453),s=i(633),o=i(75021),a=i(5337),l=i(38665),u=i(81354),h=i(4899),c=i(76990),d=i(31557),p=i(13275),m=i(1977),f=i(74967),g=i(65828),v=i(11792),y=i(95155),b="Dialog",[w,E]=(0,o.A)(b),[x,T]=w(b),S=t=>{let{__scopeDialog:e,children:i,open:r,defaultOpen:s,onOpenChange:o,modal:u=!0}=t,h=n.useRef(null),c=n.useRef(null),[d,p]=(0,l.i)({prop:r,defaultProp:s??!1,onChange:o,caller:b});return(0,y.jsx)(x,{scope:e,triggerRef:h,contentRef:c,contentId:(0,a.B)(),titleId:(0,a.B)(),descriptionId:(0,a.B)(),open:d,onOpenChange:p,onOpenToggle:n.useCallback(()=>p(t=>!t),[p]),modal:u,children:i})};S.displayName=b;var P="DialogTrigger",R=n.forwardRef((t,e)=>{let{__scopeDialog:i,...n}=t,o=T(P,i),a=(0,s.s)(e,o.triggerRef);return(0,y.jsx)(p.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":G(o.open),...n,ref:a,onClick:(0,r.mK)(t.onClick,o.onOpenToggle)})});R.displayName=P;var A="DialogPortal",[_,C]=w(A,{forceMount:void 0}),M=t=>{let{__scopeDialog:e,forceMount:i,children:r,container:s}=t,o=T(A,e);return(0,y.jsx)(_,{scope:e,forceMount:i,children:n.Children.map(r,t=>(0,y.jsx)(d.C,{present:i||o.open,children:(0,y.jsx)(c.Z,{asChild:!0,container:s,children:t})}))})};M.displayName=A;var k="DialogOverlay",D=n.forwardRef((t,e)=>{let i=C(k,t.__scopeDialog),{forceMount:n=i.forceMount,...r}=t,s=T(k,t.__scopeDialog);return s.modal?(0,y.jsx)(d.C,{present:n||s.open,children:(0,y.jsx)(I,{...r,ref:e})}):null});D.displayName=k;var O=(0,v.TL)("DialogOverlay.RemoveScroll"),I=n.forwardRef((t,e)=>{let{__scopeDialog:i,...n}=t,r=T(k,i);return(0,y.jsx)(f.A,{as:O,allowPinchZoom:!0,shards:[r.contentRef],children:(0,y.jsx)(p.sG.div,{"data-state":G(r.open),...n,ref:e,style:{pointerEvents:"auto",...n.style}})})}),L="DialogContent",j=n.forwardRef((t,e)=>{let i=C(L,t.__scopeDialog),{forceMount:n=i.forceMount,...r}=t,s=T(L,t.__scopeDialog);return(0,y.jsx)(d.C,{present:n||s.open,children:s.modal?(0,y.jsx)(V,{...r,ref:e}):(0,y.jsx)(N,{...r,ref:e})})});j.displayName=L;var V=n.forwardRef((t,e)=>{let i=T(L,t.__scopeDialog),o=n.useRef(null),a=(0,s.s)(e,i.contentRef,o);return n.useEffect(()=>{let t=o.current;if(t)return(0,g.Eq)(t)},[]),(0,y.jsx)(F,{...t,ref:a,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,r.mK)(t.onCloseAutoFocus,t=>{t.preventDefault(),i.triggerRef.current?.focus()}),onPointerDownOutside:(0,r.mK)(t.onPointerDownOutside,t=>{let e=t.detail.originalEvent,i=0===e.button&&!0===e.ctrlKey;(2===e.button||i)&&t.preventDefault()}),onFocusOutside:(0,r.mK)(t.onFocusOutside,t=>t.preventDefault())})}),N=n.forwardRef((t,e)=>{let i=T(L,t.__scopeDialog),r=n.useRef(!1),s=n.useRef(!1);return(0,y.jsx)(F,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:e=>{t.onCloseAutoFocus?.(e),e.defaultPrevented||(r.current||i.triggerRef.current?.focus(),e.preventDefault()),r.current=!1,s.current=!1},onInteractOutside:e=>{t.onInteractOutside?.(e),e.defaultPrevented||(r.current=!0,"pointerdown"===e.detail.originalEvent.type&&(s.current=!0));let n=e.target;i.triggerRef.current?.contains(n)&&e.preventDefault(),"focusin"===e.detail.originalEvent.type&&s.current&&e.preventDefault()}})}),F=n.forwardRef((t,e)=>{let{__scopeDialog:i,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,...l}=t,c=T(L,i),d=n.useRef(null),p=(0,s.s)(e,d);return(0,m.Oh)(),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(h.n,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a,children:(0,y.jsx)(u.qW,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":G(c.open),...l,ref:p,onDismiss:()=>c.onOpenChange(!1)})}),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(K,{titleId:c.titleId}),(0,y.jsx)(Z,{contentRef:d,descriptionId:c.descriptionId})]})]})}),B="DialogTitle",U=n.forwardRef((t,e)=>{let{__scopeDialog:i,...n}=t,r=T(B,i);return(0,y.jsx)(p.sG.h2,{id:r.titleId,...n,ref:e})});U.displayName=B;var W="DialogDescription",q=n.forwardRef((t,e)=>{let{__scopeDialog:i,...n}=t,r=T(W,i);
1return(0,y.jsx)(p.sG.p,{id:r.descriptionId,...n,ref:e})});q.displayName=W;var $="DialogClose",z=n.forwardRef((t,e)=>{let{__scopeDialog:i,...n}=t,s=T($,i);return(0,y.jsx)(p.sG.button,{type:"button",...n,ref:e,onClick:(0,r.mK)(t.onClick,()=>s.onOpenChange(!1))})});function G(t){return t?"open":"closed"}z.displayName=$;var H="DialogTitleWarning",[X,Y]=(0,o.q)(H,{contentName:L,titleName:B,docsSlug:"dialog"}),K=({titleId:t})=>{let e=Y(H),i=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users. 2 3If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component. 4 5For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return n.useEffect(()=>{t&&(document.getElementById(t)||console.error(i))},[i,t]),null},Z=({contentRef:t,descriptionId:e})=>{let i=Y("DialogDescriptionWarning"),r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${i.contentName}}.`;return n.useEffect(()=>{let i=t.current?.getAttribute("aria-describedby");e&&i&&(document.getElementById(e)||console.warn(r))},[r,t,e]),null},Q=S,J=R,tt=M,te=D,ti=j,tn=U,tr=q,ts=z},92513:(t,e,i)=>{"use strict";i.d(e,{M:()=>r});var n=i(12115);function r(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},93694:(t,e,i)=>{"use strict";function n({reason:t,children:e}){return e}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BailoutToCSR",{enumerable:!0,get:function(){return n}}),i(42250)},97959:()=>{},98534:(t,e,i)=>{"use strict";i.d(e,{xQ:()=>s});var n=i(12115),r=i(49593);function s(t=!0){let e=(0,n.useContext)(r.t);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:o,register:a}=e,l=(0,n.useId)();(0,n.useEffect)(()=>{if(t)return a(l)},[t]);let u=(0,n.useCallback)(()=>t&&o&&o(l),[l,o,t]);return!i&&o?[!1,u]:[!0]}},98915:()=>{}}]);
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.