PageSourceSearch

https://kareops.ai/_next/static/chunks/6289-1d33b4e03b210294.js

js kareops.ai collected 2026-10-05 12:07:46 UTC 143,643 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6289],{6648:function(t,e,i){i.d(e,{default:function(){return r.a}});var n=i(5601),r=i.n(n)},5601:function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var i in e)Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}(e,{default:function(){return l},getImageProps:function(){return a}});let n=i(1609),r=i(497),o=i(8173),s=n._(i(1241));function a(t){let{props:e}=(0,r.getImgProps)(t,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[t,i]of Object.entries(e))void 0===i&&delete e[t];return{props:e}}let l=o.Image},4839:function(t,e,i){i.d(e,{W:function(){return n}});function n(){for(var t,e,i=0,n="",r=arguments.length;i<r;i++)(t=arguments[i])&&(e=function t(e){var i,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e){if(Array.isArray(e)){var o=e.length;for(i=0;i<o;i++)e[i]&&(n=t(e[i]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n)}return r}(t))&&(n&&(n+=" "),n+=e);return n}},4446:function(t,e,i){i.d(e,{M:function(){return g}});var n=i(7437),r=i(2265),o=i(5050),s=i(458),a=i(7797),l=i(9791);class u extends r.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){let t=this.props.sizeRef.current;t.height=e.offsetHeight||0,t.width=e.offsetWidth||0,t.top=e.offsetTop,t.left=e.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function h(t){let{children:e,isPresent:i}=t,o=(0,r.useId)(),s=(0,r.useRef)(null),a=(0,r.useRef)({width:0,height:0,top:0,left:0}),{nonce:h}=(0,r.useContext)(l._);return(0,r.useInsertionEffect)(()=>{let{width:t,height:e,top:n,left:r}=a.current;if(i||!s.current||!t||!e)return;s.current.dataset.motionPopId=o;let l=document.createElement("style");return h&&(l.nonce=h),document.head.appendChild(l),l.sheet&&l.sheet.insertRule('\n          [data-motion-pop-id="'.concat(o,'"] {\n            position: absolute !important;\n            width: ').concat(t,"px !important;\n            height: ").concat(e,"px !important;\n            top: ").concat(n,"px !important;\n            left: ").concat(r,"px !important;\n          }\n        ")),()=>{document.head.removeChild(l)}},[i]),(0,n.jsx)(u,{isPresent:i,childRef:s,sizeRef:a,children:r.cloneElement(e,{ref:s})})}let c=t=>{let{children:e,initial:i,isPresent:o,onExitComplete:l,custom:u,presenceAffectsLayout:c,mode:p}=t,m=(0,s.h)(d),f=(0,r.useId)(),v=(0,r.useCallback)(t=>
1{for(let e of(m.set(t,!0),m.values()))if(!e)return;l&&l()},[m,l]),g=(0,r.useMemo)(()=>({id:f,initial:i,isPresent:o,custom:u,onExitComplete:v,register:t=>(m.set(t,!1),()=>m.delete(t))}),c?[Math.random(),v]:[o,v]);return(0,r.useMemo)(()=>{m.forEach((t,e)=>m.set(e,!1))},[o]),r.useEffect(()=>{o||m.size||!l||l()},[o]),"popLayout"===p&&(e=(0,n.jsx)(h,{isPresent:o,children:e})),(0,n.jsx)(a.O.Provider,{value:g,children:e})};function d(){return new Map}var p=i(3241);let m=t=>t.key||"";function f(t){let e=[];return r.Children.forEach(t,t=>{(0,r.isValidElement)(t)&&e.push(t)}),e}var v=i(9033);let g=t=>{let{children:e,custom:i,initial:a=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:h="sync",propagate:d=!1}=t,[g,y]=(0,p.oO)(d),x=(0,r.useMemo)(()=>f(e),[e]),b=d&&!g?[]:x.map(m),w=(0,r.useRef)(!0),P=(0,r.useRef)(x),T=(0,s.h)(()=>new Map),[S,A]=(0,r.useState)(x),[k,E]=(0,r.useState)(x);(0,v.L)(()=>{w.current=!1,P.current=x;for(let t=0;t<k.length;t++){let e=m(k[t]);b.includes(e)?T.delete(e):!0!==T.get(e)&&T.set(e,!1)}},[k,b.length,b.join("-")]);let M=[];if(x!==S){let t=[...x];for(let e=0;e<k.length;e++){let i=k[e],n=m(i);b.includes(n)||(t.splice(e,0,i),M.push(i))}"wait"===h&&M.length&&(t=M),E(f(t)),A(x);return}let{forceRender:V}=(0,r.useContext)(o.p);return(0,n.jsx)(n.Fragment,{children:k.map(t=>{let e=m(t),r=(!d||!!g)&&(x===k||b.includes(e));return(0,n.jsx)(c,{isPresent:r,initial:(!w.current||!!a)&&void 0,custom:r?void 0:i,presenceAffectsLayout:u,mode:h,onExitComplete:r?void 0:()=>{if(!T.has(e))return;T.set(e,!0);let t=!0;T.forEach(e=>{e||(t=!1)}),t&&(null==V||V(),E(P.current),d&&(null==y||y()),l&&l())},children:t},e)})})}},3241:function(t,e,i){i.d(e,{oO:function(){return o}});var n=i(2265),r=i(7797);function o(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],e=(0,n.useContext)(r.O);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:o,register:s}=e,a=(0,n.useId)();(0,n.useEffect)(()=>{t&&s(a)},[t]);let l=(0,n.useCallback)(()=>t&&o&&o(a),[a,o,t]);return!i&&o?[!1,l]:[!0]}},5050:function(t,e,i){i.d(e,{p:function(){return n}});let n=(0,i(2265).createContext)({})},9791:function(t,e,i){i.d(e,{_:function(){return n}});let n=(0,i(2265).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},7797:function(t,e,i){i.d(e,{O:function(){return n}});let n=(0,i(2265).createContext)(null)},2981:function(t,e,i){i.d(e,{Z:function(){return o}});var n=i(565);let r=["read","resolveKeyframes","update","preRender","render","postRender"];function o(t,e){let i=!1,o=!0,s={delta:0,timestamp:0,isProcessing:!1},a=()=>i=!0,l=r.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,n=!1,r=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1};function a(e){o.has(e)&&(l.schedule(e),t()),e(s)}let l={schedule:function(t){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=s&&n?e:i;return r&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{i.delete(t),o.delete(t)},process:t=>{if(s=t,n){r=!0;return}n=!0,[e,i]=[i,e],e.forEach(a),e.clear(),n=!1,r&&(r=!1,l.process(t))}};return l}(a),t),{}),{read:u,resolveKeyframes:h,update:c,preRender:d,render:p,postRender:m}=l,f=()=>{let r=n.c.useManualTiming?s.timestamp:performance.now();i=!1,s.delta=o?1e3/60:Math.max(Math.min(r-s.timestamp,40),1),s.timestamp=r,s.isProcessing=!0,u.process(s),h.process(s),c.process(s),d.process(s),p.process(s),m.process(s),s.isProcessing=!1,i&&e&&(o=!1,t(f))},v=()=>{i=!0,o=!0,s.isProcessing||t(f)};return{schedule:r.reduce((t,e)=>{let n=l[e];return t[e]=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return i||v(),n.schedule(t,e,r)},t},{}),cancel:t=>{for(let e=0;e<r.length;e++)l[r[e]].cancel(t)},state:s,steps:l}}},6219:function(t,e,i){i.d(e,{Pn:function(){return o},Wi:function(){return r},frameData:function(){return s},yL:function(){return a}});var n=i(5085);let{schedule:r,cancel:o,state:s,steps:a}=(0,i(2981).Z)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.Z,!0)},9993:function(t,e,i){let n;i.d(e,{X:function(){return a}});var r=i(565),o=i(6219);function s(){n=void 0}let a={now:()=>(void 0===n&&a.set(o.frameData.isProcessing||r.c.useManualTiming?o.frameData.timestamp:performance.now()),n),set
1:t=>{n=t,queueMicrotask(s)}}},1660:function(t,e,i){function n(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}i.d(e,{E:function(){return ra}});let r=t=>Array.isArray(t);function o(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}function s(t){return"string"==typeof t||Array.isArray(t)}function a(t){let e=[{},{}];return null==t||t.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function l(t,e,i,n){if("function"==typeof e){let[r,o]=a(n);e=e(void 0!==i?i:t.custom,r,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,o]=a(n);e=e(void 0!==i?i:t.custom,r,o)}return e}function u(t,e,i){let n=t.getProps();return l(n,e,void 0!==i?i:n.custom,t)}let h=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],c=["initial",...h];var d,p,m,f=i(6167);let v=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],g=new Set(v),y=new Set(["width","height","top","left","right","bottom",...v]),x=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),b=t=>r(t)?t[t.length-1]||0:t;var w=i(804);let P=t=>!!(t&&t.getVelocity);function T(t,e){let i=t.getValue("willChange");if(P(i)&&i.add)return i.add(e)}let S=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),A="data-"+S("framerAppearId");var k=i(4757),E=i(6219),M=i(565);let V={current:!1};var D=i(5085);let C=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function R(t,e,i,n){if(t===e&&i===n)return D.Z;let r=e=>(function(t,e,i,n,r){let o,s;let a=0;do(o=C(s=e+(i-e)/2,n,r)-t)>0?i=s:e=s;while(Math.abs(o)>1e-7&&++a<12);return s})(e,0,1,t,i);return t=>0===t||1===t?t:C(r(t),e,n)}let j=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,L=t=>e=>1-t(1-e),F=R(.33,1.53,.69,.99),B=L(F),O=j(B),I=t=>(t*=2)<1?.5*B(t):.5*(2-Math.pow(2,-10*(t-1))),W=t=>1-Math.sin(Math.acos(t)),z=L(W),U=j(W),N=t=>/^0[^.\s]+$/u.test(t);var X=i(9116),$=i(1322);let Y=new Set(["brightness","contrast","saturate","opacity"]);function K(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match($.K)||[];if(!n)return t;let r=i.replace(n,""),o=Y.has(e)?1:0;return n!==i&&(o*=100),e+"("+o+r+")"}let q=/\b([a-z-]*)\(.*?\)/gu,H={...X.P,getAnimatableNone:t=>{let e=t.match(q);return e?e.map(K).join(" "):t}};var G=i(146),Z=i(783),_=i(5480);let J={borderWidth:_.px,borderTopWidth:_.px,borderRightWidth:_.px,borderBottomWidth:_.px,borderLeftWidth:_.px,borderRadius:_.px,radius:_.px,borderTopLeftRadius:_.px,borderTopRightRadius:_.px,borderBottomRightRadius:_.px,borderBottomLeftRadius:_.px,width:_.px,maxWidth:_.px,height:_.px,maxHeight:_.px,top:_.px,right:_.px,bottom:_.px,left:_.px,padding:_.px,paddingTop:_.px,paddingRight:_.px,paddingBottom:_.px,paddingLeft:_.px,margin:_.px,marginTop:_.px,marginRight:_.px,marginBottom:_.px,marginLeft:_.px,backgroundPositionX:_.px,backgroundPositionY:_.px},Q={rotate:_.RW,rotateX:_.RW,rotateY:_.RW,rotateZ:_.RW,scale:Z.bA,scaleX:Z.bA,scaleY:Z.bA,scaleZ:Z.bA,skew:_.RW,skewX:_.RW,skewY:_.RW,distance:_.px,translateX:_.px,translateY:_.px,translateZ:_.px,x:_.px,y:_.px,z:_.px,perspective:_.px,transformPerspective:_.px,opacity:Z.Fq,originX:_.$C,originY:_.$C,originZ:_.px},tt={...Z.Rx,transform:Math.round},te={...J,...Q,zIndex:tt,size:_.px,fillOpacity:Z.Fq,strokeOpacity:Z.Fq,numOctaves:tt},ti={...te,color:G.$,backgroundColor:G.$,outlineColor:G.$,fill:G.$,stroke:G.$,borderColor:G.$,borderTopColor:G.$,borderRightColor:G.$,borderBottomColor:G.$,borderLeftColor:G.$,filter:H,WebkitFilter:H},tn=t=>ti[t];function tr(t,e){let i=tn(t);return i!==H&&(i=X.P),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let to=new Set(["auto","none","0"]),ts=t=>t===Z.Rx||t===_.px,ta=(t,e)=>parseFloat(t.split(", ")[e]),tl=(t,e)=>(i,n)=>{let{transform:r}=n;if("none"===r||!r)return 0;let o=r.match(/^matrix3d\((.+)\)$/u);if(o)return ta(o[1],e);{let e=r.match(/^matrix\((.+)\)$/u);return e?ta(e[1],t):0}},tu=new Set(["x","y","z"]),th=v.filter(t=>!tu.has(t)),tc={width:(t,e)=>{let{x:i}=t,{paddingLeft:n="0",paddingRight:r="0"}=e;return i.max-i.min-parseFloat(n)-parseFloat(r)},height:(t,e)=>{let{y:i}=t,{paddingTop:n="0",paddingBottom:r="0"}=e;return i.max-i.min-parseFloat(n)-parseFloat(r)},top:(t,e)=>{let{top:i}=e;return parseFloat(i)},left:(t,e)=>{let{left:i}=e;return parseFloat(i)},bottom:(t,e)=>{let{y:i}=t,{top:n}=e;return parseFloat(n)+(i.max-i.min)},right:(t,e)=>{let{x:i}=t,{left:n}=e;return parseFloat(n)+(i.max-i.min)},x:tl(4,13),y:tl(5,14)};tc.translateX=tc.x,tc.translateY=tc.y;let td=new Set,tp=!1,tm=!1;function tf(){if(tm){let t=Array.from(td).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=function(t){let e=[];return th.forEach(i=>
1{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(i.startsWith("scale")?1:0))}),e}(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(e=>{var i;let[n,r]=e;null===(i=t.getValue(n))||void 0===i||i.set(r)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}tm=!1,tp=!1,td.forEach(t=>t.complete()),td.clear()}function tv(){td.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tm=!0)})}class tg{scheduleResolve(){this.isScheduled=!0,this.isAsync?(td.add(this),tp||(tp=!0,E.Wi.read(tv),E.Wi.resolveKeyframes(tf))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;for(let r=0;r<t.length;r++)if(null===t[r]){if(0===r){let r=null==n?void 0:n.get(),o=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let n=i.readValue(e,o);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=o),n&&void 0===r&&n.set(t[0])}else t[r]=t[r-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),td.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,td.delete(this))}resume(){this.isComplete||this.scheduleResolve()}constructor(t,e,i,n,r,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=o}}var ty=i(2159);let tx=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);var tb=i(1534);let tw=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tP=t=>e=>e.test(t),tT=[Z.Rx,_.px,_.aQ,_.RW,_.vw,_.vh,{test:t=>"auto"===t,parse:t=>t}],tS=t=>tT.find(tP(t));class tA extends tg{readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&(n=n.trim(),(0,tb.t)(n))){let r=function t(e,i){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;(0,ty.k)(n<=4,'Max CSS variable fallback depth detected in property "'.concat(e,'". This may indicate a circular fallback dependency.'));let[r,o]=function(t){let e=tw.exec(t);if(!e)return[,];let[,i,n,r]=e;return["--".concat(null!=i?i:n),r]}(e);if(!r)return;let s=window.getComputedStyle(i).getPropertyValue(r);if(s){let t=s.trim();return tx(t)?parseFloat(t):t}return(0,tb.t)(o)?t(o,i,n+1):o}(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!y.has(i)||2!==t.length)return;let[n,r]=t,o=tS(n),s=tS(r);if(o!==s){if(ts(o)&&ts(s))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var n;("number"==typeof(n=t[e])?0===n:null===n||"none"===n||"0"===n||N(n))&&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&&!to.has(e)&&(0,X.V)(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=tr(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=tc[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(){var t;let{element:e,name:i,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(i);r&&r.jump(this.measuredOrigin,!1);let o=n.length-1,s=n[o];n[o]=tc[i](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),(null===(t=this.removedTransforms)||void 0===t?void 0:t.length)&&this.removedTransforms.forEac
1h(t=>{let[i,n]=t;e.getValue(i).set(n)}),this.resolveNoneKeyframes()}constructor(t,e,i,n,r){super(t,e,i,n,r,!0)}}var tk=i(9993);let tE=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(X.P.test(t)||"0"===t)&&!t.startsWith("url(")),tM=t=>null!==t;function tV(t,e,i){let{repeat:n,repeatType:r="loop"}=e,o=t.filter(tM),s=n&&"loop"!==r&&n%2==1?0:o.length-1;return s&&void 0!==i?i:o[s]}class tD{calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(tv(),tf()),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=tk.X.now(),this.hasAttemptedResolve=!0;let{name:i,type:n,velocity:r,delay:o,onComplete:s,onUpdate:a,isGenerator:l}=this.options;if(!l&&!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let o=t[t.length-1],s=tE(r,e),a=tE(o,e);return(0,ty.K)(s===a,"You are trying to animate ".concat(e,' from "').concat(r,'" to "').concat(o,'". ').concat(r," is not an animatable value - to enable this animation set ").concat(r," to a value animatable to ").concat(o," via the `style` property.")),!!s&&!!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||(0,f.xD)(i))&&n)}(t,i,n,r)){if(V.current||!o){a&&a(tV(t,this.options,e)),s&&s(),this.resolveFinishedPromise();return}this.options.duration=0}let u=this.initPlayback(t,e);!1!==u&&(this._resolved={keyframes:t,finalKeyframe:e,...u},this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:o="loop",...s}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=tk.X.now(),this.options={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:o,...s},this.updateFinishedPromise()}}var tC=i(1506),tR=i(5389),tj=i(9654),tL=i(3476);function tF(t,e,i){let n=Math.max(e-5,0);return(0,tL.R)(i-t(n),e-n)}let tB={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function tO(t,e){return t*Math.sqrt(1-e*e)}let tI=["duration","bounce"],tW=["stiffness","damping","mass"];function tz(t,e){return e.some(e=>void 0!==t[e])}function tU(){let t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tB.visualDuration,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tB.bounce,n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:i}:e,{restSpeed:r,restDelta:o}=n,s=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],l={done:!1,value:s},{stiffness:u,damping:h,mass:c,duration:d,velocity:p,isResolvedFromDuration:m}=function(t){let e={velocity:tB.velocity,stiffness:tB.stiffness,damping:tB.damping,mass:tB.mass,isResolvedFromDuration:!1,...t};if(!tz(t,tW)&&tz(t,tI)){if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,r=2*(0,tC.u)(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:tB.mass,stiffness:n,damping:r}}else{let i=function(t){let e,i,{duration:n=tB.duration,bounce:r=tB.bounce,velocity:o=tB.velocity,mass:s=tB.mass}=t;(0,ty.K)(n<=(0,k.w)(tB.maxDuration),"Spring duration must be 10 seconds or less");let a=1-r;a=(0,tC.u)(tB.minDamping,tB.maxDamping,a),n=(0,tC.u)(tB.minDuration,tB.maxDuration,(0,k.X)(n)),a<1?(e=t=>{let e=t*a,i=e*n;return .001-(e-o)/tO(t,a)*Math.exp(-i)},i=t=>{let i=t*a*n,r=Math.pow(a,2)*Math.pow(t,2)*n,s=tO(Math.pow(t,2),a);return(i*o+o-r)*Math.exp(-i)*(-e(t)+.001>0?-1:1)/s}):(e=t=>-.001+Math.exp(-t*n)*((t-o)*n+1),i=t=>n*n*(o-t)*Math.exp(-t*n));let l=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(e,i,5/n);if(n=(0,k.w)(n),isNaN(l))return{stiffness:tB.stiffness,damping:tB.damping,duration:n};{let t=Math.pow(l,2)*s;
1return{stiffness:t,damping:2*a*Math.sqrt(s*t),duration:n}}}(t);(e={...e,...i,mass:tB.mass}).isResolvedFromDuration=!0}}return e}({...n,velocity:-(0,k.X)(n.velocity||0)}),v=p||0,g=h/(2*Math.sqrt(u*c)),y=a-s,x=(0,k.X)(Math.sqrt(u/c)),b=5>Math.abs(y);if(r||(r=b?tB.restSpeed.granular:tB.restSpeed.default),o||(o=b?tB.restDelta.granular:tB.restDelta.default),g<1){let e=tO(x,g);t=t=>a-Math.exp(-g*x*t)*((v+g*x*y)/e*Math.sin(e*t)+y*Math.cos(e*t))}else if(1===g)t=t=>a-Math.exp(-x*t)*(y+(v+x*y)*t);else{let e=x*Math.sqrt(g*g-1);t=t=>{let i=Math.exp(-g*x*t),n=Math.min(e*t,300);return a-i*((v+g*x*y)*Math.sinh(n)+e*y*Math.cosh(n))/e}}let w={calculatedDuration:m&&d||null,next:e=>{let i=t(e);if(m)l.done=e>=d;else{let n=0;g<1&&(n=0===e?(0,k.w)(v):tF(t,e,i));let s=Math.abs(n)<=r,u=Math.abs(a-i)<=o;l.done=s&&u}return l.value=l.done?a:i,l},toString:()=>{let t=Math.min((0,f.iI)(w),f.EO),e=(0,f.wk)(e=>w.next(t*e).value,t,30);return t+"ms "+e}};return w}function tN(t){let e,i,{keyframes:n,velocity:r=0,power:o=.8,timeConstant:s=325,bounceDamping:a=10,bounceStiffness:l=500,modifyTarget:u,min:h,max:c,restDelta:d=.5,restSpeed:p}=t,m=n[0],f={done:!1,value:m},v=t=>void 0!==h&&t<h||void 0!==c&&t>c,g=t=>void 0===h?c:void 0===c?h:Math.abs(h-t)<Math.abs(c-t)?h:c,y=o*r,x=m+y,b=void 0===u?x:u(x);b!==x&&(y=b-m);let w=t=>-y*Math.exp(-t/s),P=t=>b+w(t),T=t=>{let e=w(t),i=P(t);f.done=Math.abs(e)<=d,f.value=f.done?b:i},S=t=>{v(f.value)&&(e=t,i=tU({keyframes:[f.value,g(f.value)],velocity:tF(P,t,f.value),damping:a,stiffness:l,restDelta:d,restSpeed:p}))};return S(0),{calculatedDuration:null,next:t=>{let n=!1;return(i||void 0!==e||(n=!0,T(t),S(t)),void 0!==e&&t>=e)?i.next(t-e):(n||T(t),f)}}}let tX=R(.42,0,1,1),t$=R(0,0,.58,1),tY=R(.42,0,.58,1),tK=t=>Array.isArray(t)&&"number"!=typeof t[0],tq={linear:D.Z,easeIn:tX,easeInOut:tY,easeOut:t$,circIn:W,circInOut:U,circOut:z,backIn:B,backInOut:O,backOut:F,anticipate:I},tH=t=>{if((0,f.qE)(t)){(0,ty.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,n,r]=t;return R(e,i,n,r)}return"string"==typeof t?((0,ty.k)(void 0!==tq[t],"Invalid easing type '".concat(t,"'")),tq[t]):t};var tG=i(2548),tZ=i(839);function t_(t){let{duration:e=300,keyframes:i,times:n,ease:r="easeInOut"}=t,o=tK(r)?r.map(tH):tH(r),s={done:!1,value:i[0]},a=(n&&n.length===i.length?n:(0,tZ.Y)(i)).map(t=>t*e),l=(0,tG.s)(a,i,{ease:Array.isArray(o)?o:i.map(()=>o||tY).splice(0,i.length-1)});return{calculatedDuration:e,next:t=>(s.value=l(t),s.done=t>=e,s)}}let tJ=t=>{let e=e=>{let{timestamp:i}=e;return t(i)};return{start:()=>E.Wi.update(e,!0),stop:()=>(0,E.Pn)(e),now:()=>E.frameData.isProcessing?E.frameData.timestamp:tk.X.now()}},tQ={decay:tN,inertia:tN,tween:t_,keyframes:t_,spring:tU},t0=t=>t/100;class t1 extends tD{flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let e,i;let{type:n="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:s,velocity:a=0}=this.options,l=(0,f.xD)(n)?n:tQ[n]||t_;l!==t_&&"number"!=typeof t[0]&&(e=(0,tj.z)(t0,(0,tR.C)(t[0],t[1])),t=[0,100]);let u=l({...this.options,keyframes:t});"mirror"===s&&(i=l({...this.options,keyframes:[...t].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=(0,f.iI)(u));let{calculatedDuration:h}=u,c=h+o;return{generator:u,mirroredGenerator:i,mapPercentToKeyframes:e,calculatedDuration:h,resolvedDuration:c,totalDuration:c*(r+1)-o}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{resolved:i}=this;if(!i){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:n,generator:r,mirroredGenerator:o,mapPercentToKeyframes:s,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:h}=i;if(null===this.startTime)return r.next(0);let{delay:c,repeat:d,repeatType:p,repeatDelay:m,onUpdate:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let v=this.currentTime-c*(this.speed>=0?1:-1),g=this.speed>=0?v<0:v>u;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,x=r;if(d){let t=Math.min(this.currentTime,u)/h,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===p?(i=1-i,m&&(i-=m/h)):"mirror"===p&&(x=o)),y=(0,tC.u)(0,1,i)*h}let b=g?{done:!1,value:a[0]}:x.next(y);s&&(b.value=s(b.value));let{done:w}=b;g||null===l||(w=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let P=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return P&&void 0!==n&&(b.value=tV(a,this.options,n)),f&&f(b.value),P&&this.finish(),b}get duration(){let{resolved:t}=this;return t?(0,k.X)(t.calculatedDuration):0}
1get time(){return(0,k.X)(this.currentTime)}set time(t){t=(0,k.w)(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,k.X)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=tJ,onPlay:e,startTime:i}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let n=this.driver.now();null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=n):this.startTime=null!=i?i:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(t=this.currentTime)&&void 0!==t?t:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()};let{name:e,motionValue:i,element:n,keyframes:r}=this.options,o=(null==n?void 0:n.KeyframeResolver)||tg;this.resolver=new o(r,(t,e)=>this.onKeyframesResolved(t,e),e,i,n),this.resolver.scheduleResolve()}}let t2=new Set(["opacity","clipPath","filter","transform"]),t5=(0,i(2474).X)(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),t3={anticipate:I,backInOut:O,circInOut:U};class t9 extends tD{initPlayback(t,e){var i;let{duration:n=300,times:r,ease:o,type:s,motionValue:a,name:l,startTime:u}=this.options;if(!a.owner||!a.owner.current)return!1;if("string"==typeof o&&(0,f.Vc)()&&o in t3&&(o=t3[o]),i=this.options,(0,f.xD)(i.type)||"spring"===i.type||!(0,f.hR)(i.ease)){let{onComplete:e,onUpdate:i,motionValue:a,element:l,...u}=this.options,h=function(t,e){let i=new t1({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:t[0]},r=[],o=0;for(;!n.done&&o<2e4;)r.push((n=i.sample(o)).value),o+=10;return{times:void 0,keyframes:r,duration:o-10,ease:"linear"}}(t,u);1===(t=h.keyframes).length&&(t[1]=t[0]),n=h.duration,r=h.times,o=h.ease,s="keyframes"}let h=function(t,e,i){let{delay:n=0,duration:r=300,repeat:o=0,repeatType:s="loop",ease:a="easeInOut",times:l}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},u={[e]:i};l&&(u.offset=l);let h=(0,f.eB)(a,r);return Array.isArray(h)&&(u.easing=h),t.animate(u,{delay:n,duration:r,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"})}(a.owner.current,l,t,{...this.options,duration:n,times:r,ease:o});return h.startTime=null!=u?u:this.calcStartTime(),this.pendingTimeline?((0,f._F)(h,this.pendingTimeline),this.pendingTimeline=void 0):h.onfinish=()=>{let{onComplete:i}=this.options;a.set(tV(t,this.options,e)),i&&i(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:n,times:r,type:s,ease:o,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return(0,k.X)(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return(0,k.X)(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.currentTime=(0,k.w)(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return D.Z;let{animation:i}=e;(0,f._F)(i,t)}else this.pendingTimeline=t;return D.Z}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;
1"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:i,duration:n,type:r,ease:o,times:s}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:a,element:l,...u}=this.options,h=new t1({...u,keyframes:i,duration:n,type:r,ease:o,times:s,isGenerator:!0}),c=(0,k.w)(this.time);t.setWithVelocity(h.sample(c-10).value,h.sample(c).value,10)}let{onStop:a}=this.options;a&&a(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:o,type:s}=t;if(!e||!e.owner||!(e.owner.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return t5()&&i&&t2.has(i)&&!a&&!l&&!n&&"mirror"!==r&&0!==o&&"inertia"!==s}constructor(t){super(t);let{name:e,motionValue:i,element:n,keyframes:r}=this.options;this.resolver=new tA(r,(t,e)=>this.onKeyframesResolved(t,e),e,i,n),this.resolver.scheduleResolve()}}let t4={type:"spring",stiffness:500,damping:25,restSpeed:10},t6=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),t8={type:"keyframes",duration:.8},t7={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},et=(t,e)=>{let{keyframes:i}=e;return i.length>2?t8:g.has(t)?t.startsWith("scale")?t6(i[1]):t4:t7},ee=function(t,e,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0;return s=>{let a=(0,f.ev)(n,t)||{},l=a.delay||n.delay||0,{elapsed:u=0}=n;u-=(0,k.w)(l);let h={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:o?void 0:r};!function(t){let{when:e,delay:i,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:s,repeatType:a,repeatDelay:l,from:u,elapsed:h,...c}=t;return!!Object.keys(c).length}(a)&&(h={...h,...et(t,h)}),h.duration&&(h.duration=(0,k.w)(h.duration)),h.repeatDelay&&(h.repeatDelay=(0,k.w)(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let c=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(h.duration=0,0!==h.delay||(c=!0)),(V.current||M.c.skipAnimations)&&(c=!0,h.duration=0,h.delay=0),c&&!o&&void 0!==e.get()){let t=tV(h.keyframes,a);if(void 0!==t)return E.Wi.update(()=>{h.onUpdate(t),h.onComplete()}),new f.sP([])}return!o&&t9.supports(h)?new t9(h):new t1(h)}};function ei(t,e){var i;let{delay:n=0,transitionOverride:r,type:o}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{transition:s=t.getDefaultTransition(),transitionEnd:a,...l}=e;r&&(s=r);let h=[],c=o&&t.animationState&&t.animationState.getState()[o];for(let e in l){let r=t.getValue(e,null!==(i=t.latestValues[e])&&void 0!==i?i:null),o=l[e];if(void 0===o||c&&function(t,e){let{protectedKeys:i,needsAnimating:n}=t,r=i.hasOwnProperty(e)&&!0!==n[e];return n[e]=!1,r}(c,e))continue;let a={delay:n,...(0,f.ev)(s||{},e)},u=!1;if(window.MotionHandoffAnimation){let i=t.props[A];if(i){let t=window.MotionHandoffAnimation(i,e,E.Wi);null!==t&&(a.startTime=t,u=!0)}}T(t,e),r.start(ee(e,r,o,t.shouldReduceMotion&&y.has(e)?{type:!1}:a,t,u));let d=r.animation;d&&h.push(d)}return a&&Promise.all(h).then(()=>{E.Wi.update(()=>{a&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=u(t,e)||{};for(let e in r={...r,...i}){let i=b(r[e]);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,w.BX)(i))}}(t,a)})}),h}function en(t,e){var i;let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=u(t,e,"exit"===n.type?null===(i=t.presenceContext)||void 0===i?void 0:i.custom:void 0),{transition:o=t.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);let s=r?()=>Promise.all(ei(t,r,n)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?function(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,{delayChildren:r=0,staggerChildren:s,staggerDirection:a}=o;return function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=arguments.length>5?arguments[5]:void 0,s=[],a=(t.variantChildren.size-1)*n,l=1===r?function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return t*n}:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return a-t*n};return Array.from(t.variantChildren).sort(er).forEach((t,n)=>{t.notify("AnimationStart",e),s.push(en(t,e,{...o,delay:i+l(n)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(s)}(t,e,r+i,s,a,n)}:()=>Promise.resolve(),{when:l}=o;if(!l)return Promise.all([s(),a(n.delay)]);{let[t,e]="beforeChildren"===l?[s,a]:[a,s];return t().then(()=>e())}}function er(t,e){return t.sortNodePosition(e)}let eo=c.length,es=[...h].reverse(),ea=h.length;function el(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function eu(){return{animate:el(!0),whileInView:el(),whileHover:el(),whileTap:el(),whileDrag:el(),whileFocus:el(),exit:el()}}
1class eh{update(){}constructor(t){this.isMounted=!1,this.node=t}}class ec extends eh{updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();n(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(){var t;this.node.animationState.reset(),null===(t=this.unmountControls)||void 0===t||t.call(this)}constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(e=>{let{animation:i,options:n}=e;return function(t,e){let i,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t.notify("AnimationStart",e),Array.isArray(e))i=Promise.all(e.map(e=>en(t,e,n)));else if("string"==typeof e)i=en(t,e,n);else{let r="function"==typeof e?u(t,e,n.custom):e;i=Promise.all(ei(t,r,n))}return i.then(()=>{t.notify("AnimationComplete",e)})}(t,i,n)})),i=eu(),a=!0,l=e=>(i,n)=>{var r;let o=u(t,n,"exit"===e?null===(r=t.presenceContext)||void 0===r?void 0:r.custom:void 0);if(o){let{transition:t,transitionEnd:e,...n}=o;i={...i,...n,...e}}return i};function h(u){let{props:h}=t,d=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<eo;t++){let n=c[t],r=e.props[n];(s(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},p=[],m=new Set,f={},v=1/0;for(let e=0;e<ea;e++){var g;let c=es[e],y=i[c],x=void 0!==h[c]?h[c]:d[c],b=s(x),w=c===u?y.isActive:null;!1===w&&(v=e);let P=x===d[c]&&x!==h[c]&&b;if(P&&a&&t.manuallyAnimateOnMount&&(P=!1),y.protectedKeys={...f},!y.isActive&&null===w||!x&&!y.prevProp||n(x)||"boolean"==typeof x)continue;let T=(g=y.prevProp,"string"==typeof x?x!==g:!!Array.isArray(x)&&!o(x,g)),S=T||c===u&&y.isActive&&!P&&b||e>v&&b,A=!1,k=Array.isArray(x)?x:[x],E=k.reduce(l(c),{});!1===w&&(E={});let{prevResolvedValues:M={}}=y,V={...M,...E},D=e=>{S=!0,m.has(e)&&(A=!0,m.delete(e)),y.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in V){let e=E[t],i=M[t];if(!f.hasOwnProperty(t))(r(e)&&r(i)?o(e,i):e===i)?void 0!==e&&m.has(t)?D(t):y.protectedKeys[t]=!0:null!=e?D(t):m.add(t)}y.prevProp=x,y.prevResolvedValues=E,y.isActive&&(f={...f,...E}),a&&t.blockInitialAnimation&&(S=!1);let C=!(P&&T)||A;S&&C&&p.push(...k.map(t=>({animation:t,options:{type:c}})))}if(m.size){let e={};m.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=null!=n?n:null}),p.push({animation:e})}let y=!!p.length;return a&&(!1===h.initial||h.initial===h.animate)&&!t.manuallyAnimateOnMount&&(y=!1),a=!1,y?e(p):Promise.resolve()}return{animateChanges:h,setActive:function(e,n){var r;if(i[e].isActive===n)return Promise.resolve();null===(r=t.variantChildren)||void 0===r||r.forEach(t=>{var i;return null===(i=t.animationState)||void 0===i?void 0:i.setActive(e,n)}),i[e].isActive=n;let o=h(e);for(let t in i)i[t].protectedKeys={};return o},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=eu(),a=!0}}}(t))}}let ed=0;
1class ep extends eh{update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}constructor(){super(...arguments),this.id=ed++}}function em(t,e,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}function ef(t){return{point:{x:t.pageX,y:t.pageY}}}let ev=t=>e=>(0,f.DJ)(e)&&t(e,ef(e));function eg(t,e,i,n){return em(t,e,ev(i),n)}let ey=(t,e)=>Math.abs(t-e);class ex{updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,E.Pn)(this.updatePoint)}constructor(t,e,{transformPagePoint:i,contextWindow:n,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=eP(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(ey(t.x,e.x)**2+ey(t.y,e.y)**2)>=3);if(!n&&!r)return;let{point:o}=i,{timestamp:s}=E.frameData;this.history.push({...o,timestamp:s});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=eb(e,this.transformPagePoint),E.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=eP("pointercancel"===t.type?this.lastMoveEventInfo:eb(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,o),n&&n(t,o)},!(0,f.DJ)(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.contextWindow=n||window;let o=eb(ef(t),this.transformPagePoint),{point:s}=o,{timestamp:a}=E.frameData;this.history=[{...s,timestamp:a}];let{onSessionStart:l}=e;l&&l(t,eP(o,this.history)),this.removeListeners=(0,tj.z)(eg(this.contextWindow,"pointermove",this.handlePointerMove),eg(this.contextWindow,"pointerup",this.handlePointerUp),eg(this.contextWindow,"pointercancel",this.handlePointerUp))}}function eb(t,e){return e?{point:e(t.point)}:t}function ew(t,e){return{x:t.x-e.x,y:t.y-e.y}}function eP(t,e){let{point:i}=t;return{point:i,delta:ew(i,eT(e)),offset:ew(i,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=eT(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>(0,k.w)(.1)));)i--;if(!n)return{x:0,y:0};let o=(0,k.X)(r.timestamp-n.timestamp);if(0===o)return{x:0,y:0};let s={x:(r.x-n.x)/o,y:(r.y-n.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(e,0)}}function eT(t){return t[t.length-1]}function eS(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var eA=i(3892),ek=i(5004);function eE(t){return t.max-t.min}function eM(t,e,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;t.origin=n,t.originPoint=(0,ek.t)(e.min,e.max,t.origin),t.scale=eE(i)/eE(e),t.translate=(0,ek.t)(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 eV(t,e,i,n){eM(t.x,e.x,i.x,n?n.originX:void 0),eM(t.y,e.y,i.y,n?n.originY:void 0)}function eD(t,e,i){t.min=i.min+e.min,t.max=t.min+eE(e)}function eC(t,e,i){t.min=e.min-i.min,t.max=t.min+eE(e)}function eR(t,e,i){eC(t.x,e.x,i.x),eC(t.y,e.y,i.y)}function ej(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 eL(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 eF(t,e,i){return{min:eB(t,e),max:eB(t,i)}}function eB(t,e){return"number"==typeof t?t:t[e]||0}let eO=()=>({translate:0,scale:1,origin:0,originPoint:0}),eI=()=>({x:eO(),y:eO()}),eW=()=>({min:0,max:0}),ez=()=>({x:eW(),y:eW()});function eU(t){return[t("x"),t("y")]}function eN(t){let{top:e,left:i,right:n,bottom:r}=t;return{x:{min:i,max:n},y:{min:e,max:r}}}function eX(t){return void 0===t||1===t}function e$(t){let{scale:e,scaleX:i,scaleY:n}=t;return!eX(e)||!eX(i)||!eX(n)}function eY(t){return e$(t)||eK(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function eK(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function eq(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function eH(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0;t.min=eq(t.min,e,i,n,r),t.max=eq(t.max,e,i,n,r)}function eG(t,e){let{x:i,y:n}=e;eH(t.x,i.translate,i.scale,i.originPoint),eH(t.y,n.translate,n.scale,n.originPoint)}function eZ(t,e){t.min=t.min+e,t.max=t.max+e}function e_(t,e,i,n){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.5,o=(0,ek.t)(t.min,t.max,r);eH(t,e,i,o,n)}function eJ(t,e){e_(t.x,e.x,e.scaleX,e.scale,e.originX),e_(t.y,e.y,e.scaleY,e.scale,e.originY)}function eQ(t,e){return eN(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))}let e0=t=>{let{current:e}=t;return e?e.ownerDocument.defaultView:null},e1=new WeakMap;class e2{start(t){let{snapToCursor:e=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let{dragSnapToOrigin:n}=this.getProps();this.panSession=new ex(t,{onSessionStart:t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(ef(t).point)},onStart:(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,f.KV)(i),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),eU(t=>{let e=this.getAxisMotionValue(t).get()||0;if(_.aQ.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];if(n){let t=eE(n);e=parseFloat(e)/100*t}}}this.originPoint[t]=e}),r&&E.Wi.postRender(()=>r(t,e)),T(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:o}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:s}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(s),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,s),this.updateAxis("y",e.point,s),this.visualElement.render(),o&&o(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>eU(t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:n,contextWindow:e0(this.visualElement)})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:n}=e;this.startAnimation(n);let{onDragEnd:r}=this.getProps();r&&E.Wi.postRender(()=>r(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!e5(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),o=this.originPoint[t]+i[t];
1this.constraints&&this.constraints[t]&&(o=function(t,e,i){let{min:n,max:r}=e;return void 0!==n&&t<n?t=i?(0,ek.t)(n,t,i.min):Math.max(t,n):void 0!==r&&t>r&&(t=i?(0,ek.t)(r,t,i.max):Math.min(t,r)),t}(o,this.constraints[t],this.elastic[t])),r.set(o)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,r=this.constraints;e&&eS(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(t,e){let{top:i,left:n,bottom:r,right:o}=e;return{x:ej(t.x,n,o),y:ej(t.y,i,r)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.35;return!1===t?t=0:!0===t&&(t=.35),{x:eF(t,"left","right"),y:eF(t,"top","bottom")}}(i),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&eU(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!eS(e))return!1;let n=e.current;(0,ty.k)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let o=function(t,e,i){let n=eQ(t,i),{scroll:r}=e;return r&&(eZ(n.x,r.offset.x),eZ(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),s={x:eL((t=r.layout.layoutBox).x,o.x),y:eL(t.y,o.y)};if(i){let t=i(function(t){let{x:e,y:i}=t;return{top:i.min,right:e.max,bottom:i.max,left:e.min}}(s));this.hasMutatedConstraints=!!t,t&&(s=eN(t))}return s}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{};return Promise.all(eU(s=>{if(!e5(s,e,this.currentDirection))return;let l=a&&a[s]||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[s]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(s,u)})).then(s)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return T(this.visualElement,t),i.start(ee(t,i,0,e,this.visualElement,!1))}stopAnimation(){eU(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){eU(t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()})}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}getAxisMotionValue(t){let e="_drag".concat(t.toUpperCase()),i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){eU(e=>{let{drag:i}=this.getProps();if(!e5(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:o}=n.layout.layoutBox[e];r.set(t[e]-(0,ek.t)(i,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!eS(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};eU(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();n[t]=function(t,e){let i=.5,n=eE(t),r=eE(e);return r>n?i=(0,eA.Y)(e.min,e.max-n,t.min):n>r&&(i=(0,eA.Y)(t.min,t.max-r,e.min)),(0,tC.u)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),eU(e=>{if(!e5(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:o}=this.constraints[e];i.set((0,ek.t)(r,o,n[e]))})}addListeners(){if(!this.visualElement.current)return;e1.set(this.visualElement,this);let t=eg(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();eS(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,n=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),E.Wi.read(e);let r=em(window,"resize",()=>this.scalePositionWithinConstraints()),o=i.addEventListener("didUpdate",t=>{let{delta:e,hasLayoutChanged:i}=t;this.isDragging&&i&&(eU(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{r(),t(),n(),o&&o()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:o=.35,dragMomentum:s=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:o,dragMomentum:s}}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=ez(),this.visualElement=t}}function e5(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class e3 extends eh{mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||D.Z}unmount(){this.removeGroupControls(),this.removeListeners()}constructor(t){super(t),this.removeGroupControls=D.Z,this.removeListeners=D.Z,this.controls=new e2(t)}}let e9=t=>(e,i)=>{t&&E.Wi.postRender(()=>t(e,i))};class e4 extends eh{onPointerDown(t){this.session=new ex(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:e0(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:e9(t),onStart:e9(e),onMove:i,onEnd:(t,e)=>{delete this.session,n&&E.Wi.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=eg(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}constructor(){super(...arguments),this.removePointerDownListener=D.Z}}var e6=i(7437),e8=i(2265),e7=i(3241),it=i(5050);let ie=(0,e8.createContext)({}),ii={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ir(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let io={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!_.px.test(t))return t;t=parseFloat(t)}let i=ir(t,e.target.x),n=ir(t,e.target.y);return"".concat(i,"% ").concat(n,"%")}},is={},{schedule:ia,cancel:il}=(0,i(2981).Z)(queueMicrotask,!1);class iu extends e8.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;Object.assign(is,ic),r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),ii.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,o=i.projection;return o&&(o.isPresent=r,n||t.layoutDependency!==e||void 0===e?o.willUpdate():this.safeToRemove(),t.isPresent===r||(r?o.promote():o.relegate()||E.Wi.postRender(()=>
1{let t=o.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),ia.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;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 ih(t){let[e,i]=(0,e7.oO)(),n=(0,e8.useContext)(it.p);return(0,e6.jsx)(iu,{...t,layoutGroup:n,switchLayoutGroup:(0,e8.useContext)(ie),isPresent:e,safeToRemove:i})}let ic={borderRadius:{...io,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:io,borderTopRightRadius:io,borderBottomLeftRadius:io,borderBottomRightRadius:io,boxShadow:{correct:(t,e)=>{let{treeScale:i,projectionDelta:n}=e,r=X.P.parse(t);if(r.length>5)return t;let o=X.P.createTransformer(t),s="number"!=typeof r[0]?1:0,a=n.x.scale*i.x,l=n.y.scale*i.y;r[0+s]/=a,r[1+s]/=l;let u=(0,ek.t)(a,l,.5);return"number"==typeof r[2+s]&&(r[2+s]/=u),"number"==typeof r[3+s]&&(r[3+s]/=u),o(r)}}};var id=i(8746);let ip=(t,e)=>t.depth-e.depth;class im{add(t){(0,id.y4)(this.children,t),this.isDirty=!0}remove(t){(0,id.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(ip),this.isDirty=!1,this.children.forEach(t)}constructor(){this.children=[],this.isDirty=!1}}var iv=i(2428);function ig(t){let e=P(t)?t.get():t;return x(e)?e.toValue():e}let iy=["TopLeft","TopRight","BottomLeft","BottomRight"],ix=iy.length,ib=t=>"string"==typeof t?parseFloat(t):t,iw=t=>"number"==typeof t||_.px.test(t);function iP(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let iT=iA(0,.5,z),iS=iA(.5,.95,D.Z);function iA(t,e,i){return n=>n<t?0:n>e?1:i((0,eA.Y)(t,e,n))}function ik(t,e){t.min=e.min,t.max=e.max}function iE(t,e){ik(t.x,e.x),ik(t.y,e.y)}function iM(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function iV(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 iD(t,e,i,n,r){let[o,s,a]=i;!function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,r=arguments.length>4?arguments[4]:void 0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:t;if(_.aQ.test(e)&&(e=parseFloat(e),e=(0,ek.t)(s.min,s.max,e/100)-s.min),"number"!=typeof e)return;let a=(0,ek.t)(o.min,o.max,n);t===o&&(a-=e),t.min=iV(t.min,e,i,a,r),t.max=iV(t.max,e,i,a,r)}(t,e[o],e[s],e[a],e.scale,n,r)}let iC=["x","scaleX","originX"],iR=["y","scaleY","originY"];function ij(t,e,i,n){iD(t.x,e,iC,i?i.x:void 0,n?n.x:void 0),iD(t.y,e,iR,i?i.y:void 0,n?n.y:void 0)}function iL(t){return 0===t.translate&&1===t.scale}function iF(t){return iL(t.x)&&iL(t.y)}function iB(t,e){return t.min===e.min&&t.max===e.max}function iO(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function iI(t,e){return iO(t.x,e.x)&&iO(t.y,e.y)}function iW(t){return eE(t.x)/eE(t.y)}function iz(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class iU{add(t){(0,id.y4)(this.members,t),t.scheduleRender()}remove(t){if((0,id.cl)(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;let i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){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(),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:n}=t.options;!1===n&&i.hide()}}
1exitAnimationComplete(){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)}constructor(){this.members=[]}}let iN={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},iX="undefined"!=typeof window&&void 0!==window.MotionDebug,i$=["","X","Y","Z"],iY={visibility:"hidden"},iK=0;function iq(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function iH(t){let{attachResizeListener:e,defaultParent:i,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}=t;return class{addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new iv.L),this.eventHandlers.get(t).add(e)}notifyListeners(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];let r=this.eventHandlers.get(t);r&&r.notify(...i)}hasListeners(t){return this.eventHandlers.has(t)}mount(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.root.hasTreeAnimated;if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;let{layoutId:n,layout:r,visualElement:o}=this.options;if(o&&!o.current&&o.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(r||n)&&(this.isLayoutDirty=!0),e){let i;let n=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=tk.X.now(),n=e=>{let{timestamp:r}=e,o=r-i;o>=250&&((0,E.Pn)(n),t(o-250))};return E.Wi.read(n,!0),()=>(0,E.Pn)(n)}(n,0),ii.hasAnimatedSinceResize&&(ii.hasAnimatedSinceResize=!1,this.nodes.forEach(i5))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&o&&(n||r)&&this.addEventListener("didUpdate",t=>{let{delta:e,hasLayoutChanged:i,hasRelativeTargetChanged:n,layout:r}=t;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||o.getDefaultTransition()||ne,{onLayoutAnimationStart:a,onLayoutAnimationComplete:l}=o.getProps(),u=!this.targetLayout||!iI(this.targetLayout,r)||n,h=!i&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||h||i&&(u||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,h);let t={...(0,f.ev)(s,"layout"),onPlay:a,onComplete:l};(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else i||i5(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}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,(0,E.Pn)(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(i4),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[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[A];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",E.Wi,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}
1(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(i0);return}this.isUpdating||this.nodes.forEach(i1),this.isUpdating=!1,this.nodes.forEach(i2),this.nodes.forEach(iG),this.nodes.forEach(iZ),this.clearAllSnapshots();let t=tk.X.now();E.frameData.delta=(0,tC.u)(0,1e3/60,t-E.frameData.timestamp),E.frameData.timestamp=t,E.frameData.isProcessing=!0,E.yL.update.process(E.frameData),E.yL.preRender.process(E.frameData),E.yL.render.process(E.frameData),E.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ia.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(iQ),this.sharedNodes.forEach(i6)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,E.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){E.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}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.layoutCorrected=ez(),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(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"measure",e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e){let e=r(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!o)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!iF(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,r=n!==this.prevTransformTemplateValue;t&&(e||eY(this.latestValues)||r)&&(o(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(){var t;let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],i=this.measurePageBox(),n=this.removeElementScroll(i);return e&&(n=this.removeTransform(n)),nr((t=n).x),nr(t.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var t;let{visualElement:e}=this.options;if(!e)return ez();let i=e.measureViewportBox();if(!((null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)||this.path.some(ns))){let{scroll:t}=this.root;t&&(eZ(i.x,t.offset.x),eZ(i.y,t.offset.y))}return i}removeElementScroll(t){var e;let i=ez();if(iE(i,t),null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)return i;for(let e=0;e<this.path.length;e++){let n=this.path[e],{scroll:r,options:o}=n;n!==this.root&&r&&o.layoutScroll&&(r.wasRoot&&iE(i,t),eZ(i.x,r.offset.x),eZ(i.y,r.offset.y))}return i}applyTransform(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=ez();iE(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&&eJ(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),eY(n.latestValues)&&eJ(i,n.latestValues)}return eY(this.latestValues)&&eJ(i,this.latestValues),i}removeTransform(t){let e=ez();iE(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!eY(i.latestValues))continue;e$(i.latestValues)&&i.updateSnapshot();let n=ez();iE(n,i.measurePageBox()),ij(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return eY(this.latestValues)&&ij(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!==E.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(){var t,e,i,n;let r=arguments.length>0&&void 0!==arguments[0]&&arguments[0],o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);let s=!!this.resumingFrom||this!==o;if(!(r||s&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=E.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ez(),this.relativeTargetOrigin=ez(),eR(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),iE(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=ez(),this.targetWithTransforms=ez()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),e=this.target,i=this.relativeTarget,n=this.relativeParent.target,eD(e.x,i.x,n.x),eD(e.y,i.y,n.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):iE(this.target,this.layout.layoutBox),eG(this.target,this.targetDelta)):iE(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ez(),this.relativeTargetOrigin=ez(),eR(this.relativeTargetOrigin,this.target,t.target),iE(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}iX&&iN.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||e$(this.parent.latestValues)||eK(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let e=this.getLead(),i=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(n=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===E.frameData.timestamp&&(n=!1),n)return;let{layout:r,layoutId:o}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||o))return;iE(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,a=this.treeScale.y;
1!function(t,e,i){let n,r,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=i.length;if(s){e.x=e.y=1;for(let a=0;a<s;a++){r=(n=i[a]).projectionDelta;let{visualElement:s}=n.options;(!s||!s.props.style||"contents"!==s.props.style.display)&&(o&&n.options.layoutScroll&&n.scroll&&n!==n.root&&eJ(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),r&&(e.x*=r.x.scale,e.y*=r.y.scale,eG(t,r)),o&&eY(n.latestValues)&&eJ(t,n.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,i),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=ez());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(iM(this.prevProjectionDelta.x,this.projectionDelta.x),iM(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),eV(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===s&&this.treeScale.y===a&&iz(this.projectionDelta.x,this.prevProjectionDelta.x)&&iz(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),iX&&iN.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(){var t;let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(null===(t=this.options.visualElement)||void 0===t||t.scheduleRender(),e){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=eI(),this.projectionDelta=eI(),this.projectionDeltaWithTransform=eI()}setAnimationOrigin(t){let e,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.snapshot,r=n?n.latestValues:{},o={...this.latestValues},s=eI();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!i;let a=ez(),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(nt));this.animationProgress=0,this.mixTargetDelta=i=>{let n=i/1e3;if(i8(s.x,t.x,n),i8(s.y,t.y,n),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,m;eR(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,i7(p.x,m.x,a.x,n),i7(p.y,m.y,a.y,n),e&&(u=this.relativeTarget,d=e,iB(u.x,d.x)&&iB(u.y,d.y))&&(this.isProjectionDirty=!1),e||(e=ez()),iE(e,this.relativeTarget)}l&&(this.animationValues=o,function(t,e,i,n,r,o){r?(t.opacity=(0,ek.t)(0,void 0!==i.opacity?i.opacity:1,iT(n)),t.opacityExit=(0,ek.t)(void 0!==e.opacity?e.opacity:1,0,iS(n))):o&&(t.opacity=(0,ek.t)(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,n));for(let r=0;r<ix;r++){let o="border".concat(iy[r],"Radius"),s=iP(e,o),a=iP(i,o);(void 0!==s||void 0!==a)&&(s||(s=0),a||(a=0),0===s||0===a||iw(s)===iw(a)?(t[o]=Math.max((0,ek.t)(ib(s),ib(a),n),0),(_.aQ.test(a)||_.aQ.test(s))&&(t[o]+="%")):t[o]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,ek.t)(e.rotate||0,i.rotate||0,n))}(o,r,this.latestValues,n,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,E.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=E.Wi.update(()=>{ii.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,i){let n=P(0)?0:(0,w.BX)(0);return n.start(ee("",n,1e3,i)),n.animation}(0,0,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&no(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||ez();let e=eE(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=eE(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}iE(e,i),eJ(e,r),eV(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new iU),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(){var t;let{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote(){let{needsReset:t,transition:e,preserveFollowOpacity:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},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)}
1resetSkewAndRotation(){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&&iq("z",t,n,this.animationValues);for(let e=0;e<i$.length;e++)iq("rotate".concat(i$[e]),t,n,this.animationValues),iq("skew".concat(i$[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()}getProjectionStyles(t){var e,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return iY;let n={visibility:""},r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=ig(null==t?void 0:t.pointerEvents)||"",n.transform=r?r(this.latestValues,""):"none",n;let o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=ig(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!eY(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1),e}let s=o.animationValues||o.latestValues;this.applyTransformsToTarget(),n.transform=function(t,e,i){let n="",r=t.x.translate/e.x,o=t.y.translate/e.y,s=(null==i?void 0:i.z)||0;if((r||o||s)&&(n="translate3d(".concat(r,"px, ").concat(o,"px, ").concat(s,"px) ")),(1!==e.x||1!==e.y)&&(n+="scale(".concat(1/e.x,", ").concat(1/e.y,") ")),i){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:o,skewX:s,skewY:a}=i;t&&(n="perspective(".concat(t,"px) ").concat(n)),e&&(n+="rotate(".concat(e,"deg) ")),r&&(n+="rotateX(".concat(r,"deg) ")),o&&(n+="rotateY(".concat(o,"deg) ")),s&&(n+="skewX(".concat(s,"deg) ")),a&&(n+="skewY(".concat(a,"deg) "))}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+="scale(".concat(a,", ").concat(l,")")),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,s),r&&(n.transform=r(s,n.transform));let{x:a,y:l}=this.projectionDelta;for(let t in n.transformOrigin="".concat(100*a.origin,"% ").concat(100*l.origin,"% 0"),o.animationValues?n.opacity=o===this?null!==(i=null!==(e=s.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:n.opacity=o===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,is){if(void 0===s[t])continue;let{correct:e,applyTo:i}=is[t],r="none"===n.transform?s[t]:e(s[t],o);if(i){let t=i.length;for(let e=0;e<t;e++)n[i[e]]=r}else n[t]=r}return this.options.layoutId&&(n.pointerEvents=o===this?ig(null==t?void 0:t.pointerEvents)||"":"none"),n}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(i0),this.root.sharedNodes.clear()}constructor(t={},e=null==i?void 0:i()){this.id=iK++,this.animationId=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.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,iX&&(iN.totalNodes=iN.resolvedTargetDeltas=iN.recalculatedProjection=0),this.nodes.forEach(i_),this.nodes.forEach(i3),this.nodes.forEach(i9),this.nodes.forEach(iJ),iX&&window.MotionDebug.record(iN)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=e?e.root||e:this,this.path=e?[...e.path,e]:[],this.parent=e,this.depth=e?e.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new im)}}}function iG(t){t.updateLayout()}function iZ(t){var e;let i=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:n}=t.layout,{animationType:r}=t.options,o=i.source!==t.layout.source;"size"===r?eU(t=>{let n=o?i.measuredBox[t]:i.layoutBox[t],r=eE(n);n.min=e[t].min,n.max=n.min+r}):no(r,i.layoutBox,e)&&eU(n=>{let r=o?i.measuredBox[n]:i.layoutBox[n],s=eE(e[n]);r.max=r.min+s,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+s)});let s=eI();eV(s,e,i.layoutBox);let a=eI();o?eV(a,t.applyTransform(n,!0),i.measuredBox):eV(a,e,i.layoutBox);let l=!iF(s),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:o}=n;
1if(r&&o){let s=ez();eR(s,i.layoutBox,r.layoutBox);let a=ez();eR(a,e,o.layoutBox),iI(s,a)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=s,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function i_(t){iX&&iN.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function iJ(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function iQ(t){t.clearSnapshot()}function i0(t){t.clearMeasurements()}function i1(t){t.isLayoutDirty=!1}function i2(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function i5(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function i3(t){t.resolveTargetDelta()}function i9(t){t.calcProjection()}function i4(t){t.resetSkewAndRotation()}function i6(t){t.removeLeadSnapshot()}function i8(t,e,i){t.translate=(0,ek.t)(e.translate,0,i),t.scale=(0,ek.t)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function i7(t,e,i,n){t.min=(0,ek.t)(e.min,i.min,n),t.max=(0,ek.t)(e.max,i.max,n)}function nt(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let ne={duration:.45,ease:[.4,0,.1,1]},ni=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),nn=ni("applewebkit/")&&!ni("chrome/")?Math.round:D.Z;function nr(t){t.min=nn(t.min),t.max=nn(t.max)}function no(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(iW(e)-iW(i)))}function ns(t){var e;return t!==t.root&&(null===(e=t.scroll)||void 0===e?void 0:e.wasRoot)}let na=iH({attachResizeListener:(t,e)=>em(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),nl={current:void 0},nu=iH({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!nl.current){let t=new na({});t.mount(window),t.setOptions({layoutScroll:!0}),nl.current=t}return nl.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function nh(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&E.Wi.postRender(()=>r(e,ef(e)))}class nc extends eh{mount(){let{current:t}=this.node;t&&(this.unmount=(0,f.Mr)(t,t=>(nh(this.node,t,"Start"),t=>nh(this.node,t,"End"))))}unmount(){}}class nd extends eh{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=(0,tj.z)(em(this.node.current,"focus",()=>this.onFocus()),em(this.node.current,"blur",()=>this.onBlur()))}unmount(){}constructor(){super(...arguments),this.isActive=!1}}function np(t,e,i){let{props:n}=t;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&E.Wi.postRender(()=>r(e,ef(e)))}class nm extends eh{mount(){let{current:t}=this.node;t&&(this.unmount=(0,f.OD)(t,t=>(np(this.node,t,"Start"),(t,e)=>{let{success:i}=e;return np(this.node,t,i?"End":"Cancel")}),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let nf=new WeakMap,nv=new WeakMap,ng=t=>{let e=nf.get(t.target);e&&e(t)},ny=t=>{t.forEach(ng)},nx={some:0,all:1};
1class nb extends eh{startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:n="some",once:r}=t,o={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:nx[n]};return function(t,e,i){let n=function(t){let{root:e,...i}=t,n=e||document;nv.has(n)||nv.set(n,{});let r=nv.get(n),o=JSON.stringify(i);return r[o]||(r[o]=new IntersectionObserver(ny,{root:e,...i})),r[o]}(e);return nf.set(t,i),n.observe(t),()=>{nf.delete(t),n.unobserve(t)}}(this.node.current,o,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!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(),o=e?i:n;o&&o(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function(t){let{viewport:e={}}=t,{viewport:i={}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t=>e[t]!==i[t]}(t,e))&&this.startObserver()}unmount(){}constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}}let nw=(0,e8.createContext)({strict:!1});var nP=i(9791);let nT=(0,e8.createContext)({});function nS(t){return n(t.animate)||c.some(e=>s(t[e]))}function nA(t){return!!(nS(t)||t.variants)}function nk(t){return Array.isArray(t)?t.join(" "):t}var nE=i(7282);let nM={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"]},nV={};for(let t in nM)nV[t]={isEnabled:e=>nM[t].some(t=>!!e[t])};let nD=Symbol.for("motionComponentSymbol");var nC=i(7797),nR=i(9033);let nj=["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 nL(t){if("string"!=typeof t||t.includes("-"));else if(nj.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var nF=i(458);let nB=t=>(e,i)=>{let r=(0,e8.useContext)(nT),o=(0,e8.useContext)(nC.O),s=()=>(function(t,e,i,r){let{scrapeMotionValuesFromProps:o,createRenderState:s,onUpdate:a}=t,u={latestValues:function(t,e,i,r){let o={},s=r(t,{});for(let t in s)o[t]=ig(s[t]);let{initial:a,animate:u}=t,h=nS(t),c=nA(t);e&&c&&!h&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===u&&(u=e.animate));let d=!!i&&!1===i.initial,p=(d=d||!1===a)?u:a;if(p&&"boolean"!=typeof p&&!n(p)){let e=Array.isArray(p)?p:[p];for(let i=0;i<e.length;i++){let n=l(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=d?e.length-1:0;e=e[t]}null!==e&&(o[t]=e)}for(let e in t)o[e]=t[e]}}}return o}(e,i,r,o),renderState:s()};return a&&(u.onMount=t=>a({props:e,current:t,...u}),u.onUpdate=t=>a(t)),u})(t,e,r,o);return i?s():(0,nF.h)(s)},nO=(t,e)=>e&&"number"==typeof t?e.transform(t):t,nI={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},nW=v.length;function nz(t,e,i){let{style:n,vars:r,transformOrigin:o}=t,s=!1,a=!1;for(let t in e){let i=e[t];if(g.has(t)){s=!0;continue}if((0,tb.f)(t)){r[t]=i;continue}{let e=nO(i,te[t]);t.startsWith("origin")?(a=!0,o[t]=e):n[t]=e}}if(!e.transform&&(s||i?n.transform=function(t,e,i){let n="",r=!0;for(let o=0;o<nW;o++){let s=v[o],a=t[s];if(void 0===a)continue;let l=!0;if(!(l="number"==typeof a?a===(s.startsWith("scale")?1:0):0===parseFloat(a))||i){let t=nO(a,te[s]);if(!l){r=!1;let e=nI[s]||s;n+="".concat(e,"(").concat(t,") ")}i&&(e[s]=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}=o;n.transformOrigin="".concat(t," ").concat(e," ").concat(i)}}let nU={offset:"stroke-dashoffset",array:"stroke-dasharray"},nN={offset:"strokeDashoffset",array:"strokeDasharray"};function nX(t,e,i){return"string"==typeof t?t:_.px.transform(e+i*t)}function n$(t,e,i,n){let{attrX:r,attrY:o,attrScale:s,originX:a,originY:l,pathLength:u,pathSpacing:h=1,pathOffset:c=0,...d}=e;
1if(nz(t,d,n),i){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:p,style:m,dimensions:f}=t;p.transform&&(f&&(m.transform=p.transform),delete p.transform),f&&(void 0!==a||void 0!==l||m.transform)&&(m.transformOrigin=function(t,e,i){let n=nX(e,t.x,t.width),r=nX(i,t.y,t.height);return"".concat(n," ").concat(r)}(f,void 0!==a?a:.5,void 0!==l?l:.5)),void 0!==r&&(p.x=r),void 0!==o&&(p.y=o),void 0!==s&&(p.scale=s),void 0!==u&&function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=!(arguments.length>4)||void 0===arguments[4]||arguments[4];t.pathLength=1;let o=r?nU:nN;t[o.offset]=_.px.transform(-n);let s=_.px.transform(e),a=_.px.transform(i);t[o.array]="".concat(s," ").concat(a)}(p,u,h,c,!1)}let nY=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),nK=()=>({...nY(),attrs:{}}),nq=t=>"string"==typeof t&&"svg"===t.toLowerCase();function nH(t,e,i,n){let{style:r,vars:o}=e;for(let e in Object.assign(t.style,r,n&&n.getProjectionStyles(i)),o)t.style.setProperty(e,o[e])}let nG=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"]);function nZ(t,e,i,n){for(let i in nH(t,e,void 0,n),e.attrs)t.setAttribute(nG.has(i)?i:S(i),e.attrs[i])}function n_(t,e){let{layout:i,layoutId:n}=e;return g.has(t)||t.startsWith("origin")||(i||void 0!==n)&&(!!is[t]||"opacity"===t)}function nJ(t,e,i){var n;let{style:r}=t,o={};for(let s in r)(P(r[s])||e.style&&P(e.style[s])||n_(s,t)||(null===(n=null==i?void 0:i.getValue(s))||void 0===n?void 0:n.liveStyle)!==void 0)&&(o[s]=r[s]);return o}function nQ(t,e,i){let n=nJ(t,e,i);for(let i in t)(P(t[i])||P(e[i]))&&(n[-1!==v.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}let n0=["x","y","width","height","cx","cy","r"],n1={useVisualState:nB({scrapeMotionValuesFromProps:nQ,createRenderState:nK,onUpdate:t=>{let{props:e,prevProps:i,current:n,renderState:r,latestValues:o}=t;if(!n)return;let s=!!e.drag;if(!s){for(let t in o)if(g.has(t)){s=!0;break}}if(!s)return;let a=!i;if(i)for(let t=0;t<n0.length;t++){let n=n0[t];e[n]!==i[n]&&(a=!0)}a&&E.Wi.read(()=>{!function(t,e){try{e.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(t){e.dimensions={x:0,y:0,width:0,height:0}}}(n,r),E.Wi.render(()=>{n$(r,o,nq(n.tagName),e.transformTemplate),nZ(n,r)})})}})},n2={useVisualState:nB({scrapeMotionValuesFromProps:nJ,createRenderState:nY})};function n5(t,e,i){for(let n in e)P(e[n])||n_(n,i)||(t[n]=e[n])}let n3=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","ignoreStrict","viewport"]);function n9(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||n3.has(t)}let n4=t=>!n9(t);try{(d=require("@emotion/is-prop-valid").default)&&(n4=t=>t.startsWith("on")?!n9(t):d(t))}catch(t){}let n6={current:null},n8={current:!1},n7=[...tT,G.$,X.P],rt=t=>n7.find(tP(t)),re=new WeakMap,ri=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class rn{scrapeMotionValuesFromProps(t,e,i){return{}}mount(t){this.current=t,re.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)),n8.current||function(){if(n8.current=!0,nE.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>n6.current=t.matches;t.addListener(e),e()}else n6.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||n6.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in re.delete(this.current),this.projection&&this.projection.unmount(),(0,E.Pn)(this.notifyUpdate),(0,E.Pn)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(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}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=g.has(t),r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&E.Wi.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),o(),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 nV){let e=nV[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):ez()}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<ri.length;e++){let i=ri[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],o=i[n];if(P(r))t.addValue(n,r);else if(P(o))t.addValue(n,(0,w.BX)(r,{owner:t}));else if(o!==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,(0,w.BX)(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(),this.onUpdate&&this.onUpdate(this)}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=(0,w.BX)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let n=void 0===this.latestValues[t]&&this.current?null!==(i=this.getBaseTargetFromProps(this.props,t))&&void 0!==i?i:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=n&&("string"==typeof n&&(tx(n)||N(n))?n=parseFloat(n):!rt(n)&&X.P.test(e)&&(n=tr(t,e)),this.setBaseTarget(t,P(n)?n.get():n)),P(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let i;let{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let r=l(this.props,n,null===(e=this.presenceContext)||void 0===e?void 0:e.custom);r&&(i=r[t])}if(n&&void 0!==i)return i;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||P(r)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new iv.L),this.events[t].add(e)}notify(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];this.events[t]&&this.events[t].notify(...i)}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,blockInitialAnimation:r,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=tg,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=tk.X.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,E.Wi.render(this.render,!1,!0))};let{latestValues:a,renderState:l,onUpdate:u}=o;this.onUpdate=u,this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=s,this.blockInitialAnimation=!!r,this.isControllingVariants=nS(e),this.isVariantNode=nA(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:h,...c}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in c){let e=c[t];void 0!==a[t]&&P(e)&&e.set(a[t],!1)}}}class rr extends rn{sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,e){let{vars:i,style:n}=e;delete i[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;P(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent="".concat(t))}))}constructor(){super(...arguments),this.KeyframeResolver=tA}}class ro extends rr{readValueFromInstance(t,e){if(g.has(e)){let t=tn(e);return t&&t.default||0}{let i=window.getComputedStyle(t),n=((0,tb.f)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,e){let{transformPagePoint:i}=e;return eQ(t,i)}build(t,e,i){nz(t,e,i.transformTemplate)}
1scrapeMotionValuesFromProps(t,e,i){return nJ(t,e,i)}constructor(){super(...arguments),this.type="html",this.renderInstance=nH}}class rs extends rr{getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(g.has(e)){let t=tn(e);return t&&t.default||0}return e=nG.has(e)?e:S(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return nQ(t,e,i)}build(t,e,i){n$(t,e,this.isSVGTag,i.transformTemplate)}renderInstance(t,e,i,n){nZ(t,e,i,n)}mount(t){this.isSVGTag=nq(t.tagName),super.mount(t)}constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ez}}let ra=function(t){if("undefined"==typeof Proxy)return t;let e=new Map;return new Proxy(function(){for(var e=arguments.length,i=Array(e),n=0;n<e;n++)i[n]=arguments[n];return t(...i)},{get:(i,n)=>"create"===n?t:(e.has(n)||e.set(n,t(n)),e.get(n))})}((p={animation:{Feature:ec},exit:{Feature:ep},inView:{Feature:nb},tap:{Feature:nm},focus:{Feature:nd},hover:{Feature:nc},pan:{Feature:e4},drag:{Feature:e3,ProjectionNode:nu,MeasureLayout:ih},layout:{ProjectionNode:nu,MeasureLayout:ih}},m=(t,e)=>nL(t)?new rs(e):new ro(e,{allowProjection:t!==e8.Fragment}),function(t){let{forwardMotionProps:e}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{forwardMotionProps:!1};return function(t){var e,i;let{preloadedFeatures:n,createVisualElement:r,useRender:o,useVisualState:a,Component:l}=t;function u(t,e){var i;let n;let u={...(0,e8.useContext)(nP._),...t,layoutId:function(t){let{layoutId:e}=t,i=(0,e8.useContext)(it.p).id;return i&&void 0!==e?i+"-"+e:e}(t)},{isStatic:h}=u,c=function(t){let{initial:e,animate:i}=function(t,e){if(nS(t)){let{initial:e,animate:i}=t;return{initial:!1===e||s(e)?e:void 0,animate:s(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,e8.useContext)(nT));return(0,e8.useMemo)(()=>({initial:e,animate:i}),[nk(e),nk(i)])}(t),d=a(t,h);if(!h&&nE.j){(0,e8.useContext)(nw).strict;let t=function(t){let{drag:e,layout:i}=nV;if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(u);n=t.MeasureLayout,c.visualElement=function(t,e,i,n,r){var o,s;let{visualElement:a}=(0,e8.useContext)(nT),l=(0,e8.useContext)(nw),u=(0,e8.useContext)(nC.O),h=(0,e8.useContext)(nP._).reducedMotion,c=(0,e8.useRef)(null);n=n||l.renderer,!c.current&&n&&(c.current=n(t,{visualState:e,parent:a,props:i,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:h}));let d=c.current,p=(0,e8.useContext)(ie);d&&!d.projection&&r&&("html"===d.type||"svg"===d.type)&&function(t,e,i,n){let{layoutId:r,layout:o,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u}=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:o,alwaysMeasureLayout:!!s||a&&eS(a),visualElement:t,animationType:"string"==typeof o?o:"both",initialPromotionConfig:n,layoutScroll:l,layoutRoot:u})}(c.current,i,r,p);let m=(0,e8.useRef)(!1);(0,e8.useInsertionEffect)(()=>{d&&m.current&&d.update(i,u)});let f=i[A],v=(0,e8.useRef)(!!f&&!(null===(o=window.MotionHandoffIsComplete)||void 0===o?void 0:o.call(window,f))&&(null===(s=window.MotionHasOptimisedAnimation)||void 0===s?void 0:s.call(window,f)));return(0,nR.L)(()=>{d&&(m.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),ia.render(d.render),v.current&&d.animationState&&d.animationState.animateChanges())}),(0,e8.useEffect)(()=>{d&&(!v.current&&d.animationState&&d.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{var t;null===(t=window.MotionHandoffMarkAsComplete)||void 0===t||t.call(window,f)}),v.current=!1))}),d}(l,d,u,r,t.ProjectionNode)}return(0,e6.jsxs)(nT.Provider,{value:c,children:[n&&c.visualElement?(0,e6.jsx)(n,{visualElement:c.visualElement,...u}):null,o(l,t,(i=c.visualElement,(0,e8.useCallback)(t=>{t&&d.onMount&&d.onMount(t),i&&(t?i.mount(t):i.unmount()),e&&("function"==typeof e?e(t):eS(e)&&(e.current=t))},[i])),d,h,c.visualElement)]})}n&&function(t){for(let e in t)nV[e]={...nV[e],...t[e]}}(n),u.displayName="motion.".concat("string"==typeof l?l:"create(".concat(null!==(i=null!==(e=l.displayName)&&void 0!==e?e:l.name)&&void 0!==i?i:"",")"));let h=(0,e8.forwardRef)(u);return h[nD]=l,h}({...nL(t)?n1:n2,preloadedFeatures:p,useRender:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(e,i,n,r,o)=>{let{latestValues:s}
1=r,a=(nL(e)?function(t,e,i,n){let r=(0,e8.useMemo)(()=>{let i=nK();return n$(i,e,nq(n),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};n5(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i={},n=function(t,e){let i=t.style||{},n={};return n5(n,i,t),Object.assign(n,function(t,e){let{transformTemplate:i}=t;return(0,e8.useMemo)(()=>{let t=nY();return nz(t,e,i),Object.assign({},t.vars,t.style)},[e])}(t,e)),n}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=n,i})(i,s,o,e),l=function(t,e,i){let n={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(n4(r)||!0===i&&n9(r)||!e&&!n9(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(i,"string"==typeof e,t),u=e!==e8.Fragment?{...l,...a,ref:n}:{},{children:h}=i,c=(0,e8.useMemo)(()=>P(h)?h.get():h,[h]);return(0,e8.createElement)(e,{...u,children:c})}}(e),createVisualElement:m,Component:t})}))},1534:function(t,e,i){i.d(e,{f:function(){return r},t:function(){return s}});let n=t=>e=>"string"==typeof e&&e.startsWith(t),r=n("--"),o=n("var(--"),s=t=>!!o(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},565:function(t,e,i){i.d(e,{c:function(){return n}});let n={skipAnimations:!1,useManualTiming:!1}},8746:function(t,e,i){function n(t,e){-1===t.indexOf(e)&&t.push(e)}function r(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}i.d(e,{cl:function(){return r},y4:function(){return n}})},1506:function(t,e,i){i.d(e,{u:function(){return n}});let n=(t,e,i)=>i>e?e:i<t?t:i},2548:function(t,e,i){i.d(e,{s:function(){return u}});var n=i(5085),r=i(2159),o=i(3892),s=i(1506),a=i(5389),l=i(9654);function u(t,e){let{clamp:i=!0,ease:u,mixer:h}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=t.length;if((0,r.k)(c===e.length,"Both input and output ranges must be the same length"),1===c)return()=>e[0];if(2===c&&e[0]===e[1])return()=>e[1];let d=t[0]===t[1];t[0]>t[c-1]&&(t=[...t].reverse(),e=[...e].reverse());let p=function(t,e,i){let r=[],o=i||a.C,s=t.length-1;for(let i=0;i<s;i++){let s=o(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||n.Z:e;s=(0,l.z)(t,s)}r.push(s)}return r}(e,u,h),m=p.length,f=i=>{if(d&&i<t[0])return e[0];let n=0;if(m>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let r=(0,o.Y)(t[n],t[n+1],i);return p[n](r)};return i?e=>f((0,s.u)(t[0],t[c-1],e)):f}},7282:function(t,e,i){i.d(e,{j:function(){return n}});let n="undefined"!=typeof window},5389:function(t,e,i){i.d(e,{C:function(){return A}});var n=i(5004),r=i(2159);function o(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}var s=i(5778),a=i(1583),l=i(598);function u(t,e){return i=>i>0?e:t}let h=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},c=[s.$,a.m,l.J],d=t=>c.find(e=>e.test(t));function p(t){let e=d(t);if((0,r.K)(!!e,"'".concat(t,"' is not an animatable color. Use the equivalent color code instead.")),!e)return!1;let i=e.parse(t);return e===l.J&&(i=function(t){let{hue:e,saturation:i,lightness:n,alpha:r}=t;e/=360,n/=100;let s=0,a=0,l=0;if(i/=100){let t=n<.5?n*(1+i):n+i-n*i,r=2*n-t;s=o(r,t,e+1/3),a=o(r,t,e),l=o(r,t,e-1/3)}else s=a=l=n;return{red:Math.round(255*s),green:Math.round(255*a),blue:Math.round(255*l),alpha:r}}(i)),i}let m=(t,e)=>{let i=p(t),r=p(e);if(!i||!r)return u(t,e);let o={...i};return t=>(o.red=h(i.red,r.red,t),o.green=h(i.green,r.green,t),o.blue=h(i.blue,r.blue,t),o.alpha=(0,n.t)(i.alpha,r.alpha,t),a.m.transform(o))};var f=i(9654),v=i(146),g=i(9116),y=i(1534);let x=new Set(["none","hidden"]);function b(t,e){return i=>(0,n.t)(t,e,i)}function w(t){return"number"==typeof t?b:"string"==typeof t?(0,y.t)(t)?u:v.$.test(t)?m:S:Array.isArray(t)?P:"object"==typeof t?v.$.test(t)?m:T:u}function P(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>w(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function T(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=w(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let S=(t,e)=>{let i=g.P.createTransformer(e),n=(0,g.V)(t),o=(0,g.V)(e);return n.indexes.var.length===o.indexes.var.length&&n.indexes.color.length===o.indexes.color.length&&n.indexes.number.length>=o.indexes.number.length?x.has(t)&&!o.values.length||x.has(e)&&!n.values.length?x.has(t)?i=>i<=0?t:e:i=>i>=1?e:t:(0,f.z)(P(function(t,e){var i;let n=[],r={color:0,var:0,number:0};for(let o=0;o<e.values.length;o++){let s=e.types[o],a=t.indexes[s][r[s]],l=null!==(i=t.values[a])&&void 0!==i?i:0;n[o]=l,r[s]++}return n}(n,o),o.values),i):((0,r.K)(!0,"Complex values '".concat(t,"' and '").concat(e,"' too different to mix. Ensure all c
1olors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.")),u(t,e))};function A(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,n.t)(t,e,i):w(t)(t,e)}},5004:function(t,e,i){i.d(e,{t:function(){return n}});let n=(t,e,i)=>t+(e-t)*i},839:function(t,e,i){i.d(e,{Y:function(){return o}});var n=i(3892),r=i(5004);function o(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let o=1;o<=e;o++){let s=(0,n.Y)(0,e,o);t.push((0,r.t)(i,1,s))}}(e,t.length-1),e}},9654:function(t,e,i){i.d(e,{z:function(){return r}});let n=(t,e)=>i=>e(t(i)),r=function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return e.reduce(n)}},2428:function(t,e,i){i.d(e,{L:function(){return r}});var n=i(8746);class r{add(t){return(0,n.y4)(this.subscriptions,t),()=>(0,n.cl)(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}constructor(){this.subscriptions=[]}}},458:function(t,e,i){i.d(e,{h:function(){return r}});var n=i(2265);function r(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},9033:function(t,e,i){i.d(e,{L:function(){return r}});var n=i(2265);let r=i(7282).j?n.useLayoutEffect:n.useEffect},3476:function(t,e,i){i.d(e,{R:function(){return n}});function n(t,e){return e?1e3/e*t:0}},804:function(t,e,i){i.d(e,{BX:function(){return h},S1:function(){return l}});var n=i(9993),r=i(2428),o=i(3476),s=i(6219);let a=t=>!isNaN(parseFloat(t)),l={current:void 0};class u{setCurrent(t){this.current=t,this.updatedAt=n.X.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=a(this.current))}setPrevFrameValue(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]: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 r.L);let i=this.events[t].add(e);return"change"===t?()=>{i(),s.Wi.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){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=n.X.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,o.R)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}constructor(t,e={}){var i=this;this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=function(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1],r=n.X.now();i.updatedAt!==r&&i.setPrevFrameValue(),i.prev=i.current,i.setCurrent(t),i.current!==i.prev&&i.events.change&&i.events.change.notify(i.current),e&&i.events.renderRequest&&i.events.renderRequest.notify(i.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}}function h(t,e){return new u(t,e)}}
1,5778:function(t,e,i){i.d(e,{$:function(){return r}});var n=i(1583);let r={test:(0,i(9336).i)("#"),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:n.m.transform}},598:function(t,e,i){i.d(e,{J:function(){return a}});var n=i(783),r=i(5480),o=i(8998),s=i(9336);let a={test:(0,s.i)("hsl","hue"),parse:(0,s.d)("hue","saturation","lightness"),transform:t=>{let{hue:e,saturation:i,lightness:s,alpha:a=1}=t;return"hsla("+Math.round(e)+", "+r.aQ.transform((0,o.N)(i))+", "+r.aQ.transform((0,o.N)(s))+", "+(0,o.N)(n.Fq.transform(a))+")"}}},146:function(t,e,i){i.d(e,{$:function(){return s}});var n=i(5778),r=i(598),o=i(1583);let s={test:t=>o.m.test(t)||n.$.test(t)||r.J.test(t),parse:t=>o.m.test(t)?o.m.parse(t):r.J.test(t)?r.J.parse(t):n.$.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?o.m.transform(t):r.J.transform(t)}},1583:function(t,e,i){i.d(e,{m:function(){return u}});var n=i(1506),r=i(783),o=i(8998),s=i(9336);let a=t=>(0,n.u)(0,255,t),l={...r.Rx,transform:t=>Math.round(a(t))},u={test:(0,s.i)("rgb","red"),parse:(0,s.d)("red","green","blue"),transform:t=>{let{red:e,green:i,blue:n,alpha:s=1}=t;return"rgba("+l.transform(e)+", "+l.transform(i)+", "+l.transform(n)+", "+(0,o.N)(r.Fq.transform(s))+")"}}},9336:function(t,e,i){i.d(e,{i:function(){return o},d:function(){return s}});var n=i(1322);let r=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,o=(t,e)=>i=>!!("string"==typeof i&&r.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),s=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[o,s,a,l]=r.match(n.K);return{[t]:parseFloat(o),[e]:parseFloat(s),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},9116:function(t,e,i){i.d(e,{V:function(){return h},P:function(){return m}});var n=i(146);let r=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var o=i(1322),s=i(8998);let a="number",l="color",u=/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 h(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},o=[],s=0,h=e.replace(u,t=>(n.$.test(t)?(r.color.push(s),o.push(l),i.push(n.$.parse(t))):t.startsWith("var(")?(r.var.push(s),o.push("var"),i.push(t)):(r.number.push(s),o.push(a),i.push(parseFloat(t))),++s,"${}")).split("${}");return{values:i,split:h,indexes:r,types:o}}function c(t){return h(t).values}function d(t){let{split:e,types:i}=h(t),r=e.length;return t=>{let o="";for(let u=0;u<r;u++)if(o+=e[u],void 0!==t[u]){let e=i[u];e===a?o+=(0,s.N)(t[u]):e===l?o+=n.$.transform(t[u]):o+=t[u]}return o}}let p=t=>"number"==typeof t?0:t,m={test:function(t){var e,i;return isNaN(t)&&"string"==typeof t&&((null===(e=t.match(o.K))||void 0===e?void 0:e.length)||0)+((null===(i=t.match(r))||void 0===i?void 0:i.length)||0)>0},parse:c,createTransformer:d,getAnimatableNone:function(t){let e=c(t);return d(t)(e.map(p))}}},783:function(t,e,i){i.d(e,{Fq:function(){return o},Rx:function(){return r},bA:function(){return s}});var n=i(1506);let r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},o={...r,transform:t=>(0,n.u)(0,1,t)},s={...r,default:1}},5480:function(t,e,i){i.d(e,{$C:function(){return u},RW:function(){return r},aQ:function(){return o},px:function(){return s},vh:function(){return a},vw:function(){return l}});let n=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>"".concat(e).concat(t)}),r=n("deg"),o=n("%"),s=n("px"),a=n("vh"),l=n("vw"),u={...o,parse:t=>o.parse(t)/100,transform:t=>o.transform(100*t)}},1322:function(t,e,i){i.d(e,{K:function(){return n}});let n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu}
1,8998:function(t,e,i){i.d(e,{N:function(){return n}});let n=t=>Math.round(1e5*t)/1e5},6167:function(t,e,i){i.d(e,{sP:function(){return s},_F:function(){return c},iI:function(){return u},wk:function(){return v},ev:function(){return a},Mr:function(){return S},qE:function(){return d},xD:function(){return h},DJ:function(){return k},hR:function(){return g},eB:function(){return function t(e,i){if(e)return"function"==typeof e&&m()?v(e,i):d(e)?y(e):Array.isArray(e)?e.map(e=>t(e,i)||x.easeOut):x[e]}},EO:function(){return l},OD:function(){return j},IG:function(){return w},KV:function(){return L},Vc:function(){return m},tn:function(){return r}});var n=i(2474);let r=(0,n.X)(()=>void 0!==window.ScrollTimeline);class o{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=e}attachTimeline(t,e){let i=this.animations.map(i=>r()&&i.attachTimeline?i.attachTimeline(t):"function"==typeof e?e(i):void 0);return()=>{i.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=>e[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class s extends o{then(t,e){return Promise.all(this.animations).then(t).catch(e)}}function a(t,e){return t?t[e]||t.default||t:void 0}let l=2e4;function u(t){let e=0,i=t.next(e);for(;!i.done&&e<l;)e+=50,i=t.next(e);return e>=l?1/0:e}function h(t){return"function"==typeof t}function c(t,e){t.timeline=e,t.onfinish=null}let d=t=>Array.isArray(t)&&"number"==typeof t[0],p={linearEasing:void 0},m=function(t,e){let i=(0,n.X)(t);return()=>{var t;return null!==(t=p[e])&&void 0!==t?t:i()}}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var f=i(3892);let v=(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e<r;e++)n+=t((0,f.Y)(0,r-1,e))+", ";return`linear(${n.substring(0,n.length-2)})`};function g(t){return!!("function"==typeof t&&m()||!t||"string"==typeof t&&(t in x||m())||d(t)||Array.isArray(t)&&t.every(g))}let y=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,x={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:y([0,.65,.55,1]),circOut:y([.55,0,1,.45]),backIn:y([.31,.01,.66,-.59]),backOut:y([.33,1.53,.69,.99])},b={x:!1,y:!1};function w(t,e,i){var n;if(t instanceof Element)return[t];if("string"==typeof t){let r=document;e&&(r=e.current);let o=null!==(n=null==i?void 0:i[t])&&void 0!==n?n:r.querySelectorAll(t);return o?Array.from(o):[]}return Array.from(t)}function P(t,e){let i=w(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function T(t){return e=>{"touch"===e.pointerType||b.x||b.y||t(e)}}function S(t,e,i={}){let[n,r,o]=P(t,i),s=T(t=>{let{target:i}=t,n=e(t);if("function"!=typeof n||!i)return;let o=T(t=>{n(t),i.removeEventListener("pointerleave",o)});i.addEventListener("pointerleave",o,r)});return n.forEach(t=>{t.addEventListener("pointerenter",s,r)}),o}let A=(t,e)=>!!e&&(t===e||A(t,e.parentElement)),k=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary,E=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),M=new WeakSet;function V(t){return e=>{"Enter"===e.key&&t(e)}}function D(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}let C=(t,e)=>{let i=t.currentTarget;if(!i)return;let n=V(()=>{if(M.has(i))return;D(i,"down");let t=V(()=>{D(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>D(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)};function R(t){return k(t)&&!(b.x||b.y)}function j(t,e,i={}){let[n,r,o]=P(t,i),s=t=>{let n=t.currentTarget;if(!R(t)||M.has(n))return;M.add(n);let o=e(t),s=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),R(t)&&M.has(n)&&(M.delete(n),"function"==typeof o&&o(t,{success:e}))},a=t=>{s(t,i.useGlobalTarget||A(n,t.target))},l=t=>{s(t,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};return n.forEach(t=>{E.has(t.tagName)||-1!==t.tabIndex||null!==t.getAttribute("tabindex")||(t.tabIndex=0),(i.useGlobalTarget?window:t).addEventListener("pointerdown",s,r),t.addEventListener("focus",t=>C(t,r),r)}),o}function L(t){return"x"===t||"y"===t?b[t]?null:(b[t]=!0,()=>{b[t]=!1}):b.x||b.y?null:(b.x=b.y=!0,()=>{b.x=b.y=!1})}i(4757),i(5085)},2159:function(t,e,i){i.d(e,{K:function(){return r},k:function(){return o}});var n=i(5085);let r=n.Z,o=n.Z},2474:function(t,e,i){i.d(e,{X:function(){return n}});function n(t){let e;return()=>(void 0===e&&(e=t()),e)}},5085:function(t,e,i){i.d(e,{Z:function(){return n}});let n=t=>t},3892:function(t,e,i){i.d(e,{Y:function(){return n}});let n=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n}},4757:function(t,e,i){i.d(e,{X:function(){return r},w:function(){return n}});let n=t=>1e3*t,r=t=>t/1e3},6164:function(t,e,i){i.d(e,{m6:function(){return G}});let n=t=>{let e=a(t),{conflictingClassGroups:i,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:t=>{let i=t.split("-");return""===i[0]&&1!==i.length&&i.shift(),r(i,e)||s(t)},getConflictingClassGroupIds:(t,e)=>{let r=i[t]||[];return e&&n[t]?[...r,...n[t]]:r}}},r=(t,e)=>{if(0===t.length)return e.classGroupId;let i=t[0],n=e.nextPart.get(i),o=n?r(t.slice(1),n):void 0;if(o)return o;if(0===e.validators.length)return;let s=t.join("-");return e.validators.find(({validator:t})=>t(s))?.classGroupId},o=/^\[(.+)\]$/,s=t=>{if(o.test(t)){let e=o.exec(t)[1],i=e?.substring(0,e.indexOf(":"));if(i)return"arbitrary.."+i}},a=t=>{let{theme:e,prefix:i}=t,n={nextPart:new Map,validators:[]};return c(Object.entries(t.classGroups),i).forEach(([t,i])=>{l(i,n,t,e)}),n},l=(t,e,i,n)=>{t.forEach(t=>{if("string"==typeof t){(""===t?e:u(e,t)).classGroupId=i;return}if("function"==typeof t){if(h(t)){l(t(n),e,i,n);return}e.validators.push({validator:t,classGroupId:i});return}Object.entries(t).forEach(([t,r])=>{l(r,u(e,t),i,n)})})},u=(t,e)=>{let i=t;return e.split("-").forEach(t=>{i.nextPart.has(t)||i.nextPart.set(t,{nextPart:new Map,validators:[]}),i=i.nextPart.get(t)}),i},h=t=>t.isThemeGetter,c=(t,e)=>e?t.map(([t,i])=>[t,i.map(t=>"string"==typeof t?e+t:"object"==typeof t?Object.fromEntries(Object.entries(t).map(([t,i])=>[e+t,i])):t)]):t,d=t=>{if(t<1)return{get:()=>void 0,set:()=>{}};let e=0,i=new Map,n=new Map,r=(r,o)=>{i.set(r,o),++e>t&&(e=0,n=i,i=new Map)};return{get(t){let e=i.get(t);return void 0!==e?e:void 0!==(e=n.get(t))?(r(t,e),e):void 0},set(t,e){i.has(t)?i.set(t,e):r(t,e)}}},p=t=>{let{separator:e,experimentalParseClassName:i}=t,n=1===e.length,r=e[0],o=e.length,s=t=>{let i;let s=[],a=0,l=0;for(let u=0;u<t.length;u++){let h=t[u];
1if(0===a){if(h===r&&(n||t.slice(u,u+o)===e)){s.push(t.slice(l,u)),l=u+o;continue}if("/"===h){i=u;continue}}"["===h?a++:"]"===h&&a--}let u=0===s.length?t:t.substring(l),h=u.startsWith("!"),c=h?u.substring(1):u;return{modifiers:s,hasImportantModifier:h,baseClassName:c,maybePostfixModifierPosition:i&&i>l?i-l:void 0}};return i?t=>i({className:t,parseClassName:s}):s},m=t=>{if(t.length<=1)return t;let e=[],i=[];return t.forEach(t=>{"["===t[0]?(e.push(...i.sort(),t),i=[]):i.push(t)}),e.push(...i.sort()),e},f=t=>({cache:d(t.cacheSize),parseClassName:p(t),...n(t)}),v=/\s+/,g=(t,e)=>{let{parseClassName:i,getClassGroupId:n,getConflictingClassGroupIds:r}=e,o=[],s=t.trim().split(v),a="";for(let t=s.length-1;t>=0;t-=1){let e=s[t],{modifiers:l,hasImportantModifier:u,baseClassName:h,maybePostfixModifierPosition:c}=i(e),d=!!c,p=n(d?h.substring(0,c):h);if(!p){if(!d||!(p=n(h))){a=e+(a.length>0?" "+a:a);continue}d=!1}let f=m(l).join(":"),v=u?f+"!":f,g=v+p;if(o.includes(g))continue;o.push(g);let y=r(p,d);for(let t=0;t<y.length;++t){let e=y[t];o.push(v+e)}a=e+(a.length>0?" "+a:a)}return a};function y(){let t,e,i=0,n="";for(;i<arguments.length;)(t=arguments[i++])&&(e=x(t))&&(n&&(n+=" "),n+=e);return n}let x=t=>{let e;if("string"==typeof t)return t;let i="";for(let n=0;n<t.length;n++)t[n]&&(e=x(t[n]))&&(i&&(i+=" "),i+=e);return i},b=t=>{let e=e=>e[t]||[];return e.isThemeGetter=!0,e},w=/^\[(?:([a-z-]+):)?(.+)\]$/i,P=/^\d+\/\d+$/,T=new Set(["px","full","screen"]),S=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,A=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,k=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,E=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,M=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,V=t=>C(t)||T.has(t)||P.test(t),D=t=>$(t,"length",Y),C=t=>!!t&&!Number.isNaN(Number(t)),R=t=>$(t,"number",C),j=t=>!!t&&Number.isInteger(Number(t)),L=t=>t.endsWith("%")&&C(t.slice(0,-1)),F=t=>w.test(t),B=t=>S.test(t),O=new Set(["length","size","percentage"]),I=t=>$(t,O,K),W=t=>$(t,"position",K),z=new Set(["image","url"]),U=t=>$(t,z,H),N=t=>$(t,"",q),X=()=>!0,$=(t,e,i)=>{let n=w.exec(t);return!!n&&(n[1]?"string"==typeof e?n[1]===e:e.has(n[1]):i(n[2]))},Y=t=>A.test(t)&&!k.test(t),K=()=>!1,q=t=>E.test(t),H=t=>M.test(t),G=function(t,...e){let i,n,r;let o=function(a){return n=(i=f(e.reduce((t,e)=>e(t),t()))).cache.get,r=i.cache.set,o=s,s(a)};function s(t){let e=n(t);if(e)return e;let o=g(t,i);return r(t,o),o}return function(){return o(y.apply(null,arguments))}}(()=>{let t=b("colors"),e=b("spacing"),i=b("blur"),n=b("brightness"),r=b("borderColor"),o=b("borderRadius"),s=b("borderSpacing"),a=b("borderWidth"),l=b("contrast"),u=b("grayscale"),h=b("hueRotate"),c=b("invert"),d=b("gap"),p=b("gradientColorStops"),m=b("gradientColorStopPositions"),f=b("inset"),v=b("margin"),g=b("opacity"),y=b("padding"),x=b("saturate"),w=b("scale"),P=b("sepia"),T=b("skew"),S=b("space"),A=b("translate"),k=()=>["auto","contain","none"],E=()=>["auto","hidden","clip","visible","scroll"],M=()=>["auto",F,e],O=()=>[F,e],z=()=>["",V,D],$=()=>["auto",C,F],Y=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],H=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",F],Z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],_=()=>[C,F];return{cacheSize:500,separator:":",theme:{colors:[X],spacing:[V,D],blur:["none","",B,F],brightness:_(),borderColor:[t],borderRadius:["none","","full",B,F],borderSpacing:O(),borderWidth:z(),contrast:_(),grayscale:G(),hueRotate:_(),invert:G(),gap:O(),gradientColorStops:[t],gradientColorStopPositions:[L,D],inset:M(),margin:M(),opacity:_(),padding:O(),saturate:_(),scale:_(),sepia:G(),skew:_(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",F]}
vendor: 10,820 bytes, line 1
1],container:["container"],columns:[{columns:[B]}],"break-after":[{"break-after":Z()}],"break-before":[{"break-before":Z()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Y(),F]}],overflow:[{overflow:E()}],"overflow-x":[{"overflow-x":E()}],"overflow-y":[{"overflow-y":E()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",j,F]}],basis:[{basis:M()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",F]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",j,F]}],"grid-cols":[{"grid-cols":[X]}],"col-start-end":[{col:["auto",{span:["full",j,F]},F]}],"col-start":[{"col-start":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":[X]}],"row-start-end":[{row:["auto",{span:[j,F]},F]}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",F]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",F]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal",...H()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...H(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...H(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[S]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[S]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",F,e]}],"min-w":[{"min-w":[F,e,"min","max","fit"]}],"max-w":[{"max-w":[F,e,"none","full","min","max","fit","prose",{screen:[B]},B]}],h:[{h:[F,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[F,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[F,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[F,e,"auto","min","max","fit"]}],"font-size":[{text:["base",B,D]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",R]}],"font-family":[{font:[X]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",F]}],"line-clamp":[{"line-clamp":["none",C,R]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",V,F]}],"list-image":[{"list-image":["none",F]}],"list-style-type":[{list:["none","disc","decimal",F]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",V,D]}],"underline-offset":[{"underline-offset":["auto",V,F]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",F]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",F]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Y(),W]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",I]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},U]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:K()}],"border-color":[{border:[r]}],"border-color-x":[{"border-x":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-b":[{"border-b":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[V,F]}],"outline-w":[{outline:[V,D]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[V,D]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",B,N]}],"shadow-color":[{shadow:[X]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...q(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":q()}],filter:[{filter:["","none"]}],blur:[{blur:[i]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",B,F]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[c]}],saturate:[{saturate:[x]}],sepia:[{sepia:[P]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[i]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[P]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",F]}],duration:[{duration:_()}],ease:[{ease:["linear","in","out","in-out",F]}],delay:[{delay:_()}],animate:[{animate:["none","spin","ping","pulse","bounce",F]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[j,F]}],"translate-x":[{"translate-x":[A]}],"translate-y":[{"translate-y":[A]}],"skew-x":[{"skew-x":[T]}],"skew-y":[{"skew-y":[T]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",F]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",F]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}
vendor: 2,929 bytes, line 1
1],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",F]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[V,D,R]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}})}}]);

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.