1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6219],{24323:function(e,t,n){n.d(t,{D:function(){return r},M:function(){return i}});var[r,i]=(0,n(82901).k)({name:"ButtonGroupContext",strict:!1})},83949:function(e,t,n){n.d(t,{U:function(){return v}});var r=n(24323),i=n(42255),o=n(34808),a=n(64090),s=n(25615),l=n(68168),u=n(3614),c=n(72874),d=n(58263),f=n(56295),h=n(26411),p=n(53700),m=n(77478);function v(e){var t,n,v,g,y,b,x,w,T;let E=(0,r.M)(),P=(0,i.w)(),S=!!E,{ref:A,as:k,children:C,startContent:M,endContent:D,autoFocus:R,className:L,spinner:V,isLoading:j=!1,disableRipple:O=!1,fullWidth:F=null!=(t=null==E?void 0:E.fullWidth)&&t,radius:N=null==E?void 0:E.radius,size:I=null!=(n=null==E?void 0:E.size)?n:"md",color:B=null!=(v=null==E?void 0:E.color)?v:"default",variant:W=null!=(g=null==E?void 0:E.variant)?g:"solid",disableAnimation:z=null!=(b=null!=(y=null==E?void 0:E.disableAnimation)?y:null==P?void 0:P.disableAnimation)&&b,isDisabled:U=null!=(x=null==E?void 0:E.isDisabled)&&x,isIconOnly:K=null!=(w=null==E?void 0:E.isIconOnly)&&w,spinnerPlacement:_="start",onPress:H,onClick:G,...X}=e,J=k||"button",$="string"==typeof J,Y=(0,c.gy)(A),q=null!=(T=O||(null==P?void 0:P.disableRipple))?T:z,{isFocusVisible:Z,isFocused:Q,focusProps:ee}=(0,s.F)({autoFocus:R}),et=U||j,en=(0,a.useMemo)(()=>(0,f.L)({size:I,color:B,variant:W,radius:N,fullWidth:F,isDisabled:et,isInGroup:S,disableAnimation:z,isIconOnly:K,className:L}),[I,B,W,N,F,et,S,K,z,L]),{onPress:er,onClear:ei,ripples:eo}=(0,m.i)(),ea=(0,a.useCallback)(e=>{q||et||z||!Y.current||er(e)},[q,et,z,Y,er]),{buttonProps:es,isPressed:el}=(0,h.j)({elementType:k,isDisabled:et,onPress:(0,l.t)(H,ea),onClick:G,...X},Y),{isHovered:eu,hoverProps:ec}=(0,p.X)({isDisabled:et}),ed=(0,a.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-disabled":(0,o.PB)(et),"data-focus":(0,o.PB)(Q),"data-pressed":(0,o.PB)(el),"data-focus-visible":(0,o.PB)(Z),"data-hover":(0,o.PB)(eu),"data-loading":(0,o.PB)(j),...(0,u.d)(es,ee,ec,(0,d.z)(X,{enabled:$}),(0,d.z)(e))}},[j,et,Q,el,$,Z,eu,es,ee,ec,X]),ef=e=>(0,a.isValidElement)(e)?(0,a.cloneElement)(e,{"aria-hidden":!0,focusable:!1,tabIndex:-1}):null,eh=ef(M);return{Component:J,children:C,domRef:Y,spinner:V,styles:en,startContent:eh,endContent:ef(D),isLoading:j,spinnerPlacement:_,spinnerSize:(0,a.useMemo)(()=>({sm:"sm",md:"sm",lg:"md"})[I],[I]),disableRipple:q,getButtonProps:ed,getRippleProps:(0,a.useCallback)(()=>({ripples:eo,onClear:ei}),[eo,ei]),isIconOnly:K}}},23871:function(e,t,n){n.d(t,{A:function(){return u}});var r=n(83949),i=n(45623),o=n(93224),a=n(84449),s=n(3827),l=(0,a.Gp)((e,t)=>{let{Component:n,domRef:a,children:l,styles:u,spinnerSize:c,spinner:d=(0,s.jsx)(i.c,{color:"current",size:c}),spinnerPlacement:f,startContent:h,endContent:p,isLoading:m,disableRipple:v,getButtonProps:g,getRippleProps:y,isIconOnly:b}=(0,r.U)({...e,ref:t});return(0,s.jsxs)(n,{ref:a,className:u,...g(),children:[h,m&&"start"===f&&d,m&&b?null:l,m&&"end"===f&&d,p,!v&&(0,s.jsx)(o.L,{...y()})]})});l.displayName="NextUI.Button";var u=l},48829:function(e,t,n){n.d(t,{Lj:function(){return r},Sh:function(){return i},y7:function(){return o}});var r={ease:[.36,.66,.4,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1],spring:[.155,1.105,.295,1.12],springOut:[.57,-.15,.62,.07],softSpring:[.16,1.11,.3,1.02]},i={enter:{duration:.2,ease:r.easeOut},exit:{duration:.1,ease:r.easeIn}},o={scaleSpring:{enter:{transform:"scale(1)",opacity:1,transition:{type:"spring",bounce:0,duration:.2}},exit:{transform:"scale(0.85)",opacity:0,transition:{type:"easeOut",duration:.15}}},scaleSpringOpacity:{initial:{opacity:0,transform:"scale(0.8)"},enter:{opacity:1,transform:"scale(1)",transition:{type:"spring",bounce:0,duration:.3}},exit:{opacity:0,transform:"scale(0.96)",transition:{type:"easeOut",bounce:0,duration:.15}}},scale:{enter:{scale:1},exit:{scale:.95}},scaleFadeIn:{enter:{transform:"scale(1)",opacity:1,transition:{duration:.25,ease:r.easeIn}},exit:{transform:"scale(0.95)",opacity:0,transition:{duration:.2,ease:r.easeOut}}},scaleInOut:{enter:{transform:"scale(1)",opacity:1,transition:{duration:.4,ease:r.ease}},exit:{transform:"scale(1.03)",opacity:0,transition:{duration:.3,ease:r.ease}}},fade:{enter:{opacity:1,transition:{duration:.4,ease:r.ease}},exit:{opacity:0,transition:{duration:.3,ease:r.ease}}},collapse:{enter:{opacity:1,height:"auto",transition:{height:{type:"spring",bounce:0,duration:.3},opacity:{easings:"ease",duration:.4}}},exit:{opacity:0,height:0,transition:{easings:"ease",duration:.3}}}}},19338:function(e,t,n){n.d(t,{d:function(){return f}});var r=n(64090),i=n(42255),o=n(84449),a=(0,n(80932).tv)({slots:{wrapper:"relative shadow-black/5",zoomedWrapper:"relative overflow-hidden rounded-inherit",img:"relative z-10 opacity-0 shadow-black/5 data-[loaded=true]:opacity-100",blurredImg:["absolute","z-0","inset-0","w-full","h-full","object-cover","filter","blur-lg","scale-105","saturate-150","opacity-30","translate-y-1"]}
1,variants:{radius:{none:{},sm:{},md:{},lg:{},full:{}},shadow:{none:{wrapper:"shadow-none",img:"shadow-none"},sm:{wrapper:"shadow-small",img:"shadow-small"},md:{wrapper:"shadow-medium",img:"shadow-medium"},lg:{wrapper:"shadow-large",img:"shadow-large"}},isZoomed:{true:{img:["object-cover","transform","hover:scale-125"]}},showSkeleton:{true:{wrapper:["group","relative","overflow-hidden","bg-content3 dark:bg-content2"],img:"opacity-0"}},disableAnimation:{true:{img:"transition-none"},false:{img:"transition-transform-opacity motion-reduce:transition-none !duration-300"}}},defaultVariants:{radius:"lg",shadow:"none",isZoomed:!1,isBlurred:!1,showSkeleton:!1},compoundVariants:[{showSkeleton:!0,disableAnimation:!1,class:{wrapper:["before:opacity-100","before:absolute","before:inset-0","before:-translate-x-full","before:animate-[shimmer_2s_infinite]","before:border-t","before:border-content4/30","before:bg-gradient-to-r","before:from-transparent","before:via-content4","dark:before:via-default-700/10","before:to-transparent","after:opacity-100","after:absolute","after:inset-0","after:-z-10","after:bg-content3","dark:after:bg-content2"]}}],compoundSlots:[{slots:["wrapper","img","blurredImg","zoomedWrapper"],radius:"none",class:"rounded-none"},{slots:["wrapper","img","blurredImg","zoomedWrapper"],radius:"full",class:"rounded-full"},{slots:["wrapper","img","blurredImg","zoomedWrapper"],radius:"sm",class:"rounded-small"},{slots:["wrapper","img","blurredImg","zoomedWrapper"],radius:"md",class:"rounded-md"},{slots:["wrapper","img","blurredImg","zoomedWrapper"],radius:"lg",class:"rounded-large"}]}),s=n(72874),l=n(96080),u=n(5142),c=n(34808),d=n(14895);function f(e){var t,n;let f=(0,i.w)(),[h,p]=(0,o.oe)(e,a.variantKeys),{ref:m,as:v,src:g,className:y,classNames:b,loading:x,isBlurred:w,fallbackSrc:T,isLoading:E,disableSkeleton:P=!!T,removeWrapper:S=!1,onError:A,onLoad:k,srcSet:C,sizes:M,crossOrigin:D,...R}=h,L=(0,d.d)({src:g,loading:x,onError:A,onLoad:k,ignoreFallback:!1,srcSet:C,sizes:M,crossOrigin:D}),V=null!=(n=null!=(t=e.disableAnimation)?t:null==f?void 0:f.disableAnimation)&&n,j="loaded"===L&&!E,O="loading"===L||E,F=e.isZoomed,N=(0,s.gy)(m),{w:I,h:B}=(0,r.useMemo)(()=>({w:h.width?"number"==typeof h.width?"".concat(h.width,"px"):h.width:"fit-content",h:h.height?"number"==typeof h.height?"".concat(h.height,"px"):h.height:"auto"}),[null==h?void 0:h.width,null==h?void 0:h.height]),W=(!g||!j)&&!!T,z=O&&!P,U=(0,r.useMemo)(()=>a({...p,disableAnimation:V,showSkeleton:z}),[(0,l.Xx)(p),V,z]),K=(0,u.W)(y,null==b?void 0:b.img),_=(0,r.useCallback)(()=>{let e=W?{backgroundImage:"url(".concat(T,")")}:{};return{className:U.wrapper({class:null==b?void 0:b.wrapper}),style:{...e,maxWidth:I}}},[U,W,T,null==b?void 0:b.wrapper,I]),H=(0,r.useCallback)(()=>({src:g,"aria-hidden":(0,c.PB)(!0),className:U.blurredImg({class:null==b?void 0:b.blurredImg})}),[U,g,null==b?void 0:b.blurredImg]);return{Component:v||"img",domRef:N,slots:U,classNames:b,isBlurred:w,disableSkeleton:P,fallbackSrc:T,removeWrapper:S,isZoomed:F,isLoading:O,getImgProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,u.W)(K,null==e?void 0:e.className);return{src:g,ref:N,"data-loaded":(0,c.PB)(j),className:U.img({class:t}),loading:x,srcSet:C,sizes:M,crossOrigin:D,...R,style:{...(null==R?void 0:R.height)&&{height:B},...e.style,...R.style}}},getWrapperProps:_,getBlurredImgProps:H}}},46990:function(e,t,n){n.d(t,{J:function(){return l}});var r=n(19338),i=n(64090),o=n(84449),a=n(3827),s=(0,o.Gp)((e,t)=>{let{Component:n,domRef:o,slots:s,classNames:l,isBlurred:u,isZoomed:c,fallbackSrc:d,removeWrapper:f,disableSkeleton:h,getImgProps:p,getWrapperProps:m,getBlurredImgProps:v}=(0,r.d)({...e,ref:t}),g=(0,a.jsx)(n,{ref:o,...p()});if(f)return g;let y=(0,a.jsx)("div",{className:s.zoomedWrapper({class:null==l?void 0:l.zoomedWrapper}),children:g});return u?(0,a.jsxs)("div",{...m(),children:[c?y:g,(0,i.cloneElement)(g,v())]}):c||!h||d?(0,a.jsxs)("div",{...m(),children:[" ",c?y:g]}):g});s.displayName="NextUI.Image";var l=s},92397:function(e,t,n){n.d(t,{O:function(){return u}});var r=n(38107),i=n(84449),o=n(3827),a=e=>
1(0,o.jsxs)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",shapeRendering:"geometricPrecision",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",viewBox:"0 0 24 24",width:"1em",...e,children:[(0,o.jsx)("path",{d:"M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"}),(0,o.jsx)("path",{d:"M15 3h6v6"}),(0,o.jsx)("path",{d:"M10 14L21 3"})]}),s=n(88585),l=(0,i.Gp)((e,t)=>{let{Component:n,children:i,showAnchorIcon:l,anchorIcon:u=(0,o.jsx)(a,{className:s.A}),getLinkProps:c}=(0,r.n)({ref:t,...e});return(0,o.jsx)(n,{...c(),children:(0,o.jsxs)(o.Fragment,{children:[i,l&&u]})})});l.displayName="NextUI.Link";var u=l},38107:function(e,t,n){n.d(t,{n:function(){return y}});var r=n(88585),i=n(75229),o=n(42669),a=n(3614),s=n(64892),l=n(86045),u=n(83683),c=n(91262),d=n(42255),f=n(84449),h=n(72874),p=n(25615),m=n(96080),v=n(34808),g=n(64090);function y(e){var t,n,y,b;let x=(0,d.w)(),[w,T]=(0,f.oe)(e,r.p.variantKeys),{ref:E,as:P,children:S,anchorIcon:A,isExternal:k=!1,showAnchorIcon:C=!1,autoFocus:M=!1,className:D,onPress:R,onPressStart:L,onPressEnd:V,onClick:j,...O}=w,F=(0,h.gy)(E),N=null!=(n=null!=(t=null==e?void 0:e.disableAnimation)?t:null==x?void 0:x.disableAnimation)&&n,{linkProps:I}=function(e,t){let{elementType:n="a",onPress:r,onPressStart:d,onPressEnd:f,onClick:h,role:p,isDisabled:m,...v}=e,g={};"a"!==n&&(g={role:"link",tabIndex:m?void 0:0});let y=(0,i.gn)()||(0,i.Dt)();h&&"function"==typeof h&&"button"!==p&&(0,l.Z)("onClick is deprecated, please use onPress instead. See: https://github.com/nextui-org/nextui/issues/4292","useLink");let{focusableProps:b}=(0,u.k)(e,t),{pressProps:x,isPressed:w}=(0,c.r)({onPress:e=>{y&&(null==h||h(e)),null==r||r(e)},onPressStart:d,onPressEnd:f,isDisabled:m,ref:t}),T=(0,o.z)(v,{labelable:!0,isLink:"a"===n}),E=(0,a.d)(b,x),P=(0,s.tv)(),S=(0,s.eY)(e);return{isPressed:w,linkProps:(0,a.d)(T,S,{...E,...g,"aria-disabled":m||void 0,"aria-current":e["aria-current"],onClick:t=>{var n;null==(n=x.onClick)||n.call(x,t),!y&&h&&h(t),!P.isNative&&t.currentTarget instanceof HTMLAnchorElement&&t.currentTarget.href&&!t.isDefaultPrevented()&&(0,s.b0)(t.currentTarget,t)&&e.href&&(t.preventDefault(),P.open(t.currentTarget,t,e.href,e.routerOptions))}})}}({...O,onPress:R,onPressStart:L,onPressEnd:V,onClick:j,isDisabled:e.isDisabled,elementType:"".concat(P)},F),{isFocused:B,isFocusVisible:W,focusProps:z}=(0,p.F)({autoFocus:M});k&&(O.rel=null!=(y=O.rel)?y:"noopener noreferrer",O.target=null!=(b=O.target)?b:"_blank");let U=(0,g.useMemo)(()=>(0,r.p)({...T,disableAnimation:N,className:D}),[(0,m.Xx)(T),N,D]);return{Component:P||"a",children:S,anchorIcon:A,showAnchorIcon:C,getLinkProps:(0,g.useCallback)(()=>({ref:F,className:U,"data-focus":(0,v.PB)(B),"data-disabled":(0,v.PB)(e.isDisabled),"data-focus-visible":(0,v.PB)(W),...(0,a.d)(z,I,O)}),[U,B,W,z,I,O])}}},58263:function(e,t,n){n.d(t,{z:function(){return l}});var r=new Set(["id","type","style","title","role","tabIndex","htmlFor","width","height","abbr","accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","challenge","charset","checked","cite","class","className","cols","colSpan","command","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","disabled","download","draggable","dropzone","encType","enterKeyHint","for","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","hidden","high","href","hrefLang","httpEquiv","icon","inputMode","isMap","itemId","itemProp","itemRef","itemScope","itemType","kind","label","lang","list","loop","manifest","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noValidate","open","optimum","pattern","ping","placeholder","poster","preload","radioGroup","referrerPolicy","readOnly","rel","required","rows","rowSpan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","slot","sortable","span","spellCheck","src","srcDoc","srcSet","start","step","target","translate","typeMustMatch","useMap","value","wmode","wrap"]),i=new Set(["onCopy","onCut","onPaste","onLoad","onError","onWheel","onScroll","onCompositionEnd","onCompositionStart","onCompositionUpdate","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onSubmit","onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onPointerDown","onPointerEnter","onPointerLeave","onPointerUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd"]),o=/^(data-.*)$/,a=/^(aria-.*)$/,s=/^(on[A-Z].*)$/;function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{labelable:n=!0,enabled:l=!0,propNames:u,omitPropNames:c,omitEventNames:d,omitDataProps:f,omitEventProps:h}=t,p={};if(!l)return e;for(let t in e)!((null==c?void 0:c.has(t))||(null==d?void 0:d.has(t))&&s.test(t)||s.test(t)&&!i.has(t)||f&&o.test(t)||h&&s.test(t))&&(Object.prototype.hasOwnProperty.call(e,t)&&(r.has(t)||n&&a.test(t)||(null==u?void 0:u.has(t))||o.test(t))||s.test(t))&&(p[t]=e[t]);return p}},82901:function(e,t,n){n.d(t,{k:function(){return i}});var r=n(64090);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
1,{strict:t=!0,errorMessage:n="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:i}=e,o=r.createContext(void 0);return o.displayName=i,[o.Provider,function e(){var i;let a=r.useContext(o);if(!a&&t){let t=Error(n);throw t.name="ContextError",null==(i=Error.captureStackTrace)||i.call(Error,t,e),t}return a},o]}},72874:function(e,t,n){n.d(t,{AH:function(){return a},fg:function(){return i},gy:function(){return o}});var r=n(64090);function i(e){return{UNSAFE_getDOMNode:()=>e.current}}function o(e){let t=(0,r.useRef)(null);return(0,r.useImperativeHandle)(e,()=>t.current),t}function a(e,t){return e&&t&&e.x<t.x+t.width&&e.x+e.width>t.x&&e.y<t.y+t.height&&e.y+e.height>t.y}window.document&&window.document.createElement},77478:function(e,t,n){n.d(t,{i:function(){return o}});var r=n(96080),i=n(64090);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[t,n]=(0,i.useState)([]),o=(0,i.useCallback)(e=>{let t=e.target,i=Math.max(t.clientWidth,t.clientHeight);n(t=>[...t,{key:(0,r.QI)(t.length.toString()),size:i,x:e.x-i/2,y:e.y-i/2}])},[]);return{ripples:t,onClear:(0,i.useCallback)(e=>{n(t=>t.filter(t=>t.key!==e))},[]),onPress:o,...e}}},93224:function(e,t,n){n.d(t,{L:function(){return c}});var r=n(59836),i=n(28745),o=n(5500),a=n(99791),s=n(3827),l=()=>n.e(890).then(n.bind(n,2027)).then(e=>e.default),u=e=>{let{ripples:t=[],motionProps:n,color:u="currentColor",style:c,onClear:d}=e;return(0,s.jsx)(s.Fragment,{children:t.map(e=>{let t=(0,a.uZ)(.01*e.size,.2,e.size>100?.75:.5);return(0,s.jsx)(r.X,{features:l,children:(0,s.jsx)(i.M,{mode:"popLayout",children:(0,s.jsx)(o.m.span,{animate:{transform:"scale(2)",opacity:0}
1,className:"nextui-ripple",exit:{opacity:0},initial:{transform:"scale(0)",opacity:.35},style:{position:"absolute",backgroundColor:u,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"),...c},transition:{duration:t},onAnimationComplete:()=>{d(e.key)},...n})})},e.key)})})};u.displayName="NextUI.Ripple";var c=u},5142:function(e,t,n){n.d(t,{W:function(){return r}});function r(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r,i,o=0,a="";o<t.length;)(r=t[o++])&&(i=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r);else for(n in t)t[n]&&(i&&(i+=" "),i+=n)}return i}(r))&&(a&&(a+=" "),a+=i);return a}},86045:function(e,t,n){n.d(t,{Z:function(){return i}});var r={};function i(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];let a="[Next UI]".concat(t?" [".concat(t,"]"):" ",": ").concat(e);"undefined"!=typeof console&&(r[a]||(r[a]=!0))}},34808:function(e,t,n){n.d(t,{Kn:function(){return o},PB:function(){return l},Ts:function(){return r},mf:function(){return s},xb:function(){return a}});var r=!1;function i(e){return Array.isArray(e)}function o(e){let t=typeof e;return null!=e&&("object"===t||"function"===t)&&!i(e)}function a(e){return i(e)?i(e)&&0===e.length:o(e)?o(e)&&0===Object.keys(e).length:null==e||""===e}function s(e){return"function"==typeof e}var l=e=>e?"true":void 0},99791:function(e,t,n){function r(e,t){return Array.from({length:t-e+1},(t,n)=>n+e)}function i(e,t,n){return Math.min(Math.max(e,t),n)}function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;return Math.min(Math.max(e,0),t)}n.d(t,{Ez:function(){return o},uZ:function(){return i},w6:function(){return r}})},96080:function(e,t,n){n.d(t,{v0:function(){return m},kC:function(){return p},Ds:function(){return b},UE:function(){return w},QI:function(){return v},Xx:function(){return y},Os:function(){return g}});var r,i,o=Object.create,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,u=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,d=(e,t)=>function(){return t||(0,e[l(e)[0]])((t={exports:{}}).exports,t),t.exports},f=d({"../../../node_modules/.pnpm/[email protected]/node_modules/react/cjs/react.production.min.js"(e){var t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.iterator,h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p=Object.assign,m={};function v(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function g(){}function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=v.prototype;var b=y.prototype=new g;b.constructor=y,p(b,v.prototype),b.isPureReactComponent=!0;var x=Array.isArray,w=Object.prototype.hasOwnProperty,T={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function P(e,n,r){var i,o={},a=null,s=null;if(null!=n)for(i in void 0!==n.ref&&(s=n.ref),void 0!==n.key&&(a=""+n.key),n)w.call(n,i)&&!E.hasOwnProperty(i)&&(o[i]=n[i]);var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(i in l=e.defaultProps)void 0===o[i]&&(o[i]=l[i]);return{$$typeof:t,type:e,key:a,ref:s,props:o,_owner:T.current}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var A=/\/+/g;function k(e,t){var n,r;return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36)}function C(e,r,i){if(null==e)return e;var o=[],a=0;return!function e(r,i,o,a,s){var l,u,c,d=typeof r;("undefined"===d||"boolean"===d)&&(r=null);var h=!1;if(null===r)h=!0;else switch(d){case"string":case"number":h=!0;break;case"object":switch(r.$$typeof){case t:case n:h=!0}}if(h)return s=s(h=r),r=""===a?"."+k(h,0):a,x(s)?(o="",null!=r&&(o=r.replace(A,"$&/")+"/"),e(s,i,o,"",function(e){return e})):null!=s&&(S(s)&&(l=s,u=o+(!s.key||h&&h.key===s.key?"":(""+s.key).replace(A,"$&/")+"/")+r,s={$$typeof:t,type:l.type,key:u,ref:l.ref,props:l.props,_owner:l._owner}),i.push(s)),1;if(h=0,a=""===a?".":a+":",x(r))for(var p=0;p<r.length;p++){var m=a+k(d=r[p],p);h+=e(d,i,o,m,s)}else if("function"==typeof(m=null===(c=r)||"object"!=typeof c?null:"function"==typeof(c=f&&c[f]||c["@@iterator"])?c:null))for(r=m.call(r),p=0;!(d=r.next()).done;)m=a+k(d=d.value,p++),h+=e(d,i,o,m,s);else if("object"===d)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(i=String(r))?"object with keys {"+Object.keys(r).join(", ")+"}":i)+"). If you meant to render a collection of children, use an array instead.");return h}(e,o,"","",function(e){return r.call(i,e,a++)}),o}function M(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var D={current:null},R={transition:null};e.Children={map:C,forEach:function(e,t,n){C(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return C(e,function(){t++}),t},toArray:function(e){return C(e,function(e){return e})||[]},only:function(e){if(!S(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},e.Component=v,e.Fragment=r,e.Profiler=o,e.PureComponent=y,e.StrictMode=i,e.Suspense=u,e.__SECRET_INT
1ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:R,ReactCurrentOwner:T},e.cloneElement=function(e,n,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=p({},e.props),o=e.key,a=e.ref,s=e._owner;if(null!=n){if(void 0!==n.ref&&(a=n.ref,s=T.current),void 0!==n.key&&(o=""+n.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in n)w.call(n,u)&&!E.hasOwnProperty(u)&&(i[u]=void 0===n[u]&&void 0!==l?l[u]:n[u])}var u=arguments.length-2;if(1===u)i.children=r;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];i.children=l}return{$$typeof:t,type:e.type,key:o,ref:a,props:i,_owner:s}},e.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},e.createElement=P,e.createFactory=function(e){var t=P.bind(null,e);return t.type=e,t},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:l,render:e}},e.isValidElement=S,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:M}},e.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},e.startTransition=function(e){var t=R.transition;R.transition={};try{e()}finally{R.transition=t}},e.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},e.useCallback=function(e,t){return D.current.useCallback(e,t)},e.useContext=function(e){return D.current.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e){return D.current.useDeferredValue(e)},e.useEffect=function(e,t){return D.current.useEffect(e,t)},e.useId=function(){return D.current.useId()},e.useImperativeHandle=function(e,t,n){return D.current.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return D.current.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return D.current.useLayoutEffect(e,t)},e.useMemo=function(e,t){return D.current.useMemo(e,t)},e.useReducer=function(e,t,n){return D.current.useReducer(e,t,n)},e.useRef=function(e){return D.current.useRef(e)},e.useState=function(e){return D.current.useState(e)},e.useSyncExternalStore=function(e,t,n){return D.current.useSyncExternalStore(e,t,n)},e.useTransition=function(){return D.current.useTransition()},e.version="18.2.0"}});d({"../../../node_modules/.pnpm/[email protected]/node_modules/react/cjs/react.development.js"(e,t){}});var h=(i=null!=(r=d({"../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"(e,t){t.exports=f()}})())?o(u(r)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of l(t))c.call(e,n)||void 0===n||a(e,n,{get:()=>t[n],enumerable:!(r=s(t,n))||r.enumerable});return e})(r&&r.__esModule?i:a(i,"default",{value:r,enumerable:!0}),r)),p=e=>e?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase():"";function m(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.some(t=>(null==t||t(e),null==e?void 0:e.defaultPrevented))}}function v(e){return"".concat(e,"-").concat(Math.floor(1e6*Math.random()))}function g(e){for(let t in e)t.startsWith("on")&&delete e[t];return e}function y(e){if(!e||"object"!=typeof e)return"";try{return JSON.stringify(e)}catch(e){return""}}function b(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(){for(var r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];void 0!==t&&clearTimeout(t),t=setTimeout(()=>{t=void 0,e.apply(this,i)},n)}}var x=()=>"19"===h.default.version.split(".")[0],w=e=>x()?e:e?"":void 0;/** 2 * @license React 3 * react.development.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 *//** 10 * @license React 11 * react.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */},45623:function(e,t,n){n.d(t,{c:function(){return c}});var r=n(84449),i=(0,n(80932).tv)({slots:{base:"relative inline-flex flex-col gap-2 items-center justify-center",wrapper:"relative flex",circle1:["absolute","w-full","h-full","rounded-full","animate-spinner-ease-spin","border-2","border-solid","border-t-transparent","border-l-transparent","border-r-transparent"],
17circle2:["absolute","w-full","h-full","rounded-full","opacity-75","animate-spinner-linear-spin","border-2","border-dotted","border-t-transparent","border-l-transparent","border-r-transparent"],label:"text-foreground dark:text-foreground-dark font-regular"},variants:{size:{sm:{wrapper:"w-5 h-5",circle1:"border-2",circle2:"border-2",label:"text-small"},md:{wrapper:"w-8 h-8",circle1:"border-3",circle2:"border-3",label:"text-medium"},lg:{wrapper:"w-10 h-10",circle1:"border-3",circle2:"border-3",label:"text-large"}},color:{current:{circle1:"border-b-current",circle2:"border-b-current"},white:{circle1:"border-b-white",circle2:"border-b-white"},default:{circle1:"border-b-default",circle2:"border-b-default"},primary:{circle1:"border-b-primary",circle2:"border-b-primary"},secondary:{circle1:"border-b-secondary",circle2:"border-b-secondary"},success:{circle1:"border-b-success",circle2:"border-b-success"},warning:{circle1:"border-b-warning",circle2:"border-b-warning"},danger:{circle1:"border-b-danger",circle2:"border-b-danger"}},labelColor:{foreground:{label:"text-foreground"},primary:{label:"text-primary"},secondary:{label:"text-secondary"},success:{label:"text-success"},warning:{label:"text-warning"},danger:{label:"text-danger"}}},defaultVariants:{size:"md",color:"primary",labelColor:"foreground"}}),o=n(96080),a=n(5142),s=n(64090),l=n(3827),u=(0,r.Gp)((e,t)=>{let{slots:n,classNames:u,label:c,getSpinnerProps:d}=function(e){let[t,n]=(0,r.oe)(e,i.variantKeys),{children:l,className:u,classNames:c,label:d,...f}=t,h=(0,s.useMemo)(()=>i({...n}),[(0,o.Xx)(n)]),p=(0,a.W)(null==c?void 0:c.base,u),m=d||l,v=(0,s.useMemo)(()=>m&&"string"==typeof m?m:f["aria-label"]?"":"Loading",[l,m,f["aria-label"]]),g=(0,s.useCallback)(()=>({"aria-label":v,className:h.base({class:p}),...f}),[v,h,p,f]);return{label:m,slots:h,classNames:c,getSpinnerProps:g}}({...e});return(0,l.jsxs)("div",{ref:t,...d(),children:[(0,l.jsxs)("div",{className:n.wrapper({class:null==u?void 0:u.wrapper}),children:[(0,l.jsx)("i",{className:n.circle1({class:null==u?void 0:u.circle1})}),(0,l.jsx)("i",{className:n.circle2({class:null==u?void 0:u.circle2})})]}),c&&(0,l.jsx)("span",{className:n.label({class:null==u?void 0:u.label}),children:c})]})});u.displayName="NextUI.Spinner";var c=u},84449:function(e,t,n){n.d(t,{Gp:function(){return i},Jw:function(){return o},ME:function(){return l},Sz:function(){return s},oe:function(){return a}});var r=n(64090);function i(e){return(0,r.forwardRef)(e)}var o=e=>({...e,[Symbol.iterator]:function(){let e=Object.keys(this),t=0;return{next:()=>{if(t>=e.length)return{done:!0};let n=e[t],r=this[n];return t++,{value:{key:n,value:r},done:!1}}}}}),a=function(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t)return[e,{}];let r=t.reduce((t,n)=>n in e?{...t,[n]:e[n]}:t,{});return n?[Object.keys(e).filter(e=>!t.includes(e)).reduce((t,n)=>({...t,[n]:e[n]}),{}),r]:[e,r]},s=(e,t,n)=>[Object.keys(e).filter(e=>!t.includes(e)||(null==n?void 0:n.includes(e))).reduce((t,n)=>({...t,[n]:e[n]}),{}),t.reduce((t,n)=>({...t,[n]:e[n]}),{})],l=e=>{var t,n,r;return!!(null==(r=null==(n=null==(t=e.type)?void 0:t.render)?void 0:n.displayName)?void 0:r.includes("NextUI"))}},42255:function(e,t,n){n.d(t,{a:function(){return r},w:function(){return i}});var[r,i]=(0,n(82901).k)({name:"ProviderContext",strict:!1})},56295:function(e,t,n){n.d(t,{D:function(){return s},L:function(){return a}});var r=n(46385),i=n(80932),o=n(61149),a=(0,i.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]",...o.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:r.J.solid.default},{variant:"solid",color:"primary",class:r.J.solid.primary},{variant:"solid",color:"secondary",class:r.J.solid.secondary},{variant:"solid",color:"success",class:r.J.solid.success},{variant:"solid",color:"warning",class:r.J.solid.warning},{variant:"solid",color:"danger",class:r.J.solid.danger},{variant:"shadow",color:"default",class:r.J.shadow.default},{variant:"shadow",color:"primary",class:r.J.shadow.primary},{variant:"shadow",color:"secondary",class:r.J.shadow.secondary},{variant:"shadow",color:"success",class:r.J.shadow.success},{variant:"shadow",color:"warning",class:r.J.shadow.warning},{variant:"shadow",color:"danger",class:r.J.shadow.danger},{variant:"bordered",color:"default",class:r.J.bordered.default},{variant:"bordered",color:"primary",class:r.J.bordered.primary},{variant:"bordered",color:"secondary",class:r.J.bordered.secondary},{variant:"bordered",color:"success",class:r.J.bordered.success},{variant:"bordered",color:"warning",class:r.J.bordered.warning},{variant:"bordered",color:"danger",class:r.J.bordered.danger},{variant:"flat",color:"default",class:r.J.flat.default},{variant:"flat",color:"primary",class:r.J.flat.primary},{variant:"flat",color:"secondary",class:r.J.flat.secondary},{variant:"flat",color:"success",class:r.J.flat.success},{variant:"flat",color:"warning",class:r.J.flat.warning},{variant:"flat",color:"danger",class:r.J.flat.danger},{variant:"faded",color:"default",class:r.J.faded.default},{variant:"faded",color:"primary",class:r.J.faded.primary},{variant:"faded",color:"secondary",class:r.J.faded.secondary},{variant:"faded",color:"success",class:r.J.faded.success},{variant:"faded",color:"warning",class:r.J.faded.warning},{variant:"faded",color:"danger",class:r.J.faded.danger},{variant:"light",color:"default",class:[r.J.light.default,"data-[hover=true]:bg-default/40"]},{variant:"light",color:"primary",class:[r.J.light.primary,"data-[hover=true]:bg-primary/20"]},{variant:"light",color:"secondary",class:[r.J.light.secondary,"data-[hover=true]:bg-secondary/20"]},{variant:"light",color:"success",class:[r.J.light.success,"data-[hover=true]:bg-success/20"]},{variant:"light",color:"warning",class:[r.J.light.warning,"data-[hover=true]:bg-warning/20"]},{variant:"light",color:"danger",class:[r.J.light.danger,"data-[hover=true]:bg-danger/20"]},{variant:"ghost",color:"default",class:[r.J.ghost.default,"data-[hover=true]:!bg-default"]},{variant:"ghost",color:"primary",class:[r.J.ghost.primary,"data-[hover=true]:!bg-primary data-[hover=true]:!text-primary-foreground"]},{variant:"ghost",color:"secondary",class:[r.J.ghost.secondary,"data-[hover=true]:!bg-secondary data-[hover=true]:!text-secondary-foreground"]},{variant:"ghost",color:"success",class:[r.J.ghost.success,"data-[hover=true]:!bg-success data-[hover=true]:!text-success-foreground"]},{variant:"ghost",color:"warning",class:[r.J.ghost.warning,"data-[hover=true]:!bg-warning data-[hover=true]:!text-warning-foreground"]},{variant:"ghost",color:"danger",class:[r.J.ghost.danger,"data-[hover=true]:!bg-danger data-[hover=true]:!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:o.Zs.default},{isInGroup:!0,variant:["ghost","bordered"],color:"primary",className:o.Zs.primary},{isInGroup:!0,variant:["ghost","bordered"],color:"secondary",className:o.Zs.secondary},{isInGroup:!0,variant:["ghost","bordered"],color:"success",className:o.Zs.success},{isInGroup:!0,variant:["ghost","bordered"],color:"warning",className:o.Zs.warning},{isInGroup:!0,variant:["ghost","bordered"],color:"danger",className:o.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"}]}),s=(0,i.tv)({base:"inline-flex items-center justify-center h-auto",variants:{fullWidth:{true:"w-full"}},defaultVariants:{fullWidth:!1}})},61149:function(e,t,n){n.d(t,{Dh:function(){return r},ID:function(){return i},PZ:function(){return l},Zs:function(){return s},jR:function(){return o},z6:function(){return a}});var r=["outline-none","data-[focus-visible=true]:z-10","data-[focus-visible=true]:outline-2","data-[focus-visible=true]:outline-focus","data-[focus-visible=true]:outline-offset-2"],i=["outline-none","group-data-[focus-visible=true]:z-10","group-data-[focus-visible=true]:ring-2","group-data-[focus-visible=true]:ring-focus","group-data-[focus-visible=true]:ring-offset-2","group-data-[focus-visible=true]:ring-offset-background"],o=["outline-none","ring-2","ring-focus","ring-offset-2","ring-offset-background"],a=["absolute","top-1/2","left-1/2","-translate-x-1/2","-translate-y-1/2"],s={default:["[&+.border-medium.border-default]:ms-[calc(theme(borderWidth.medium)*-1)]"],primary:["[&+.border-medium.border-primary]:ms-[calc(theme(borderWidth.medium)*-1)]"],secondary:["[&+.border-medium.border-secondary]:ms-[calc(theme(borderWidth.medium)*-1)]"],success:["[&+.border-medium.border-success]:m
17s-[calc(theme(borderWidth.medium)*-1)]"],warning:["[&+.border-medium.border-warning]:ms-[calc(theme(borderWidth.medium)*-1)]"],danger:["[&+.border-medium.border-danger]:ms-[calc(theme(borderWidth.medium)*-1)]"]},l=["[--cursor-hit-x:8px]","font-inherit","text-[100%]","leading-[1.15]","m-0","p-0","overflow-visible","box-border","absolute","top-0","start-[calc(var(--cursor-hit-x)*-1)]","w-[calc(100%+var(--cursor-hit-x)*2)]","h-full","opacity-[0.0001]","z-[1]","cursor-pointer","disabled:cursor-default"]},86744:function(e,t,n){n.d(t,{B:function(){return i}});var r=["small","medium","large"],i={theme:{opacity:["disabled"],spacing:["divider"],borderWidth:r,borderRadius:r},classGroups:{shadow:[{shadow:r}],"font-size":[{text:["tiny",...r]}],"bg-image":["bg-stripe-gradient-default","bg-stripe-gradient-primary","bg-stripe-gradient-secondary","bg-stripe-gradient-success","bg-stripe-gradient-warning","bg-stripe-gradient-danger"]}}},46385:function(e,t,n){n.d(t,{J:function(){return r}});var r={solid:{default:"bg-default text-default-foreground",primary:"bg-primary text-primary-foreground",secondary:"bg-secondary text-secondary-foreground",success:"bg-success text-success-foreground",warning:"bg-warning text-warning-foreground",danger:"bg-danger text-danger-foreground",foreground:"bg-foreground text-background"},shadow:{default:"shadow-lg shadow-default/50 bg-default text-default-foreground",primary:"shadow-lg shadow-primary/40 bg-primary text-primary-foreground",secondary:"shadow-lg shadow-secondary/40 bg-secondary text-secondary-foreground",success:"shadow-lg shadow-success/40 bg-success text-success-foreground",warning:"shadow-lg shadow-warning/40 bg-warning text-warning-foreground",danger:"shadow-lg shadow-danger/40 bg-danger text-danger-foreground",foreground:"shadow-lg shadow-foreground/40 bg-foreground text-background"},bordered:{default:"bg-transparent border-default text-foreground",primary:"bg-transparent border-primary text-primary",secondary:"bg-transparent border-secondary text-secondary",success:"bg-transparent border-success text-success",warning:"bg-transparent border-warning text-warning",danger:"bg-transparent border-danger text-danger",foreground:"bg-transparent border-foreground text-foreground"},flat:{default:"bg-default/40 text-default-700",primary:"bg-primary/20 text-primary-600",secondary:"bg-secondary/20 text-secondary-600",success:"bg-success/20 text-success-700 dark:text-success",warning:"bg-warning/20 text-warning-700 dark:text-warning",danger:"bg-danger/20 text-danger-600 dar
17k:text-danger-500",foreground:"bg-foreground/10 text-foreground"},faded:{default:"border-default bg-default-100 text-default-foreground",primary:"border-default bg-default-100 text-primary",secondary:"border-default bg-default-100 text-secondary",success:"border-default bg-default-100 text-success",warning:"border-default bg-default-100 text-warning",danger:"border-default bg-default-100 text-danger",foreground:"border-default bg-default-100 text-foreground"},light:{default:"bg-transparent text-default-foreground",primary:"bg-transparent text-primary",secondary:"bg-transparent text-secondary",success:"bg-transparent text-success",warning:"bg-transparent text-warning",danger:"bg-transparent text-danger",foreground:"bg-transparent text-foreground"},ghost:{default:"border-default text-default-foreground",primary:"border-primary text-primary",secondary:"border-secondary text-secondary",success:"border-success text-success",warning:"border-warning text-warning",danger:"border-danger text-danger",foreground:"border-foreground text-foreground hover:!bg-foreground"}}},88585:function(e,t,n){n.d(t,{A:function(){return a},p:function(){return o}});var r=n(80932),i=n(61149),o=(0,r.tv)({base:["relative inline-flex items-center outline-none tap-highlight-transparent",...i.Dh],variants:{size:{sm:"text-small",md:"text-medium",lg:"text-large"},color:{foreground:"text-foreground",primary:"text-primary",secondary:"text-secondary",success:"text-success",warning:"text-warning",danger:"text-danger"},underline:{none:"no-underline",hover:"hover:underline",always:"underline",active:"active:underline",focus:"focus:underline"},isBlock:{true:["px-2","py-1","hover:after:opacity-100","after:content-['']","after:inset-0","after:opacity-0","after:w-full","after:h-full","after:rounded-xl","after:transition-background","after:absolute"],false:"hover:opacity-80 active:opacity-disabled transition-opacity"},isDisabled:{true:"opacity-disabled cursor-default pointer-events-none"},disableAnimation:{true:"after:transition-none transition-none"}},compoundVariants:[{isBlock:!0,color:"foreground",class:"hover:after:bg-foreground
17/10"},{isBlock:!0,color:"primary",class:"hover:after:bg-primary/20"},{isBlock:!0,color:"secondary",class:"hover:after:bg-secondary/20"},{isBlock:!0,color:"success",class:"hover:after:bg-success/20"},{isBlock:!0,color:"warning",class:"hover:after:bg-warning/20"},{isBlock:!0,color:"danger",class:"hover:after:bg-danger/20"},{underline:["hover","always","active","focus"],class:"underline-offset-4"}],defaultVariants:{color:"primary",size:"md",isBlock:!1,underline:"none",isDisabled:!1}}),a="flex mx-1 text-current self-center"},80932:function(e,t,n){n.d(t,{tv:function(){return et}});var r=n(86744),i=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,o=e=>!e||"object"!=typeof e||0===Object.keys(e).length,a=(e,t)=>JSON.stringify(e)===JSON.stringify(t);function s(e){let t=[];return function e(t,n){t.forEach(function(t){Array.isArray(t)?e(t,n):n.push(t)})}(e,t),t}var l=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return s(t).filter(Boolean)},u=(e,t)=>{let n={},r=Object.keys(e),i=Object.keys(t);for(let o of r)if(i.includes(o)){let r=e[o],i=t[o];"object"==typeof r&&"object"==typeof i?n[o]=u(r,i):Array.isArray(r)||Array.isArray(i)?n[o]=l(i,r):n[o]=i+" "+r}else n[o]=e[o];for(let e of i)r.includes(e)||(n[e]=t[e]);return n},c=e=>e&&"string"==typeof e?e.replace(/\s+/g," ").trim():e,d=/^\[(.+)\]$/;function f(e,t){var n=e;return t.split("-").forEach(function(e){n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n}var h=/\s+/;function p(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){if("string"==typeof t)return t;for(var n,r="",i=0;i<t.length;i++)t[i]&&(n=e(t[i]))&&(r&&(r+=" "),r+=n);return r}(e))&&(r&&(r+=" "),r+=t);return r}function m(){for(var e,t,n,r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=function(r){var o=i[0];return t=(e=function(e){var t,n,r,i,o,a,s,l,u,c,h;return{cache:function(e){if(e<1)return{get:function(){},set:function(){}};var t=0,n=new Map,r=new Map;function i(i,o){n.set(i,o),++t>e&&(t=0,r=n,n=new Map)}return{get:function(e){var t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(i(e,t),t):void 0},set:function(e,t){n.has(e)?n.set(e,t):i(e,t)}}}(e.cacheSize),splitModifiers:(n=1===(t=e.separator||":").length,r=t[0],i=t.length,function(e){for(var o,a=[],s=0,l=0,u=0;u<e.length;u++){var c=e[u];if(0===s){if(c===r&&(n||e.slice(u,u+i)===t)){a.push(e.slice(l,u)),l=u+i;continue}if("/"===c){o=u;continue}}"["===c?s++:"]"===c&&s--}var d=0===a.length?e:e.substring(l),f=d.startsWith("!"),h=f?d.substring(1):d;return{modifiers:a,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:o&&o>l?o-l:void 0}}),...(l=e.theme,u=e.prefix,c={nextPart:new Map,validators:[]},(h=Object.entries(e.classGroups),u?h.map(function(e){return[e[0],e[1].map(function(e){return"string"==typeof e?u+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(function(e){return[u+e[0],e[1]]})):e})]}):h).forEach(function(e){var t=e[0];(function e(t,n,r,i){t.forEach(function(t){if("string"==typeof t){(""===t?n:f(n,t)).classGroupId=r;return}if("function"==typeof t){if(t.isThemeGetter){e(t(i),n,r,i);return}n.validators.push({validator:t,classGroupId:r});return}Object.entries(t).forEach(function(t){var o=t[0];e(t[1],f(n,o),r,i)})})})(e[1],c,t,l)}),o=e.conflictingClassGroups,s=void 0===(a=e.conflictingClassGroupModifiers)?{}:a,{getClassGroupId:function(e){var t=e.split("-");return""===t[0]&&1!==t.length&&t.shift(),function e(t,n){if(0===t.length)return n.classGroupId;var r,i=t[0],o=n.nextPart.get(i),a=o?e(t.slice(1),o):void 0;if(a)return a;if(0!==n.validators.length){var s=t.join("-");return null===(r=n.validators.find(function(e){return(0,e.validator)(s)}))||void 0===r?void 0:r.classGroupId}}(t,c)||function(e){if(d.test(e)){var t=d.exec(e)[1],n=null==t?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}(e)},getConflictingClassGroupIds:function(e,t){var n=o[e]||[];return t&&s[e]?[].concat(n,s[e]):n}})}}(i.slice(1).reduce(function(e,t){return t(e)},o()))).cache.get,n=e.cache.set,a=s,s(r)};function s(r){var i,o,a,s,l,u=t(r);if(u)return u;var c=(o=(i=e).splitModifiers,a=i.getClassGroupId,s=i.getConflictingClassGroupIds,l=new Set,r.trim().split(h).map(function(e){var t=o(e),n=t.modifiers,r
17=t.hasImportantModifier,i=t.baseClassName,s=t.maybePostfixModifierPosition,l=a(s?i.substring(0,s):i),u=!!s;if(!l){if(!s||!(l=a(i)))return{isTailwindClass:!1,originalClassName:e};u=!1}var c=(function(e){if(e.length<=1)return e;var t=[],n=[];return e.forEach(function(e){"["===e[0]?(t.push.apply(t,n.sort().concat([e])),n=[]):n.push(e)}),t.push.apply(t,n.sort()),t})(n).join(":");return{isTailwindClass:!0,modifierId:r?c+"!":c,classGroupId:l,originalClassName:e,hasPostfixModifier:u}}).reverse().filter(function(e){if(!e.isTailwindClass)return!0;var t=e.modifierId,n=e.classGroupId,r=e.hasPostfixModifier,i=t+n;return!l.has(i)&&(l.add(i),s(n,r).forEach(function(e){return l.add(t+e)}),!0)}).reverse().map(function(e){return e.originalClassName}).join(" "));return n(r,c),c}return function(){return a(p.apply(null,arguments))}}function v(e){var t=function(t){return t[e]||[]};return t.isThemeGetter=!0,t}var g=/^\[(?:([a-z-]+):)?(.+)\]$/i,y=/^\d+\/\d+$/,b=new Set(["px","full","screen"]),x=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,w=/\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$/,T=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function E(e){return M(e)||b.has(e)||y.test(e)||P(e)}function P(e){return F(e,"length",N)}function S(e){return F(e,"size",I)}function A(e){return F(e,"position",I)}function k(e){return F(e,"url",B)}function C(e){return F(e,"number",M)}function M(e){return!Number.isNaN(Number(e))}function D(e){return e.endsWith("%")&&M(e.slice(0,-1))}function R(e){return W(e)||F(e,"number",W)}function L(e){return g.test(e)}function V(){return!0}function j(e){return x.test(e)}function O(e){return F(e,"",z)}function F(e,t,n){var r=g.exec(e);return!!r&&(r[1]?r[1]===t:n(r[2]))}function N(e){return w.test(e)}function I(){return!1}function B(e){return e.startsWith("url(")}function W(e){return Number.isInteger(Number(e))}function z(e){return T.test(e)}function U(){var e=v("colors"),t=v("spacing"),n=v("blur"),r=v("brightness"),i=v("borderColor"),o=v("borderRadius"),a=v("borderSpacing"),s=v("borderWidth"),l=v("contrast"),u=v("grayscale"),c=v("hueRotate"),d=v("invert"),f=v("gap"),h=v("gradientColorStops"),p=v("gradientColorStopPositions"),m=v("inset"),g=v("margin"),y=v("opacity"),b=v("padding"),x=v("saturate"),w=v("scale"),T=v("sepia"),F=v("skew"),N=v("space"),I=v("translate"),B=function(){return["auto","contain","none"]},W=function(){return["auto","hidden","clip","visible","scroll"]},z=function(){return["auto",L,t]},U=function(){return[L,t]},K=function(){return["",E]},_=function(){return["auto",M,L]},H=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},G=function(){return["solid","dashed","dotted","double","none"]},X=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},J=function(){return["start","end","center","between","around","evenly","stretch"]},$=function(){return["","0",L]},Y=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},q=function(){return[M,C]},Z=function(){return[M,L]};return{cacheSize:500,theme:{colors:[V],spacing:[E],blur:["none","",j,L],brightness:q(),borderColor:[e],borderRadius:["none","","full",j,L],borderSpacing:U(),borderWidth:K(),contrast:q(),grayscale:$(),hueRotate:Z(),invert:$(),gap:U(),gradientColorStops:[e],gradientColorStopPositions:[D,P],inset:z(),margin:z(),opacity:q(),padding:U(),saturate:q(),scale:q(),sepia:$(),skew:Z(),space:U(),translate:U()},classGroups:{aspect:[{aspect:["auto","square","video",L]}],container:["container"],columns:[{columns:[j]}],"break-after":[{"break-after":Y()}],"break-before":[{"break-before":Y()}],"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"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(H(),[L])}],overflow:[{overflow:W()}],"overflow-x":[{"overflow-x":W()}],"overflow-y":[{"overflow-y":W()}],overscroll:[{overscroll:B()}],"overscroll-x":[{"overscroll-x":B()}],"overscroll-y":[{"overscroll-y":B()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}
vendor: 4,575 bytes, line 17
17],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",R]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",L]}],grow:[{grow:$()}],shrink:[{shrink:$()}],order:[{order:["first","last","none",R]}],"grid-cols":[{"grid-cols":[V]}],"col-start-end":[{col:["auto",{span:["full",R]},L]}],"col-start":[{"col-start":_()}],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":[V]}],"row-start-end":[{row:["auto",{span:[R]},L]}],"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",L]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",L]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal"].concat(J())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(J(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(J(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[N]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[N]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",L,t]}],"min-w":[{"min-w":["min","max","fit",L,E]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[j]},j,L]}],h:[{h:[L,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",L,E]}],"max-h":[{"max-h":[L,t,"min","max","fit"]}],"font-size":[{text:["base",j,P]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",C]}],"font-family":[{font:[V]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",L]}],"line-clamp":[{"line-clamp":["none",M,C]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",L,E]}],"list-image":[{"list-image":["none",L]}],"list-style-type":[{list:["none","disc","decimal",L]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(G(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",E]}],"underline-offset":[{"underline-offset":["auto",L,E]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:U()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",L]}],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",L]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(H(),[A])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",S]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},k]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[p]}
17],"gradient-via-pos":[{via:[p]}],"gradient-to-pos":[{to:[p]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],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:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[].concat(G(),["hidden"])}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}
vendor: 6,413 bytes, line 17
17],"divide-style":[{divide:G()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:[""].concat(G())}],"outline-offset":[{"outline-offset":[L,E]}],"outline-w":[{outline:[E]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:K()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[E]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",j,O]}],"shadow-color":[{shadow:[V]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":X()}],"bg-blend":[{"bg-blend":X()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",j,L]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[x]}],sepia:[{sepia:[T]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[T]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",L]}],duration:[{duration:Z()}],ease:[{ease:["linear","in","out","in-out",L]}],delay:[{delay:Z()}],animate:[{animate:["none","spin","ping","pulse","bounce",L]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[R,L]}],"translate-x":[{"translate-x":[I]}],"translate-y":[{"translate-y":[I]}],"skew-x":[{"skew-x":[F]}],"skew-y":[{"skew-y":[F]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",L]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],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",L]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":U()}],"scroll-mx":[{"scroll-mx":U()}],"scroll-my":[{"scroll-my":U()}],"scroll-ms":[{"scroll-ms":U()}],"scroll-me":[{"scroll-me":U()}],"scroll-mt":[{"scroll-mt":U()}],"scroll-mr":[{"scroll-mr":U()}],"scroll-mb":[{"scroll-mb":U()}],"scroll-ml":[{"scroll-ml":U()}],"scroll-p":[{"scroll-p":U()}],"scroll-px":[{"scroll-px":U()}],"scroll-py":[{"scroll-py":U()}],"scroll-ps":[{"scroll-ps":U()}],"scroll-pe":[{"scroll-pe":U()}],"scroll-pt":[{"scroll-pt":U()}],"scroll-pr":[{"scroll-pr":U()}],"scroll-pb":[{"scroll-pb":U()}],"scroll-pl":[{"scroll-pl":U()}],"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","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",L]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[E,C]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},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"],"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"],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-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"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}var K=m(U),_=Object.prototype.hasOwnProperty,H=new Set(["string","number","boolean"]),G={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},X=e=>e||void 0,J=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];
17return X(s(t).filter(Boolean).join(" "))},$=null,Y={},q=!1,Z=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>e.twMerge?((!$||q)&&(q=!1,$=o(Y)?K:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?m.apply(void 0,[U,e].concat(n)):m.apply(void 0,[function(){return function(e,t){for(var n in t)(function e(t,n,r){if(!_.call(t,n)||H.has(typeof r)||null===r){t[n]=r;return}if(Array.isArray(r)&&Array.isArray(t[n])){t[n]=t[n].concat(r);return}if("object"==typeof r&&"object"==typeof t[n]){if(null===t[n]){t[n]=r;return}for(var i in r)e(t[n],i,r[i])}})(e,n,t[n]);return e}(U(),e)}].concat(n))}(Y)),X($(J(t)))):J(t)},Q=(e,t)=>{for(let n in t)e.hasOwnProperty(n)?e[n]=J(e[n],t[n]):e[n]=t[n];return e},ee=(e,t)=>{let{extend:n=null,slots:r={},variants:s={},compoundVariants:d=[],compoundSlots:f=[],defaultVariants:h={}}=e,p={...G,...t},m=null!=n&&n.base?J(n.base,null==e?void 0:e.base):null==e?void 0:e.base,v=null!=n&&n.variants&&!o(n.variants)?u(s,n.variants):s,g=null!=n&&n.defaultVariants&&!o(n.defaultVariants)?{...n.defaultVariants,...h}:h;o(p.twMergeConfig)||a(p.twMergeConfig,Y)||(q=!0,Y=p.twMergeConfig);let y=o(null==n?void 0:n.slots),b=o(r)?{}:{base:J(null==e?void 0:e.base,y&&(null==n?void 0:n.base)),...r},x=y?b:Q({...null==n?void 0:n.slots},o(b)?{base:null==e?void 0:e.base}:b),w=e=>{if(o(v)&&o(r)&&y)return Z(m,null==e?void 0:e.class,null==e?void 0:e.className)(p);if(d&&!Array.isArray(d))throw TypeError('The "compoundVariants" prop must be an array. Received: '.concat(typeof d));if(f&&!Array.isArray(f))throw TypeError('The "compoundSlots" prop must be an array. Received: '.concat(typeof f));let t=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0,i=n;if("string"==typeof t)i=i.concat(c(t).split(" ").map(t=>"".concat(e,":").concat(t)));else if(Array.isArray(t))i=i.concat(t.reduce((t,n)=>t.concat("".concat(e,":").concat(n)),[]));else if("object"==typeof t&&"string"==typeof r){for(let n in t)if(t.hasOwnProperty(n)&&n===r){let o=t[n];if(o&&"string"==typeof o){let t=c(o);i[r]?i[r]=i[r].concat(t.split(" ").map(t=>"".concat(e,":").concat(t))):i[r]=t.split(" ").map(t=>"".concat(e,":").concat(t))}else Array.isArray(o)&&o.length>0&&(i[r]=o.reduce((t,n)=>t.concat("".concat(e,":").concat(n)),[]))}}return i},a=function(n){var r;let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,u=a[n];if(!u||o(u))return null;let c=null!=(r=null==l?void 0:l[n])?r:null==e?void 0:e[n];if(null===c)return null;let d=i(c),f=Array.isArray(p.responsiveVariants)&&p.responsiveVariants.length>0||!0===p.responsiveVariants,h=null==g?void 0:g[n],m=[];
17if("object"==typeof d&&f)for(let[e,n]of Object.entries(d)){let r=u[n];if("initial"===e){h=n;continue}Array.isArray(p.responsiveVariants)&&!p.responsiveVariants.includes(e)||(m=t(e,r,m,s))}let y=u[d]||u[i(h)];return"object"==typeof m&&"string"==typeof s&&m[s]?Q(m,y):m.length>0?(m.push(y),m):y},s=(e,t)=>{if(!v||"object"!=typeof v)return null;let n=[];for(let r in v){let i=a(r,v,e,t),o="base"===e&&"string"==typeof i?i:i&&i[e];o&&(n[n.length]=o)}return n},u={};for(let t in e)void 0!==e[t]&&(u[t]=e[t]);let h=(t,n)=>{var r;let i="object"==typeof(null==e?void 0:e[t])?{[t]:null==(r=e[t])?void 0:r.initial}:{};return{...g,...u,...i,...n}},b=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=[];for(let{class:r,className:i,...o}of e){let e=!0;for(let[n,r]of Object.entries(o)){let i=h(n,t);if(Array.isArray(r)){if(!r.includes(i[n])){e=!1;break}}else if(i[n]!==r){e=!1;break}}e&&(r&&n.push(r),i&&n.push(i))}return n},w=e=>{let t=b(d,e);return l(b(null==n?void 0:n.compoundVariants,e),t)},T=e=>{let t=w(e);if(!Array.isArray(t))return t;let n={};for(let e of t)if("string"==typeof e&&(n.base=Z(n.base,e)(p)),"object"==typeof e)for(let[t,r]of Object.entries(e))n[t]=Z(n[t],r)(p);return n},E=e=>{if(f.length<1)return null;let t={};for(let{slots:n=[],class:r,className:i,...a}of f){if(!o(a)){let t=!0;for(let n of Object.keys(a)){let r=h(n,e)[n];if(void 0===r||(Array.isArray(a[n])?!a[n].includes(r):a[n]!==r)){t=!1;break}}if(!t)continue}for(let e of n)t[e]=t[e]||[],t[e].push([r,i])}return t};if(!o(r)||!y){let e={};if("object"==typeof x&&!o(x))for(let t of Object.keys(x))e[t]=e=>{var n,r;return Z(x[t],s(t,e),(null!=(n=T(e))?n:[])[t],(null!=(r=E(e))?r:[])[t],null==e?void 0:e.class,null==e?void 0:e.className)(p)};return e}return Z(m,v?Object.keys(v).map(e=>a(e,v)):null,w(),null==e?void 0:e.class,null==e?void 0:e.className)(p)};return w.variantKeys=(()=>{if(!(!v||"object"!=typeof v))return Object.keys(v)})(),w.extend=n,w.base=m,w.slots=x,w.variants=v,w.defaultVariants=g,w.compoundSlots=f,w.compoundVariants=d,w},et=(e,t)=>{var n,i,o;return ee(e,{...t,twMerge:null==(n=null==t?void 0:t.twMerge)||n,twMergeConfig:{...null==t?void 0:t.twMergeConfig,theme:{...null==(i=null==t?void 0:t.twMergeConfig)?void 0:i.theme,...r.B.theme},classGroups:{...null==(o=null==t?void 0:t.twMergeConfig)?void 0:o.classGroups,...r.B.classGroups}}})}},26411:function(e,t,n){n.d(t,{j:function(){return u}});var r=n(86045),i=n(75229),o=n(3614),a=n(42669),s=n(83683),l=n(91262);function u(e,t){let n,{elementType:u="button",isDisabled:c,onPress:d,onPressStart:f,onPressEnd:h,onPressChange:p,preventFocusOnPress:m,allowFocusWhenDisabled:v,onClick:g,href:y,target:b,rel:x,type:w="button",allowTextSelectionOnPress:T}=e;n="button"===u?{type:w,disabled:c}:{role:"button",tabIndex:c?void 0:0,href:"a"!==u||c?void 0:y,target:"a"===u?b:void 0,type:"input"===u?w:void 0,disabled:"input"===u?c:void 0,"aria-disabled":c&&"input"!==u?c:void 0,rel:"a"===u?x:void 0};let E=(0,i.gn)()||(0,i.Dt)();g&&"function"==typeof g&&(0,r.Z)("onClick is deprecated, please use onPress instead. See: https://github.com/nextui-org/nextui/issues/4292","useButton");let{pressProps:P,isPressed:S}=(0,l.r)({onPressStart:f,onPressEnd:h,onPressChange:p,onPress:e=>{E&&(null==g||g(e)),null==d||d(e)},isDisabled:c,preventFocusOnPress:m,allowTextSelectionOnPress:T,ref:t}),{focusableProps:A}=(0,s.k)(e,t);v&&(A.tabIndex=c?-1:A.tabIndex);let k=(0,o.d)(A,P,(0,a.z)(e,{labelable:!0}));return{isPressed:S,buttonProps:(0,o.d)(n,k,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:e=>{"button"===w&&E||null==g||g(e)}})}}},14895:function(e,t,n){n.d(t,{d:function(){return o}});var r=n(64090),i=n(3248);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{onLoad:t,onError:n,ignoreFallback:o}=e,a=r.useSyncExternalStore(()=>()=>{},()=>!0,()=>!1),s=(0,r.useRef)(a?new Image:null),[l,u]=(0,r.useState)("pending");(0,r.useEffect)(()=>{s.current&&(s.current.onload=e=>{c(),u("loaded"),null==t||t(e)},s.current.onerror=e=>{c(),u("failed"),null==n||n(e)})},[s.current]);let c=()=>
17{s.current&&(s.current.onload=null,s.current.onerror=null,s.current=null)};return(0,i.G)(()=>{a&&u(function(e,t){let{loading:n,src:r,srcSet:i,crossOrigin:o,sizes:a,ignoreFallback:s}=e;if(!r)return"pending";if(s)return"loaded";let l=new Image;return(l.src=r,o&&(l.crossOrigin=o),i&&(l.srcset=i),a&&(l.sizes=a),n&&(l.loading=n),t.current=l,l.complete&&l.naturalWidth)?"loaded":"loading"}(e,s))},[a]),o?"loaded":l}},3248:function(e,t,n){n.d(t,{G:function(){return i}});var r=n(64090),i=(null==globalThis?void 0:globalThis.document)?r.useLayoutEffect:r.useEffect},54992:function(e,t,n){n.d(t,{MT:function(){return c},E7:function(){return A},QL:function(){return S},cW:function(){return y}});var r=n(9902),i=n(69350),o=n(14581),a=n(64090);let s=a.createContext(null),l="react-aria-focus-scope-restore",u=null;function c(e){let t,n,{children:r,contain:c,restoreFocus:d,autoFocus:f}=e,h=(0,a.useRef)(null),y=(0,a.useRef)(null),A=(0,a.useRef)([]),{parentNode:k}=(0,a.useContext)(s)||{},C=(0,a.useMemo)(()=>new M({scopeRef:A}),[A]);(0,o.b)(()=>{let e=k||D.root;if(D.getTreeNode(e.scopeRef)&&u&&!b(u,e.scopeRef)){let t=D.getTreeNode(u);t&&(e=t)}e.addChild(C),D.addNode(C)},[C,k]),(0,o.b)(()=>{let e=D.getTreeNode(A);e&&(e.contain=!!c)},[c]),(0,o.b)(()=>{var e;let t=null===(e=h.current)||void 0===e?void 0:e.nextSibling,n=[],r=e=>e.stopPropagation();for(;t&&t!==y.current;)n.push(t),t.addEventListener(l,r),t=t.nextSibling;return A.current=n,()=>{for(let e of n)e.removeEventListener(l,r)}},[r]),(0,o.b)(()=>{if(d||c)return;let e=A.current,t=(0,i.r)(e?e[0]:void 0),n=e=>{let t=e.target;v(t,A.current)?u=A:g(t)||(u=null)};return t.addEventListener("focusin",n,!1),null==e||e.forEach(e=>e.addEventListener("focusin",n,!1)),()=>{t.removeEventListener("focusin",n,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",n,!1))}},[A,d,c]),t=(0,a.useRef)(void 0),n=(0,a.useRef)(void 0),(0,o.b)(()=>{let e=A.current;if(!c){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}let r=(0,i.r)(e?e[0]:void 0),o=e=>{if("Tab"!==e.key||e.altKey||e.ctrlKey||e.metaKey||!m(A)||e.isComposing)return;let t=r.activeElement,n=A.current;if(!n||!v(t,n))return;let i=S(p(n),{tabbable:!0},n);if(!t)return;i.currentNode=t;let o=e.shiftKey?i.previousNode():i.nextNode();o||(i.currentNode=e.shiftKey?n[n.length-1].nextElementSibling:n[0].previousElementSibling,o=e.shiftKey?i.previousNode():i.nextNode()),e.preventDefault(),o&&x(o,!0)},a=e=>{(!u||b(u,A))&&v(e.target,A.current)?(u=A,t.current=e.target):m(A)&&!g(e.target,A)?t.current?t.current.focus():u&&u.current&&T(u.current):m(A)&&(t.current=e.target)},s=e=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{if(r.activeElement&&m(A)&&!g(r.activeElement,A)){if(u=A,r.body.contains(e.target)){var n;t.current=e.target,null===(n=t.current)||void 0===n||n.focus()}else u.current&&T(u.current)}})};return r.addEventListener("keydown",o,!1),r.addEventListener("focusin",a,!1),null==e||e.forEach(e=>e.addEventListener("focusin",a,!1)),null==e||e.forEach(e=>e.addEventListener("focusout",s,!1)),()=>{r.removeEventListener("keydown",o,!1),r.removeEventListener("focusin",a,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",a,!1)),null==e||e.forEach(e=>e.removeEventListener("focusout",s,!1))}},[A,c]),(0,o.b)(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n]),function(e,t,n){let r=(0,a.useRef)("undefined"!=typeof document?(0,i.r)(e.current?e.current[0]:void 0).activeElement:null);(0,o.b)(()=>{let r=e.current,o=(0,i.r)(r?r[0]:void 0);if(!t||n)return;let a=()=>{(!u||b(u,e))&&v(o.activeElement,e.current)&&(u=e)};return o.addEventListener("focusin",a,!1),null==r||r.forEach(e=>e.addEventListener("focusin",a,!1)),()=>{o.removeEventListener("focusin",a,!1),null==r||r.forEach(e=>e.removeEventListener("focusin",a,!1))}},[e,n]),(0,o.b)(()=>{let r=(0,i.r)(e.current?e.current[0]:void 0);if(!t)return;let o=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!m(e)||t.isComposing)return;let n=r.activeElement;if(!g(n,e)||!E(e))return;let i=D.getTreeNode(e);if(!i)return;let o=i.nodeToRestore,a=S(r.body,{tabbable:!0});a.currentNode=n;let s=t.shiftKey?a.previousNode():a.nextNode();if(o&&r.body.contains(o)&&o!==r.body||(o=void 0,i.nodeToRestore=void 0),(!s||!g(s,e))&&o){a.currentNode=o;do s=t.shiftKey?a.previousNode():a.nextNode();while(g(s,e));(t.preventDefault(),t.stopPropagation(),s)?x(s,!0):g(o)?x(o,!0):n.blur()}};return n||r.addEventListener("keydown",o,!0),()=>{n||r.removeEventListener("keydown",o,!0)}},[e,t,n]),(0,o.b)(()=>{var n;let o=(0,i.r)(e.current?e.current[0]:void 0);if(!t)return;let a=D.getTreeNode(e);if(a)return a.nodeToRestore=null!==(n=r.current)&&void 0!==n?n:void 0,()=>{let n=D.getTreeNode(e);if(!n)return;let r=n.nodeToRestore;if(t&&r&&(o.activeElement&&g(o.activeElement,e)||o.activeElement===o.body&&E(e))){let t=D.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let n=t.getTreeNode(e);for(;n;){if(n.nodeToRestore&&n.nodeToRestore.isConnected){P(n.nodeToRestore);return}n=n.parent}for(n=t.getTreeNode(e);n;){if(n.scopeRef&&n.scopeRef.current&&D.getTreeNode(n.scopeRef)){P(w(n.scopeRef.current,!0));return}n=n.parent}}})}}},[e,t])}(A,d,c),function(e,t){let n=a.useRef(t);(0,a.useEffect)(()=>{n.current&&(u=e,!v((0,i.r)(e.current?e.current[0]:void 0).activeElement,u.current)&&e.current&&T(e.current)),n.current=!1},[e])}(A,f),(0,a.useEffect)(()=>{let e=(0,i.r)(A.current?A.current[0]:void 0).activeElement,t=null;if(v(e,A.current)){for(let n of D.traverse())n.scopeRef&&v(e,n.scopeRef.current)&&(t=n);t===D.getTreeNode(A)&&(u=t.scopeRef)}},[A]),(0,o.b)(()=>()=>{var e,t,n;let r=null!==(n=null===(t=D.getTreeNode(A))||void 0===t?void 0:null===(e=t.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==n?n:null;(A===u||b(A,u))&&(!r||D.getTreeNode(r))&&(u=r),D.removeTreeNode(A)},[A]);let R=(0,a.useMemo)(()=>({focusNext(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=A.current,{from:n,tabbable:r,wrap:o,accept:a}=e,s=n||(0,i.r)(t[0]).activeElement,l=t[0].previousElementSibling,u=S(p(t),{tabbable:r,accept:a},t);u.currentNode=v(s,t)?s:l;let c=u.nextNode();return!c&&o&&(u.currentNode=l,c=u.nextNode()),c&&x(c,!0),c},focusPrevious(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=A.current,{from:n,tabbable:r,wrap:o,accept:a}=e,s=n||(0,i.r)(t[0]).activeElement,l=t[t.length-1].nextElementSibling,u=S(p(t),{tabbable:r,accept:a},t);u.currentNode=v(s,t)?s:l;let c=u.previousNode();return!c&&o&&(u.currentNode=l,c=u.previousNode()),c&&x(c,!0),c},focusFirst(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=A.current,{tabbable:n,accept:r}=e,i=S(p(t),{tabbable:n,accept:r},t);i.currentNode=t[0].previousElementSibling;let o=i.nextNode();return o&&x(o,!0),o},focusLast(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=A.current,{tabbable:n,accept:r}=e,i=S(p(t),{tabbable:n,accept:r},t);i.currentNode=t[t.length-1].nextElementSibling;let o=i.previousNode();return o&&x(o,!0),o}}),[]),L=(0,a.useMemo)(()=>({focusManager:R,parentNode:C}),[C,R]);return a.createElement(s.Provider,{value:L},a.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:h}),r,a.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:y}))}let d=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],f=d.join(":not([hidden]),")+",[tabindex]:not
17([disabled]):not([hidden])";d.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let h=d.join(':not([hidden]):not([tabindex="-1"]),');function p(e){return e[0].parentElement}function m(e){let t=D.getTreeNode(u);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function v(e,t){return!!e&&!!t&&t.some(t=>t.contains(e))}function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of D.traverse(D.getTreeNode(t)))if(n&&v(e,n.current))return!0;return!1}function y(e){return g(e,u)}function b(e,t){var n;let r=null===(n=D.getTreeNode(t))||void 0===n?void 0:n.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function x(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==e||t){if(null!=e)try{e.focus()}catch(e){}}else try{(0,r.e)(e)}catch(e){}}function w(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=e[0].previousElementSibling,r=p(e),i=S(r,{tabbable:t},e);i.currentNode=n;let o=i.nextNode();return t&&!o&&((i=S(r=p(e),{tabbable:!1},e)).currentNode=n,o=i.nextNode()),o}function T(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];x(w(e,t))}function E(e){let t=D.getTreeNode(u);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(null==t?void 0:t.scopeRef)===e}function P(e){e.dispatchEvent(new CustomEvent(l,{bubbles:!0,cancelable:!0}))&&x(e)}function S(e,t,n){let r=(null==t?void 0:t.tabbable)?h:f,o=(0,i.r)(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(e){var o;return(null==t?void 0:null===(o=t.from)||void 0===o?void 0:o.contains(e))?NodeFilter.FILTER_REJECT:e.matches(r)&&function e(t,n){return"#comment"!==t.nodeName&&function(e){let t=(0,i.k)(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}=e.style,o="none"!==n&&"hidden"!==r&&"collapse"!==r;if(o){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:n,visibility:r}=t(e);o="none"!==n&&"hidden"!==r&&"collapse"!==r}return o}(t)&&!t.hasAttribute("hidden")&&!t.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==t.nodeName||!n||"SUMMARY"===n.nodeName||t.hasAttribute("open"))&&(!t.parentElement||e(t.parentElement,t))}(e)&&(!n||v(e,n))&&(!(null==t?void 0:t.accept)||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return(null==t?void 0:t.from)&&(o.currentNode=t.from),o}function A(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{focusNext(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.current;if(!r)return null;let{from:o,tabbable:a=t.tabbable,wrap:s=t.wrap,accept:l=t.accept}=n,u=o||(0,i.r)(r).activeElement,c=S(r,{tabbable:a,accept:l});r.contains(u)&&(c.currentNode=u);let d=c.nextNode();return!d&&s&&(c.currentNode=r,d=c.nextNode()),d&&x(d,!0),d},focusPrevious(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,r=e.current;if(!r)return null;let{from:o,tabbable:a=t.tabbable,wrap:s=t.wrap,accept:l=t.accept}=n,u=o||(0,i.r)(r).activeElement,c=S(r,{tabbable:a,accept:l});if(r.contains(u))c.currentNode=u;else{let e=k(c);return e&&x(e,!0),null!=e?e:null}let d=c.previousNode();if(!d&&s){c.currentNode=r;let e=k(c);if(!e)return null;d=e}return d&&x(d,!0),null!=d?d:null},focusFirst(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,r=e.current;if(!r)return null;let{tabbable:i=t.tabbable,accept:o=t.accept}=n,a=S(r,{tabbable:i,accept:o}).nextNode();return a&&x(a,!0),a},focusLast(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,r=e.current;if(!r)return null;let{tabbable:i=t.tabbable,accept:o=t.accept}=n,a=k(S(r,{tabbable:i,accept:o}));return a&&x(a,!0),null!=a?a:null}}}function k(e){let t,n;do(t=e.lastChild())&&(n=t);while(t);return n}class C{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(null!=t?t:null);if(!r)return;let i=new M({scopeRef:e});r.addChild(i),i.parent=r,this.fastMap.set(e,i),n&&(i.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&v(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>
170&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.root;if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let n=new C;for(let r of this.traverse())n.addTreeNode(r.scopeRef,null!==(t=null===(e=r.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==t?t:null,r.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new M({scopeRef:null}),this.fastMap.set(null,this.root)}}class M{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let D=new C},9902:function(e,t,n){n.d(t,{e:function(){return s}});var r=n(69350),i=n(39853),o=n(48106),a=n(38549);function s(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,o.A)(e)})}else(0,o.A)(e)}},25615:function(e,t,n){n.d(t,{F:function(){return s}});var r=n(38549),i=n(11810),o=n(21242),a=n(64090);function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{autoFocus:t=!1,isTextInput:n,within:s}=e,l=(0,a.useRef)({isFocused:!1,isFocusVisible:t||(0,r.E)()}),[u,c]=(0,a.useState)(!1),[d,f]=(0,a.useState)(()=>l.current.isFocused&&l.current.isFocusVisible),h=(0,a.useCallback)(()=>f(l.current.isFocused&&l.current.isFocusVisible),[]),p=(0,a.useCallback)(e=>{l.current.isFocused=e,c(e),h()},[h]);(0,r.mG)(e=>{l.current.isFocusVisible=e,h()},[],{isTextInput:n});let{focusProps:m}=(0,i.K)({isDisabled:s,onFocusChange:p}),{focusWithinProps:v}=(0,o.L)({isDisabled:!s,onFocusWithinChange:p});return{isFocused:u,isFocusVisible:d,focusProps:s?v:m}}},83683:function(e,t,n){n.d(t,{k:function(){return c}});var r=n(9902),i=n(54323),o=n(3614),a=n(64090),s=n(11810),l=n(85695);let u=a.createContext(null);function c(e,t){let{focusProps:n}=(0,s.K)(e),{keyboardProps:c}=(0,l.v)(e),d=(0,o.d)(n,c),f=function(e){let t=(0,a.useContext)(u)||{};(0,i.l)(t,e);let{ref:n,...r}=t;return r}(t),h=e.isDisabled?{}:f,p=(0,a.useRef)(e.autoFocus);return(0,a.useEffect)(()=>{p.current&&t.current&&(0,r.e)(t.current),p.current=!1},[t]),{focusableProps:(0,o.d)({...d,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},h)}}},61699:function(e,t,n){n.d(t,{O:function(){return r}});let r=n(64090).createContext({register:()=>{}});r.displayName="PressResponderContext"},49149:function(e,t,n){n.d(t,{A:function(){return c},l:function(){return u}});var r=n(75229),i=n(69350),o=n(39853);let a="default",s="",l=new WeakMap;function u(e){if((0,r.gn)()){if("default"===a){let t=(0,i.r)(e);s=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}a="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(l.set(e,e.style.userSelect),e.style.userSelect="none")}function c(e){if((0,r.gn)())"disabled"===a&&(a="restoring",setTimeout(()=>{(0,o.Q)(()=>{if("restoring"===a){let t=(0,i.r)(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=s||""),s="",a="default"}})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&l.has(e)){let t=l.get(e);"none"===e.style.userSelect&&(e.style.userSelect=t),""===e.getAttribute("style")&&e.removeAttribute("style"),l.delete(e)}}},11810:function(e,t,n){n.d(t,{K:function(){return a}});var r=n(44364),i=n(64090),o=n(69350);function a(e){let{isDisabled:t,onFocus:n,onBlur:a,onFocusChange:s}=e,l=(0,i.useCallback)(e=>{if(e.target===e.currentTarget)return a&&a(e),s&&s(!1),!0},[a,s]),u=(0,r.d)(l),c=(0,i.useCallback)(e=>{let t=(0,o.r)(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(n&&n(e),s&&s(!0),u(e))},[s,n,u]);return{focusProps:{onFocus:!t&&(n||s||a)?c:void 0,onBlur:!t&&(a||s)?l:void 0}}}},38549:function(e,t,n){n.d(t,{E:function(){return w},Jz:function(){return T},_w:function(){return E},mG:function(){return S}});var r=n(75229),i=n(68669),o=n(69350),a=n(64090);let s=null,l=new Set,u=new Map,c=!1,d=!1,f={Tab:!0,Escape:!0};function h(e,t){for(let n of l)n(e,t)}function p(e){c=!0,e.metaKey||!(0,r.V5)()&&e.altKey||e.ctrlKey||"Control"
17===e.key||"Shift"===e.key||"Meta"===e.key||(s="keyboard",h("keyboard",e))}function m(e){s="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(c=!0,h("pointer",e))}function v(e){(0,i.Z)(e)&&(c=!0,s="virtual")}function g(e){e.target!==window&&e.target!==document&&(c||d||(s="virtual",h("virtual",e)),c=!1,d=!1)}function y(){c=!1,d=!0}function b(e){if(u.get((0,o.k)(e)))return;let t=(0,o.k)(e),n=(0,o.r)(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){c=!0,r.apply(this,arguments)},n.addEventListener("keydown",p,!0),n.addEventListener("keyup",p,!0),n.addEventListener("click",v,!0),t.addEventListener("focus",g,!0),t.addEventListener("blur",y,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",m,!0),n.addEventListener("pointermove",m,!0),n.addEventListener("pointerup",m,!0)):(n.addEventListener("mousedown",m,!0),n.addEventListener("mousemove",m,!0),n.addEventListener("mouseup",m,!0)),t.addEventListener("beforeunload",()=>{x(e)},{once:!0}),u.set(t,{focus:r})}let x=(e,t)=>{let n=(0,o.k)(e),r=(0,o.r)(e);t&&r.removeEventListener("DOMContentLoaded",t),u.has(n)&&(n.HTMLElement.prototype.focus=u.get(n).focus,r.removeEventListener("keydown",p,!0),r.removeEventListener("keyup",p,!0),r.removeEventListener("click",v,!0),n.removeEventListener("focus",g,!0),n.removeEventListener("blur",y,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",m,!0),r.removeEventListener("pointermove",m,!0),r.removeEventListener("pointerup",m,!0)):(r.removeEventListener("mousedown",m,!0),r.removeEventListener("mousemove",m,!0),r.removeEventListener("mouseup",m,!0)),u.delete(n))};function w(){return"pointer"!==s}function T(){return s}function E(e){s=e,h(e,null)}"undefined"!=typeof document&&function(e){let t;let n=(0,o.r)(e);"loading"!==n.readyState?b(e):(t=()=>{b(e)},n.addEventListener("DOMContentLoaded",t)),()=>x(e,t)}();let P=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function S(e,t,n){b(),(0,a.useEffect)(()=>{let t=(t,r)=>{(function(e,t,n){var r;let i=(0,o.k)(null==n?void 0:n.target).HTMLInputElement,a=(0,o.k)(null==n?void 0:n.target).HTMLTextAreaElement,s=(0,o.k)(null==n?void 0:n.target).HTMLElement,l=(0,o.k)(null==n?void 0:n.target).KeyboardEvent;return!((e=e||(null==n?void 0:n.target)instanceof i&&!P.has(null==n?void 0:null===(r=n.target)||void 0===r?void 0:r.type)||(null==n?void 0:n.target)instanceof a||(null==n?void 0:n.target)instanceof s&&(null==n?void 0:n.target.isContentEditable))&&"keyboard"===t&&n instanceof l&&!f[n.key])})(!!(null==n?void 0:n.isTextInput),t,r)&&e(w())};return l.add(t),()=>{l.delete(t)}},t)}},21242:function(e,t,n){n.d(t,{L:function(){return o}});var r=n(44364),i=n(64090);function o(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:o,onFocusWithinChange:a}=e,s=(0,i.useRef)({isFocusWithin:!1}),l=(0,i.useCallback)(e=>{s.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(s.current.isFocusWithin=!1,n&&n(e),a&&a(!1))},[n,a,s]),u=(0,r.d)(l),c=(0,i.useCallback)(e=>{s.current.isFocusWithin||document.activeElement!==e.target||(o&&o(e),a&&a(!0),s.current.isFocusWithin=!0,u(e))},[o,a,u]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:c,onBlur:l}}}},53700:function(e,t,n){n.d(t,{X:function(){return u}});var r=n(64090);let i=!1,o=0;function a(){i=!0,setTimeout(()=>{i=!1},50)}function s(e){"touch"===e.pointerType&&a()}function l(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",s):document.addEventListener("touchend",a),o++,()=>{--o>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",s):document.removeEventListener("touchend",a))}}function u(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:o,isDisabled:a}=e,[s,u]=(0,r.useState)(!1),c=(0,r.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,r.useEffect)(l,[]);let{hoverProps:d,triggerHoverEnd:f}=(0,r.useMemo)(()=>{let e=(e,r)=>{if(c.pointerType=r,a||"touch"===r||c.isHovered||!e.currentTarget.contains(e.target))return;c.isHovered=!0;let i=e.currentTarget;c.target=i,t&&t({type:"hoverstart",target:i,pointerType:r}),n&&n(!0),u(!0)},r=(e,t)=>{if(c.pointerType="",c.target=null,"touch"===t||!c.isHovered)return;c.isHovered=!1;let r=e.currentTarget;o&&o({type:"hoverend",target:r,pointerType:t}),n&&n(!1),u(!1)},s={};return"undefined"!=typeof PointerEvent?(s.onPointerEnter=t=>{i&&"mouse"===t.pointerType||e(t,t.pointerType)},s.onPointerLeave=e=>{!a&&e.currentTarget.contains(e.target)&&r(e,e.pointerType)}):(s.onTouchStart=()=>{c.ignoreEmulatedMouseEvents=!0},s.onMouseEnter=t=>{c.ignoreEmulatedMouseEvents||i||e(t,"mouse"),c.ignoreEmulatedMouseEvents=!1},s.onMouseLeave=e=>{!a&&e.currentTarget.contains(e.target)&&r(e,"mouse")}),{hoverProps:s,triggerHoverEnd:r}},[t,n,o,a,c]);return(0,r.useEffect)(()=>{a&&f({currentTarget:c.target},c.pointerType)},[a]),{hoverProps:d,isHovered:s}}},85695: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}})},91262:function(e,t,n){n.d(t,{r:function(){return T}});var r=n(49149),i=n(61699),o=n(32731),a=n(79258),s=n(5577),l=n(3614),u=n(54323),c=n(16434),d=n(6755),f=n(69350),h=n(68168),p=n(75229),m=n(64892),v=n(68669),g=n(48106),y=n(64090),b=new WeakMap;class x{continuePropagation(){(0,s._)(this,b,!1)}get shouldStopPropagation(){return(0,o._)(this,b)}constructor(e,t,n,r){var i;(0,a._)(this,b,{writable:!0,value:void 0}),(0,s._)(this,b,!0);let o=null!==(i=null==r?void 0:r.target)&&void 0!==i?i:n.currentTarget,l=null==o?void 0:o.getBoundingClientRect(),u,c=0,d,f=null;
17null!=n.clientX&&null!=n.clientY&&(d=n.clientX,f=n.clientY),l&&(null!=d&&null!=f?(u=d-l.left,c=f-l.top):(u=l.width/2,c=l.height/2)),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=u,this.y=c}}let w=Symbol("linkClicked");function T(e){let{onPress:t,onPressChange:n,onPressStart:o,onPressEnd:a,onPressUp:s,isDisabled:b,isPressed:T,preventFocusOnPress:L,shouldCancelOnPointerExit:V,allowTextSelectionOnPress:j,ref:O,...F}=function(e){let t=(0,y.useContext)(i.O);if(t){let{register:n,...r}=t;e=(0,l.d)(r,e),n()}return(0,u.l)(t,e.ref),e}(e),[N,I]=(0,y.useState)(!1),B=(0,y.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:W,removeAllGlobalListeners:z}=(0,c.x)(),U=(0,d.i)((e,t)=>{let r=B.current;if(b||r.didFirePressStart)return!1;let i=!0;if(r.isTriggeringEvent=!0,o){let n=new x("pressstart",t,e);o(n),i=n.shouldStopPropagation}return n&&n(!0),r.isTriggeringEvent=!1,r.didFirePressStart=!0,I(!0),i}),K=(0,d.i)(function(e,r){let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],o=B.current;if(!o.didFirePressStart)return!1;o.ignoreClickAfterPress=!0,o.didFirePressStart=!1,o.isTriggeringEvent=!0;let s=!0;if(a){let t=new x("pressend",r,e);a(t),s=t.shouldStopPropagation}if(n&&n(!1),I(!1),t&&i&&!b){let n=new x("press",r,e);t(n),s&&(s=n.shouldStopPropagation)}return o.isTriggeringEvent=!1,s}),_=(0,d.i)((e,t)=>{let n=B.current;if(b)return!1;if(s){n.isTriggeringEvent=!0;let r=new x("pressup",t,e);return s(r),n.isTriggeringEvent=!1,r.shouldStopPropagation}return!0}),H=(0,d.i)(e=>{let t=B.current;t.isPressed&&t.target&&(t.isOverTarget&&null!=t.pointerType&&K(k(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,z(),j||(0,r.A)(t.target))}),G=(0,d.i)(e=>{V&&H(e)}),X=(0,y.useMemo)(()=>{let e=B.current,t={onKeyDown(t){if(P(t.nativeEvent,t.currentTarget)&&t.currentTarget.contains(t.target)){var r;R(t.target,t.key)&&t.preventDefault();let i=!0;if(!e.isPressed&&!t.repeat){e.target=t.currentTarget,e.isPressed=!0,i=U(t,"keyboard");let r=t.currentTarget;W((0,f.r)(t.currentTarget),"keyup",(0,h.t)(t=>{P(t,r)&&!t.repeat&&r.contains(t.target)&&e.target&&_(k(e.target,t),"keyboard")},n),!0)}i&&t.stopPropagation(),t.metaKey&&(0,p.V5)()&&(null===(r=e.metaKeyEvents)||void 0===r||r.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||t.currentTarget.contains(t.target))&&t&&0===t.button&&!e.isTriggeringEvent&&!m.nG.isOpening){let n=!0;if(b&&t.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||(0,v.Z)(t.nativeEvent))){b||L||(0,g.A)(t.currentTarget);let e=U(t,"virtual"),r=_(t,"virtual"),i=K(t,"virtual");n=e&&r&&i}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,n&&t.stopPropagation()}}},n=t=>{var n,r,i;if(e.isPressed&&e.target&&P(t,e.target)){R(t.target,t.key)&&t.preventDefault();let n=t.target;K(k(e.target,t),"keyboard",e.target.contains(n)),z(),"Enter"!==t.key&&E(e.target)&&e.target.contains(n)&&!t[w]&&(t[w]=!0,(0,m.nG)(e.target,t,!1)),e.isPressed=!1,null===(r=e.metaKeyEvents)||void 0===r||r.delete(t.key)}else if("Meta"===t.key&&(null===(n=e.metaKeyEvents)||void 0===n?void 0:n.size)){let t=e.metaKeyEvents;for(let n of(e.metaKeyEvents=void 0,t.values()))null===(i=e.target)||void 0===i||i.dispatchEvent(new KeyboardEvent("keyup",n))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{if(0!==t.button||!t.currentTarget.contains(t.target))return;if((0,v.c)(t.nativeEvent)){e.pointerType="virtual";return}M(t.currentTarget)&&t.preventDefault(),e.pointerType=t.pointerType;let o=!0;e.isPressed||(e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,b||L||(0,g.A)(t.currentTarget),j||(0,r.l)(e.target),o=U(t,e.pointerType),W((0,f.r)(t.currentTarget),"pointermove",n,!1),W((0,f.r)(t.currentTarget),"pointerup",i,!1),W((0,f.r)(t.currentTarget),"pointercancel",a,!1)),o&&t.stopPropagation()},t.onMouseDown=e=>{e.currentTarget.contains(e.target)&&0===e.button&&(M(e.currentTarget)&&e.preventDefault(),e.stopPropagation())},t.onPointerUp=t=>{t.currentTarget.contains(t.target)&&"virtual"!==e.pointerType&&0===t.button&&C(t,t.currentTarget)&&_(t,e.pointerType||t.pointerType)};let n=t=>{t.pointerId===e.activePointerId&&(e.target&&C(t,e.target)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,U(k(e.target,t),e.pointerType)):e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,K(k(e.target,t),e.pointerType,!1),G(t)))},i=t=>{t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target&&(C(t,e.target)&&null!=e.pointerType?K(k(e.target,t),e.pointerType):e.isOverTarget&&null!=e.pointerType&&K(k(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,z(),j||(0,r.A)(e.target),"ontouchend"in e.target&&"mouse"!==t.pointerType&&W(e.target,"touchend",o,{once:!0}))},o=e=>{D(e.currentTarget)&&e.preventDefault()},a=e=>{H(e)};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&H(e)}}else{t.onMouseDown=t=>{if(0===t.button&&t.currentTarget.contains(t.target)){if(M(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents){t.stopPropagation();return}e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=(0,v.Z)(t.nativeEvent)?"virtual":"mouse",b||L||(0,g.A)(t.currentTarget),U(t,e.pointerType)&&t.stopPropagation(),W((0,f.r)(t.currentTarget),"mouseup",n,!1)}},t.onMouseEnter=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!0,n=U(t,e.pointerType)),n&&t.stopPropagation()},t.onMouseLeave=t=>{if(!t.currentTarget.contains(t.target))return;let n=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!1,n=K(t,e.pointerType,!1),G(t)),n&&t.stopPropagation()},t.onMouseUp=t=>{t.currentTarget.contains(t.target)&&!e.ignoreEmulatedMouseEvents&&0===t.button&&_(t,e.pointerType||"mouse")};let n=t=>{if(0===t.button){if(e.isPressed=!1,z(),e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&C(t,e.target)&&null!=e.pointerType?K(k(e.target,t),e.pointerType):e.target&&e.isOverTarget&&null!=e.pointerType&&K(k(e.target,t),e.pointerType,!1),e.isOverTarget=!1}};t.onTouchStart=t=>{if(!t.currentTarget.contains(t.target))return;let n=function(e){let{targetTouches:t}=e;return t.length>0?t[0]:null}(t.nativeEvent);n&&(e.activePointerId=n.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=t.currentTarget,e.pointerType="touch",b||L||(0,g.A)(t.currentTarget),j||(0,r.l)(e.target),U(A(e.target,t),e.pointerType)&&t.stopPropagation(),W((0,f.k)(t.currentTarget),"scroll",i,!0))},t.onTouchMove=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let n=S(t.nativeEvent,e.activePointerId),r=!0;n&&C(n,t.currentTarget)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,r=U(A(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,r=K(A(e.target,t),e.pointerType,!1),G(A(e.target,t))),r&&t.stopPropagation()},t.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let n=S(t.nativeEvent,e.activePointerId),i=!0;n&&C(n,t.currentTarget)&&null!=e.pointerType?(_(A(e.target,t),e.pointerType),i=K(A(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(i=K(A(e.target,t),e.pointerType,!1)),i&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!j&&(0,r.A)(e.target),z()},t.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&H(A(e.target,t)))};let i=t=>{e.isPressed&&t.target.contains(e.target)&&H({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&H(e)}}return t},[W,b,L,z,j,H,G,K,U,_]);return(0,y.useEffect)(()=>()=>{var e;j||(0,r.A)(null!==(e=B.current.target)&&void 0!==e?e:void 0)},[j]),{isPressed:T||N,pressProps:(0,l.d)(F,X)}}function E(e){return"A"===e.tagName&&e.hasAttribute("href")}function P(e,t){let{key:n,code:r}=e,i=t.getAttribute("role");return("Enter"===n||" "===n||"Spacebar"===n||"Space"===r)&&!(t instanceof(0,f.k)(t).HTMLInputElement&&!V(t,n)||t instanceof(0,f.k)(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===i||!i&&E(t))&&"Enter"!==n)}function S(e,t){let n=e.changedTouches;for(let e=0;e<n.length;e++){let r=n[e];if(r.identifier===t)return r}return null}function A(e,t){let n=0,r=0;return t.targetTouches&&1===t.targetTouches.length&&(n=t.targetTouches[0].clientX,r=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r}}function k(e,t){let n=t.clientX,r=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r}}function C(e,t){let n,r,i=t.getBoundingClientRect(),o=(n=0,r=0,void 0!==e.width?n=e.width/2:void 0!==e.radiusX&&(n=e.radiusX),void 0!==e.height?r=e.height/2:void 0!==e.radiusY&&(r=e.radiu
17sY),{top:e.clientY-r,right:e.clientX+n,bottom:e.clientY+r,left:e.clientX-n});return!(i.left>o.right)&&!(o.left>i.right)&&!(i.top>o.bottom)&&!(o.top>i.bottom)}function M(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function D(e){return!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!E(e))}function R(e,t){return e instanceof HTMLInputElement?!V(e,t):D(e)}let L=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function V(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:L.has(e.type)}},44364:function(e,t,n){n.d(t,{d:function(){return s}});var r=n(64090),i=n(14581),o=n(6755);class a{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function s(e){let t=(0,r.useRef)({isFocused:!1,observer:null});(0,i.b)(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let n=(0,o.i)(t=>{null==e||e(t)});return(0,r.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target;r.addEventListener("focusout",e=>{t.current.isFocused=!1,r.disabled&&n(new a("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[n])}},78208:function(e,t,n){n.d(t,{aV:function(){return f},Bq:function(){return h}});var r=n(64090);let i=(0,r.createContext)({});var o=n(61699);function a(e){let{children:t}=e,n=(0,r.useMemo)(()=>({register:()=>{}}),[]);return r.createElement(o.O.Provider,{value:n},t)}var s=n(54992),l=n(89542),u=n(5031),c=n(14581);let d=r.createContext(null);function f(e){var t;let n=(0,u.Av)(),{portalContainer:o=n?null:document.body,isExiting:c}=e,[f,h]=(0,r.useState)(!1),p=(0,r.useMemo)(()=>({contain:f,setContain:h}),[f,h]),{getContainer:m}=null!==(t=(0,r.useContext)(i))&&void 0!==t?t:{};if(!e.portalContainer&&m&&(o=m()),!o)return null;let v=e.children;return e.disableFocusManagement||(v=r.createElement(s.MT,{restoreFocus:!0,contain:f&&!c},v)),v=r.createElement(d.Provider,{value:p},r.createElement(a,null,v)),l.createPortal(v,o)}function h(){let e=(0,r.useContext)(d),t=null==e?void 0:e.setContain;(0,c.b)(()=>{null==t||t(!0)},[t])}},42865:function(e,t,n){let r;n.d(t,{t:function(){return d}});var i=n(14581),o=n(75229),a=n(68168),s=n(53942);let l="undefined"!=typeof document&&window.visualViewport,u=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),c=0;function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{isDisabled:t}=e;(0,i.b)(()=>{if(!t){let e,t,n,i,u;return 1==++c&&(r=(0,o.gn)()?(n=null,i=()=>{if(n)return;let e=window.pageXOffset,t=window.pageYOffset;n=(0,a.t)(h(window,"scroll",()=>{window.scrollTo(0,0)}),f(document.documentElement,"paddingRight","".concat(window.innerWidth-document.documentElement.clientWidth,"px")),f(document.documentElement,"overflow","hidden"),f(document.body,"marginTop","-".concat(t,"px")),()=>{window.scrollTo(e,t)}),window.scrollTo(0,0)},u=(0,a.t)(h(document,"touchstart",n=>{((e=(0,s.r)(n.target,!0))!==document.documentElement||e!==document.body)&&e instanceof HTMLElement&&"auto"===window.getComputedStyle(e).overscrollBehavior&&(t=f(e,"overscrollBehavior","contain"))},{passive:!1,capture:!0}),h(document,"touchmove",t=>{if(!e||e===document.documentElement||e===document.body){t.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&t.preventDefault()},{passive:!1,capture:!0}),h(document,"touchend",e=>{let n=e.target;m(n)&&n!==document.activeElement&&(e.preventDefault(),i(),n.style.transform="translateY(-2000px)",n.focus(),requestAnimationFrame(()=>{n.style.transform=""})),t&&t()},{passive:!1,capture:!0}),h(document,"focus",e=>{let t=e.target;m(t)&&(i(),t.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{t.style.transform="",l&&(l.height<window.innerHeight?requestAnimationFrame(()=>{p(t)}):l.addEventListener("resize",()=>p(t),{once:!0}))}))},!0)),()=>{null==t||t(),null==n||n(),u()}):(0,a.t)(f(document.documentElement,"paddingRight","".concat(window.innerWidth-document.documentElement.clientWidth,"px")),f(document.documentElement,"overflow","hidden"))),()=>{0==--c&&r()}}},[t])}function f(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function h(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function p(e){let t=document.scrollingElement||document.documentElement,n=e;for(;n&&n!==t;){let e=(0,s.r)(n);if(e!==document.documentElement&&e!==document.body&&e!==n){let t=e.getBoundingClientRect().top,r=n.getBoundingClientRect().top;r>t+n.clientHeight&&(e.scrollTop+=r-t)}n=e.parentElement}}function m(e){return e instanceof HTMLInputElement&&!u.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}},5031:function(e,t,n){n.d(t,{Av:function(){return h},gP:function(){return u}});var r=n(64090);let i={prefix:String(Math.round(1e10*Math.random())),current:0},o=r.createContext(i),a=r.createContext(!1),s=!!(window.document&&window.document.createElement),l=new WeakMap,u="function"==typeof r.useId?function(e){let t=r.useId(),[n]=(0,r.useState)(h()),o=n?"react-aria":"react-aria".concat(i.prefix);return e||"".concat(o,"-").concat(t)}:function(e){let t=(0,r.useContext)(o);t!==i||s||console.warn("When server rendering, you must wrap your application in an <SSRProvi
17der> to ensure consistent ids are generated between the client and server.");let n=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=(0,r.useContext)(o),n=(0,r.useRef)(null);if(null===n.current&&!e){var i,a;let e=null===(a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===a?void 0:null===(i=a.ReactCurrentOwner)||void 0===i?void 0:i.current;if(e){let n=l.get(e);null==n?l.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==n.state&&(t.current=n.id,l.delete(e))}n.current=++t.current}return n.current}(!!e),a="react-aria".concat(t.prefix);return e||"".concat(a,"-").concat(n)};function c(){return!1}function d(){return!0}function f(e){return()=>{}}function h(){return"function"==typeof r.useSyncExternalStore?r.useSyncExternalStore(f,c,d):(0,r.useContext)(a)}},68168:function(e,t,n){n.d(t,{t:function(){return r}});function r(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];for(let e of t)"function"==typeof e&&e(...n)}}},69350:function(e,t,n){n.d(t,{k:function(){return i},r:function(){return r}});let r=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},i=e=>e&&"window"in e&&e.window===e?e:r(e).defaultView||window},42669:function(e,t,n){n.d(t,{z:function(){return s}});let r=new Set(["id"]),i=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),o=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),a=/^(data-.*)$/;function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{labelable:n,isLink:s,propNames:l}=t,u={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r.has(t)||n&&i.has(t)||s&&o.has(t)||(null==l?void 0:l.has(t))||a.test(t))&&(u[t]=e[t]);return u}},48106:function(e,t,n){function r(e){if(function(){if(null==i){i=!1;try{document.createElement("div").focus({get preventScroll(){return i=!0,!0}})}catch(e){}}return i}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}n.d(t,{A:function(){return r}});let i=null},53942:function(e,t,n){n.d(t,{r:function(){return i}});var r=n(24226);function i(e,t){let n=e;for((0,r.a)(n,t)&&(n=n.parentElement);n&&!(0,r.a)(n,t);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}},24226:function(e,t,n){n.d(t,{a:function(){return r}});function r(e,t){if(!e)return!1;let n=window.getComputedStyle(e),r=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return r&&t&&(r=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),r}},68669:function(e,t,n){n.d(t,{Z:function(){return i},c:function(){return o}});var r=n(75229);function i(e){return 0===e.mozInputSource&&!!e.isTrusted||((0,r.Dt)()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function o(e){return!(0,r.Dt)()&&0===e.width&&0===e.height||1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType}},3614:function(e,t,n){n.d(t,{d:function(){return a}});var r=n(68168),i=n(68849),o=function(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t)){var o=t.length;for(n=0;n<o;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r)}else for(r in t)t[r]&&(i&&(i+=" "),i+=r)}return i}(e))&&(r&&(r+=" "),r+=t);return r};function a(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let a={...t[0]};for(let e=1;e<t.length;e++){let n=t[e];for(let e in n){let t=a[e],s=n[e];"function"==typeof t&&"function"==typeof s&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?a[e]=(0,r.t)(t,s):("className"===e||"UNSAFE_className"===e)&&"string"==typeof t&&"string"==typeof s?a[e]=o(t,s):"id"===e&&t&&s?a.id=(0,i.ur)(t,s):a[e]=void 0!==s?s:t}}return a}},64892:function(e,t,n){n.d(t,{b0:function(){return u},eY:function(){return h},fU:function(){return f},nG:function(){return c},pG:function(){return s},tv:function(){return l}});var r=n(48106),i=n(75229),o=n(64090);let a=(0,o.createContext)({isNative:!0,open:function(e,t){d(e,e=>c(e,t))},useHref:e=>e});function s(e){let{children:t,navigate:n,useHref:r}=e,i=(0,o.useMemo)(()=>({isNative:!1,open:(e,t,r,i)=>{d(e,e=>{u(e,t)?n(r,i):c(e,t)})},useHref:r||(e=>e)}),[n,r]);return o.createElement(a.Provider,{value:i},t)}function l(){return(0,o.useContext)(a)}function u(e,t){let n=e.getAttribute("target");return(!n||"_self"===n)&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function c(e,t){var n,o;let a=!(arguments.length>2)||void 0===arguments[2]||arguments[2],{metaKey:s,ctrlKey:l,altKey:u,shiftKey:d}=t;(0,i.vU)()&&(null===(o=window.event)||void 0===o?void 0:null===(n=o.type)||void 0===n?void 0:n.startsWith("key"))&&"_blank"===e.target&&((0,i.V5)()?s=!0:l=!0);let f=(0,i.Pf)()&&(0,i.V5)()&&!(0,i.zc)()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:s,ctrlKey:l,altKey:u,shiftKey:d}):new MouseEvent("click",{metaKey:s,ctrlKey:l,altKey:u,shiftKey:d,bubbles:!0,cancelable:!0});c.isOpening=a,(0,r.A)(e),e.dispatchEvent(f),c.isOpening=!1}function d(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let n=document.createElement("a");n.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(n.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(n.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(n.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(n.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(n.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(n),t(n),e.removeChild(n)}}function f(e){var t;let n=l().useHref(null!==(t=e.href)&&void 0!==t?t:"");return{"data-href":e.href?n:void 0,"data-target":e.target,"data-rel":e.rel,"data-download":e.download,"data-ping":e.ping,"data-referrer-policy":e.referrerPolicy}}function h(e){var t;let n=l().useHref(null!==(t=null==e?void 0:e.href)&&void 0!==t?t:"");return{href:(null==e?void 0:e.href)?n:void 0,target:null==e?void 0:e.target,rel:null==e?void 0:e.rel,download:null==e?void 0:e.download,ping:null==e?void 0:e.ping,referrerPolicy:null==e?void 0:e.referrerPolicy}}c.isOpening=!1},75229:function(e,t,n){function r(e){var t;return null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function i(e){var t;return null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function o(e){let t=null;return()=>(null==t&&(t=e()),t)}n.d(t,{Dt:function(){return h},Pf:function(){return d},V5:function(){return a},ad:function(){return c},gn:function(){return u},vU:function(){return p},zc:function(){return l}});let a=o(function(){return i(/^Mac/i)}),s=o(function(){return i(/^iPhone/i)}),l=o(function(){return i(/^iPad/i)||a()&&navigator.maxTouchPoints>1}),u=o(function(){return s()||l()}),c=o(function(){return a()||u()}
17),d=o(function(){return r(/AppleWebKit/i)&&!f()}),f=o(function(){return r(/Chrome/i)}),h=o(function(){return r(/Android/i)}),p=o(function(){return r(/Firefox/i)})},39853:function(e,t,n){n.d(t,{Q:function(){return a}});let r=new Map,i=new Set;function o(){function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let o=r.get(n.target);if(o&&(o.delete(n.propertyName),0===o.size&&(n.target.removeEventListener("transitioncancel",t),r.delete(n.target)),0===r.size)){for(let e of i)e();i.clear()}};document.body.addEventListener("transitionrun",n=>{if(!e(n)||!n.target)return;let i=r.get(n.target);i||(i=new Set,r.set(n.target,i),n.target.addEventListener("transitioncancel",t,{once:!0})),i.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}function a(e){requestAnimationFrame(()=>{0===r.size?e():i.add(e)})}"undefined"!=typeof document&&("loading"!==document.readyState?o():document.addEventListener("DOMContentLoaded",o))},6755:function(e,t,n){n.d(t,{i:function(){return o}});var r=n(14581),i=n(64090);function o(e){let t=(0,i.useRef)(null);return(0,r.b)(()=>{t.current=e},[e]),(0,i.useCallback)(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];let i=t.current;return null==i?void 0:i(...n)},[])}},16434:function(e,t,n){n.d(t,{x:function(){return i}});var r=n(64090);function i(){let e=(0,r.useRef)(new Map),t=(0,r.useCallback)((t,n,r,i)=>{let o=(null==i?void 0:i.once)?function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];e.current.delete(r),r(...n)}:r;e.current.set(r,{type:n,eventTarget:t,fn:o,options:i}),t.addEventListener(n,r,i)},[]),n=(0,r.useCallback)((t,n,r,i)=>{var o;let a=(null===(o=e.current.get(r))||void 0===o?void 0:o.fn)||r;t.removeEventListener(n,a,i),e.current.delete(r)},[]),i=(0,r.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,r.useEffect)(()=>i,[i]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:i}}},68849:function(e,t,n){n.d(t,{ur:function(){return c},Me:function(){return u},mp:function(){return d}});var r=n(14581),i=n(6755),o=n(64090),a=n(5031);let s=!!(window.document&&window.document.createElement),l=new Map;function u(e){let[t,n]=(0,o.useState)(e),i=(0,o.useRef)(null),u=(0,a.gP)(t),c=(0,o.useCallback)(e=>{i.current=e},[]);return s&&(l.has(u)&&!l.get(u).includes(c)?l.set(u,[...l.get(u),c]):l.set(u,[c])),(0,r.b)(()=>()=>{l.delete(u)},[u]),(0,o.useEffect)(()=>{let e=i.current;e&&(i.current=null,n(e))}),u}function c(e,t){if(e===t)return e;let n=l.get(e);if(n)return n.forEach(e=>e(t)),t;let r=l.get(t);return r?(r.forEach(t=>t(e)),e):t}function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=u(),[n,a]=function(e){let[t,n]=(0,o.useState)(e),a=(0,o.useRef)(null),s=(0,i.i)(()=>{if(!a.current)return;let e=a.current.next();if(e.done){a.current=null;return}t===e.value?s():n(e.value)});(0,r.b)(()=>{a.current&&s()});let l=(0,i.i)(e=>{a.current=e(t),s()});return[t,l]}(t),s=(0,o.useCallback)(()=>{a(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,a]);return(0,r.b)(s,[t,s,...e]),n}},14581:function(e,t,n){n.d(t,{b:function(){return i}});var r=n(64090);let i="undefined"!=typeof document?r.useLayoutEffect:()=>{}},54323:function(e,t,n){n.d(t,{l:function(){return i}});var r=n(14581);function i(e,t){(0,r.b)(()=>
17{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}},81754:function(e,t,n){n.d(t,{z:function(){return i}});var r=n(64090);function i(e,t,n){let[i,o]=(0,r.useState)(e||t),a=(0,r.useRef)(void 0!==e),s=void 0!==e;(0,r.useEffect)(()=>{let e=a.current;e!==s&&console.warn("WARN: A component changed from ".concat(e?"controlled":"uncontrolled"," to ").concat(s?"controlled":"uncontrolled",".")),a.current=s},[s]);let l=s?e:i,u=(0,r.useCallback)(function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];let a=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];n&&!Object.is(l,e)&&n(e,...r),s||(l=e)};"function"==typeof e?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),o(function(t){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];let u=e(s?l:t,...i);return(a(u,...r),s)?t:u})):(s||o(e),a(e,...r))},[s,l,n]);return[l,u]}},67354:function(e,t,n){n.d(t,{J:function(){return r}});function r(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}},32731:function(e,t,n){n.d(t,{_:function(){return i}});var r=n(67354);function i(e,t){var n=(0,r.J)(e,t,"get");return n.get?n.get.call(e):n.value}},79258:function(e,t,n){n.d(t,{_:function(){return r}});function r(e,t,n){!function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,n)}},5577:function(e,t,n){n.d(t,{_:function(){return i}});var r=n(67354);function i(e,t,n){var i=(0,r.J)(e,t,"set");return!function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=n}}(e,i,n),n}},83035:function(e,t,n){n.d(t,{D:function(){return a}});var r=n(83299),i=n(82702),o=n(61269);function a(e,t,n){let a=(0,i.i)(e)?e:(0,r.BX)(e);return a.start((0,o.v)("",a,t,n)),a.animation}},71353:function(e,t,n){n.d(t,{t:function(){return r}});let r=new Set(["opacity","clipPath","filter","transform"])},70164:function(e,t,n){n.d(t,{S:function(){return h}});var r=n(62399),i=n(72130),o=n(22476),a=n(37229);let s={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};var l=n(2587);function u(e,t){return e*Math.sqrt(1-t*t)}let c=["duration","bounce"],d=["stiffness","damping","mass"];function f(e,t){return t.some(t=>void 0!==e[t])}function h(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.visualDuration,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.bounce,h="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:n}:t,{restSpeed:p,restDelta:m}=h,v=h.keyframes[0],g=h.keyframes[h.keyframes.length-1],y={done:!1,value:v},{stiffness:b,damping:x,mass:w,duration:T,velocity:E,isResolvedFromDuration:P}=function(e){let t={velocity:s.velocity,stiffness:s.stiffness,damping:s.damping,mass:s.mass,isResolvedFromDuration:!1,...e};if(!f(e,d)&&f(e,c)){if(e.visualDuration){let n=2*Math.PI/(1.2*e.visualDuration),r=n*n,i=2*(0,o.u)(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:s.mass,stiffness:r,damping:i}}else{let n=function(e){let t,n,{duration:r=s.duration,bounce:a=s.bounce,velocity:c=s.velocity,mass:d=s.mass}=e;(0,l.K)(r<=(0,i.w)(s.maxDuration),"Spring duration must be 10 seconds or less");let f=1-a;f=(0,o.u)(s.minDamping,s.maxDamping,f),r=(0,o.u)(s.minDuration,s.maxDuration,(0,i.X)(r)),f<1?(t=e=>{let t=e*f,n=t*r;return .001-(t-c)/u(e,f)*Math.exp(-n)},n=e=>{let n=e*f*r,i=Math.pow(f,2)*Math.pow(e,2)*r,o=u(Math.pow(e,2),f);return(n*c+c-i)*Math.exp(-n)*(-t(e)+.001>0?-1:1)/o}):(t=e=>-.001+Math.exp(-e*r)*((e-c)*r+1),n=e=>r*r*(c-e)*Math.exp(-e*r));let h=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(t,n,5/r);if(r=(0,i.w)(r),isNaN(h))return{stiffness:s.stiffness,damping:s.damping,duration:r};{let e=Math.pow(h,2)*d;return{stiffness:e,damping:2*f*Math.sqrt(d*e),duration:r}}}(e);(t={...t,...n,mass:s.mass}).isResolvedFromDuration=!0}}return t}({...h,velocity:-(0,i.X)(h.velocity||0)}),S=E||0,A=x/(2*Math.sqrt(b*w)),k=g-v,C=(0,i.X)(Math.sqrt(b/w)),M=5>Math.abs(k);if(p||(p=M?s.restSpeed.granular:s.restSpeed.default),m||(m=M?s.restDelta.granular:s.restDelta.default),A<1){let t=u(C,A);e=e=>g-Math.exp(-A*C*e)*((S+A*C*k)/t*Math.sin(t*e)+k*Math.cos(t*e))}
17else if(1===A)e=e=>g-Math.exp(-C*e)*(k+(S+C*k)*e);else{let t=C*Math.sqrt(A*A-1);e=e=>{let n=Math.exp(-A*C*e),r=Math.min(t*e,300);return g-n*((S+A*C*k)*Math.sinh(r)+t*k*Math.cosh(r))/t}}let D={calculatedDuration:P&&T||null,next:t=>{let n=e(t);if(P)y.done=t>=T;else{let r=0;A<1&&(r=0===t?(0,i.w)(S):(0,a.P)(e,t,n));let o=Math.abs(r)<=p,s=Math.abs(g-n)<=m;y.done=o&&s}return y.value=y.done?g:n,y},toString:()=>{let e=Math.min((0,r.iI)(D),r.EO),t=(0,r.wk)(t=>D.next(e*t).value,e,30);return e+"ms "+t}};return D}},37229:function(e,t,n){n.d(t,{P:function(){return i}});var r=n(92181);function i(e,t,n){let i=Math.max(t-5,0);return(0,r.R)(n-e(i),t-i)}},61269:function(e,t,n){n.d(t,{v:function(){return en}});var r=n(62399),i=n(72130),o=n(14205),a=n(36832);let s={current:!1};var l=n(93098);let u=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function c(e,t,n,r){if(e===t&&n===r)return l.Z;let i=t=>(function(e,t,n,r,i){let o,a;let s=0;do(o=u(a=t+(n-t)/2,r,i)-e)>0?n=a:t=a;while(Math.abs(o)>1e-7&&++s<12);return a})(t,0,1,e,n);return e=>0===e||1===e?e:u(i(e),t,r)}var d=n(47932),f=n(18841);let h=c(.33,1.53,.69,.99),p=(0,f.M)(h),m=(0,d.o)(p),v=e=>(e*=2)<1?.5*p(e):.5*(2-Math.pow(2,-10*(e-1)));var g=n(84354),y=n(20928),b=n(33791),x=n(54178),w=n(2587),T=n(50101);let E=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(T.P.test(e)||"0"===e)&&!e.startsWith("url(")),P=e=>null!==e;function S(e,t,n){let{repeat:r,repeatType:i="loop"}=t,o=e.filter(P),a=r&&"loop"!==i&&r%2==1?0:o.length-1;return a&&void 0!==n?n:o[a]}class A{calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(0,x.m)(),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=b.X.now(),this.hasAttemptedResolve=!0;let{name:n,type:i,velocity:o,delay:a,onComplete:l,onUpdate:u,isGenerator:c}=this.options;if(!c&&!function(e,t,n,i){let o=e[0];if(null===o)return!1;if("display"===t||"visibility"===t)return!0;let a=e[e.length-1],s=E(o,t),l=E(a,t);return(0,w.K)(s===l,"You are trying to animate ".concat(t,' from "').concat(o,'" to "').concat(a,'". ').concat(o," is not an animatable value - to enable this animation set ").concat(o," to a value animatable to ").concat(a," via the `style` property.")),!!s&&!!l&&(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||(0,r.xD)(n))&&i)}(e,n,i,o)){if(s.current||!a){u&&u(S(e,this.options,t)),l&&l(),this.resolveFinishedPromise();return}this.options.duration=0}let d=this.initPlayback(e,t);!1!==d&&(this._resolved={keyframes:e,finalKeyframe:t,...d},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=b.X.now(),this.options={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:o,...a},this.updateFinishedPromise()}}var k=n(22476),C=n(96722),M=n(19280),D=n(70164),R=n(37229);function L(e){let t,n,{keyframes:r,velocity:i=0,power:o=.8,timeConstant:a=325,bounceDamping:s=10,bounceStiffness:l=500,modifyTarget:u,min:c,max:d,restDelta:f=.5,restSpeed:h}=e,p=r[0],m={done:!1,value:p},v=e=>void 0!==c&&e<c||void 0!==d&&e>d,g=e=>void 0===c?d:void 0===d?c:Math.abs(c-e)<Math.abs(d-e)?c:d,y=o*i,b=p+y,x=void 0===u?b:u(b);x!==b&&(y=x-p);let w=e=>-y*Math.exp(-e/a),T=e=>x+w(e),E=e=>{let t=w(e),n=T(e);m.done=Math.abs(t)<=f,m.value=m.done?x:n},P=e=>{v(m.value)&&(t=e,n=(0,D.S)({keyframes:[m.value,g(m.value)],velocity:(0,R.P)(T,e,m.value),damping:s,stiffness:l,restDelta:f,restSpeed:h}))};return P(0),{calculatedDuration:null,next:e=>{let r=!1;return(n||void 0!==t||(r=!0,E(e),P(e)),void 0!==t&&e>=t)?n.next(e-t):(r||E(e),m)}}}let V=c(.42,0,1,1),j=c(0,0,.58,1),O=c(.42,0,.58,1);var F=n(10113);let N={linear:l.Z,easeIn:V,easeInOut:O,easeOut:j,circIn:g.Z7,circInOut:g.X7,circOut:g.Bn,backIn:p,backInOut:m,backOut:h,anticipate:v},I=e=>{if((0,r.qE)(e)){(0,w.k)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,i]=e;return c(t,n,r,i)}return"string"==typeof e?((0,w.k)(void 0!==N[e],"Invalid easing type '".concat(e,"'")),N[e]):e};var B=n(39780),W=n(55865);function z(e){let{duration:t=300,keyframes:n,times:r,ease:i="easeInOut"}=e,o=(0,F.N)(i)?i.map(I):I(i),a={done:!1,value:n[0]},s=(r&&r.length===n.length?r:(0,W.Y)(n)).map(e=>e*t),l=(0,B.s)(s,n,{ease:Array.isArray(o)?o:n.map(()=>o||O).splice(0,n.length-1)});return{calculatedDuration:t,next:e=>(a.value=l(e),a.done=e>=t,a)}}let U=e=>{let t=t=>{let{timestamp:n}=t;return e(n)};return{start:()=>o.Wi.update(t,!0),stop:()=>(0,o.Pn)(t),now:()=>o.frameData.isProcessing?o.frameData.timestamp:b.X.now()}},K={decay:L,inertia:L,tween:z,keyframes:z,spring:D.S},_=e=>e/100;class H extends A{flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){let t,n;let{type:i="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:s,velocity:l=0}=this.options,u=(0,r.xD)(i)?i:K[i]||z;u!==z&&"number"!=typeof e[0]&&(t=(0,M.z)(_,(0,C.C)(e[0],e[1])),e=[0,100]);let c=u({...this.options,keyframes:e});"mirror"===s&&(n=u({...this.options,keyframes:[...e].reverse(),velocity:-l})),null===c.calculatedDuration&&(c.calculatedDuration=(0,r.iI)(c));let{calculatedDuration:d}=c,f=d+a;return{generator:c,mirroredGenerator:n,mapPercentToKeyframes:t,calculatedDuration:d,resolvedDuration:f,totalDuration:f*(o+1)-a}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{resolved:n}=this;if(!n){let{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}let{finalKeyframe:r,generator:i,mirroredGenerator:o,mapPercentToKeyframes:a,keyframes:s,calculatedDuration:l,totalDuration:u,resolvedDuration:c}=n;if(null===this.startTime)return i.next(0);let{delay:d,repeat:f,repeatType:h,repeatDelay:p,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-d*(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,b=i;if(f){let e=Math.min(this.currentTime,u)/c,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,(t=Math.min(t,f+1))%2&&("reverse"===h?(n=1-n,p&&(n-=p/c)):"mirror"===h&&(b=o)),y=(0,k.u)(0,1,n)*c}let x=g?{done:!1,value:s[0]}:b.next(y);a&&(x.value=a(x.value));let{done:w}=x;g||null===l||(w=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return T&&void 0!==r&&(x.value=S(s,this.options,r)),m&&m(x.value),T&&this.finish(),x}
17get duration(){let{resolved:e}=this;return e?(0,i.X)(e.calculatedDuration):0}get time(){return(0,i.X)(this.currentTime)}set time(e){e=(0,i.w)(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=(0,i.X)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=U,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)}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,o=(null==r?void 0:r.KeyframeResolver)||x.e;this.resolver=new o(i,(e,t)=>this.onKeyframesResolved(e,t),t,n,r),this.resolver.scheduleResolve()}}var G=n(71353);let X=(0,n(17044).X)(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),J={anticipate:v,backInOut:m,circInOut:g.X7};class $ extends A{initPlayback(e,t){var n;let{duration:i=300,times:o,ease:a,type:s,motionValue:l,name:u,startTime:c}=this.options;if(!l.owner||!l.owner.current)return!1;if("string"==typeof a&&(0,r.Vc)()&&a in J&&(a=J[a]),n=this.options,(0,r.xD)(n.type)||"spring"===n.type||!(0,r.hR)(n.ease)){let{onComplete:t,onUpdate:n,motionValue:r,element:l,...u}=this.options,c=function(e,t){let n=new H({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),r={done:!1,value:e[0]},i=[],o=0;for(;!r.done&&o<2e4;)i.push((r=n.sample(o)).value),o+=10;return{times:void 0,keyframes:i,duration:o-10,ease:"linear"}}(e,u);1===(e=c.keyframes).length&&(e[1]=e[0]),i=c.duration,o=c.times,a=c.ease,s="keyframes"}let d=function(e,t,n){let{delay:i=0,duration:o=300,repeat:a=0,repeatType:s="loop",ease:l="easeInOut",times:u}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c={[t]:n};u&&(c.offset=u);let d=(0,r.eB)(l,o);return Array.isArray(d)&&(c.easing=d),e.animate(c,{delay:i,duration:o,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:a+1,direction:"reverse"===s?"alternate":"normal"})}(l.owner.current,u,e,{...this.options,duration:i,times:o,ease:a});return d.startTime=null!=c?c:this.calcStartTime(),this.pendingTimeline?((0,r._F)(d,this.pendingTimeline),this.pendingTimeline=void 0):d.onfinish=()=>{let{onComplete:n}=this.options;l.set(S(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:d,duration:i,times:o,type:s,ease:a,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return(0,i.X)(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return(0,i.X)(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.currentTime=(0,i.w)(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 l.Z;let{animation:n}=t;(0,r._F)(n,e)}else this.pendingTimeline=e;return l.Z}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;
17"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:o,ease:a,times:s}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){let{motionValue:e,onUpdate:t,onComplete:l,element:u,...c}=this.options,d=new H({...c,keyframes:n,duration:r,type:o,ease:a,times:s,isGenerator:!0}),f=(0,i.w)(this.time);e.setWithVelocity(d.sample(f-10).value,d.sample(f).value,10)}let{onStop:l}=this.options;l&&l(),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:o,type:a}=e;if(!t||!t.owner||!(t.owner.current instanceof HTMLElement))return!1;let{onUpdate:s,transformTemplate:l}=t.owner.getProps();return X()&&n&&G.t.has(n)&&!s&&!l&&!r&&"mirror"!==i&&0!==o&&"inertia"!==a}constructor(e){super(e);let{name:t,motionValue:n,element:r,keyframes:i}=this.options;this.resolver=new y.s(i,(e,t)=>this.onKeyframesResolved(e,t),t,n,r),this.resolver.scheduleResolve()}}var Y=n(94207);let q={type:"spring",stiffness:500,damping:25,restSpeed:10},Z=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),Q={type:"keyframes",duration:.8},ee={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},et=(e,t)=>{let{keyframes:n}=t;return n.length>2?Q:Y.G.has(e)?e.startsWith("scale")?Z(n[1]):q:ee},en=function(e,t,n){let l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},u=arguments.length>4?arguments[4]:void 0,c=arguments.length>5?arguments[5]:void 0;return d=>{let f=(0,r.ev)(l,e)||{},h=f.delay||l.delay||0,{elapsed:p=0}=l;p-=(0,i.w)(h);let m={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...f,delay:-p,onUpdate:e=>{t.set(e),f.onUpdate&&f.onUpdate(e)},onComplete:()=>{d(),f.onComplete&&f.onComplete()},name:e,motionValue:t,element:c?void 0:u};!function(e){let{when:t,delay:n,delayChildren:r,staggerChildren:i,staggerDirection:o,repeat:a,repeatType:s,repeatDelay:l,from:u,elapsed:c,...d}=e;return!!Object.keys(d).length}(f)&&(m={...m,...et(e,m)}),m.duration&&(m.duration=(0,i.w)(m.duration)),m.repeatDelay&&(m.repeatDelay=(0,i.w)(m.repeatDelay)),void 0!==m.from&&(m.keyframes[0]=m.from);let v=!1;if(!1!==m.type&&(0!==m.duration||m.repeatDelay)||(m.duration=0,0!==m.delay||(v=!0)),(s.current||a.c.skipAnimations)&&(v=!0,m.duration=0,m.delay=0),v&&!c&&void 0!==t.get()){let e=S(m.keyframes,f);if(void 0!==e)return o.Wi.update(()=>{m.onUpdate(e),m.onComplete()}),new r.sP([])}return!c&&$.supports(m)?new $(m):new H(m)}}},31258:function(e,t,n){n.d(t,{w:function(){return f}});var r=n(62399),i=n(49857),o=n(30698),a=n(83299),s=n(1148),l=n(57985),u=n(46032),c=n(61269),d=n(14205);function f(e,t){var n;let{delay:f=0,transitionOverride:h,type:p}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{transition:m=e.getDefaultTransition(),transitionEnd:v,...g}=t;h&&(m=h);let y=[],b=p&&e.animationState&&e.animationState.getState()[p];for(let t in g){let o=e.getValue(t,null!==(n=e.latestValues[t])&&void 0!==n?n:null),a=g[t];if(void 0===a||b&&function(e,t){let{protectedKeys:n,needsAnimating:r}=e,i=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,i}(b,t))continue;let s={delay:f,...(0,r.ev)(m||{},t)},h=!1;if(window.MotionHandoffAnimation){let n=(0,u.s)(e);if(n){let e=window.MotionHandoffAnimation(n,t,d.Wi);null!==e&&(s.startTime=e,h=!0)}}(0,l.K)(e,t),o.start((0,c.v)(t,o,a,e.shouldReduceMotion&&i.z.has(t)?{type:!1}:s,e,h));let p=o.animation;p&&y.push(p)}return v&&Promise.all(y).then(()=>{d.Wi.update(()=>{v&&function(e,t){let{transitionEnd:n={},transition:r={},...i}=(0,s.x)(e,t)||{};for(let t in i={...i,...n}){let n=(0,o.Y)(i[t]);e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,(0,a.BX)(n))}}(e,v)})}),y}},69043:function(e,t,n){n.d(t,{M:function(){return r}});let r="data-"+(0,n(65998).D)("framerAppearId")},46032:function(e,t,n){n.d(t,{s:function(){return i}});var r=n(69043);function i(e){return e.props[r.M]}},54633:function(e,t,n){n.d(t,{H:function(){return r}});function r(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}},60561:function(e,t,n){n.d(t,{C:function(){return r}});let r=e=>Array.isArray(e)},28745:function(e,t,n){n.d(t,{M:function(){return g}});var r=n(3827),i=n(64090),o=n(53856),a=n(72435),s=n(24561),l=n(93449);class u 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 c(e){let{children:t,isPresent:n}=e,o=(0,i.useId)(),a=(0,i.useRef)(null),s=(0,i.useRef)({width:0,height:0,top:0,left:0}),{nonce:c}=(0,i.useContext)(l._);return(0,i.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:i}=s.current;if(n||!a.current||!e||!t)return;a.current.dataset.motionPopId=o;
17let l=document.createElement("style");return c&&(l.nonce=c),document.head.appendChild(l),l.sheet&&l.sheet.insertRule('\n [data-motion-pop-id="'.concat(o,'"] {\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(l)}},[n]),(0,r.jsx)(u,{isPresent:n,childRef:a,sizeRef:s,children:i.cloneElement(t,{ref:a})})}let d=e=>{let{children:t,initial:n,isPresent:o,onExitComplete:l,custom:u,presenceAffectsLayout:d,mode:h}=e,p=(0,a.h)(f),m=(0,i.useId)(),v=(0,i.useCallback)(e=>{for(let t of(p.set(e,!0),p.values()))if(!t)return;l&&l()},[p,l]),g=(0,i.useMemo)(()=>({id:m,initial:n,isPresent:o,custom:u,onExitComplete:v,register:e=>(p.set(e,!1),()=>p.delete(e))}),d?[Math.random(),v]:[o,v]);return(0,i.useMemo)(()=>{p.forEach((e,t)=>p.set(t,!1))},[o]),i.useEffect(()=>{o||p.size||!l||l()},[o]),"popLayout"===h&&(t=(0,r.jsx)(c,{isPresent:o,children:t})),(0,r.jsx)(s.O.Provider,{value:g,children:t})};function f(){return new Map}var h=n(53177);let p=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(45526);let g=e=>{let{children:t,custom:n,initial:s=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:c="sync",propagate:f=!1}=e,[g,y]=(0,h.oO)(f),b=(0,i.useMemo)(()=>m(t),[t]),x=f&&!g?[]:b.map(p),w=(0,i.useRef)(!0),T=(0,i.useRef)(b),E=(0,a.h)(()=>new Map),[P,S]=(0,i.useState)(b),[A,k]=(0,i.useState)(b);(0,v.L)(()=>{w.current=!1,T.current=b;for(let e=0;e<A.length;e++){let t=p(A[e]);x.includes(t)?E.delete(t):!0!==E.get(t)&&E.set(t,!1)}},[A,x.length,x.join("-")]);let C=[];if(b!==P){let e=[...b];for(let t=0;t<A.length;t++){let n=A[t],r=p(n);x.includes(r)||(e.splice(t,0,n),C.push(n))}"wait"===c&&C.length&&(e=C),k(m(e)),S(b);return}let{forceRender:M}=(0,i.useContext)(o.p);return(0,r.jsx)(r.Fragment,{children:A.map(e=>{let t=p(e),i=(!f||!!g)&&(b===A||x.includes(t));return(0,r.jsx)(d,{isPresent:i,initial:(!w.current||!!s)&&void 0,custom:i?void 0:n,presenceAffectsLayout:u,mode:c,onExitComplete:i?void 0:()=>{if(!E.has(t))return;E.set(t,!0);let e=!0;E.forEach(t=>{t||(e=!1)}),e&&(null==M||M(),k(T.current),f&&(null==y||y()),l&&l())},children:e},t)})})}},53177:function(e,t,n){n.d(t,{oO:function(){return o}});var r=n(64090),i=n(24561);function o(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,r.useContext)(i.O);if(null===t)return[!0,null];let{isPresent:n,onExitComplete:o,register:a}=t,s=(0,r.useId)();(0,r.useEffect)(()=>{e&&a(s)},[e]);let l=(0,r.useCallback)(()=>e&&o&&o(s),[s,o,e]);return!n&&o?[!1,l]:[!0]}},59836:function(e,t,n){n.d(t,{X:function(){return s}});var r=n(3827),i=n(64090),o=n(48997),a=n(60848);function s(e){let{children:t,features:n,strict:s=!1}=e,[,u]=(0,i.useState)(!l(n)),c=(0,i.useRef)(void 0);if(!l(n)){let{renderer:e,...t}=n;c.current=e,(0,a.K)(t)}return(0,i.useEffect)(()=>
17{l(n)&&n().then(e=>{let{renderer:t,...n}=e;(0,a.K)(n),c.current=t,u(!0)})},[]),(0,r.jsx)(o.u.Provider,{value:{renderer:c.current,strict:s},children:t})}function l(e){return"function"==typeof e}},53856:function(e,t,n){n.d(t,{p:function(){return r}});let r=(0,n(64090).createContext)({})},48997:function(e,t,n){n.d(t,{u:function(){return r}});let r=(0,n(64090).createContext)({strict:!1})},93449:function(e,t,n){n.d(t,{_:function(){return r}});let r=(0,n(64090).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},24561:function(e,t,n){n.d(t,{O:function(){return r}});let r=(0,n(64090).createContext)(null)},14644:function(e,t,n){n.d(t,{g:function(){return r}});let r=(0,n(64090).createContext)({})},84354:function(e,t,n){n.d(t,{Bn:function(){return a},X7:function(){return s},Z7:function(){return o}});var r=n(47932),i=n(18841);let o=e=>1-Math.sin(Math.acos(e)),a=(0,i.M)(o),s=(0,r.o)(o)},47932:function(e,t,n){n.d(t,{o:function(){return r}});let r=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2},18841:function(e,t,n){n.d(t,{M:function(){return r}});let r=e=>t=>1-e(1-t)},10113:function(e,t,n){n.d(t,{N:function(){return r}});let r=e=>Array.isArray(e)&&"number"!=typeof e[0]},57958:function(e,t,n){n.d(t,{E:function(){return r}});function r(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}},17450:function(e,t,n){n.d(t,{Q:function(){return i},s:function(){return o}});var r=n(62399);function i(e){return{point:{x:e.pageX,y:e.pageY}}}let o=e=>t=>(0,r.DJ)(t)&&e(t,i(t))},67839:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(36832);let i=["read","resolveKeyframes","update","preRender","render","postRender"];function o(e,t){let n=!1,o=!0,a={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,l=i.reduce((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,r=!1,i=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1};function s(t){o.has(t)&&(l.schedule(t),e()),t(a)}let l={schedule:function(e){let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=a&&r?t:n;return i&&o.add(e),s.has(e)||s.add(e),e},cancel:e=>{n.delete(e),o.delete(e)},process:e=>{if(a=e,r){i=!0;return}r=!0,[t,n]=[n,t],t.forEach(s),t.clear(),r=!1,i&&(i=!1,l.process(e))}};return l}(s),e),{}),{read:u,resolveKeyframes:c,update:d,preRender:f,render:h,postRender:p}=l,m=()=>{let i=r.c.useManualTiming?a.timestamp:performance.now();n=!1,a.delta=o?1e3/60:Math.max(Math.min(i-a.timestamp,40),1),a.timestamp=i,a.isProcessing=!0,u.process(a),c.process(a),d.process(a),f.process(a),h.process(a),p.process(a),a.isProcessing=!1,n&&t&&(o=!1,e(m))},v=()=>{n=!0,o=!0,a.isProcessing||e(m)};return{schedule:i.reduce((e,t)=>{let r=l[t];return e[t]=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return n||v(),r.schedule(e,t,i)},e},{}),cancel:e=>{for(let t=0;t<i.length;t++)l[i[t]].cancel(e)},state:a,steps:l}}},14205:function(e,t,n){n.d(t,{Pn:function(){return o},Wi:function(){return i},frameData:function(){return a},yL:function(){return s}});var r=n(93098);let{schedule:i,cancel:o,state:a,steps:s}=(0,n(67839).Z)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:r.Z,!0)},39330:function(e,t,n){n.d(t,{g:function(){return r}});let{schedule:r,cancel:i}=(0,n(67839).Z)(queueMicrotask,!1)},33791:function(e,t,n){let r;n.d(t,{X:function(){return s}});var i=n(36832),o=n(14205);function a(){r=void 0}let s={now:()=>(void 0===r&&s.set(o.frameData.isProcessing||i.c.useManualTiming?o.frameData.timestamp:performance.now()),r),set:e=>{r=e,queueMicrotask(a)}}},24034:function(e,t,n){n.d(t,{L:function(){return r}});class r{update(){}constructor(e){this.isMounted=!1,this.node=e}}},50080:function(e,t,n){n.d(t,{s:function(){return w}});var r=n(54633),i=n(60561);function o(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(16930),s=n(1148),l=n(41867),u=n(31258);function c(e,t){var n;let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=(0,s.x)(e,t,"exit"===r.type?null===(n=e.presenceContext)||void 0===n?void 0:n.custom:void 0),{transition:o=e.getDefaultTransition()||{}}=i||{};r.transitionOverride&&(o=r.transitionOverride);let a=i?()=>Promise.all((0,u.w)(e,i,r)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=o;return function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=arguments.length>5?arguments[5]:void 0,a=[],s=(e.variantChildren.size-1)*r,l=1===i?function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e*r}:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return s-e*r};
17return Array.from(e.variantChildren).sort(d).forEach((e,r)=>{e.notify("AnimationStart",t),a.push(c(e,t,{...o,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,i+n,a,s,r)}:()=>Promise.resolve(),{when:f}=o;if(!f)return Promise.all([a(),l(r.delay)]);{let[e,t]="beforeChildren"===f?[a,l]:[l,a];return e().then(()=>t())}}function d(e,t){return e.sortNodePosition(t)}let f=l.V.length,h=[...l.e].reverse(),p=l.e.length;function m(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function v(){return{animate:m(!0),whileInView:m(),whileHover:m(),whileTap:m(),whileDrag:m(),whileFocus:m(),exit:m()}}var g=n(24034);class y extends g.L{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)}constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(t=>{let{animation:n,options:r}=t;return function(e,t){let n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e.notify("AnimationStart",t),Array.isArray(t))n=Promise.all(t.map(t=>c(e,t,r)));else if("string"==typeof t)n=c(e,t,r);else{let i="function"==typeof t?(0,s.x)(e,t,r.custom):t;n=Promise.all((0,u.w)(e,i,r))}return n.then(()=>{e.notify("AnimationComplete",t)})}(e,n,r)})),n=v(),d=!0,m=t=>(n,r)=>{var i;let o=(0,s.x)(e,r,"exit"===t?null===(i=e.presenceContext)||void 0===i?void 0:i.custom:void 0);if(o){let{transition:e,transitionEnd:t,...r}=o;n={...n,...r,...t}}return n};function g(s){let{props:u}=e,c=function e(t){if(!t)return;if(!t.isControllingVariants){let n=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(n.initial=t.props.initial),n}let n={};for(let e=0;e<f;e++){let r=l.V[e],i=t.props[r];((0,a.$)(i)||!1===i)&&(n[r]=i)}return n}(e.parent)||{},v=[],g=new Set,y={},b=1/0;for(let t=0;t<p;t++){var x;let l=h[t],f=n[l],p=void 0!==u[l]?u[l]:c[l],w=(0,a.$)(p),T=l===s?f.isActive:null;!1===T&&(b=t);let E=p===c[l]&&p!==u[l]&&w;if(E&&d&&e.manuallyAnimateOnMount&&(E=!1),f.protectedKeys={...y},!f.isActive&&null===T||!p&&!f.prevProp||(0,r.H)(p)||"boolean"==typeof p)continue;let P=(x=f.prevProp,"string"==typeof p?p!==x:!!Array.isArray(p)&&!o(p,x)),S=P||l===s&&f.isActive&&!E&&w||t>b&&w,A=!1,k=Array.isArray(p)?p:[p],C=k.reduce(m(l),{});!1===T&&(C={});let{prevResolvedValues:M={}}=f,D={...M,...C},R=t=>{S=!0,g.has(t)&&(A=!0,g.delete(t)),f.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in D){let t=C[e],n=M[e];if(!y.hasOwnProperty(e))((0,i.C)(t)&&(0,i.C)(n)?o(t,n):t===n)?void 0!==t&&g.has(e)?R(e):f.protectedKeys[e]=!0:null!=t?R(e):g.add(e)}f.prevProp=p,f.prevResolvedValues=C,f.isActive&&(y={...y,...C}),d&&e.blockInitialAnimation&&(S=!1);let L=!(E&&P)||A;S&&L&&v.push(...k.map(e=>({animation:e,options:{type:l}})))}if(g.size){let t={};g.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=null!=r?r:null}),v.push({animation:t})}let w=!!v.length;return d&&(!1===u.initial||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(w=!1),d=!1,w?t(v):Promise.resolve()}return{animateChanges:g,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 o=g(t);for(let e in n)n[e].protectedKeys={};return o},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=v(),d=!0}}}(e))}}let b=0;class x extends g.L{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(()=>
17t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}constructor(){super(...arguments),this.id=b++}}let w={animation:{Feature:y},exit:{Feature:x}}},25223: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])}},90238:function(e,t,n){n.d(t,{o:function(){return K}});var r=n(24034),i=n(93098),o=n(2587),a=n(62399),s=n(72130),l=n(57958),u=n(17450);function c(e,t,n,r){return(0,l.E)(e,t,(0,u.s)(n),r)}let d=(e,t)=>Math.abs(e-t);var f=n(19280),h=n(14205);class p{updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),(0,h.Pn)(this.updatePoint)}constructor(e,t,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=g(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,i=(e=n.offset,t={x:0,y:0},Math.sqrt(d(e.x,t.x)**2+d(e.y,t.y)**2)>=3);if(!r&&!i)return;let{point:o}=n,{timestamp:a}=h.frameData;this.history.push({...o,timestamp:a});let{onStart:s,onMove:l}=this.handlers;r||(s&&s(this.lastMoveEvent,n),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,n)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=m(t,this.transformPagePoint),h.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if(this.dragSnapToOrigin&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=g("pointercancel"===e.type?this.lastMoveEventInfo:m(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),r&&r(e,o)},!(0,a.DJ)(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||window;let o=m((0,u.Q)(e),this.transformPagePoint),{point:s}=o,{timestamp:l}=h.frameData;this.history=[{...s,timestamp:l}];let{onSessionStart:p}=t;p&&p(e,g(o,this.history)),this.removeListeners=(0,f.z)(c(this.contextWindow,"pointermove",this.handlePointerMove),c(this.contextWindow,"pointerup",this.handlePointerUp),c(this.contextWindow,"pointercancel",this.handlePointerUp))}}function m(e,t){return t?{point:t(e.point)}:e}function v(e,t){return{x:e.x-t.x,y:e.y-t.y}}function g(e,t){let{point:n}=e;return{point:n,delta:v(n,y(t)),offset:v(n,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=y(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>(0,s.w)(.1)));)n--;if(!r)return{x:0,y:0};let o=(0,s.X)(i.timestamp-r.timestamp);if(0===o)return{x:0,y:0};let a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(t,0)}}function y(e){return e[e.length-1]}var b=n(98285),x=n(27406),w=n(82317),T=n(22476),E=n(5312);function P(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function S(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function A(e,t,n){return{min:k(e,t),max:k(e,n)}}function k(e,t){return"number"==typeof e?e:e[t]||0}var C=n(24884),M=n(65521),D=n(30411),R=n(49068),L=n(72724),V=n(61269);let j=e=>{let{current:t}=e;return t?t.ownerDocument.defaultView:null};var O=n(57985);let F=new WeakMap;class N{start(e){let{snapToCursor:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let{dragSnapToOrigin:r}=this.getProps();this.panSession=new p(e,{onSessionStart:e=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor((0,u.Q)(e).point)},onStart:(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,a.KV)(n),!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),(0,M.U)(e=>{let t=this.getAxisMotionValue(e).get()||0;if(L.aQ.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];if(r){let e=(0,w.JO)(r);t=parseFloat(t)/100*e}}}this.originPoint[e]=t}),i&&h.Wi.postRender(()=>i(e,t)),(0,O.K)(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>
17{let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:a}=t;if(r&&null===this.currentDirection){this.currentDirection=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(a),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),o&&o(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>(0,M.U)(e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,contextWindow:j(this.visualElement)})}stop(e,t){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:r}=t;this.startAnimation(r);let{onDragEnd:i}=this.getProps();i&&h.Wi.postRender(()=>i(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!I(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,t,n){let{min:r,max:i}=t;return void 0!==r&&e<r?e=n?(0,E.t)(r,e,n.min):Math.max(e,r):void 0!==i&&e>i&&(e=n?(0,E.t)(i,e,n.max):Math.min(e,i)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){var e;let{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,i=this.constraints;t&&(0,b.I)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=function(e,t){let{top:n,left:r,bottom:i,right:o}=t;return{x:P(e.x,r,o),y:P(e.y,n,i)}}(r.layoutBox,t):this.constraints=!1,this.elastic=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.35;return!1===e?e=0:!0===e&&(e=.35),{x:A(e,"left","right"),y:A(e,"top","bottom")}}(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&(0,M.U)(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(r.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!(0,b.I)(t))return!1;let r=t.current;(0,o.k)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let a=(0,D.z)(r,i.root,this.visualElement.getTransformPagePoint()),s={x:S((e=i.layout.layoutBox).x,a.x),y:S(e.y,a.y)};if(n){let e=n((0,R.z2)(s));this.hasMutatedConstraints=!!e,e&&(s=(0,R.i8)(e))}return s}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{};return Promise.all((0,M.U)(a=>{if(!I(a,t,this.currentDirection))return;let l=s&&s[a]||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:n?e[a]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(a,u)})).then(a)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return(0,O.K)(this.visualElement,e),n.start((0,V.v)(e,n,0,t,this.visualElement,!1))}stopAnimation(){(0,M.U)(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){(0,M.U)(e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()})}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){let t="_drag".concat(e.toUpperCase()),n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){(0,M.U)(t=>{let{drag:n}=this.getProps();if(!I(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:o}=r.layout.layoutBox[t];i.set(e[t]-(0,E.t)(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!(0,b.I)(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};(0,M.U)(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){let n=t.get();r[e]=function(e,t){let n=.5,r=(0,w.JO)(e),i=(0,w.JO)(t);return i>r?n=(0,x.Y)(t.min,t.max-r,e.min):r>i&&(n=(0,x.Y)(e.min,e.max-i,t.min)),(0,T.u)(0,1,n)}({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),(0,M.U)(t=>{if(!I(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];n.set((0,E.t)(i,o,r[t]))})}addListeners(){if(!this.visualElement.current)return;F.set(this.visualElement,this);let e=c(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:n=!0}
17=this.getProps();t&&n&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();(0,b.I)(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),h.Wi.read(t);let i=(0,l.E)(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",e=>{let{delta:t,hasLayoutChanged:n}=e;this.isDragging&&n&&((0,M.U)(e=>{let n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))}),this.visualElement.render())});return()=>{i(),e(),r(),o&&o()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:a}}constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,C.dO)(),this.visualElement=e}}function I(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}class B extends r.L{mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||i.Z}unmount(){this.removeGroupControls(),this.removeListeners()}constructor(e){super(e),this.removeGroupControls=i.Z,this.removeListeners=i.Z,this.controls=new N(e)}}let W=e=>(t,n)=>{e&&h.Wi.postRender(()=>e(t,n))};class z extends r.L{onPointerDown(e){this.session=new p(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:j(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:W(e),onStart:W(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&h.Wi.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=c(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}constructor(){super(...arguments),this.removePointerDownListener=i.Z}}var U=n(3008);let K={pan:{Feature:z},drag:{Feature:B,ProjectionNode:n(5309).u,MeasureLayout:U.q}}},93911:function(e,t,n){n.d(t,{E:function(){return x}});var r=n(24034),i=n(62399),o=n(17450),a=n(14205);function s(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===n);let i=r["onHover"+n];i&&a.Wi.postRender(()=>i(t,(0,o.Q)(t)))}class l extends r.L{mount(){let{current:e}=this.node;e&&(this.unmount=(0,i.Mr)(e,e=>(s(this.node,e,"Start"),e=>s(this.node,e,"End"))))}unmount(){}}var u=n(57958),c=n(19280);class d extends r.L{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,c.z)((0,u.E)(this.node.current,"focus",()=>this.onFocus()),(0,u.E)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}constructor(){super(...arguments),this.isActive=!1}}function f(e,t,n){let{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===n);let i=r["onTap"+("End"===n?"":n)];i&&a.Wi.postRender(()=>i(t,(0,o.Q)(t)))}class h extends r.L{mount(){let{current:e}=this.node;e&&(this.unmount=(0,i.OD)(e,e=>(f(this.node,e,"Start"),(e,t)=>{let{success:n}=t;return f(this.node,e,n?"End":"Cancel")}),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let p=new WeakMap,m=new WeakMap,v=e=>{let t=p.get(e.target);t&&t(e)},g=e=>{e.forEach(v)},y={some:0,all:1};class b extends r.L{startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:i}=e,o={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:y[r]};return function(e,t,n){let r=function(e){let{root:t,...n}=e,r=t||document;m.has(r)||m.set(r,{});let i=m.get(r),o=JSON.stringify(n);return i[o]||(i[o]=new IntersectionObserver(g,{root:t,...n})),i[o]}(t);return p.set(e,n),r.observe(e),()=>{p.delete(e),r.unobserve(e)}}(this.node.current,o,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(),o=t?n:r;o&&o(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function(e){let{viewport:t={}}=e,{viewport:n={}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e=>t[e]!==n[e]}(e,t))&&this.startObserver()}unmount(){}constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}}let x={inView:{Feature:b},tap:{Feature:h},focus:{Feature:d},hover:{Feature:l}}},98746:function(e,t,n){n.d(t,{b:function(){return o}});var r=n(5309),i=n(3008);let o={layout:{ProjectionNode:r.u,MeasureLayout:i.q}}},3008:function(e,t,n){n.d(t,{q:function(){return y}});var r=n(3827),i=n(64090),o=n(53177),a=n(53856),s=n(14644),l=n(16172),u=n(72724);function c(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let d={correct:(e,t)=>
17{if(!t.target)return e;if("string"==typeof e){if(!u.px.test(e))return e;e=parseFloat(e)}let n=c(e,t.target.x),r=c(e,t.target.y);return"".concat(n,"% ").concat(r,"%")}};var f=n(5312),h=n(50101),p=n(82915),m=n(39330),v=n(14205);class g extends i.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;(0,p.B)(b),i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),l.V.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,o=n.projection;return o&&(o.isPresent=i,r||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent===i||(i?o.promote():o.relegate()||v.Wi.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),m.g.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function y(e){let[t,n]=(0,o.oO)(),l=(0,i.useContext)(a.p);return(0,r.jsx)(g,{...e,layoutGroup:l,switchLayoutGroup:(0,i.useContext)(s.g),isPresent:t,safeToRemove:n})}let b={borderRadius:{...d,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:d,borderTopRightRadius:d,borderBottomLeftRadius:d,borderBottomRightRadius:d,boxShadow:{correct:(e,t)=>{let{treeScale:n,projectionDelta:r}=t,i=h.P.parse(e);if(i.length>5)return e;let o=h.P.createTransformer(e),a="number"!=typeof i[0]?1:0,s=r.x.scale*n.x,l=r.y.scale*n.y;i[0+a]/=s,i[1+a]/=l;let u=(0,f.t)(s,l,.5);return"number"==typeof i[2+a]&&(i[2+a]/=u),"number"==typeof i[3+a]&&(i[3+a]/=u),o(i)}}}},60848:function(e,t,n){n.d(t,{K:function(){return i}});var r=n(25223);function i(e){for(let t in e)r.featureDefinitions[t]={...r.featureDefinitions[t],...e[t]}}},5403:function(e,t,n){n.d(t,{j:function(){return o}});var r=n(82915),i=n(94207);function o(e,t){let{layout:n,layoutId:o}=t;return i.G.has(e)||e.startsWith("origin")||(n||void 0!==o)&&(!!r.P[e]||"opacity"===e)}},49068:function(e,t,n){function r(e){let{top:t,left:n,right:r,bottom:i}=e;return{x:{min:n,max:r},y:{min:t,max:i}}}function i(e){let{x:t,y:n}=e;return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function o(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}}n.d(t,{d7:function(){return o},i8:function(){return r},z2:function(){return i}})},25015:function(e,t,n){n.d(t,{D2:function(){return f},YY:function(){return u},am:function(){return c},o2:function(){return l},q2:function(){return o}});var r=n(5312),i=n(44352);function o(e,t,n){return n+t*(e-n)}function a(e,t,n,r,i){return void 0!==i&&(e=r+i*(e-r)),r+n*(e-r)+t}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;e.min=a(e.min,t,n,r,i),e.max=a(e.max,t,n,r,i)}function l(e,t){let{x:n,y:r}=t;s(e.x,n.translate,n.scale,n.originPoint),s(e.y,r.translate,r.scale,r.originPoint)}function u(e,t,n){let r,o,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=n.length;if(s){t.x=t.y=1;for(let u=0;u<s;u++){o=(r=n[u]).projectionDelta;let{visualElement:s}=r.options;(!s||!s.props.style||"contents"!==s.props.style.display)&&(a&&r.options.layoutScroll&&r.scroll&&r!==r.root&&f(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,l(e,o)),a&&(0,i.ud)(r.latestValues)&&f(e,r.latestValues))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}function c(e,t){e.min=e.min+t,e.max=e.max+t}function d(e,t,n,i){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.5,a=(0,r.t)(e.min,e.max,o);s(e,t,n,a,i)}function f(e,t){d(e.x,t.x,t.scaleX,t.scale,t.originX),d(e.y,t.y,t.scaleY,t.scale,t.originY)}}
17,82317:function(e,t,n){n.d(t,{JO:function(){return i},b3:function(){return d},tf:function(){return u},wS:function(){return o},y$:function(){return s}});var r=n(5312);function i(e){return e.max-e.min}function o(e,t,n){return Math.abs(e-t)<=n}function a(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;e.origin=o,e.originPoint=(0,r.t)(t.min,t.max,e.origin),e.scale=i(n)/i(t),e.translate=(0,r.t)(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function s(e,t,n,r){a(e.x,t.x,n.x,r?r.originX:void 0),a(e.y,t.y,n.y,r?r.originY:void 0)}function l(e,t,n){e.min=n.min+t.min,e.max=e.min+i(t)}function u(e,t,n){l(e.x,t.x,n.x),l(e.y,t.y,n.y)}function c(e,t,n){e.min=t.min-n.min,e.max=e.min+i(t)}function d(e,t,n){c(e.x,t.x,n.x),c(e.y,t.y,n.y)}},24884:function(e,t,n){n.d(t,{dO:function(){return a},wc:function(){return i}});let r=()=>({translate:0,scale:1,origin:0,originPoint:0}),i=()=>({x:r(),y:r()}),o=()=>({min:0,max:0}),a=()=>({x:o(),y:o()})},5309:function(e,t,n){n.d(t,{u:function(){return eD}});var r=n(62399),i=n(93098),o=n(83035),a=n(46032),s=n(14205),l=n(39330),u=n(33791),c=n(41937),d=n(50406);let f=(e,t)=>e.depth-t.depth;class h{add(e){(0,d.y4)(this.children,e),this.isDirty=!0}remove(e){(0,d.cl)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(f),this.isDirty=!1,this.children.forEach(e)}constructor(){this.children=[],this.isDirty=!1}}var p=n(22476),m=n(5312),v=n(52685),g=n(14121),y=n(27406),b=n(84354),x=n(72724);let w=["TopLeft","TopRight","BottomLeft","BottomRight"],T=w.length,E=e=>"string"==typeof e?parseFloat(e):e,P=e=>"number"==typeof e||x.px.test(e);function S(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let A=C(0,.5,b.Bn),k=C(.5,.95,i.Z);function C(e,t,n){return r=>r<e?0:r>t?1:n((0,y.Y)(e,t,r))}function M(e,t){e.min=t.min,e.max=t.max}function D(e,t){M(e.x,t.x),M(e.y,t.y)}function R(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var L=n(25015),V=n(82317);function j(e,t,n,r,i){return e-=t,e=(0,L.q2)(e,1/n,r),void 0!==i&&(e=(0,L.q2)(e,1/i,r)),e}function O(e,t,n,r,i){let[o,a,s]=n;!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,i=arguments.length>4?arguments[4]:void 0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:e;if(x.aQ.test(t)&&(t=parseFloat(t),t=(0,m.t)(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let s=(0,m.t)(o.min,o.max,r);e===o&&(s-=t),e.min=j(e.min,t,n,s,i),e.max=j(e.max,t,n,s,i)}(e,t[o],t[a],t[s],t.scale,r,i)}let F=["x","scaleX","originX"],N=["y","scaleY","originY"];function I(e,t,n,r){O(e.x,t,F,n?n.x:void 0,r?r.x:void 0),O(e.y,t,N,n?n.y:void 0,r?r.y:void 0)}var B=n(24884);function W(e){return 0===e.translate&&1===e.scale}function z(e){return W(e.x)&&W(e.y)}function U(e,t){return e.min===t.min&&e.max===t.max}function K(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function _(e,t){return K(e.x,t.x)&&K(e.y,t.y)}function H(e){return(0,V.JO)(e.x)/(0,V.JO)(e.y)}function G(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class X{add(e){(0,d.y4)(this.members,e),e.scheduleRender()}remove(e){if((0,d.cl)(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t;let n=this.members.findIndex(t=>e===t);if(0===n)return!1;for(let e=n;e>=0;e--){let n=this.members[e];if(!1!==n.isPresent){t=n;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:r}=e.options;!1===r&&n.hide()}}
17exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}constructor(){this.members=[]}}var J=n(82915),$=n(65521),Y=n(44352),q=n(16172);let Z={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Q=void 0!==window.MotionDebug,ee=["","X","Y","Z"],et={visibility:"hidden"},en=0;function er(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function ei(e){let{attachResizeListener:t,defaultParent:n,measureScroll:i,checkIsScrollRoot:d,resetTransform:f}=e;return class{addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new v.L),this.eventHandlers.get(e).add(t)}notifyListeners(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];let i=this.eventHandlers.get(e);i&&i.notify(...n)}hasListeners(e){return this.eventHandlers.has(e)}mount(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.root.hasTreeAnimated;if(this.instance)return;this.isSVG=(0,c.v)(e),this.instance=e;let{layoutId:i,layout:o,visualElement:a}=this.options;if(a&&!a.current&&a.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(o||i)&&(this.isLayoutDirty=!0),t){let n;let r=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){let n=u.X.now(),r=i=>{let{timestamp:o}=i,a=o-n;a>=t&&((0,s.Pn)(r),e(a-t))};return s.Wi.read(r,!0),()=>(0,s.Pn)(r)}(r,250),q.V.hasAnimatedSinceResize&&(q.V.hasAnimatedSinceResize=!1,this.nodes.forEach(eh))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&a&&(i||o)&&this.addEventListener("didUpdate",e=>{let{delta:t,hasLayoutChanged:n,hasRelativeTargetChanged:i,layout:o}=e;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||a.getDefaultTransition()||ew,{onLayoutAnimationStart:l,onLayoutAnimationComplete:u}=a.getProps(),c=!this.targetLayout||!_(this.targetLayout,o)||i,d=!n&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||d||n&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,d);let e={...(0,r.ev)(s,"layout"),onPlay:l,onComplete:u};(a.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else n||eh(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=o})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,s.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(ev),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(){let e=!(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 e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:n}=t.options;if(!n)return;let r=(0,a.s)(n);if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:e,layoutId:n}=t.options;window.MotionCancelOptimisedAnimation(r,"transform",s.Wi,!(e||n))}let{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&e(i)}
17(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(ec);return}this.isUpdating||this.nodes.forEach(ed),this.isUpdating=!1,this.nodes.forEach(ef),this.nodes.forEach(eo),this.nodes.forEach(ea),this.clearAllSnapshots();let e=u.X.now();s.frameData.delta=(0,p.u)(0,1e3/60,e-s.frameData.timestamp),s.frameData.timestamp=e,s.frameData.isProcessing=!0,s.yL.update.process(s.frameData),s.yL.preRender.process(s.frameData),s.yL.render.process(s.frameData),s.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,l.g.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(eu),this.sharedNodes.forEach(eg)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,s.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){s.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 e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,B.dO)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"measure",t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t){let t=d(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!f)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!z(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,i=r!==this.prevTransformTemplateValue;e&&(t||(0,Y.ud)(this.latestValues)||i)&&(f(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(){var e;let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],n=this.measurePageBox(),r=this.removeElementScroll(n);return t&&(r=this.removeTransform(r)),eP((e=r).x),eP(e.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){var e;let{visualElement:t}=this.options;if(!t)return(0,B.dO)();let n=t.measureViewportBox();if(!((null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)||this.path.some(eA))){let{scroll:e}=this.root;e&&((0,L.am)(n.x,e.offset.x),(0,L.am)(n.y,e.offset.y))}return n}removeElementScroll(e){var t;let n=(0,B.dO)();if(D(n,e),null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)return n;for(let t=0;t<this.path.length;t++){let r=this.path[t],{scroll:i,options:o}=r;r!==this.root&&i&&o.layoutScroll&&(i.wasRoot&&D(n,e),(0,L.am)(n.x,i.offset.x),(0,L.am)(n.y,i.offset.y))}return n}applyTransform(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,B.dO)();D(n,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(0,L.D2)(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),(0,Y.ud)(r.latestValues)&&(0,L.D2)(n,r.latestValues)}return(0,Y.ud)(this.latestValues)&&(0,L.D2)(n,this.latestValues),n}removeTransform(e){let t=(0,B.dO)();D(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!n.instance||!(0,Y.ud)(n.latestValues))continue;(0,Y.Lj)(n.latestValues)&&n.updateSnapshot();let r=(0,B.dO)();D(r,n.measurePageBox()),I(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return(0,Y.ud)(this.latestValues)&&I(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.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!==s.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(){var e;let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isS
17haredProjectionDirty);let r=!!this.resumingFrom||this!==n;if(!(t||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:i,layoutId:o}=this.options;if(this.layout&&(i||o)){if(this.resolvedRelativeTargetAt=s.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,B.dO)(),this.relativeTargetOrigin=(0,B.dO)(),(0,V.b3)(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),D(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,B.dO)(),this.targetWithTransforms=(0,B.dO)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,V.tf)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):D(this.target,this.layout.layoutBox),(0,L.o2)(this.target,this.targetDelta)):D(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,B.dO)(),this.relativeTargetOrigin=(0,B.dO)(),(0,V.b3)(this.relativeTargetOrigin,this.target,e.target),D(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Q&&Z.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||(0,Y.Lj)(this.parent.latestValues)||(0,Y.D_)(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 e;let t=this.getLead(),n=!!this.resumingFrom||this!==t,r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===s.frameData.timestamp&&(r=!1),r)return;let{layout:i,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||!(i||o))return;D(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,l=this.treeScale.y;(0,L.YY)(this.layoutCorrected,this.treeScale,this.path,n),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,B.dO)());let{target:u}=t;if(!u){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(R(this.prevProjectionDelta.x,this.projectionDelta.x),R(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,V.y$)(this.projectionDelta,this.layoutCorrected,u,this.latestValues),this.treeScale.x===a&&this.treeScale.y===l&&G(this.projectionDelta.x,this.prevProjectionDelta.x)&&G(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",u)),Q&&Z.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(){var e;let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(null===(e=this.options.visualElement)||void 0===e||e.scheduleRender(),t){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,B.wc)(),this.projectionDelta=(0,B.wc)(),this.projectionDeltaWithTransform=(0,B.wc)()}setAnimationOrigin(e){let t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.snapshot,i=r?r.latestValues:{},o={...this.latestValues},a=(0,B.wc)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!n;let s=(0,B.dO)(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,d=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(ex));this.animationProgress=0,this.mixTargetDelta=n=>{let r=n/1e3;if(ey(a.x,e.x,r),ey(a.y,e.y,r),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,f,h,p;(0,V.b3)(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),h=this.relativeTarget,p=this.relativeTargetOrigin,eb(h.x,p.x,s.x,r),eb(h.y,p.y,s.y,r),t&&(u=this.relativeTarget,f=t,U(u.x,f.x)&&U(u.y,f.y))&&(this.isProjectionDirty=!1),t||(t=(0,B.dO)()),D(t,this.relativeTarget)}l&&(this.animationValues=o,function(e,t,n,r,i,o){i?(e.opacity=(0,m.t)(0,void 0!==n.opacity?n.opacity:1,A(r)),e.o
17pacityExit=(0,m.t)(void 0!==t.opacity?t.opacity:1,0,k(r))):o&&(e.opacity=(0,m.t)(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<T;i++){let o="border".concat(w[i],"Radius"),a=S(t,o),s=S(n,o);(void 0!==a||void 0!==s)&&(a||(a=0),s||(s=0),0===a||0===s||P(a)===P(s)?(e[o]=Math.max((0,m.t)(E(a),E(s),r),0),(x.aQ.test(s)||x.aQ.test(a))&&(e[o]+="%")):e[o]=s)}(t.rotate||n.rotate)&&(e.rotate=(0,m.t)(t.rotate||0,n.rotate||0,r))}(o,i,this.latestValues,r,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,s.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=s.Wi.update(()=>{q.V.hasAnimatedSinceResize=!0,this.currentAnimation=(0,o.D)(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.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 e=this.getStack();e&&e.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 e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&eS(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||(0,B.dO)();let t=(0,V.JO)(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=(0,V.JO)(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}D(t,n),(0,L.D2)(t,i),(0,V.y$)(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new X),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote(){let{needsReset:e,transition:t,preserveFollowOpacity:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&er("z",e,r,this.animationValues);for(let t=0;t<ee.length;t++)er("rotate".concat(ee[t]),e,r,this.animationValues),er("skew".concat(ee[t]),e,r,this.animationValues);for(let t in e.render(),r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}getProjectionStyles(e){var t,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return et;let r={visibility:""},i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=(0,g.b)(null==e?void 0:e.pointerEvents)||"",r.transform=i?i(this.latestValues,""):"none",r;let o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){let t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,g.b)(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!(0,Y.ud)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1),t}let a=o.animationValues||o.latestValues;this.applyTransformsToTarget(),r.transform=function(e,t,n){let r="",i=e.x.translate/t.x,o=e.
17y.translate/t.y,a=(null==n?void 0:n.z)||0;if((i||o||a)&&(r="translate3d(".concat(i,"px, ").concat(o,"px, ").concat(a,"px) ")),(1!==t.x||1!==t.y)&&(r+="scale(".concat(1/t.x,", ").concat(1/t.y,") ")),n){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:o,skewX:a,skewY:s}=n;e&&(r="perspective(".concat(e,"px) ").concat(r)),t&&(r+="rotate(".concat(t,"deg) ")),i&&(r+="rotateX(".concat(i,"deg) ")),o&&(r+="rotateY(".concat(o,"deg) ")),a&&(r+="skewX(".concat(a,"deg) ")),s&&(r+="skewY(".concat(s,"deg) "))}let s=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==s||1!==l)&&(r+="scale(".concat(s,", ").concat(l,")")),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,a),i&&(r.transform=i(a,r.transform));let{x:s,y:l}=this.projectionDelta;for(let e in r.transformOrigin="".concat(100*s.origin,"% ").concat(100*l.origin,"% 0"),o.animationValues?r.opacity=o===this?null!==(n=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:r.opacity=o===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0,J.P){if(void 0===a[e])continue;let{correct:t,applyTo:n}=J.P[e],i="none"===r.transform?a[e]:t(a[e],o);if(n){let e=n.length;for(let t=0;t<e;t++)r[n[t]]=i}else r[e]=i}return this.options.layoutId&&(r.pointerEvents=o===this?(0,g.b)(null==e?void 0:e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(ec),this.root.sharedNodes.clear()}constructor(e={},t=null==n?void 0:n()){this.id=en++,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,Q&&(Z.totalNodes=Z.resolvedTargetDeltas=Z.recalculatedProjection=0),this.nodes.forEach(es),this.nodes.forEach(ep),this.nodes.forEach(em),this.nodes.forEach(el),Q&&window.MotionDebug.record(Z)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=t?t.root||t:this,this.path=t?[...t.path,t]:[],this.parent=t,this.depth=t?t.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new h)}}}function eo(e){e.updateLayout()}function ea(e){var t;let n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:r}=e.layout,{animationType:i}=e.options,o=n.source!==e.layout.source;"size"===i?(0,$.U)(e=>{let r=o?n.measuredBox[e]:n.layoutBox[e],i=(0,V.JO)(r);r.min=t[e].min,r.max=r.min+i}):eS(i,n.layoutBox,t)&&(0,$.U)(r=>{let i=o?n.measuredBox[r]:n.layoutBox[r],a=(0,V.JO)(t[r]);i.max=i.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+a)});let a=(0,B.wc)();(0,V.y$)(a,t,n.layoutBox);let s=(0,B.wc)();o?(0,V.y$)(s,e.applyTransform(r,!0),n.measuredBox):(0,V.y$)(s,t,n.layoutBox);let l=!z(a),u=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:o}=r;if(i&&o){let a=(0,B.dO)();(0,V.b3)(a,n.layoutBox,i.layoutBox);let s=(0,B.dO)();(0,V.b3)(s,t,o.layoutBox),_(a,s)||(u=!0),r.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function es(e){Q&&Z.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function el(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function eu(e){e.clearSnapshot()}function ec(e){e.clearMeasurements()}function ed(e){e.isLayoutDirty=!1}function ef(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function eh(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ep(e){e.resolveTargetDelta()}function em(e){e.calcProjection()}
17function ev(e){e.resetSkewAndRotation()}function eg(e){e.removeLeadSnapshot()}function ey(e,t,n){e.translate=(0,m.t)(t.translate,0,n),e.scale=(0,m.t)(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function eb(e,t,n,r){e.min=(0,m.t)(t.min,n.min,r),e.max=(0,m.t)(t.max,n.max,r)}function ex(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let ew={duration:.45,ease:[.4,0,.1,1]},eT=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),eE=eT("applewebkit/")&&!eT("chrome/")?Math.round:i.Z;function eP(e){e.min=eE(e.min),e.max=eE(e.max)}function eS(e,t,n){return"position"===e||"preserve-aspect"===e&&!(0,V.wS)(H(t),H(n),.2)}function eA(e){var t;return e!==e.root&&(null===(t=e.scroll)||void 0===t?void 0:t.wasRoot)}var ek=n(57958);let eC=ei({attachResizeListener:(e,t)=>(0,ek.E)(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),eM={current:void 0},eD=ei({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!eM.current){let e=new eC({});e.mount(window),e.setOptions({layoutScroll:!0}),eM.current=e}return eM.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position})},16172:function(e,t,n){n.d(t,{V:function(){return r}});let r={hasAnimatedSinceResize:!0,hasEverUpdated:!1}},82915:function(e,t,n){n.d(t,{B:function(){return i},P:function(){return r}});let r={};function i(e){Object.assign(r,e)}},65521:function(e,t,n){n.d(t,{U:function(){return r}});function r(e){return[e("x"),e("y")]}},44352:function(e,t,n){function r(e){return void 0===e||1===e}function i(e){let{scale:t,scaleX:n,scaleY:i}=e;return!r(t)||!r(n)||!r(i)}function o(e){return i(e)||a(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function a(e){var t,n;return(t=e.x)&&"0%"!==t||(n=e.y)&&"0%"!==n}n.d(t,{D_:function(){return a},Lj:function(){return i},ud:function(){return o}})},30411:function(e,t,n){n.d(t,{J:function(){return o},z:function(){return a}});var r=n(49068),i=n(25015);function o(e,t){return(0,r.i8)((0,r.d7)(e.getBoundingClientRect(),t))}function a(e,t,n){let r=o(e,n),{scroll:a}=t;return a&&((0,i.am)(r.x,a.offset.x),(0,i.am)(r.y,a.offset.y)),r}},52626:function(e,t,n){n.d(t,{l:function(){return C}});var r=n(33791),i=n(25223),o=n(24884),a=n(34829),s=n(96894),l=n(61702);let u={current:null},c={current:!1};var d=n(52685),f=n(83299),h=n(50101),p=n(82702),m=n(23462),v=n(22809),g=n(61921),y=n(94707);let b=[...g.$,v.$,h.P],x=e=>b.find((0,y.l)(e));var w=n(94207),T=n(48854),E=n(79739),P=n(54178),S=n(51422),A=n(14205);let k=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class C{scrapeMotionValuesFromProps(e,t,n){return{}}mount(e){this.current=e,T.R.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)),c.current||function(){if(c.current=!0,l.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>u.current=e.matches;e.addListener(t),t()}else u.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||u.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in T.R.delete(this.current),this.projection&&this.projection.unmount(),(0,A.Pn)(this.notifyUpdate),(0,A.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=w.G.has(e),i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&A.Wi.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),o(),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 i.featureDefinitions){let t=i.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];
17t.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):(0,o.dO)()}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<k.length;t++){let n=k[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],o=n[r];if((0,p.i)(i))e.addValue(r,i);else if((0,p.i)(o))e.addValue(r,(0,f.BX)(i,{owner:e}));else if(o!==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,f.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(),this.onUpdate&&this.onUpdate(this)}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}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,f.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&&((0,a.P)(r)||(0,s.W)(r))?r=parseFloat(r):!x(r)&&h.P.test(t)&&(r=(0,m.T)(e,t)),this.setBaseTarget(e,(0,p.i)(r)?r.get():r)),(0,p.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,S.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,p.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 d.L),this.events[e].add(t)}notify(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.events[e]&&this.events[e].notify(...n)}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:i,blockInitialAnimation:o,visualState:a},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=P.e,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 e=r.X.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,A.Wi.render(this.render,!1,!0))};let{latestValues:l,renderState:u,onUpdate:c}=a;this.onUpdate=c,this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=u,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=s,this.blockInitialAnimation=!!o,this.isControllingVariants=(0,E.G)(t),this.isVariantNode=(0,E.M)(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:d,...f}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in f){let t=f[e];void 0!==l[e]&&(0,p.i)(t)&&t.set(l[e],!1)}}}},42229:function(e,t,n){n.d(t,{x:function(){return _}});var r=n(3827),i=n(64090),o=n(53856),a=n(48997),s=n(93449);let l=(0,i.createContext)({});var u=n(16930),c=n(79739);function d(e){return Array.isArray(e)?e.join(" "):e}var f=n(61702),h=n(25223),p=n(60848);let m=Symbol.for("motionComponentSymbol");var v=n(98285),g=n(24561),y=n(45526),b=n(69043),x=n(39330),w=n(14644),T=n(49296),E=n(14205),P=n(54633),S=n(51422),A=n(72435),k=n(14121);let C=e=>(t,n)=>{let r=(0,i.useContext)(l),o=(0,i.useContext)(g.O),a=()=>(function(e,t,n,r){let{scrapeMotionValuesFromProps:i,createRenderState:o,onUp
17date:a}=e,s={latestValues:function(e,t,n,r){let i={},o=r(e,{});for(let e in o)i[e]=(0,k.b)(o[e]);let{initial:a,animate:s}=e,l=(0,c.G)(e),u=(0,c.M)(e);t&&u&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let d=!!n&&!1===n.initial,f=(d=d||!1===a)?s:a;if(f&&"boolean"!=typeof f&&!(0,P.H)(f)){let t=Array.isArray(f)?f:[f];for(let n=0;n<t.length;n++){let r=(0,S.o)(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=d?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}(t,n,r,i),renderState:o()};return a&&(s.onMount=e=>a({props:t,current:e,...s}),s.onUpdate=e=>a(e)),s})(e,t,r,o);return n?a():(0,A.h)(a)};var M=n(94207),D=n(48348);let R=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),L=()=>({...R(),attrs:{}});var V=n(27612),j=n(81661),O=n(9548);let F=["x","y","width","height","cx","cy","r"],N={useVisualState:C({scrapeMotionValuesFromProps:O.U,createRenderState:L,onUpdate:e=>{let{props:t,prevProps:n,current:r,renderState:i,latestValues:o}=e;if(!r)return;let a=!!t.drag;if(!a){for(let e in o)if(M.G.has(e)){a=!0;break}}if(!a)return;let s=!n;if(n)for(let e=0;e<F.length;e++){let r=F[e];t[r]!==n[r]&&(s=!0)}s&&E.Wi.read(()=>{!function(e,t){try{t.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(e){t.dimensions={x:0,y:0,width:0,height:0}}}(r,i),E.Wi.render(()=>{(0,D.i)(i,o,(0,V.a)(r.tagName),t.transformTemplate),(0,j.K)(r,i)})})}})},I={useVisualState:C({scrapeMotionValuesFromProps:n(46235).U,createRenderState:R})};var B=n(5403),W=n(82702),z=n(25275);function U(e,t,n){for(let r in t)(0,W.i)(t[r])||(0,B.j)(r,n)||(e[r]=t[r])}var K=n(91725);function _(e,t){return function(n){let{forwardMotionProps:E}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{forwardMotionProps:!1};return function(e){var t,n;let{preloadedFeatures:T,createVisualElement:E,useRender:P,useVisualState:S,Component:A}=e;function k(e,t){var n;let p;let m={...(0,i.useContext)(s._),...e,layoutId:function(e){let{layoutId:t}=e,n=(0,i.useContext)(o.p).id;return n&&void 0!==t?n+"-"+t:t}(e)},{isStatic:T}=m,k=function(e){let{initial:t,animate:n}=function(e,t){if((0,c.G)(e)){let{initial:t,animate:n}=e;return{initial:!1===t||(0,u.$)(t)?t:void 0,animate:(0,u.$)(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,i.useContext)(l));return(0,i.useMemo)(()=>({initial:t,animate:n}),[d(t),d(n)])}(e),C=S(e,T);if(!T&&f.j){(0,i.useContext)(a.u).strict;let e=function(e){let{drag:t,layout:n}=h.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}}(m);p=e.MeasureLayout,k.visualElement=function(e,t,n,r,o){var u,c;let{visualElement:d}=(0,i.useContext)(l),f=(0,i.useContext)(a.u),h=(0,i.useContext)(g.O),p=(0,i.useContext)(s._).reducedMotion,m=(0,i.useRef)(null);r=r||f.renderer,!m.current&&r&&(m.current=r(e,{visualState:t,parent:d,props:n,presenceContext:h,blockInitialAnimation:!!h&&!1===h.initial,reducedMotionConfig:p}));let T=m.current,E=(0,i.useContext)(w.g);T&&!T.projection&&o&&("html"===T.type||"svg"===T.type)&&function(e,t,n,r){let{layoutId:i,layout:o,drag:a,dragConstraints:s,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:o,alwaysMeasureLayout:!!a||s&&(0,v.I)(s),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}(m.current,n,o,E);let P=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{T&&P.current&&T.update(n,h)});let S=n[b.M],A=(0,i.useRef)(!!S&&!(null===(u=window.MotionHandoffIsComplete)||void 0===u?void 0:u.call(window,S))&&(null===(c=window.MotionHasOptimisedAnimation)||void 0===c?void 0:c.call(window,S)));return(0,y.L)(()=>{T&&(P.current=!0,window.MotionIsMounted=!0,T.updateFeatures(),x.g.render(T.render),A.current&&T.animationState&&T.animationState.animateChanges())}),(0,i.useEffect)(()=>{T&&(!A.current&&T.animationState&&T.animationState.animateChanges(),A.current&&(queueMicrotask(()=>{var e;null===(e=window.MotionHandoffMarkAsComplete)||void 0===e||e.call(window,S)}),A.current=!1))}),T}(A,C,m,E,e.ProjectionNode)}return(0,r.jsxs)(l.Provider,{value:k,children:[p&&k.visualElement?(0,r.jsx)(p,{visualElement:k.visualElement,...m}):null,P(A,e,(n=k.visualElement,(0,i.useCallback)(e=>{e&&C.onMount&&C.onMount(e),n&&(e?n.mount(e):n.unmount()),t&&("function"==typeof t?t(e):(0,v.I)(t)&&(t.current=e))},[n])),C,T,k.visualElement)]})}T&&(0,p.K)(T),k.displayName="motion.".concat("string"==typeof A?A:"create(".concat(null!==(n=null!==(t=A.displayName)&&void 0!==t?t:A.name)&&void 0!==n?n:"",")"));let C=(0,i.forwardRef)(k);return C[m]=A,C}({...(0,T.q)(n)?N:I,preloadedFeatures:e,useRender:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(t,n,r,o,a)=>{let{latestValues:s}=o,l=((0,T.q)(t)?function(e,t,n,r){let o=(0,i.useMemo)(()=>{let n=L();return(0,D.i)(n,t,(0,V.a)(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};U(t,e.style,e),o.style={...t,...o.style}}return o}:function(e,t){let n={},r=function(e,t){let n=e.style||{},r={};return U(r,n,e),Object.assign(r,function(e,t){let{transformTemplate:n}=e;return(0,i.useMemo)(()=>{let e=R();return(0,z.r)(e,t,n),Object.assign({},e.vars,e.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-".concat("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTa
17p||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n})(n,s,a,t),u=(0,K.L)(n,"string"==typeof t,e),c=t!==i.Fragment?{...u,...l,ref:r}:{},{children:d}=n,f=(0,i.useMemo)(()=>(0,W.i)(d)?d.get():d,[d]);return(0,i.createElement)(t,{...c,children:f})}}(E),createVisualElement:t,Component:n})}}},17388:function(e,t,n){n.d(t,{c:function(){return r}});function r(e){if("undefined"==typeof Proxy)return e;let t=new Map;return new Proxy(function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e(...n)},{get:(n,r)=>"create"===r?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}},5500:function(e,t,n){n.d(t,{m:function(){return o}});var r=n(17388);let i=(0,n(42229).x)(),o=(0,r.c)(i)},20928:function(e,t,n){n.d(t,{s:function(){return m}});var r=n(96894),i=n(49857),o=n(50101),a=n(23462);let s=new Set(["auto","none","0"]);var l=n(54178),u=n(2587),c=n(34829),d=n(57126);let f=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var h=n(22756),p=n(61921);class m extends l.e{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,d.t)(r))){let i=function e(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;(0,u.k)(r<=4,'Max CSS variable fallback depth detected in property "'.concat(t,'". This may indicate a circular fallback dependency.'));let[i,o]=function(e){let t=f.exec(e);if(!t)return[,];let[,n,r,i]=t;return["--".concat(null!=n?n:r),i]}(t);if(!i)return;let a=window.getComputedStyle(n).getPropertyValue(i);if(a){let e=a.trim();return(0,c.P)(e)?parseFloat(e):e}return(0,d.t)(o)?e(o,n,r+1):o}(r,t.current);void 0!==i&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!i.z.has(n)||2!==e.length)return;let[r,o]=e,a=(0,p.C)(r),s=(0,p.C)(o);if(a!==s){if((0,h.mP)(a)&&(0,h.mP)(s))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 i;("number"==typeof(i=e[t])?0===i:null===i||"none"===i||"0"===i||(0,r.W)(i))&&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&&!s.has(t)&&(0,o.V)(t).values.length&&(r=e[i]),i++}if(r&&n)for(let i of t)e[i]=(0,a.T)(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=h.lw[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 o=r.length-1,a=r[o];r[o]=h.lw[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.forEac
17h(e=>{let[n,r]=e;t.getValue(n).set(r)}),this.resolveNoneKeyframes()}constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}}},97655:function(e,t,n){n.d(t,{J:function(){return a}});var r=n(52626),i=n(20928),o=n(82702);class a extends r.l{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,t){let{vars:n,style:r}=t;delete n[e],delete r[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,o.i)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent="".concat(e))}))}constructor(){super(...arguments),this.KeyframeResolver=i.s}}},65430:function(e,t,n){n.d(t,{b:function(){return s}});var r=n(64090),i=n(86276),o=n(81165),a=n(49296);let s=(e,t)=>(0,a.q)(e)?new o.e(t):new i.W(t,{allowProjection:e!==r.Fragment})},65998:function(e,t,n){n.d(t,{D:function(){return r}});let r=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},91725:function(e,t,n){n.d(t,{L:function(){return s},K:function(){return a}});let r=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 i(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||r.has(e)}let o=e=>!i(e);function a(e){e&&(o=t=>t.startsWith("on")?!i(t):e(t))}try{a(require("@emotion/is-prop-valid").default)}catch(e){}function s(e,t,n){let r={};for(let a in e)("values"!==a||"object"!=typeof e.values)&&(o(a)||!0===n&&i(a)||!t&&!i(a)||e.draggable&&a.startsWith("onDrag"))&&(r[a]=e[a]);return r}},57126:function(e,t,n){n.d(t,{f:function(){return i},t:function(){return a}});let r=e=>t=>"string"==typeof t&&t.startsWith(e),i=r("--"),o=r("var(--"),a=e=>!!o(e)&&s.test(e.split("/*")[0].trim()),s=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},49296: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}},41937:function(e,t,n){n.d(t,{v:function(){return r}});function r(e){return e instanceof SVGElement&&"svg"!==e.tagName}},22756:function(e,t,n){n.d(t,{Ei:function(){return d},lw:function(){return f},mP:function(){return a}});var r=n(25218),i=n(72724),o=n(94207);let a=e=>e===r.Rx||e===i.px,s=(e,t)=>parseFloat(e.split(", ")[t]),l=(e,t)=>(n,r)=>{let{transform:i}=r;if("none"===i||!i)return 0;let o=i.match(/^matrix3d\((.+)\)$/u);if(o)return s(o[1],t);{let t=i.match(/^matrix\((.+)\)$/u);return t?s(t[1],e):0}},u=new Set(["x","y","z"]),c=o._.filter(e=>!u.has(e));function d(e){let t=[];return c.forEach(n=>{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}let f={width:(e,t)=>{let{x:n}=e,{paddingLeft:r="0",paddingRight:i="0"}=t;return n.max-n.min-parseFloat(r)-parseFloat(i)},height:(e,t)=>{let{y:n}=e,{paddingTop:r="0",paddingBottom:i="0"}=t;return n.max-n.min-parseFloat(r)-parseFloat(i)},top:(e,t)=>{let{top:n}=t;return parseFloat(n)},left:(e,t)=>{let{left:n}=t;return parseFloat(n)},bottom:(e,t)=>{let{y:n}=e,{top:r}=t;return parseFloat(r)+(n.max-n.min)},right:(e,t)=>{let{x:n}=e,{left:r}=t;return parseFloat(r)+(n.max-n.min)},x:l(4,13),y:l(5,14)};f.translateX=f.x,f.translateY=f.y},23462:function(e,t,n){n.d(t,{T:function(){return a}});var r=n(50101),i=n(67465),o=n(56217);function a(e,t){let n=(0,o.A)(e);return n!==i.h&&(n=r.P),n.getAnimatableNone?n.getAnimatableNone(t):void 0}},56217:function(e,t,n){n.d(t,{A:function(){return a}});var r=n(22809),i=n(67465);let o={...n(64412).j,color:r.$,backgroundColor:r.$,outlineColor:r.$,fill:r.$,stroke:r.$,borderColor:r.$,borderTopColor:r.$,borderRightColor:r.$,borderBottomColor:r.$,borderLeftColor:r.$,filter:i.h,WebkitFilter:i.h},a=e=>o[e]},61921:function(e,t,n){n.d(t,{$:function(){return a},C:function(){return s}});var r=n(25218),i=n(72724),o=n(94707);let a=[r.Rx,i.px,i.aQ,i.RW,i.vw,i.vh,{test:e=>"auto"===e,parse:e=>e}],s=e=>a.find((0,o.l)(e))},64412:function(e,t,n){n.d(t,{j:function(){return l}});var r=n(25218),i=n(72724);let o={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,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,backgroundPositionX:i.px,backgroundPositionY:i.px}
17,a={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},s={...r.Rx,transform:Math.round},l={...o,...a,zIndex:s,size:i.px,fillOpacity:r.Fq,strokeOpacity:r.Fq,numOctaves:s}},94707:function(e,t,n){n.d(t,{l:function(){return r}});let r=e=>t=>t.test(e)},86276:function(e,t,n){n.d(t,{W:function(){return d}});var r=n(30411),i=n(97655),o=n(57126),a=n(56217),s=n(25275),l=n(94207),u=n(54269),c=n(46235);class d extends i.J{readValueFromInstance(e,t){if(l.G.has(t)){let e=(0,a.A)(t);return e&&e.default||0}{let n=window.getComputedStyle(e),r=((0,o.f)(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,t){let{transformPagePoint:n}=t;return(0,r.J)(e,n)}build(e,t,n){(0,s.r)(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return(0,c.U)(e,t,n)}constructor(){super(...arguments),this.type="html",this.renderInstance=u.N}}},25275:function(e,t,n){n.d(t,{r:function(){return u}});var r=n(57126);let i=(e,t)=>t&&"number"==typeof e?t.transform(e):e;var o=n(64412),a=n(94207);let s={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},l=a._.length;function u(e,t,n){let{style:u,vars:c,transformOrigin:d}=e,f=!1,h=!1;for(let e in t){let n=t[e];if(a.G.has(e)){f=!0;continue}if((0,r.f)(e)){c[e]=n;continue}{let t=i(n,o.j[e]);e.startsWith("origin")?(h=!0,d[e]=t):u[e]=t}}if(!t.transform&&(f||n?u.transform=function(e,t,n){let r="",u=!0;for(let c=0;c<l;c++){let l=a._[c],d=e[l];if(void 0===d)continue;let f=!0;if(!(f="number"==typeof d?d===(l.startsWith("scale")?1:0):0===parseFloat(d))||n){let e=i(d,o.j[l]);if(!f){u=!1;let t=s[l]||l;r+="".concat(t,"(").concat(e,") ")}n&&(t[l]=e)}}return r=r.trim(),n?r=n(t,u?"":r):u&&(r="none"),r}(t,e.transform,n):u.transform&&(u.transform="none")),h){let{originX:e="50%",originY:t="50%",originZ:n=0}=d;u.transformOrigin="".concat(e," ").concat(t," ").concat(n)}}},49857:function(e,t,n){n.d(t,{z:function(){return i}});var r=n(94207);let i=new Set(["width","height","top","left","right","bottom",...r._])},94207: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)},54269:function(e,t,n){n.d(t,{N:function(){return r}});function r(e,t,n,r){let{style:i,vars:o}=t;for(let t in Object.assign(e.style,i,r&&r.getProjectionStyles(n)),o)e.style.setProperty(t,o[t])}},46235:function(e,t,n){n.d(t,{U:function(){return o}});var r=n(5403),i=n(82702);function o(e,t,n){var o;let{style:a}=e,s={};for(let l in a)((0,i.i)(a[l])||t.style&&(0,i.i)(t.style[l])||(0,r.j)(l,e)||(null===(o=null==n?void 0:n.getValue(l))||void 0===o?void 0:o.liveStyle)!==void 0)&&(s[l]=a[l]);return s}},48854:function(e,t,n){n.d(t,{R:function(){return r}});let r=new WeakMap},81165:function(e,t,n){n.d(t,{e:function(){return h}});var r=n(24884),i=n(97655),o=n(65998),a=n(56217),s=n(94207),l=n(48348),u=n(38766),c=n(27612),d=n(81661),f=n(9548);class h extends i.J{getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(s.G.has(t)){let e=(0,a.A)(t);return e&&e.default||0}return t=u.s.has(t)?t:(0,o.D)(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return(0,f.U)(e,t,n)}
17build(e,t,n){(0,l.i)(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){(0,d.K)(e,t,n,r)}mount(e){this.isSVGTag=(0,c.a)(e.tagName),super.mount(e)}constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=r.dO}}},48348:function(e,t,n){n.d(t,{i:function(){return l}});var r=n(25275),i=n(72724);let o={offset:"stroke-dashoffset",array:"stroke-dasharray"},a={offset:"strokeDashoffset",array:"strokeDasharray"};function s(e,t,n){return"string"==typeof e?e:i.px.transform(t+n*e)}function l(e,t,n,l){let{attrX:u,attrY:c,attrScale:d,originX:f,originY:h,pathLength:p,pathSpacing:m=1,pathOffset:v=0,...g}=t;if((0,r.r)(e,g,l),n){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:y,style:b,dimensions:x}=e;y.transform&&(x&&(b.transform=y.transform),delete y.transform),x&&(void 0!==f||void 0!==h||b.transform)&&(b.transformOrigin=function(e,t,n){let r=s(t,e.x,e.width),i=s(n,e.y,e.height);return"".concat(r," ").concat(i)}(x,void 0!==f?f:.5,void 0!==h?h:.5)),void 0!==u&&(y.x=u),void 0!==c&&(y.y=c),void 0!==d&&(y.scale=d),void 0!==p&&function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=!(arguments.length>4)||void 0===arguments[4]||arguments[4];e.pathLength=1;let l=s?o:a;e[l.offset]=i.px.transform(-r);let u=i.px.transform(t),c=i.px.transform(n);e[l.array]="".concat(u," ").concat(c)}(y,p,m,v,!1)}},38766: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"])},27612:function(e,t,n){n.d(t,{a:function(){return r}});let r=e=>"string"==typeof e&&"svg"===e.toLowerCase()},81661:function(e,t,n){n.d(t,{K:function(){return a}});var r=n(65998),i=n(54269),o=n(38766);function a(e,t,n,a){for(let n in(0,i.N)(e,t,void 0,a),t.attrs)e.setAttribute(o.s.has(n)?n:(0,r.D)(n),t.attrs[n])}},9548:function(e,t,n){n.d(t,{U:function(){return a}});var r=n(82702),i=n(94207),o=n(46235);function a(e,t,n){let a=(0,o.U)(e,t,n);for(let n in e)((0,r.i)(e[n])||(0,r.i)(t[n]))&&(a[-1!==i._.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return a}},54178:function(e,t,n){n.d(t,{e:function(){return d},m:function(){return c}});var r=n(22756),i=n(14205);let o=new Set,a=!1,s=!1;function l(){if(s){let e=Array.from(o).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=(0,r.Ei)(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=>{var n;let[r,i]=t;null===(n=e.getValue(r))||void 0===n||n.set(i)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}s=!1,a=!1,o.forEach(e=>e.complete()),o.clear()}function u(){o.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(s=!0)})}function c(){u(),l()}class d{scheduleResolve(){this.isScheduled=!0,this.isAsync?(o.add(this),a||(a=!0,i.Wi.read(u),i.Wi.resolveKeyframes(l))):(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(),o=e[e.length-1];if(void 0!==i)e[0]=i;else if(n&&t){let r=n.readValue(t,o);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=o),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),o.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,o.delete(this))}resume(){this.isComplete||this.scheduleResolve()}constructor(e,t,n,r,i,o=!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=o}}},79739:function(e,t,n){n.d(t,{G:function(){return a},M:function(){return s}});var r=n(54633),i=n(16930),o=n(41867);function a(e){return(0,r.H)(e.animate)||o.V.some(t=>(0,i.$)(e[t]))}function s(e){return!!(a(e)||e.variants)}},16930:function(e,t,n){n.d(t,{$:function(){return r}});function r(e){return"string"==typeof e||Array.isArray(e)}},1148:function(e,t,n){n.d(t,{x:function(){return i}});var r=n(51422);function i(e,t,n){let i=e.getProps();return(0,r.o)(i,t,void 0!==n?n:i.custom,e)}},51422:function(e,t,n){function r(e){let t=[{},{}];
17return 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[o,a]=r(i);t=t(void 0!==n?n:e.custom,o,a)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[o,a]=r(i);t=t(void 0!==n?n:e.custom,o,a)}return t}n.d(t,{o:function(){return i}})},41867: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]},36832:function(e,t,n){n.d(t,{c:function(){return r}});let r={skipAnimations:!1,useManualTiming:!1}},50406:function(e,t,n){function r(e,t){-1===e.indexOf(t)&&e.push(t)}function i(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}n.d(t,{cl:function(){return i},y4:function(){return r}})},22476:function(e,t,n){n.d(t,{u:function(){return r}});let r=(e,t,n)=>n>t?t:n<e?e:n},39780:function(e,t,n){n.d(t,{s:function(){return u}});var r=n(93098),i=n(2587),o=n(27406),a=n(22476),s=n(96722),l=n(19280);function u(e,t){let{clamp:n=!0,ease:u,mixer:c}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},d=e.length;if((0,i.k)(d===t.length,"Both input and output ranges must be the same length"),1===d)return()=>t[0];if(2===d&&t[0]===t[1])return()=>t[1];let f=e[0]===e[1];e[0]>e[d-1]&&(e=[...e].reverse(),t=[...t].reverse());let h=function(e,t,n){let i=[],o=n||s.C,a=e.length-1;for(let n=0;n<a;n++){let a=o(e[n],e[n+1]);if(t){let e=Array.isArray(t)?t[n]||r.Z:t;a=(0,l.z)(e,a)}i.push(a)}return i}(t,u,c),p=h.length,m=n=>{if(f&&n<e[0])return t[0];let r=0;if(p>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=(0,o.Y)(e[r],e[r+1],n);return h[r](i)};return n?t=>m((0,a.u)(e[0],e[d-1],t)):m}},61702:function(e,t,n){n.d(t,{j:function(){return r}});let r=!0},34829:function(e,t,n){n.d(t,{P:function(){return r}});let r=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)},98285:function(e,t,n){n.d(t,{I:function(){return r}});function r(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}},96894:function(e,t,n){n.d(t,{W:function(){return r}});let r=e=>/^0[^.\s]+$/u.test(e)},96722:function(e,t,n){n.d(t,{C:function(){return S}});var r=n(5312),i=n(2587);function o(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var a=n(34184),s=n(46352),l=n(99808);function u(e,t){return n=>n>0?t:e}let c=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},d=[a.$,s.m,l.J],f=e=>d.find(t=>t.test(e));function h(e){let t=f(e);
17if((0,i.K)(!!t,"'".concat(e,"' is not an animatable color. Use the equivalent color code instead.")),!t)return!1;let n=t.parse(e);return t===l.J&&(n=function(e){let{hue:t,saturation:n,lightness:r,alpha:i}=e;t/=360,r/=100;let a=0,s=0,l=0;if(n/=100){let e=r<.5?r*(1+n):r+n-r*n,i=2*r-e;a=o(i,e,t+1/3),s=o(i,e,t),l=o(i,e,t-1/3)}else a=s=l=r;return{red:Math.round(255*a),green:Math.round(255*s),blue:Math.round(255*l),alpha:i}}(n)),n}let p=(e,t)=>{let n=h(e),i=h(t);if(!n||!i)return u(e,t);let o={...n};return e=>(o.red=c(n.red,i.red,e),o.green=c(n.green,i.green,e),o.blue=c(n.blue,i.blue,e),o.alpha=(0,r.t)(n.alpha,i.alpha,e),s.m.transform(o))};var m=n(19280),v=n(22809),g=n(50101),y=n(57126);let b=new Set(["none","hidden"]);function x(e,t){return n=>(0,r.t)(e,t,n)}function w(e){return"number"==typeof e?x:"string"==typeof e?(0,y.t)(e)?u:v.$.test(e)?p:P:Array.isArray(e)?T:"object"==typeof e?v.$.test(e)?p:E:u}function T(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>w(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function E(e,t){let n={...e,...t},r={};for(let i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=w(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}let P=(e,t)=>{let n=g.P.createTransformer(t),r=(0,g.V)(e),o=(0,g.V)(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?b.has(e)&&!o.values.length||b.has(t)&&!r.values.length?b.has(e)?n=>n<=0?e:t:n=>n>=1?t:e:(0,m.z)(T(function(e,t){var n;let r=[],i={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){let a=t.types[o],s=e.indexes[a][i[a]],l=null!==(n=e.values[s])&&void 0!==n?n:0;r[o]=l,i[a]++}return r}(r,o),o.values),n):((0,i.K)(!0,"Complex values '".concat(e,"' and '").concat(t,"' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.")),u(e,t))};function S(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?(0,r.t)(e,t,n):w(e)(e,t)}},5312:function(e,t,n){n.d(t,{t:function(){return r}});let r=(e,t,n)=>e+(t-e)*n},55865:function(e,t,n){n.d(t,{Y:function(){return i}});var r=n(12426);function i(e){let t=[0];return(0,r.c)(t,e.length-1),t}},12426:function(e,t,n){n.d(t,{c:function(){return o}});var r=n(27406),i=n(5312);function o(e,t){let n=e[e.length-1];for(let o=1;o<=t;o++){let a=(0,r.Y)(0,t,o);e.push((0,i.t)(n,1,a))}}},19280:function(e,t,n){n.d(t,{z:function(){return i}});let r=(e,t)=>n=>t(e(n)),i=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(r)}},30698:function(e,t,n){n.d(t,{Y:function(){return o},p:function(){return i}});var r=n(60561);let i=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),o=e=>(0,r.C)(e)?e[e.length-1]||0:e},52685:function(e,t,n){n.d(t,{L:function(){return i}});var r=n(50406);class i{add(e){return(0,r.y4)(this.subscriptions,e),()=>(0,r.cl)(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r){if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}constructor(){this.subscriptions=[]}}},72435:function(e,t,n){n.d(t,{h:function(){return i}});var r=n(64090);function i(e){let t=(0,r.useRef)(null);return null===t.current&&(t.current=e()),t.current}},45526:function(e,t,n){n.d(t,{L:function(){return i}});var r=n(64090);let i=n(61702).j?r.useLayoutEffect:r.useEffect},92181:function(e,t,n){n.d(t,{R:function(){return r}});function r(e,t){return t?1e3/t*e:0}},83299:function(e,t,n){n.d(t,{BX:function(){return c},Hg:function(){return u},S1:function(){return l}});var r=n(33791),i=n(52685),o=n(92181),a=n(14205);let s=e=>!isNaN(parseFloat(e)),l={current:void 0};class u{setCurrent(e){this.current=e,this.updatedAt=r.X.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=s(this.current))}setPrevFrameValue(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.current;this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new i.L);let n=this.events[e].add(t);return"change"===e?()=>{n(),a.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}
17setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=r.X.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,o.R)(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),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(e,t={}){var n=this;this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],i=r.X.now();n.updatedAt!==i&&n.setPrevFrameValue(),n.prev=n.current,n.setCurrent(e),n.current!==n.prev&&n.events.change&&n.events.change.notify(n.current),t&&n.events.renderRequest&&n.events.renderRequest.notify(n.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}}function c(e,t){return new u(e,t)}},34184:function(e,t,n){n.d(t,{$:function(){return i}});var r=n(46352);let i={test:(0,n(90999).i)("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:r.m.transform}},99808:function(e,t,n){n.d(t,{J:function(){return s}});var r=n(25218),i=n(72724),o=n(69437),a=n(90999);let s={test:(0,a.i)("hsl","hue"),parse:(0,a.d)("hue","saturation","lightness"),transform:e=>{let{hue:t,saturation:n,lightness:a,alpha:s=1}=e;return"hsla("+Math.round(t)+", "+i.aQ.transform((0,o.N)(n))+", "+i.aQ.transform((0,o.N)(a))+", "+(0,o.N)(r.Fq.transform(s))+")"}}},22809:function(e,t,n){n.d(t,{$:function(){return a}});var r=n(34184),i=n(99808),o=n(46352);let a={test:e=>o.m.test(e)||r.$.test(e)||i.J.test(e),parse:e=>o.m.test(e)?o.m.parse(e):i.J.test(e)?i.J.parse(e):r.$.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?o.m.transform(e):i.J.transform(e)}},46352:function(e,t,n){n.d(t,{m:function(){return u}});var r=n(22476),i=n(25218),o=n(69437),a=n(90999);let s=e=>(0,r.u)(0,255,e),l={...i.Rx,transform:e=>Math.round(s(e))},u={test:(0,a.i)("rgb","red"),parse:(0,a.d)("red","green","blue"),transform:e=>{let{red:t,green:n,blue:r,alpha:a=1}=e;return"rgba("+l.transform(t)+", "+l.transform(n)+", "+l.transform(r)+", "+(0,o.N)(i.Fq.transform(a))+")"}}},90999:function(e,t,n){n.d(t,{i:function(){return o},d:function(){return a}});var r=n(46574);let i=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,o=(e,t)=>n=>!!("string"==typeof n&&i.test(n)&&n.startsWith(e)||t&&null!=n&&Object.prototype.hasOwnProperty.call(n,t)),a=(e,t,n)=>i=>{if("string"!=typeof i)return i;let[o,a,s,l]=i.match(r.K);return{[e]:parseFloat(o),[t]:parseFloat(a),[n]:parseFloat(s),alpha:void 0!==l?parseFloat(l):1}}},67465:function(e,t,n){n.d(t,{h:function(){return l}});var r=n(50101),i=n(46574);let o=new Set(["brightness","contrast","saturate","opacity"]);function a(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(i.K)||[];if(!r)return e;let a=n.replace(r,""),s=o.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+a+")"}let s=/\b([a-z-]*)\(.*?\)/gu,l={...r.P,getAnimatableNone:e=>{let t=e.match(s);return t?t.map(a).join(" "):e}}},50101:function(e,t,n){n.d(t,{V:function(){return c},P:function(){return p}});var r=n(22809);let i=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var o=n(46574),a=n(69437);let s="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 c(e){let t=e.toString(),n=[],i={color:[],number:[],var:[]}
17,o=[],a=0,c=t.replace(u,e=>(r.$.test(e)?(i.color.push(a),o.push(l),n.push(r.$.parse(e))):e.startsWith("var(")?(i.var.push(a),o.push("var"),n.push(e)):(i.number.push(a),o.push(s),n.push(parseFloat(e))),++a,"${}")).split("${}");return{values:n,split:c,indexes:i,types:o}}function d(e){return c(e).values}function f(e){let{split:t,types:n}=c(e),i=t.length;return e=>{let o="";for(let u=0;u<i;u++)if(o+=t[u],void 0!==e[u]){let t=n[u];t===s?o+=(0,a.N)(e[u]):t===l?o+=r.$.transform(e[u]):o+=e[u]}return o}}let h=e=>"number"==typeof e?0:e,p={test:function(e){var t,n;return isNaN(e)&&"string"==typeof e&&((null===(t=e.match(o.K))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(i))||void 0===n?void 0:n.length)||0)>0},parse:d,createTransformer:f,getAnimatableNone:function(e){let t=d(e);return f(e)(t.map(h))}}},25218:function(e,t,n){n.d(t,{Fq:function(){return o},Rx:function(){return i},bA:function(){return a}});var r=n(22476);let i={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},o={...i,transform:e=>(0,r.u)(0,1,e)},a={...i,default:1}},72724:function(e,t,n){n.d(t,{$C:function(){return u},RW:function(){return i},aQ:function(){return o},px:function(){return a},vh:function(){return s},vw:function(){return l}});let r=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>"".concat(t).concat(e)}),i=r("deg"),o=r("%"),a=r("px"),s=r("vh"),l=r("vw"),u={...o,parse:e=>o.parse(e)/100,transform:e=>o.transform(100*e)}},46574:function(e,t,n){n.d(t,{K:function(){return r}});let r=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},69437:function(e,t,n){n.d(t,{N:function(){return r}});let r=e=>Math.round(1e5*e)/1e5},57985:function(e,t,n){n.d(t,{K:function(){return i}});var r=n(82702);function i(e,t){let n=e.getValue("willChange");if((0,r.i)(n)&&n.add)return n.add(t)}},82702:function(e,t,n){n.d(t,{i:function(){return r}});let r=e=>!!(e&&e.getVelocity)},14121:function(e,t,n){n.d(t,{b:function(){return o}});var r=n(30698),i=n(82702);function o(e){let t=(0,i.i)(e)?e.get():e;return(0,r.p)(t)?t.toValue():t}},62399:function(e,t,n){n.d(t,{sP:function(){return a},_F:function(){return h},iI:function(){return u},S9:function(){return d},wk:function(){return y},ev:function(){return s},Mr:function(){return A},qE:function(){return p},xD:function(){return f},DJ:function(){return C},hR:function(){return b},eB:function(){return function e(t,n){if(t)return"function"==typeof t&&v()?y(t,n):p(t)?x(t):Array.isArray(t)?t.map(t=>e(t,n)||w.easeOut):w[t]}},EO:function(){return l},OD:function(){return O},IG:function(){return E},KV:function(){return F},Vc:function(){return v},tn:function(){return i}});var r=n(17044);let i=(0,r.X)(()=>void 0!==window.ScrollTimeline);class o{get finished(){return Promise.all(this.animations.map(e=>"finished"in e?e.finished:e))}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,t){let n=this.animations.map(n=>i()&&n.attachTimeline?n.attachTimeline(e):"function"==typeof t?t(n):void 0);return()=>{n.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]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}}class a extends o{then(e,t){return Promise.all(this.animations).then(e).catch(t)}}function s(e,t){return e?e[t]||e.default||e:void 0}let l=2e4;function u(e){let t=0,n=e.next(t);for(;!n.done&&t<l;)t+=50,n=e.next(t);return t>=l?1/0:t}var c=n(72130);function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=arguments.length>2?arguments[2]:void 0,r=n({...e,keyframes:[0,t]}),i=Math.min(u(r),l);return{type:"keyframes",ease:e=>r.next(i*e).value/t,duration:(0,c.X)(i)}}function f(e){return"function"==typeof e}function h(e,t){e.timeline=t,e.onfinish=null}let p=e=>Array.isArray(e)&&"number"==typeof e[0],m={linearEasing:void 0},v=function(e,t){let n=(0,r.X)(e);return()=>{var e;return null!==(e=m[t])&&void 0!==e?e:n()}}(()=>{try{document.createElement("div").animate({opacity:0}
17,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing");var g=n(27406);let y=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r="",i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=e((0,g.Y)(0,i-1,t))+", ";return"linear(".concat(r.substring(0,r.length-2),")")};function b(e){return!!("function"==typeof e&&v()||!e||"string"==typeof e&&(e in w||v())||p(e)||Array.isArray(e)&&e.every(b))}let x=e=>{let[t,n,r,i]=e;return"cubic-bezier(".concat(t,", ").concat(n,", ").concat(r,", ").concat(i,")")},w={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:x([0,.65,.55,1]),circOut:x([.55,0,1,.45]),backIn:x([.31,.01,.66,-.59]),backOut:x([.33,1.53,.69,.99])},T={x:!1,y:!1};function E(e,t,n){var r;if(e instanceof Element)return[e];if("string"==typeof e){let i=document;t&&(i=t.current);let o=null!==(r=null==n?void 0:n[e])&&void 0!==r?r:i.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e)}function P(e,t){let n=E(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function S(e){return t=>{"touch"===t.pointerType||T.x||T.y||e(t)}}function A(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},[r,i,o]=P(e,n),a=S(e=>{let{target:n}=e,r=t(e);if("function"!=typeof r||!n)return;let o=S(e=>{r(e),n.removeEventListener("pointerleave",o)});n.addEventListener("pointerleave",o,i)});return r.forEach(e=>{e.addEventListener("pointerenter",a,i)}),o}let k=(e,t)=>!!t&&(e===t||k(e,t.parentElement)),C=e=>
17"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary,M=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),D=new WeakSet;function R(e){return t=>{"Enter"===t.key&&e(t)}}function L(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}let V=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=R(()=>{if(D.has(n))return;L(n,"down");let e=R(()=>{L(n,"up")});n.addEventListener("keyup",e,t),n.addEventListener("blur",()=>L(n,"cancel"),t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function j(e){return C(e)&&!(T.x||T.y)}function O(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},[r,i,o]=P(e,n),a=e=>{let r=e.currentTarget;if(!j(e)||D.has(r))return;D.add(r);let o=t(e),a=(e,t)=>{window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",l),j(e)&&D.has(r)&&(D.delete(r),"function"==typeof o&&o(e,{success:t}))},s=e=>{a(e,n.useGlobalTarget||k(r,e.target))},l=e=>{a(e,!1)};window.addEventListener("pointerup",s,i),window.addEventListener("pointercancel",l,i)};return r.forEach(e=>{M.has(e.tagName)||-1!==e.tabIndex||null!==e.getAttribute("tabindex")||(e.tabIndex=0),(n.useGlobalTarget?window:e).addEventListener("pointerdown",a,i),e.addEventListener("focus",e=>V(e,i),i)}),o}function F(e){return"x"===e||"y"===e?T[e]?null:(T[e]=!0,()=>{T[e]=!1}):T.x||T.y?null:(T.x=T.y=!0,()=>{T.x=T.y=!1})}},2587:function(e,t,n){n.d(t,{K:function(){return i},k:function(){return o}});var r=n(93098);let i=r.Z,o=r.Z},17044:function(e,t,n){n.d(t,{X:function(){return r}});function r(e){let t;return()=>(void 0===t&&(t=e()),t)}},93098:function(e,t,n){n.d(t,{Z:function(){return r}});let r=e=>e},27406:function(e,t,n){n.d(t,{Y:function(){return r}});let r=(e,t,n)=>{let r=t-e;return 0===r?1:(n-e)/r}},72130:function(e,t,n){n.d(t,{X:function(){return i},w:function(){return r}});let r=e=>1e3*e,i=e=>e/1e3}}]);
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.