1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,69498,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={assign:function(){return l},searchParamsToUrlQuery:function(){return s},urlQueryToSearchParams:function(){return a}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});function s(t){let e={};for(let[i,r]of t.entries()){let t=e[i];void 0===t?e[i]=r:Array.isArray(t)?t.push(r):e[i]=[t,r]}return e}function o(t){return"string"==typeof t?t:("number"!=typeof t||isNaN(t))&&"boolean"!=typeof t?"":String(t)}function a(t){let e=new URLSearchParams;for(let[i,r]of Object.entries(t))if(Array.isArray(r))for(let t of r)e.append(i,o(t));else e.set(i,o(r));return e}function l(t,...e){for(let i of e){for(let e of i.keys())t.delete(e);for(let[e,r]of i.entries())t.append(e,r)}return t}},9281,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={formatUrl:function(){return a},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s=t.r(44066)._(t.r(69498)),o=/https?|ftp|gopher|file/;function a(t){let{auth:e,hostname:i}=t,r=t.protocol||"",n=t.pathname||"",a=t.hash||"",l=t.query||"",u=!1;e=e?encodeURIComponent(e).replace(/%3A/i,":")+"@":"",t.host?u=e+t.host:i&&(u=e+(~i.indexOf(":")?`[${i}]`:i),t.port&&(u+=":"+t.port)),l&&"object"==typeof l&&(l=String(s.urlQueryToSearchParams(l)));let c=t.search||l&&`?${l}`||"";return r&&!r.endsWith(":")&&(r+=":"),t.slashes||(!r||o.test(r))&&!1!==u?(u="//"+(u||""),n&&"/"!==n[0]&&(n="/"+n)):u||(u=""),a&&"#"!==a[0]&&(a="#"+a),c&&"?"!==c[0]&&(c="?"+c),n=n.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${r}${u}${n}${c}${a}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(t){return a(t)}},98022,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"useMergedRef",{enumerable:!0,get:function(){return n}});let r=t.r(9010);function n(t,e){let i=(0,r.useRef)(null),n=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let t=i.current;t&&(i.current=null,t());let e=n.current;e&&(n.current=null,e())}else t&&(i.current=s(t,r)),e&&(n.current=s(e,r))},[t,e])}function s(t,e){if("function"!=typeof t)return t.current=e,()=>{t.current=null};{let i=t(e);return"function"==typeof i?i:()=>t(null)}}("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},83271,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={DecodeError:function(){return v},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return x},NormalizeError:function(){return y},PageNotFoundError:function(){return b},SP:function(){return f},ST:function(){return g},WEB_VITALS:function(){return s},execOnce:function(){return o},getDisplayName:function(){return h},getLocationOrigin:function(){return u},getURL:function(){return c},isAbsoluteUrl:function(){return l},isResSent:function(){return d},loadGetInitialProps:function(){return p},normalizeRepeatedSlashes:function(){return m},stringifyError:function(){return T}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s=["CLS","FCP","FID","INP","LCP","TTFB"];function o(t){let e,i=!1;return(...r)=>(i||(i=!0,e=t(...r)),e)}let a=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=t=>a.test(t);function u(){let{protocol:t,hostname:e,port:i}=window.location;return`${t}//${e}${i?":"+i:""}`}function c(){let{href:t}=window.location,e=u();return t.substring(e.length)}function h(t){return"string"==typeof t?t:t.displayName||t.name||"Unknown"}function d(t){return t.finished||t.headersSent}function m(t){let e=t.split("?");return e[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(e[1]?`?${e.slice(1).join("?")}`:"")}async function p(t,e){let i=e.res||e.ctx&&e.ctx.res;if(!t.getInitialProps)return e.ctx&&e.Component?{pageProps:await p(e.Component,e.ctx)}:{};let r=await t.getInitialProps(e);if(i&&d(i))return r;if(!r)throw Object.defineProperty(Error(`"${h(t)}.getInitialProps()" should resolve to an object. But found "${r}
1" instead.`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return r}let f="u">typeof performance,g=f&&["mark","measure","getEntriesByName"].every(t=>"function"==typeof performance[t]);class v extends Error{}class y extends Error{}class b extends Error{constructor(t){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${t}`}}class x extends Error{constructor(t,e){super(),this.message=`Failed to load static file for page: ${t} ${e}`}}class w extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function T(t){return JSON.stringify({message:t.message,stack:t.stack})}},39433,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"isLocalURL",{enumerable:!0,get:function(){return s}});let r=t.r(83271),n=t.r(15841);function s(t){if(!(0,r.isAbsoluteUrl)(t))return!0;try{let e=(0,r.getLocationOrigin)(),i=new URL(t,e);return i.origin===e&&(0,n.hasBasePath)(i.pathname)}catch(t){return!1}}},51701,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"errorOnce",{enumerable:!0,get:function(){return r}});let r=t=>{}},90968,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={default:function(){return v},useLinkStatus:function(){return b}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s=t.r(44066),o=t.r(38821),a=s._(t.r(9010)),l=t.r(9281),u=t.r(26890),c=t.r(98022),h=t.r(83271),d=t.r(16776);t.r(92954);let m=t.r(5167),p=t.r(39433),f=t.r(29367);function g(t){return"string"==typeof t?t:(0,l.formatUrl)(t)}function v(e){var i;let r,n,s,[l,v]=(0,a.useOptimistic)(m.IDLE_LINK_STATUS),b=(0,a.useRef)(null),{href:x,as:w,children:T,prefetch:P=null,passHref:S,replace:k,shallow:M,scroll:V,onClick:A,onMouseEnter:E,onTouchStart:C,legacyBehavior:D=!1,onNavigate:R,ref:L,unstable_dynamicOnHover:j,...B}=e;r=T,D&&("string"==typeof r||"number"==typeof r)&&(r=(0,o.jsx)("a",{children:r}));let F=a.default.useContext(u.AppRouterContext),O=!1!==P,I=!1!==P?null===(i=P)||"auto"===i?f.FetchStrategy.PPR:f.FetchStrategy.Full:f.FetchStrategy.PPR,{href:N,as:z}=a.default.useMemo(()=>{let t=g(x);return{href:t,as:w?g(w):t}},[x,w]);if(D){if(r?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});n=a.default.Children.only(r)}let U=D?n&&"object"==typeof n&&n.ref:L,$=a.default.useCallback(t=>(null!==F&&(b.current=(0,m.mountLinkInstance)(t,N,F,I,O,v)),()=>{b.current&&((0,m.unmountLinkForCurrentNavigation)(b.current),b.current=null),(0,m.unmountPrefetchableInstance)(t)}),[O,N,F,I,v]),W={ref:(0,c.useMergedRef)($,U),onClick(e){D||"function"!=typeof A||A(e),D&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),!F||e.defaultPrevented||function(e,i,r,n,s,o,l){if("u">typeof window){let u,{nodeName:c}=e.currentTarget;if("A"===c.toUpperCase()&&((u=e.currentTarget.getAttribute("target"))&&"_self"!==u||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))return;if(!(0,p.isLocalURL)(i)){s&&(e.preventDefault(),location.replace(i));return}if(e.preventDefault(),l){let t=!1;if(l({preventDefault:()=>{t=!0}}),t)return}let{dispatchNavigateAction:h}=t.r(65481);a.default.startTransition(()=>{h(r||i,s?"replace":"push",o??!0,n.current)})}}(e,N,z,b,k,V,R)},onMouseEnter(t){D||"function"!=typeof E||E(t),D&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(t),F&&O&&(0,m.onNavigationIntent)(t.currentTarget,!0===j)},onTouchStart:function(t){D||"function"!=typeof C||C(t),D&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(t),F&&O&&(0,m.onNavigationIntent)(t.currentTarget,!0===j)}};return(0,h.isAbsoluteUrl)(z)?W.href=z:D&&!S&&("a"!==n.type||"href"in n.props)||(W.href=(0,d.addBasePath)(z)),s=D?a.default.cloneElement(n,W):(0,o.jsx)("a",{...B,...W,children:r}),(0,o.jsx)(y.Provider,{value:l,children:s})}t.r(51701);let y=(0,a.createContext)(m.IDLE_LINK_STATUS),b=()=>(0,a.useContext)(y);("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esMo
1dule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},75157,t=>{"use strict";let e=(t=new Map,e=null,i)=>({nextPart:t,validators:e,classGroupId:i}),i=[],r=(t,e,i)=>{if(0==t.length-e)return i.classGroupId;let n=t[e],s=i.nextPart.get(n);if(s){let i=r(t,e+1,s);if(i)return i}let o=i.validators;if(null===o)return;let a=0===e?t.join("-"):t.slice(e).join("-"),l=o.length;for(let t=0;t<l;t++){let e=o[t];if(e.validator(a))return e.classGroupId}},n=(t,i)=>{let r=e();for(let e in t)s(t[e],r,e,i);return r},s=(t,e,i,r)=>{let n=t.length;for(let s=0;s<n;s++)o(t[s],e,i,r)},o=(t,e,i,r)=>{"string"==typeof t?a(t,e,i):"function"==typeof t?l(t,e,i,r):u(t,e,i,r)},a=(t,e,i)=>{(""===t?e:c(e,t)).classGroupId=i},l=(t,e,i,r)=>{h(t)?s(t(r),e,i,r):(null===e.validators&&(e.validators=[]),e.validators.push({classGroupId:i,validator:t}))},u=(t,e,i,r)=>{let n=Object.entries(t),o=n.length;for(let t=0;t<o;t++){let[o,a]=n[t];s(a,c(e,o),i,r)}},c=(t,i)=>{let r=t,n=i.split("-"),s=n.length;for(let t=0;t<s;t++){let i=n[t],s=r.nextPart.get(i);s||(s=e(),r.nextPart.set(i,s)),r=s}return r},h=t=>"isThemeGetter"in t&&!0===t.isThemeGetter,d=[],m=(t,e,i,r,n)=>({modifiers:t,hasImportantModifier:e,baseClassName:i,maybePostfixModifierPosition:r,isExternal:n}),p=/\s+/,f=t=>{let e;if("string"==typeof t)return t;let i="";for(let r=0;r<t.length;r++)t[r]&&(e=f(t[r]))&&(i&&(i+=" "),i+=e);return i},g=[],v=t=>{let e=e=>e[t]||g;return e.isThemeGetter=!0,e},y=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,b=/^\((?:(\w[\w-]*):)?(.+)\)$/i,x=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,w=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,T=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,P=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,S=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,k=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=t=>x.test(t),V=t=>!!t&&!Number.isNaN(Number(t)),A=t=>!!t&&Number.isInteger(Number(t)),E=t=>t.endsWith("%")&&V(t.slice(0,-1)),C=t=>w.test(t),D=()=>!0,R=t=>T.test(t)&&!P.test(t),L=()=>!1,j=t=>S.test(t),B=t=>k.test(t),F=t=>!I(t)&&!H(t),O=t=>tt(t,tn,L),I=t=>y.test(t),N=t=>tt(t,ts,R),z=t=>tt(t,to,V),U=t=>tt(t,tl,D),$=t=>tt(t,ta,L),W=t=>tt(t,ti,L),G=t=>tt(t,tr,B),_=t=>tt(t,tu,j),H=t=>b.test(t),K=t=>te(t,ts),X=t=>te(t,ta),Y=t=>te(t,ti),q=t=>te(t,tn),Z=t=>te(t,tr),J=t=>te(t,tu,!0),Q=t=>te(t,tl,!0),tt=(t,e,i)=>{let r=y.exec(t);return!!r&&(r[1]?e(r[1]):i(r[2]))},te=(t,e,i=!1)=>{let r=b.exec(t);return!!r&&(r[1]?e(r[1]):i)},ti=t=>"position"===t||"percentage"===t,tr=t=>"image"===t||"url"===t,tn=t=>"length"===t||"size"===t||"bg-size"===t,ts=t=>"length"===t,to=t=>"number"===t,ta=t=>"family-name"===t,tl=t=>"number"===t||"weight"===t,tu=t=>"shadow"===t,tc=((t,...e)=>{let s,o,a,l,u=t=>{let e=o(t);if(e)return e;let i=((t,e)=>{let{parseClassName:i,getClassGroupId:r,getConflictingClassGroupIds:n,sortModifiers:s}=e,o=[],a=t.trim().split(p),l="";for(let t=a.length-1;t>=0;t-=1){let e=a[t],{isExternal:u,modifiers:c,hasImportantModifier:h,baseClassName:d,maybePostfixModifierPosition:m}=i(e);if(u){l=e+(l.length>0?" "+l:l);continue}let p=!!m,f=r(p?d.substring(0,m):d);if(!f){if(!p||!(f=r(d))){l=e+(l.length>0?" "+l:l);continue}p=!1}let g=0===c.length?"":1===c.length?c[0]:s(c).join(":"),v=h?g+"!":g,y=v+f;if(o.indexOf(y)>-1)continue;o.push(y);let b=n(f,p);for(let t=0;t<b.length;++t){let e=b[t];o.push(v+e)}l=e+(l.length>0?" "+l:l)}return l})(t,s);return a(t,i),i};return l=c=>{var h;let p;return o=(s={cache:(t=>{if(t<1)return{get:()=>void 0,set:()=>{}};let e=0,i=Object.create(null),r=Object.create(null),n=(n,s)=>{i[n]=s,++e>t&&(e=0,r=i,i=Object.create(null))};return{get(t){let e=i[t];return void 0!==e?e:void 0!==(e=r[t])?(n(t,e),e):void 0},set(t,e){t in i?i[t]=e:n(t,e)}}})((h=e.reduce((t,e)=>e(t),t())).cacheSize),parseClassName:(t=>{let{prefix:e,experimentalParseClassName:i}=t,r=t=>{let e,i=[],r=0,n=0,s=0,o=t.length;for(let a=0;a<o;a++){let o=t[a];if(0===r&&0===n){if(":"===o){i.push(t.slice(s,a)),s=a+1;continue}if("/"===o){e=a;continue}}"["===o?r++:"]"===o?r--:"("===o?n++:")"===o&&n--}let a=0===i.length?t:t.slice(s),l=a,u=!1;return a.endsWith("!")?(l=a.slice(0,-1),u=!0):a.startsWith("!")&&(l=a.slice(1),u=!0),m(i,u,l,e&&e>s?e-s:void 0)};if(e){let t=e+":",i=r;r=e=>e.startsWith(t)?i(e.slice(t.length)):m(d,!1,e,void 0,!0)}if(i){let t=r;r=e=>i({className:e,parseClassName:t})}return r}
1)(h),sortModifiers:(p=new Map,h.orderSensitiveModifiers.forEach((t,e)=>{p.set(t,1e6+e)}),t=>{let e=[],i=[];for(let r=0;r<t.length;r++){let n=t[r],s="["===n[0],o=p.has(n);s||o?(i.length>0&&(i.sort(),e.push(...i),i=[]),e.push(n)):i.push(n)}return i.length>0&&(i.sort(),e.push(...i)),e}),...(t=>{let e=(t=>{let{theme:e,classGroups:i}=t;return n(i,e)})(t),{conflictingClassGroups:s,conflictingClassGroupModifiers:o}=t;return{getClassGroupId:t=>{if(t.startsWith("[")&&t.endsWith("]")){var i;let e,r,n;return -1===(i=t).slice(1,-1).indexOf(":")?void 0:(r=(e=i.slice(1,-1)).indexOf(":"),(n=e.slice(0,r))?"arbitrary.."+n:void 0)}let n=t.split("-"),s=+(""===n[0]&&n.length>1);return r(n,s,e)},getConflictingClassGroupIds:(t,e)=>{if(e){let e=o[t],r=s[t];if(e){if(r){let t=Array(r.length+e.length);for(let e=0;e<r.length;e++)t[e]=r[e];for(let i=0;i<e.length;i++)t[r.length+i]=e[i];return t}return e}return r||i}return s[t]||i}}})(h)}).cache.get,a=s.cache.set,l=u,u(c)},(...t)=>l(((...t)=>{let e,i,r=0,n="";for(;r<t.length;)(e=t[r++])&&(i=f(e))&&(n&&(n+=" "),n+=i);return n})(...t))})(()=>{let t=v("color"),e=v("font"),i=v("text"),r=v("font-weight"),n=v("tracking"),s=v("leading"),o=v("breakpoint"),a=v("container"),l=v("spacing"),u=v("radius"),c=v("shadow"),h=v("inset-shadow"),d=v("text-shadow"),m=v("drop-shadow"),p=v("blur"),f=v("perspective"),g=v("aspect"),y=v("ease"),b=v("animate"),x=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],T=()=>[...w(),H,I],P=()=>["auto","hidden","clip","visible","scroll"],S=()=>["auto","contain","none"],k=()=>[H,I,l],R=()=>[M,"full","auto",...k()],L=()=>[A,"none","subgrid",H,I],j=()=>["auto",{span:["full",A,H,I]},A,H,I],B=()=>[A,"auto",H,I],tt=()=>["auto","min","max","fr",H,I],te=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ti=()=>["start","end","center","stretch","center-safe","end-safe"],tr=()=>["auto",...k()],tn=()=>[M,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...k()],ts=()=>[M,"screen","full","dvw","lvw","svw","min","max","fit",...k()],to=()=>[M,"screen","full","lh","dvh","lvh","svh","min","max","fit",...k()],ta=()=>[t,H,I],tl=()=>[...w(),Y,W,{position:[H,I]}],tu=()=>["no-repeat",{repeat:["","x","y","space","round"]}],tc=()=>["auto","cover","contain",q,O,{size:[H,I]}],th=()=>[E,K,N],td=()=>["","none","full",u,H,I],tm=()=>["",V,K,N],tp=()=>["solid","dashed","dotted","double"],tf=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],tg=()=>[V,E,Y,W],tv=()=>["","none",p,H,I],ty=()=>["none",V,H,I],tb=()=>["none",V,H,I],tx=()=>[V,H,I],tw=()=>[M,"full",...k()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[C],breakpoint:[C],color:[D],container:[C],"drop-shadow":[C],ease:["in","out","in-out"],font:[F],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[C],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[C],shadow:[C],spacing:["px",V],text:[C],"text-shadow":[C],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",M,I,H,g]}],container:["container"],columns:[{columns:[V,I,H,a]}],"break-after":[{"break-after":x()}],"break-before":[{"break-before":x()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:T()}],overflow:[{overflow:P()}],"overflow-x":[{"overflow-x":P()}],"overflow-y":[{"overflow-y":P()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:R()}],"inset-x":[{"inset-x":R()}],"inset-y":[{"inset-y":R()}],start:[{"inset-s":R(),start:R()}],end:[{"inset-e":R(),end:R()}],"inset-bs":[{"inset-bs":R()}],"inset-be":[{"inset-be":R()}],top:[{top:R()}
vendor: 4,731 bytes, line 1
1],right:[{right:R()}],bottom:[{bottom:R()}],left:[{left:R()}],visibility:["visible","invisible","collapse"],z:[{z:[A,"auto",H,I]}],basis:[{basis:[M,"full","auto",a,...k()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[V,M,"auto","initial","none",I]}],grow:[{grow:["",V,H,I]}],shrink:[{shrink:["",V,H,I]}],order:[{order:[A,"first","last","none",H,I]}],"grid-cols":[{"grid-cols":L()}],"col-start-end":[{col:j()}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":L()}],"row-start-end":[{row:j()}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":tt()}],"auto-rows":[{"auto-rows":tt()}],gap:[{gap:k()}],"gap-x":[{"gap-x":k()}],"gap-y":[{"gap-y":k()}],"justify-content":[{justify:[...te(),"normal"]}],"justify-items":[{"justify-items":[...ti(),"normal"]}],"justify-self":[{"justify-self":["auto",...ti()]}],"align-content":[{content:["normal",...te()]}],"align-items":[{items:[...ti(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ti(),{baseline:["","last"]}]}],"place-content":[{"place-content":te()}],"place-items":[{"place-items":[...ti(),"baseline"]}],"place-self":[{"place-self":["auto",...ti()]}],p:[{p:k()}],px:[{px:k()}],py:[{py:k()}],ps:[{ps:k()}],pe:[{pe:k()}],pbs:[{pbs:k()}],pbe:[{pbe:k()}],pt:[{pt:k()}],pr:[{pr:k()}],pb:[{pb:k()}],pl:[{pl:k()}],m:[{m:tr()}],mx:[{mx:tr()}],my:[{my:tr()}],ms:[{ms:tr()}],me:[{me:tr()}],mbs:[{mbs:tr()}],mbe:[{mbe:tr()}],mt:[{mt:tr()}],mr:[{mr:tr()}],mb:[{mb:tr()}],ml:[{ml:tr()}],"space-x":[{"space-x":k()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":k()}],"space-y-reverse":["space-y-reverse"],size:[{size:tn()}],"inline-size":[{inline:["auto",...ts()]}],"min-inline-size":[{"min-inline":["auto",...ts()]}],"max-inline-size":[{"max-inline":["none",...ts()]}],"block-size":[{block:["auto",...to()]}],"min-block-size":[{"min-block":["auto",...to()]}],"max-block-size":[{"max-block":["none",...to()]}],w:[{w:[a,"screen",...tn()]}],"min-w":[{"min-w":[a,"screen","none",...tn()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[o]},...tn()]}],h:[{h:["screen","lh",...tn()]}],"min-h":[{"min-h":["screen","lh","none",...tn()]}],"max-h":[{"max-h":["screen","lh",...tn()]}],"font-size":[{text:["base",i,K,N]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Q,U]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",E,I]}],"font-family":[{font:[X,$,e]}],"font-features":[{"font-features":[I]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,H,I]}],"line-clamp":[{"line-clamp":[V,"none",H,z]}],leading:[{leading:[s,...k()]}],"list-image":[{"list-image":["none",H,I]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",H,I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ta()}],"text-color":[{text:ta()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...tp(),"wavy"]}],"text-decoration-thickness":[{decoration:[V,"from-font","auto",H,N]}],"text-decoration-color":[{decoration:ta()}],"underline-offset":[{"underline-offset":[V,"auto",H,I]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",H,I]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",H,I]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:tl()}],"bg-repeat":[{bg:tu()}],"bg-size":[{bg:tc()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},A,H,I],radial:["",H,I],conic:[A,H,I]},Z,G]}],"bg-color":[{bg:ta()}],"gradient-from-pos":[{from:th()}
vendor: 9,348 bytes, line 1
1],"gradient-via-pos":[{via:th()}],"gradient-to-pos":[{to:th()}],"gradient-from":[{from:ta()}],"gradient-via":[{via:ta()}],"gradient-to":[{to:ta()}],rounded:[{rounded:td()}],"rounded-s":[{"rounded-s":td()}],"rounded-e":[{"rounded-e":td()}],"rounded-t":[{"rounded-t":td()}],"rounded-r":[{"rounded-r":td()}],"rounded-b":[{"rounded-b":td()}],"rounded-l":[{"rounded-l":td()}],"rounded-ss":[{"rounded-ss":td()}],"rounded-se":[{"rounded-se":td()}],"rounded-ee":[{"rounded-ee":td()}],"rounded-es":[{"rounded-es":td()}],"rounded-tl":[{"rounded-tl":td()}],"rounded-tr":[{"rounded-tr":td()}],"rounded-br":[{"rounded-br":td()}],"rounded-bl":[{"rounded-bl":td()}],"border-w":[{border:tm()}],"border-w-x":[{"border-x":tm()}],"border-w-y":[{"border-y":tm()}],"border-w-s":[{"border-s":tm()}],"border-w-e":[{"border-e":tm()}],"border-w-bs":[{"border-bs":tm()}],"border-w-be":[{"border-be":tm()}],"border-w-t":[{"border-t":tm()}],"border-w-r":[{"border-r":tm()}],"border-w-b":[{"border-b":tm()}],"border-w-l":[{"border-l":tm()}],"divide-x":[{"divide-x":tm()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":tm()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...tp(),"hidden","none"]}],"divide-style":[{divide:[...tp(),"hidden","none"]}],"border-color":[{border:ta()}],"border-color-x":[{"border-x":ta()}],"border-color-y":[{"border-y":ta()}],"border-color-s":[{"border-s":ta()}],"border-color-e":[{"border-e":ta()}],"border-color-bs":[{"border-bs":ta()}],"border-color-be":[{"border-be":ta()}],"border-color-t":[{"border-t":ta()}],"border-color-r":[{"border-r":ta()}],"border-color-b":[{"border-b":ta()}],"border-color-l":[{"border-l":ta()}],"divide-color":[{divide:ta()}],"outline-style":[{outline:[...tp(),"none","hidden"]}],"outline-offset":[{"outline-offset":[V,H,I]}],"outline-w":[{outline:["",V,K,N]}],"outline-color":[{outline:ta()}],shadow:[{shadow:["","none",c,J,_]}],"shadow-color":[{shadow:ta()}],"inset-shadow":[{"inset-shadow":["none",h,J,_]}],"inset-shadow-color":[{"inset-shadow":ta()}],"ring-w":[{ring:tm()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ta()}],"ring-offset-w":[{"ring-offset":[V,N]}],"ring-offset-color":[{"ring-offset":ta()}],"inset-ring-w":[{"inset-ring":tm()}],"inset-ring-color":[{"inset-ring":ta()}],"text-shadow":[{"text-shadow":["none",d,J,_]}],"text-shadow-color":[{"text-shadow":ta()}],opacity:[{opacity:[V,H,I]}],"mix-blend":[{"mix-blend":[...tf(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":tf()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[V]}],"mask-image-linear-from-pos":[{"mask-linear-from":tg()}],"mask-image-linear-to-pos":[{"mask-linear-to":tg()}],"mask-image-linear-from-color":[{"mask-linear-from":ta()}],"mask-image-linear-to-color":[{"mask-linear-to":ta()}],"mask-image-t-from-pos":[{"mask-t-from":tg()}],"mask-image-t-to-pos":[{"mask-t-to":tg()}],"mask-image-t-from-color":[{"mask-t-from":ta()}],"mask-image-t-to-color":[{"mask-t-to":ta()}],"mask-image-r-from-pos":[{"mask-r-from":tg()}],"mask-image-r-to-pos":[{"mask-r-to":tg()}],"mask-image-r-from-color":[{"mask-r-from":ta()}],"mask-image-r-to-color":[{"mask-r-to":ta()}],"mask-image-b-from-pos":[{"mask-b-from":tg()}],"mask-image-b-to-pos":[{"mask-b-to":tg()}],"mask-image-b-from-color":[{"mask-b-from":ta()}],"mask-image-b-to-color":[{"mask-b-to":ta()}],"mask-image-l-from-pos":[{"mask-l-from":tg()}],"mask-image-l-to-pos":[{"mask-l-to":tg()}],"mask-image-l-from-color":[{"mask-l-from":ta()}],"mask-image-l-to-color":[{"mask-l-to":ta()}],"mask-image-x-from-pos":[{"mask-x-from":tg()}],"mask-image-x-to-pos":[{"mask-x-to":tg()}],"mask-image-x-from-color":[{"mask-x-from":ta()}],"mask-image-x-to-color":[{"mask-x-to":ta()}],"mask-image-y-from-pos":[{"mask-y-from":tg()}],"mask-image-y-to-pos":[{"mask-y-to":tg()}],"mask-image-y-from-color":[{"mask-y-from":ta()}],"mask-image-y-to-color":[{"mask-y-to":ta()}],"mask-image-radial":[{"mask-radial":[H,I]}],"mask-image-radial-from-pos":[{"mask-radial-from":tg()}],"mask-image-radial-to-pos":[{"mask-radial-to":tg()}],"mask-image-radial-from-color":[{"mask-radial-from":ta()}],"mask-image-radial-to-color":[{"mask-radial-to":ta()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":w()}],"mask-image-conic-pos":[{"mask-conic":[V]}],"mask-image-conic-from-pos":[{"mask-conic-from":tg()}],"mask-image-conic-to-pos":[{"mask-conic-to":tg()}],"mask-image-conic-from-color":[{"mask-conic-from":ta()}],"mask-image-conic-to-color":[{"mask-conic-to":ta()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:tl()}],"mask-repeat":[{mask:tu()}],"mask-size":[{mask:tc()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",H,I]}],filter:[{filter:["","none",H,I]}],blur:[{blur:tv()}],brightness:[{brightness:[V,H,I]}],contrast:[{contrast:[V,H,I]}],"drop-shadow":[{"drop-shadow":["","none",m,J,_]}],"drop-shadow-color":[{"drop-shadow":ta()}],grayscale:[{grayscale:["",V,H,I]}],"hue-rotate":[{"hue-rotate":[V,H,I]}],invert:[{invert:["",V,H,I]}],saturate:[{saturate:[V,H,I]}],sepia:[{sepia:["",V,H,I]}],"backdrop-filter":[{"backdrop-filter":["","none",H,I]}],"backdrop-blur":[{"backdrop-blur":tv()}],"backdrop-brightness":[{"backdrop-brightness":[V,H,I]}],"backdrop-contrast":[{"backdrop-contrast":[V,H,I]}],"backdrop-grayscale":[{"backdrop-grayscale":["",V,H,I]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[V,H,I]}],"backdrop-invert":[{"backdrop-invert":["",V,H,I]}],"backdrop-opacity":[{"backdrop-opacity":[V,H,I]}],"backdrop-saturate":[{"backdrop-saturate":[V,H,I]}],"backdrop-sepia":[{"backdrop-sepia":["",V,H,I]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":k()}],"border-spacing-x":[{"border-spacing-x":k()}],"border-spacing-y":[{"border-spacing-y":k()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",H,I]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[V,"initial",H,I]}],ease:[{ease:["linear","initial",y,H,I]}],delay:[{delay:[V,H,I]}],animate:[{animate:["none",b,H,I]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,H,I]}],"perspective-origin":[{"perspective-origin":T()}],rotate:[{rotate:ty()}],"rotate-x":[{"rotate-x":ty()}],"rotate-y":[{"rotate-y":ty()}],"rotate-z":[{"rotate-z":ty()}],scale:[{scale:tb()}],"scale-x":[{"scale-x":tb()}],"scale-y":[{"scale-y":tb()}],"scale-z":[{"scale-z":tb()}],"scale-3d":["scale-3d"],skew:[{skew:tx()}],"skew-x":[{"skew-x":tx()}],"skew-y":[{"skew-y":tx()}],transform:[{transform:[H,I,"","none","gpu","cpu"]}],"transform-origin":[{origin:T()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:tw()}],"translate-x":[{"translate-x":tw()}],"translate-y":[{"translate-y":tw()}],"translate-z":[{"translate-z":tw()}],"translate-none":["translate-none"],accent:[{accent:ta()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ta()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",H,I]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mbs":[{"scroll-mbs":k()}],"scroll-mbe":[{"scroll-mbe":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pbs":[{"scroll-pbs":k()}],"scroll-pbe":[{"scroll-pbe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",H,I]}],fill:[{fill:["none",...ta()]}],"stroke-w":[{stroke:[V,K,N,z]}],stroke:[{stroke:["none",...ta()]}
1],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function th(...t){return tc(function(){for(var t,e,i=0,r="",n=arguments.length;i<n;i++)(t=arguments[i])&&(e=function t(e){var i,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(i=0;i<s;i++)e[i]&&(r=t(e[i]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}(t))&&(r&&(r+=" "),r+=e);return r}(t))}t.s(["cn",()=>th],75157)},40631,79672,57415,51925,23569,84363,83298,56069,96266,74596,53559,49034,47853,18699,96944,66796,1164,76061,79271,86614,90965,65441,49556,26399,87831,87449,62752,96566,28671,92643,55579,80252,26836,33655,81914,7569,29497,94575,79773,1588,51741,14222,87026,59160,42793,70955,68850,64960,63761,t=>{"use strict";let e,i,r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],n=new Set(r);t.s(["transformPropOrder",()=>r,"transformProps",()=>n],40631);let s=(t,e,i)=>i>e?e:i<t?t:i;t.s(["clamp",()=>s],79672);let o={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},a={...o,transform:t=>s(0,1,t)},l={...o,default:1},u=t=>Math.round(1e5*t)/1e5,c=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,h=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,d=(t,e)=>i=>!!("string"==typeof i&&h.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),m=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[n,s,o,a]=r.match(c);return{[t]:parseFloat(n),[e]:parseFloat(s),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},p={...o,transform:t=>Math.round(s(0,255,t))},f={test:d("rgb","red"),parse:m("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:r=1})=>"rgba("+p.transform(t)+", "+p.transform(e)+", "+p.transform(i)+", "+u(a.transform(r))+")"};t.s(["rgba",()=>f],57415);let g={test:d("#"),parse:function(t){let e="",i="",r="",n="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),r=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),r=t.substring(3,4),n=t.substring(4,5),e+=e,i+=i,r+=r,n+=n),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(r,16),alph
1a:n?parseInt(n,16)/255:1}},transform:f.transform};t.s(["hex",()=>g],51925);let v=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),y=v("deg"),b=v("%"),x=v("px"),w=v("vh"),T=v("vw"),P={...b,parse:t=>b.parse(t)/100,transform:t=>b.transform(100*t)};t.s(["degrees",()=>y,"percent",()=>b,"progressPercentage",()=>P,"px",()=>x,"vh",()=>w,"vw",()=>T],23569);let S={test:d("hsl","hue"),parse:m("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:r=1})=>"hsla("+Math.round(t)+", "+b.transform(u(e))+", "+b.transform(u(i))+", "+u(a.transform(r))+")"};t.s(["hsla",()=>S],84363);let k={test:t=>f.test(t)||g.test(t)||S.test(t),parse:t=>f.test(t)?f.parse(t):S.test(t)?S.parse(t):g.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?f.transform(t):S.transform(t),getAnimatableNone:t=>{let e=k.parse(t);return e.alpha=0,k.transform(e)}};t.s(["color",()=>k],83298);let M=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,V="number",A="color",E=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function C(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},n=[],s=0,o=e.replace(E,t=>(k.test(t)?(r.color.push(s),n.push(A),i.push(k.parse(t))):t.startsWith("var(")?(r.var.push(s),n.push("var"),i.push(t)):(r.number.push(s),n.push(V),i.push(parseFloat(t))),++s,"${}")).split("${}");return{values:i,split:o,indexes:r,types:n}}function D(t){return C(t).values}function R(t){let{split:e,types:i}=C(t),r=e.length;return t=>{let n="";for(let s=0;s<r;s++)if(n+=e[s],void 0!==t[s]){let e=i[s];e===V?n+=u(t[s]):e===A?n+=k.transform(t[s]):n+=t[s]}return n}}let L=t=>"number"==typeof t?0:k.test(t)?k.getAnimatableNone(t):t,j={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(c)?.length||0)+(t.match(M)?.length||0)>0},parse:D,createTransformer:R,getAnimatableNone:function(t){let e=D(t);return R(t)(e.map(L))}};t.s(["analyseComplexValue",()=>C,"complex",()=>j],56069);let B=new Set(["brightness","contrast","saturate","opacity"]);function F(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=i.match(c)||[];if(!r)return t;let n=i.replace(r,""),s=+!!B.has(e);return r!==i&&(s*=100),e+"("+s+n+")"}let O=/\b([a-z-]*)\(.*?\)/gu,I={...j,getAnimatableNone:t=>{let e=t.match(O);return e?e.map(F).join(" "):t}},N={...o,transform:Math.round},z={borderWidth:x,borderTopWidth:x,borderRightWidth:x,borderBottomWidth:x,borderLeftWidth:x,borderRadius:x,borderTopLeftRadius:x,borderTopRightRadius:x,borderBottomRightRadius:x,borderBottomLeftRadius:x,width:x,maxWidth:x,height:x,maxHeight:x,top:x,right:x,bottom:x,left:x,inset:x,insetBlock:x,insetBlockStart:x,insetBlockEnd:x,insetInline:x,insetInlineStart:x,insetInlineEnd:x,padding:x,paddingTop:x,paddingRight:x,paddingBottom:x,paddingLeft:x,paddingBlock:x,paddingBlockStart:x,paddingBlockEnd:x,paddingInline:x,paddingInlineStart:x,paddingInlineEnd:x,margin:x,marginTop:x,marginRight:x,marginBottom:x,marginLeft:x,marginBlock:x,marginBlockStart:x,marginBlockEnd:x,marginInline:x,marginInlineStart:x,marginInlineEnd:x,fontSize:x,backgroundPositionX:x,backgroundPositionY:x,rotate:y,rotateX:y,rotateY:y,rotateZ:y,scale:l,scaleX:l,scaleY:l,scaleZ:l,skew:y,skewX:y,skewY:y,distance:x,translateX:x,translateY:x,translateZ:x,x:x,y:x,z:x,perspective:x,transformPerspective:x,opacity:a,originX:P,originY:P,originZ:x,zIndex:N,fillOpacity:a,strokeOpacity:a,numOctaves:N};t.s(["numberValueTypes",()=>z],96266);let U={...z,color:k,backgroundColor:k,outlineColor:k,fill:k,stroke:k,borderColor:k,borderTopColor:k,borderRightColor:k,borderBottomColor:k,borderLeftColor:k,filter:I,WebkitFilter:I},$=t=>U[t];t.s(["getDefaultValueType",()=>$],74596);let W=()=>({translate:0,scale:1,origin:0,originPoint:0}),G=()=>({x:W(),y:W()}),_=()=>({min:0,max:0}),H=()=>({x:_(),y:_()});t.s(["createBox",()=>H,"createDelta",()=>G],53559);let K=t=>!!(t&&t.getVelocity);t.s(["isMotionValue",()=>K],49034);let X=new Set(["width","height","top","left","right","bottom",...r]);t.s(["positionalKeys",()=>X],47853);let Y=t=>e=>e.test(t),q=[o,x,b,y,T,w,{test:t=>"auto"===t,parse:t=>t}],Z=t=>q.find(Y(t));var J=t.i(2803);let Q=()=>{},tt=()=>{};J.default,t.s(["invariant",()=>tt,"warning",()=>Q],18699);let te=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);t.s(["isNumericalString",()=>te],96944);let ti=t=>e=>"string"==typeof e&&e.startsWith(t),tr=ti("--"),tn=ti("var(--"),ts=t=>!!tn(t)&&to.test(t.split("/*")[0].trim()),to=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ta(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}t.s(["containsCSSVariable",()=>ta,"isCSSVariableName",()=>tr,"isCSSVariableToken",()=>ts],66796);let tl=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tu=t=>180*t/Math.PI,tc=t=>td(tu(Math.atan2(t[1],t[0]))),th={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:tc,rotateZ:tc,skewX:t=>tu(Math.atan(t[1])),skewY:t=>tu(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},td=t=>((t%=360)<0&&(t+=360),t),tm=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),tp=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),tf={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tm,scaleY:tp,scale:t=>(tm(t)+tp(t))/2,rotateX:t=>td(tu(Math.atan2(t[6],t[5]))),rotateY:t=>td(tu(Math.atan2(-t[2],t[0]))),rotateZ:tc,rotate:tc,skewX:t=>tu(Math.atan(t[4])),skewY:t=>tu(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function tg(t){return+!!t.includes("scale")}function tv(t,e){let i,r;if(!t||"none"===t)return tg(e);let n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=tf,r=n;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=th,r=e}if(!r)return tg(e);let s=i[e],o=r[1].split(",").map(tb);return"function"==typeof s?s(o):o[s]}let ty=(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return tv(i,e)};function tb(t){return parseFloat(t.trim())}t.s(["defaultTransformValue",()=>tg,"parseValueFromTransform",()=>tv,"readTransformValue",()=>ty],1164);let tx=t=>t===o||t===x,tw=new Set(["x","y","z"]),tT=r.filter(t=>!tw.has(t)),tP={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>tv(e,"x"),y:(t,{transform:e})=>tv(e,"y")};tP.translateX=tP.x,tP.translateY=tP.y;let tS=t=>t;t.s(["noop",()=>tS],76061);let tk={};t.s(["MotionGlobalConfig",()=>tk],79271);let tM=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],tV={value:null,addProjectionMetrics:null};function tA(t,e){let i=!1,r=!0,n={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,o=tM.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,r=new Set,n=!1,s=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(e){o.has(e)&&(c.schedule(e),t()),l++,e(a)}let c={schedule:(t,e=!1,s=!1)=>{let a=s&&n?i:r;return e&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{r.delete(t),o.delete(t)},process:t=>{if(a=t,n){s=!0;return}
1n=!0,[i,r]=[r,i],i.forEach(u),e&&tV.value&&tV.value.frameloop[e].push(l),l=0,i.clear(),n=!1,s&&(s=!1,c.process(t))}};return c}(s,e?i:void 0),t),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:h,preRender:d,render:m,postRender:p}=o,f=()=>{let s=tk.useManualTiming?n.timestamp:performance.now();i=!1,tk.useManualTiming||(n.delta=r?1e3/60:Math.max(Math.min(s-n.timestamp,40),1)),n.timestamp=s,n.isProcessing=!0,a.process(n),l.process(n),u.process(n),c.process(n),h.process(n),d.process(n),m.process(n),p.process(n),n.isProcessing=!1,i&&e&&(r=!1,t(f))};return{schedule:tM.reduce((e,s)=>{let a=o[s];return e[s]=(e,s=!1,o=!1)=>(!i&&(i=!0,r=!0,n.isProcessing||t(f)),a.schedule(e,s,o)),e},{}),cancel:t=>{for(let e=0;e<tM.length;e++)o[tM[e]].cancel(t)},state:n,steps:o}}t.s(["statsBuffer",()=>tV],86614);let{schedule:tE,cancel:tC,state:tD,steps:tR}=tA("u">typeof requestAnimationFrame?requestAnimationFrame:tS,!0);t.s(["cancelFrame",()=>tC,"frame",()=>tE,"frameData",()=>tD,"frameSteps",()=>tR],90965);let tL=new Set,tj=!1,tB=!1,tF=!1;function tO(){if(tB){let t=Array.from(tL).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,r=(e=[],tT.forEach(i=>{let r=t.getValue(i);void 0!==r&&(e.push([i,r.get()]),r.set(+!!i.startsWith("scale")))}),e);r.length&&(i.set(t,r),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}tB=!1,tj=!1,tL.forEach(t=>t.complete(tF)),tL.clear()}function tI(){tL.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tB=!0)})}function tN(){tF=!0,tI(),tO(),tF=!1}class tz{constructor(t,e,i,r,n,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=r,this.element=n,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(tL.add(this),tj||(tj=!0,tE.read(tI),tE.resolveKeyframes(tO))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:r}=this;if(null===t[0]){let n=r?.get(),s=t[t.length-1];if(void 0!==n)t[0]=n;else if(i&&e){let r=i.readValue(e,s);null!=r&&(t[0]=r)}void 0===t[0]&&(t[0]=s),r&&void 0===n&&r.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),tL.delete(this)}cancel(){"scheduled"===this.state&&(tL.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}t.s(["KeyframeResolver",()=>tz,"flushKeyframeResolvers",()=>tN],65441);let tU=t=>/^0[^.\s]+$/u.test(t);function t$(t,e){let i=$(t);return i!==I&&(i=j),i.getAnimatableNone?i.getAnimatableNone(e):void 0}t.s(["isZeroValueString",()=>tU],49556),t.s(["getAnimatableNone",()=>t$],26399);let tW=new Set(["auto","none","0"]);class tG extends tz{constructor(t,e,i,r,n){super(t,e,i,r,n,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let r=t[i];if("string"==typeof r&&ts(r=r.trim())){let n=function t(e,i,r=1){tt(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[n,s]=function(t){let e=tl.exec(t);if(!e)return[,];let[,i,r,n]=e;return[`--${i??r}`,n]}(e);if(!n)return;let o=window.getComputedStyle(i).getPropertyValue(n);if(o){let t=o.trim();return te(t)?parseFloat(t):t}return ts(s)?t(s,i,r+1):s}(r,e.current);void 0!==n&&(t[i]=n),i===t.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!X.has(i)||2!==t.length)return;let[r,n]=t,s=Z(r),o=Z(n);if(ta(r)!==ta(n)&&tP[i]){this.needsMeasurement=!0;return}if(s!==o)if(tx(s)&&tx(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else tP[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var r;(null===t[e]||("number"==typeof(r=t[e])?0===r:null===r||"none"===r||"0"===r||tU(r)))&&i.push(e)}
1i.length&&function(t,e,i){let r,n=0;for(;n<t.length&&!r;){let e=t[n];"string"==typeof e&&!tW.has(e)&&C(e).values.length&&(r=t[n]),n++}if(r&&i)for(let n of e)t[n]=t$(i,r)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=tP[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let r=e[e.length-1];void 0!==r&&t.getValue(i,r).jump(r,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let r=t.getValue(e);r&&r.jump(this.measuredOrigin,!1);let n=i.length-1,s=i[n];i[n]=tP[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEach(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}t.s(["DOMKeyframesResolver",()=>tG],87831);let t_=t=>1e3*t,tH=t=>t/1e3;function tK(t,e){-1===t.indexOf(e)&&t.push(e)}function tX(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}t.s(["millisecondsToSeconds",()=>tH,"secondsToMilliseconds",()=>t_],87449),t.s(["addUniqueItem",()=>tK,"removeItem",()=>tX],62752);class tY{constructor(){this.subscriptions=[]}add(t){return tK(this.subscriptions,t),()=>tX(this.subscriptions,t)}notify(t,e,i){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,i);else for(let n=0;n<r;n++){let r=this.subscriptions[n];r&&r(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function tq(t){let e;return()=>(void 0===e&&(e=t()),e)}t.s(["SubscriptionManager",()=>tY],96566),t.s(["memo",()=>tq],28671);let tZ=tq(()=>void 0!==window.ScrollTimeline);t.s(["supportsScrollTimeline",()=>tZ],92643);let tJ=t=>null!==t;function tQ(t,{repeat:e,repeatType:i="loop"},r,n=1){let s=t.filter(tJ),o=n<0||e&&"loop"!==i&&e%2==1?0:s.length-1;return o&&void 0!==r?r:s[o]}t.s(["getFinalKeyframe",()=>tQ],55579);class t0{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}t.s(["WithPromise",()=>t0],80252);let t1={layout:0,mainThread:0,waapi:0};t.s(["activeAnimations",()=>t1],26836);let t5=t=>Array.isArray(t)&&"number"==typeof t[0];t.s(["isBezierDefinition",()=>t5],33655);let t9={},t6=(i=tq(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0}),()=>t9.linearEasing??i()),t2=(t,e,i=10)=>{let r="",n=Math.max(Math.round(e/i),2);for(let e=0;e<n;e++)r+=Math.round(1e4*t(e/(n-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`};t.s(["generateLinearEasing",()=>t2],81914);let t8=([t,e,i,r])=>`cubic-bezier(${t}, ${e}, ${i}, ${r})`,t3={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:t8([0,.65,.55,1]),circOut:t8([.55,0,1,.45]),backIn:t8([.31,.01,.66,-.59]),backOut:t8([.33,1.53,.69,.99])};function t4(t){return"function"==typeof t&&"applyToOptions"in t}t.s(["isGenerator",()=>t4],7569);class t7 extends t0{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:i,keyframes:r,pseudoElement:n,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!n,this.allowFlatten=s,this.options=t,tt("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return t4(t)&&t6()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:r=0,duration:n=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let c={[e]:i};l&&(c.offset=l);let h=function t(e,i){if(e)return"function"==typeof e?t6()?t2(e,i):"ease-out":t5(e)?t8(e):Array.isArray(e)?e.map(e=>t(e,i)||t3.easeOut):t3[e]}(a,n);Array.isArray(h)&&(c.easing=h),tV.value&&t1.waapi++;let d={delay:r,duration:n,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};u&&(d.pseudoElement=u);let m=t.animate(c,d);return tV.value&&m.finished.finally(()=>{t1.waapi--}),m}(e,i,r,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let t=tQ(r,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(t):i.startsWith("--")?e.style.setProperty(i,t):e.style[i]=t,this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){return tH(Number(this.animation.effect?.getComputedTiming?.().duration||0))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+tH(t)}get time(){return tH(Number(this.animation.currentTime)||0)}set time(t){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=t_(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&tZ())?(this.animation.timeline=t,tS):e(this)}}t.s(["NativeAnimation",()=>t7],29497);let et=new Set(["opacity","clipPath","filter","transform"]);t.s(["acceleratedValues",()=>et],94575);let{schedule:ee}=tA(queueMicrotask,!1);function ei(){e=void 0}t.s(["microtask",()=>ee],79773);let er={now:()=>(void 0===e&&er.set(tD.isProcessing||tk.useManualTiming?tD.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(ei)}};function en(t,e){return e?1e3/e*t:0}t.s(["time",()=>er],1588),t.s(["velocityPerSecond",()=>en],51741);let es={current:void 0};class eo{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=er.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=er.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new tY);let i=this.events[t].add(e);return"change"===t?()=>{i(),tE.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return es.current&&es.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=er.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return en(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ea(t,e){return new eo(t,e)}t.s(["collectMotionValues",()=>es,"motionValue",()=>ea],14222);let el=[...q,k,j],eu=t=>el.find(Y(t));t.s(["findValueType",()=>eu],87026);let ec=new WeakMap;function eh(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function ed(t){return"string"==typeof t||Array.isArray(t)}t.s(["visualElementStore",()=>ec],59160),t.s(["isAnimationControls",()=>eh],42793),t.s(["isVariantLabel",()=>ed],70955);let em=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ep=["initial",...em];function ef(t){return eh(t.animate)||ep.some(e=>ed(t[e]))}function eg(t){return!!(ef(t)||t.variants)}function ev(t,e,i){for(let r in e){let n=e[r],s=i[r];if(K(n))t.addValue(r,n);else if(K(s))t.addValue(r,ea(n,{owner:t}));else if(s!==n)if(t.hasValue(r)){let e=t.getValue(r);!0===e.liveStyle?e.jump(n):e.hasAnimated||e.set(n)}else{let e=t.getStaticValue(r);t.addValue(r,ea(void 0!==e?e:n,{owner:t}))}}for(let r in i)void 0===e[r]&&t.removeValue(r);return e}t.s(["variantPriorityOrder",()=>em,"variantProps",()=>ep],68850),t.s(["isControllingVariants",()=>ef,"isVariantNode",()=>eg],64960),t.s(["updateMotionValuesFromProps",()=>ev],63761)},46218,57784,t=>{"use strict";let e={current:null},i={current:!1};t.s(["hasReducedMotionListener",()=>i,"prefersReducedMotion",()=>e],57784);let r="u">typeof window;function n(){if(i.current=!0,r)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),i=()=>e.current=t.matches;
1t.addEventListener("change",i),i()}else e.current=!1}t.s(["initPrefersReducedMotion",()=>n],46218)},94093,38928,48059,5533,12957,13118,46658,95499,65777,4287,70025,38145,61782,3807,20509,17885,9683,65289,26179,t=>{"use strict";var e=t.i(40631),i=t.i(74596),r=t.i(53559),n=t.i(49034),s=t.i(87831);t.i(2803);var o=t.i(87449),a=t.i(96944),l=t.i(49556),u=t.i(96566),c=t.i(65441),h=t.i(29497),d=t.i(94575),m=t.i(79773),p=t.i(1588),f=t.i(14222),g=t.i(56069),v=t.i(26399),y=t.i(87026),b=t.i(59160),x=t.i(64960),w=t.i(63761),T=t.i(46218);function P(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function S(t,e,i,r){if("function"==typeof e){let[n,s]=P(r);e=e(void 0!==i?i:t.custom,n,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[n,s]=P(r);e=e(void 0!==i?i:t.custom,n,s)}return e}t.s(["resolveVariantFromProps",()=>S],38928);var k=t.i(57784),M=t.i(90965);let V=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],A={};function E(t){A=t}function C(){return A}class D{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:r,skipAnimations:s,blockInitialAnimation:o,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=c.KeyframeResolver,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=p.time.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,M.frame.render(this.render,!1,!0))};const{latestValues:u,renderState:h}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=e.initial?{...u}:{},this.renderState=h,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=s,this.options=l,this.blockInitialAnimation=!!o,this.isControllingVariants=(0,x.isControllingVariants)(e),this.isVariantNode=(0,x.isVariantNode)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...m}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in m){const e=m[t];void 0!==u[t]&&(0,n.isMotionValue)(e)&&e.set(u[t])}}mount(t){if(this.hasBeenMounted)for(let t in this.initialValues)this.values.get(t)?.jump(this.initialValues[t]),this.latestValues[t]=this.initialValues[t];this.current=t,b.visualElementStore.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(k.hasReducedMotionListener.current||(0,T.initPrefersReducedMotion)(),this.shouldReduceMotion=k.prefersReducedMotion.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,M.cancelFrame)(this.notifyUpdate),(0,M.cancelFrame)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,i){let r;if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),i.accelerate&&d.acceleratedValues.has(t)&&this.current instanceof HTMLElement){let{factory:e,keyframes:r,times:n,ease:s,duration:a}=i.accelerate,l=new h.NativeAnimation({element:this.current,name:t,keyframes:r,times:n,ease:s,duration:(0,o.secondsToMilliseconds)(a)}),u=e(l);this.valueSubscriptions.set(t,()=>{u(),l.cancel()});return}let n=e.transformProps.has(t);n&&this.onBindTransform&&this.onBindTransform();let s=i.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&M.frame.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,t,i)),this.valueSubscriptions.set(t,()=>{s(),r&&r(),i.owner&&i.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in A){let e=A[t];if(!e)continue;let{isEnabled:i,Feature:r}=e;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(this)),this.features[t]){let e=this.features[t];
1e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,r.createBox)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<V.length;e++){let i=V[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=t["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=(0,w.updateMotionValuesFromProps)(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,f.motionValue)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=i&&("string"==typeof i&&((0,a.isNumericalString)(i)||(0,l.isZeroValueString)(i))?i=parseFloat(i):!(0,y.findValueType)(i)&&g.complex.test(e)&&(i=(0,v.getAnimatableNone)(t,e)),this.setBaseTarget(t,(0,n.isMotionValue)(i)?i.get():i)),(0,n.isMotionValue)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let r=S(this.props,i,this.presenceContext?.custom);r&&(e=r[t])}if(i&&void 0!==e)return e;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||(0,n.isMotionValue)(r)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new u.SubscriptionManager),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){m.microtask.render(this.render)}}t.s(["VisualElement",()=>D,"getFeatureDefinitions",()=>C,"setFeatureDefinitions",()=>E],48059);class R extends D{constructor(){super(...arguments),this.KeyframeResolver=s.DOMKeyframesResolver}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,n.isMotionValue)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function L(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}t.s(["camelToDash",()=>L],5533);let j=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var B=t.i(96266),F=t.i(66796);let O={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},I=e.transformPropOrder.length;function N(t,i,r){let{style:n,vars:s,transformOrigin:o}=t,a=!1,l=!1;for(let t in i){let r=i[t];if(e.transformProps.has(t)){a=!0;continue}if((0,F.isCSSVariableName)(t)){s[t]=r;continue}{let e=j(r,B.numberValueTypes[t]);t.startsWith("origin")?(l=!0,o[t]=e):n[t]=e}}if(!i.transform&&(a||r?n.transform=function(t,i,r){let n="",s=!0;for(let o=0;o<I;o++){let a=e.transformPropOrder[o],l=t[a];if(void 0===l)continue;let u=!0;
1if("number"==typeof l)u=l===+!!a.startsWith("scale");else{let t=parseFloat(l);u=a.startsWith("scale")?1===t:0===t}if(!u||r){let t=j(l,B.numberValueTypes[a]);if(!u){s=!1;let e=O[a]||a;n+=`${e}(${t}) `}r&&(i[a]=t)}}return n=n.trim(),r?n=r(i,s?"":n):s&&(n="none"),n}(i,t.transform,r):n.transform&&(n.transform="none")),l){let{originX:t="50%",originY:e="50%",originZ:i=0}=o;n.transformOrigin=`${t} ${e} ${i}`}}t.s(["buildHTMLStyles",()=>N],12957);let z={offset:"stroke-dashoffset",array:"stroke-dasharray"},U={offset:"strokeDashoffset",array:"strokeDasharray"},$=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function W(t,{attrX:e,attrY:i,attrScale:r,pathLength:n,pathSpacing:s=1,pathOffset:o=0,...a},l,u,c){if(N(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:h,style:d}=t;for(let t of(h.transform&&(d.transform=h.transform,delete h.transform),(d.transform||h.transformOrigin)&&(d.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),d.transform&&(d.transformBox=c?.transformBox??"fill-box",delete h.transformBox),$))void 0!==h[t]&&(d[t]=h[t],delete h[t]);void 0!==e&&(h.x=e),void 0!==i&&(h.y=i),void 0!==r&&(h.scale=r),void 0!==n&&function(t,e,i=1,r=0,n=!0){t.pathLength=1;let s=n?z:U;t[s.offset]=`${-r}`,t[s.array]=`${e} ${i}`}(h,n,s,o,!1)}t.s(["buildSVGAttrs",()=>W],13118);let G=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"]),_=t=>"string"==typeof t&&"svg"===t.toLowerCase();function H(t,{style:e,vars:i},r,n){let s,o=t.style;for(s in e)o[s]=e[s];for(s in n?.applyProjectionStyles(o,r),i)o.setProperty(s,i[s])}t.s(["isSVGTag",()=>_],46658);var K=t.i(23569);function X(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let Y={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!K.px.test(t))return t;else t=parseFloat(t);let i=X(t,e.target.x),r=X(t,e.target.y);return`${i}% ${r}%`}},q=(t,e,i)=>t+(e-t)*i;t.s(["mixNumber",()=>q],95499);let Z={borderRadius:{...Y,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Y,borderTopRightRadius:Y,borderBottomLeftRadius:Y,borderBottomRightRadius:Y,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let r=g.complex.parse(t);if(r.length>5)return t;let n=g.complex.createTransformer(t),s=+("number"!=typeof r[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;r[0+s]/=o,r[1+s]/=a;let l=q(o,a,.5);return"number"==typeof r[2+s]&&(r[2+s]/=l),"number"==typeof r[3+s]&&(r[3+s]/=l),n(r)}}};function J(t,{layout:i,layoutId:r}){return e.transformProps.has(t)||t.startsWith("origin")||(i||void 0!==r)&&(!!Z[t]||"opacity"===t)}function Q(t,e,i){let r=t.style,s=e?.style,o={};if(!r)return o;for(let e in r)((0,n.isMotionValue)(r[e])||s&&(0,n.isMotionValue)(s[e])||J(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(o[e]=r[e]);return o}function tt(t,i,r){let s=Q(t,i,r);for(let r in t)((0,n.isMotionValue)(t[r])||(0,n.isMotionValue)(i[r]))&&(s[-1!==e.transformPropOrder.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=t[r]);return s}t.s(["scaleCorrectors",()=>Z],65777),t.s(["isForcedMotionValue",()=>J],4287),t.s(["scrapeMotionValuesFromProps",()=>Q],70025),t.s(["scrapeMotionValuesFromProps",()=>tt],38145);class te extends R{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=r.createBox}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,r){if(e.transformProps.has(r)){let t=(0,i.getDefaultValueType)(r);return t&&t.default||0}return r=G.has(r)?r:L(r),t.getAttribute(r)}scrapeMotionValuesFromProps(t,e,i){return tt(t,e,i)}build(t,e,i){W(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,r){for(let i in H(t,e,void 0,r),e.attrs)t.setAttribute(G.has(i)?i:L(i),e.attrs[i])}mount(t){this.isSVGTag=_(t.tagName),super.mount(t)}}t.s(["SVGVisualElement",()=>te],61782);var ti=t.i(1164);function tr({top:t,left:e,right:i,bottom:r}){return{x:{min:e,max:i},y:{min:t,max:r}}}function tn({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function ts(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}function to(t){return void 0===t||1===t}function ta({scale:t,scaleX:e,scaleY:i}){return!to(t)||!to(e)||!to(i)}function tl(t){return ta(t)||tu(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function tu(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function tc(t,e,i){return i+e*(t-i)}
1function th(t,e,i,r,n){return void 0!==n&&(t=r+n*(t-r)),r+i*(t-r)+e}function td(t,e=0,i=1,r,n){t.min=th(t.min,e,i,r,n),t.max=th(t.max,e,i,r,n)}function tm(t,{x:e,y:i}){td(t.x,e.translate,e.scale,e.originPoint),td(t.y,i.translate,i.scale,i.originPoint)}function tp(t,e,i,r=!1){let n,s,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(n=i[a]).projectionDelta;let{visualElement:o}=n.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(r&&n.options.layoutScroll&&n.scroll&&n!==n.root&&tv(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,tm(t,s)),r&&tl(n.latestValues)&&tv(t,n.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}function tf(t,e){t.min=t.min+e,t.max=t.max+e}function tg(t,e,i,r,n=.5){let s=q(t.min,t.max,n);td(t,e,i,s,r)}function tv(t,e){tg(t.x,e.x,e.scaleX,e.scale,e.originX),tg(t.y,e.y,e.scaleY,e.scale,e.originY)}function ty(t,e){return tr(ts(t.getBoundingClientRect(),e))}function tb(t,e,i){let r=ty(t,i),{scroll:n}=e;return n&&(tf(r.x,n.offset.x),tf(r.y,n.offset.y)),r}t.s(["convertBoundingBoxToBox",()=>tr,"convertBoxToBoundingBox",()=>tn,"transformBoxPoints",()=>ts],3807),t.s(["has2DTranslate",()=>tu,"hasScale",()=>ta,"hasTransform",()=>tl],20509),t.s(["applyBoxDelta",()=>tm,"applyTreeDeltas",()=>tp,"scalePoint",()=>tc,"transformBox",()=>tv,"translateAxis",()=>tf],17885),t.s(["measurePageBox",()=>tb,"measureViewportBox",()=>ty],9683);class tx extends R{constructor(){super(...arguments),this.type="html",this.renderInstance=H}readValueFromInstance(t,i){if(e.transformProps.has(i))return this.projection?.isProjecting?(0,ti.defaultTransformValue)(i):(0,ti.readTransformValue)(t,i);{let e=window.getComputedStyle(t),r=((0,F.isCSSVariableName)(i)?e.getPropertyValue(i):e[i])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return ty(t,e)}build(t,e,i){N(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return Q(t,e,i)}}t.s(["HTMLVisualElement",()=>tx],65289);var tw=t.i(9010);let tT=["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 tP(t){if("string"!=typeof t||t.includes("-"));else if(tT.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}t.s(["isSVGComponent",()=>tP],26179);let tS=(t,e)=>e.isSVG??tP(t)?new te(e):new tx(e,{allowProjection:t!==tw.Fragment});t.s(["createDomVisualElement",()=>tS],94093)},55855,t=>{"use strict";let e=(0,t.i(9010).createContext)({});t.s(["LayoutGroupContext",()=>e])},94252,t=>{"use strict";let e=(0,t.i(9010).createContext)({strict:!1});t.s(["LazyContext",()=>e])},50491,t=>{"use strict";let e=(0,t.i(9010).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",()=>e])},50446,89095,56838,16403,96881,24738,89272,77845,t=>{"use strict";var e=t.i(9010);let i=(0,e.createContext)({});t.s(["MotionContext",()=>i],50446);var r=t.i(64960),n=t.i(70955);function s(t){let{initial:s,animate:a}=function(t,e){if((0,r.isControllingVariants)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,n.isVariantLabel)(e)?e:void 0,animate:(0,n.isVariantLabel)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,e.useContext)(i));return(0,e.useMemo)(()=>({initial:s,animate:a}),[o(s),o(a)])}function o(t){return Array.isArray(t)?t.join(" "):t}t.s(["useCreateMotionContext",()=>s],89095);var a=t.i(49034),l=t.i(4287),u=t.i(12957);let c=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function h(t,e,i){for(let r in e)(0,a.isMotionValue)(e[r])||(0,l.isForcedMotionValue)(r,i)||(t[r]=e[r])}t.s(["createHtmlRenderState",()=>c],56838);var d=t.i(13118),m=t.i(46658);let p=()=>({...c(),attrs:{}});t.s(["createSvgRenderState",()=>p],16403);let f=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function g(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||f.has(t)}let v=t=>!g(t);function y(t){"function"==typeof t&&(v=e=>e.startsWith("on")?!g(e):t(e))}try{y((()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default)}catch{}function b(t,e,i){let r={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&(v(n)||!0===i&&g(n)||!e&&!g(n)||t.draggable&&n.startsWith("onDrag"))&&(r[n]=t[n]);return r}
1t.s(["filterProps",()=>b,"loadExternalIsValidProp",()=>y],96881);var x=t.i(26179);function w(t,i,r,{latestValues:n},s,o=!1,l){let f=(l??(0,x.isSVGComponent)(t)?function(t,i,r,n){let s=(0,e.useMemo)(()=>{let e=p();return(0,d.buildSVGAttrs)(e,i,(0,m.isSVGTag)(n),t.transformTemplate,t.style),{...e.attrs,style:{...e.style}}},[i]);if(t.style){let e={};h(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,i){let r,n,s={},o=(r=t.style||{},h(n={},r,t),Object.assign(n,function({transformTemplate:t},i){return(0,e.useMemo)(()=>{let e=c();return(0,u.buildHTMLStyles)(e,i,t),Object.assign({},e.vars,e.style)},[i])}(t,i)),n);return t.drag&&!1!==t.dragListener&&(s.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(s.tabIndex=0),s.style=o,s})(i,n,s,t),g=b(i,"string"==typeof t,o),v=t!==e.Fragment?{...g,...f,ref:r}:{},{children:y}=i,T=(0,e.useMemo)(()=>(0,a.isMotionValue)(y)?y.get():y,[y]);return(0,e.createElement)(t,{...v,children:T})}t.s(["useRender",()=>w],24738);var T=t.i(70025);function P(t){return(0,a.isMotionValue)(t)?t.get():t}t.s(["scrapeHTMLMotionValuesFromProps",()=>T.scrapeMotionValuesFromProps],89272),t.s(["resolveMotionValue",()=>P],77845)},42832,t=>{"use strict";let e=(0,t.i(9010).createContext)(null);t.s(["PresenceContext",()=>e])},61542,t=>{"use strict";var e=t.i(9010);function i(t){let i=(0,e.useRef)(null);return null===i.current&&(i.current=t()),i.current}t.s(["useConstant",()=>i])},36735,13880,t=>{"use strict";var e=t.i(89272),i=t.i(77845),r=t.i(64960),n=t.i(42793),s=t.i(38928),o=t.i(9010),a=t.i(50446),l=t.i(42832),u=t.i(61542);let c=t=>(e,c)=>{let h=(0,o.useContext)(a.MotionContext),d=(0,o.useContext)(l.PresenceContext),m=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},o,a,l){return{latestValues:function(t,e,o,a){let l={},u=a(t,{});for(let t in u)l[t]=(0,i.resolveMotionValue)(u[t]);let{initial:c,animate:h}=t,d=(0,r.isControllingVariants)(t),m=(0,r.isVariantNode)(t);e&&m&&!d&&!1!==t.inherit&&(void 0===c&&(c=e.initial),void 0===h&&(h=e.animate));let p=!!o&&!1===o.initial,f=(p=p||!1===c)?h:c;if(f&&"boolean"!=typeof f&&!(0,n.isAnimationControls)(f)){let e=Array.isArray(f)?f:[f];for(let i=0;i<e.length;i++){let r=(0,s.resolveVariantFromProps)(t,e[i]);if(r){let{transitionEnd:t,transition:e,...i}=r;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=p?e.length-1:0;e=e[t]}null!==e&&(l[t]=e)}for(let e in t)l[e]=t[e]}}}return l}(o,a,l,t),renderState:e()}})(t,e,h,d);return c?m():(0,u.useConstant)(m)};var h=t.i(56838);let d=c({scrapeMotionValuesFromProps:e.scrapeHTMLMotionValuesFromProps,createRenderState:h.createHtmlRenderState});t.s(["useHTMLVisualState",()=>d],36735);var m=t.i(38145),m=m,p=t.i(16403);let f=c({scrapeMotionValuesFromProps:m.scrapeMotionValuesFromProps,createRenderState:p.createSvgRenderState});t.s(["useSVGVisualState",()=>f],13880)},79884,t=>{"use strict";let e="u">typeof window;t.s(["isBrowser",()=>e])},64446,21386,92088,9778,71303,34503,98446,t=>{"use strict";var e=t.i(48059);let i={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"]},r=!1;function n(){return!function(){if(r)return;let t={};for(let e in i)t[e]={isEnabled:t=>i[e].some(e=>!!t[e])};(0,e.setFeatureDefinitions)(t),r=!0}(),(0,e.getFeatureDefinitions)()}function s(t){let i=n();for(let e in t)i[e]={...i[e],...t[e]};(0,e.setFeatureDefinitions)(i)}t.s(["getInitializedFeatureDefinitions",()=>n],64446),t.s(["loadFeatures",()=>s],21386);let o=Symbol.for("motionComponentSymbol");t.s(["motionComponentSymbol",()=>o],92088);var a=t.i(9010);function l(t,e,i){let r=(0,a.useRef)(i);(0,a.useInsertionEffect)(()=>{r.current=i});let n=(0,a.useRef)(null);return(0,a.useCallback)(i=>{i&&t.onMount?.(i),e&&(i?e.mount(i):e.unmount());let s=r.current;if("function"==typeof s)if(i){let t=s(i);"function"==typeof t&&(n.current=t)}else n.current?(n.current(),n.current=null):s(i);else s&&(s.current=i)},[e])}t.s(["useMotionRef",()=>l],9778);let u="data-"+(0,t.i(5533).camelToDash)("framerAppearId");t.s(["optimizedAppearDataAttribute",()=>u],71303);let c=(0,a.createContext)({});function h(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}t.s(["SwitchLayoutGroupContext",()=>c],34503),t.s(["isRefObject",()=>h],98446)},49053,t=>{"use strict";var e=t.i(9010);let i=t.i(79884).isBrowser?e.useLayoutEffect:e.useEffect;t.s(["useIsomorphicLayoutEffect",()=>i])},6555,91721,18188,72550,1575,17002,60325,14992,76172,61512,85285,28953,28080,51458,2058,21230,16327,53193,69671,61810,30937,93825,61397,86842,11533,28129,17065,t=>{"use strict";t.i(2803);var e=t.i(38821),i=t.i(9010),r=t.i(55855),n=t.i(94252),s=t.i(50491),o=t.i(50446),a=t.i(89095),l=t.i(24738),u=t.i(26179),c=t.i(36735),h=t.i(13880),d=t.i(79884),m=t.i(64446),p=t.i(21386),f=t.i(92088),g=t.i(9778),v=t.i(71303),y=t.i(42832),b=t.i(34503),x=t.i(98446),w=t.i(49053);function T(t,{forwardMotionProps:P=!1,type:S}={},k,M){k&&(0,p.loadFeatures)(k);let V=S?"svg"===S:(0,u.isSVGComponent)(t),A=V?h.useSVGVisualState:c.useHTMLVisualState;function E(u,c){let h,p={...(0,i.useContext)(s.MotionConfigContext),...u,layoutId:function({layoutId:t}){let e=(0,i.useContext)(r.LayoutGroupContext).id;return e&&void 0!==t?e+"-"+t:t}(u)},{isStatic:f}=p,T=(0,a.useCreateMotionContext)(u),S=A(u,f);if(!f&&d.isBrowser){(0,i.useContext)(n.LazyContext).strict;let e=function(t){let{drag:e,layout:i}=(0,m.getInitializedFeatureDefinitions)();if(!e&&!i)return{};let r={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
1(p);h=e.MeasureLayout,T.visualElement=function(t,e,r,a,l,u){let{visualElement:c}=(0,i.useContext)(o.MotionContext),h=(0,i.useContext)(n.LazyContext),d=(0,i.useContext)(y.PresenceContext),m=(0,i.useContext)(s.MotionConfigContext),p=m.reducedMotion,f=m.skipAnimations,g=(0,i.useRef)(null),T=(0,i.useRef)(!1);a=a||h.renderer,!g.current&&a&&(g.current=a(t,{visualState:e,parent:c,props:r,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:p,skipAnimations:f,isSVG:u}),T.current&&g.current&&(g.current.manuallyAnimateOnMount=!0));let P=g.current,S=(0,i.useContext)(b.SwitchLayoutGroupContext);P&&!P.projection&&l&&("html"===P.type||"svg"===P.type)&&function(t,e,i,r){let{layoutId:n,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:n,layout:s,alwaysMeasureLayout:!!o||a&&(0,x.isRefObject)(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:u})}(g.current,r,l,S);let k=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{P&&k.current&&P.update(r,d)});let M=r[v.optimizedAppearDataAttribute],V=(0,i.useRef)(!!M&&!window.MotionHandoffIsComplete?.(M)&&window.MotionHasOptimisedAnimation?.(M));return(0,w.useIsomorphicLayoutEffect)(()=>{T.current=!0,P&&(k.current=!0,window.MotionIsMounted=!0,P.updateFeatures(),P.scheduleRenderMicrotask(),V.current&&P.animationState&&P.animationState.animateChanges())}),(0,i.useEffect)(()=>{P&&(!V.current&&P.animationState&&P.animationState.animateChanges(),V.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(M)}),V.current=!1),P.enteringChildren=void 0)}),P}(t,S,p,M,e.ProjectionNode,V)}return(0,e.jsxs)(o.MotionContext.Provider,{value:T,children:[h&&T.visualElement?(0,e.jsx)(h,{visualElement:T.visualElement,...p}):null,(0,l.useRender)(t,u,(0,g.useMotionRef)(S,T.visualElement,c),S,f,P,V)]})}E.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let C=(0,i.forwardRef)(E);return C[f.motionComponentSymbol]=t,C}function P(t,e){if("u"<typeof Proxy)return T;let i=new Map,r=(i,r)=>T(i,r,t,e);return new Proxy((t,e)=>r(t,e),{get:(n,s)=>"create"===s?r:(i.has(s)||i.set(s,T(s,void 0,t,e)),i.get(s))})}t.s(["createMotionProxy",()=>P],6555);class S{constructor(t){this.isMounted=!1,this.node=t}update(){}}t.s(["Feature",()=>S],91721);var k=t.i(38928);function M(t,e,i){let r=t.getProps();return(0,k.resolveVariantFromProps)(r,e,void 0!==i?i:r.custom,t)}function V(t,e){if(t?.inherit&&e){let{inherit:i,...r}=t;return{...e,...r}}return t}function A(t,e){let i=t?.[e]??t?.default??t;return i!==t?V(i,t):i}t.s(["resolveTransition",()=>V],18188),t.s(["getValueTransition",()=>A],72550);var E=t.i(47853),C=t.i(14222);let D=t=>Array.isArray(t);var R=t.i(79271),L=t.i(49034);function j(t,e){let i=t.getValue("willChange");if((0,L.isMotionValue)(i)&&i.add)return i.add(e);if(!i&&R.MotionGlobalConfig.WillChange){let i=new R.MotionGlobalConfig.WillChange("auto");t.addValue("willChange",i),i.add(e)}}function B(t){return t.props[v.optimizedAppearDataAttribute]}t.s(["addValueToWillChange",()=>j],1575),t.s(["getOptimisedAppearId",()=>B],17002);var F=t.i(87449),O=t.i(76061),I=t.i(1588);let N=(t,e)=>i=>e(t(i)),z=(...t)=>t.reduce(N);t.s(["pipe",()=>z],60325);var U=t.i(79672),$=t.i(26836),W=t.i(18699),G=t.i(66796),_=t.i(83298),H=t.i(56069),K=t.i(51925),X=t.i(84363);function Y(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var q=t.i(57415);function Z(t,e){return i=>i>0?e:t}var J=t.i(95499);let Q=(t,e,i)=>{let r=t*t,n=i*(e*e-r)+r;return n<0?0:Math.sqrt(n)},tt=[K.hex,q.rgba,X.hsla];function te(t){let e=tt.find(e=>e.test(t));if((0,W.warning)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===X.hsla&&(i=function({hue:t,saturation:e,lightness:i,alpha:r}){t/=360,i/=100;let n=0,s=0,o=0;if(e/=100){let r=i<.5?i*(1+e):i+e-i*e,a=2*i-r;n=Y(a,r,t+1/3),s=Y(a,r,t),o=Y(a,r,t-1/3)}else n=s=o=i;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*o),alpha:r}}(i)),i}let ti=(t,e)=>{let i=te(t),r=te(e);if(!i||!r)return Z(t,e);let n={...i};return t=>(n.red=Q(i.red,r.red,t),n.green=Q(i.green,r.green,t),n.blue=Q(i.blue,r.blue,t),n.alpha=(0,J.mixNumber)(i.alpha,r.alpha,t),q.rgba.transform(n))},tr=new Set(["none","hidden"]);function tn(t,e){return i=>(0,J.mixNumber)(t,e,i)}function ts(t){return"number"==typeof t?tn:"string"==typeof t?(0,G.isCSSVariableToken)(t)?Z:_.color.test(t)?ti:tl:Array.isArray(t)?to:"object"==typeof t?_.color.test(t)?ti:ta:Z}function to(t,e){let i=[...t],r=i.length,n=t.map((t,i)=>ts(t)(t,e[i]));return t=>{for(let e=0;e<r;e++)i[e]=n[e](t);return i}}function ta(t,e){let i={...t,...e},r={};for(let n in i)void 0!==t[n]&&void 0!==e[n]&&(r[n]=ts(t[n])(t[n],e[n]));return t=>{for(let e in r)i[e]=r[e](t);return i}}let tl=(t,e)=>{let i=H.complex.createTransformer(e),r=(0,H.analyseComplexValue)(t),n=(0,H.analyseComplexValue)(e);if(!(r.indexes.var.length===n.indexes.var.length&&r.indexes.color.length===n.indexes.color.length&&r.indexes.number.length>=n.indexes.number.length))return(0,W.warning)(!0,`Complex values '${t}' and '${e}
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.`,"complex-values-different"),Z(t,e);if(tr.has(t)&&!n.values.length||tr.has(e)&&!r.values.length)return tr.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return z(to(function(t,e){let i=[],r={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let s=e.types[n],o=t.indexes[s][r[s]],a=t.values[o]??0;i[n]=a,r[s]++}return i}(r,n),n.values),i)};function tu(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,J.mixNumber)(t,e,i):ts(t)(t,e)}t.s(["mix",()=>tu],14992);var tc=t.i(90965);let th=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>tc.frame.update(e,t),stop:()=>(0,tc.cancelFrame)(e),now:()=>tc.frameData.isProcessing?tc.frameData.timestamp:I.time.now()}};var td=t.i(81914);function tm(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}function tp(t,e=100,i){let r=i({...t,keyframes:[0,e]}),n=Math.min(tm(r),2e4);return{type:"keyframes",ease:t=>r.next(n*t).value/e,duration:(0,F.millisecondsToSeconds)(n)}}t.s(["createGeneratorEasing",()=>tp],76172);var tf=t.i(51741);function tg(t,e,i){let r=Math.max(e-5,0);return(0,tf.velocityPerSecond)(i-t(r),e-r)}let tv=.01,ty=2,tb=.005,tx=.5;function tw(t,e){return t*Math.sqrt(1-e*e)}let tT=["duration","bounce"],tP=["stiffness","damping","mass"];function tS(t,e){return e.some(e=>void 0!==t[e])}function tk(t=.3,e=.3){let i,r="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:n,restDelta:s}=r,o=r.keyframes[0],a=r.keyframes[r.keyframes.length-1],l={done:!1,value:o},{stiffness:u,damping:c,mass:h,duration:d,velocity:m,isResolvedFromDuration:p}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!tS(t,tP)&&tS(t,tT))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),r=i*i,n=2*(0,U.clamp)(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:1,stiffness:r,damping:n}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:r=1}){let n,s;(0,W.warning)(t<=(0,F.secondsToMilliseconds)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-e;o=(0,U.clamp)(.05,1,o),t=(0,U.clamp)(.01,10,(0,F.millisecondsToSeconds)(t)),o<1?(n=e=>{let r=e*o,n=r*t;return .001-(r-i)/tw(e,o)*Math.exp(-n)},s=e=>{let r=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-r),l=tw(Math.pow(e,2),o);return(r*i+i-s)*a*(-n(e)+.001>0?-1:1)/l}):(n=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));let a=function(t,e,i){let r=i;for(let i=1;i<12;i++)r-=t(r)/e(r);return r}(n,s,5/t);if(t=(0,F.secondsToMilliseconds)(t),isNaN(a))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(a,2)*r;return{stiffness:e,damping:2*o*Math.sqrt(r*e),duration:t}}}(t);(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...r,velocity:-(0,F.millisecondsToSeconds)(r.velocity||0)}),f=m||0,g=c/(2*Math.sqrt(u*h)),v=a-o,y=(0,F.millisecondsToSeconds)(Math.sqrt(u/h)),b=5>Math.abs(v);if(n||(n=b?tv:ty),s||(s=b?tb:tx),g<1){let t=tw(y,g);i=e=>a-Math.exp(-g*y*e)*((f+g*y*v)/t*Math.sin(t*e)+v*Math.cos(t*e))}else if(1===g)i=t=>a-Math.exp(-y*t)*(v+(f+y*v)*t);else{let t=y*Math.sqrt(g*g-1);i=e=>{let i=Math.exp(-g*y*e),r=Math.min(t*e,300);return a-i*((f+g*y*v)*Math.sinh(r)+t*v*Math.cosh(r))/t}}let x={calculatedDuration:p&&d||null,next:t=>{let e=i(t);if(p)l.done=t>=d;else{let r=0===t?f:0;g<1&&(r=0===t?(0,F.secondsToMilliseconds)(f):tg(i,t,e));let o=Math.abs(a-e)<=s;l.done=Math.abs(r)<=n&&o}return l.value=l.done?a:e,l},toString:()=>{let t=Math.min(tm(x),2e4),e=(0,td.generateLinearEasing)(e=>x.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return x}function tM({keyframes:t,velocity:e=0,power:i=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){let h,d,m=t[0],p={done:!1,value:m},f=i*e,g=m+f,v=void 0===o?g:o(g);v!==g&&(f=v-m);let y=t=>-f*Math.exp(-t/r),b=t=>v+y(t),x=t=>{let e=y(t),i=b(t);p.done=Math.abs(e)<=u,p.value=p.done?v:i},w=t=>{let e;if(e=p.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;
1h=t,d=tk({keyframes:[p.value,(i=p.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:tg(b,t,p.value),damping:n,stiffness:s,restDelta:u,restSpeed:c})}};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==h||(e=!0,x(t),w(t)),void 0!==h&&t>=h)?d.next(t-h):(e||x(t),p)}}}tk.applyToOptions=t=>{let e=tp(t,100,tk);return t.ease=e.ease,t.duration=(0,F.secondsToMilliseconds)(e.duration),t.type="keyframes",t},t.s(["spring",()=>tk],61512);let tV=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function tA(t,e,i,r){return t===e&&i===r?O.noop:n=>0===n||1===n?n:tV(function(t,e,i,r,n){let s,o,a=0;do(s=tV(o=e+(i-e)/2,r,n)-t)>0?i=o:e=o;while(Math.abs(s)>1e-7&&++a<12)return o}(n,0,1,t,i),e,r)}let tE=tA(.42,0,1,1),tC=tA(0,0,.58,1),tD=tA(.42,0,.58,1);t.s(["easeIn",()=>tE,"easeInOut",()=>tD,"easeOut",()=>tC],85285);let tR=t=>Array.isArray(t)&&"number"!=typeof t[0];t.s(["isEasingArray",()=>tR],28953);let tL=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,tj=t=>e=>1-t(1-e),tB=tA(.33,1.53,.69,.99),tF=tj(tB),tO=tL(tF),tI=t=>(t*=2)<1?.5*tF(t):.5*(2-Math.pow(2,-10*(t-1))),tN=t=>1-Math.sin(Math.acos(t)),tz=tj(tN),tU=tL(tN);t.s(["circIn",()=>tN,"circInOut",()=>tU,"circOut",()=>tz],28080);var t$=t.i(33655);let tW={linear:O.noop,easeIn:tE,easeInOut:tD,easeOut:tC,circIn:tN,circInOut:tU,circOut:tz,backIn:tF,backInOut:tO,backOut:tB,anticipate:tI},tG=t=>{if((0,t$.isBezierDefinition)(t)){(0,W.invariant)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,r,n]=t;return tA(e,i,r,n)}return"string"==typeof t?((0,W.invariant)(void 0!==tW[t],`Invalid easing type '${t}'`,"invalid-easing-type"),tW[t]):t},t_=(t,e,i)=>{let r=e-t;return 0===r?1:(i-t)/r};function tH(t,e,{clamp:i=!0,ease:r,mixer:n}={}){let s=t.length;if((0,W.invariant)(s===e.length,"Both input and output ranges must be the same length","range-length"),1===s)return()=>e[0];if(2===s&&e[0]===e[1])return()=>e[1];let o=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,i){let r=[],n=i||R.MotionGlobalConfig.mix||tu,s=t.length-1;for(let i=0;i<s;i++){let s=n(t[i],t[i+1]);e&&(s=z(Array.isArray(e)?e[i]||O.noop:e,s)),r.push(s)}return r}(e,r,n),l=a.length,u=i=>{if(o&&i<t[0])return e[0];let r=0;if(l>1)for(;r<t.length-2&&!(i<t[r+1]);r++);let n=t_(t[r],t[r+1],i);return a[r](n)};return i?e=>u((0,U.clamp)(t[0],t[s-1],e)):u}function tK(t,e){let i=t[t.length-1];for(let r=1;r<=e;r++){let n=t_(0,e,r);t.push((0,J.mixNumber)(i,1,n))}}function tX(t){let e=[0];return tK(e,t.length-1),e}function tY({duration:t=300,keyframes:e,times:i,ease:r="easeInOut"}){var n;let s=tR(r)?r.map(tG):tG(r),o={done:!1,value:e[0]},a=tH((n=i&&i.length===e.length?i:tX(e),n.map(e=>e*t)),e,{ease:Array.isArray(s)?s:e.map(()=>s||tD).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=a(e),o.done=e>=t,o)}}t.s(["progress",()=>t_],51458),t.s(["interpolate",()=>tH],2058),t.s(["fillOffset",()=>tK],21230),t.s(["defaultOffset",()=>tX],16327);var tq=t.i(55579);let tZ={decay:tM,inertia:tM,tween:tY,keyframes:tY,spring:tk};function tJ(t){"string"==typeof t.type&&(t.type=tZ[t.type])}var tQ=t.i(80252);let t0=t=>t/100;class t1 extends tQ.WithPromise{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==I.time.now()&&this.tick(I.time.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},$.activeAnimations.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;tJ(t);let{type:e=tY,repeat:i=0,repeatDelay:r=0,repeatType:n,velocity:s=0}=t,{keyframes:o}=t,a=e||tY;a!==tY&&"number"!=typeof o[0]&&(this.mixKeyframes=z(t0,tu(o[0],o[1])),o=[0,100]);let l=a({...t,keyframes:o});"mirror"===n&&(this.mirroredGenerator=a({...t,keyframes:[...o].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=tm(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+r,this.totalDuration=this.resolvedDuration*(i+1)-r,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:i,totalDuration:r,mixKeyframes:n,mirroredGenerator:s,resolvedDuration:o,calculatedDuration:a}=this;if(null===this.startTime)return i.next(0);let{delay:l=0,keyframes:u,repeat:c,repeatType:h,repeatDelay:d,type:m,onUpdate:p,finalKeyframe:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let y=this.currentTime,b=i;if(c){let t=Math.min(this.currentTime,r)/o,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===h?(i=1-i,d&&(i-=d/
1o)):"mirror"===h&&(b=s)),y=(0,U.clamp)(0,1,i)*o}let x=v?{done:!1,value:u[0]}:b.next(y);n&&(x.value=n(x.value));let{done:w}=x;v||null===a||(w=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return T&&m!==tM&&(x.value=(0,tq.getFinalKeyframe)(u,this.options,f,this.speed)),p&&p(x.value),T&&this.finish(),x}then(t,e){return this.finished.then(t,e)}get duration(){return(0,F.millisecondsToSeconds)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,F.millisecondsToSeconds)(t)}get time(){return(0,F.millisecondsToSeconds)(this.currentTime)}set time(t){t=(0,F.secondsToMilliseconds)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(I.time.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,F.millisecondsToSeconds)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=th,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(I.time.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,$.activeAnimations.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}t.s(["JSAnimation",()=>t1],53193);var t5=t.i(65441),t9=t.i(29497);let t6={anticipate:tI,backInOut:tO,circInOut:tU};class t2 extends t9.NativeAnimation{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in t6&&(t.ease=t6[t.ease])}(t),tJ(t),super(t),void 0!==t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:r,element:n,...s}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new t1({...s,autoplay:!1}),a=Math.max(10,I.time.now()-this.startTime),l=(0,U.clamp)(0,10,a-10);e.setWithVelocity(o.sample(Math.max(0,a-l)).value,o.sample(a).value,l),o.stop()}}var t8=t.i(7569);let t3=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(H.complex.test(t)||"0"===t)&&!t.startsWith("url("));function t4(t){t.duration=0,t.type="keyframes"}var t7=tQ,et=t.i(28671);let ee=new Set(["opacity","clipPath","filter","transform"]),ei=(0,et.memo)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class er extends t7.WithPromise{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:s="loop",keyframes:o,name:a,motionValue:l,element:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=I.time.now();const h={autoplay:t,delay:e,type:i,repeat:r,repeatDelay:n,repeatType:s,name:a,motionValue:l,element:u,...c},d=u?.KeyframeResolver||t5.KeyframeResolver;this.keyframeResolver=new d(o,(t,e,i)=>this.onKeyframesResolved(t,e,h,!i),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,r){this.keyframeResolver=void 0;let{name:n,type:s,velocity:o,delay:a,isHandoff:l,onUpdate:u}=i;
1this.resolvedAt=I.time.now(),!function(t,e,i,r){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=t3(n,e),a=t3(s,e);return(0,W.warning)(o===a,`You are trying to animate ${e} from "${n}" to "${s}". "${o?s:n}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||(0,t8.isGenerator)(i))&&r)}(t,n,s,o)&&((R.MotionGlobalConfig.instantAnimations||!a)&&u?.((0,tq.getFinalKeyframe)(t,i,e)),t[0]=t[t.length-1],t4(i),i.repeat=0);let c={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},h=!l&&function(t){let{motionValue:e,name:i,repeatDelay:r,repeatType:n,damping:s,type:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return ei()&&i&&ee.has(i)&&("transform"!==i||!l)&&!a&&!r&&"mirror"!==n&&0!==s&&"inertia"!==o}(c),d=c.motionValue?.owner?.current,m=h?new t2({...c,element:d}):new t1(c);m.finished.then(()=>{this.notifyFinished()}).catch(O.noop),this.pendingTimeline&&(this.stopTimeline=m.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,t5.flushKeyframeResolvers)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}var en=t.i(40631);let es={type:"spring",stiffness:500,damping:25,restSpeed:10},eo={type:"keyframes",duration:.8},ea={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},el=t=>null!==t,eu=(t,e,i,r={},n,s)=>o=>{let a=A(r,t)||{},l=a.delay||r.delay||0,{elapsed:u=0}=r;u-=(0,F.secondsToMilliseconds)(l);let c={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:s?void 0:n};!function({when:t,delay:e,delayChildren:i,staggerChildren:r,staggerDirection:n,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(a)&&Object.assign(c,((t,{keyframes:e})=>e.length>2?eo:en.transformProps.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:es:ea)(t,c)),c.duration&&(c.duration=(0,F.secondsToMilliseconds)(c.duration)),c.repeatDelay&&(c.repeatDelay=(0,F.secondsToMilliseconds)(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let h=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(t4(c),0===c.delay&&(h=!0)),(R.MotionGlobalConfig.instantAnimations||R.MotionGlobalConfig.skipAnimations||n?.shouldSkipAnimations)&&(h=!0,t4(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,h&&!s&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"},r){let n=t.filter(el),s=e&&"loop"!==i&&e%2==1?0:n.length-1;return n[s]}(c.keyframes,a);if(void 0!==t)return void tc.frame.update(()=>{c.onUpdate(t),c.onComplete()})}return a.isSync?new t1(c):new er(c)};function ec(t,e,{delay:i=0,transitionOverride:r,type:n}={}){let{transition:s,transitionEnd:o,...a}=e,l=t.getDefaultTransition();s=s?V(s,l):l;let u=s?.reduceMotion;r&&(s=r);let c=[],h=n&&t.animationState&&t.animationState.getState()[n];for(let e in a){let r=t.getValue(e,t.latestValues[e]??null),n=a[e];if(void 0===n||h&&function({protectedKeys:t,needsAnimating:e},i){let r=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,r}(h,e))continue;let o={delay:i,...A(s||{},e)},l=r.get();if(void 0!==l&&!r.isAnimating&&!Array.isArray(n)&&n===l&&!o.velocity)continue;let d=!1;if(window.MotionHandoffAnimation){let i=B(t);if(i){let t=window.MotionHandoffAnimation(i,e,tc.frame);null!==t&&(o.startTime=t,d=!0)}}j(t,e);let m=u??t.shouldReduceMotion;r.start(eu(e,r,n,m&&E.positionalKeys.has(e)?{type:!1}:o,t,d));let p=r.animation;p&&c.push(p)}if(o){let e=()=>tc.frame.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:r={},...n}=M(t,e)||{};for(let e in n={...n,...i}){var s;let i=D(s=n[e])?s[s.length-1]||0:s;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,C.motionValue)(i))}}(t,o)});c.length?Promise.all(c).then(e):e()}return c}function eh(t,e,i,r=0,n=1){let s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*r;return"function"==typeof i?i(s,o):1===n?s*r:a-s*r}
1function ed(t,e,i={}){let r=M(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:n=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(n=i.transitionOverride);let s=r?()=>Promise.all(ec(t,r,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=n;return function(t,e,i=0,r=0,n=0,s=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(ed(l,e,{...o,delay:i+("function"==typeof r?0:r)+eh(t.variantChildren,l,r,n,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,r,s,o,a,i)}:()=>Promise.resolve(),{when:a}=n;if(!a)return Promise.all([s(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}t.s(["animateMotionValue",()=>eu],69671),t.s(["animateTarget",()=>ec],61810);var em=t.i(70955),ep=t.i(68850);let ef=ep.variantProps.length;var eg=t.i(42793);function ev(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let r=0;r<i;r++)if(e[r]!==t[r])return!1;return!0}let ey=[...ep.variantPriorityOrder].reverse(),eb=ep.variantPriorityOrder.length;function ex(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ew(){return{animate:ex(!0),whileInView:ex(),whileHover:ex(),whileTap:ex(),whileDrag:ex(),whileFocus:ex(),exit:ex()}}let eT=0,eP={animation:{Feature:class extends S{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e))r=Promise.all(e.map(e=>ed(t,e,i)));else if("string"==typeof e)r=ed(t,e,i);else{let n="function"==typeof e?M(t,e,i.custom):e;r=Promise.all(ec(t,n,i))}return r.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=ew(),r=!0,n=e=>(i,r)=>{let n=M(t,r,"exit"===e?t.presenceContext?.custom:void 0);if(n){let{transition:t,transitionEnd:e,...r}=n;i={...i,...r,...e}}return i};function s(s){let{props:o}=t,a=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<ef;t++){let r=ep.variantProps[t],n=e.props[r];((0,em.isVariantLabel)(n)||!1===n)&&(i[r]=n)}return i}(t.parent)||{},l=[],u=new Set,c={},h=1/0;for(let e=0;e<eb;e++){var d,m;let p=ey[e],f=i[p],g=void 0!==o[p]?o[p]:a[p],v=(0,em.isVariantLabel)(g),y=p===s?f.isActive:null;!1===y&&(h=e);let b=g===a[p]&&g!==o[p]&&v;if(b&&r&&t.manuallyAnimateOnMount&&(b=!1),f.protectedKeys={...c},!f.isActive&&null===y||!g&&!f.prevProp||(0,eg.isAnimationControls)(g)||"boolean"==typeof g)continue;if("exit"===p&&f.isActive&&!0!==y){f.prevResolvedValues&&(c={...c,...f.prevResolvedValues});continue}let x=(d=f.prevProp,"string"==typeof(m=g)?m!==d:!!Array.isArray(m)&&!ev(m,d)),w=x||p===s&&f.isActive&&!b&&v||e>h&&v,T=!1,P=Array.isArray(g)?g:[g],S=P.reduce(n(p),{});!1===y&&(S={});let{prevResolvedValues:k={}}=f,V={...k,...S},A=e=>{w=!0,u.has(e)&&(T=!0,u.delete(e)),f.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in V){let e=S[t],i=k[t];if(!c.hasOwnProperty(t))(D(e)&&D(i)?ev(e,i):e===i)?void 0!==e&&u.has(t)?A(t):f.protectedKeys[t]=!0:null!=e?A(t):u.add(t)}f.prevProp=g,f.prevResolvedValues=S,f.isActive&&(c={...c,...S}),r&&t.blockInitialAnimation&&(w=!1);let E=b&&x,C=!E||T;w&&C&&l.push(...P.map(e=>{let i={type:p};if("string"==typeof e&&r&&!E&&t.manuallyAnimateOnMount&&t.parent){let{parent:r}=t,n=M(r,e);if(r.enteringChildren&&n){let{delayChildren:e}=n.transition||{};i.delay=eh(r.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(u.size){let e={};if("boolean"!=typeof o.initial){let i=M(t,Array.isArray(o.initial)?o.initial[0]:o.initial);i&&i.transition&&(e.transition=i.transition)}u.forEach(i=>{let r=t.getBaseTarget(i),n=t.getValue(i);n&&(n.liveStyle=!0),e[i]=r??null}),l.push({animation:e})}let p=!!l.length;return r&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(p=!1),r=!1,p?e(l):Promise.resolve()}return{animateChanges:s,setActive:function(e,r){if(i[e].isActive===r)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,r)),i[e].isActive=r;let n=s(e);for(let t in i)i[t].protectedKeys={};return n},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=ew()}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,eg.isAnimationControls)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends S{constructor(){super(...arguments),this.id=eT++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let r=this.node.animationState.setActive("exit",!t);e&&!t&&r.then(()=>
1{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}}};function eS(t){return[t("x"),t("y")]}t.s(["animations",()=>eP],30937),t.s(["eachAxis",()=>eS],93825);let ek=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function eM(t){return ek.has(t.tagName)||!0===t.isContentEditable}let eV=new Set(["INPUT","SELECT","TEXTAREA"]);function eA(t){return eV.has(t.tagName)||!0===t.isContentEditable}function eE(t,e,i,r={passive:!0}){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i)}t.s(["isElementKeyboardAccessible",()=>eM,"isElementTextInput",()=>eA],61397),t.s(["addDomEvent",()=>eE],86842);let eC={x:!1,y:!1};function eD(){return eC.x||eC.y}function eR(t){if("x"===t||"y"===t)if(eC[t])return null;else return eC[t]=!0,()=>{eC[t]=!1};return eC.x||eC.y?null:(eC.x=eC.y=!0,()=>{eC.x=eC.y=!1})}t.s(["isDragActive",()=>eD,"isDragging",()=>eC],11533),t.s(["setDragLock",()=>eR],28129);function eL(t){return t.max-t.min}function ej(t,e,i){return Math.abs(t-e)<=i}function eB(t,e,i,r=.5){t.origin=r,t.originPoint=(0,J.mixNumber)(e.min,e.max,t.origin),t.scale=eL(i)/eL(e),t.translate=(0,J.mixNumber)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function eF(t,e,i,r){eB(t.x,e.x,i.x,r?r.originX:void 0),eB(t.y,e.y,i.y,r?r.originY:void 0)}function eO(t,e,i){t.min=i.min+e.min,t.max=t.min+eL(e)}function eI(t,e,i){eO(t.x,e.x,i.x),eO(t.y,e.y,i.y)}function eN(t,e,i){t.min=e.min-i.min,t.max=t.min+eL(e)}function ez(t,e,i){eN(t.x,e.x,i.x),eN(t.y,e.y,i.y)}t.s(["calcBoxDelta",()=>eF,"calcLength",()=>eL,"calcRelativeBox",()=>eI,"calcRelativePosition",()=>ez,"isNear",()=>ej],17065)},15085,t=>{"use strict";function e(t){return"object"==typeof t&&null!==t}t.s(["isObject",()=>e])},90914,14256,63131,40950,58633,50294,19944,58238,t=>{"use strict";let e,i;var r=t.i(91721),n=t.i(76061),s=t.i(53559),o=t.i(90965),a=t.i(93825),l=t.i(9683),u=t.i(3807),c=t.i(1575),h=t.i(69671),d=t.i(95499),m=t.i(61397),p=t.i(86842),f=t.i(28129),g=t.i(23569),v=t.i(17065),y=t.i(15085);function b(t){return(0,y.isObject)(t)&&"ownerSVGElement"in t}function x(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let r=document;e&&(r=e.current);let n=i?.[t]??r.querySelectorAll(t);return n?Array.from(n):[]}return Array.from(t).filter(t=>null!=t)}t.s(["isSVGElement",()=>b],14256),t.s(["resolveElements",()=>x],63131);let w=new WeakMap,T=(t,e,i)=>(r,n)=>n&&n[0]?n[0][t+"Size"]:b(r)&&"getBBox"in r?r.getBBox()[e]:r[i],P=T("inline","width","offsetWidth"),S=T("block","height","offsetHeight");function k({target:t,borderBoxSize:e}){w.get(t)?.forEach(i=>{i(t,{get width(){return P(t,e)},get height(){return S(t,e)}})})}function M(t){t.forEach(k)}let V=new Set;function A(t,r){let n;return"function"==typeof t?(V.add(t),i||(i=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};V.forEach(e=>e(t))},window.addEventListener("resize",i)),()=>{V.delete(t),V.size||"function"!=typeof i||(window.removeEventListener("resize",i),i=void 0)}):(!e&&"u">typeof ResizeObserver&&(e=new ResizeObserver(M)),(n=x(t)).forEach(t=>{let i=w.get(t);i||(i=new Set,w.set(t,i)),i.add(r),e?.observe(t)}),()=>{n.forEach(t=>{let i=w.get(t);i?.delete(r),i?.size||e?.unobserve(t)})})}t.s(["resize",()=>A],40950);var E=t.i(18699);let C=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function D(t){return{point:{x:t.pageX,y:t.pageY}}}t.s(["isPrimaryPointer",()=>C],58633);let R=t=>e=>C(e)&&t(e,D(e));function L(t,e,i,r){return(0,p.addDomEvent)(t,e,R(i),r)}t.s(["addPointerInfo",()=>R,"extractEventInfo",()=>D],50294);let j=({current:t})=>t?t.ownerDocument.defaultView:null;var B=t.i(98446),F=t.i(60325),O=t.i(87449);let I=(t,e)=>Math.abs(t-e),N=new Set(["auto","scroll"]);class z{constructor(t,e,{transformPagePoint:i,contextWindow:r=window,dragSnapToOrigin:n=!1,distanceThreshold:s=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=W(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,n=(t=i.offset,e={x:0,y:0},Math.sqrt(I(t.x,e.x)**2+I(t.y,e.y)**2)>=this.distanceThreshold);if(!r&&!n)return;let{point:s}=i,{timestamp:a}=o.frameData;this.history.push({...s,timestamp:a});let{onStart:l,onMove:u}=this.handlers;r||(l&&l(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),u&&u(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=U(e,this.transformPagePoint),o.frame.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:n}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=W("pointercancel"===t.type?this.lastMoveEventInfo:U(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),r&&r(t,s)},!C(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=r||window;const l=U(D(t),this.transformPagePoint),{point:u}=l,{timestamp:c}=o.frameData;this.history=[{...u,timestamp:c}];const{onSessionStart:h}=e;h&&h(t,W(l,this.history)),this.removeListeners=(0,F.pipe)(L(this.contextWindow,"pointermove",this.handlePointerMove),L(this.contextWindow,"pointerup",this.handlePointerUp),L(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(N.has(t.overflowX)||N.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,r=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},n={x:r.x-e.x,y:r.y-e.y};(0!==n.x||0!==n.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=n.x,this.lastMoveEventInfo.point.y+=n.y):this.history.length>0&&(this.history[0].x-=n.x,this.history[0].y-=n.y),this.scrollPositions.set(t,r),o.frame.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,o.cancelFrame)(this.updatePoint)}}function U(t,e){return e?{point:e(t.point)}:t}function $(t,e){return{x:t.x-e.x,y:t.y-e.y}}function W({point:t},e){return{point:t,delta:$(t,G(e)),offset:$(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,r=null,n=G(t);for(;i>=0&&(r=t[i],!(n.timestamp-r.timestamp>(0,O.secondsToMilliseconds)(.1)));)i--;if(!r)return{x:0,y:0};r===t[0]&&t.length>2&&n.timestamp-r.timestamp>
12*(0,O.secondsToMilliseconds)(.1)&&(r=t[1]);let s=(0,O.millisecondsToSeconds)(n.timestamp-r.timestamp);if(0===s)return{x:0,y:0};let o={x:(n.x-r.x)/s,y:(n.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function G(t){return t[t.length-1]}var _=t.i(51458),H=t.i(79672);function K(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function X(t,e){let i=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,r]=[r,i]),{min:i,max:r}}function Y(t,e,i){return{min:q(t,e),max:q(t,i)}}function q(t,e){return"number"==typeof t?t:t[e]||0}let Z=new WeakMap;class J{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,s.createBox)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let n=t=>{e&&this.snapToCursor(D(t).point),this.stopAnimation()},s=(t,e)=>{let{drag:i,dragPropagation:r,onDragStart:n}=this.getProps();if(i&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,f.setDragLock)(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,a.eachAxis)(t=>{let e=this.getAxisMotionValue(t).get()||0;if(g.percent.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[t];r&&(e=(0,v.calcLength)(r)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&o.frame.update(()=>n(t,e),!1,!0),(0,c.addValueToWillChange)(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},l=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:n,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=e;if(r&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(a),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),s&&o.frame.update(()=>s(t,e),!1,!0)},u=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},h=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new z(t,{onSessionStart:n,onStart:s,onMove:l,onSessionEnd:u,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:i,contextWindow:j(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,r=e||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!r||!i)return;let{velocity:s}=r;this.startAnimation(s);let{onDragEnd:a}=this.getProps();a&&o.frame.postRender(()=>a(i,r))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:r}=this.getProps();if(!i||!tt(t,r,this.currentDirection))return;let n=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},r){return void 0!==e&&t<e?t=r?(0,d.mixNumber)(e,t,r.min):Math.max(t,e):void 0!==i&&t>i&&(t=r?(0,d.mixNumber)(i,t,r.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),n.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;t&&(0,B.isRefObject)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:r,right:n}){return{x:K(t.x,i,n),y:K(t.y,e,r)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:Y(t,"left","right"),y:Y(t,"top","bottom")}}(e),r!==this.constraints&&!(0,B.isRefObject)(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&(0,a.eachAxis)(t=>{var e,r;let n;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],r=this.constraints[t],n={},void 0!==r.min&&(n.min=r.min-e.min),void 0!==r.max&&(n.max=r.max-e.min),n))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!(0,B.isRefObject)(e))return!1;let r=e.current;(0,E.invariant)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let s=(0,l.measurePageBox)(r,n.root,this.visualElement.getTransformPagePoint()),o=(t=n.layout.layoutBox,{x:X(t.x,s.x),y:X(t.y,s.y)});if(i){let t=i((0,u.convertBoxToBoundingBox)(o));this.hasMutatedConstraints=!!t,t&&(o=(0,u.convertBoundingBoxToBox)(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:r,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),l=this.constraints||{};return Promise.all((0,a.eachAxis)(o=>{if(!tt(o,e,this.currentDirection))return;let a=l&&l[o]||{};s&&(a={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...a};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,c.addValueToWillChange)(this.visualElement,t),i.start((0,h.animateMotionValue)(t,i,0,e,this.visualElement,!1))}stopAnimation(){(0,a.eachAxis)(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){(0,a.eachAxis)(e=>{let{drag:i}=this.getProps();if(!tt(e,i,this.currentDirection))return;let{projection:r}=this.visualElement,n=this.getAxisMotionValue(e);if(r&&r.layout){let{min:i,max:s}=r.layout.layoutBox[e],o=n.get()||0;n.set(t[e]-(0,d.mixNumber)(i,s,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,B.isRefObject)(e)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};(0,a.eachAxis)(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,n;let s,o,a,l=e.get();r[t]=(i={min:l,max:l},n=this.constraints[t],s=.5,o=(0,v.calcLength)(i),(a=(0,v.calcLength)(n))>o?s=(0,_.progress)(n.min,n.max-o,i.min):o>a&&(s=(0,_.progress)(i.min,i.max-a,n.min)),(0,H.clamp)(0,1,s))}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),(0,a.eachAxis)(e=>{if(!tt(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:s}=this.constraints[e];i.set((0,d.mixNumber)(n,s,r[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;Z.set(this.visualElement,this);let e=this.visualElement.current,i=L(e,"pointerdown",t=>{let{drag:i,dragListener:r=!0}=this.getProps(),n=t.target,s=n!==e&&(0,m.isElementTextInput)(n);i&&r&&!s&&this.start(t)}),r=()=>{var i,r,n;let s,o,{dragConstraints:a}=this.getProps();(0,B.isRefObject)(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,r=a.current,s=A(i,Q(n=()=>this.scalePositionWithinConstraints())),o=A(r,Q(n)),t=()=>{s(),o()}))},{projection:n}=this.visualElement,s=n.addEventListener("measure",r);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),o.frame.read(r);let l=(0,p.addDomEvent)(window,"resize",()=>this.scalePositionWithinConstraints()),u=n.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&((0,a.eachAxis)(e=>{let i=this.getAxisMotionValue(e);
1i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{l(),i(),s(),u&&u(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:r,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function Q(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function tt(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class te extends r.Feature{constructor(t){super(t),this.removeGroupControls=n.noop,this.removeListeners=n.noop,this.controls=new J(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||n.noop}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}t.s(["DragGesture",()=>te],90914);var ti=r;let tr=t=>(e,i)=>{t&&o.frame.update(()=>t(e,i),!1,!0)};class tn extends ti.Feature{constructor(){super(...arguments),this.removePointerDownListener=n.noop}onPointerDown(t){this.session=new z(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:j(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:tr(t),onStart:tr(e),onMove:tr(i),onEnd:(t,e)=>{delete this.session,r&&o.frame.postRender(()=>r(t,e))}}}mount(){this.removePointerDownListener=L(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}t.s(["PanGesture",()=>tn],19944);let ts={hasAnimatedSinceResize:!0,hasEverUpdated:!1};t.s(["globalProjectionState",()=>ts],58238)},25392,t=>{"use strict";var e=t.i(9010),i=t.i(42832);function r(t=!0){let n=(0,e.useContext)(i.PresenceContext);if(null===n)return[!0,null];let{isPresent:s,onExitComplete:o,register:a}=n,l=(0,e.useId)();(0,e.useEffect)(()=>{if(t)return a(l)},[t]);let u=(0,e.useCallback)(()=>t&&o&&o(l),[l,o,t]);return!s&&o?[!1,u]:[!0]}function n(){var t;return null===(t=(0,e.useContext)(i.PresenceContext))||t.isPresent}t.s(["useIsPresent",()=>n,"usePresence",()=>r])},87158,61580,59156,61861,12630,21515,26710,82398,86698,t=>{"use strict";var e=t.i(90914),i=t.i(19944),r=t.i(38821),n=t.i(58238),s=t.i(90965),o=t.i(79773),a=t.i(9010),l=t.i(25392),u=t.i(55855),c=t.i(34503);let h=!1;class d extends a.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:r}=this.props,{projection:s}=t;s&&(e.group&&e.group.add(s),i&&i.register&&r&&i.register(s),h&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),n.globalProjectionState.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:r,isPresent:n}=this.props,{projection:o}=i;return o&&(o.isPresent=n,t.layoutDependency!==e&&o.setOptions({...o.options,layoutDependency:e}),h=!0,r||t.layoutDependency!==e||void 0===e||t.isPresent!==n?o.willUpdate():this.safeToRemove(),t.isPresent!==n&&(n?o.promote():o.relegate()||s.frame.postRender(()=>{let t=o.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),o.microtask.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:r}=t;h=!0,r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function m(t){let[e,i]=(0,l.usePresence)(),n=(0,a.useContext)(u.LayoutGroupContext);return(0,r.jsx)(d,{...t,layoutGroup:n,switchLayoutGroup:(0,a.useContext)(c.SwitchLayoutGroupContext),isPresent:e,safeToRemove:i})}t.s(["MeasureLayout",()=>m],61580);var p=t.i(96566),f=t.i(79672),g=t.i(76061),v=t.i(69671),y=t.i(14222),b=t.i(49034);function x(t,e,i){let r=(0,b.isMotionValue)(t)?t:(0,y.motionValue)(t);return r.start((0,v.animateMotionValue)("",r,e,i)),r.animation}t.s(["animateSingleValue",()=>x],59156);var w=t.i(17002),T=t.i(72550),P=t.i(1588),S=t.i(65777),k=t.i(26836),M=t.i(86614);function V(t,e){let i=P.time.now(),r=({timestamp:n})=>{let o=n-i;o>=e&&((0,s.cancelFrame)(r),t(o-e))};return s.frame.setup(r,!0),()=>(0,s.cancelFrame)(r)}t.i(87449),t.s(["delay",()=>V],61861);var A=t.i(14256);function E(t){return(0,A.isSVGElement)(t)&&"svg"===t.tagName}t.s(["isSVGSVGElement",()=>E],12630);var C=t.i(95499),D=t.i(77845),R=t.i(23569),L=t.i(51458),j=t.i(28080);let B=["TopLeft","TopRight","BottomLeft","BottomRight"],F=B.length,O=t=>"string"==typeof t?parseFloat(t):t,I=t=>"number"==typeof t||R.px.test(t);function N(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let z=$(0,.5,j.circOut),U=$(.5,.95,g.noop);function $(t,e,i){return r=>r<t?0:r>e?1:i((0,L.progress)(t,e,r))}function W(t,e){t.min=e.min,t.max=e.max}function G(t,e){W(t.x,e.x),W(t.y,e.y)}function _(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var H=t.i(17885),K=t.i(17065);function X(t,e,i,r,n){return t-=e,t=(0,H.scalePoint)(t,1/i,r),void 0!==n&&(t=(0,H.scalePoint)(t,1/n,r)),t}function Y(t,e,[i,r,n],s,o){!function(t,e=0,i=1,r=.5,n,s=t,o=t){if(R.percent.test(e)&&(e=parseFloat(e),e=(0,C.mixNumber)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;
1let a=(0,C.mixNumber)(s.min,s.max,r);t===s&&(a-=e),t.min=X(t.min,e,i,a,n),t.max=X(t.max,e,i,a,n)}(t,e[i],e[r],e[n],e.scale,s,o)}let q=["x","scaleX","originX"],Z=["y","scaleY","originY"];function J(t,e,i,r){Y(t.x,e,q,i?i.x:void 0,r?r.x:void 0),Y(t.y,e,Z,i?i.y:void 0,r?r.y:void 0)}var Q=t.i(53559);function tt(t){return 0===t.translate&&1===t.scale}function te(t){return tt(t.x)&&tt(t.y)}function ti(t,e){return t.min===e.min&&t.max===e.max}function tr(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function tn(t,e){return tr(t.x,e.x)&&tr(t.y,e.y)}function ts(t){return(0,K.calcLength)(t.x)/(0,K.calcLength)(t.y)}function to(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var ta=t.i(62752);class tl{constructor(){this.members=[]}add(t){(0,ta.addUniqueItem)(this.members,t);for(let e=this.members.length-1;e>=0;e--){let i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;let r=i.instance;r&&!1===r.isConnected&&!1!==i.isPresent&&!i.snapshot&&(0,ta.removeItem)(this.members,i)}t.scheduleRender()}remove(t){if((0,ta.removeItem)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t],r=i.instance;if(!1!==i.isPresent&&(!r||!1!==r.isConnected)){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender();let r=i.options.layoutDependency,n=t.options.layoutDependency;if(void 0===r||void 0===n||r!==n){let r=i.instance;!(r&&!1===r.isConnected&&!i.snapshot)&&(t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0))}let{crossfade:s}=t.options;!1===s&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var tu=t.i(93825);let tc=(t,e)=>t.depth-e.depth;class th{constructor(){this.children=[],this.isDirty=!1}add(t){(0,ta.addUniqueItem)(this.children,t),this.isDirty=!0}remove(t){(0,ta.removeItem)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(tc),this.isDirty=!1,this.children.forEach(t)}}var td=t.i(20509);let tm={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},tp=["","X","Y","Z"],tf=0;function tg(t,e,i,r){let{latestValues:n}=e;n[t]&&(i[t]=n[t],e.setStaticValue(t,0),r&&(r[t]=0))}function tv({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:r,resetTransform:a}){return class{constructor(t={},i=e?.()){this.id=tf++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,M.statsBuffer.value&&(tm.nodes=tm.calculatedTargetDeltas=tm.calculatedProjections=0),this.nodes.forEach(tx),this.nodes.forEach(tV),this.nodes.forEach(tA),this.nodes.forEach(tw),M.statsBuffer.addProjectionMetrics&&M.statsBuffer.addProjectionMetrics(tm)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new th)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new p.SubscriptionManager),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=(0,A.isSVGElement)(e)&&!E(e),this.instance=e;let{layoutId:i,layout:r,visualElement:o}=this.options;if(o&&!o.current&&o.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||i)&&(this.isLayoutDirty=!0),t){let i,r=0,o=()=>this.root.updateBlockedByResize=!1;s.frame.read(()=>{r=window.innerWidth}),t(e,()=>{let t=window.innerWidth;t!==r&&(r=t,this.root.updateBlockedByResize=!0,i&&i(),i=V(o,250),n.globalProjectionState.hasAnimatedSinceResize&&(n.globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEac
1h(tM)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&o&&(i||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||o.getDefaultTransition()||tj,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=o.getProps(),l=!this.targetLayout||!tn(this.targetLayout,r),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...(0,T.getValueTransition)(n,"layout"),onPlay:s,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u)}else e||tM(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,s.cancelFrame)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(tE),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let r=(0,w.getOptimisedAppearId)(i);if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",s.frame,!(t||i))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&t(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(tP);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(tS);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(tk),this.nodes.forEach(ty),this.nodes.forEach(tb)):this.nodes.forEach(tS),this.clearAllSnapshots();let t=P.time.now();s.frameData.delta=(0,f.clamp)(0,1e3/60,t-s.frameData.timestamp),s.frameData.timestamp=t,s.frameData.isProcessing=!0,s.frameSteps.update.process(s.frameData),s.frameSteps.preRender.process(s.frameData),s.frameSteps.render.process(s.frameData),s.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,o.microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(tT),this.sharedNodes.forEach(tC)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,s.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){s.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,K.calcLength)(this.snapshot.measuredBox.x)||(0,K.calcLength)(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=(0,Q.createBox)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=r(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!a)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!te(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,n=r!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,td.hasTransform)(this.latestValues)||n)&&(a(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),r=this.removeElementScroll(i);return t&&(r=this.removeTransform(r)),tO((e=r).x),tO(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,Q.createBox)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(tN))){let{scroll:t}=this.root;t&&((0,H.translateAxis)(e.x,t.offset.x),(0,H.translateAxis)(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,Q.createBox)();if(G(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let r=this.path[i],{scroll:n,options:s}=r;r!==this.root&&n&&s.layoutScroll&&(n.wasRoot&&G(e,t),(0,H.translateAxis)(e.x,n.offset.x),(0,H.translateAxis)(e.y,n.offset.y))}return e}applyTransform(t,e=!1){let i=(0,Q.createBox)();G(i,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];!e&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(0,H.transformBox)(i,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),(0,td.hasTransform)(r.latestValues)&&(0,H.transformBox)(i,r.latestValues)}return(0,td.hasTransform)(this.latestValues)&&(0,H.transformBox)(i,this.latestValues),i}removeTransform(t){let e=(0,Q.createBox)();G(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,td.hasTransform)(i.latestValues))continue;(0,td.hasScale)(i.latestValues)&&i.updateSnapshot();let r=(0,Q.createBox)();G(r,i.measurePageBox()),J(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,r)}return(0,td.hasTransform)(this.latestValues)&&J(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==s.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:n}=this.options;if(!this.layout||!(r||n))return;this.resolvedRelativeTargetAt=s.frameData.timestamp;let o=this.getClosestProjectingParent();o&&this.linkedParentVersion!==o.layoutVersion&&!o.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(o&&o.layout?this.createRelativeTarget(o,this.layout.layoutBox,o.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=(0,Q.createBox)(),this.targetWithTransforms=(0,Q.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,K.calcRelativeBox)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):G(this.target,this.layout.layoutBox),(0,H.applyBoxDelta)(this.target,this.targetDelta)):G(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,o&&!!o.resumingFrom==!!this.resumingFrom&&!o.options.layoutScroll&&o.target&&1!==this.animationProgress?this.createRelativeTarget(o,this.target,o.target):this.relativeParent=this.relativeTarget=void 0),M.statsBuffer.value&&tm.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||(0,td.hasScale)(this.parent.latestValues)||(0,td.has2DTranslate)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,Q.createBox)(),this.relativeTargetOrigin=(0,Q.createBox)(),(0,K.calcRelativePosition)(this.relativeTargetOrigin,e,i),G(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===s.frameData.timestamp&&(i=!1),i)return;let{layout:r,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||n))return;G(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;(0,H.applyTreeDeltas)(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,Q.createBox)());let{target:l}=t;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(_(this.prevProjectionDelta.x,this.projectionDelta.x),_(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,K.calcBoxDelta)(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&to(this.projectionDelta.x,this.prevProjectionDelta.x)&&to(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),M.statsBuffer.value&&tm.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,Q.createDelta)(),this.projectionDelta=(0,Q.createDelta)(),this.projectionDeltaWithTransform=(0,Q.createDelta)()}setAnimationOrigin(t,e=!1){let i,r=this.snapshot,n=r?r.latestValues:{},s={...this.latestValues},o=(0,Q.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=(0,Q.createBox)(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,h=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(tL));this.animationProgress=0,this.mixTargetDelta=e=>{let r=e/1e3;if(tD(o.x,t.x,r),tD(o.y,t.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,m,p,f,g;(0,K.calcRelativePosition)(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),m=this.relativeTarget,p=this.relativeTargetOrigin,f=a,g=r,tR(m.x,p.x,f.x,g),tR(m.y,p.y,f.y,g),i&&(u=this.relativeTarget,d=i,ti(u.x,d.x)&&ti(u.y,d.y))&&(this.isProjectionDirty=!1),i||(i=(0,Q.createBox)()),G(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,r,n,s){n?(t.opacity=(0,C.mixNumber)(0,i.opacity??1,z(r)),t.opacityExit=(0,C.mixNumber)(e.opacity??1,0,U(r))):s&&(t.opacity=(0,C.mixNumber)(e.opacity??1,i.opacity??1,r));for(let n=0;n<F;n++){let s=`border${B[n]}Radius`,o=N(e,s),a=N(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||I(o)===I(a)?(t[s]=Math.max((0,C.mi
1xNumber)(O(o),O(a),r),0),(R.percent.test(a)||R.percent.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,C.mixNumber)(e.rotate||0,i.rotate||0,r))}(s,n,this.latestValues,r,h,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,s.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=s.frame.update(()=>{n.globalProjectionState.hasAnimatedSinceResize=!0,k.activeAnimations.layout++,this.motionValue||(this.motionValue=(0,y.motionValue)(0)),this.currentAnimation=x(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{k.activeAnimations.layout--},onComplete:()=>{k.activeAnimations.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:r,latestValues:n}=t;if(e&&i&&r){if(this!==t&&this.layout&&r&&tI(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||(0,Q.createBox)();let e=(0,K.calcLength)(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let r=(0,K.calcLength)(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+r}G(e,i),(0,H.transformBox)(e,n),(0,K.calcBoxDelta)(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new tl),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
1return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let r=this.getStack();r&&r.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let r={};i.z&&tg("z",t,r,this.animationValues);for(let e=0;e<tp.length;e++)tg(`rotate${tp[e]}`,t,r,this.animationValues),tg(`skew${tp[e]}`,t,r,this.animationValues);for(let e in t.render(),r)t.setStaticValue(e,r[e]),this.animationValues&&(this.animationValues[e]=r[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=(0,D.resolveMotionValue)(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,D.resolveMotionValue)(e?.pointerEvents)||""),this.hasProjected&&!(0,td.hasTransform)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let n=r.animationValues||r.latestValues;this.applyTransformsToTarget();let s=function(t,e,i){let r="",n=t.x.translate/e.x,s=t.y.translate/e.y,o=i?.z||0;if((n||s||o)&&(r=`translate3d(${n}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:n,rotateY:s,skewX:o,skewY:a}=i;t&&(r=`perspective(${t}px) ${r}`),e&&(r+=`rotate(${e}deg) `),n&&(r+=`rotateX(${n}deg) `),s&&(r+=`rotateY(${s}deg) `),o&&(r+=`skewX(${o}deg) `),a&&(r+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,n);i&&(s=i(n,s)),t.transform=s;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,r.animationValues?t.opacity=r===this?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:t.opacity=r===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,S.scaleCorrectors){if
1(void 0===n[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=S.scaleCorrectors[e],l="none"===s?n[e]:i(n[e],r);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=r===this?(0,D.resolveMotionValue)(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(tP),this.root.sharedNodes.clear()}}}function ty(t){t.updateLayout()}function tb(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:r}=t.layout,{animationType:n}=t.options,s=e.source!==t.layout.source;"size"===n?(0,tu.eachAxis)(t=>{let r=s?e.measuredBox[t]:e.layoutBox[t],n=(0,K.calcLength)(r);r.min=i[t].min,r.max=r.min+n}):tI(n,e.layoutBox,i)&&(0,tu.eachAxis)(r=>{let n=s?e.measuredBox[r]:e.layoutBox[r],o=(0,K.calcLength)(i[r]);n.max=n.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+o)});let o=(0,Q.createDelta)();(0,K.calcBoxDelta)(o,i,e.layoutBox);let a=(0,Q.createDelta)();s?(0,K.calcBoxDelta)(a,t.applyTransform(r,!0),e.measuredBox):(0,K.calcBoxDelta)(a,i,e.layoutBox);let l=!te(o),u=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:n,layout:s}=r;if(n&&s){let o=(0,Q.createBox)();(0,K.calcRelativePosition)(o,e.layoutBox,n.layoutBox);let a=(0,Q.createBox)();(0,K.calcRelativePosition)(a,i,s.layoutBox),tn(o,a)||(u=!0),r.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function tx(t){M.statsBuffer.value&&tm.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function tw(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function tT(t){t.clearSnapshot()}function tP(t){t.clearMeasurements()}function tS(t){t.isLayoutDirty=!1}function tk(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function tM(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tV(t){t.resolveTargetDelta()}function tA(t){t.calcProjection()}function tE(t){t.resetSkewAndRotation()}function tC(t){t.removeLeadSnapshot()}function tD(t,e,i){t.translate=(0,C.mixNumber)(e.translate,0,i),t.scale=(0,C.mixNumber)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function tR(t,e,i,r){t.min=(0,C.mixNumber)(e.min,i.min,r),t.max=(0,C.mixNumber)(e.max,i.max,r)}function tL(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let tj={duration:.45,ease:[.4,0,.1,1]},tB=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),tF=tB("applewebkit/")&&!tB("chrome/")?Math.round:g.noop;function tO(t){t.min=tF(t.min),t.max=tF(t.max)}function tI(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,K.isNear)(ts(e),ts(i),.2)}function tN(t){return t!==t.root&&t.scroll?.wasRoot}var tz=t.i(86842);let tU=tv({attachResizeListener:(t,e)=>(0,tz.addDomEvent)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),t$={current:void 0},tW=tv({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!t$.current){let t=new tU({});t.mount(window),t.setOptions({layoutScroll:!0}),t$.current=t}return t$.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});t.s(["HTMLProjectionNode",()=>tW],21515);let tG={pan:{Feature:i.PanGesture},drag:{Feature:e.DragGesture,ProjectionNode:tW,MeasureLayout:m}};t.s(["drag",()=>tG],87158);var t_=t.i(91721),tH=t.i(11533),tK=t.i(63131);function tX(t,e){let i=(0,tK.resolveElements)(t),r=new AbortController;return[i,{passive:!0,...e,signal:r.signal},()=>r.abort()]}t.s(["setupGesture",()=>tX],26710);var tY=t.i(50294);function tq(t,e,i){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===i);let n=r["onHover"+i];n&&s.frame.postRender(()=>n(e,(0,tY.extractEventInfo)(e)))}class tZ extends t_.Feature{mount(){let{current:t}=this.node;
1t&&(this.unmount=function(t,e,i={}){let[r,n,s]=tX(t,i);return r.forEach(t=>{let i,r=!1,s=!1,o=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},a=t=>{r=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),s&&(s=!1,o(t))},l=t=>{if("touch"!==t.pointerType){if(r){s=!0;return}o(t)}};t.addEventListener("pointerenter",r=>{if("touch"===r.pointerType||(0,tH.isDragActive)())return;s=!1;let o=e(t,r);"function"==typeof o&&(i=o,t.addEventListener("pointerleave",l,n))},n),t.addEventListener("pointerdown",()=>{r=!0,window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",a,n)},n)}),s}(t,(t,e)=>(tq(this.node,e,"Start"),t=>tq(this.node,t,"End"))))}unmount(){}}t.s(["HoverGesture",()=>tZ],82398);var tJ=t_,tQ=t.i(60325);class t0 extends tJ.Feature{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,tQ.pipe)((0,tz.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,tz.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}t.s(["FocusGesture",()=>t0],86698)},44965,t=>{"use strict";var e=t.i(15085);function i(t){return(0,e.isObject)(t)&&"offsetHeight"in t}t.s(["isHTMLElement",()=>i])},62582,t=>{"use strict";var e=t.i(94093),i=t.i(6555),r=t.i(30937),n=t.i(87158),s=t.i(82398),o=t.i(86698),a=t.i(91721),l=t.i(44965),u=t.i(11533);let c=(t,e)=>!!e&&(t===e||c(t,e.parentElement));var h=t.i(58633),d=t.i(26710),m=t.i(61397);let p=new WeakSet;function f(t){return e=>{"Enter"===e.key&&t(e)}}function g(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function v(t){return(0,h.isPrimaryPointer)(t)&&!(0,u.isDragActive)()}let y=new WeakSet;var b=t.i(90965),x=t.i(50294);function w(t,e,i){let{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===i);let n=r["onTap"+("End"===i?"":i)];n&&b.frame.postRender(()=>n(e,(0,x.extractEventInfo)(e)))}class T extends a.Feature{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e,i={}){let[r,n,s]=(0,d.setupGesture)(t,i),o=t=>{let r=t.currentTarget;if(!v(t)||y.has(t))return;p.add(r),i.stopPropagation&&y.add(t);let s=e(r,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),p.has(r)&&p.delete(r),v(t)&&"function"==typeof s&&s(t,{success:e})},a=t=>{o(t,r===window||r===document||i.useGlobalTarget||c(r,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",l,n)};return r.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,n),(0,l.isHTMLElement)(t)&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let r=f(()=>{if(p.has(i))return;g(i,"down");let t=f(()=>{g(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>g(i,"cancel"),e)});i.addEventListener("keydown",r,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),e)})(t,n)),(0,m.isElementKeyboardAccessible)(t)||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(w(this.node,e,"Start"),(t,{success:e})=>w(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}var P=a;let S=new WeakMap,k=new WeakMap,M=t=>{let e=S.get(t.target);e&&e(t)},V=t=>{t.forEach(M)},A={some:0,all:1};class E extends P.Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:r,margin:n,amount:s="some",once:o}=i,a={root:r?r.current:void 0,rootMargin:n,threshold:"number"==typeof s?s:A[s]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,o&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:r}=this.node.getProps(),n=e?i:r;n&&n(t)};return t=this.node.current,e=function({root:t,...e}){let i=t||document;k.has(i)||k.set(i,{});let r=k.get(i),n=JSON.stringify(e);return r[n]||(r[n]=new IntersectionObserver(V,{root:t,...e})),r[n]}(a),S.set(t,l),e.observe(t),()=>{S.delete(t),e.unobserve(t)}}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let C={inView:{Feature:E},tap:{Feature:T},focus:{Feature:o.FocusGesture},hover:{Feature:s.HoverGesture}};var D=t.i(21515),R=t.i(61580);let L={layout:{ProjectionNode:D.HTMLProjectionNode,MeasureLayout:R.MeasureLayout}},j={...r.animations,...C,...n.drag,...L},B=(0,i.createMotionProxy)(j,e.createDomVisualElement);t.s(["motion",()=>B],62582)}]);
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.