"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4071],{14071:function(e,t,n){n.d(t,{A:function(){return k}});var[r,i]=(0,n(37561).k)({name:"ButtonGroupContext",strict:!1}),s=n(12094),a=n(53640),o=n(2265),l=n(13389),u=n(5722),d=n(22173),h=n(26242),c=n(75300),p=n(22226),f=n(53426),m=n(21616),v=(0,f.tv)({base:["z-0","group","relative","inline-flex","items-center","justify-center","box-border","appearance-none","outline-none","select-none","whitespace-nowrap","min-w-max","font-normal","subpixel-antialiased","overflow-hidden","tap-highlight-transparent","data-[pressed=true]:scale-[0.97]",...m.Dh],variants:{variant:{solid:"",bordered:"border-medium bg-transparent",light:"bg-transparent",flat:"",faded:"border-medium",shadow:"",ghost:"border-medium bg-transparent"},size:{sm:"px-3 min-w-16 h-8 text-tiny gap-2 rounded-small",md:"px-4 min-w-20 h-10 text-small gap-2 rounded-medium",lg:"px-6 min-w-24 h-12 text-medium gap-3 rounded-large"},color:{default:"",primary:"",secondary:"",success:"",warning:"",danger:""},radius:{none:"rounded-none",sm:"rounded-small",md:"rounded-medium",lg:"rounded-large",full:"rounded-full"},fullWidth:{true:"w-full"},isDisabled:{true:"opacity-disabled pointer-events-none"},isInGroup:{true:"[&:not(:first-child):not(:last-child)]:rounded-none"},isIconOnly:{true:"px-0 !gap-0",false:"[&>svg]:max-w-[theme(spacing.8)]"},disableAnimation:{true:"!transition-none data-[pressed=true]:scale-100",false:"transition-transform-colors-opacity motion-reduce:transition-none"}},defaultVariants:{size:"md",variant:"solid",color:"default",fullWidth:!1,isDisabled:!1,isInGroup:!1},compoundVariants:[{variant:"solid",color:"default",class:p.J.solid.default},{variant:"solid",color:"primary",class:p.J.solid.primary},{variant:"solid",color:"secondary",class:p.J.solid.secondary},{variant:"solid",color:"success",class:p.J.solid.success},{variant:"solid",color:"warning",class:p.J.solid.warning},{variant:"solid",color:"danger",class:p.J.solid.danger},{variant:"shadow",color:"default",class:p.J.shadow.default},{variant:"shadow",color:"primary",class:p.J.shadow.primary},{variant:"shadow",color:"secondary",class:p.J.shadow.secondary},{variant:"shadow",color:"success",class:p.J.shadow.success},{variant:"shadow",color:"warning",class:p.J.shadow.warning},{variant:"shadow",color:"danger",class:p.J.shadow.danger},{variant:"bordered",color:"default",class:p.J.bordered.default},{variant:"bordered",color:"primary",class:p.J.bordered.primary},{variant:"bordered",color:"secondary",class:p.J.bordered.secondary},{variant:"bordered",color:"success",class:p.J.bordered.success},{variant:"bordered",color:"warning",class:p.J.bordered.warning},{variant:"bordered",color:"danger",class:p.J.bordered.danger},{variant:"flat",color:"default",class:p.J.flat.default},{variant:"flat",color:"primary",class:p.J.flat.primary},{variant:"flat",color:"secondary",class:p.J.flat.secondary},{variant:"flat",color:"success",class:p.J.flat.success},{variant:"flat",color:"warning",class:p.J.flat.warning},{variant:"flat",color:"danger",class:p.J.flat.danger},{variant:"faded",color:"default",class:p.J.faded.default},{variant:"faded",color:"primary",class:p.J.faded.primary},{variant:"faded",color:"secondary",class:p.J.faded.secondary},{variant:"faded",color:"success",class:p.J.faded.success},{variant:"faded",color:"warning",class:p.J.faded.warning},{variant:"faded",color:"danger",class:p.J.faded.danger},{variant:"light",color:"default",class:[p.J.light.default,"data-[hover=true]:bg-default/40"]},{variant:"light",color:"primary",class:[p.J.light.primary,"data-[hover=true]:bg-primary/20"]},{variant:"light",color:"secondary",class:[p.J.light.secondary,"data-[hover=true]:bg-secondary/20"]},{variant:"light",color:"success",class:[p.J.light.success,"data-[hover=true]:bg-success/20"]},{variant:"light",color:"warning",class:[p.J.light.warning,"data-[hover=true]:bg-warning/20"]},{variant:"light",color:"danger",class:[p.J.light.danger,"data-[hover=true]:bg-danger/20"]},{variant:"ghost",color:"default",class:[p.J.ghost.default,"data-[hover=true]:!bg-default"]},{variant:"ghost",color:"primary",class:[p.J.ghost.primary,"data-[hover=true]:!bg-primary data-[hover=true]:!text-primary-foreground"]},{variant:"ghost",color:"secondary",class:[p.J.ghost.secondary,"data-[hover=true]:!bg-secondary data-[hover=true]:!text-secondary-foreground"]},{variant:"ghost",color:"success",class:[p.J.ghost.success,"data-[hover=true]:!bg-success data-[hover=true]:!text-success-foreground"]},{variant:"ghost",color:"warning",class:[p.J.ghost.warning,"data-[hover=true]:!bg-warning data-[hover=true]:!text-warning-foreground"]},{variant:"ghost",color:"danger",class:[p.J.ghost.danger,"data-[hover=true]:!bg-danger !text-danger-foreground"]},{isInGroup:!0,class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,size:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,size:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,isRounded:!0,class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,radius:"none",class:"rounded-none first:rounded-s-none last:rounded-e-none"},{isInGroup:!0,radius:"sm",class:"rounded-none first:rounded-s-small last:rounded-e-small"},{isInGroup:!0,radius:"md",class:"rounded-none first:rounded-s-medium last:rounded-e-medium"},{isInGroup:!0,radius:"lg",class:"rounded-none first:rounded-s-large last:rounded-e-large"},{isInGroup:!0,radius:"full",class:"rounded-none first:rounded-s-full last:rounded-e-full"},{isInGroup:!0,variant:["ghost","bordered"],color:"default",className:m.Zs.default},{isInGroup:!0,variant:["ghost","bordered"],color:"primary",className:m.Zs.primary},{isInGroup:!0,variant:["ghost","bordered"],color:"secondary",className:m.Zs.secondary},{isInGroup:!0,variant:["ghost","bordered"],color:"success",className:m.Zs.success},{isInGroup:!0,variant:["ghost","bordered"],color:"warning",className:m.Zs.warning},{isInGroup:!0,variant:["ghost","bordered"],color:"danger",className:m.Zs.danger},{isIconOnly:!0,size:"sm",class:"min-w-8 w-8 h-8"},{isIconOnly:!0,size:"md",class:"min-w-10 w-10 h-10"},{isIconOnly:!0,size:"lg",class:"min-w-12 w-12 h-12"},{variant:["solid","faded","flat","bordered","shadow"],class:"data-[hover=true]:opacity-hover"}]});(0,f.tv)({base:"inline-flex items-center justify-center h-auto",variants:{fullWidth:{true:"w-full"}},defaultVariants:{fullWidth:!1}});var g=n(5150),y=n(83892),w=n(36222),b=n(51446),x=n(60980),P=n(66795),S=n(34446),C=n(19351),A=n(34140),T=n(57437),V=e=>{let{ripples:t=[],motionProps:n,color:r="currentColor",style:i,onClear:s}=e;return(0,T.jsx)(T.Fragment,{children:t.map(e=>{let t=(0,A.uZ)(.01*e.size,.2,e.size>100?.75:.5);return(0,T.jsx)(x.X,{features:P.H,children:(0,T.jsx)(S.M,{mode:"popLayout",children:(0,T.jsx)(C.m.span,{animate:{transform:"scale(2)",opacity:0},className:"nextui-ripple",exit:{opacity:0},initial:{transform:"scale(0)",opacity:.35},style:{position:"absolute",backgroundColor:r,borderRadius:"100%",transformOrigin:"center",pointerEvents:"none",overflow:"hidden",inset:0,zIndex:0,top:e.y,left:e.x,width:"".concat(e.size,"px"),height:"".concat(e.size,"px"),...i},transition:{duration:t},onAnimationComplete:()=>{s(e.key)},...n})})},e.key)})})};V.displayName="NextUI.Ripple";var M=(0,n(55971).Gp)((e,t)=>{let{Component:n,domRef:r,children:p,styles:f,spinnerSize:m,spinner:x=(0,T.jsx)(b.c,{color:"current",size:m}),spinnerPlacement:P,startContent:S,endContent:C,isLoading:A,disableRipple:M,getButtonProps:k,getRippleProps:E,isIconOnly:R}=function(e){var t,n,r,p,f,m,b,x,P;let S=i(),C=(0,s.w)(),A=!!S,{ref:T,as:V,children:M,startContent:k,endContent:E,autoFocus:R,className:I,spinner:F,isLoading:j=!1,disableRipple:W=!1,fullWidth:O=null!=(t=null==S?void 0:S.fullWidth)&&t,radius:D=null==S?void 0:S.radius,size:L=null!=(n=null==S?void 0:S.size)?n:"md",color:B=null!=(r=null==S?void 0:S.color)?r:"default",variant:$=null!=(p=null==S?void 0:S.variant)?p:"solid",disableAnimation:z=null!=(m=null!=(f=null==S?void 0:S.disableAnimation)?f:null==C?void 0:C.disableAnimation)&&m,isDisabled:N=null!=(b=null==S?void 0:S.isDisabled)&&b,isIconOnly:J=null!=(x=null==S?void 0:S.isIconOnly)&&x,spinnerPlacement:K="start",onPress:G,onClick:H,...U}=e,X=V||"button",Y="string"==typeof X,Z=(0,h.gy)(T),_=null!=(P=W||(null==C?void 0:C.disableRipple))?P:z,{isFocusVisible:q,isFocused:Q,focusProps:ee}=(0,l.F)({autoFocus:R}),et=N||j,en=(0,o.useMemo)(()=>v({size:L,color:B,variant:$,radius:D,fullWidth:O,isDisabled:et,isInGroup:A,disableAnimation:z,isIconOnly:J,className:I}),[L,B,$,D,O,et,A,J,z,I]),{onClick:er,onClear:ei,ripples:es}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[t,n]=(0,o.useState)([]);return{ripples:t,onClick:(0,o.useCallback)(e=>{let t=e.currentTarget,r=Math.max(t.clientWidth,t.clientHeight),i=t.getBoundingClientRect();n(t=>[...t,{key:(0,w.QI)(t.length.toString()),size:r,x:e.clientX-i.left-r/2,y:e.clientY-i.top-r/2}])},[]),onClear:(0,o.useCallback)(e=>{n(t=>t.filter(t=>t.key!==e))},[]),...e}}(),ea=(0,o.useCallback)(e=>{_||et||z||!Z.current||er(e)},[_,et,z,Z,er]),{buttonProps:eo,isPressed:el}=(0,g.j)({elementType:V,isDisabled:et,onPress:G,onClick:(0,u.t)(H,ea),...U},Z),{isHovered:eu,hoverProps:ed}=(0,y.X)({isDisabled:et}),eh=(0,o.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-disabled":(0,a.PB)(et),"data-focus":(0,a.PB)(Q),"data-pressed":(0,a.PB)(el),"data-focus-visible":(0,a.PB)(q),"data-hover":(0,a.PB)(eu),"data-loading":(0,a.PB)(j),...(0,d.d)(eo,ee,ed,(0,c.z)(U,{enabled:Y}),(0,c.z)(e))}},[j,et,Q,el,Y,q,eu,eo,ee,ed,U]),ec=e=>(0,o.isValidElement)(e)?(0,o.cloneElement)(e,{"aria-hidden":!0,focusable:!1,tabIndex:-1}):null,ep=ec(k);return{Component:X,children:M,domRef:Z,spinner:F,styles:en,startContent:ep,endContent:ec(E),isLoading:j,spinnerPlacement:K,spinnerSize:(0,o.useMemo)(()=>({sm:"sm",md:"sm",lg:"md"})[L],[L]),disableRipple:_,getButtonProps:eh,getRippleProps:(0,o.useCallback)(()=>({ripples:es,onClear:ei}),[es,ei]),isIconOnly:J}}({...e,ref:t});return(0,T.jsxs)(n,{ref:r,className:f,...k(),children:[S,A&&"start"===P&&x,A&&R?null:p,A&&"end"===P&&x,C,!M&&(0,T.jsx)(V,{...E()})]})});M.displayName="NextUI.Button";var k=M},5150:function(e,t,n){n.d(t,{j:function(){return o}});var r=n(22173),i=n(60357),s=n(47961),a=n(53948);function o(e,t){let n,{elementType:o="button",isDisabled:l,onPress:u,onPressStart:d,onPressEnd:h,onPressChange:c,preventFocusOnPress:p,allowFocusWhenDisabled:f,onClick:m,href:v,target:g,rel:y,type:w="button",allowTextSelectionOnPress:b}=e;n="button"===o?{type:w,disabled:l}:{role:"button",tabIndex:l?void 0:0,href:"a"===o&&l?void 0:v,target:"a"===o?g:void 0,type:"input"===o?w:void 0,disabled:"input"===o?l:void 0,"aria-disabled":l&&"input"!==o?l:void 0,rel:"a"===o?y:void 0};let{pressProps:x,isPressed:P}=(0,a.r)({onPressStart:d,onPressEnd:h,onPressChange:c,onPress:u,isDisabled:l,preventFocusOnPress:p,allowTextSelectionOnPress:b,ref:t}),{focusableProps:S}=(0,s.k)(e,t);f&&(S.tabIndex=l?-1:S.tabIndex);let C=(0,r.d)(S,x,(0,i.z)(e,{labelable:!0}));return{isPressed:P,buttonProps:(0,r.d)(n,C,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:e=>{null==m||m(e)}})}}},87603:function(e,t,n){n.d(t,{e:function(){return o}});var r=n(57854),i=n(67091),s=n(250),a=n(95729);function o(e){let t=(0,r.r)(e);if("virtual"===(0,a.Jz)()){let n=t.activeElement;(0,i.Q)(()=>{t.activeElement===n&&e.isConnected&&(0,s.A)(e)})}else(0,s.A)(e)}},47961:function(e,t,n){n.d(t,{k:function(){return d}});var r=n(87603),i=n(61303),s=n(22173),a=n(2265),o=n(19747),l=n(98389);let u=a.createContext(null);function d(e,t){let{focusProps:n}=(0,o.K)(e),{keyboardProps:d}=(0,l.v)(e),h=(0,s.d)(n,d),c=function(e){let t=(0,a.useContext)(u)||{};(0,i.l)(t,e);let{ref:n,...r}=t;return r}(t),p=e.isDisabled?{}:c,f=(0,a.useRef)(e.autoFocus);return(0,a.useEffect)(()=>{f.current&&t.current&&(0,r.e)(t.current),f.current=!1},[t]),{focusableProps:(0,s.d)({...h,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},p)}}},98389:function(e,t,n){function r(e){if(!e)return;let t=!0;return n=>{e({...n,preventDefault(){n.preventDefault()},isDefaultPrevented:()=>n.isDefaultPrevented(),stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}}),t&&n.stopPropagation()}}function i(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:r(e.onKeyDown),onKeyUp:r(e.onKeyUp)}}}n.d(t,{v:function(){return i}})},60357:function(e,t,n){n.d(t,{z:function(){return o}});let r=new Set(["id"]),i=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),s=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),a=/^(data-.*)$/;function o(e,t={}){let{labelable:n,isLink:o,propNames:l}=t,u={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r.has(t)||n&&i.has(t)||o&&s.has(t)||(null==l?void 0:l.has(t))||a.test(t))&&(u[t]=e[t]);return u}},66323:function(e,t,n){n.d(t,{t:function(){return r}});let r=new Set(["opacity","clipPath","filter","transform"])},65908:function(e,t,n){n.d(t,{M:function(){return r}});let r="data-"+(0,n(51580).D)("framerAppearId")},64572:function(e,t,n){n.d(t,{H:function(){return r}});function r(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}},66925:function(e,t,n){n.d(t,{C:function(){return r}});let r=e=>Array.isArray(e)},34446:function(e,t,n){n.d(t,{M:function(){return g}});var r=n(57437),i=n(2265),s=n(67797),a=n(30458),o=n(29791);class l extends i.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function u(e){let{children:t,isPresent:n}=e,s=(0,i.useId)(),a=(0,i.useRef)(null),u=(0,i.useRef)({width:0,height:0,top:0,left:0}),{nonce:d}=(0,i.useContext)(o._);return(0,i.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:i}=u.current;if(n||!a.current||!e||!t)return;a.current.dataset.motionPopId=s;let o=document.createElement("style");return d&&(o.nonce=d),document.head.appendChild(o),o.sheet&&o.sheet.insertRule('\n          [data-motion-pop-id="'.concat(s,'"] {\n            position: absolute !important;\n            width: ').concat(e,"px !important;\n            height: ").concat(t,"px !important;\n            top: ").concat(r,"px !important;\n            left: ").concat(i,"px !important;\n          }\n        ")),()=>{document.head.removeChild(o)}},[n]),(0,r.jsx)(l,{isPresent:n,childRef:a,sizeRef:u,children:i.cloneElement(t,{ref:a})})}let d=e=>{let{children:t,initial:n,isPresent:o,onExitComplete:l,custom:d,presenceAffectsLayout:c,mode:p}=e,f=(0,a.h)(h),m=(0,i.useId)(),v=(0,i.useMemo)(()=>({id:m,initial:n,isPresent:o,custom:d,onExitComplete:e=>{for(let t of(f.set(e,!0),f.values()))if(!t)return;l&&l()},register:e=>(f.set(e,!1),()=>f.delete(e))}),c?[Math.random()]:[o]);return(0,i.useMemo)(()=>{f.forEach((e,t)=>f.set(t,!1))},[o]),i.useEffect(()=>{o||f.size||!l||l()},[o]),"popLayout"===p&&(t=(0,r.jsx)(u,{isPresent:o,children:t})),(0,r.jsx)(s.O.Provider,{value:v,children:t})};function h(){return new Map}var c=n(5050),p=n(19047);let f=e=>e.key||"";function m(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}var v=n(9033);let g=e=>{let{children:t,exitBeforeEnter:n,custom:s,initial:o=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:h="sync"}=e;(0,p.k)(!n,"Replace exitBeforeEnter with mode='wait'");let g=(0,i.useMemo)(()=>m(t),[t]),y=g.map(f),w=(0,i.useRef)(!0),b=(0,i.useRef)(g),x=(0,a.h)(()=>new Map),[P,S]=(0,i.useState)(g),[C,A]=(0,i.useState)(g);(0,v.L)(()=>{w.current=!1,b.current=g;for(let e=0;e<C.length;e++){let t=f(C[e]);y.includes(t)?x.delete(t):!0!==x.get(t)&&x.set(t,!1)}},[C,y.length,y.join("-")]);let T=[];if(g!==P){let e=[...g];for(let t=0;t<C.length;t++){let n=C[t],r=f(n);y.includes(r)||(e.splice(t,0,n),T.push(n))}"wait"===h&&T.length&&(e=T),A(m(e)),S(g);return}let{forceRender:V}=(0,i.useContext)(c.p);return(0,r.jsx)(r.Fragment,{children:C.map(e=>{let t=f(e),n=g===C||y.includes(t);return(0,r.jsx)(d,{isPresent:n,initial:(!w.current||!!o)&&void 0,custom:n?void 0:s,presenceAffectsLayout:u,mode:h,onExitComplete:n?void 0:()=>{if(!x.has(t))return;x.set(t,!0);let e=!0;x.forEach(t=>{t||(e=!1)}),e&&(null==V||V(),A(b.current),l&&l())},children:e},t)})})}},60980:function(e,t,n){n.d(t,{X:function(){return o}});var r=n(57437),i=n(2265),s=n(36539),a=n(344);function o(e){let{children:t,features:n,strict:o=!1}=e,[,u]=(0,i.useState)(!l(n)),d=(0,i.useRef)(void 0);if(!l(n)){let{renderer:e,...t}=n;d.current=e,(0,a.K)(t)}return(0,i.useEffect)(()=>{l(n)&&n().then(e=>{let{renderer:t,...n}=e;(0,a.K)(n),d.current=t,u(!0)})},[]),(0,r.jsx)(s.u.Provider,{value:{renderer:d.current,strict:o},children:t})}function l(e){return"function"==typeof e}},5050:function(e,t,n){n.d(t,{p:function(){return r}});let r=(0,n(2265).createContext)({})},36539:function(e,t,n){n.d(t,{u:function(){return r}});let r=(0,n(2265).createContext)({strict:!1})},67797:function(e,t,n){n.d(t,{O:function(){return r}});let r=(0,n(2265).createContext)(null)},96317:function(e,t,n){n.d(t,{featureDefinitions:function(){return i}});let r={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"]},i={};for(let e in r)i[e]={isEnabled:t=>r[e].some(e=>!!t[e])}},344:function(e,t,n){n.d(t,{K:function(){return i}});var r=n(96317);function i(e){for(let t in e)r.featureDefinitions[t]={...r.featureDefinitions[t],...e[t]}}},95551:function(e,t,n){n.d(t,{j:function(){return s}});let r={};var i=n(26019);function s(e,{layout:t,layoutId:n}){return i.G.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!r[e]||"opacity"===e)}},19351:function(e,t,n){n.d(t,{m:function(){return _}});var r,i=n(57437),s=n(2265),a=n(29791);let o=(0,s.createContext)({});var l=n(67797),u=n(9033),d=n(36539),h=n(65908);let{schedule:c,cancel:p}=(0,n(2981).Z)(queueMicrotask,!1);function f(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}let m=(0,s.createContext)({}),v=!1;function g(){window.MotionHandoffIsComplete=!0}var y=n(56859),w=n(83795);function b(e){return Array.isArray(e)?e.join(" "):e}var x=n(344),P=n(77282),S=n(5050);let C=Symbol.for("motionComponentSymbol");var A=n(96317),T=n(42860),V=n(70545),M=n(875),k=n(64572),E=n(28595),R=n(30458),I=n(99155),F=n(77599),j=n(35674),W=n(28746);let O=e=>(t,n)=>{let r=(0,s.useContext)(o),i=(0,s.useContext)(l.O),a=()=>(function({applyWillChange:e=!1,scrapeMotionValuesFromProps:t,createRenderState:n,onMount:r},i,s,a,o){let l={latestValues:function(e,t,n,r,i){var s;let a={},o=[],l=r&&(null===(s=e.style)||void 0===s?void 0:s.willChange)===void 0,u=i(e,{});for(let e in u)a[e]=function(e){let t=(0,F.i)(e)?e.get():e;return(0,I.p)(t)?t.toValue():t}(u[e]);let{initial:d,animate:h}=e,c=(0,w.G)(e),p=(0,w.M)(e);t&&p&&!c&&!1!==e.inherit&&(void 0===d&&(d=t.initial),void 0===h&&(h=t.animate));let f=!!n&&!1===n.initial,m=(f=f||!1===d)?h:d;return m&&"boolean"!=typeof m&&!(0,k.H)(m)&&D(e,m,(e,t)=>{for(let t in e){let n=e[t];if(Array.isArray(n)){let e=f?n.length-1:0;n=n[e]}null!==n&&(a[t]=n)}for(let e in t)a[e]=t[e]}),l&&(h&&!1!==d&&!(0,k.H)(h)&&D(e,h,e=>{for(let t in e)!function(e,t){let n=(0,j.p)(t);n&&(0,W.y4)(e,n)}(o,t)}),o.length&&(a.willChange=o.join(","))),a}(i,s,a,!o&&e,t),renderState:n()};return r&&(l.mount=e=>r(i,e,l)),l})(e,t,r,i,n);return n?a():(0,R.h)(a)};function D(e,t,n){let r=Array.isArray(t)?t:[t];for(let t=0;t<r.length;t++){let i=(0,E.o)(e,r[t]);if(i){let{transitionEnd:e,transition:t,...r}=i;n(r,e)}}}let L=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),B=()=>({...L(),attrs:{}});var $=n(92622),z=n(75969),N=n(86219);let J={useVisualState:O({scrapeMotionValuesFromProps:M.U,createRenderState:B,onMount:(e,t,{renderState:n,latestValues:r})=>{N.Wi.read(()=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}}),N.Wi.render(()=>{(0,$.i)(n,r,(0,z.a)(t.tagName),e.transformTemplate),(0,V.K)(t,n)})}})},K={useVisualState:O({applyWillChange:!0,scrapeMotionValuesFromProps:n(11315).U,createRenderState:L})};var G=n(95551),H=n(14651);function U(e,t,n){for(let r in t)(0,F.i)(t[r])||(0,G.j)(r,n)||(e[r]=t[r])}let X=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 Y(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||X.has(e)}let Z=e=>!Y(e);try{(r=require("@emotion/is-prop-valid").default)&&(Z=e=>e.startsWith("on")?!Y(e):r(e))}catch(e){}let _=function(e){if("undefined"==typeof Proxy)return e;let t=new Map;return new Proxy((...t)=>e(...t),{get:(n,r)=>"create"===r?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}(function(e,{forwardMotionProps:t}={forwardMotionProps:!1}){return function(e){let{preloadedFeatures:t,createVisualElement:n,useRender:r,useVisualState:p,Component:T}=e;t&&(0,x.K)(t);let V=(0,s.forwardRef)(function(e,t){var x;let C;let V={...(0,s.useContext)(a._),...e,layoutId:function(e){let{layoutId:t}=e,n=(0,s.useContext)(S.p).id;return n&&void 0!==t?n+"-"+t:t}(e)},{isStatic:M}=V,k=function(e){let{initial:t,animate:n}=function(e,t){if((0,w.G)(e)){let{initial:t,animate:n}=e;return{initial:!1===t||(0,y.$)(t)?t:void 0,animate:(0,y.$)(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,s.useContext)(o));return(0,s.useMemo)(()=>({initial:t,animate:n}),[b(t),b(n)])}(e),E=p(e,M);if(!M&&P.j){(0,s.useContext)(d.u).strict;let e=function(e){let{drag:t,layout:n}=A.featureDefinitions;if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==n?void 0:n.isEnabled(e))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(V);C=e.MeasureLayout,k.visualElement=function(e,t,n,r,i){var p;let{visualElement:y}=(0,s.useContext)(o),w=(0,s.useContext)(d.u),b=(0,s.useContext)(l.O),x=(0,s.useContext)(a._).reducedMotion,P=(0,s.useRef)();r=r||w.renderer,!P.current&&r&&(P.current=r(e,{visualState:t,parent:y,props:n,presenceContext:b,blockInitialAnimation:!!b&&!1===b.initial,reducedMotionConfig:x}));let S=P.current,C=(0,s.useContext)(m);S&&!S.projection&&i&&("html"===S.type||"svg"===S.type)&&function(e,t,n,r){let{layoutId:i,layout:s,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:i,layout:s,alwaysMeasureLayout:!!a||o&&f(o),visualElement:e,animationType:"string"==typeof s?s:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}(P.current,n,i,C),(0,s.useInsertionEffect)(()=>{S&&S.update(n,b)});let A=n[h.M],T=(0,s.useRef)(!!A&&!window.MotionHandoffIsComplete&&(null===(p=window.MotionHasOptimisedAnimation)||void 0===p?void 0:p.call(window,A)));return(0,u.L)(()=>{S&&(S.updateFeatures(),c.render(S.render),T.current&&S.animationState&&S.animationState.animateChanges())}),(0,s.useEffect)(()=>{S&&(!T.current&&S.animationState&&S.animationState.animateChanges(),T.current=!1,v||(v=!0,queueMicrotask(g)))}),S}(T,E,V,n,e.ProjectionNode)}return(0,i.jsxs)(o.Provider,{value:k,children:[C&&k.visualElement?(0,i.jsx)(C,{visualElement:k.visualElement,...V}):null,r(T,e,(x=k.visualElement,(0,s.useCallback)(e=>{e&&E.mount&&E.mount(e),x&&(e?x.mount(e):x.unmount()),t&&("function"==typeof t?t(e):f(t)&&(t.current=e))},[x])),E,M,k.visualElement)]})});return V[C]=T,V}({...(0,T.q)(e)?J:K,preloadedFeatures:void 0,useRender:function(e=!1){return(t,n,r,{latestValues:i},a)=>{let o=((0,T.q)(t)?function(e,t,n,r){let i=(0,s.useMemo)(()=>{let n=B();return(0,$.i)(n,t,(0,z.a)(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};U(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t){let n={},r=function(e,t){let n=e.style||{},r={};return U(r,n,e),Object.assign(r,function({transformTemplate:e},t){return(0,s.useMemo)(()=>{let n=L();return(0,H.r)(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),r}(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n})(n,i,a,t),l=function(e,t,n){let r={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&(Z(i)||!0===n&&Y(i)||!t&&!Y(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(n,"string"==typeof t,e),u=t!==s.Fragment?{...l,...o,ref:r}:{},{children:d}=n,h=(0,s.useMemo)(()=>(0,F.i)(d)?d.get():d,[d]);return(0,s.createElement)(t,{...u,children:h})}}(t),createVisualElement:void 0,Component:e})})},66795:function(e,t,n){n.d(t,{H:function(){return t1}});var r=n(64572),i=n(66925);function s(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var a=n(56859),o=n(28595);function l(e,t,n){let r=e.getProps();return(0,o.o)(r,t,void 0!==n?n:r.custom,e)}var u=n(53552),d=n(26019);let h=e=>1e3*e,c=e=>e/1e3,p={type:"spring",stiffness:500,damping:25,restSpeed:10},f=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),m={type:"keyframes",duration:.8},v={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},g=(e,{keyframes:t})=>t.length>2?m:d.G.has(e)?e.startsWith("scale")?f(t[1]):p:v;function y(e,t){return e[t]||e.default||e}var w=n(565);let b={current:!1},x=e=>null!==e;function P(e,{repeat:t,repeatType:n="loop"},r){let i=e.filter(x),s=t&&"loop"!==n&&t%2==1?0:i.length-1;return s&&void 0!==r?r:i[s]}var S=n(86219);let C=e=>/^0[^.\s]+$/u.test(e);var A=n(19047);let T=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);var V=n(61534);let M=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var k=n(40783),E=n(75480);let R=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),I=e=>e===k.Rx||e===E.px,F=(e,t)=>parseFloat(e.split(", ")[t]),j=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/u);if(i)return F(i[1],t);{let t=r.match(/^matrix\((.+)\)$/u);return t?F(t[1],e):0}},W=new Set(["x","y","z"]),O=d._.filter(e=>!W.has(e)),D={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:j(4,13),y:j(5,14)};D.translateX=D.x,D.translateY=D.y;let L=e=>t=>t.test(e),B=[k.Rx,E.px,E.aQ,E.RW,E.vw,E.vh,{test:e=>"auto"===e,parse:e=>e}],$=e=>B.find(L(e)),z=new Set,N=!1,J=!1;function K(){if(J){let e=Array.from(z).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=function(e){let t=[];return O.forEach(n=>{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{var r;null===(r=e.getValue(t))||void 0===r||r.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}J=!1,N=!1,z.forEach(e=>e.complete()),z.clear()}function G(){z.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(J=!0)})}class H{constructor(e,t,n,r,i,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(z.add(this),N||(N=!0,S.Wi.read(G),S.Wi.resolveKeyframes(K))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;for(let i=0;i<e.length;i++)if(null===e[i]){if(0===i){let i=null==r?void 0:r.get(),s=e[e.length-1];if(void 0!==i)e[0]=i;else if(n&&t){let r=n.readValue(t,s);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=s),r&&void 0===i&&r.set(e[0])}else e[i]=e[i-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),z.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,z.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}var U=n(83646),X=n(47292);let Y=new Set(["brightness","contrast","saturate","opacity"]);function Z(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(X.KP)||[];if(!r)return e;let i=n.replace(r,""),s=Y.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}let _=/\b([a-z-]*)\(.*?\)/gu,q={...U.P,getAnimatableNone:e=>{let t=e.match(_);return t?t.map(Z).join(" "):e}};var Q=n(50146);let ee={...n(37755).j,color:Q.$,backgroundColor:Q.$,outlineColor:Q.$,fill:Q.$,stroke:Q.$,borderColor:Q.$,borderTopColor:Q.$,borderRightColor:Q.$,borderBottomColor:Q.$,borderLeftColor:Q.$,filter:q,WebkitFilter:q},et=e=>ee[e];function en(e,t){let n=et(e);return n!==q&&(n=U.P),n.getAnimatableNone?n.getAnimatableNone(t):void 0}let er=new Set(["auto","none","0"]);class ei extends H{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&(r=r.trim(),(0,V.t)(r))){let i=function e(t,n,r=1){(0,A.k)(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[i,s]=function(e){let t=M.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${null!=n?n:r}`,i]}(t);if(!i)return;let a=window.getComputedStyle(n).getPropertyValue(i);if(a){let e=a.trim();return T(e)?parseFloat(e):e}return(0,V.t)(s)?e(s,n,r+1):s}(r,t.current);void 0!==i&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!R.has(n)||2!==e.length)return;let[r,i]=e,s=$(r),a=$(i);if(s!==a){if(I(s)&&I(a))for(let t=0;t<e.length;t++){let n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++){var r;("number"==typeof(r=e[t])?0===r:null===r||"none"===r||"0"===r||C(r))&&n.push(t)}n.length&&function(e,t,n){let r,i=0;for(;i<e.length&&!r;){let t=e[i];"string"==typeof t&&!er.has(t)&&(0,U.V)(t).values.length&&(r=e[i]),i++}if(r&&n)for(let i of t)e[i]=en(n,r)}(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=D[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){var e;let{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;let i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);let s=r.length-1,a=r[s];r[s]=D[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==a&&void 0===this.finalKeyframe&&(this.finalKeyframe=a),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEach(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}function es(e){let t;return()=>(void 0===t&&(t=e()),t)}var ea=n(69276),eo=n(59993);let el=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(U.P.test(e)||"0"===e)&&!e.startsWith("url("));class eu{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:s="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=eo.X.now(),this.options={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:s,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(G(),K()),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=eo.X.now(),this.hasAttemptedResolve=!0;let{name:n,type:r,velocity:i,delay:s,onComplete:a,onUpdate:o,isGenerator:l}=this.options;if(!l&&!function(e,t,n,r){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let s=e[e.length-1],a=el(i,t),o=el(s,t);return(0,A.K)(a===o,`You are trying to animate ${t} from "${i}" to "${s}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${s} via the \`style\` property.`),!!a&&!!o&&(function(e){let t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||"spring"===n&&r)}(e,n,r,i)){if(b.current||!s){null==o||o(P(e,this.options,t)),null==a||a(),this.resolveFinishedPromise();return}this.options.duration=0}let u=this.initPlayback(e,t);!1!==u&&(this._resolved={keyframes:e,finalKeyframe:t,...u},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}var ed=n(83476);function eh(e,t,n){let r=Math.max(t-5,0);return(0,ed.R)(n-e(r),t-r)}var ec=n(51506);function ep(e,t){return e*Math.sqrt(1-t*t)}let ef=["duration","bounce"],em=["stiffness","damping","mass"];function ev(e,t){return t.some(t=>void 0!==e[t])}function eg({keyframes:e,restDelta:t,restSpeed:n,...r}){let i;let s=e[0],a=e[e.length-1],o={done:!1,value:s},{stiffness:l,damping:u,mass:d,duration:p,velocity:f,isResolvedFromDuration:m}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!ev(e,em)&&ev(e,ef)){let n=function({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,s;(0,A.K)(e<=h(10),"Spring duration must be 10 seconds or less");let a=1-t;a=(0,ec.u)(.05,1,a),e=(0,ec.u)(.01,10,c(e)),a<1?(i=t=>{let r=t*a,i=r*e;return .001-(r-n)/ep(t,a)*Math.exp(-i)},s=t=>{let r=t*a*e,s=Math.pow(a,2)*Math.pow(t,2)*e,o=ep(Math.pow(t,2),a);return(r*n+n-s)*Math.exp(-r)*(-i(t)+.001>0?-1:1)/o}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),s=t=>e*e*(n-t)*Math.exp(-t*e));let o=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(i,s,5/e);if(e=h(e),isNaN(o))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(o,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}(e);(t={...t,...n,mass:1}).isResolvedFromDuration=!0}return t}({...r,velocity:-c(r.velocity||0)}),v=f||0,g=u/(2*Math.sqrt(l*d)),y=a-s,w=c(Math.sqrt(l/d)),b=5>Math.abs(y);if(n||(n=b?.01:2),t||(t=b?.005:.5),g<1){let e=ep(w,g);i=t=>a-Math.exp(-g*w*t)*((v+g*w*y)/e*Math.sin(e*t)+y*Math.cos(e*t))}else if(1===g)i=e=>a-Math.exp(-w*e)*(y+(v+w*y)*e);else{let e=w*Math.sqrt(g*g-1);i=t=>{let n=Math.exp(-g*w*t),r=Math.min(e*t,300);return a-n*((v+g*w*y)*Math.sinh(r)+e*y*Math.cosh(r))/e}}return{calculatedDuration:m&&p||null,next:e=>{let r=i(e);if(m)o.done=e>=p;else{let s=0;g<1&&(s=0===e?h(v):eh(i,e,r));let l=Math.abs(s)<=n,u=Math.abs(a-r)<=t;o.done=l&&u}return o.value=o.done?a:r,o}}}function ey({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:a,min:o,max:l,restDelta:u=.5,restSpeed:d}){let h,c;let p=e[0],f={done:!1,value:p},m=e=>void 0!==o&&e<o||void 0!==l&&e>l,v=e=>void 0===o?l:void 0===l?o:Math.abs(o-e)<Math.abs(l-e)?o:l,g=n*t,y=p+g,w=void 0===a?y:a(y);w!==y&&(g=w-p);let b=e=>-g*Math.exp(-e/r),x=e=>w+b(e),P=e=>{let t=b(e),n=x(e);f.done=Math.abs(t)<=u,f.value=f.done?w:n},S=e=>{m(f.value)&&(h=e,c=eg({keyframes:[f.value,v(f.value)],velocity:eh(x,e,f.value),damping:i,stiffness:s,restDelta:u,restSpeed:d}))};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return(c||void 0!==h||(t=!0,P(e),S(e)),void 0!==h&&e>=h)?c.next(e-h):(t||P(e),f)}}}let ew=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function eb(e,t,n,r){if(e===t&&n===r)return ea.Z;let i=t=>(function(e,t,n,r,i){let s,a;let o=0;do(s=ew(a=t+(n-t)/2,r,i)-e)>0?n=a:t=a;while(Math.abs(s)>1e-7&&++o<12);return a})(t,0,1,e,n);return e=>0===e||1===e?e:ew(i(e),t,r)}let ex=eb(.42,0,1,1),eP=eb(0,0,.58,1),eS=eb(.42,0,.58,1),eC=e=>Array.isArray(e)&&"number"!=typeof e[0],eA=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,eT=e=>t=>1-e(1-t),eV=e=>1-Math.sin(Math.acos(e)),eM=eT(eV),ek=eA(eV),eE=eb(.33,1.53,.69,.99),eR=eT(eE),eI=eA(eR),eF={linear:ea.Z,easeIn:ex,easeInOut:eS,easeOut:eP,circIn:eV,circInOut:ek,circOut:eM,backIn:eR,backInOut:eI,backOut:eE,anticipate:e=>(e*=2)<1?.5*eR(e):.5*(2-Math.pow(2,-10*(e-1)))},ej=e=>{if(Array.isArray(e)){(0,A.k)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,i]=e;return eb(t,n,r,i)}return"string"==typeof e?((0,A.k)(void 0!==eF[e],`Invalid easing type '${e}'`),eF[e]):e};var eW=n(42548),eO=n(40839);function eD({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){let i=eC(r)?r.map(ej):ej(r),s={done:!1,value:t[0]},a=(n&&n.length===t.length?n:(0,eO.Y)(t)).map(t=>t*e),o=(0,eW.s)(a,t,{ease:Array.isArray(i)?i:t.map(()=>i||eS).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(s.value=o(t),s.done=t>=e,s)}}var eL=n(89654),eB=n(5389);let e$=e=>{let t=({timestamp:t})=>e(t);return{start:()=>S.Wi.update(t,!0),stop:()=>(0,S.Pn)(t),now:()=>S.w0.isProcessing?S.w0.timestamp:eo.X.now()}},ez={decay:ey,inertia:ey,tween:eD,keyframes:eD,spring:eg},eN=e=>e/100;class eJ extends eu{constructor(e){super(e),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:e}=this.options;e&&e()};let{name:t,motionValue:n,element:r,keyframes:i}=this.options,s=(null==r?void 0:r.KeyframeResolver)||H;this.resolver=new s(i,(e,t)=>this.onKeyframesResolved(e,t),t,n,r),this.resolver.scheduleResolve()}initPlayback(e){let t,n;let{type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:a,velocity:o=0}=this.options,l=ez[r]||eD;l!==eD&&"number"!=typeof e[0]&&(t=(0,eL.z)(eN,(0,eB.C)(e[0],e[1])),e=[0,100]);let u=l({...this.options,keyframes:e});"mirror"===a&&(n=l({...this.options,keyframes:[...e].reverse(),velocity:-o})),null===u.calculatedDuration&&(u.calculatedDuration=function(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}(u));let{calculatedDuration:d}=u,h=d+s;return{generator:u,mirroredGenerator:n,mapPercentToKeyframes:t,calculatedDuration:d,resolvedDuration:h,totalDuration:h*(i+1)-s}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){let{resolved:n}=this;if(!n){let{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}let{finalKeyframe:r,generator:i,mirroredGenerator:s,mapPercentToKeyframes:a,keyframes:o,calculatedDuration:l,totalDuration:u,resolvedDuration:d}=n;if(null===this.startTime)return i.next(0);let{delay:h,repeat:c,repeatType:p,repeatDelay:f,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-u/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let v=this.currentTime-h*(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,w=i;if(c){let e=Math.min(this.currentTime,u)/d,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,(t=Math.min(t,c+1))%2&&("reverse"===p?(n=1-n,f&&(n-=f/d)):"mirror"===p&&(w=s)),y=(0,ec.u)(0,1,n)*d}let b=g?{done:!1,value:o[0]}:w.next(y);a&&(b.value=a(b.value));let{done:x}=b;g||null===l||(x=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&x);return S&&void 0!==r&&(b.value=P(o,this.options,r)),m&&m(b.value),S&&this.finish(),b}get duration(){let{resolved:e}=this;return e?c(e.calculatedDuration):0}get time(){return c(this.currentTime)}set time(e){e=h(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=c(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=e$,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();let r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=r):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}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(e){return this.startTime=0,this.tick(e,!0)}}var eK=n(66323);let eG=e=>Array.isArray(e)&&"number"==typeof e[0],eH=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,eU={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:eH([0,.65,.55,1]),circOut:eH([.55,0,1,.45]),backIn:eH([.31,.01,.66,-.59]),backOut:eH([.33,1.53,.69,.99])};function eX(e){return eY(e)||eU.easeOut}function eY(e){if(e)return eG(e)?eH(e):Array.isArray(e)?e.map(eX):eU[e]}let eZ=es(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class e_ extends eu{constructor(e){super(e);let{name:t,motionValue:n,element:r,keyframes:i}=this.options;this.resolver=new ei(i,(e,t)=>this.onKeyframesResolved(e,t),t,n,r),this.resolver.scheduleResolve()}initPlayback(e,t){var n,r;let{duration:i=300,times:s,ease:a,type:o,motionValue:l,name:u,startTime:d}=this.options;if(!(null===(n=l.owner)||void 0===n?void 0:n.current))return!1;if("spring"===(r=this.options).type||!function e(t){return!!(!t||"string"==typeof t&&t in eU||eG(t)||Array.isArray(t)&&t.every(e))}(r.ease)){let{onComplete:t,onUpdate:n,motionValue:r,element:l,...u}=this.options,d=function(e,t){let n=new eJ({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),r={done:!1,value:e[0]},i=[],s=0;for(;!r.done&&s<2e4;)i.push((r=n.sample(s)).value),s+=10;return{times:void 0,keyframes:i,duration:s-10,ease:"linear"}}(e,u);1===(e=d.keyframes).length&&(e[1]=e[0]),i=d.duration,s=d.times,a=d.ease,o="keyframes"}let h=function(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:a="loop",ease:o,times:l}={}){let u={[t]:n};l&&(u.offset=l);let d=eY(o);return Array.isArray(d)&&(u.easing=d),e.animate(u,{delay:r,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:"reverse"===a?"alternate":"normal"})}(l.owner.current,u,e,{...this.options,duration:i,times:s,ease:a});return h.startTime=null!=d?d:this.calcStartTime(),this.pendingTimeline?(h.timeline=this.pendingTimeline,this.pendingTimeline=void 0):h.onfinish=()=>{let{onComplete:n}=this.options;l.set(P(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:i,times:s,type:o,ease:a,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return c(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return c(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.currentTime=h(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}get startTime(){let{resolved:e}=this;if(!e)return null;let{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){let{resolved:t}=this;if(!t)return ea.Z;let{animation:n}=t;n.timeline=e,n.onfinish=null}else this.pendingTimeline=e;return ea.Z}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:n,duration:r,type:i,ease:s,times:a}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){let{motionValue:e,onUpdate:t,onComplete:o,element:l,...u}=this.options,d=new eJ({...u,keyframes:n,duration:r,type:i,ease:s,times:a,isGenerator:!0}),c=h(this.time);e.setWithVelocity(d.sample(c-10).value,d.sample(c).value,10)}let{onStop:o}=this.options;o&&o(),this.cancel()}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:s,type:a}=e;return eZ()&&n&&eK.t.has(n)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!r&&"mirror"!==i&&0!==s&&"inertia"!==a}}let eq=es(()=>void 0!==window.ScrollTimeline);class eQ{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,t){return Promise.all(this.animations).then(e).catch(t)}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e){let t=this.animations.map(t=>{if(!eq()||!t.attachTimeline)return t.pause(),function(e,t){let n;let r=()=>{let{currentTime:r}=t,i=(null===r?0:r.value)/100;n!==i&&e(i),n=i};return S.Wi.update(r,!0),()=>(0,S.Pn)(r)}(e=>{t.time=t.duration*e},e);t.attachTimeline(e)});return()=>{t.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}let e0=(e,t,n,r={},i,s,a)=>o=>{let l=y(r,e)||{},u=l.delay||r.delay||0,{elapsed:d=0}=r;d-=h(u);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-d,onUpdate:e=>{t.set(e),l.onUpdate&&l.onUpdate(e)},onComplete:()=>{o(),l.onComplete&&l.onComplete(),a&&a()},onStop:a,name:e,motionValue:t,element:s?void 0:i};!function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:s,repeatType:a,repeatDelay:o,from:l,elapsed:u,...d}){return!!Object.keys(d).length}(l)&&(c={...c,...g(e,c)}),c.duration&&(c.duration=h(c.duration)),c.repeatDelay&&(c.repeatDelay=h(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let p=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(c.duration=0,0!==c.delay||(p=!0)),(b.current||w.c.skipAnimations)&&(p=!0,c.duration=0,c.delay=0),p&&!s&&void 0!==t.get()){let e=P(c.keyframes,l);if(void 0!==e)return S.Wi.update(()=>{c.onUpdate(e),c.onComplete()}),new eQ([])}return!s&&e_.supports(c)?new e_(c):new eJ(c)};var e1=n(99155),e5=n(20804),e2=n(65908),e9=n(79447),e6=n(77599);function e3(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var s;let{transition:a=e.getDefaultTransition(),transitionEnd:o,...u}=t;r&&(a=r);let h=[],c=i&&e.animationState&&e.animationState.getState()[i];for(let t in u){let r=e.getValue(t,null!==(s=e.latestValues[t])&&void 0!==s?s:null),i=u[t];if(void 0===i||c&&function({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}(c,t))continue;let o={delay:n,...y(a||{},t)},l=!1;if(window.MotionHandoffAnimation){let n=e.props[e2.M];if(n){let e=window.MotionHandoffAnimation(n,t,S.Wi);null!==e&&(o.startTime=e,l=!0)}}r.start(e0(t,r,i,e.shouldReduceMotion&&d.G.has(t)?{type:!1}:o,e,l,function(e,t){var n,r;if(!e.applyWillChange)return;let i=e.getValue("willChange");if(i||(null===(n=e.props.style)||void 0===n?void 0:n.willChange)||(i=new e9.L("auto"),e.addValue("willChange",i)),r=i,(0,e6.i)(r)&&r.add)return i.add(t)}(e,t)));let p=r.animation;p&&h.push(p)}return o&&Promise.all(h).then(()=>{S.Wi.update(()=>{o&&function(e,t){let{transitionEnd:n={},transition:r={},...i}=l(e,t)||{};for(let t in i={...i,...n}){let n=(0,e1.Y)(i[t]);e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,(0,e5.BX)(n))}}(e,o)})}),h}function e7(e,t,n={}){var r;let i=l(e,t,"exit"===n.type?null===(r=e.presenceContext)||void 0===r?void 0:r.custom:void 0),{transition:s=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(s=n.transitionOverride);let a=i?()=>Promise.all(e3(e,i,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:i=0,staggerChildren:a,staggerDirection:o}=s;return function(e,t,n=0,r=0,i=1,s){let a=[],o=(e.variantChildren.size-1)*r,l=1===i?(e=0)=>e*r:(e=0)=>o-e*r;return Array.from(e.variantChildren).sort(e4).forEach((e,r)=>{e.notify("AnimationStart",t),a.push(e7(e,t,{...s,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,i+r,a,o,n)}:()=>Promise.resolve(),{when:u}=s;if(!u)return Promise.all([a(),o(n.delay)]);{let[e,t]="beforeChildren"===u?[a,o]:[o,a];return e().then(()=>t())}}function e4(e,t){return e.sortNodePosition(t)}let e8=[...u.e].reverse(),te=u.e.length;function tt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function tn(){return{animate:tt(!0),whileInView:tt(),whileHover:tt(),whileTap:tt(),whileDrag:tt(),whileFocus:tt(),exit:tt()}}class tr{constructor(e){this.isMounted=!1,this.node=e}update(){}}class ti extends tr{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>(function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t))r=Promise.all(t.map(t=>e7(e,t,n)));else if("string"==typeof t)r=e7(e,t,n);else{let i="function"==typeof t?l(e,t,n.custom):t;r=Promise.all(e3(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})})(e,t,n))),n=tn(),o=!0,u=t=>(n,r)=>{var i;let s=l(e,r,"exit"===t?null===(i=e.presenceContext)||void 0===i?void 0:i.custom:void 0);if(s){let{transition:e,transitionEnd:t,...r}=s;n={...n,...r,...t}}return n};function d(l){let d=e.getProps(),h=e.getVariantContext(!0)||{},c=[],p=new Set,f={},m=1/0;for(let t=0;t<te;t++){var v;let g=e8[t],y=n[g],w=void 0!==d[g]?d[g]:h[g],b=(0,a.$)(w),x=g===l?y.isActive:null;!1===x&&(m=t);let P=w===h[g]&&w!==d[g]&&b;if(P&&o&&e.manuallyAnimateOnMount&&(P=!1),y.protectedKeys={...f},!y.isActive&&null===x||!w&&!y.prevProp||(0,r.H)(w)||"boolean"==typeof w)continue;let S=(v=y.prevProp,("string"==typeof w?w!==v:!!Array.isArray(w)&&!s(w,v))||g===l&&y.isActive&&!P&&b||t>m&&b),C=!1,A=Array.isArray(w)?w:[w],T=A.reduce(u(g),{});!1===x&&(T={});let{prevResolvedValues:V={}}=y,M={...V,...T},k=t=>{S=!0,p.has(t)&&(C=!0,p.delete(t)),y.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in M){let t=T[e],n=V[e];if(!f.hasOwnProperty(e))((0,i.C)(t)&&(0,i.C)(n)?s(t,n):t===n)?void 0!==t&&p.has(e)?k(e):y.protectedKeys[e]=!0:null!=t?k(e):p.add(e)}y.prevProp=w,y.prevResolvedValues=T,y.isActive&&(f={...f,...T}),o&&e.blockInitialAnimation&&(S=!1),S&&(!P||C)&&c.push(...A.map(e=>({animation:e,options:{type:g}})))}if(p.size){let t={};p.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=null!=r?r:null}),c.push({animation:t})}let g=!!c.length;return o&&(!1===d.initial||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(g=!1),o=!1,g?t(c):Promise.resolve()}return{animateChanges:d,setActive:function(t,r){var i;if(n[t].isActive===r)return Promise.resolve();null===(i=e.variantChildren)||void 0===i||i.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;let s=d(t);for(let e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=tn(),o=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();(0,r.H)(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null===(e=this.unmountControls)||void 0===e||e.call(this)}}let ts=0;class ta extends tr{constructor(){super(...arguments),this.id=ts++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}function to(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}let tl=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function tu(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}let td=e=>t=>tl(t)&&e(t,tu(t));function th(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}let tc=th("dragHorizontal"),tp=th("dragVertical");function tf(){let e=function(e){let t=!1;if("y"===e)t=tp();else if("x"===e)t=tc();else{let e=tc(),n=tp();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}(!0);return!e||(e(),!1)}function tm(e,t){var n,r,i;let s=t?"pointerenter":"pointerleave",a=t?"onHoverStart":"onHoverEnd";return n=e.current,r=(n,r)=>{if("touch"===n.pointerType||tf())return;let i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t);let s=i[a];s&&S.Wi.postRender(()=>s(n,r))},i={passive:!e.getProps()[a]},to(n,s,td(r),i)}class tv extends tr{mount(){this.unmount=(0,eL.z)(tm(this.node,!0),tm(this.node,!1))}unmount(){}}class tg extends tr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,eL.z)(to(this.node.current,"focus",()=>this.onFocus()),to(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let ty=(e,t)=>!!t&&(e===t||ty(e,t.parentElement));function tw(e,t){if(!t)return;let n=new PointerEvent("pointer"+e);t(n,tu(n))}class tb extends tr{constructor(){super(...arguments),this.removeStartListeners=ea.Z,this.removeEndListeners=ea.Z,this.removeAccessibleListeners=ea.Z,this.startPointerPress=(e,t)=>{var n,r,i,s,a,o,l,u;if(this.isPressing)return;this.removeEndListeners();let d=this.node.getProps(),h=(n=window,r="pointerup",i=(e,t)=>{if(!this.checkPressEnd())return;let{onTap:n,onTapCancel:r,globalTapTarget:i}=this.node.getProps(),s=i||ty(this.node.current,e.target)?n:r;s&&S.Wi.update(()=>s(e,t))},s={passive:!(d.onTap||d.onPointerUp)},to(n,r,td(i),s)),c=(a=window,o="pointercancel",l=(e,t)=>this.cancelPress(e,t),u={passive:!(d.onTapCancel||d.onPointerCancel)},to(a,o,td(l),u));this.removeEndListeners=(0,eL.z)(h,c),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=to(this.node.current,"keydown",e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=to(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&tw("up",(e,t)=>{let{onTap:n}=this.node.getProps();n&&S.Wi.postRender(()=>n(e,t))})}),tw("down",(e,t)=>{this.startPress(e,t)}))}),t=to(this.node.current,"blur",()=>{this.isPressing&&tw("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=(0,eL.z)(e,t)}}startPress(e,t){this.isPressing=!0;let{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&S.Wi.postRender(()=>n(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!tf()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&S.Wi.postRender(()=>n(e,t))}mount(){var e,t,n,r;let i=this.node.getProps(),s=(e=i.globalTapTarget?window:this.node.current,t="pointerdown",n=this.startPointerPress,r={passive:!(i.onTapStart||i.onPointerStart)},to(e,t,td(n),r)),a=to(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,eL.z)(s,a)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let tx=new WeakMap,tP=new WeakMap,tS=e=>{let t=tx.get(e.target);t&&t(e)},tC=e=>{e.forEach(tS)},tA={some:0,all:1};class tT extends tr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:i}=e,s={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:tA[r]};return function(e,t,n){let r=function({root:e,...t}){let n=e||document;tP.has(n)||tP.set(n,{});let r=tP.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(tC,{root:e,...t})),r[i]}(t);return tx.set(e,n),r.observe(e),()=>{tx.delete(e),r.unobserve(e)}}(this.node.current,s,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),s=t?n:r;s&&s(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}var tV=n(2265),tM=n(14651),tk=n(11315),tE=n(39979),tR=n(77282);let tI={current:null},tF={current:!1};var tj=n(72428),tW=n(83795),tO=n(96317);let tD=new WeakMap,tL=[...B,Q.$,U.P],tB=e=>tL.find(L(e)),t$=()=>({min:0,max:0}),tz=()=>({x:t$(),y:t$()}),tN=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],tJ=u.V.length;class tK{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:i,visualState:s},a={}){this.applyWillChange=!1,this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=H,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.isRenderScheduled=!1,this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.isRenderScheduled=!1,this.scheduleRender=()=>{this.isRenderScheduled||(this.isRenderScheduled=!0,S.Wi.render(this.render,!1,!0))};let{latestValues:o,renderState:l}=s;this.latestValues=o,this.baseTarget={...o},this.initialValues=t.initial?{...o}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=a,this.blockInitialAnimation=!!i,this.isControllingVariants=(0,tW.G)(t),this.isVariantNode=(0,tW.M)(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];void 0!==o[e]&&(0,e6.i)(t)&&t.set(o[e],!1)}}mount(e){this.current=e,tD.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),tF.current||function(){if(tF.current=!0,tR.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>tI.current=e.matches;e.addListener(t),t()}else tI.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||tI.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in tD.delete(this.current),this.projection&&this.projection.unmount(),(0,S.Pn)(this.notifyUpdate),(0,S.Pn)(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){let n;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let r=d.G.has(e),i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&S.Wi.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),s=t.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),s(),n&&n(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in tO.featureDefinitions){let t=tO.featureDefinitions[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):tz()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<tN.length;t++){let n=tN[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){for(let r in t){let i=t[r],s=n[r];if((0,e6.i)(i))e.addValue(r,i);else if((0,e6.i)(s))e.addValue(r,(0,e5.BX)(i,{owner:e}));else if(s!==i){if(e.hasValue(r)){let t=e.getValue(r);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,(0,e5.BX)(void 0!==t?t:i,{owner:e}))}}}for(let r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}let t={};for(let e=0;e<tJ;e++){let n=u.V[e],r=this.props[n];((0,a.$)(r)||!1===r)&&(t[n]=r)}return t}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=(0,e5.BX)(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let r=void 0===this.latestValues[e]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,e))&&void 0!==n?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=r&&("string"==typeof r&&(T(r)||C(r))?r=parseFloat(r):!tB(r)&&U.P.test(t)&&(r=en(e,t)),this.setBaseTarget(e,(0,e6.i)(r)?r.get():r)),(0,e6.i)(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let n;let{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let i=(0,o.o)(this.props,r,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);i&&(n=i[e])}if(r&&void 0!==n)return n;let i=this.getBaseTargetFromProps(this.props,e);return void 0===i||(0,e6.i)(i)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new tj.L),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class tG extends tK{constructor(){super(...arguments),this.KeyframeResolver=ei}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}}class tH extends tG{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=tE.N}readValueFromInstance(e,t){if(d.G.has(t)){let e=et(t);return e&&e.default||0}{let n=window.getComputedStyle(e),r=((0,V.f)(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return function({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}(function(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}build(e,t,n){(0,tM.r)(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return(0,tk.U)(e,t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,e6.i)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}var tU=n(875),tX=n(92622),tY=n(51580),tZ=n(82394),t_=n(70545),tq=n(75969);class tQ extends tG{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=tz}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(d.G.has(t)){let e=et(t);return e&&e.default||0}return t=tZ.s.has(t)?t:(0,tY.D)(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return(0,tU.U)(e,t,n)}build(e,t,n){(0,tX.i)(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){(0,t_.K)(e,t,n,r)}mount(e){this.isSVGTag=(0,tq.a)(e.tagName),super.mount(e)}}var t0=n(42860);let t1={renderer:(e,t)=>(0,t0.q)(e)?new tQ(t):new tH(t,{allowProjection:e!==tV.Fragment}),animation:{Feature:ti},exit:{Feature:ta},inView:{Feature:tT},tap:{Feature:tb},focus:{Feature:tg},hover:{Feature:tv}}},51580:function(e,t,n){n.d(t,{D:function(){return r}});let r=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},42860:function(e,t,n){n.d(t,{q:function(){return i}});let r=["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 i(e){if("string"!=typeof e||e.includes("-"));else if(r.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}},37755:function(e,t,n){n.d(t,{j:function(){return a}});var r=n(40783),i=n(75480);let s={...r.Rx,transform:Math.round},a={borderWidth:i.px,borderTopWidth:i.px,borderRightWidth:i.px,borderBottomWidth:i.px,borderLeftWidth:i.px,borderRadius:i.px,radius:i.px,borderTopLeftRadius:i.px,borderTopRightRadius:i.px,borderBottomRightRadius:i.px,borderBottomLeftRadius:i.px,width:i.px,maxWidth:i.px,height:i.px,maxHeight:i.px,size:i.px,top:i.px,right:i.px,bottom:i.px,left:i.px,padding:i.px,paddingTop:i.px,paddingRight:i.px,paddingBottom:i.px,paddingLeft:i.px,margin:i.px,marginTop:i.px,marginRight:i.px,marginBottom:i.px,marginLeft:i.px,rotate:i.RW,rotateX:i.RW,rotateY:i.RW,rotateZ:i.RW,scale:r.bA,scaleX:r.bA,scaleY:r.bA,scaleZ:r.bA,skew:i.RW,skewX:i.RW,skewY:i.RW,distance:i.px,translateX:i.px,translateY:i.px,translateZ:i.px,x:i.px,y:i.px,z:i.px,perspective:i.px,transformPerspective:i.px,opacity:r.Fq,originX:i.$C,originY:i.$C,originZ:i.px,zIndex:s,backgroundPositionX:i.px,backgroundPositionY:i.px,fillOpacity:r.Fq,strokeOpacity:r.Fq,numOctaves:s}},14651:function(e,t,n){n.d(t,{r:function(){return u}});var r=n(26019);let i=(e,t)=>t&&"number"==typeof e?t.transform(e):e;var s=n(37755);let a={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},o=r._.length;var l=n(61534);function u(e,t,n){let{style:u,vars:d,transformOrigin:h}=e,c=!1,p=!1;for(let e in t){let n=t[e];if(r.G.has(e)){c=!0;continue}if((0,l.f)(e)){d[e]=n;continue}{let t=i(n,s.j[e]);e.startsWith("origin")?(p=!0,h[e]=t):u[e]=t}}if(!t.transform&&(c||n?u.transform=function(e,t,n){let l="",u=!0;for(let d=0;d<o;d++){let o=r._[d],h=e[o];if(void 0===h)continue;let c=!0;if(!(c="number"==typeof h?h===(o.startsWith("scale")?1:0):0===parseFloat(h))||n){let e=i(h,s.j[o]);if(!c){u=!1;let t=a[o]||o;l+=`${t}(${e}) `}n&&(t[o]=e)}}return l=l.trim(),n?l=n(t,u?"":l):u&&(l="none"),l}(t,e.transform,n):u.transform&&(u.transform="none")),p){let{originX:e="50%",originY:t="50%",originZ:n=0}=h;u.transformOrigin=`${e} ${t} ${n}`}}},39979:function(e,t,n){n.d(t,{N:function(){return r}});function r(e,{style:t,vars:n},r,i){for(let s in Object.assign(e.style,t,i&&i.getProjectionStyles(r)),n)e.style.setProperty(s,n[s])}},11315:function(e,t,n){n.d(t,{U:function(){return s}});var r=n(95551),i=n(77599);function s(e,t,n){var s;let{style:a}=e,o={};for(let l in a)((0,i.i)(a[l])||t.style&&(0,i.i)(t.style[l])||(0,r.j)(l,e)||(null===(s=null==n?void 0:n.getValue(l))||void 0===s?void 0:s.liveStyle)!==void 0)&&(o[l]=a[l]);return n&&a&&"string"==typeof a.willChange&&(n.applyWillChange=!1),o}},26019:function(e,t,n){n.d(t,{G:function(){return i},_:function(){return r}});let r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set(r)},92622:function(e,t,n){n.d(t,{i:function(){return l}});var r=n(14651),i=n(75480);function s(e,t,n){return"string"==typeof e?e:i.px.transform(t+n*e)}let a={offset:"stroke-dashoffset",array:"stroke-dasharray"},o={offset:"strokeDashoffset",array:"strokeDasharray"};function l(e,{attrX:t,attrY:n,attrScale:l,originX:u,originY:d,pathLength:h,pathSpacing:c=1,pathOffset:p=0,...f},m,v){if((0,r.r)(e,f,v),m){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:g,style:y,dimensions:w}=e;g.transform&&(w&&(y.transform=g.transform),delete g.transform),w&&(void 0!==u||void 0!==d||y.transform)&&(y.transformOrigin=function(e,t,n){let r=s(t,e.x,e.width),i=s(n,e.y,e.height);return`${r} ${i}`}(w,void 0!==u?u:.5,void 0!==d?d:.5)),void 0!==t&&(g.x=t),void 0!==n&&(g.y=n),void 0!==l&&(g.scale=l),void 0!==h&&function(e,t,n=1,r=0,s=!0){e.pathLength=1;let l=s?a:o;e[l.offset]=i.px.transform(-r);let u=i.px.transform(t),d=i.px.transform(n);e[l.array]=`${u} ${d}`}(g,h,c,p,!1)}},82394:function(e,t,n){n.d(t,{s:function(){return r}});let r=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"])},75969:function(e,t,n){n.d(t,{a:function(){return r}});let r=e=>"string"==typeof e&&"svg"===e.toLowerCase()},70545:function(e,t,n){n.d(t,{K:function(){return a}});var r=n(51580),i=n(39979),s=n(82394);function a(e,t,n,a){for(let n in(0,i.N)(e,t,void 0,a),t.attrs)e.setAttribute(s.s.has(n)?n:(0,r.D)(n),t.attrs[n])}},875:function(e,t,n){n.d(t,{U:function(){return a}});var r=n(77599),i=n(11315),s=n(26019);function a(e,t,n){let a=(0,i.U)(e,t,n);for(let n in e)((0,r.i)(e[n])||(0,r.i)(t[n]))&&(a[-1!==s._.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return a}},83795:function(e,t,n){n.d(t,{G:function(){return a},M:function(){return o}});var r=n(64572),i=n(56859),s=n(53552);function a(e){return(0,r.H)(e.animate)||s.V.some(t=>(0,i.$)(e[t]))}function o(e){return!!(a(e)||e.variants)}},56859:function(e,t,n){n.d(t,{$:function(){return r}});function r(e){return"string"==typeof e||Array.isArray(e)}},28595:function(e,t,n){function r(e){let t=[{},{}];return null==e||e.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function i(e,t,n,i){if("function"==typeof t){let[s,a]=r(i);t=t(void 0!==n?n:e.custom,s,a)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[s,a]=r(i);t=t(void 0!==n?n:e.custom,s,a)}return t}n.d(t,{o:function(){return i}})},53552:function(e,t,n){n.d(t,{V:function(){return i},e:function(){return r}});let r=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],i=["initial",...r]},99155:function(e,t,n){n.d(t,{Y:function(){return s},p:function(){return i}});var r=n(66925);let i=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),s=e=>(0,r.C)(e)?e[e.length-1]||0:e},79447:function(e,t,n){n.d(t,{L:function(){return a}});var r=n(20804),i=n(35674),s=n(28746);class a extends r.Hg{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(e){let t=(0,i.p)(e);if(!t)return;let n=this.counts.get(t)||0;this.counts.set(t,n+1),0===n&&(this.output.push(t),this.update());let r=!1;return()=>{if(r)return;r=!0;let e=this.counts.get(t)-1;this.counts.set(t,e),0===e&&((0,s.cl)(this.output,t),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}},35674:function(e,t,n){n.d(t,{p:function(){return a}});var r=n(66323),i=n(51580),s=n(26019);function a(e){return s.G.has(e)?"transform":r.t.has(e)?(0,i.D)(e):void 0}},77599:function(e,t,n){n.d(t,{i:function(){return r}});let r=e=>!!(e&&e.getVelocity)}}]);