1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4954],{89148:function(e,t,n){let r;n.d(t,{J:function(){return s}});let i=Symbol.for("react-aria.i18n.locale"),o=Symbol.for("react-aria.i18n.strings");class s{getStringForLocale(e,t){let n=this.getStringsForLocale(t)[e];if(!n)throw Error(`Could not find intl message ${e} in ${t} locale`);return n}getStringsForLocale(e){let t=this.strings[e];return t||(t=function(e,t,n="en-US"){if(t[e])return t[e];let r=Intl.Locale?new Intl.Locale(e).language:e.split("-")[0];if(t[r])return t[r];for(let e in t)if(e.startsWith(r+"-"))return t[e];return t[n]}(e,this.strings,this.defaultLocale),this.strings[e]=t),t}static getGlobalDictionaryForPackage(e){if("undefined"==typeof window)return null;let t=window[i];if(void 0===r){let e=window[o];if(!e)return null;for(let n in r={},e)r[n]=new s({[t]:e[n]},t)}let n=null==r?void 0:r[e];if(!n)throw Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}constructor(e,t="en-US"){this.strings=Object.fromEntries(Object.entries(e).filter(([,e])=>e)),this.defaultLocale=t}}},12113:function(e,t,n){n.d(t,{E:function(){return o}});let r=new Map,i=new Map;class o{format(e,t){let n=this.strings.getStringForLocale(e,this.locale);return"function"==typeof n?n(t,this):n}plural(e,t,n="cardinal"){let i=t["="+e];if(i)return"function"==typeof i?i():i;let o=this.locale+":"+n,s=r.get(o);return s||(s=new Intl.PluralRules(this.locale,{type:n}),r.set(o,s)),"function"==typeof(i=t[s.select(e)]||t.other)?i():i}number(e){let t=i.get(this.locale);return t||(t=new Intl.NumberFormat(this.locale),i.set(this.locale,t)),t.format(e)}select(e,t){let n=e[t]||e.other;return"function"==typeof n?n():n}constructor(e,t){this.locale=e,this.strings=t}}},81437:function(e,t,n){n.d(t,{Lj:function(){return r},y7:function(){return i}});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]};r.easeOut,r.easeIn;var i={scaleSpring:{enter:{transform:"scale(1)",opacity:1,transition:{type:"spring",bounce:0,duration:.3}},exit:{transform:"scale(0.6)",opacity:0,transition:{type:"easeOut",duration:.2}}},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}}}}},61640:function(e,t,n){n.d(t,{k:function(){return c}});var r=n(57560),i=n(16913),o=n(68726),s=n(19686),a=n(78737),l=n(59228),u=(0,o.Gp)((e,t)=>{let{as:n,children:o,className:u,...c}=e,{slots:d,classNames:f,headerId:h,setHeaderMounted:p}=(0,r.v)(),m=(0,s.gy)(t);return(0,i.useEffect)(()=>(p(!0),()=>p(!1)),[p]),(0,l.jsx)(n||"header",{ref:m,className:d.header({class:(0,a.W)(null==f?void 0:f.header,u)}),id:h,...c,children:o})});u.displayName="NextUI.ModalHeader";var c=u},57560:function(e,t,n){n.d(t,{D:function(){return r},v:function(){return i}});var[r,i]=(0,n(73610).k)({name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap all popover components within `<Modal />`"})},44897:function(e,t,n){n.d(t,{I:function(){return c}});var r=n(57560),i=n(16913),o=n(68726),s=n(19686),a=n(78737),l=n(59228),u=(0,o.Gp)((e,t)=>{let{as:n,children:o,className:u,...c}=e,{slots:d,classNames:f,bodyId:h,setBodyMounted:p}=(0,r.v)(),m=(0,s.gy)(t);return(0,i.useEffect)(()=>(p(!0),()=>p(!1)),[p]),(0,l.jsx)(n||"div",{ref:m,className:d.body({class:(0,a.W)(null==f?void 0:f.body,u)}),id:h,...c,children:o})});u.displayName="NextUI.ModalBody";var c=u},93990:function(e,t,n){n.d(t,{A:function(){return y}});var r=n(81437),i={enter:{scale:"var(--scale-enter)",y:"var(--slide-enter)",opacity:1,transition:{scale:{duration:.4,ease:r.Lj.ease},opacity:{duration:.4,ease:r.Lj.ease},y:{type:"spring",bounce:0,duration:.6}}},exit:{scale:"var(--scale-exit)",y:"var(--slide-exit)",opacity:0,transition:{duration:.3,ease:r.Lj.ease}}},o=n(57560),s=n(16913),a=n(68726),l=n(36432),u=n(63472),c=n(31553),d=n(18610),f=n(13015),h=n(64506),p=n(41508),m=n(83741),v=n(59228),g=(0,a.Gp)((e,t)=>{let{as:n,children:a,role:g="dialog",...y}=e,{Component:b,domRef:x,slots:w,classNames:E,motionProps:P,backdrop:S,closeButton:C,hideCloseButton:T,disableAnimation:A,getDialogProps:R,getBackdropProps:M,getCloseButtonProps:k,onClose:V}=(0,o.v)(),{dialogProps:N}=(0,h.R)({role:g},x),L=(0,s.isValidElement)(C)?(0,s.cloneElement)(C,k()):(0,v.jsx)("button",{...k(),children:(0,v.jsx)(u.T,{})}),F=(0,s.useCallback)(e=>{"Tab"===e.key&&e.nativeEvent.isComposing&&(e.stopPropagation(),e.preventDefault())},[]),D=R((0,p.d)(N,y)),O=(0,v.jsxs)(n||b||"div",{...D,onKeyDown:(0,m.t)(D.onKeyDown,F),children:[(0,v.jsx)(l.U,{onDismiss:V}),!T&&L,"function"==typeof a?a(V):a,(0,v.jsx)(l.U,{onDismiss:V})]}),I=(0,s.useMemo)(()=>"transparent"===S?null:A?(0,v.jsx)("div",{...M()}):(0,v.jsx)(c.X,{features:d.H,children:(0,v.jsx)(f.m.div,{animate:"enter",exit:"exit",initial:"exit",variants:r.y7.fade,...M()})}),[S,A,M]),j=A?(0,v.jsx)("div",{className:w.wrapper({class:null==E?void 0:E.wrapper}),"data-slot":"wrapper",children:O}):(0,v.jsx)(c.X,{features:d.H,children:(0,v.jsx)(f.m.div,{animate:"enter",className:w.wrapper({class:null==E?void 0:E.wrapper}),"data-slot":"wrapper",exit:"exit",initial:"exit",variants:i,...P,children:O})});
1return(0,v.jsxs)("div",{tabIndex:-1,children:[I,j]})});g.displayName="NextUI.ModalContent";var y=g},3813:function(e,t,n){n.d(t,{R:function(){return c}});var r=n(62939),i=n(57560),o=n(60208),s=n(35285),a=n(68726),l=n(59228),u=(0,a.Gp)((e,t)=>{let{children:n,...a}=e,u=(0,r.d)({...a,ref:t}),c=(0,l.jsx)(s.aV,{portalContainer:u.portalContainer,children:n});return(0,l.jsx)(i.D,{value:u,children:u.disableAnimation&&u.isOpen?c:(0,l.jsx)(o.M,{children:u.isOpen?c:null})})});u.displayName="NextUI.Modal";var c=u},62939:function(e,t,n){let r;n.d(t,{d:function(){return N}});var i=n(23545),o=n(34582),s=n(42312),a=n(83741),l=n(83028);let u="undefined"!=typeof document&&window.visualViewport,c=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),d=0;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;for(;e&&e!==t;){let t=(0,l.r)(e);if(t!==document.documentElement&&t!==document.body&&t!==e){let n=t.getBoundingClientRect().top,r=e.getBoundingClientRect().top;r>n+e.clientHeight&&(t.scrollTop+=r-n)}e=t.parentElement}}function m(e){return e instanceof HTMLInputElement&&!c.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}var v=n(35285),g=n(83435),y=n(41508),b=n(16913),x=n(56225),w=n(25284),E=(0,x.tv)({slots:{wrapper:["flex","w-screen","h-[100dvh]","fixed","inset-0","z-50","overflow-x-auto","justify-center","[--scale-enter:100%]","[--scale-exit:100%]","[--slide-enter:0px]","[--slide-exit:80px]","sm:[--scale-enter:100%]","sm:[--scale-exit:103%]","sm:[--slide-enter:0px]","sm:[--slide-exit:0px]"],base:["flex","flex-col","relative","bg-white","z-50","w-full","box-border","bg-content1","outline-none","mx-1","my-1","sm:mx-6","sm:my-16"],backdrop:"z-50",header:"flex py-4 px-6 flex-initial text-large font-semibold",body:"flex flex-1 flex-col gap-3 px-6 py-2",footer:"flex flex-row gap-2 px-6 py-4 justify-end",closeButton:["absolute","appearance-none","outline-none","select-none","top-1","right-1","rtl:left-1","rtl:right-[unset]","p-2","text-foreground-500","rounded-full","hover:bg-default-100","active:bg-default-200","tap-highlight-transparent",...w.Dh]},variants:{size:{xs:{base:"max-w-xs"},sm:{base:"max-w-sm"},md:{base:"max-w-md"},lg:{base:"max-w-lg"},xl:{base:"max-w-xl"},"2xl":{base:"max-w-2xl"},"3xl":{base:"max-w-3xl"},"4xl":{base:"max-w-4xl"},"5xl":{base:"max-w-5xl"},full:{base:"my-0 mx-0 sm:mx-0 sm:my-0 max-w-full h-[100dvh] !rounded-none"}},radius:{none:{base:"rounded-none"},sm:{base:"rounded-small"},md:{base:"rounded-medium"},lg:{base:"rounded-large"}},placement:{auto:{wrapper:"items-end sm:items-center"},center:{wrapper:"items-center sm:items-center"},top:{wrapper:"items-start sm:items-start"},"top-center":{wrapper:"items-start sm:items-center"},bottom:{wrapper:"items-end sm:items-end"},"bottom-center":{wrapper:"items-end sm:items-center"}},shadow:{sm:{base:"shadow-small"},md:{base:"shadow-medium"},lg:{base:"shadow-large"}},backdrop:{transparent:{backdrop:"hidden"},opaque:{backdrop:"bg-overlay/50 backdrop-opacity-disabled"},blur:{backdrop:"backdrop-blur-md backdrop-saturate-150 bg-overlay/30"}},scrollBehavior:{normal:{base:"overflow-y-hidden"},inside:{base:"max-h-[calc(100%_-_7.5rem)]",body:"overflow-y-auto"},outside:{wrapper:"items-start sm:items-start overflow-y-auto",base:"my-16"}}},defaultVariants:{size:"md",radius:"lg",shadow:"sm",placement:"auto",backdrop:"opaque",scrollBehavior:"normal"},compoundVariants:[{backdrop:["opaque","blur"],class:{backdrop:"w-screen h-screen fixed inset-0"}}]}),P=n(68726),S=n(41986),C=n(77304),T=n(78737),A=n(13359),R=n(73555),M=n(19686),k=n(35530),V=n(29385);function N(e){var t;let[n,c]=(0,P.oe)(e,E.variantKeys),{ref:x,as:w,className:N,classNames:L,disableAnimation:F=!1,isOpen:D,defaultOpen:O,onOpenChange:I,motionProps:j,closeButton:W,isDismissable:$=!0,hideCloseButton:B=!1,shouldBlockScroll:K=!0,portalContainer:z,isKeyboardDismissDisabled:H=!1,onClose:U,...X}=n,q=(0,M.gy)(x),Y=(0,b.useRef)(null),[_,Z]=(0,b.useState)(!1),[G,J]=(0,b.useState)(!1),Q=(0,b.useId)(),ee=(0,b.useId)(),et=(0,b.useId)(),en=(0,k.d)({isOpen:D,defaultOpen:O,onOpenChange:e=>{null==I||I(e),e||null==U||U()}}),{modalProps:er,underlayProps:ei}=function(e={shouldBlockScroll:!0},t,n){let{overlayProps:c,underlayProps:x}
1=(0,i.I)({...e,isOpen:t.isOpen,onClose:t.close},n);return!function(e={}){let{isDisabled:t}=e;(0,o.b)(()=>{if(!t){let e,t,n,i,o;return 1==++d&&(r=(0,s.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",`${window.innerWidth-document.documentElement.clientWidth}px`),f(document.documentElement,"overflow","hidden"),f(document.body,"marginTop",`-${t}px`),()=>{window.scrollTo(e,t)}),window.scrollTo(0,0)},o=(0,a.t)(h(document,"touchstart",n=>{((e=(0,l.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="",u&&(u.height<window.innerHeight?requestAnimationFrame(()=>{p(t)}):u.addEventListener("resize",()=>p(t),{once:!0}))}))},!0)),()=>{null==t||t(),null==n||n(),o()}):(0,a.t)(f(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),f(document.documentElement,"overflow","hidden"))),()=>{0==--d&&r()}}},[t])}({isDisabled:!t.isOpen||!e.shouldBlockScroll}),(0,v.Bq)(),(0,b.useEffect)(()=>{if(t.isOpen&&n.current)return(0,g.R)([n.current])},[t.isOpen,n]),{modalProps:(0,y.d)(c),underlayProps:x}}({isDismissable:$,shouldBlockScroll:K,isKeyboardDismissDisabled:H},en,q),{buttonProps:eo}=(0,S.j)({onPress:en.close},Y),{isFocusVisible:es,focusProps:ea}=(0,C.F)(),el=(0,T.W)(null==L?void 0:L.base,N),eu=(0,b.useMemo)(()=>E({...c}),[(0,A.Xx)(c)]),ec=(0,b.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{className:eu.backdrop({class:null==L?void 0:L.backdrop}),onClick:()=>en.close(),...ei,...e}},[eu,L,ei]);return{Component:w||"section",slots:eu,domRef:q,headerId:ee,bodyId:et,motionProps:j,classNames:L,isDismissable:$,closeButton:W,hideCloseButton:B,portalContainer:z,shouldBlockScroll:K,backdrop:null!=(t=e.backdrop)?t:"opaque",isOpen:en.isOpen,onClose:en.close,disableAnimation:F,setBodyMounted:J,setHeaderMounted:Z,getDialogProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{ref:(0,V.l)(t,q),...(0,y.d)(er,X,e),className:eu.base({class:(0,T.W)(el,e.className)}),id:Q,"data-open":(0,R.PB)(en.isOpen),"data-dismissable":(0,R.PB)($),"aria-modal":(0,R.PB)(!0),"aria-labelledby":_?ee:void 0,"aria-describedby":G?et:void 0}},getBackdropProps:ec,getCloseButtonProps:()=>({role:"button",tabIndex:0,"aria-label":"Close","data-focus-visible":(0,R.PB)(es),className:eu.closeButton({class:null==L?void 0:L.closeButton}),...(0,y.d)(eo,ea)})}}},73610:function(e,t,n){n.d(t,{k:function(){return i}});var r=n(16913);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{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 s=r.useContext(o);if(!s&&t){let t=Error(n);throw t.name="ContextError",null==(i=Error.captureStackTrace)||i.call(Error,t,e),t}return s},o]}},63472:function(e,t,n){n.d(t,{T:function(){return i}});var r=n(59228),i=e=>
1(0,r.jsx)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",role:"presentation",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",width:"1em",...e,children:(0,r.jsx)("path",{d:"M18 6L6 18M6 6l12 12"})})},73555:function(e,t,n){n.d(t,{Kn:function(){return o},PB:function(){return l},Ts:function(){return r},mf:function(){return a},xb:function(){return s}});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 s(e){return i(e)?i(e)&&0===e.length:o(e)?o(e)&&0===Object.keys(e).length:null==e||""===e}function a(e){return"function"==typeof e}var l=e=>e?"true":void 0},41986:function(e,t,n){n.d(t,{j:function(){return a}});var r=n(41508),i=n(80300),o=n(85253),s=n(79103);function a(e,t){let n,{elementType:a="button",isDisabled:l,onPress:u,onPressStart:c,onPressEnd:d,onPressChange:f,preventFocusOnPress:h,allowFocusWhenDisabled:p,onClick:m,href:v,target:g,rel:y,type:b="button",allowTextSelectionOnPress:x}=e;n="button"===a?{type:b,disabled:l}:{role:"button",tabIndex:l?void 0:0,href:"a"===a&&l?void 0:v,target:"a"===a?g:void 0,type:"input"===a?b:void 0,disabled:"input"===a?l:void 0,"aria-disabled":l&&"input"!==a?l:void 0,rel:"a"===a?y:void 0};let{pressProps:w,isPressed:E}=(0,s.r)({onPressStart:c,onPressEnd:d,onPressChange:f,onPress:u,isDisabled:l,preventFocusOnPress:h,allowTextSelectionOnPress:x,ref:t}),{focusableProps:P}=(0,o.k)(e,t);p&&(P.tabIndex=l?-1:P.tabIndex);let S=(0,r.d)(P,w,(0,i.z)(e,{labelable:!0}));return{isPressed:E,buttonProps:(0,r.d)(n,S,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:e=>{null==m||m(e)}})}}},64506:function(e,t,n){n.d(t,{R:function(){return l}});var r=n(78569),i=n(80300),o=n(94294),s=n(16913),a=n(35285);function l(e,t){let{role:n="dialog"}=e,l=(0,r.mp)();l=e["aria-label"]?void 0:l;let u=(0,s.useRef)(!1);return(0,s.useEffect)(()=>{if(t.current&&!t.current.contains(document.activeElement)){(0,o.e)(t.current);let e=setTimeout(()=>{document.activeElement===t.current&&(u.current=!0,t.current&&(t.current.blur(),(0,o.e)(t.current)),u.current=!1)},500);return()=>{clearTimeout(e)}}},[t]),(0,a.Bq)(),{dialogProps:{...(0,i.z)(e,{labelable:!0}),role:n,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||l,onBlur:e=>{u.current&&e.stopPropagation()}},titleProps:{id:l}}}},75285:function(e,t,n){n.d(t,{MT:function(){return u},E7:function(){return E},QL:function(){return w},cW:function(){return g}});var r=n(94294),i=n(54343),o=n(34582),s=n(16913);let a=s.createContext(null),l=null;function u(e){let t,n,{children:r,contain:u,restoreFocus:c,autoFocus:d}=e,f=(0,s.useRef)(null),g=(0,s.useRef)(null),E=(0,s.useRef)([]),{parentNode:P}=(0,s.useContext)(a)||{},S=(0,s.useMemo)(()=>new C({scopeRef:E}),[E]);(0,o.b)(()=>{let e=P||T.root;if(T.getTreeNode(e.scopeRef)&&l&&!y(l,e.scopeRef)){let t=T.getTreeNode(l);t&&(e=t)}e.addChild(S),T.addNode(S)},[S,P]),(0,o.b)(()=>{let e=T.getTreeNode(E);e&&(e.contain=!!u)},[u]),(0,o.b)(()=>{var e;let t=null===(e=f.current)||void 0===e?void 0:e.nextSibling,n=[];for(;t&&t!==g.current;)n.push(t),t=t.nextSibling;E.current=n},[r]),(0,o.b)(()=>{if(c||u)return;let e=E.current,t=(0,i.r)(e?e[0]:void 0),n=e=>{let t=e.target;m(t,E.current)?l=E:v(t)||(l=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))}},[E,c,u]),t=(0,s.useRef)(),n=(0,s.useRef)(),(0,o.b)(()=>{let e=E.current;if(!u){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||!p(E)||e.isComposing)return;let t=r.activeElement,n=E.current;if(!n||!m(t,n))return;let i=w(h(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&&b(o,!0)},s=e=>{(!l||y(l,E))&&m(e.target,E.current)?(l=E,t.current=e.target):p(E)&&!v(e.target,E)?t.current?t.current.focus():l&&l.current&&x(l.current):p(E)&&(t.current=e.target)},a=e=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{if(r.activeElement&&p(E)&&!v(r.activeElement,E)){if(l=E,r.body.contains(e.target)){var n;t.current=e.target,null===(n=t.current)||void 0===n||n.focus()}else l.current&&x(l.current)}})};return r.addEventListener("keydown",o,!1),r.addEventListener("focusin",s,!1),null==e||e.forEach(e
1=>e.addEventListener("focusin",s,!1)),null==e||e.forEach(e=>e.addEventListener("focusout",a,!1)),()=>{r.removeEventListener("keydown",o,!1),r.removeEventListener("focusin",s,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",s,!1)),null==e||e.forEach(e=>e.removeEventListener("focusout",a,!1))}},[E,u]),(0,o.b)(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n]),function(e,t,n){let r=(0,s.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 s=()=>{(!l||y(l,e))&&m(o.activeElement,e.current)&&(l=e)};return o.addEventListener("focusin",s,!1),null==r||r.forEach(e=>e.addEventListener("focusin",s,!1)),()=>{o.removeEventListener("focusin",s,!1),null==r||r.forEach(e=>e.removeEventListener("focusin",s,!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||!p(e)||t.isComposing)return;let n=r.activeElement;if(!m(n,e.current))return;let i=T.getTreeNode(e);if(!i)return;let o=i.nodeToRestore,s=w(r.body,{tabbable:!0});s.currentNode=n;let a=t.shiftKey?s.previousNode():s.nextNode();if(o&&r.body.contains(o)&&o!==r.body||(o=void 0,i.nodeToRestore=void 0),(!a||!m(a,e.current))&&o){s.currentNode=o;do a=t.shiftKey?s.previousNode():s.nextNode();while(m(a,e.current));(t.preventDefault(),t.stopPropagation(),a)?b(a,!0):v(o)?b(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 s=T.getTreeNode(e);if(s)return s.nodeToRestore=null!==(n=r.current)&&void 0!==n?n:void 0,()=>{let n=T.getTreeNode(e);if(!n)return;let r=n.nodeToRestore;if(t&&r&&(m(o.activeElement,e.current)||o.activeElement===o.body&&function(e){let t=T.getTreeNode(l);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(null==t?void 0:t.scopeRef)===e}(e))){let t=T.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let n=t.getTreeNode(e);for(;n;){if(n.nodeToRestore&&n.nodeToRestore.isConnected){b(n.nodeToRestore);return}n=n.parent}for(n=t.getTreeNode(e);n;){if(n.scopeRef&&n.scopeRef.current&&T.getTreeNode(n.scopeRef)){x(n.scopeRef.current,!0);return}n=n.parent}}})}}},[e,t])}(E,c,u),function(e,t){let n=s.useRef(t);(0,s.useEffect)(()=>{n.current&&(l=e,!m((0,i.r)(e.current?e.current[0]:void 0).activeElement,l.current)&&e.current&&x(e.current)),n.current=!1},[e])}(E,d),(0,s.useEffect)(()=>{let e=(0,i.r)(E.current?E.current[0]:void 0).activeElement,t=null;if(m(e,E.current)){for(let n of T.traverse())n.scopeRef&&m(e,n.scopeRef.current)&&(t=n);t===T.getTreeNode(E)&&(l=t.scopeRef)}},[E]),(0,o.b)(()=>()=>{var e,t,n;let r=null!==(n=null===(t=T.getTreeNode(E))||void 0===t?void 0:null===(e=t.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==n?n:null;(E===l||y(E,l))&&(!r||T.getTreeNode(r))&&(l=r),T.removeTreeNode(E)},[E]);let A=(0,s.useMemo)(()=>({focusNext(e={}){let t=E.current,{from:n,tabbable:r,wrap:o,accept:s}=e,a=n||(0,i.r)(t[0]).activeElement,l=t[0].previousElementSibling,u=w(h(t),{tabbable:r,accept:s},t);u.currentNode=m(a,t)?a:l;let c=u.nextNode();return!c&&o&&(u.currentNode=l,c=u.nextNode()),c&&b(c,!0),c},focusPrevious(e={}){let t=E.current,{from:n,tabbable:r,wrap:o,accept:s}=e,a=n||(0,i.r)(t[0]).activeElement,l=t[t.length-1].nextElementSibling,u=w(h(t),{tabbable:r,accept:s},t);u.currentNode=m(a,t)?a:l;let c=u.previousNode();return!c&&o&&(u.currentNode=l,c=u.previousNode()),c&&b(c,!0),c},focusFirst(e={}){let t=E.current,{tabbable:n,accept:r}=e,i=w(h(t),{tabbable:n,accept:r},t);i.currentNode=t[0].previousElementSibling;let o=i.nextNode();return o&&b(o,!0),o},focusLast(e={}){let t=E.current,{tabbable:n,accept:r}=e,i=w(h(t),{tabbable:n,accept:r},t);i.currentNode=t[t.length-1].nextElementSibling;let o=i.previousNode();return o&&b(o,!0),o}}),[]),R=(0,s.useMemo)(()=>({focusManager:A,parentNode:S}),[S,A]);return s.createElement(a.Provider,{value:R},s.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:f}),r,s.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:g}))}let c=["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]"],d=c.join(":not([hidden]),")+",[tabindex]:not
1([disabled]):not([hidden])";c.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let f=c.join(':not([hidden]):not([tabindex="-1"]),');function h(e){return e[0].parentElement}function p(e){let t=T.getTreeNode(l);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function m(e,t){return!!e&&!!t&&t.some(t=>t.contains(e))}function v(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of T.traverse(T.getTreeNode(t)))if(n&&m(e,n.current))return!0;return!1}function g(e){return v(e,l)}function y(e,t){var n;let r=null===(n=T.getTreeNode(t))||void 0===n?void 0:n.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function b(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch(e){}}else try{(0,r.e)(e)}catch(e){}}function x(e,t=!0){let n=e[0].previousElementSibling,r=h(e),i=w(r,{tabbable:t},e);i.currentNode=n;let o=i.nextNode();t&&!o&&((i=w(r=h(e),{tabbable:!1},e)).currentNode=n,o=i.nextNode()),b(o)}function w(e,t,n){let r=(null==t?void 0:t.tabbable)?f:d,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||m(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 E(e,t={}){return{focusNext(n={}){let r=e.current;if(!r)return null;let{from:o,tabbable:s=t.tabbable,wrap:a=t.wrap,accept:l=t.accept}=n,u=o||(0,i.r)(r).activeElement,c=w(r,{tabbable:s,accept:l});r.contains(u)&&(c.currentNode=u);let d=c.nextNode();return!d&&a&&(c.currentNode=r,d=c.nextNode()),d&&b(d,!0),d},focusPrevious(n=t){let r=e.current;if(!r)return null;let{from:o,tabbable:s=t.tabbable,wrap:a=t.wrap,accept:l=t.accept}=n,u=o||(0,i.r)(r).activeElement,c=w(r,{tabbable:s,accept:l});if(r.contains(u))c.currentNode=u;else{let e=P(c);return e&&b(e,!0),null!=e?e:null}let d=c.previousNode();if(!d&&a){c.currentNode=r;let e=P(c);if(!e)return null;d=e}return d&&b(d,!0),null!=d?d:null},focusFirst(n=t){let r=e.current;if(!r)return null;let{tabbable:i=t.tabbable,accept:o=t.accept}=n,s=w(r,{tabbable:i,accept:o}).nextNode();return s&&b(s,!0),s},focusLast(n=t){let r=e.current;if(!r)return null;let{tabbable:i=t.tabbable,accept:o=t.accept}=n,s=P(w(r,{tabbable:i,accept:o}));return s&&b(s,!0),null!=s?s:null}}}function P(e){let t,n;do(t=e.lastChild())&&(n=t);while(t);return n}class S{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 C({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&&m(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=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 S;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 C({scopeRef:null}),this.fastMap.set(null,this.root)}}class C{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 T=new S},94294:function(e,t,n){n.d(t,{e:function(){return a}});var r=n(54343),i=n(61515),o=n(30110),s=n(91439);function a(e){let t=(0,r.r)(e);if("virtual"===(0,s.Jz)()){let n=t.activeElement;(0,i.Q)(()=>{t.activeElement===n&&e.isConnected&&(0,o.A)(e)})}else(0,o.A)(e)}},85253:function(e,t,n){n.d(t,{k:function(){return c}});var r=n(94294),i=n(65217),o=n(41508),s=n(16913),a=n(21730),l=n(21983);let u=s.createContext(null);function c(e,t){let{focusProps:n}=(0,a.K)(e),{keyboardProps:c}=(0,l.v)(e),d=(0,o.d)(n,c),f=function(e){let t=(0,s.useContext)(u)||{};(0,i.l)(t,e);let{ref:n,...r}=t;return r}(t),h=e.isDisabled?{}:f,p=(0,s.useRef)(e.autoFocus);return(0,s.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)}}},93760:function(e,t,n){n.d(t,{b:function(){return m},j:function(){return v}});
1let r=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),i=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function o(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),n="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(n)return"rtl"===n.direction;if(t.script)return r.has(t.script)}let t=e.split("-")[0];return i.has(t)}var s=n(16913),a=n(87346);let l=Symbol.for("react-aria.i18n.locale");function u(){let e="undefined"!=typeof window&&window[l]||"undefined"!=typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch(t){e="en-US"}return{locale:e,direction:o(e)?"rtl":"ltr"}}let c=u(),d=new Set;function f(){for(let e of(c=u(),d))e(c)}function h(){let e=(0,a.Av)(),[t,n]=(0,s.useState)(c);return((0,s.useEffect)(()=>(0===d.size&&window.addEventListener("languagechange",f),d.add(n),()=>{d.delete(n),0===d.size&&window.removeEventListener("languagechange",f)}),[]),e)?{locale:"en-US",direction:"ltr"}:t}let p=s.createContext(null);function m(e){let{locale:t,children:n}=e,r=h(),i=t?{locale:t,direction:o(t)?"rtl":"ltr"}:r;return s.createElement(p.Provider,{value:i},n)}function v(){let e=h();return(0,s.useContext)(p)||e}},65828:function(e,t,n){n.d(t,{K:function(){return l},q:function(){return u}});var r=n(93760),i=n(89148),o=n(12113),s=n(16913);let a=new WeakMap;function l(e,t){let n;return t&&(0,i.J).getGlobalDictionaryForPackage(t)||((n=a.get(e))||(n=new i.J(e),a.set(e,n)),n)}function u(e,t){let{locale:n}=(0,r.j)(),i=l(e,t);return(0,s.useMemo)(()=>new o.E(n,i),[n,i])}},21983: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}})},36432:function(e,t,n){n.d(t,{U:function(){return l}});var r={};r={"ar-AE":{dismiss:`\u{62A}\u{62C}\u{627}\u{647}\u{644}`},"bg-BG":{dismiss:`\u{41E}\u{442}\u{445}\u{432}\u{44A}\u{440}\u{43B}\u{44F}\u{43D}\u{435}`},"cs-CZ":{dismiss:"Odstranit"},"da-DK":{dismiss:"Luk"},"de-DE":{dismiss:`Schlie\xdfen`},"el-GR":{dismiss:`\u{391}\u{3C0}\u{3CC}\u{3C1}\u{3C1}\u{3B9}\u{3C8}\u{3B7}`},"en-US":{dismiss:"Dismiss"},"es-ES":{dismiss:"Descartar"},"et-EE":{dismiss:`L\xf5peta`},"fi-FI":{dismiss:`Hylk\xe4\xe4`},"fr-FR":{dismiss:"Rejeter"},"he-IL":{dismiss:`\u{5D4}\u{5EA}\u{5E2}\u{5DC}\u{5DD}`},"hr-HR":{dismiss:"Odbaci"},"hu-HU":{dismiss:`Elutas\xedt\xe1s`},"it-IT":{dismiss:"Ignora"},"ja-JP":{dismiss:`\u{9589}\u{3058}\u{308B}`},"ko-KR":{dismiss:`\u{BB34}\u{C2DC}`},"lt-LT":{dismiss:"Atmesti"},"lv-LV":{dismiss:`Ner\u{101}d\u{12B}t`},"nb-NO":{dismiss:"Lukk"},"nl-NL":{dismiss:"Negeren"},"pl-PL":{dismiss:"Zignoruj"},"pt-BR":{dismiss:"Descartar"},"pt-PT":{dismiss:"Dispensar"},"ro-RO":{dismiss:"Revocare"},"ru-RU":{dismiss:`\u{41F}\u{440}\u{43E}\u{43F}\u{443}\u{441}\u{442}\u{438}\u{442}\u{44C}`},"sk-SK":{dismiss:`Zru\u{161}i\u{165}`},"sl-SI":{dismiss:"Opusti"},"sr-SP":{dismiss:"Odbaci"},"sv-SE":{dismiss:"Avvisa"},"tr-TR":{dismiss:"Kapat"},"uk-UA":{dismiss:`\u{421}\u{43A}\u{430}\u{441}\u{443}\u{432}\u{430}\u{442}\u{438}`},"zh-CN":{dismiss:`\u{53D6}\u{6D88}`},"zh-TW":{dismiss:`\u{95DC}\u{9589}`}};var i=n(16913),o=n(71208),s=n(65828),a=n(92783);function l(e){var t;let{onDismiss:n,...l}=e,u=(0,s.q)((t=r)&&t.__esModule?t.default:t,"@react-aria/overlays"),c=(0,o.b)(l,u.format("dismiss"));return i.createElement(a.T,null,i.createElement("button",{...c,tabIndex:-1,onClick:()=>{n&&n()},style:{width:1,height:1}}))}},35285:function(e,t,n){n.d(t,{aV:function(){return f},Bq:function(){return h}});var r=n(16913);let i=(0,r.createContext)({});var o=n(54524);function s({children:e}){let t=(0,r.useMemo)(()=>({register:()=>{}}),[]);return r.createElement(o.O.Provider,{value:t},e)}var a=n(75285),l=n(43176),u=n(87346),c=n(34582);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(a.MT,{restoreFocus:!0,contain:f&&!c},v)),v=r.createElement(d.Provider,{value:p},r.createElement(s,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])}},83435:function(e,t,n){n.d(t,{R:function(){return o}});let r=new WeakMap,i=[];function o(e,t=document.body){let n=new Set(e),o=new Set,s=e=>{for(let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))n.add(t);let t=e=>{if(n.has(e)||o.has(e.parentElement)&&"row"!==e.parentElement.getAttribute("role"))return NodeFilter.FILTER_REJECT;for(let t of n)if(e.contains(t))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:t}),i=t(e);if(i===NodeFilter.FILTER_ACCEPT&&a(e),i!==NodeFilter.FILTER_REJECT){let e=r.nextNode();for(;null!=e;)a(e),e=r.nextNode()}},a=e=>{var t;let n=null!==(t=r.get(e))&&void 0!==t?t:0;("true"!==e.getAttribute("aria-hidden")||0!==n)&&(0===n&&e.setAttribute("aria-hidden","true"),o.add(e),r.set(e,n+1))};i.length&&i[i.length-1].disconnect(),s(t);let l=new MutationObserver(e=>{for(let t of e)if("childList"===t.type&&0!==t.addedNodes.length&&![...n,...o].some(e=>
1e.contains(t.target))){for(let e of t.removedNodes)e instanceof Element&&(n.delete(e),o.delete(e));for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&("true"===e.dataset.liveAnnouncer||"true"===e.dataset.reactAriaTopLayer)?n.add(e):e instanceof Element&&s(e)}});l.observe(t,{childList:!0,subtree:!0});let u={observe(){l.observe(t,{childList:!0,subtree:!0})},disconnect(){l.disconnect()}};return i.push(u),()=>{for(let e of(l.disconnect(),o)){let t=r.get(e);1===t?(e.removeAttribute("aria-hidden"),r.delete(e)):r.set(e,t-1)}u===i[i.length-1]?(i.pop(),i.length&&i[i.length-1].observe()):i.splice(i.indexOf(u),1)}}},23545:function(e,t,n){n.d(t,{I:function(){return c}});var r=n(75285),i=n(16913),o=n(6700),s=n(54343);function a(e,t){if(e.button>0)return!1;if(e.target){let t=e.target.ownerDocument;if(!t||!t.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current&&!t.current.contains(e.target)}var l=n(61996);let u=[];function c(e,t){let{onClose:n,shouldCloseOnBlur:c,isOpen:d,isDismissable:f=!1,isKeyboardDismissDisabled:h=!1,shouldCloseOnInteractOutside:p}=e;(0,i.useEffect)(()=>(d&&u.push(t),()=>{let e=u.indexOf(t);e>=0&&u.splice(e,1)}),[d,t]);let m=()=>{u[u.length-1]===t&&n&&n()};!function(e){let{ref:t,onInteractOutside:n,isDisabled:r,onInteractOutsideStart:l}=e,u=(0,i.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),c=(0,o.i)(e=>{n&&a(e,t)&&(l&&l(e),u.current.isPointerDown=!0)}),d=(0,o.i)(e=>{n&&n(e)});(0,i.useEffect)(()=>{let e=u.current;if(r)return;let n=t.current,i=(0,s.r)(n);if("undefined"!=typeof PointerEvent){let n=n=>{e.isPointerDown&&a(n,t)&&d(n),e.isPointerDown=!1};return i.addEventListener("pointerdown",c,!0),i.addEventListener("pointerup",n,!0),()=>{i.removeEventListener("pointerdown",c,!0),i.removeEventListener("pointerup",n,!0)}}{let n=n=>{e.ignoreEmulatedMouseEvents?e.ignoreEmulatedMouseEvents=!1:e.isPointerDown&&a(n,t)&&d(n),e.isPointerDown=!1},r=n=>{e.ignoreEmulatedMouseEvents=!0,e.isPointerDown&&a(n,t)&&d(n),e.isPointerDown=!1};return i.addEventListener("mousedown",c,!0),i.addEventListener("mouseup",n,!0),i.addEventListener("touchstart",c,!0),i.addEventListener("touchend",r,!0),()=>{i.removeEventListener("mousedown",c,!0),i.removeEventListener("mouseup",n,!0),i.removeEventListener("touchstart",c,!0),i.removeEventListener("touchend",r,!0)}}},[t,r,c,d])}({ref:t,onInteractOutside:f&&d?e=>{(!p||p(e.target))&&(u[u.length-1]===t&&(e.stopPropagation(),e.preventDefault()),m())}:null,onInteractOutsideStart:e=>{(!p||p(e.target))&&u[u.length-1]===t&&(e.stopPropagation(),e.preventDefault())}});let{focusWithinProps:v}=(0,l.L)({isDisabled:!c,onBlurWithin:e=>{!(!e.relatedTarget||(0,r.cW)(e.relatedTarget))&&(!p||p(e.relatedTarget))&&n()}});return{overlayProps:{onKeyDown:e=>{"Escape"!==e.key||h||e.nativeEvent.isComposing||(e.stopPropagation(),e.preventDefault(),m())},...v},underlayProps:{onPointerDown:e=>{e.target===e.currentTarget&&e.preventDefault()}}}}},80300:function(e,t,n){n.d(t,{z:function(){return a}});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"]),s=/^(data-.*)$/;function a(e,t={}){let{labelable:n,isLink:a,propNames:l}=t,u={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r.has(t)||n&&i.has(t)||a&&o.has(t)||(null==l?void 0:l.has(t))||s.test(t))&&(u[t]=e[t]);return u}},83028:function(e,t,n){n.d(t,{r:function(){return i}});var r=n(43733);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}},43733:function(e,t,n){n.d(t,{a:function(){return r}});function r(e,t){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}},29385:function(e,t,n){n.d(t,{l:function(){return r}});function r(...e){return 1===e.length?e[0]:t=>{for(let n of e)"function"==typeof n?n(t):null!=n&&(n.current=t)}}},71208:function(e,t,n){n.d(t,{b:function(){return i}});var r=n(78569);function i(e,t){let{id:n,"aria-label":i,"aria-labelledby":o}=e;return n=(0,r.Me)(n),o&&i?o=[...new Set([n,...o.trim().split(/\s+/)])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),i||o||!t||(i=t),{id:n,"aria-label":i,"aria-labelledby":o}}},92783:function(e,t,n){n.d(t,{S:function(){return a},T:function(){return l}});var r=n(41508),i=n(16913),o=n(61996);let s={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function a(e={}){let{style:t,isFocusable:n}=e,[r,a]=(0,i.useState)(!1),{focusWithinProps:l}=(0,o.L)({isDisabled:!n,onFocusWithinChange:e=>a(e)}),u=(0,i.useMemo)(()=>r?t:t?{...s,...t}:s,[r]);return{visuallyHiddenProps:{...l,style:u}}}function l(e){let{children:t,elementType:n="div",isFocusable:o,style:s,...l}=e,{visuallyHiddenProps:u}=a(e);return i.createElement(n,(0,r.d)(l,u),t)}},35530:function(e,t,n){n.d(t,{d:function(){return o}});var r=n(16913),i=n(53995);function o(e){let[t,n]=(0,i.z)(e.isOpen,e.defaultOpen||!1,e.onOpenChange),o=(0,r.useCallback)(()=>{n(!0)},[n]),s=(0,r.useCallback)(()=>{n(!1)},[n]),a=(0,r.useCallback)(()=>{n(!t)},[n,t]);return{isOpen:t,setOpen:n,open:o,close:s,toggle:a}}},53995:function(e,t,n){n.d(t,{z:function(){return i}});var r=n(16913);function i(e,t,n){let[i,o]=(0,r.useState)(e||t),s=(0,r.useRef)(void 0!==e),a=void 0!==e;(0,r.useEffect)(()=>{let e=s.current;e!==a&&console.warn(`WARN: A component changed from ${e?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}.`),s.current=a},[a]);let l=a?e:i,u=(0,r.useCallback)((e,...t)=>{let r=(e,...t)=>{n&&!Object.is(l,e)&&n(e,...t),a||(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((n,...i)=>{let o=e(a?l:n,...i);return(r(o,...t),a)?n:o})):(a||o(e),r(e,...t))},[a,l,n]);return[l,u]}},47225:function(e,t,n){let r;n.d(t,{v:function(){return eM}});var i,o=n(31029),s=n(87256);let a={type:"spring",stiffness:500,damping:25,restSpeed:10},l=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),u={type:"keyframes",duration:.8},c={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},d=(e,{keyframes:t})=>t.length>2?u:s.G.has(e)?e.startsWith("scale")?l(t[1]):a:c;var f=n(32083),h=n(56230);let p={current:!1},m=e=>null!==e;function v(e,{repeat:t,repeatType:n="loop"},r){let i=e.filter(m),o=t&&"loop"!==n&&t%2==1?0:i.length-1;return o&&void 0!==r?r:i[o]}var g=n(91976),y=n(91120),b=n(95768),x=n(54618),w=n(58595),E=n(88364),P=n(15052);let S=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(P.P.test(e)||"0"===e)&&!e.startsWith("url("));class C{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:
1o="loop",...s}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:o,...s},this.updateFinishedPromise()}get resolved(){return this._resolved||this.hasAttemptedResolve||(0,w.m)(),this._resolved}onKeyframesResolved(e,t){this.hasAttemptedResolve=!0;let{name:n,type:r,velocity:i,delay:o,onComplete:s,onUpdate:a,isGenerator:l}=this.options;if(!l&&!function(e,t,n,r){let i=e[0];if(null===i)return!1;let o=e[e.length-1],s=S(i,t),a=S(o,t);return(0,E.K)(s===a,`You are trying to animate ${t} from "${i}" to "${o}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${o} via the \`style\` property.`),!!s&&!!a&&(function(e){let t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||"spring"===n&&r)}(e,n,r,i)){if(p.current||!o){null==a||a(v(e,this.options,t)),null==s||s(),this.resolveFinishedPromise();return}this.options.duration=0}let u=this.initPlayback(e,t);!1!==u&&(this._resolved={keyframes:e,finalKeyframe:t,...u},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}var T=n(33468);function A(e,t,n){let r=Math.max(t-5,0);return(0,T.R)(n-e(r),t-r)}var R=n(62326);function M(e,t){return e*Math.sqrt(1-t*t)}let k=["duration","bounce"],V=["stiffness","damping","mass"];function N(e,t){return t.some(t=>void 0!==e[t])}function L({keyframes:e,restDelta:t,restSpeed:n,...r}){let i;let s=e[0],a=e[e.length-1],l={done:!1,value:s},{stiffness:u,damping:c,mass:d,duration:f,velocity:h,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!N(e,V)&&N(e,k)){let n=function({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,s;(0,E.K)(e<=(0,o.w)(10),"Spring duration must be 10 seconds or less");let a=1-t;a=(0,R.u)(.05,1,a),e=(0,R.u)(.01,10,(0,o.X)(e)),a<1?(i=t=>{let r=t*a,i=r*e;return .001-(r-n)/M(t,a)*Math.exp(-i)},s=t=>{let r=t*a*e,o=Math.pow(a,2)*Math.pow(t,2)*e,s=M(Math.pow(t,2),a);return(r*n+n-o)*Math.exp(-r)*(-i(t)+.001>0?-1:1)/s}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),s=t=>e*e*(n-t)*Math.exp(-t*e));let l=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(i,s,5/e);if(e=(0,o.w)(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(l,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}(e);(t={...t,...n,mass:1}).isResolvedFromDuration=!0}return t}({...r,velocity:-(0,o.X)(r.velocity||0)}),m=h||0,v=c/(2*Math.sqrt(u*d)),g=a-s,y=(0,o.X)(Math.sqrt(u/d)),b=5>Math.abs(g);if(n||(n=b?.01:2),t||(t=b?.005:.5),v<1){let e=M(y,v);i=t=>a-Math.exp(-v*y*t)*((m+v*y*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}else if(1===v)i=e=>a-Math.exp(-y*e)*(g+(m+y*g)*e);else{let e=y*Math.sqrt(v*v-1);i=t=>{let n=Math.exp(-v*y*t),r=Math.min(e*t,300);return a-n*((m+v*y*g)*Math.sinh(r)+e*g*Math.cosh(r))/e}}return{calculatedDuration:p&&f||null,next:e=>{let r=i(e);if(p)l.done=e>=f;else{let o=m;0!==e&&(o=v<1?A(i,e,r):0);let s=Math.abs(o)<=n,u=Math.abs(a-r)<=t;l.done=s&&u}return l.value=l.done?a:r,l}}}function F({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){let d,f;let h=e[0],p={done:!1,value:h},m=e=>void 0!==a&&e<a||void 0!==l&&e>l,v=e=>void 0===a?l:void 0===l?a:Math.abs(a-e)<Math.abs(l-e)?a:l,g=n*t,y=h+g,b=void 0===s?y:s(y);b!==y&&(g=b-h);let x=e=>-g*Math.exp(-e/r),w=e=>b+x(e),E=e=>{let t=x(e),n=w(e);p.done=Math.abs(t)<=u,p.value=p.done?b:n},P=e=>{m(p.value)&&(d=e,f=L({keyframes:[p.value,v(p.value)],velocity:A(w,e,p.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return P(0),{calculatedDuration:null,next:e=>{let t=!1;return(f||void 0!==d||(t=!0,E(e),P(e)),void 0!==d&&e>=d)?f.next(e-d):(t||E(e),p)}}}let D=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function O(e,t,n,r){if(e===t&&n===r)return x.Z;let i=t=>(function(e,t,n,r,i){let o,s;let a=0;do(o=D(s=t+(n-t)/2,r,i)-e)>0?n=s:t=s;while(Math.abs(o)>1e-7&&++a<12);return s})(t,0,1,e,n);return e=>0===e||1===e?e:D(i(e),t,r)}let I=O(.42,0,1,1),j=O(0,0,.58,1),W=O(.42,0,.58,1),$=e=>Array.isArray(e)&&"number"!=typeof e[0];var B=n(78077),K=n(27319),z=n(17518);let H=O(.33,1.53,.69,.99),U=(0,z.M)(H),X=(0,K.o)(U),q={linear:x.Z,easeIn:I,easeInOut:W,easeOut:j,circIn:B.Z7,circInOut:B.X7,circOut:B.Bn,backIn:U,backInOut:X,backOut:H,anticipate:e=>(e*=2)<1?.5*U(e):.5*(2-Math.pow(2,-10*(e-1)))},Y=e=>{if(Array.isArray(e)){(0,E.k)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,i]=e;return O(t,n,r,i)}return"string"==typeof e?((0,E.k)(void 0!==q[e],`Invalid easing type '${e}'`),q[e]):e};var _=n(32482),Z=n(19411),G=n(79514);function J(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 Q=n(50431),ee=n(57327),et=n(37917);let en=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},er=[Q.$,ee.m,et.J],ei=e=>er.find(t=>t.test(e));function eo(e){let t=ei(e);(0,E.k)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=t.parse(e);return t===et.J&&(n=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,s=0;if(t/=100){let r=n<.5?n*(1+t):n+t-n*t,a=2*n-r;i=J(a,r,e+1/3),o=J(a,r,e),s=J(a,r,e-1/3)}else i=o=s=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*s),alpha:r}}(n)),n}let es=(e,t)=>{let n=eo(e),r=eo(t),i={...n};return e=>(i.red=en(n.red,r.red,e),i.green=en(n.green,r.green,e),i.blue=en(n.blue,r.blue,e),i.alpha=(0,G.t)(n.alpha,r.alpha,e),ee.m.transform(i))};var ea=n(52364),el=n(23998);function eu(e,t){return n=>n>0?t:e}function ec(e,t){return n=>(0,G.t)(e,t,n)}function ed(e){return"number"==typeof e?ec:"string"==typeof e?(0,el.t)(e)?eu:ea.$.test(e)?es:ep:Array.isArray(e)?ef:"object"==typeof e?ea.$.test(e)?es:eh:eu}function ef(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>ed(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function eh(e,t){let n={...e,...t},r={};for(let i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=ed(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}let ep=(e,t)=>{let n=P.P.createTransformer(t),r=(0,P.V)(e),i=(0,P.V)(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?(0,_.z)(ef(function(e,t){var n;let r=[],i={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){let s=t.types[o],a=e.indexes[s][i[s]],l=null!==(n=e.values[a])&&void 0!==n?n:0;r[o]=l,i[s]++}return r}(r,i),i.values),n):((0,E.K)(!0,`Complex values '${e}' and '${t}
1' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),eu(e,t))};function em(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?(0,G.t)(e,t,n):ed(e)(e,t)}function ev({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){let i=$(r)?r.map(Y):Y(r),o={done:!1,value:t[0]},s=function(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let o=e.length;if((0,E.k)(o===t.length,"Both input and output ranges must be the same length"),1===o)return()=>t[0];if(2===o&&e[0]===e[1])return()=>t[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=function(e,t,n){let r=[],i=n||em,o=e.length-1;for(let n=0;n<o;n++){let o=i(e[n],e[n+1]);if(t){let e=Array.isArray(t)?t[n]||x.Z:t;o=(0,_.z)(e,o)}r.push(o)}return r}(t,r,i),a=s.length,l=t=>{let n=0;if(a>1)for(;n<e.length-2&&!(t<e[n+1]);n++);let r=(0,Z.Y)(e[n],e[n+1],t);return s[n](r)};return n?t=>l((0,R.u)(e[0],e[o-1],t)):l}((n&&n.length===t.length?n:function(e){let t=[0];return function(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=(0,Z.Y)(0,t,r);e.push((0,G.t)(n,1,i))}}(t,e.length-1),t}(t)).map(t=>t*e),t,{ease:Array.isArray(i)?i:t.map(()=>i||W).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(o.value=s(t),o.done=t>=e,o)}}let eg=e=>{let t=({timestamp:t})=>e(t);return{start:()=>g.Wi.update(t,!0),stop:()=>(0,g.Pn)(t),now:()=>g.frameData.isProcessing?g.frameData.timestamp:y.X.now()}},ey={decay:F,inertia:F,tween:ev,keyframes:ev,spring:L},eb=e=>e/100;class ex extends C{constructor({KeyframeResolver:e=w.e,...t}){super(t),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",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:n,motionValue:r,keyframes:i}=this.options,o=(e,t)=>this.onKeyframesResolved(e,t);n&&r&&r.owner?this.resolver=r.owner.resolveKeyframes(i,o,n,r):this.resolver=new e(i,o,n,r),this.resolver.scheduleResolve()}initPlayback(e){let t,n;let{type:r="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:s,velocity:a=0}=this.options,l=ey[r]||ev;l!==ev&&"number"!=typeof e[0]&&(t=(0,_.z)(eb,em(e[0],e[1])),e=[0,100]);let u=l({...this.options,keyframes:e});"mirror"===s&&(n=l({...this.options,keyframes:[...e].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=function(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}(u));let{calculatedDuration:c}=u,d=c+o;return{generator:u,mirroredGenerator:n,mapPercentToKeyframes:t,calculatedDuration:c,resolvedDuration:d,totalDuration:d*(i+1)-o}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){let{resolved:n}=this;if(!n){let{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}let{finalKeyframe:r,generator:i,mirroredGenerator:o,mapPercentToKeyframes:s,keyframes:a,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 g=this.currentTime-d*(this.speed>=0?1:-1),y=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let b=this.currentTime,x=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&&(x=o)),b=(0,R.u)(0,1,n)*c}let w=y?{done:!1,value:a[0]}:x.next(b);s&&(w.value=s(w.value));let{done:E}=w;y||null===l||(E=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let P=null===this.holdTime&&("finished"===this.state||"running"===this.state&&E);return P&&void 0!==r&&(w.value=v(a,this.options,r)),m&&m(w.value),P&&this.finish(),w}get duration(){let{resolved:e}=this;return e?(0,o.X)(e.calculatedDuration):0}
1get time(){return(0,o.X)(this.currentTime)}set time(e){e=(0,o.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,o.X)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=eg,onPlay:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();let n=this.driver.now();null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime&&"finished"!==this.state||(this.startTime=n),"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)}}let ew=e=>Array.isArray(e)&&"number"==typeof e[0],eE=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,eP={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:eE([0,.65,.55,1]),circOut:eE([.55,0,1,.45]),backIn:eE([.31,.01,.66,-.59]),backOut:eE([.33,1.53,.69,.99])};function eS(e){return eC(e)||eP.easeOut}function eC(e){if(e)return ew(e)?eE(e):Array.isArray(e)?e.map(eS):eP[e]}let eT=(i=()=>Object.hasOwnProperty.call(Element.prototype,"animate"),()=>(void 0===r&&(r=i()),r)),eA=new Set(["opacity","clipPath","filter","transform"]);class eR extends C{constructor(e){super(e);let{name:t,motionValue:n,keyframes:r}=this.options;this.resolver=new b.s(r,(e,t)=>this.onKeyframesResolved(e,t),t,n),this.resolver.scheduleResolve()}initPlayback(e,t){var n,r;let{duration:i=300,times:o,ease:s,type:a,motionValue:l,name:u}=this.options;if(!(null===(n=l.owner)||void 0===n?void 0:n.current))return!1;if("spring"===(r=this.options).type||"backgroundColor"===r.name||!function e(t){return!!(!t||"string"==typeof t&&t in eP||ew(t)||Array.isArray(t)&&t.every(e))}(r.ease)){let{onComplete:t,onUpdate:n,motionValue:r,...l}=this.options,u=function(e,t){let n=new ex({...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,l);1===(e=u.keyframes).length&&(e[1]=e[0]),i=u.duration,o=u.times,s=u.ease,a="keyframes"}let c=function(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:a,times:l}={}){let u={[t]:n};l&&(u.offset=l);let c=eC(a);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"})}(l.owner.current,u,e,{...this.options,duration:i,times:o,ease:s});return c.startTime=y.X.now(),this.pendingTimeline?(c.timeline=this.pendingTimeline,this.pendingTimeline=void 0):c.onfinish=()=>{let{onComplete:n}=this.options;l.set(v(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:i,times:o,type:a,ease:s,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return(0,o.X)(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return(0,o.X)(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.currentTime=(0,o.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}attachTimeline(e){if(this._resolved){let{resolved:t}=this;if(!t)return x.Z;let{animation:n}=t;n.timeline=e,n.onfinish=null}else this.pendingTimeline=e;return x.Z}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;
1"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;let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:n,duration:r,type:i,ease:s,times:a}=e;if("idle"!==t.playState&&"finished"!==t.playState){if(this.time){let{motionValue:e,onUpdate:t,onComplete:l,...u}=this.options,c=new ex({...u,keyframes:n,duration:r,type:i,ease:s,times:a,isGenerator:!0}),d=(0,o.w)(this.time);e.setWithVelocity(c.sample(d-10).value,c.sample(d).value,10)}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:s}=e;return eT()&&n&&eA.has(n)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!r&&"mirror"!==i&&0!==o&&"inertia"!==s}}let eM=(e,t,n,r={},i,s)=>a=>{let l=(0,f.e)(r,e)||{},u=l.delay||r.delay||0,{elapsed:c=0}=r;c-=(0,o.w)(u);let m={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-c,onUpdate:e=>{t.set(e),l.onUpdate&&l.onUpdate(e)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:s?void 0:i};(0,f.r)(l)||(m={...m,...d(e,m)}),m.duration&&(m.duration=(0,o.w)(m.duration)),m.repeatDelay&&(m.repeatDelay=(0,o.w)(m.repeatDelay)),void 0!==m.from&&(m.keyframes[0]=m.from);let y=!1;if(!1!==m.type&&(0!==m.duration||m.repeatDelay)||(m.duration=0,0!==m.delay||(y=!0)),(p.current||h.c.skipAnimations)&&(y=!0,m.duration=0,m.delay=0),y&&!s&&void 0!==t.get()){let e=v(m.keyframes,l);if(void 0!==e){g.Wi.update(()=>{m.onUpdate(e),m.onComplete()});return}}return!s&&eR.supports(m)?new eR(m):new ex(m)}},6137:function(e,t,n){n.d(t,{M:function(){return r}});let r="data-"+(0,n(53130).D)("framerAppearId")},65179:function(e,t,n){n.d(t,{H:function(){return r}});function r(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}},98021:function(e,t,n){n.d(t,{C:function(){return r}});let r=e=>Array.isArray(e)},32083:function(e,t,n){function r({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}function i(e,t){return e[t]||e.default||e}n.d(t,{e:function(){return i},r:function(){return r}})},60208:function(e,t,n){n.d(t,{M:function(){return y}});var r=n(59228),i=n(16913),o=n(48541),s=n(23868),a=n(69850),l=n(77718),u=n(53138);class c 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 d({children:e,isPresent:t}){let n=(0,i.useId)(),o=(0,i.useRef)(null),s=(0,i.useRef)({width:0,height:0,top:0,left:0}),{nonce:a}=(0,i.useContext)(u._);return(0,i.useInsertionEffect)(()=>{let{width:e,height:r,top:i,left:l}=s.current;if(t||!o.current||!e||!r)return;o.current.dataset.motionPopId=n;let u=document.createElement("style");return a&&(u.nonce=a),document.head.appendChild(u),u.sheet&&u.sheet.insertRule(` 2 [data-motion-pop-id="${n}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${r}px !important; 6 top: ${i}px !important; 7 left: ${l}px !important; 8 } 9 `),()=>{document.head.removeChild(u)}},[t]),(0,r.jsx)(c,{isPresent:t,childRef:o,sizeRef:s,children:i.cloneElement(e,{ref:o})})}let f=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:s,presenceAffectsLayout:u,mode:c})=>{let f=(0,l.h)(h),p=(0,i.useId)(),m=(0,i.useMemo)(()=>({id:p,initial:t,isPresent:n,custom:s,onExitComplete:e=>{for(let t of(f.set(e,!0),f.values()))if(!t)return;o&&o()},register:e=>(f.set(e,!1),()=>f.delete(e))}),u?[Math.random()]:[n]);return(0,i.useMemo)(()=>{f.forEach((e,t)=>f.set(t,!1))},[n]),i.useEffect(()=>{n||f.size||!o||o()},[n]),"popLayout"===c&&(e=(0,r.jsx)(d,{isPresent:n,children:e})),(0,r.jsx)(a.O.Provider,{value:m,children:e})};function h(){return new Map}var p=n(6967),m=n(32209),v=n(88364);let g=e=>e.key||"",y=({children:e,custom:t,initial:n=!0,onExitComplete:a,exitBeforeEnter:l,presenceAffectsLayout:u=!0,mode:c="sync"})=>{var d;(0,v.k)(!l,"Replace exitBeforeEnter with mode='wait'");let h=(0,i.useContext)(p.p).forceRender||(0,o.N)()[0],y=(0,s.t)(),b=function(e){let t=[];
9return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}(e),x=b,w=(0,i.useRef)(new Map).current,E=(0,i.useRef)(x),P=(0,i.useRef)(new Map).current,S=(0,i.useRef)(!0);if((0,m.L)(()=>{S.current=!1,function(e,t){e.forEach(e=>{let n=g(e);t.set(n,e)})}(b,P),E.current=x}),d=()=>{S.current=!0,P.clear(),w.clear()},(0,i.useEffect)(()=>()=>d(),[]),S.current)return(0,r.jsx)(r.Fragment,{children:x.map(e=>(0,r.jsx)(f,{isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:u,mode:c,children:e},g(e)))});x=[...x];let C=E.current.map(g),T=b.map(g),A=C.length;for(let e=0;e<A;e++){let t=C[e];-1!==T.indexOf(t)||w.has(t)||w.set(t,void 0)}return"wait"===c&&w.size&&(x=[]),w.forEach((e,n)=>{if(-1!==T.indexOf(n))return;let i=P.get(n);if(!i)return;let o=C.indexOf(n),s=e;s||(s=(0,r.jsx)(f,{isPresent:!1,onExitComplete:()=>{w.delete(n);let e=Array.from(P.keys()).filter(e=>!T.includes(e));if(e.forEach(e=>P.delete(e)),E.current=b.filter(t=>{let r=g(t);return r===n||e.includes(r)}),!w.size){if(!1===y.current)return;h(),a&&a()}},custom:t,presenceAffectsLayout:u,mode:c,children:i},g(i)),w.set(n,s)),x.splice(o,0,s)}),x=x.map(e=>{let t=e.key;return w.has(t)?e:(0,r.jsx)(f,{isPresent:!0,presenceAffectsLayout:u,mode:c,children:e},g(e))}),(0,r.jsx)(r.Fragment,{children:w.size?x:x.map(e=>(0,i.cloneElement)(e))})}},31553:function(e,t,n){n.d(t,{X:function(){return a}});var r=n(59228),i=n(16913),o=n(56723),s=n(8978);function a({children:e,features:t,strict:n=!1}){let[,a]=(0,i.useState)(!l(t)),u=(0,i.useRef)(void 0);if(!l(t)){let{renderer:e,...n}=t;u.current=e,(0,s.K)(n)}return(0,i.useEffect)(()=>
9{l(t)&&t().then(({renderer:e,...t})=>{(0,s.K)(t),u.current=e,a(!0)})},[]),(0,r.jsx)(o.u.Provider,{value:{renderer:u.current,strict:n},children:e})}function l(e){return"function"==typeof e}},6967:function(e,t,n){n.d(t,{p:function(){return r}});let r=(0,n(16913).createContext)({})},56723:function(e,t,n){n.d(t,{u:function(){return r}});let r=(0,n(16913).createContext)({strict:!1})},53138:function(e,t,n){n.d(t,{_:function(){return r}});let r=(0,n(16913).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},69850:function(e,t,n){n.d(t,{O:function(){return r}});let r=(0,n(16913).createContext)(null)},84278:function(e,t,n){n.d(t,{g:function(){return r}});let r=(0,n(16913).createContext)({})},78077:function(e,t,n){n.d(t,{Bn:function(){return s},X7:function(){return a},Z7:function(){return o}});var r=n(27319),i=n(17518);let o=e=>1-Math.sin(Math.acos(e)),s=(0,i.M)(o),a=(0,r.o)(o)},27319: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},17518:function(e,t,n){n.d(t,{M:function(){return r}});let r=e=>t=>1-e(1-t)},26689:function(e,t,n){n.d(t,{E:function(){return r}});function r(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}},22585:function(e,t,n){n.d(t,{a:function(){return o}});var r=n(26689),i=n(99145);function o(e,t,n,o){return(0,r.E)(e,t,(0,i.s)(n),o)}},99145:function(e,t,n){n.d(t,{Q:function(){return i},s:function(){return o}});var r=n(87137);function i(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}let o=e=>t=>(0,r.D)(t)&&e(t,i(t))},87137:function(e,t,n){n.d(t,{D:function(){return r}});let r=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary},40741:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(56230);class i{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){let t=this.order.indexOf(e);-1!==t&&(this.order.splice(t,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}}let o=["read","resolveKeyframes","update","preRender","render","postRender"];function s(e,t){let n=!1,s=!0,a={delta:0,timestamp:0,isProcessing:!1},l=o.reduce((e,t)=>(e[t]=function(e){let t=new i,n=new i,r=0,o=!1,s=!1,a=new WeakSet,l={schedule:(e,i=!1,s=!1)=>{let l=s&&o,u=l?t:n;return i&&a.add(e),u.add(e)&&l&&o&&(r=t.order.length),e},cancel:e=>{n.remove(e),a.delete(e)},process:i=>{if(o){s=!0;return}if(o=!0,[t,n]=[n,t],n.clear(),r=t.order.length)for(let n=0;n<r;n++){let r=t.order[n];a.has(r)&&(l.schedule(r),e()),r(i)}o=!1,s&&(s=!1,l.process(i))}};return l}(()=>n=!0),e),{}),u=e=>{l[e].process(a)},c=()=>{let i=r.c.useManualTiming?a.timestamp:performance.now();n=!1,a.delta=s?1e3/60:Math.max(Math.min(i-a.timestamp,40),1),a.timestamp=i,a.isProcessing=!0,o.forEach(u),a.isProcessing=!1,n&&t&&(s=!1,e(c))},d=()=>{n=!0,s=!0,a.isProcessing||e(c)};return{schedule:o.reduce((e,t)=>{let r=l[t];return e[t]=(e,t=!1,i=!1)=>(n||d(),r.schedule(e,t,i)),e},{}),cancel:e=>o.forEach(t=>l[t].cancel(e)),state:a,steps:l}}},91976:function(e,t,n){n.d(t,{Pn:function(){return o},S6:function(){return a},Wi:function(){return i},frameData:function(){return s}});var r=n(54618);let{schedule:i,cancel:o,state:s,steps:a}=(0,n(40741).Z)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:r.Z,!0)},12666:function(e,t,n){n.d(t,{g:function(){return r}});let{schedule:r,cancel:i}=(0,n(40741).Z)(queueMicrotask,!1)},91120:function(e,t,n){let r;n.d(t,{X:function(){return a}});var i=n(56230),o=n(91976);function s(){r=void 0}let a={now:()=>(void 0===r&&a.set(o.frameData.isProcessing||i.c.useManualTiming?o.frameData.timestamp:performance.now()),r),set:e=>{r=e,queueMicrotask(s)}}},41523:function(e,t,n){function r(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}n.d(t,{fJ:function(){return s},gD:function(){return a}});let i=r("dragHorizontal"),o=r("dragVertical");function s(e){let t=!1;if("y"===e)t=o();else if("x"===e)t=i();else{let e=i(),n=o();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function a(){let e=s(!0);return!e||(e(),!1)}},37583:function(e,t,n){n.d(t,{L:function(){return r}});
9class r{constructor(e){this.isMounted=!1,this.node=e}update(){}}},24970:function(e,t,n){n.d(t,{A: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])}},8978:function(e,t,n){n.d(t,{K:function(){return i}});var r=n(24970);function i(e){for(let t in e)r.A[t]={...r.A[t],...e[t]}}},73930:function(e,t,n){n.d(t,{j:function(){return o}});var r=n(59856),i=n(87256);function o(e,{layout:t,layoutId:n}){return i.G.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!r.P[e]||"opacity"===e)}},25291:function(e,t,n){function r({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function i({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.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}})},98259:function(e,t,n){n.d(t,{D2:function(){return m},YY:function(){return u},am:function(){return d},o2:function(){return l},q2:function(){return o}});var r=n(79514),i=n(67162);function o(e,t,n){return n+t*(e-n)}function s(e,t,n,r,i){return void 0!==i&&(e=r+i*(e-r)),r+n*(e-r)+t}function a(e,t=0,n=1,r,i){e.min=s(e.min,t,n,r,i),e.max=s(e.max,t,n,r,i)}function l(e,{x:t,y:n}){a(e.x,t.translate,t.scale,t.originPoint),a(e.y,n.translate,n.scale,n.originPoint)}function u(e,t,n,r=!1){let o,s;let a=n.length;if(a){t.x=t.y=1;for(let u=0;u<a;u++){s=(o=n[u]).projectionDelta;let a=o.instance;(!a||!a.style||"contents"!==a.style.display)&&(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&m(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,l(e,s)),r&&(0,i.ud)(o.latestValues)&&m(e,o.latestValues))}t.x=c(t.x),t.y=c(t.y)}}function c(e){return Number.isInteger(e)?e:e>1.0000000000001||e<.999999999999?e:1}function d(e,t){e.min=e.min+t,e.max=e.max+t}function f(e,t,[n,i,o]){let s=void 0!==t[o]?t[o]:.5,l=(0,r.t)(e.min,e.max,s);a(e,t[n],t[i],l,t.scale)}let h=["x","scaleX","originX"],p=["y","scaleY","originY"];function m(e,t){f(e.x,t,h),f(e.y,t,p)}},33822:function(e,t,n){n.d(t,{dO:function(){return s},wc:function(){return i}});let r=()=>({translate:0,scale:1,origin:0,originPoint:0}),i=()=>({x:r(),y:r()}),o=()=>({min:0,max:0}),s=()=>({x:o(),y:o()})},59856:function(e,t,n){n.d(t,{B:function(){return i},P:function(){return r}});let r={};function i(e){Object.assign(r,e)}},67162:function(e,t,n){function r(e){return void 0===e||1===e}function i({scale:e,scaleX:t,scaleY:n}){return!r(e)||!r(t)||!r(n)}function o(e){return i(e)||s(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function s(e){var t,n;return(t=e.x)&&"0%"!==t||(n=e.y)&&"0%"!==n}n.d(t,{D_:function(){return s},Lj:function(){return i},ud:function(){return o}})},24694:function(e,t,n){n.d(t,{J:function(){return o},z:function(){return s}});var r=n(25291),i=n(98259);function o(e,t){return(0,r.i8)((0,r.d7)(e.getBoundingClientRect(),t))}function s(e,t,n){let r=o(e,n),{scroll:s}=t;return s&&((0,i.am)(r.x,s.offset.x),(0,i.am)(r.y,s.offset.y)),r}},95768:function(e,t,n){n.d(t,{s:function(){return h}});var r=n(24556),i=n(88364),o=n(459),s=n(23998);let a=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var l=n(30091),u=n(68079),c=n(58595),d=n(1672);let f=new Set(["auto","none","0"]);class h extends c.e{constructor(e,t,n,r){super(e,t,n,r,null==r?void 0:r.owner,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&(0,s.t)(r)){let l=function e(t,n,r=1){(0,i.k)(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[l,u]=function(e){let t=a.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${null!=n?n:r}`,i]}(t);if(!l)return;let c=window.getComputedStyle(n).getPropertyValue(l);if(c){let e=c.trim();return(0,o.P)(e)?parseFloat(e):e}
9return(0,s.t)(u)?e(u,n,r+1):u}(r,t.current);void 0!==l&&(e[n]=l),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!l.z2.has(n)||2!==e.length)return;let[r,c]=e,d=(0,u.C)(r),f=(0,u.C)(c);if(d!==f){if((0,l.mP)(d)&&(0,l.mP)(f))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||f.has(t)||(r=e[i]),i++}if(r&&n)for(let i of t)e[i]=(0,d.T)(n,r)}(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=l.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.current)return;let i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);let o=r.length-1,s=r[o];r[o]=l.lw[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEac
9h(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}},18610:function(e,t,n){n.d(t,{H:function(){return eD}});var r=n(65179),i=n(98021);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 s=n(46344),a=n(44645);function l(e,t,n){let r=e.getProps();return(0,a.o)(r,t,void 0!==n?n:r.custom,function(e){let t={};return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){let t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}var u=n(70957),c=n(87256),d=n(6137),f=n(47225),h=n(98668);function p(e){return!!((0,h.i)(e)&&e.add)}var m=n(76052),v=n(19515),g=n(32083),y=n(91976);function b(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...u}=t,h=e.getValue("willChange");r&&(s=r);let b=[],x=i&&e.animationState&&e.animationState.getState()[i];for(let t in u){let r=e.getValue(t,null!==(o=e.latestValues[t])&&void 0!==o?o:null),i=u[t];if(void 0===i||x&&function({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}(x,t))continue;let a={delay:n,elapsed:0,...(0,g.e)(s||{},t)},l=!1;if(window.HandoffAppearAnimations){let n=e.getProps()[d.M];if(n){let e=window.HandoffAppearAnimations(n,t);null!==e&&(a.elapsed=e,l=!0)}}r.start((0,f.v)(t,r,i,e.shouldReduceMotion&&c.G.has(t)?{type:!1}:a,e,l));let m=r.animation;m&&(p(h)&&(h.add(t),m.then(()=>h.remove(t))),b.push(m))}return a&&Promise.all(b).then(()=>{y.Wi.update(()=>{a&&function(e,t){let{transitionEnd:n={},transition:r={},...i}=l(e,t)||{};for(let t in i={...i,...n}){let n=(0,m.Y)(i[t]);e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,(0,v.BX)(n))}}(e,a)})}),b}function x(e,t,n={}){var r;let i=l(e,t,"exit"===n.type?null===(r=e.presenceContext)||void 0===r?void 0:r.custom:void 0),{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);let s=i?()=>Promise.all(b(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:i=0,staggerChildren:s,staggerDirection:a}=o;return function(e,t,n=0,r=0,i=1,o){let s=[],a=(e.variantChildren.size-1)*r,l=1===i?(e=0)=>e*r:(e=0)=>a-e*r;return Array.from(e.variantChildren).sort(w).forEach((e,r)=>{e.notify("AnimationStart",t),s.push(x(e,t,{...o,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(s)}(e,t,i+r,s,a,n)}:()=>Promise.resolve(),{when:u}=o;if(!u)return Promise.all([s(),a(n.delay)]);{let[e,t]="beforeChildren"===u?[s,a]:[a,s];return e().then(()=>t())}}function w(e,t){return e.sortNodePosition(t)}let E=[...u.e].reverse(),P=u.e.length;function S(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var C=n(37583);class T extends C.L{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>(function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t))r=Promise.all(t.map(t=>x(e,t,n)));else if("string"==typeof t)r=x(e,t,n);else{let i="function"==typeof t?l(e,t,n.custom):t;r=Promise.all(b(e,i,n))}return r.then(()=>{y.Wi.postRender(()=>{e.notify("AnimationComplete",t)})})})(e,t,n))),n={animate:S(!0),whileInView:S(),whileHover:S(),whileTap:S(),whileDrag:S(),whileFocus:S(),exit:S()},a=!0,u=t=>(n,r)=>{var i;let o=l(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 c(l){let c=e.getProps(),d=e.getVariantContext(!0)||{},f=[],h=new Set,p={},m=1/0;for(let t=0;t<P;t++){var v;let g=E[t],y=n[g],b=void 0!==c[g]?c[g]:d[g],x=(0,s.$)(b),w=g===l?y.isActive:null;!1===w&&(m=t);let P=b===d[g]&&b!==c[g]&&x;if(P&&a&&e.manuallyAnimateOnMount&&(P=!1),y.protectedKeys={...p},!y.isActive&&null===w||!b&&!y.prevProp||(0,r.H)(b)||"boolean"==typeof b)continue;let S=(v=y.prevProp,("string"==typeof b?b!==v:!!Array.isArray(b)&&!o(b,v))||g===l&&y.isActive&&!P&&x||t>m&&x),C=!1,T=Array.isArray(b)?b:[b],A=T.reduce(u(g),{});!1===w&&(A={});let{prevResolvedValues:R={}}=y,M={...R,...A},k=t=>{S=!0,h.has(t)&&(C=!0,h.delete(t)),y.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in M){let t=A[e],n=R[e];if(!p.hasOwnProperty(e))((0,i.C)(t)&&(0,i.C)(n)?o(t,n):t===n)?void 0!==t&&h.has(e)?k(e):y.protectedKeys[e]=!0:null!=t?k(e):
9h.add(e)}y.prevProp=b,y.prevResolvedValues=A,y.isActive&&(p={...p,...A}),a&&e.blockInitialAnimation&&(S=!1),S&&(!P||C)&&f.push(...T.map(e=>({animation:e,options:{type:g}})))}if(h.size){let t={};h.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=null!=r?r:null}),f.push({animation:t})}let g=!!f.length;return a&&(!1===c.initial||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(g=!1),a=!1,g?t(f):Promise.resolve()}return{animateChanges:c,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=c(t);for(let e in n)n[e].protectedKeys={};return o},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();this.unmount(),(0,r.H)(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}let A=0;class R extends C.L{constructor(){super(...arguments),this.id=A++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}var M=n(22585),k=n(32482),V=n(41523);function N(e,t){let n=t?"onHoverStart":"onHoverEnd";return(0,M.a)(e.current,t?"pointerenter":"pointerleave",(r,i)=>{if("touch"===r.pointerType||(0,V.gD)())return;let o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t);let s=o[n];s&&y.Wi.postRender(()=>s(r,i))},{passive:!e.getProps()[n]})}class L extends C.L{mount(){this.unmount=(0,k.z)(N(this.node,!0),N(this.node,!1))}unmount(){}}var F=n(26689);class D extends C.L{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,k.z)((0,F.E)(this.node.current,"focus",()=>this.onFocus()),(0,F.E)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var O=n(99145);let I=(e,t)=>!!t&&(e===t||I(e,t.parentElement));var j=n(54618);function W(e,t){if(!t)return;let n=new PointerEvent("pointer"+e);t(n,(0,O.Q)(n))}class $ extends C.L{constructor(){super(...arguments),this.removeStartListeners=j.Z,this.removeEndListeners=j.Z,this.removeAccessibleListeners=j.Z,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();let n=this.node.getProps(),r=(0,M.a)(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;let{onTap:n,onTapCancel:r,globalTapTarget:i}=this.node.getProps(),o=i||I(this.node.current,e.target)?n:r;o&&y.Wi.update(()=>o(e,t))},{passive:!(n.onTap||n.onPointerUp)}),i=(0,M.a)(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=(0,k.z)(r,i),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=(0,F.E)(this.node.current,"keydown",e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=(0,F.E)(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&W("up",(e,t)=>{let{onTap:n}=this.node.getProps();n&&y.Wi.postRender(()=>n(e,t))})}),W("down",(e,t)=>{this.startPress(e,t)}))}),t=(0,F.E)(this.node.current,"blur",()=>{this.isPressing&&W("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=(0,k.z)(e,t)}}startPress(e,t){this.isPressing=!0;let{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&y.Wi.postRender(()=>n(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!(0,V.gD)()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&y.Wi.postRender(()=>n(e,t))}mount(){let e=this.node.getProps(),t=(0,M.a)(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=(0,F.E)(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,k.z)(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let B=new WeakMap,K=new WeakMap,z=e=>{let t=B.get(e.target);t&&t(e)}
9,H=e=>{e.forEach(z)},U={some:0,all:1};class X extends C.L{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:i}=e,o={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:U[r]};return function(e,t,n){let r=function({root:e,...t}){let n=e||document;K.has(n)||K.set(n,{});let r=K.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(H,{root:e,...t})),r[i]}(t);return B.set(e,n),r.observe(e),()=>{B.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({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}var q=n(16913),Y=n(82766),_=n(23998),Z=n(39974),G=n(79832),J=n(32946),Q=n(24694),ee=n(33822),et=n(49936),en=n(39648);let er={current:null},ei={current:!1};var eo=n(45722),es=n(40403),ea=n(24970);let el=new WeakMap;var eu=n(58595),ec=n(459),ed=n(24556),ef=n(52364),eh=n(15052),ep=n(68079),em=n(49534);let ev=[...ep.$,ef.$,eh.P],eg=e=>ev.find((0,em.l)(e));var ey=n(1672);let eb=Object.keys(ea.A),ex=eb.length,ew=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],eE=u.V.length;class eP{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:i,visualState:o},s={}){this.resolveKeyframes=(e,t,n,r)=>new this.KeyframeResolver(e,t,n,r,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=eu.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.scheduleRender=()=>y.Wi.render(this.render,!1,!0);let{latestValues:a,renderState:l}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=s,this.blockInitialAnimation=!!i,this.isControllingVariants=(0,es.G)(t),this.isVariantNode=(0,es.M)(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in c){let t=c[e];void 0!==a[e]&&(0,h.i)(t)&&(t.set(a[e],!1),p(u)&&u.add(e))}}mount(e){this.current=e,el.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)),ei.current||function(){if(ei.current=!0,en.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>er.current=e.matches;e.addListener(t),t()}else er.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||er.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){var e;for(let e in el.delete(this.current),this.projection&&this.projection.unmount(),(0,y.Pn)(this.notifyUpdate),(0,y.Pn)(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let t in this.features)null===(e=this.features[t])||void 0===e||e.unmount();this.current=null}bindToMotionValue(e,t){let n=c.G.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&y.Wi.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),i(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,r,i){let o,s;for(let e=0;e<ex;e++){let n=eb[e],{isEnabled:r,Feature:i,ProjectionNode:a,MeasureLayout:l}=ea.A[n];a&&(o=a),r(t)&&(!this.features[n]&&i&&(this.features[n]=new i(this)),l&&(s=l))}if(("html"===this.type||"svg"===this.type)&&!this.projection&&o){this.projection=new o(this.latestValues,function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(this.parent));let{layoutId:e,layout:n,drag:r,dragConstraints:s,layoutScroll:a,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:!!r||s&&(0,et.I)(s),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:i,layoutScroll:a,layoutRoot:l})}return s}updateFeatures(){for(let e in this.features){let t=this.features[e];
9t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,ee.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<ew.length;t++){let n=ew[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){let{willChange:r}=t;for(let i in t){let o=t[i],s=n[i];if((0,h.i)(o))e.addValue(i,o),p(r)&&r.add(i);else if((0,h.i)(s))e.addValue(i,(0,v.BX)(o,{owner:e})),p(r)&&r.remove(i);else if(s!==o){if(e.hasValue(i)){let t=e.getValue(i);!0===t.liveStyle?t.jump(o):t.hasAnimated||t.set(o)}else{let t=e.getStaticValue(i);e.addValue(i,(0,v.BX)(void 0!==t?t:o,{owner:e}))}}}for(let r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}let t={};for(let e=0;e<eE;e++){let n=u.V[e],r=this.props[n];((0,s.$)(r)||!1===r)&&(t[n]=r)}return t}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=(0,v.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,ec.P)(r)||(0,ed.W)(r))?r=parseFloat(r):!eg(r)&&eh.P.test(t)&&(r=(0,ey.T)(e,t)),this.setBaseTarget(e,(0,h.i)(r)?r.get():r)),(0,h.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,a.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,h.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 eo.L),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}var eS=n(95768);class eC extends eP{constructor(){super(...arguments),this.KeyframeResolver=eS.s}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}}class eT extends eC{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,t){if(c.G.has(t)){let e=(0,J.A)(t);return e&&e.default||0}{let n=window.getComputedStyle(e),r=((0,_.f)(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return(0,Q.J)(e,t)}build(e,t,n,r){(0,Y.r)(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return(0,Z.U)(e,t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,h.i)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,r){(0,G.N)(e,t,n,r)}}
9var eA=n(35841),eR=n(13431),eM=n(53130),ek=n(95260),eV=n(23610),eN=n(82556);class eL extends eC{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(c.G.has(t)){let e=(0,J.A)(t);return e&&e.default||0}return t=ek.s.has(t)?t:(0,eM.D)(t),e.getAttribute(t)}measureInstanceViewportBox(){return(0,ee.dO)()}scrapeMotionValuesFromProps(e,t,n){return(0,eA.U)(e,t,n)}build(e,t,n,r){(0,eR.i)(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){(0,eV.K)(e,t,n,r)}mount(e){this.isSVGTag=(0,eN.a)(e.tagName),super.mount(e)}}var eF=n(10362);let eD={renderer:(e,t)=>(0,eF.q)(e)?new eL(t,{enableHardwareAcceleration:!1}):new eT(t,{allowProjection:e!==q.Fragment,enableHardwareAcceleration:!0}),animation:{Feature:T},exit:{Feature:R},inView:{Feature:X},tap:{Feature:$},focus:{Feature:D},hover:{Feature:L}}},13015:function(e,t,n){n.d(t,{m:function(){return H}});var r,i=n(59228),o=n(16913),s=n(53138);let a=(0,o.createContext)({});var l=n(69850),u=n(32209),c=n(56723),d=n(6137),f=n(12666),h=n(49936),p=n(46344),m=n(40403);function v(e){return Array.isArray(e)?e.join(" "):e}var g=n(8978),y=n(39648),b=n(6967),x=n(84278);let w=Symbol.for("motionComponentSymbol");var E=n(10362),P=n(73930),S=n(98668),C=n(82766);let T=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function A(e,t,n){for(let r in t)(0,S.i)(t[r])||(0,P.j)(r,n)||(e[r]=t[r])}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 M(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 k=e=>!M(e);try{(r=require("@emotion/is-prop-valid").default)&&(k=e=>e.startsWith("on")?!M(e):r(e))}catch(e){}var V=n(13431);let N=()=>({...T(),attrs:{}});var L=n(82556),F=n(23610),D=n(35841),O=n(65179),I=n(44645),j=n(77718),W=n(73425);let $=e=>(t,n)=>{let r=(0,o.useContext)(a),i=(0,o.useContext)(l.O),s=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){let s={latestValues:function(e,t,n,r){let i={},o=r(e,{});for(let e in o)i[e]=(0,W.b)(o[e]);let{initial:s,animate:a}=e,l=(0,m.G)(e),u=(0,m.M)(e);t&&u&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let c=!!n&&!1===n.initial,d=(c=c||!1===s)?a:s;return d&&"boolean"!=typeof d&&!(0,O.H)(d)&&(Array.isArray(d)?d:[d]).forEach(t=>{let n=(0,I.o)(e,t);if(!n)return;let{transitionEnd:r,transition:o,...s}=n;for(let e in s){let t=s[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let e in r)i[e]=r[e]}),i}(r,i,o,e),renderState:t()};return n&&(s.mount=e=>n(r,e,s)),s})(e,t,r,i);return n?s():(0,j.h)(s)};var B=n(91976);let K={useVisualState:$({scrapeMotionValuesFromProps:D.U,createRenderState:N,onMount:(e,t,{renderState:n,latestValues:r})=>{B.Wi.read(()=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}}),B.Wi.render(()=>{(0,V.i)(n,r,{enableHardwareAcceleration:!1},(0,L.a)(t.tagName),e.transformTemplate),(0,F.K)(t,n)})}})},z={useVisualState:$({scrapeMotionValuesFromProps:n(39974).U,createRenderState:T})},H=function(e){function t(t,n={}){return function({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:E}){e&&(0,g.K)(e);let P=(0,o.forwardRef)(function(g,w){var P;let S;let C={...(0,o.useContext)(s._),...g,layoutId:function({layoutId:e}){let t=(0,o.useContext)(b.p).id;return t&&void 0!==e?t+"-"+e:e}(g)},{isStatic:T}=C,A=function(e){let{initial:t,animate:n}=function(e,t){if((0,m.G)(e)){let{initial:t,animate:n}=e;return{initial:!1===t||(0,p.$)(t)?t:void 0,animate:(0,p.$)(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,o.useContext)(a));return(0,o.useMemo)(()=>({initial:t,animate:n}),[v(t),v(n)])}(g),R=r(g,T);if(!T&&y.j){A.visualElement=function(e,t,n,r){let{visualElement:i}=(0,o.useContext)(a),h=(0,o.useContext)(c.u),p=(0,o.useContext)(l.O),m=(0,o.useContext)(s._).reducedMotion,v=(0,o.useRef)();r=r||h.renderer,!v.current&&r&&(v.current=r(e,{visualState:t,parent:i,props:n,presenceContext:p,blockInitialAnimation:!!p&&!1===p.initial,reducedMotionConfig:m}));let g=v.current;(0,o.useInsertionEffect)(()=>{g&&g.update(n,p)});let y=(0,o.useRef)(!!(n[d.M]&&!window.HandoffComplete));return(0,u.L)(()=>{g&&(f.g.postRender(g.render),y.current&&g.animationState&&g.animationState.animateChanges())}),(0,o.useEffect)(()=>{g&&(g.updateFeatures(),!y.current&&g.animationState&&g.animationState.animateChanges(),y.current&&(y.current=!1,window.HandoffComplete=!0))}),g}(E,R,C,t);let n=(0,o.useContext)(x.g),r=(0,o.useContext)(c.u).strict;A.visualElement&&(S=A.visualElement.loadFeatures(C,r,e,n))}return(0,i.jsxs)(a.Provider,{value:A,children:[S&&A.visualElement?(0,i.jsx)(S,{visualElement:A.visualElement,...C}):null,n(E,g,(P=A.visualElement,(0,o.useCallback)(e=>{e&&R.mount&&R.mount(e),P&&(e?P.mount(e):P.unmount()),w&&("function"==typeof w?w(e):(0,h.I)(w)&&(w.current=e))},[P])),R,T,A.visualElement)]})});return P[w]=E,P}(e(t,n))}if("undefined"==typeof Proxy)return t;let n=new Map;return new Proxy(t,{get:(e,r)=>(n.has(r)||n.set(r,t(r)),n.get(r))})}(function(e,{forwardMotionProps:t=!1},n,r){return{...(0,E.q)(e)?K:z,preloadedFeatures:n,useRender:function(e=!1){return(t,n,r,{latestValues:i},s)=>{let a=((0,E.q)(t)?function(e,t,n,r){let i=(0,o.useMemo)(()=>{let n=N();return(0,V.i)(n,t,{enableHardwareAcceleration:!1},(0,L.a)(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};A(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t,n){let r={},i=function(e,t,n){let r=e.style||{},i={};return A(i,r,e),Object.assign(i,function({transformTemplate:e},t,n){return(0,o.useMemo)(()=>{let r=T();return(0,C.r)(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)}
9,[t])}(e,t,n)),i}(e,t,n);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r})(n,i,s,t),l=function(e,t,n){let r={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&(k(i)||!0===n&&M(i)||!t&&!M(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(n,"string"==typeof t,e),u=t!==o.Fragment?{...l,...a,ref:r}:{},{children:c}=n,d=(0,o.useMemo)(()=>(0,S.i)(c)?c.get():c,[c]);return(0,o.createElement)(t,{...u,children:d})}}(t),createVisualElement:r,Component:e}})},53130:function(e,t,n){n.d(t,{D:function(){return r}});let r=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},23998:function(e,t,n){n.d(t,{f:function(){return i},t:function(){return s}});let r=e=>t=>"string"==typeof t&&t.startsWith(e),i=r("--"),o=r("var(--"),s=e=>!!o(e)&&a.test(e.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},10362: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}},30091:function(e,t,n){n.d(t,{Ei:function(){return f},lw:function(){return h},mP:function(){return a},z2:function(){return s}});var r=n(87256),i=n(57847),o=n(25029);let s=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),a=e=>e===i.Rx||e===o.px,l=(e,t)=>parseFloat(e.split(", ")[t]),u=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/u);if(i)return l(i[1],t);{let t=r.match(/^matrix\((.+)\)$/u);return t?l(t[1],e):0}},c=new Set(["x","y","z"]),d=r._.filter(e=>!c.has(e));function f(e){let t=[];return d.forEach(n=>{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}let h={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:u(4,13),y:u(5,14)};h.translateX=h.x,h.translateY=h.y},1672:function(e,t,n){n.d(t,{T:function(){return s}});var r=n(15052),i=n(29622),o=n(32946);function s(e,t){let n=(0,o.A)(e);return n!==i.h&&(n=r.P),n.getAnimatableNone?n.getAnimatableNone(t):void 0}},32946:function(e,t,n){n.d(t,{A:function(){return s}});var r=n(52364),i=n(29622);let o={...n(20999).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},s=e=>o[e]},68079:function(e,t,n){n.d(t,{$:function(){return s},C:function(){return a}});var r=n(57847),i=n(25029),o=n(49534);let s=[r.Rx,i.px,i.aQ,i.RW,i.vw,i.vh,{test:e=>"auto"===e,parse:e=>e}],a=e=>s.find((0,o.l)(e))},20999:function(e,t,n){n.d(t,{j:function(){return s}});var r=n(57847),i=n(25029);let o={...r.Rx,transform:Math.round},s={borderWidth:i.px,borderTopWidth:i.px,borderRightWidth:i.px,borderBottomWidth:i.px,borderLeftWidth:i.px,borderRadius:i.px,radius:i.px,borderTopLeftRadius:i.px,borderTopRightRadius:i.px,borderBottomRightRadius:i.px,borderBottomLeftRadius:i.px,width:i.px,maxWidth:i.px,height:i.px,maxHeight:i.px,size:i.px,top:i.px,right:i.px,bottom:i.px,left:i.px,padding:i.px,paddingTop:i.px,paddingRight:i.px,paddingBottom:i.px,paddingLeft:i.px,margin:i.px,marginTop:i.px,marginRight:i.px,marginBottom:i.px,marginLeft:i.px,rotate:i.RW,rotateX:i.RW,rotateY:i.RW,rotateZ:i.RW,scale:r.bA,scaleX:r.bA,scaleY:r.bA,scaleZ:r.bA,skew:i.RW,skewX:i.RW,skewY:i.RW,distance:i.px,translateX:i.px,translateY:i.px,translateZ:i.px,x:i.px,y:i.px,z:i.px,perspective:i.px,transformPerspective:i.px,opacity:r.Fq,originX:i.$C,originY:i.$C,originZ:i.px,zIndex:o,backgroundPositionX:i.px,backgroundPositionY:i.px,fillOpacity:r.Fq,strokeOpacity:r.Fq,numOctaves:o}},49534:function(e,t,n){n.d(t,{l:function(){return r}});let r=e=>t=>t.test(e)},82766:function(e,t,n){n.d(t,{r:function(){return u}});var r=n(87256);let i={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},o=r._.length;var s=n(23998);let a=(e,t)=>t&&"number"==typeof e?t.transform(e):e;var l=n(20999);function u(e,t,n,u){let{style:c,vars:d,transform:f,transformOrigin:h}=e,p=!1,m=!1,v=!0;for(let e in t){let n=t[e];if((0,s.f)(e)){d[e]=n;continue}let i=l.j[e],o=a(n,i);
9if(r.G.has(e)){if(p=!0,f[e]=o,!v)continue;n!==(i.default||0)&&(v=!1)}else e.startsWith("origin")?(m=!0,h[e]=o):c[e]=o}if(!t.transform&&(p||u?c.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},s,a){let l="";for(let t=0;t<o;t++){let n=r._[t];if(void 0!==e[n]){let t=i[n]||n;l+=`${t}(${e[n]}) `}}return t&&!e.z&&(l+="translateZ(0)"),l=l.trim(),a?l=a(e,s?"":l):n&&s&&(l="none"),l}(e.transform,n,v,u):c.transform&&(c.transform="none")),m){let{originX:e="50%",originY:t="50%",originZ:n=0}=h;c.transformOrigin=`${e} ${t} ${n}`}}},79832:function(e,t,n){n.d(t,{N:function(){return r}});function r(e,{style:t,vars:n},r,i){for(let o in Object.assign(e.style,t,i&&i.getProjectionStyles(r)),n)e.style.setProperty(o,n[o])}},39974:function(e,t,n){n.d(t,{U:function(){return o}});var r=n(73930),i=n(98668);function o(e,t,n){var o;let{style:s}=e,a={};for(let l in s)((0,i.i)(s[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)&&(a[l]=s[l]);return a}},87256: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)},13431:function(e,t,n){n.d(t,{i:function(){return l}});var r=n(82766),i=n(25029);function o(e,t,n){return"string"==typeof e?e:i.px.transform(t+n*e)}let s={offset:"stroke-dashoffset",array:"stroke-dasharray"},a={offset:"strokeDashoffset",array:"strokeDasharray"};function l(e,{attrX:t,attrY:n,attrScale:l,originX:u,originY:c,pathLength:d,pathSpacing:f=1,pathOffset:h=0,...p},m,v,g){if((0,r.r)(e,p,m,g),v){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!==u||void 0!==c||b.transform)&&(b.transformOrigin=function(e,t,n){let r=o(t,e.x,e.width),i=o(n,e.y,e.height);return`${r} ${i}`}(x,void 0!==u?u:.5,void 0!==c?c:.5)),void 0!==t&&(y.x=t),void 0!==n&&(y.y=n),void 0!==l&&(y.scale=l),void 0!==d&&function(e,t,n=1,r=0,o=!0){e.pathLength=1;let l=o?s:a;e[l.offset]=i.px.transform(-r);let u=i.px.transform(t),c=i.px.transform(n);e[l.array]=`${u} ${c}`}(y,d,f,h,!1)}},95260: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"])},82556:function(e,t,n){n.d(t,{a:function(){return r}});let r=e=>"string"==typeof e&&"svg"===e.toLowerCase()},23610:function(e,t,n){n.d(t,{K:function(){return s}});var r=n(53130),i=n(79832),o=n(95260);function s(e,t,n,s){for(let n in(0,i.N)(e,t,void 0,s),t.attrs)e.setAttribute(o.s.has(n)?n:(0,r.D)(n),t.attrs[n])}},35841:function(e,t,n){n.d(t,{U:function(){return s}});var r=n(98668),i=n(39974),o=n(87256);function s(e,t,n){let s=(0,i.U)(e,t,n);for(let n in e)((0,r.i)(e[n])||(0,r.i)(t[n]))&&(s[-1!==o._.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return s}},58595:function(e,t,n){n.d(t,{e:function(){return d},m:function(){return c}});var r=n(30091),i=n(91976);let o=new Set,s=!1,a=!1;function l(){if(a){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,n])=>{var r;null===(r=e.getValue(t))||void 0===r||r.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}a=!1,s=!1,o.forEach(e=>e.complete()),o.clear()}function u(){o.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(a=!0)})}function c(){u(),l()}class d{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}scheduleResolve(){this.isScheduled=!0,this.isAsync?(o.add(this),s||(s=!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;
9i++)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()}}},40403:function(e,t,n){n.d(t,{G:function(){return s},M:function(){return a}});var r=n(65179),i=n(46344),o=n(70957);function s(e){return(0,r.H)(e.animate)||o.V.some(t=>(0,i.$)(e[t]))}function a(e){return!!(s(e)||e.variants)}},46344:function(e,t,n){n.d(t,{$:function(){return r}});function r(e){return"string"==typeof e||Array.isArray(e)}},44645:function(e,t,n){n.d(t,{o:function(){return r}});function r(e,t,n,r={},i={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),t}},70957: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]},56230:function(e,t,n){n.d(t,{c:function(){return r}});let r={skipAnimations:!1,useManualTiming:!1}},95782: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}})},62326:function(e,t,n){n.d(t,{u:function(){return r}});let r=(e,t,n)=>n>t?t:n<e?e:n},88364:function(e,t,n){n.d(t,{K:function(){return i},k:function(){return o}});var r=n(54618);let i=r.Z,o=r.Z},39648:function(e,t,n){n.d(t,{j:function(){return r}});let r="undefined"!=typeof document},459:function(e,t,n){n.d(t,{P:function(){return r}});let r=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)},49936: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")}},24556:function(e,t,n){n.d(t,{W:function(){return r}});let r=e=>/^0[^.\s]+$/u.test(e)},79514:function(e,t,n){n.d(t,{t:function(){return r}});let r=(e,t,n)=>e+(t-e)*n},54618:function(e,t,n){n.d(t,{Z:function(){return r}});let r=e=>e},32482:function(e,t,n){n.d(t,{z:function(){return i}});let r=(e,t)=>n=>t(e(n)),i=(...e)=>e.reduce(r)},19411: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}},76052:function(e,t,n){n.d(t,{Y:function(){return o},p:function(){return i}});var r=n(98021);let i=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),o=e=>(0,r.C)(e)?e[e.length-1]||0:e},45722:function(e,t,n){n.d(t,{L:function(){return i}});var r=n(95782);class i{constructor(){this.subscriptions=[]}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}}},31029:function(e,t,n){n.d(t,{X:function(){return i},w:function(){return r}});let r=e=>1e3*e,i=e=>e/1e3},77718:function(e,t,n){n.d(t,{h:function(){return i}});var r=n(16913);function i(e){let t=(0,r.useRef)(null);return null===t.current&&(t.current=e()),t.current}},48541:function(e,t,n){n.d(t,{N:function(){return s}});var r=n(16913),i=n(23868),o=n(91976);function s(){let e=(0,i.t)(),[t,n]=(0,r.useState)(0),s=(0,r.useCallback)(()=>{e.current&&n(t+1)},[t]);return[(0,r.useCallback)(()=>o.Wi.postRender(s),[s]),t]}},23868:function(e,t,n){n.d(t,{t:function(){return o}});var r=n(16913),i=n(32209);function o(){let e=(0,r.useRef)(!1);return(0,i.L)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},32209:function(e,t,n){n.d(t,{L:function(){return i}});var r=n(16913);let i=n(39648).j?r.useLayoutEffect:r.useEffect},33468:function(e,t,n){n.d(t,{R:function(){return r}});function r(e,t){return t?1e3/t*e:0}},19515:function(e,t,n){n.d(t,{BX:function(){return c},Hg:function(){return u}});var r=n(45722),i=n(33468),o=n(91120),s=n(91976);let a=e=>!isNaN(parseFloat(e)),l={current:void 0};class u{constructor(e,t={}){this.version="11.1.9",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{let n=o.X.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.canTrackVelocity=a(this.current),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=o.X.now()}setPrevFrameValue(e=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 r.L);let n=this.events[e].add(t);return"change"===e?()=>{n(),s.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,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}
9setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){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=o.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,i.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()}}function c(e,t){return new u(e,t)}},50431:function(e,t,n){n.d(t,{$:function(){return i}});var r=n(57327);let i={test:(0,n(54322).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}},37917:function(e,t,n){n.d(t,{J:function(){return a}});var r=n(57847),i=n(25029),o=n(8023),s=n(54322);let a={test:(0,s.i)("hsl","hue"),parse:(0,s.d)("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:s=1})=>"hsla("+Math.round(e)+", "+i.aQ.transform((0,o.Nw)(t))+", "+i.aQ.transform((0,o.Nw)(n))+", "+(0,o.Nw)(r.Fq.transform(s))+")"}},52364:function(e,t,n){n.d(t,{$:function(){return a}});var r=n(8023),i=n(50431),o=n(37917),s=n(57327);let a={test:e=>s.m.test(e)||i.$.test(e)||o.J.test(e),parse:e=>s.m.test(e)?s.m.parse(e):o.J.test(e)?o.J.parse(e):i.$.parse(e),transform:e=>(0,r.HD)(e)?e:e.hasOwnProperty("red")?s.m.transform(e):o.J.transform(e)}},57327:function(e,t,n){n.d(t,{m:function(){return u}});var r=n(62326),i=n(57847),o=n(8023),s=n(54322);let a=e=>(0,r.u)(0,255,e),l={...i.Rx,transform:e=>Math.round(a(e))},u={test:(0,s.i)("rgb","red"),parse:(0,s.d)("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+l.transform(e)+", "+l.transform(t)+", "+l.transform(n)+", "+(0,o.Nw)(i.Fq.transform(r))+")"}},54322:function(e,t,n){n.d(t,{d:function(){return o},i:function(){return i}});var r=n(8023);let i=(e,t)=>n=>!!((0,r.HD)(n)&&r.mj.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),o=(e,t,n)=>i=>{if(!(0,r.HD)(i))return i;let[o,s,a,l]=i.match(r.KP);return{[e]:parseFloat(o),[t]:parseFloat(s),[n]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},29622:function(e,t,n){n.d(t,{h:function(){return l}});var r=n(15052),i=n(8023);let o=new Set(["brightness","contrast","saturate","opacity"]);function s(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(i.KP)||[];if(!r)return e;let s=n.replace(r,""),a=o.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+s+")"}let a=/\b([a-z-]*)\(.*?\)/gu,l={...r.P,getAnimatableNone:e=>{let t=e.match(a);return t?t.map(s).join(" "):e}}},15052:function(e,t,n){n.d(t,{P:function(){return f},V:function(){return l}});var r=n(52364),i=n(8023);let o="number",s="color",a=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function l(e){let t=e.toString(),n=[],i={color:[],number:[],var:[]},l=[],u=0,c=t.replace(a,e=>(r.$.test(e)?(i.color.push(u),l.push(s),n.push(r.$.parse(e))):e.startsWith("var(")?(i.var.push(u),l.push("var"),n.push(e)):(i.number.push(u),l.push(o),n.push(parseFloat(e))),++u,"${}")).split("${}");return{values:n,split:c,indexes:i,types:l}}function u(e){return l(e).values}function c(e){let{split:t,types:n}=l(e),a=t.length;return e=>{let l="";for(let u=0;u<a;u++)if(l+=t[u],void 0!==e[u]){let t=n[u];t===o?l+=(0,i.Nw)(e[u]):t===s?l+=r.$.transform(e[u]):l+=e[u]}return l}}let d=e=>"number"==typeof e?0:e,f={test:function(e){var t,n;return isNaN(e)&&(0,i.HD)(e)&&((null===(t=e.match(i.KP))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(i.dA))||void 0===n?void 0:n.length)||0)>0},parse:u,createTransformer:c,getAnimatableNone:function(e){let t=u(e);return c(e)(t.map(d))}}},57847:function(e,t,n){n.d(t,{Fq:function(){return o},Rx:function(){return i},bA:function(){return s}});var r=n(62326);let i={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},o={...i,transform:e=>(0,r.u)(0,1,e)},s={...i,default:1}},25029:function(e,t,n){n.d(t,{$C:function(){return c},RW:function(){return o},aQ:function(){return s},px:function(){return a},vh:function(){return l},vw:function(){return u}});var r=n(8023);let i=e=>({test:t=>(0,r.HD)(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),o=i("deg"),s=i("%"),a=i("px"),l=i("vh"),u=i("vw"),c={...s,parse:e=>s.parse(e)/100,transform:e=>s.transform(100*e)}},8023:function(e,t,n){n.d(t,{HD:function(){return a},KP:function(){return i},Nw:function(){return r},dA:function(){return o},mj:function(){return s}});let r=e=>Math.round(1e5*e)/1e5,i=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,o=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,s=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function a(e){return"string"==typeof e}},98668:function(e,t,n){n.d(t,{i:function(){return r}});let r=e=>!!(e&&e.getVelocity)},73425:function(e,t,n){n.d(t,{b:function(){return o}});var r=n(76052),i=n(98668);function o(e){let t=(0,i.i)(e)?e.get():e;return(0,r.p)(t)?t.toValue():t}}}]);
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.