UNPKG

htmldocs

Version:

<h1 align="center"> <img src="https://github.com/user-attachments/assets/655fa7f9-98e7-42ee-8cd0-bb9193f100e9" alt="htmldocs" width="100%" /> </h1>

1 lines 317 kB
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[129],{5931:function(e,t,n){n.d(t,{Ry:function(){return u}});var r=new WeakMap,o=new WeakMap,i={},a=0,s=function(e){return e&&(e.host||s(e.parentNode))},l=function(e,t,n,l){var u=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=s(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});i[n]||(i[n]=new WeakMap);var c=i[n],d=[],h=new Set,f=new Set(u),p=function(e){!e||h.has(e)||(h.add(e),p(e.parentNode))};u.forEach(p);var m=function(e){!e||f.has(e)||Array.prototype.forEach.call(e.children,function(e){if(h.has(e))m(e);else try{var t=e.getAttribute(l),i=null!==t&&"false"!==t,a=(r.get(e)||0)+1,s=(c.get(e)||0)+1;r.set(e,a),c.set(e,s),d.push(e),1===a&&i&&o.set(e,!0),1===s&&e.setAttribute(n,"true"),i||e.setAttribute(l,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return m(t),h.clear(),a++,function(){d.forEach(function(e){var t=r.get(e)-1,i=c.get(e)-1;r.set(e,t),c.set(e,i),t||(o.has(e)||e.removeAttribute(l),o.delete(e)),i||e.removeAttribute(n)}),--a||(r=new WeakMap,r=new WeakMap,o=new WeakMap,i={})}},u=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),l(r,o,n,"aria-hidden")):function(){return null}}},338:function(e,t,n){n.d(t,{default:function(){return o.a}});var r=n(5268),o=n.n(r)},2273:function(e,t,n){var r=n(5867);n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},1206:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return r}}),n(4119);let r=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8202:function(e,t,n){function r(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return r}}),n(4119),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5268:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return w}});let r=n(2810),o=n(3229),i=r._(n(8355)),a=n(7259),s=n(5271),l=n(6105),u=n(5850),c=n(1206),d=n(7795),h=n(2401),f=n(3108),p=n(8202),m=n(9890),g=n(317),v=new Set;function y(e,t,n,r,o,i){if("undefined"!=typeof window&&(i||(0,s.isLocalURL)(t))){if(!r.bypassPrefetchedCheck){let o=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(v.has(o))return;v.add(o)}Promise.resolve(i?e.prefetch(t,o):e.prefetch(t,n,r)).catch(e=>{})}}function b(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let w=i.default.forwardRef(function(e,t){let n,r;let{href:l,as:v,children:w,prefetch:x=null,passHref:E,replace:M,shallow:A,scroll:P,locale:S,onClick:V,onMouseEnter:R,onTouchStart:T,legacyBehavior:j=!1,...C}=e;n=w,j&&("string"==typeof n||"number"==typeof n)&&(n=(0,o.jsx)("a",{children:n}));let O=i.default.useContext(d.RouterContext),k=i.default.useContext(h.AppRouterContext),L=null!=O?O:k,D=!O,H=!1!==x,Z=null===x?g.PrefetchKind.AUTO:g.PrefetchKind.FULL,{href:F,as:N}=i.default.useMemo(()=>{if(!O){let e=b(l);return{href:e,as:v?b(v):e}}let[e,t]=(0,a.resolveHref)(O,l,!0);return{href:e,as:v?(0,a.resolveHref)(O,v):t||e}},[O,l,v]),I=i.default.useRef(F),W=i.default.useRef(N);j&&(r=i.default.Children.only(n));let B=j?r&&"object"==typeof r&&r.ref:t,[_,z,U]=(0,f.useIntersection)({rootMargin:"200px"}),$=i.default.useCallback(e=>{(W.current!==N||I.current!==F)&&(U(),W.current=N,I.current=F),_(e),B&&("function"==typeof B?B(e):"object"==typeof B&&(B.current=e))},[N,B,F,U,_]);i.default.useEffect(()=>{L&&z&&H&&y(L,F,N,{locale:S},{kind:Z},D)},[N,F,z,S,H,null==O?void 0:O.locale,L,D,Z]);let K={ref:$,onClick(e){j||"function"!=typeof V||V(e),j&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),L&&!e.defaultPrevented&&function(e,t,n,r,o,a,l,u,c){let{nodeName:d}=e.currentTarget;if("A"===d.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,s.isLocalURL)(n)))return;e.preventDefault();let h=()=>{let e=null==l||l;"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:a,locale:u,scroll:e}):t[o?"replace":"push"](r||n,{scroll:e})};c?i.default.startTransition(h):h()}(e,L,F,N,M,A,P,S,D)},onMouseEnter(e){j||"function"!=typeof R||R(e),j&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),L&&(H||!D)&&y(L,F,N,{locale:S,priority:!0,bypassPrefetchedCheck:!0},{kind:Z},D)},onTouchStart:function(e){j||"function"!=typeof T||T(e),j&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),L&&(H||!D)&&y(L,F,N,{locale:S,priority:!0,bypassPrefetchedCheck:!0},{kind:Z},D)}};if((0,u.isAbsoluteUrl)(N))K.href=N;else if(!j||E||"a"===r.type&&!("href"in r.props)){let e=void 0!==S?S:null==O?void 0:O.locale,t=(null==O?void 0:O.isLocaleDomain)&&(0,p.getDomainLocale)(N,e,null==O?void 0:O.locales,null==O?void 0:O.domainLocales);K.href=t||(0,m.addBasePath)((0,c.addLocale)(N,e,null==O?void 0:O.defaultLocale))}return j?i.default.cloneElement(r,K):(0,o.jsx)("a",{...C,...K,children:n})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2973:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{cancelIdleCallback:function(){return r},requestIdleCallback:function(){return n}});let n="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},r="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7259:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return d}});let r=n(6144),o=n(6105),i=n(4872),a=n(5850),s=n(4119),l=n(5271),u=n(3951),c=n(2340);function d(e,t,n){let d;let h="string"==typeof t?t:(0,o.formatWithValidation)(t),f=h.match(/^[a-zA-Z]{1,}:\/\//),p=f?h.slice(f[0].length):h;if((p.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+h+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,a.normalizeRepeatedSlashes)(p);h=(f?f[0]:"")+t}if(!(0,l.isLocalURL)(h))return n?[h]:h;try{d=new URL(h.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){d=new URL("/","http://n")}try{let e=new URL(h,d);e.pathname=(0,s.normalizePathTrailingSlash)(e.pathname);let t="";if((0,u.isDynamicRoute)(e.pathname)&&e.searchParams&&n){let n=(0,r.searchParamsToUrlQuery)(e.searchParams),{result:a,params:s}=(0,c.interpolateAs)(e.pathname,e.pathname,n);a&&(t=(0,o.formatWithValidation)({pathname:a,hash:e.hash,query:(0,i.omit)(n,s)}))}let a=e.origin===d.origin?e.href.slice(e.origin.length):e.href;return n?[a,t||a]:a}catch(e){return n?[h]:h}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3108:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let r=n(8355),o=n(2973),i="function"==typeof IntersectionObserver,a=new Map,s=[];function l(e){let{rootRef:t,rootMargin:n,disabled:l}=e,u=l||!i,[c,d]=(0,r.useState)(!1),h=(0,r.useRef)(null),f=(0,r.useCallback)(e=>{h.current=e},[]);return(0,r.useEffect)(()=>{if(i){if(u||c)return;let e=h.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:o,elements:i}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=s.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let o=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:o},s.push(n),a.set(n,t),t}(n);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),a.delete(r);let e=s.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!c){let e=(0,o.requestIdleCallback)(()=>d(!0));return()=>(0,o.cancelIdleCallback)(e)}},[u,n,t,c,h.current]),[f,c,(0,r.useCallback)(()=>{d(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3858:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});let n=/[|\\{}()[\]^$+*?.-]/,r=/[|\\{}()[\]^$+*?.-]/g;function o(e){return n.test(e)?e.replace(r,"\\$&"):e}},7795:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return r}});let r=n(2810)._(n(8355)).default.createContext(null)},6105:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{formatUrl:function(){return i},formatWithValidation:function(){return s},urlObjectKeys:function(){return a}});let r=n(3558)._(n(6144)),o=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:n}=e,i=e.protocol||"",a=e.pathname||"",s=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:n&&(u=t+(~n.indexOf(":")?"["+n+"]":n),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(r.urlQueryToSearchParams(l)));let c=e.search||l&&"?"+l||"";return i&&!i.endsWith(":")&&(i+=":"),e.slashes||(!i||o.test(i))&&!1!==u?(u="//"+(u||""),a&&"/"!==a[0]&&(a="/"+a)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),""+i+u+(a=a.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+s}let a=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function s(e){return i(e)}},3951:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getSortedRoutes:function(){return r.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});let r=n(2742),o=n(6277)},2340:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return i}});let r=n(7614),o=n(1661);function i(e,t,n){let i="",a=(0,o.getRouteRegex)(e),s=a.groups,l=(t!==e?(0,r.getRouteMatcher)(a)(t):"")||n;i=e;let u=Object.keys(s);return u.every(e=>{let t=l[e]||"",{repeat:n,optional:r}=s[e],o="["+(n?"...":"")+e+"]";return r&&(o=(t?"":"/")+"["+o+"]"),n&&!Array.isArray(t)&&(t=[t]),(r||e in l)&&(i=i.replace(o,n?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(i=""),{params:u,result:i}}},6277:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return i}});let r=n(5552),o=/\/\[[^/]+?\](?=\/|$)/;function i(e){return(0,r.isInterceptionRouteAppPath)(e)&&(e=(0,r.extractInterceptionRouteInformation)(e).interceptedRoute),o.test(e)}},5271:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return i}});let r=n(5850),o=n(5896);function i(e){if(!(0,r.isAbsoluteUrl)(e))return!0;try{let t=(0,r.getLocationOrigin)(),n=new URL(e,t);return n.origin===t&&(0,o.hasBasePath)(n.pathname)}catch(e){return!1}}},4872:function(e,t){function n(e,t){let n={};return Object.keys(e).forEach(r=>{t.includes(r)||(n[r]=e[r])}),n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return n}})},6144:function(e,t){function n(e){let t={};return e.forEach((e,n)=>{void 0===t[n]?t[n]=e:Array.isArray(t[n])?t[n].push(e):t[n]=[t[n],e]}),t}function r(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[n,o]=e;Array.isArray(o)?o.forEach(e=>t.append(n,r(e))):t.set(n,r(o))}),t}function i(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.forEach(t=>{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,n)=>e.append(n,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{assign:function(){return i},searchParamsToUrlQuery:function(){return n},urlQueryToSearchParams:function(){return o}})},7614:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let r=n(5850);function o(e){let{re:t,groups:n}=e;return e=>{let o=t.exec(e);if(!o)return!1;let i=e=>{try{return decodeURIComponent(e)}catch(e){throw new r.DecodeError("failed to decode param")}},a={};return Object.keys(n).forEach(e=>{let t=n[e],r=o[t.pos];void 0!==r&&(a[e]=~r.indexOf("/")?r.split("/").map(e=>i(e)):t.repeat?[i(r)]:i(r))}),a}}},1661:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getNamedMiddlewareRegex:function(){return h},getNamedRouteRegex:function(){return d},getRouteRegex:function(){return l}});let r=n(5552),o=n(3858),i=n(6543);function a(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let n=e.startsWith("...");return n&&(e=e.slice(3)),{key:e,repeat:n,optional:t}}function s(e){let t=(0,i.removeTrailingSlash)(e).slice(1).split("/"),n={},s=1;return{parameterizedRoute:t.map(e=>{let t=r.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),i=e.match(/\[((?:\[.*\])|.+)\]/);if(t&&i){let{key:e,optional:r,repeat:l}=a(i[1]);return n[e]={pos:s++,repeat:l,optional:r},"/"+(0,o.escapeStringRegexp)(t)+"([^/]+?)"}if(!i)return"/"+(0,o.escapeStringRegexp)(e);{let{key:e,repeat:t,optional:r}=a(i[1]);return n[e]={pos:s++,repeat:t,optional:r},t?r?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:n}}function l(e){let{parameterizedRoute:t,groups:n}=s(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:n}}function u(e){let{interceptionMarker:t,getSafeRouteKey:n,segment:r,routeKeys:i,keyPrefix:s}=e,{key:l,optional:u,repeat:c}=a(r),d=l.replace(/\W/g,"");s&&(d=""+s+d);let h=!1;(0===d.length||d.length>30)&&(h=!0),isNaN(parseInt(d.slice(0,1)))||(h=!0),h&&(d=n()),s?i[d]=""+s+l:i[d]=l;let f=t?(0,o.escapeStringRegexp)(t):"";return c?u?"(?:/"+f+"(?<"+d+">.+?))?":"/"+f+"(?<"+d+">.+?)":"/"+f+"(?<"+d+">[^/]+?)"}function c(e,t){let n;let a=(0,i.removeTrailingSlash)(e).slice(1).split("/"),s=(n=0,()=>{let e="",t=++n;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),l={};return{namedParameterizedRoute:a.map(e=>{let n=r.INTERCEPTION_ROUTE_MARKERS.some(t=>e.startsWith(t)),i=e.match(/\[((?:\[.*\])|.+)\]/);if(n&&i){let[n]=e.split(i[0]);return u({getSafeRouteKey:s,interceptionMarker:n,segment:i[1],routeKeys:l,keyPrefix:t?"nxtI":void 0})}return i?u({getSafeRouteKey:s,segment:i[1],routeKeys:l,keyPrefix:t?"nxtP":void 0}):"/"+(0,o.escapeStringRegexp)(e)}).join(""),routeKeys:l}}function d(e,t){let n=c(e,t);return{...l(e),namedRegex:"^"+n.namedParameterizedRoute+"(?:/)?$",routeKeys:n.routeKeys}}function h(e,t){let{parameterizedRoute:n}=s(e),{catchAll:r=!0}=t;if("/"===n)return{namedRegex:"^/"+(r?".*":"")+"$"};let{namedParameterizedRoute:o}=c(e,!1);return{namedRegex:"^"+o+(r?"(?:(/.*)?)":"")+"$"}}},2742:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return r}});class n{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let n=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&n.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');n.unshift(t)}return null!==this.restSlugName&&n.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&n.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),n}_insert(e,t,r){if(0===e.length){this.placeholder=!1;return}if(r)throw Error("Catch-all must be the last part of the URL.");let o=e[0];if(o.startsWith("[")&&o.endsWith("]")){let n=o.slice(1,-1),a=!1;if(n.startsWith("[")&&n.endsWith("]")&&(n=n.slice(1,-1),a=!0),n.startsWith("...")&&(n=n.substring(3),r=!0),n.startsWith("[")||n.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+n+"').");if(n.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+n+"').");function i(e,n){if(null!==e&&e!==n)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+n+"').");t.forEach(e=>{if(e===n)throw Error('You cannot have the same slug name "'+n+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+n+'" differ only by non-word symbols within a single dynamic path')}),t.push(n)}if(r){if(a){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');i(this.optionalRestSlugName,n),this.optionalRestSlugName=n,o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');i(this.restSlugName,n),this.restSlugName=n,o="[...]"}}else{if(a)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');i(this.slugName,n),this.slugName=n,o="[]"}}this.children.has(o)||this.children.set(o,new n),this.children.get(o)._insert(e.slice(1),t,r)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function r(e){let t=new n;return e.forEach(e=>t.insert(e)),t.smoosh()}},5850:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DecodeError:function(){return p},MiddlewareNotFoundError:function(){return y},MissingStaticPage:function(){return v},NormalizeError:function(){return m},PageNotFoundError:function(){return g},SP:function(){return h},ST:function(){return f},WEB_VITALS:function(){return n},execOnce:function(){return r},getDisplayName:function(){return l},getLocationOrigin:function(){return a},getURL:function(){return s},isAbsoluteUrl:function(){return i},isResSent:function(){return u},loadGetInitialProps:function(){return d},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return b}});let n=["CLS","FCP","FID","INP","LCP","TTFB"];function r(e){let t,n=!1;return function(){for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return n||(n=!0,t=e(...o)),t}}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,i=e=>o.test(e);function a(){let{protocol:e,hostname:t,port:n}=window.location;return e+"//"+t+(n?":"+n:"")}function s(){let{href:e}=window.location,t=a();return e.substring(t.length)}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function u(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function d(e,t){let n=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await d(t.Component,t.ctx)}:{};let r=await e.getInitialProps(t);if(n&&u(n))return r;if(!r)throw Error('"'+l(e)+'.getInitialProps()" should resolve to an object. But found "'+r+'" instead.');return r}let h="undefined"!=typeof performance,f=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class p extends Error{}class m extends Error{}class g extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class v extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class y extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function b(e){return JSON.stringify({message:e.message,stack:e.stack})}},2339:function(e,t,n){n.d(t,{Z:function(){return G}});var r,o,i,a,s,l,u,c=function(){return(c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function d(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}"function"==typeof SuppressedError&&SuppressedError;var h=n(8355),f="right-scroll-bar-position",p="width-before-scroll-bar";function m(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var g="undefined"!=typeof window?h.useLayoutEffect:h.useEffect,v=new WeakMap,y=(void 0===o&&(o={}),(void 0===i&&(i=function(e){return e}),a=[],s=!1,l={read:function(){if(s)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:null},useMedium:function(e){var t=i(e,s);return a.push(t),function(){a=a.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(s=!0;a.length;){var t=a;a=[],t.forEach(e)}a={push:function(t){return e(t)},filter:function(){return a}}},assignMedium:function(e){s=!0;var t=[];if(a.length){var n=a;a=[],n.forEach(e),t=a}var r=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(r)};o(),a={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),a}}}}).options=c({async:!0,ssr:!1},o),l),b=function(){},w=h.forwardRef(function(e,t){var n,r,o,i,a=h.useRef(null),s=h.useState({onScrollCapture:b,onWheelCapture:b,onTouchMoveCapture:b}),l=s[0],u=s[1],f=e.forwardProps,p=e.children,w=e.className,x=e.removeScrollBar,E=e.enabled,M=e.shards,A=e.sideCar,P=e.noIsolation,S=e.inert,V=e.allowPinchZoom,R=e.as,T=e.gapMode,j=d(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=(n=[a,t],r=function(e){return n.forEach(function(t){return m(t,e)})},(o=(0,h.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,i=o.facade,g(function(){var e=v.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||m(e,null)}),r.forEach(function(e){t.has(e)||m(e,o)})}v.set(i,n)},[n]),i),O=c(c({},j),l);return h.createElement(h.Fragment,null,E&&h.createElement(A,{sideCar:y,removeScrollBar:x,shards:M,noIsolation:P,inert:S,setCallbacks:u,allowPinchZoom:!!V,lockRef:a,gapMode:T}),f?h.cloneElement(h.Children.only(p),c(c({},O),{ref:C})):h.createElement(void 0===R?"div":R,c({},O,{className:w,ref:C}),p))});w.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},w.classNames={fullWidth:p,zeroRight:f};var x=function(e){var t=e.sideCar,n=d(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return h.createElement(r,c({},n))};x.isSideCarExport=!0;var E=function(){var e=0,t=null;return{add:function(o){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=r||n.nc;return t&&e.setAttribute("nonce",t),e}())){var i,a;(i=t).styleSheet?i.styleSheet.cssText=o:i.appendChild(document.createTextNode(o)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},M=function(){var e=E();return function(t,n){h.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},A=function(){var e=M();return function(t){return e(t.styles,t.dynamic),null}},P={left:0,top:0,right:0,gap:0},S=function(e){return parseInt(e||"",10)||0},V=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[S(n),S(r),S(o)]},R=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return P;var t=V(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},T=A(),j="data-scroll-locked",C=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(s,"px ").concat(r,";\n  }\n  body[").concat(j,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(i,"px;\n    padding-right: ").concat(a,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(s,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(f," {\n    right: ").concat(s,"px ").concat(r,";\n  }\n  \n  .").concat(p," {\n    margin-right: ").concat(s,"px ").concat(r,";\n  }\n  \n  .").concat(f," .").concat(f," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(p," .").concat(p," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(j,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n  }\n")},O=function(){var e=parseInt(document.body.getAttribute(j)||"0",10);return isFinite(e)?e:0},k=function(){h.useEffect(function(){return document.body.setAttribute(j,(O()+1).toString()),function(){var e=O()-1;e<=0?document.body.removeAttribute(j):document.body.setAttribute(j,e.toString())}},[])},L=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;k();var i=h.useMemo(function(){return R(o)},[o]);return h.createElement(T,{styles:C(i,!t,o,n?"":"!important")})},D=!1;if("undefined"!=typeof window)try{var H=Object.defineProperty({},"passive",{get:function(){return D=!0,!0}});window.addEventListener("test",H,H),window.removeEventListener("test",H,H)}catch(e){D=!1}var Z=!!D&&{passive:!1},F=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},N=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),I(e,r)){var o=W(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},I=function(e,t){return"v"===e?F(t,"overflowY"):F(t,"overflowX")},W=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},B=function(e,t,n,r,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),s=a*r,l=n.target,u=t.contains(l),c=!1,d=s>0,h=0,f=0;do{var p=W(e,l),m=p[0],g=p[1]-p[2]-a*m;(m||g)&&I(e,l)&&(h+=g,f+=m),l instanceof ShadowRoot?l=l.host:l=l.parentNode}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return d&&(o&&1>Math.abs(h)||!o&&s>h)?c=!0:!d&&(o&&1>Math.abs(f)||!o&&-s>f)&&(c=!0),c},_=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},z=function(e){return[e.deltaX,e.deltaY]},U=function(e){return e&&"current"in e?e.current:e},$=0,K=[],Y=(u=function(e){var t=h.useRef([]),n=h.useRef([0,0]),r=h.useRef(),o=h.useState($++)[0],i=h.useState(A)[0],a=h.useRef(e);h.useEffect(function(){a.current=e},[e]),h.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(U),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=h.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=_(e),s=n.current,l="deltaX"in e?e.deltaX:s[0]-i[0],u="deltaY"in e?e.deltaY:s[1]-i[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var h=N(d,c);if(!h)return!0;if(h?o=d:(o="v"===d?"h":"v",h=N(d,c)),!h)return!1;if(!r.current&&"changedTouches"in e&&(l||u)&&(r.current=o),!o)return!0;var f=r.current||o;return B(f,t,e,"h"===f?l:u,!0)},[]),l=h.useCallback(function(e){if(K.length&&K[K.length-1]===i){var n="deltaY"in e?z(e):_(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(a.current.shards||[]).map(U).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?s(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=h.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),c=h.useCallback(function(e){n.current=_(e),r.current=void 0},[]),d=h.useCallback(function(t){u(t.type,z(t),t.target,s(t,e.lockRef.current))},[]),f=h.useCallback(function(t){u(t.type,_(t),t.target,s(t,e.lockRef.current))},[]);h.useEffect(function(){return K.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",l,Z),document.addEventListener("touchmove",l,Z),document.addEventListener("touchstart",c,Z),function(){K=K.filter(function(e){return e!==i}),document.removeEventListener("wheel",l,Z),document.removeEventListener("touchmove",l,Z),document.removeEventListener("touchstart",c,Z)}},[]);var p=e.removeScrollBar,m=e.inert;return h.createElement(h.Fragment,null,m?h.createElement(i,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,p?h.createElement(L,{gapMode:e.gapMode}):null)},y.useMedium(u),x),X=h.forwardRef(function(e,t){return h.createElement(w,c({},e,{ref:t,sideCar:Y}))});X.classNames=w.classNames;var G=X},6869:function(e,t,n){n.d(t,{d:function(){return m}});var r=n(8355),o=n(7080);let i=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M218.29,182.17a12,12,0,0,1-16.47,4.12L140,149.19V216a12,12,0,0,1-24,0V149.19l-61.82,37.1a12,12,0,1,1-12.35-20.58L104.68,128,41.83,90.29A12,12,0,1,1,54.18,69.71L116,106.81V40a12,12,0,0,1,24,0v66.81l61.82-37.1a12,12,0,1,1,12.35,20.58L151.32,128l62.85,37.71A12,12,0,0,1,218.29,182.17Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M200,128a72,72,0,1,1-72-72A72,72,0,0,1,200,128Z",opacity:"0.2"}),r.createElement("path",{d:"M214.86,180.12a8,8,0,0,1-11,2.74L136,142.13V216a8,8,0,0,1-16,0V142.13L52.12,182.86a8,8,0,1,1-8.23-13.72L112.45,128,43.89,86.86a8,8,0,1,1,8.23-13.72L120,113.87V40a8,8,0,0,1,16,0v73.87l67.88-40.73a8,8,0,1,1,8.23,13.72L143.55,128l68.56,41.14A8,8,0,0,1,214.86,180.12Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm59.43,129.07a8,8,0,0,1-4,14.93,7.92,7.92,0,0,1-4-1.07L136,141.86V192a8,8,0,0,1-16,0V141.86L76.57,166.93A8,8,0,0,1,65.65,164a8,8,0,0,1,2.92-10.93L112,128,68.57,102.93a8,8,0,0,1,8-13.86L120,114.14V64a8,8,0,0,1,16,0v50.14l43.43-25.07a8,8,0,0,1,8,13.86L144,128Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M213.14,179.09a6,6,0,0,1-8.23,2.06L134,138.6V216a6,6,0,0,1-12,0V138.6L51.09,181.15A6.07,6.07,0,0,1,48,182a6,6,0,0,1-3.1-11.15L116.34,128,44.91,85.15a6,6,0,0,1,6.18-10.3L122,117.4V40a6,6,0,0,1,12,0v77.4l70.91-42.55a6,6,0,0,1,6.18,10.3L139.66,128l71.43,42.85A6,6,0,0,1,213.14,179.09Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M214.86,180.12a8,8,0,0,1-11,2.74L136,142.13V216a8,8,0,0,1-16,0V142.13L52.12,182.86a8,8,0,1,1-8.23-13.72L112.45,128,43.89,86.86a8,8,0,1,1,8.23-13.72L120,113.87V40a8,8,0,0,1,16,0v73.87l67.88-40.73a8,8,0,1,1,8.23,13.72L143.55,128l68.56,41.14A8,8,0,0,1,214.86,180.12Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M211.43,178.06a4,4,0,0,1-5.49,1.37L132,135.06V216a4,4,0,0,1-8,0V135.06L50.06,179.43a4,4,0,0,1-4.12-6.86L120.22,128,45.94,83.43a4,4,0,0,1,4.12-6.86L124,120.94V40a4,4,0,0,1,8,0v80.94l73.94-44.37a4,4,0,1,1,4.12,6.86L135.78,128l74.28,44.57A4,4,0,0,1,211.43,178.06Z"}))]]);var a=Object.defineProperty,s=Object.defineProperties,l=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,h=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&h(e,n,t[n]);if(u)for(var n of u(t))d.call(t,n)&&h(e,n,t[n]);return e},p=(e,t)=>s(e,l(t));let m=(0,r.forwardRef)((e,t)=>r.createElement(o.Z,p(f({ref:t},e),{weights:i})));m.displayName="Asterisk"},8213:function(e,t,n){n.d(t,{p:function(){return m}});var r=n(8355),o=n(7080);let i=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"}),r.createElement("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"}))]]);var a=Object.defineProperty,s=Object.defineProperties,l=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,h=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&h(e,n,t[n]);if(u)for(var n of u(t))d.call(t,n)&&h(e,n,t[n]);return e},p=(e,t)=>s(e,l(t));let m=(0,r.forwardRef)((e,t)=>r.createElement(o.Z,p(f({ref:t},e),{weights:i})));m.displayName="CaretDown"},9279:function(e,t,n){n.d(t,{M:function(){return m}});var r=n(8355),o=n(7080);let i=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M228,144v64a12,12,0,0,1-12,12H40a12,12,0,0,1-12-12V144a12,12,0,0,1,24,0v52H204V144a12,12,0,0,1,24,0Zm-108.49,8.49a12,12,0,0,0,17,0l40-40a12,12,0,0,0-17-17L140,115V32a12,12,0,0,0-24,0v83L96.49,95.51a12,12,0,0,0-17,17Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,48V208H40V48A16,16,0,0,1,56,32H200A16,16,0,0,1,216,48Z",opacity:"0.2"}),r.createElement("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40A8,8,0,0,0,168,96H136V32a8,8,0,0,0-16,0V96H88a8,8,0,0,0-5.66,13.66Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M222,144v64a6,6,0,0,1-6,6H40a6,6,0,0,1-6-6V144a6,6,0,0,1,12,0v58H210V144a6,6,0,0,1,12,0Zm-98.24,4.24a6,6,0,0,0,8.48,0l40-40a6,6,0,0,0-8.48-8.48L134,129.51V32a6,6,0,0,0-12,0v97.51L92.24,99.76a6,6,0,0,0-8.48,8.48Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M220,144v64a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V144a4,4,0,0,1,8,0v60H212V144a4,4,0,0,1,8,0Zm-94.83,2.83a4,4,0,0,0,5.66,0l40-40a4,4,0,1,0-5.66-5.66L132,134.34V32a4,4,0,0,0-8,0V134.34L90.83,101.17a4,4,0,0,0-5.66,5.66Z"}))]]);var a=Object.defineProperty,s=Object.defineProperties,l=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,h=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&h(e,n,t[n]);if(u)for(var n of u(t))d.call(t,n)&&h(e,n,t[n]);return e},p=(e,t)=>s(e,l(t));let m=(0,r.forwardRef)((e,t)=>r.createElement(o.Z,p(f({ref:t},e),{weights:i})));m.displayName="DownloadSimple"},8394:function(e,t,n){n.d(t,{$:function(){return m}});var r=n(8355),o=n(7080);let i=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),r.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Z"}))]]);var a=Object.defineProperty,s=Object.defineProperties,l=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,h=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&h(e,n,t[n]);if(u)for(var n of u(t))d.call(t,n)&&h(e,n,t[n]);return e},p=(e,t)=>s(e,l(t));let m=(0,r.forwardRef)((e,t)=>r.createElement(o.Z,p(f({ref:t},e),{weights:i})));m.displayName="File"},6928:function(e,t,n){n.d(t,{g:function(){return m}});var r=n(8355),o=n(7080);let i=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,68H133.39l-26-29.29a20,20,0,0,0-15-6.71H40A20,20,0,0,0,20,52V200.62A19.41,19.41,0,0,0,39.38,220H216.89A19.13,19.13,0,0,0,236,200.89V88A20,20,0,0,0,216,68ZM44,56H90.61l10.67,12H44ZM212,196H44V92H212Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,80H32V56a8,8,0,0,1,8-8H92.69a8,8,0,0,1,5.65,2.34Z",opacity:"0.2"}),r.createElement("path",{d:"M216,72H131.31L104,44.69A15.86,15.86,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.4,15.4,0,0,0,39.38,216H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM92.69,56l16,16H40V56ZM216,200H40V88H216Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,72H131.31L104,44.69A15.88,15.88,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.41,15.41,0,0,0,39.39,216h177.5A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM40,56H92.69l16,16H40Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,74H130.49l-27.9-27.9a13.94,13.94,0,0,0-9.9-4.1H40A14,14,0,0,0,26,56V200.62A13.39,13.39,0,0,0,39.38,214H216.89A13.12,13.12,0,0,0,230,200.89V88A14,14,0,0,0,216,74ZM40,54H92.69a2,2,0,0,1,1.41.59L113.51,74H38V56A2,2,0,0,1,40,54ZM218,200.89a1.11,1.11,0,0,1-1.11,1.11H39.38A1.4,1.4,0,0,1,38,200.62V86H216a2,2,0,0,1,2,2Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,72H131.31L104,44.69A15.86,15.86,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.4,15.4,0,0,0,39.38,216H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM40,56H92.69l16,16H40ZM216,200H40V88H216Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,76H129.66L101.17,47.52A11.9,11.9,0,0,0,92.69,44H40A12,12,0,0,0,28,56V200.62A11.4,11.4,0,0,0,39.38,212H216.89A11.12,11.12,0,0,0,228,200.89V88A12,12,0,0,0,216,76ZM36,56a4,4,0,0,1,4-4H92.69a4,4,0,0,1,2.82,1.17L118.34,76H36ZM220,200.89a3.12,3.12,0,0,1-3.11,3.11H39.38A3.39,3.39,0,0,1,36,200.62V84H216a4,4,0,0,1,4,4Z"}))]]);var a=Object.defineProperty,s=Object.defineProperties,l=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,h=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&h(e,n,t[n]);if(u)for(var n of u(t))d.call(t,n)&&h(e,n,t[n]);return e},p=(e,t)=>s(e,l(t));let m=(0,r.forwardRef)((e,t)=>r.createElement(o.Z,p(f({ref:t},e),{weights:i})));m.displayName="Folder"},989:function(e,t,n){n.d(t,{P:function(){return m}});var r=n(8355),o=n(7080);let i=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M248.23,112.31A20,20,0,0,0,232,104H220V88a20,20,0,0,0-20-20H132L105.34,48a20.12,20.12,0,0,0-12-4H40A20,20,0,0,0,20,64V208a12,12,0,0,0,12,12H211.1a12,12,0,0,0,11.33-8l28.49-81.47.06-.17A20,20,0,0,0,248.23,112.31ZM92,68l28.8,21.6A12,12,0,0,0,128,92h68v12H69.77a20,20,0,0,0-18.94,13.58L44,137.15V68ZM202.59,196H48.89l23.72-68H226.37Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,88v24H69.77a8,8,0,0,0-7.59,5.47L32,208V64a8,8,0,0,1,8-8H93.33a8,8,0,0,1,4.8,1.6L128,80h72A8,8,0,0,1,208,88Z",opacity:"0.2"}),r.createElement("path",{d:"M245,110.64A16,16,0,0,0,232,104H216V88a16,16,0,0,0-16-16H130.67L102.94,51.2a16.14,16.14,0,0,0-9.6-3.2H40A16,16,0,0,0,24,64V208a8,8,0,0,0,8,8H211.1a8,8,0,0,0,7.59-5.47l28.49-85.47A16.05,16.05,0,0,0,245,110.64ZM93.34,64,123.2,86.4A8,8,0,0,0,128,88h72v16H69.77a16,16,0,0,0-15.18,10.94L40,158.7V64Zm112,136H43.1l26.67-80H232Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M245,110.64A16,16,0,0,0,232,104H216V88a16,16,0,0,0-16-16H130.67L102.94,51.2a16.14,16.14,0,0,0-9.6-3.2H40A16,16,0,0,0,24,64V208h0a8,8,0,0,0,8,8H211.1a8,8,0,0,0,7.59-5.47l28.49-85.47A16.05,16.05,0,0,0,245,110.64ZM93.34,64,123.2,86.4A8,8,0,0,0,128,88h72v16H69.77a16,16,0,0,0-15.18,10.94L40,158.7V64Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M243.36,111.81A14,14,0,0,0,232,106H214V88a14,14,0,0,0-14-14H130L101.74,52.8a14.06,14.06,0,0,0-8.4-2.8H40A14,14,0,0,0,26,64V208a6,6,0,0,0,6,6H211.1a6,6,0,0,0,5.69-4.1l28.49-85.47A14,14,0,0,0,243.36,111.81ZM40,62H93.34a2,2,0,0,1,1.2.4L124.4,84.8A6,6,0,0,0,128,86h72a2,2,0,0,1,2,2v18H69.77a14,14,0,0,0-13.28,9.57L38,171V64A2,2,0,0,1,40,62Zm193.9,58.63L206.78,202H40.33l27.54-82.63a2,2,0,0,1,1.9-1.37H232a2,2,0,0,1,1.9,2.63Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M245,110.64A16,16,0,0,0,232,104H216V88a16,16,0,0,0-16-16H130.67L102.94,51.2a16.14,16.14,0,0,0-9.6-3.2H40A16,16,0,0,0,24,64V208h0a8,8,0,0,0,8,8H211.1a8,8,0,0,0,7.59-5.47l28.49-85.47A16.05,16.05,0,0,0,245,110.64ZM93.34,64,123.2,86.4A8,8,0,0,0,128,88h72v16H69.77a16,16,0,0,0-15.18,10.94L40,158.7V64Zm112,136H43.1l26.67-80H232Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M241.72,113a11.88,11.88,0,0,0-9.73-5H212V88a12,12,0,0,0-12-12H129.33l-28.8-21.6a12.05,12.05,0,0,0-7.2-2.4H40A12,12,0,0,0,28,64V208a4,4,0,0,0,4,4H211.09a4,4,0,0,0,3.79-2.74l28.49-85.47A11.86,11.86,0,0,0,241.72,113ZM40,60H93.33a4,4,0,0,1,2.4.8L125.6,83.2a4,4,0,0,0,2.4.8h72a4,4,0,0,1,4,4v20H69.76a12,12,0,0,0-11.38,8.21L36,183.35V64A4,4,0,0,1,40,60Zm195.78,61.26L208.2,204H37.55L66,118.74A4,4,0,0,1,69.76,116H232a4,4,0,0,1,3.79,5.26Z"}))]]);var a=Object.defineProperty,s=Object.defineProperties,l=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,h=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&h(e,n,t[n]);if(u)for(var n of u(t))d.call(t,n)&&h(e,n,t[n]);return e},p=(e,t)=>s(e,l(t));let m=(0,r.forwardRef)((e,t)=>r.createElement(o.Z,p(f({ref:t},e),{weights:i})));m.displayName="FolderOpen"},3162:function(e,t,n){n.d(t,{a:function(){return m}});var r=n(8355),o=n(7080);let i=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128ZM40,76H216a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24ZM216,180H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,64V192H40V64Z",opacity:"0.2"}),r.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM192,184H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128ZM40,70H216a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12ZM216,186H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128ZM40,68H216a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8ZM216,188H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Z"}))]]);var a=Object.defineProperty,s=Object.defineProperties,l=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,h=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&h(e,n,t[n]);if(u)for(var n of u(t))d.call(t,n)&&h(e,n,t[n]);return e},p=(e,t)=>s(e,l(t));let m=(0,r.forwardRef)((e,t)=>r.createElement(o.Z,p(f({ref:t},e),{weights:i})));m.displayName="List"},6703:function(e,t,n){n.d(t,{J:function(){return m}});var r=n(8355),o=n(7080);let i=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M236.37,139.4a12,12,0,0,0-12-3A84.07,84.07,0,0,1,119.6,31.59a12,12,0,0,0-15-15A108.86,108.86,0,0,0,49.69,55.07,108,108,0,0,0,136,228a107.09,107.09,0,0,0,64.93-21.69,108.86,108.86,0,0,0,38.44-54.94A12,12,0,0,0,236.37,139.4Zm-49.88,47.74A84,84,0,0,1,68.86,69.51,84.93,84.93,0,0,1,92.27,48.29Q92,52.13,92,56A108.12,108.12,0,0,0,200,164q3.87,0,7.71-.27A84.79,84.79,0,0,1,186.49,187.14Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M227.89,147.89A96,96,0,1,1,108.11,28.11,96.09,96.09,0,0,0,227.89,147.89Z",opacity:"0.2"}),r.createElement("path",{d:"M233.54,142.23a8,8,0,0,0-8-2,88.08,88.08,0,0,1-109.8-109.8,8,8,0,0,0-10-10,104.84,104.84,0,0,0-52.91,37A104,104,0,0,0,136,224a103.09,103.09,0,0,0,62.52-20.88,104.84,104.84,0,0,0,37-52.91A8,8,0,0,0,233.54,142.23ZM188.9,190.34A88,88,0,0,1,65.66,67.11a89,89,0,0,1,31.4-26A106,106,0,0,0,96,56,104.11,104.11,0,0,0,200,160a106,106,0,0,0,14.92-1.06A89,89,0,0,1,188.9,190.34Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M235.54,150.21a104.84,104.84,0,0,1-37,52.91A104,104,0,0,1,32,120,103.09,103.09,0,0,1,52.88,57.48a104.84,104.84,0,0,1,52.91-37,8,8,0,0,1,10,10,88.08,88.08,0,0,0,109.8,109.8,8,8,0,0,1,10,10Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M232.13,143.64a6,6,0,0,0-6-1.49A90.07,90.07,0,0,1,113.86,29.85a6,6,0,0,0-7.49-7.48A102.88,102.88,0,0,0,54.48,58.68,102,102,0,0,0,197.32,201.52a102.88,102.88,0,0,0,36.31-51.89A6,6,0,0,0,232.13,143.64Zm-42,48.29a90,90,0,0,1-126-126A90.9,90.9,0,0,1,99.65,37.66,102.06,102.06,0,0,0,218.34,156.35,90.9,90.9,0,0,1,190.1,191.93Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M233.54,142.23a8,8,0,0,0-8-2,88.08,88.08,0,0,1-109.8-109.8,8,8,0,0,0-10-10,104.84,104.84,0,0,0-52.91,37A104,104,0,0,0,136,224a103.09,103.09,0,0,0,62.52-20.88,104.84,104.84,0,0,0,37-52.91A8,8,0,0,0,233.54,142.23ZM188.9,190.34A88,88,0,0,1,65.66,67.11a89,89,0,0,1,31.4-26A106,106,0,0,0,96,56,104.11,104.11,0,0,0,200,160a106,106,0,0,0,14.92-1.06A89,89,0,0,1,188.9,190.34Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M230.72,145.06a4,4,0,0,0-4-1A92.08,92.08,0,0,1,111.94,29.27a4,4,0,0,0-5-5A100.78,100.78,0,0,0,56.08,59.88a100,100,0,0,0,140,140,100.78,100.78,0,0,0,35.59-50.87A4,4,0,0,0,230.72,145.06ZM191.3,193.53A92,92,0,0,1,62.47,64.7a93,93,0,0,1,39.88-30.35,100.09,100.09,0,0,0,119.3,119.3A93,93,0,0,1,191.3,193.53Z"}))]]);var a=Object.defineProperty,s=Object.defineProperties,l=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,h=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&h(e,n,t[n]);if(u)for(var n of u(t))d.call(t,n)&&h(e,n,t[n]);return e},p=(e,t)=>s(e,l(t));let m=(0,r.forwardRef)((e,t)=>r.createElement(o.Z,p(f({ref:t},e),{weights:i})));m.displayName="Moon"},2534:function(e,t,n){n.d(t,{v:function(){return m}});var r=n(8355),o=n(7080);let i=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),r.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H136v48a8,8,0,0,1-16,0V136H72a8,8,0,0,1,0-16h48V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H134v82a6,6,0,0,1-12,0V134H40a6,6,0,0,1,0-12h82V40a6,6,0,0,1,12,0v82h82A6,6,0,0,1,222,128Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H132v84a4,4,0,0,1-8,0V132H40a4,4,0,0,1,0-8h84V40a4,4,0,0,1,8,0v84h84A4,4,0,0,1,220,128Z"}))]]);var a=Object.defineProperty,s=Object.defineProperties,l=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,h=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&h(e,n,t[n]);if(u)for(var n of u(t))d.call(t,n)&&h(e,n,t[n]);return e},p=(e,t)=>s(e,l(t));let m=(0,r.forwardRef)((e,t)=>r.createElement(o.Z,p(f({ref:t},e),{weights:i})));m.displayName="Plus"},1213:function(e,t,n){n.d(t,{Y:function(){return m}});var r=n(8355),o=n(7080);let i=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,36H40A20,20,0,0,0,20,56V200a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A20,20,0,0,0,216,36ZM44,104H72v20H44ZM72,60V80H44V60ZM44,148H72v48H44Zm168,48H96V60H212Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M88,48V208H40a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8Z",opacity:"0.2"}),r.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM40,152H56a8,8,0,0,0,0-16H40V120H56a8,8,0,0,0,0-16H40V88H56a8,8,0,0,0,0-16H40V56H80V200H40Zm176,48H96V56H216V200Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM64,152H48a8,8,0,0,1,0-16H64a8,8,0,0,1,0,16Zm0-32H48a8,8,0,0,1,0-16H64a8,8,0,0,1,0,16Zm0-32H48a8,8,0,0,1,0-16H64a8,8,0,0,1,0,16ZM216,200H88V56H216V200Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,42H40A14,14,0,0,0,26,56V200a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42ZM38,200V150H56a6,6,0,0,0,0-12H38V118H56a6,6,0,0,0,0-12H38V86H56a6,6,0,0,0,0-12H38V56a2,2,0,0,1,2-2H82V202H40A2,2,0,0,1,38,200Zm180,0a2,2,0,0,1-2,2H94V54H216a2,2,0,0,1,2,2Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM40,152H56a8,8,0,0,0,0-16H40V120H56a8,8,0,0,0,0-16H40V88H56a8,8,0,0,0,0-16H40V56H80V200H40Zm176,48H96V56H216V200Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,44H40A12,12,0,0,0,28,56V200a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44ZM36,200V148H56a4,4,0,0,0,0-8H36V116H56a4,4,0,0,0,0-8H36V84H56a4,4,0,0,0,0-8H36V56a4,4,0,0,1,4-4H84V204H40A4,4,0,0,1,36,200Zm184,0a4,4,0,0,1-4,4H92V52H216a4,4,0,0,1,4,4Z"}))]]);var a=Object.defineProperty,s=Object.defineProperties,l=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,h=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&h(e,n,t[n]);if(u)for(var n of u(t))d.call(t,n)&&h(e,n,t[n]);return e},p=(e,t)=>s(e,l(t));let m=(0,r.forwardRef)((e,t)=>r.createElement(o.Z,p(f({ref:t},e),{weights:i})));m.displayName="Sidebar"},5073:function(e,t,n){n.d(t,{$:function(){return m}});var r=n(8355),o=n(7080);let i=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M140,32V64a12,12,0,0,1-24,0V32a12,12,0,0,1,24,0Zm33.25,62.75a12,12,0,0,0,8.49-3.52L204.37,68.6a12,12,0,0,0-17-17L164.77,74.26a12,12,0,0,0,8.48,20.49ZM224,116H192a12,12,0,0,0,0,24h32a12,12,0,0,0,0-24Zm-42.26,48.77a12,12,0,1,0-17,17l22.63,22.63a12,12,0,0,0,17-17ZM128,180a12,12,0,0,0-12,12v32a12,12,0,0,0,24,0V192A12,12,0,0,0,128,180ZM74.26,164.77,51.63,187.4a12,12,0,0,0,17,17l22.63-22.63a12,12,0,1,0-17-17ZM76,128a12,12,0,0,0-12-12H32a12,12,0,0,0,0,24H64A12,12,0,0,0,76,128ZM68.6,51.63a12,12,0,1,0-17,17L74.26,91.23a12,12,0,0,0,17-17Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),r.createElement("path",{d:"M136,32V64a8,8,0,0,1-16,0V32a8,8,0,0,1,16,0Zm37.25,58.75a8,8,0,0,0,5.66-2.35l22.63-22.62a8,8,0,0,0-11.32-11.32L167.6,77.09a8,8,0,0,0,5.65,13.66ZM224,120H192a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16Zm-45.09,47.6a8,8,0,0,0-11.31,11.31l22.62,22.63a8,8,0,0,0,11.32-11.32ZM128,184a8,8,0,0,0-8,8v32a8,8,0,0,0,16,0V192A8,8,0,0,0,128,184ZM77.09,167.6,54.46,190.22a8,8,0,0,0,11.32,11.32L88.4,178.91A8,8,0,0,0,77.09,167.6ZM72,128a8,8,0,0,0-8-8H32a8,8,0,0,0,0,16H64A8,8,0,0,0,72,128ZM65.78,54.46A8,8,0,0,0,54.46,65.78L77.09,88.4A8,8,0,0,0,88.4,77.09Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm33.94,58.75,17-17a8,8,0,0,1,11.32,11.32l-17,17a8,8,0,0,1-11.31-11.31ZM48,136a8,8,0,0,1,0-16H72a8,8,0,0,1,0,16Zm46.06,37.25-17,17a8,8,0,0,1-11.32-11.32l17-17a8,8,0,0,1,11.31,11.31Zm0-79.19a8,8,0,0,1-11.31,0l-17-17A8,8,0,0,1,77.09,65.77l17,17A8,8,0,0,1,94.06,94.06ZM136,208a8,8,0,0,1-16,0V184a8,8,0,0,1,16,0Zm0-136a8,8,0,0,1-16,0V48a8,8,0,0,1,16,0Zm54.23,118.23a8,8,0,0,1-11.32,0l-17-17a8,8,0,0,1,11.31-11.31l17,17A8,8,0,0,1,190.23,190.23ZM208,136H184a8,8,0,0,1,0-16h24a8,8,0,0,1,0,16Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M134,32V64a6,6,0,0,1-12,0V32a6,6,0,0,1,12,0Zm39.25,56.75A6,6,0,0,0,177.5,87l22.62-22.63a6,6,0,0,0-8.48-8.48L169,78.5a6,6,0,0,0,4.24,10.25ZM224,122H192a6,6,0,0,0,0,12h32a6,6,0,0,0,0-12Zm-46.5,47A6,6,0,0,0,169,177.5l22.63,22.62a6,6,0,0,0,8.48-8.48ZM128,186a6,6,0,0,0-6,6v32a6,6,0,0,0,12,0V192A6,6,0,0,0,128,186ZM78.5,169,55.88,191.64a6,6,0,1,0,8.48,8.48L87,177.5A6,6,0,1,0,78.5,169ZM70,128a6,6,0,0,0-6-6H32a6,6,0,0,0,0,12H64A6,6,0,0,0,70,128ZM64.36,55.88a6,6,0,0,0-8.48,8.48L78.5,87A6,6,0,1,0,87,78.5Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M136,32V64a8,8,0,0,1-16,0V32a8,8,0,0,1,16,0Zm37.25,58.75a8,8,0,0,0,5.66-2.35l22.63-22.62a8,8,0,0,0-11.32-11.32L167.6,77.09a8,8,0,0,0,5.65,13.66ZM224,120H192a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16Zm-45.09,47.6a8,8,0,0,0-11.31,11.31l22.62,22.63a8,8,0,0,0,11.32-11.32ZM128,184a8,8,0,0,0-8,8v32a8,8,0,0,0,16,0V192A8,8,0,0,0,128,184ZM77.09,167.6,54.46,190.22a8,8,0,0,0,11.32,11.32L88.4,178.91A8,8,0,0,0,77.09,167.6ZM72,128a8,8,0,0,0-8-8H32a8,8,0,0,0,0,16H64A8,8,0,0,0,72,128ZM65.78,54.46A8,8,0,0,0,54.46,65.78L77.09,88.4A8,8,0,0,0,88.4,77.09Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M132,32V64a4,4,0,0,1-8,0V32a4,4,0,0,1,8,0Zm41.25,54.75a4,4,0,0,0,2.83-1.18L198.71,63a4,4,0,0,0-5.66-5.66L170.43,79.92a4,4,0,0,0,2.82,6.83ZM224,124H192a4,4,0,0,0,0,8h32a4,4,0,0,0,0-8Zm-47.92,46.43a4,4,0,1,0-5.65,5.65l22.62,22.63a4,4,0,0,0,5.66-5.66ZM128,188a4,4,0,0,0-4,4v32a4,4,0,0,0,8,0V192A4,4,0,0,0,128,188ZM79.92,170.43,57.29,193.05A4,4,0,0,0,63,198.71l22.62-22.63a4,4,0,1,0-5.65-5.65ZM68,128a4,4,0,0,0-4-4H32a4,4,0,0,0,0,8H64A4,4,0,0,0,68,128ZM63,57.29A4,4,0,0,0,57.29,63L79.92,85.57a4,4,0,1,0,5.65-5.65Z"}))]]);var a=Object.defineProperty,s=Object.defineProperties,l=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,h=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&h(e,n,t[n]);if(u)for(var n of u(t))d.call(t,n)&&h(e,n,t[n]);return e},p=(e,t)=>s(e,l(t));let m=(0,r.forwardRef)((e,t)=>r.createElement(o.Z,p(f({ref:t},e),{weights:i})));m.displayName="Spinner"},3804:function(e,t,n){n.d(t,{k:function(){return m}});var r=n(8355),o=n(7080);let i=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M116,36V20a12,12,0,0,1,24,0V36a12,12,0,0,1-24,0Zm80,92a68,68,0,1,1-68-68A68.07,68.07,0,0,1,196,128Zm-24,0a44,44,0,1,0-44,44A44.05,44.05,0,0,0,172,128ZM51.51,68.49a12,12,0,1,0,17-17l-12-12a12,12,0,0,0-17,17Zm0,119-12,12a12,12,0,0,0,17,17l12-12a12,12,0,1,0-17-17ZM196,72a12,12,0,0,0,8.49-3.51l12-12a12,12,0,0,0-17-17l-12,12A12,12,0,0,0,196,72Zm8.49,115.51a12,12,0,0,0-17,17l12,12a12,12,0,0,0,17-17ZM48,128a12,12,0,0,0-12-12H20a12,12,0,0,0,0,24H36A12,12,0,0,0,48,128Zm80,80a12,12,0,0,0-12,12v16a12,12,0,0,0,24,0V220A12,12,0,0,0,128,208Zm108-92H220a12,12,0,0,0,0,24h16a12,12,0,0,0,0-24Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M184,128a56,56,0,1,1-56-56A56,56,0,0,1,184,128Z",opacity:"0.2"}),r.createElement("path",{d:"M120,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm72,88a64,64,0,1,1-64-64A64.07,64.07,0,0,1,192,128Zm-16,0a48,48,0,1,0-48,48A48.05,48.05,0,0,0,176,128ZM58.34,69.66A8,8,0,0,0,69.66,58.34l-16-16A8,8,0,0,0,42.34,53.66Zm0,116.68-16,16a8,8,0,0,0,11.32,11.32l16-16a8,8,0,0,0-11.32-11.32ZM192,72a8,8,0,0,0,5.66-2.34l16-16a8,8,0,0,0-11.32-11.32l-16,16A8,8,0,0,0,192,72Zm5.66,114.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32-11.32ZM48,128a8,8,0,0,0-8-8H16a8,8,0,0,0,0,16H40A8,8,0,0,0,48,128Zm80,80a8,8,0,0,0-8,8v24a8,8,0,0,0,16,0V216A8,8,0,0,0,128,208Zm112-88H216a8,8,0,0,0,0,16h24a8,8,0,0,0,0-16Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M120,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm8,24a64,64,0,1,0,64,64A64.07,64.07,0,0,0,128,64ZM58.34,69.66A8,8,0,0,0,69.66,58.34l-16-16A8,8,0,0,0,42.34,53.66Zm0,116.68-16,16a8,8,0,0,0,11.32,11.32l16-16a8,8,0,0,0-11.32-11.32ZM192,72a8,8,0,0,0,5.66-2.34l16-16a8,8,0,0,0-11.32-11.32l-16,16A8,8,0,0,0,192,72Zm5.66,114.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32-11.32ZM48,128a8,8,0,0,0-8-8H16a8,8,0,0,0,0,16H40A8,8,0,0,0,48,128Zm80,80a8,8,0,0,0-8,8v24a8,8,0,0,0,16,0V216A8,8,0,0,0,128,208Zm112-88H216a8,8,0,0,0,0,16h24a8,8,0,0,0,0-16Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M122,40V16a6,6,0,0,1,12,0V40a6,6,0,0,1-12,0Zm68,88a62,62,0,1,1-62-62A62.07,62.07,0,0,1,190,128Zm-12,0a50,50,0,1,0-50,50A50.06,50.06,0,0,0,178,128ZM59.76,68.24a6,6,0,1,0,8.48-8.48l-16-16a6,6,0,0,0-8.48,8.48Zm0,119.52-16,16a6,6,0,1,0,8.48,8.48l16-16a6,6,0,1,0-8.48-8.48ZM192,70a6,6,0,0,0,4.24-1.76l16-16a6,6,0,0,0-8.48-8.48l-16,16A6,6,0,0,0,192,70Zm4.24,117.76a6,6,0,0,0-8.48,8.48l16,16a6,6,0,0,0,8.48-8.48ZM46,128a6,6,0,0,0-6-6H16a6,6,0,0,0,0,12H40A6,6,0,0,0,46,128Zm82,82a6,6,0,0,0-6,6v24a6,6,0,0,0,12,0V216A6,6,0,0,0,128,210Zm112-88H216a6,6,0,0,0,0,12h24a6,6,0,0,0,0-12Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M120,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm72,88a64,64,0,1,1-64-64A64.07,64.07,0,0,1,192,128Zm-16,0a48,48,0,1,0-48,48A48.05,48.05,0,0,0,176,128ZM58.34,69.66A8,8,0,0,0,69.66,58.34l-16-16A8,8,0,0,0,42.34,53.66Zm0,116.68-16,16a8,8,0,0,0,11.32,11.32l16-16a8,8,0,0,0-11.32-11.32ZM192,72a8,8,0,0,0,5.66-2.34l16-16a8,8,0,0,0-11.32-11.32l-16,16A8,8,0,0,0,192,72Zm5.66,114.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32-11.32ZM48,128a8,8,0,0,0-8-8H16a8,8,0,0,0,0,16H40A8,8,0,0,0,48,128Zm80,80a8,8,0,0,0-8,8v24a8,8,0,0,0,16,0V216A8,8,0,0,0,128,208Zm112-88H216a8,8,0,0,0,0,16h24a8,8,0,0,0,0-16Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M124,40V16a4,4,0,0,1,8,0V40a4,4,0,0,1-8,0Zm64,88a60,60,0,1,1-60-60A60.07,60.07,0,0,1,188,128Zm-8,0a52,52,0,1,0-52,52A52.06,52.06,0,0,0,180,128ZM61.17,66.83a4,4,0,0,0,5.66-5.66l-16-16a4,4,0,0,0-5.66,5.66Zm0,122.34-16,16a4,4,0,0,0,5.66,5.66l16-16a4,4,0,0,0-5.66-5.66ZM192,68a4,4,0,0,0,2.83-1.17l16-16a4,4,0,1,0-5.66-5.66l-16,16A4,4,0,0,0,192,68Zm2.83,121.17a4,4,0,0,0-5.66,5.66l16,16a4,4,0,0,0,5.66-5.66ZM40,124H16a4,4,0,0,0,0,8H40a4,4,0,0,0,0-8Zm88,88a4,4,0,0,0-4,4v24a4,4,0,0,0,8,0V216A4,4,0,0,0,128,212Zm112-88H216a4,4,0,0,0,0,8h24a4,4,0,0,0,0-8Z"}))]]);var a=Object.defineProperty,s=Object.defineProperties,l=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,h=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&h(e,n,t[n]);if(u)for(var n of u(t))d.call(t,n)&&h(e,n,t[n]);return e},p=(e,t)=>s(e,l(t));let m=(0,r.forwardRef)((e,t)=>r.createElement(o.Z,p(f({ref:t},e),{weights:i})));m.displayName="Sun"},5143:function(e,t,n){n.d(t,{r:function(){return m}});var r=n(8355),o=n(7080);let i=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,48H180V36A28,28,0,0,0,152,8H104A28,28,0,0,0,76,36V48H40a12,12,0,0,0,0,24h4V208a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V72h4a12,12,0,0,0,0-24ZM100,36a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4V48H100Zm88,168H68V72H188ZM116,104v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Zm48,0v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z",opacity:"0.2"}),r.createElement("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM112,168a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm0-120H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,50H174V40a22,22,0,0,0-22-22H104A22,22,0,0,0,82,40V50H40a6,6,0,0,0,0,12H50V208a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V62h10a6,6,0,0,0,0-12ZM94,40a10,10,0,0,1,10-10h48a10,10,0,0,1,10,10V50H94ZM194,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V62H194ZM110,104v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Zm48,0v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,52H172V40a20,20,0,0,0-20-20H104A20,20,0,0,0,84,40V52H40a4,4,0,0,0,0,8H52V208a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V60h12a4,4,0,0,0,0-8ZM92,40a12,12,0,0,1,12-12h48a12,12,0,0,1,12,12V52H92ZM196,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V60H196ZM108,104v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Zm48,0v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Z"}))]]);var a=Object.defineProperty,s=Object.defineProperties,l=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,h=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&h(e,n,t[n]);if(u)for(var n of u(t))d.call(t,n)&&h(e,n,t[n]);return e},p=(e,t)=>s(e,l(t));let m=(0,r.forwardRef)((e,t)=>r.createElement(o.Z,p(f({ref:t},e),{weights:i})));m.displayName="Trash"},4054:function(e,t,n){n.d(t,{X:function(){return m}});var r=n(8355),o=n(7080);let i=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),r.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"}))]]);var a=Object.defineProperty,s=Object.defineProperties,l=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,h=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&h(e,n,t[n]);if(u)for(var n of u(t))d.call(t,n)&&h(e,n,t[n]);return e},p=(e,t)=>s(e,l(t));let m=(0,r.forwardRef)((e,t)=>r.createElement(o.Z,p(f({ref:t},e),{weights:i})));m.displayName="X"},7080:function(e,t,n){n.d(t,{Z:function(){return f}});var r=n(8355);let o=(0,r.createContext)({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var i=Object.defineProperty,a=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,u=(e,t,n)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,c=(e,t)=>{for(var n in t||(t={}))s.call(t,n)&&u(e,n,t[n]);if(a)for(var n of a(t))l.call(t,n)&&u(e,n,t[n]);return e},d=(e,t)=>{var n={};for(var r in e)s.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&a)for(var r of a(e))0>t.indexOf(r)&&l.call(e,r)&&(n[r]=e[r]);return n};let h=(0,r.forwardRef)((e,t)=>{let{alt:n,color:i,size:a,weight:s,mirrored:l,children:u,weights:h}=e,f=d(e,["alt","color","size","weight","mirrored","children","weights"]),p=(0,r.useContext)(o),{color:m="currentColor",size:g,weight:v="regular",mirrored:y=!1}=p,b=d(p,["color","size","weight","mirrored"]);return r.createElement("svg",c(c({ref:t,xmlns:"http://www.w3.org/2000/svg",width:null!=a?a:g,height:null!=a?a:g,fill:null!=i?i:m,viewBox:"0 0 256 256",transform:l||y?"scale(-1, 1)":void 0},b),f),!!n&&r.createElement("title",null,n),u,h.get(null!=s?s:v))});h.displayName="IconBase";let f=h},9119:function(e,t,n){n.d(t,{M:function(){return r}});function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},1787:function(e,t,n){n.d(t,{Fw:function(){return E},fC:function(){return P},wy:function(){return w}});var r=n(8355),o=n(9119),i=n(4282),a=n(3346),s=n(5417),l=n(8063),u=n(4237),c=n(7284),d=n(4351),h=n(3229),f="Collapsible",[p,m]=(0,i.b)(f),[g,v]=p(f),y=r.forwardRef((e,t)=>{let{__scopeCollapsible:n,open:o,defaultOpen:i,disabled:s,onOpenChange:l,...c}=e,[f=!1,p]=(0,a.T)({prop:o,defaultProp:i,onChange:l});return(0,h.jsx)(g,{scope:n,disabled:s,contentId:(0,d.M)(),open:f,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),children:(0,h.jsx)(u.WV.div,{"data-state":A(f),"data-disabled":s?"":void 0,...c,ref:t})})});y.displayName=f;var b="CollapsibleTrigger",w=r.forwardRef((e,t)=>{let{__scopeCollapsible:n,...r}=e,i=v(b,n);return(0,h.jsx)(u.WV.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":A(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...r,ref:t,onClick:(0,o.M)(e.onClick,i.onOpenToggle)})});w.displayName=b;var x="CollapsibleContent",E=r.forwardRef((e,t)=>{let{forceMount:n,...r}=e,o=v(x,e.__scopeCollapsible);return(0,h.jsx)(c.z,{present:n||o.open,children:e=>{let{present:n}=e;return(0,h.jsx)(M,{...r,ref:t,present:n})}})});E.displayName=x;var M=r.forwardRef((e,t)=>{let{__scopeCollapsible:n,present:o,children:i,...a}=e,c=v(x,n),[d,f]=r.useState(o),p=r.useRef(null),m=(0,l.e)(t,p),g=r.useRef(0),y=g.current,b=r.useRef(0),w=b.current,E=c.open||d,M=r.useRef(E),P=r.useRef(void 0);return r.useEffect(()=>{let e=requestAnimationFrame(()=>M.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,s.b)(()=>{let e=p.current;if(e){P.current=P.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();g.current=t.height,b.current=t.width,M.current||(e.style.transitionDuration=P.current.transitionDuration,e.style.animationName=P.current.animationName),f(o)}},[c.open,o]),(0,h.jsx)(u.WV.div,{"data-state":A(c.open),"data-disabled":c.disabled?"":void 0,id:c.contentId,hidden:!E,...a,ref:m,style:{"--radix-collapsible-content-height":y?"".concat(y,"px"):void 0,"--radix-collapsible-content-width":w?"".concat(w,"px"):void 0,...e.style},children:E&&i})});function A(e){return e?"open":"closed"}var P=y},8063:function(e,t,n){n.d(t,{F:function(){return i},e:function(){return a}});var r=n(8355);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function i(...e){return t=>{let n=!1,r=e.map(e=>{let r=o(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():o(e[t],null)}}}}function a(...e){return r.useCallback(i(...e),e)}},4282:function(e,t,n){n.d(t,{b:function(){return a},k:function(){return i}});var r=n(8355),o=n(3229);function i(e,t){let n=r.createContext(t),i=e=>{let{children:t,...i}=e,a=r.useMemo(()=>i,Object.values(i));return(0,o.jsx)(n.Provider,{value:a,children:t})};return i.displayName=e+"Provider",[i,function(o){let i=r.useContext(n);if(i)return i;if(void 0!==t)return t;throw Error(`\`${o}\` must be used within \`${e}\``)}]}function a(e,t=[]){let n=[],i=()=>{let t=n.map(e=>r.createContext(e));return function(n){let o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return i.scopeName=e,[function(t,i){let a=r.createContext(i),s=n.length;n=[...n,i];let l=t=>{let{scope:n,children:i,...l}=t,u=n?.[e]?.[s]||a,c=r.useMemo(()=>l,Object.values(l));return(0,o.jsx)(u.Provider,{value:c,children:i})};return l.displayName=t+"Provider",[l,function(n,o){let l=o?.[e]?.[s]||a,u=r.useContext(l);if(u)return u;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}(i,...t)]}},3768:function(e,t,n){n.d(t,{Dx:function(){return en},VY:function(){return et},aV:function(){return ee},dk:function(){return er},fC:function(){return q},h_:function(){return J},x8:function(){return eo},xz:function(){return Q}});var r=n(8355),o=n(9119),i=n(8063),a=n(4282),s=n(4351),l=n(3346),u=n(157),c=n(8658),d=n(9189),h=n(7284),f=n(4237),p=n(3863),m=n(2339),g=n(5931),v=n(7616),y=n(3229),b="Dialog",[w,x]=(0,a.b)(b),[E,M]=w(b),A=e=>{let{__scopeDialog:t,children:n,open:o,defaultOpen:i,onOpenChange:a,modal:u=!0}=e,c=r.useRef(null),d=r.useRef(null),[h=!1,f]=(0,l.T)({prop:o,defaultProp:i,onChange:a});return(0,y.jsx)(E,{scope:t,triggerRef:c,contentRef:d,contentId:(0,s.M)(),titleId:(0,s.M)(),descriptionId:(0,s.M)(),open:h,onOpenChange:f,onOpenToggle:r.useCallback(()=>f(e=>!e),[f]),modal:u,children:n})};A.displayName=b;var P="DialogTrigger",S=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,a=M(P,n),s=(0,i.e)(t,a.triggerRef);return(0,y.jsx)(f.WV.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":U(a.open),...r,ref:s,onClick:(0,o.M)(e.onClick,a.onOpenToggle)})});S.displayName=P;var V="DialogPortal",[R,T]=w(V,{forceMount:void 0}),j=e=>{let{__scopeDialog:t,forceMount:n,children:o,container:i}=e,a=M(V,t);return(0,y.jsx)(R,{scope:t,forceMount:n,children:r.Children.map(o,e=>(0,y.jsx)(h.z,{present:n||a.open,children:(0,y.jsx)(d.h,{asChild:!0,container:i,children:e})}))})};j.displayName=V;var C="DialogOverlay",O=r.forwardRef((e,t)=>{let n=T(C,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=M(C,e.__scopeDialog);return i.modal?(0,y.jsx)(h.z,{present:r||i.open,children:(0,y.jsx)(k,{...o,ref:t})}):null});O.displayName=C;var k=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=M(C,n);return(0,y.jsx)(m.Z,{as:v.g7,allowPinchZoom:!0,shards:[o.contentRef],children:(0,y.jsx)(f.WV.div,{"data-state":U(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),L="DialogContent",D=r.forwardRef((e,t)=>{let n=T(L,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=M(L,e.__scopeDialog);return(0,y.jsx)(h.z,{present:r||i.open,children:i.modal?(0,y.jsx)(H,{...o,ref:t}):(0,y.jsx)(Z,{...o,ref:t})})});D.displayName=L;var H=r.forwardRef((e,t)=>{let n=M(L,e.__scopeDialog),a=r.useRef(null),s=(0,i.e)(t,n.contentRef,a);return r.useEffect(()=>{let e=a.current;if(e)return(0,g.Ry)(e)},[]),(0,y.jsx)(F,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.M)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,o.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,o.M)(e.onFocusOutside,e=>e.preventDefault())})}),Z=r.forwardRef((e,t)=>{let n=M(L,e.__scopeDialog),o=r.useRef(!1),i=r.useRef(!1);return(0,y.jsx)(F,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,a;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:t=>{var r,a;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"!==t.detail.originalEvent.type||(i.current=!0));let s=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),F=r.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:s,...l}=e,d=M(L,n),h=r.useRef(null),f=(0,i.e)(t,h);return(0,p.EW)(),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(c.M,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:a,onUnmountAutoFocus:s,children:(0,y.jsx)(u.XB,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":U(d.open),...l,ref:f,onDismiss:()=>d.onOpenChange(!1)})}),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(X,{titleId:d.titleId}),(0,y.jsx)(G,{contentRef:h,descriptionId:d.descriptionId})]})]})}),N="DialogTitle",I=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=M(N,n);return(0,y.jsx)(f.WV.h2,{id:o.titleId,...r,ref:t})});I.displayName=N;var W="DialogDescription",B=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=M(W,n);return(0,y.jsx)(f.WV.p,{id:o.descriptionId,...r,ref:t})});B.displayName=W;var _="DialogClose",z=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=M(_,n);return(0,y.jsx)(f.WV.button,{type:"button",...r,ref:t,onClick:(0,o.M)(e.onClick,()=>i.onOpenChange(!1))})});function U(e){return e?"open":"closed"}z.displayName=_;var $="DialogTitleWarning",[K,Y]=(0,a.k)($,{contentName:L,titleName:N,docsSlug:"dialog"}),X=e=>{let{titleId:t}=e,n=Y($),o="`".concat(n.contentName,"` requires a `").concat(n.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(n.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(n.docsSlug);return r.useEffect(()=>{t&&!document.getElementById(t)&&console.error(o)},[o,t]),null},G=e=>{let{contentRef:t,descriptionId:n}=e,o=Y("DialogDescriptionWarning"),i="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(o.contentName,"}.");return r.useEffect(()=>{var e;let r=null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby");n&&r&&!document.getElementById(n)&&console.warn(i)},[i,t,n]),null},q=A,Q=S,J=j,ee=O,et=D,en=I,er=B,eo=z},157:function(e,t,n){n.d(t,{XB:function(){return h}});var r,o=n(8355),i=n(9119),a=n(4237),s=n(8063),l=n(7620),u=n(3229),c="dismissableLayer.update",d=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),h=o.forwardRef((e,t)=>{var n,h;let{disableOutsidePointerEvents:m=!1,onEscapeKeyDown:g,onPointerDownOutside:v,onFocusOutside:y,onInteractOutside:b,onDismiss:w,...x}=e,E=o.useContext(d),[M,A]=o.useState(null),P=null!==(h=null==M?void 0:M.ownerDocument)&&void 0!==h?h:null===(n=globalThis)||void 0===n?void 0:n.document,[,S]=o.useState({}),V=(0,s.e)(t,e=>A(e)),R=Array.from(E.layers),[T]=[...E.layersWithOutsidePointerEventsDisabled].slice(-1),j=R.indexOf(T),C=M?R.indexOf(M):-1,O=E.layersWithOutsidePointerEventsDisabled.size>0,k=C>=j,L=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,l.W)(e),i=o.useRef(!1),a=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let t=function(){p("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",a.current),a.current=t,n.addEventListener("click",a.current,{once:!0})):t()}else n.removeEventListener("click",a.current);i.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",a.current)}},[n,r]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,n=[...E.branches].some(e=>e.contains(t));!k||n||(null==v||v(e),null==b||b(e),e.defaultPrevented||null==w||w())},P),D=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,l.W)(e),i=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!i.current&&p("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;[...E.branches].some(e=>e.contains(t))||(null==y||y(e),null==b||b(e),e.defaultPrevented||null==w||w())},P);return!function(e,t=globalThis?.document){let n=(0,l.W)(e);o.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{C!==E.layers.size-1||(null==g||g(e),!e.defaultPrevented&&w&&(e.preventDefault(),w()))},P),o.useEffect(()=>{if(M)return m&&(0===E.layersWithOutsidePointerEventsDisabled.size&&(r=P.body.style.pointerEvents,P.body.style.pointerEvents="none"),E.layersWithOutsidePointerEventsDisabled.add(M)),E.layers.add(M),f(),()=>{m&&1===E.layersWithOutsidePointerEventsDisabled.size&&(P.body.style.pointerEvents=r)}},[M,P,m,E]),o.useEffect(()=>()=>{M&&(E.layers.delete(M),E.layersWithOutsidePointerEventsDisabled.delete(M),f())},[M,E]),o.useEffect(()=>{let e=()=>S({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,u.jsx)(a.WV.div,{...x,ref:V,style:{pointerEvents:O?k?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.M)(e.onFocusCapture,D.onFocusCapture),onBlurCapture:(0,i.M)(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:(0,i.M)(e.onPointerDownCapture,L.onPointerDownCapture)})});function f(){let e=new CustomEvent(c);document.dispatchEvent(e)}function p(e,t,n,r){let{discrete:o}=r,i=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?(0,a.jH)(i,s):i.dispatchEvent(s)}h.displayName="DismissableLayer",o.forwardRef((e,t)=>{let n=o.useContext(d),r=o.useRef(null),i=(0,s.e)(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,u.jsx)(a.WV.div,{...e,ref:i})}).displayName="DismissableLayerBranch"},618:function(e,t,n){n.d(t,{oC:function(){return nW},VY:function(){return nZ},ZA:function(){return nF},ck:function(){return nI},wU:function(){return nz},__:function(){return nN},Uv:function(){return nH},Ee:function(){return nB},Rk:function(){return n_},fC:function(){return nL},Z0:function(){return nU},Tr:function(){return n$},tu:function(){return nY},fF:function(){return nK},xz:function(){return nD}});var r=n(8355),o=n(9119),i=n(8063),a=n(4282),s=n(3346),l=n(4237),u=n(7616),c=n(3229);function d(e){let t=e+"CollectionProvider",[n,o]=(0,a.b)(t),[s,l]=n(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:n}=e,o=r.useRef(null),i=r.useRef(new Map).current;return(0,c.jsx)(s,{scope:t,itemMap:i,collectionRef:o,children:n})};d.displayName=t;let h=e+"CollectionSlot",f=r.forwardRef((e,t)=>{let{scope:n,children:r}=e,o=l(h,n),a=(0,i.e)(t,o.collectionRef);return(0,c.jsx)(u.g7,{ref:a,children:r})});f.displayName=h;let p=e+"CollectionItemSlot",m="data-radix-collection-item",g=r.forwardRef((e,t)=>{let{scope:n,children:o,...a}=e,s=r.useRef(null),d=(0,i.e)(t,s),h=l(p,n);return r.useEffect(()=>(h.itemMap.set(s,{ref:s,...a}),()=>void h.itemMap.delete(s))),(0,c.jsx)(u.g7,{[m]:"",ref:d,children:o})});return g.displayName=p,[{Provider:d,Slot:f,ItemSlot:g},function(t){let n=l(e+"CollectionConsumer",t);return r.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(m,"]")));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},o]}var h=r.createContext(void 0);function f(e){let t=r.useContext(h);return e||t||"ltr"}var p=n(157),m=n(3863),g=n(8658),v=n(4351);let y=["top","right","bottom","left"],b=Math.min,w=Math.max,x=Math.round,E=Math.floor,M=e=>({x:e,y:e}),A={left:"right",right:"left",bottom:"top",top:"bottom"},P={start:"end",end:"start"};function S(e,t){return"function"==typeof e?e(t):e}function V(e){return e.split("-")[0]}function R(e){return e.split("-")[1]}function T(e){return"x"===e?"y":"x"}function j(e){return"y"===e?"height":"width"}function C(e){return["top","bottom"].includes(V(e))?"y":"x"}function O(e){return e.replace(/start|end/g,e=>P[e])}function k(e){return e.replace(/left|right|bottom|top/g,e=>A[e])}function L(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function D(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function H(e,t,n){let r,{reference:o,floating:i}=e,a=C(t),s=T(C(t)),l=j(s),u=V(t),c="y"===a,d=o.x+o.width/2-i.width/2,h=o.y+o.height/2-i.height/2,f=o[l]/2-i[l]/2;switch(u){case"top":r={x:d,y:o.y-i.height};break;case"bottom":r={x:d,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:h};break;case"left":r={x:o.x-i.width,y:h};break;default:r={x:o.x,y:o.y}}switch(R(t)){case"start":r[s]-=f*(n&&c?-1:1);break;case"end":r[s]+=f*(n&&c?-1:1)}return r}let Z=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=H(u,r,l),h=r,f={},p=0;for(let n=0;n<s.length;n++){let{name:i,fn:m}=s[n],{x:g,y:v,data:y,reset:b}=await m({x:c,y:d,initialPlacement:r,placement:h,strategy:o,middlewareData:f,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=g?g:c,d=null!=v?v:d,f={...f,[i]:{...f[i],...y}},b&&p<=50&&(p++,"object"==typeof b&&(b.placement&&(h=b.placement),b.rects&&(u=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),{x:c,y:d}=H(u,h,l)),n=-1)}return{x:c,y:d,placement:h,strategy:o,middlewareData:f}};async function F(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:h=!1,padding:f=0}=S(t,e),p=L(f),m=s[h?"floating"===d?"reference":"floating":d],g=D(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),v="floating"===d?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,y=await (null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),b=await (null==i.isElement?void 0:i.isElement(y))&&await (null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},w=D(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:y,strategy:l}):v);return{top:(g.top-w.top+p.top)/b.y,bottom:(w.bottom-g.bottom+p.bottom)/b.y,left:(g.left-w.left+p.left)/b.x,right:(w.right-g.right+p.right)/b.x}}function N(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function I(e){return y.some(t=>e[t]>=0)}async function W(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),a=V(n),s=R(n),l="y"===C(n),u=["left","top"].includes(a)?-1:1,c=i&&l?-1:1,d=S(t,e),{mainAxis:h,crossAxis:f,alignmentAxis:p}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof p&&(f="end"===s?-1*p:p),l?{x:f*c,y:h*u}:{x:h*u,y:f*c}}function B(){return"undefined"!=typeof window}function _(e){return $(e)?(e.nodeName||"").toLowerCase():"#document"}function z(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function U(e){var t;return null==(t=($(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function $(e){return!!B()&&(e instanceof Node||e instanceof z(e).Node)}function K(e){return!!B()&&(e instanceof Element||e instanceof z(e).Element)}function Y(e){return!!B()&&(e instanceof HTMLElement||e instanceof z(e).HTMLElement)}function X(e){return!!B()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof z(e).ShadowRoot)}function G(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=et(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function q(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function Q(e){let t=J(),n=K(e)?et(e):e;return["transform","translate","scale","rotate","perspective"].some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function J(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function ee(e){return["html","body","#document"].includes(_(e))}function et(e){return z(e).getComputedStyle(e)}function en(e){return K(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function er(e){if("html"===_(e))return e;let t=e.assignedSlot||e.parentNode||X(e)&&e.host||U(e);return X(t)?t.host:t}function eo(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=er(t);return ee(n)?t.ownerDocument?t.ownerDocument.body:t.body:Y(n)&&G(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=z(o);if(i){let e=ei(a);return t.concat(a,a.visualViewport||[],G(o)?o:[],e&&n?eo(e):[])}return t.concat(o,eo(o,[],n))}function ei(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ea(e){let t=et(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=Y(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=x(n)!==i||x(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function es(e){return K(e)?e:e.contextElement}function el(e){let t=es(e);if(!Y(t))return M(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=ea(t),a=(i?x(n.width):n.width)/r,s=(i?x(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}let eu=M(0);function ec(e){let t=z(e);return J()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eu}function ed(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),a=es(e),s=M(1);t&&(r?K(r)&&(s=el(r)):s=el(e));let l=(void 0===(o=n)&&(o=!1),r&&(!o||r===z(a))&&o)?ec(a):M(0),u=(i.left+l.x)/s.x,c=(i.top+l.y)/s.y,d=i.width/s.x,h=i.height/s.y;if(a){let e=z(a),t=r&&K(r)?z(r):r,n=e,o=ei(n);for(;o&&r&&t!==n;){let e=el(o),t=o.getBoundingClientRect(),r=et(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,c*=e.y,d*=e.x,h*=e.y,u+=i,c+=a,o=ei(n=z(o))}}return D({width:d,height:h,x:u,y:c})}function eh(e,t){let n=en(e).scrollLeft;return t?t.left+n:ed(U(e)).left+n}function ef(e,t,n){void 0===n&&(n=!1);let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:eh(e,r)),y:r.top+t.scrollTop}}function ep(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=z(e),r=U(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;let e=J();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){let t=U(e),n=en(e),r=e.ownerDocument.body,o=w(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=w(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+eh(e),s=-n.scrollTop;return"rtl"===et(r).direction&&(a+=w(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}(U(e));else if(K(t))r=function(e,t){let n=ed(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Y(e)?el(e):M(1),a=e.clientWidth*i.x;return{width:a,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{let n=ec(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return D(r)}function em(e){return"static"===et(e).position}function eg(e,t){if(!Y(e)||"fixed"===et(e).position)return null;if(t)return t(e);let n=e.offsetParent;return U(e)===n&&(n=n.ownerDocument.body),n}function ev(e,t){let n=z(e);if(q(e))return n;if(!Y(e)){let t=er(e);for(;t&&!ee(t);){if(K(t)&&!em(t))return t;t=er(t)}return n}let r=eg(e,t);for(;r&&["table","td","th"].includes(_(r))&&em(r);)r=eg(r,t);return r&&ee(r)&&em(r)&&!Q(r)?n:r||function(e){let t=er(e);for(;Y(t)&&!ee(t);){if(Q(t))return t;if(q(t))break;t=er(t)}return null}(e)||n}let ey=async function(e){let t=this.getOffsetParent||ev,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=Y(t),o=U(t),i="fixed"===n,a=ed(e,!0,i,t),s={scrollLeft:0,scrollTop:0},l=M(0);if(r||!r&&!i){if(("body"!==_(t)||G(o))&&(s=en(t)),r){let e=ed(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=eh(o))}let u=!o||r||i?M(0):ef(o,s);return{x:a.left+s.scrollLeft-l.x-u.x,y:a.top+s.scrollTop-l.y-u.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},eb={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,a=U(r),s=!!t&&q(t.floating);if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=M(1),c=M(0),d=Y(r);if((d||!d&&!i)&&(("body"!==_(r)||G(a))&&(l=en(r)),Y(r))){let e=ed(r);u=el(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}let h=!a||d||i?M(0):ef(a,l,!0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+h.x,y:n.y*u.y-l.scrollTop*u.y+c.y+h.y}},getDocumentElement:U,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,i=[..."clippingAncestors"===n?q(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=eo(e,[],!1).filter(e=>K(e)&&"body"!==_(e)),o=null,i="fixed"===et(e).position,a=i?er(e):e;for(;K(a)&&!ee(a);){let t=et(a),n=Q(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||G(a)&&!n&&function e(t,n){let r=er(t);return!(r===n||!K(r)||ee(r))&&("fixed"===et(r).position||e(r,n))}(e,a))?r=r.filter(e=>e!==a):o=t,a=er(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=i[0],s=i.reduce((e,n)=>{let r=ep(t,n,o);return e.top=w(r.top,e.top),e.right=b(r.right,e.right),e.bottom=b(r.bottom,e.bottom),e.left=w(r.left,e.left),e},ep(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:ev,getElementRects:ey,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ea(e);return{width:t,height:n}},getScale:el,isElement:K,isRTL:function(e){return"rtl"===et(e).direction}};function ew(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ex=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:c=0}=S(e,t)||{};if(null==u)return{};let d=L(c),h={x:n,y:r},f=T(C(o)),p=j(f),m=await a.getDimensions(u),g="y"===f,v=g?"clientHeight":"clientWidth",y=i.reference[p]+i.reference[f]-h[f]-i.floating[p],x=h[f]-i.reference[f],E=await (null==a.getOffsetParent?void 0:a.getOffsetParent(u)),M=E?E[v]:0;M&&await (null==a.isElement?void 0:a.isElement(E))||(M=s.floating[v]||i.floating[p]);let A=M/2-m[p]/2-1,P=b(d[g?"top":"left"],A),V=b(d[g?"bottom":"right"],A),O=M-m[p]-V,k=M/2-m[p]/2+(y/2-x/2),D=w(P,b(k,O)),H=!l.arrow&&null!=R(o)&&k!==D&&i.reference[p]/2-(k<P?P:V)-m[p]/2<0,Z=H?k<P?k-P:k-O:0;return{[f]:h[f]+Z,data:{[f]:D,centerOffset:k-D-Z,...H&&{alignmentOffset:Z}},reset:H}}}),eE=(e,t,n)=>{let r=new Map,o={platform:eb,...n},i={...o.platform,_c:r};return Z(e,t,{...o,platform:i})};var eM=n(7171),eA="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;function eP(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!eP(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!eP(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eS(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eV(e,t){let n=eS(e);return Math.round(t*n)/n}function eR(e){let t=r.useRef(e);return eA(()=>{t.current=e}),t}let eT=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?ex({element:n.current,padding:r}).fn(t):{}:n?ex({element:n,padding:r}).fn(t):{}}}),ej=(e,t)=>{var n;return{...(void 0===(n=e)&&(n=0),{name:"offset",options:n,async fn(e){var t,r;let{x:o,y:i,placement:a,middlewareData:s}=e,l=await W(e,n);return a===(null==(t=s.offset)?void 0:t.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}),options:[e,t]}},eC=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"shift",options:n,async fn(e){let{x:t,y:r,placement:o}=e,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=S(n,e),u={x:t,y:r},c=await F(e,l),d=C(V(o)),h=T(d),f=u[h],p=u[d];if(i){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=f+c[e],r=f-c[t];f=w(n,b(f,r))}if(a){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=p+c[e],r=p-c[t];p=w(n,b(p,r))}let m=s.fn({...e,[h]:f,[d]:p});return{...m,data:{x:m.x-t,y:m.y-r,enabled:{[h]:i,[d]:a}}}}}),options:[e,t]}},eO=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{options:n,fn(e){let{x:t,y:r,placement:o,rects:i,middlewareData:a}=e,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=S(n,e),c={x:t,y:r},d=C(o),h=T(d),f=c[h],p=c[d],m=S(s,e),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){let e="y"===h?"height":"width",t=i.reference[h]-i.floating[e]+g.mainAxis,n=i.reference[h]+i.reference[e]-g.mainAxis;f<t?f=t:f>n&&(f=n)}if(u){var v,y;let e="y"===h?"width":"height",t=["top","left"].includes(V(o)),n=i.reference[d]-i.floating[e]+(t&&(null==(v=a.offset)?void 0:v[d])||0)+(t?0:g.crossAxis),r=i.reference[d]+i.reference[e]+(t?0:(null==(y=a.offset)?void 0:y[d])||0)-(t?g.crossAxis:0);p<n?p=n:p>r&&(p=r)}return{[h]:f,[d]:p}}}),options:[e,t]}},ek=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"flip",options:n,async fn(e){var t,r,o,i,a;let{placement:s,middlewareData:l,rects:u,initialPlacement:c,platform:d,elements:h}=e,{mainAxis:f=!0,crossAxis:p=!0,fallbackPlacements:m,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:y=!0,...b}=S(n,e);if(null!=(t=l.arrow)&&t.alignmentOffset)return{};let w=V(s),x=C(c),E=V(c)===c,M=await (null==d.isRTL?void 0:d.isRTL(h.floating)),A=m||(E||!y?[k(c)]:function(e){let t=k(e);return[O(e),t,O(t)]}(c)),P="none"!==v;!m&&P&&A.push(...function(e,t,n,r){let o=R(e),i=function(e,t,n){let r=["left","right"],o=["right","left"];switch(e){case"top":case"bottom":if(n)return t?o:r;return t?r:o;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(V(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(O)))),i}(c,y,v,M));let L=[c,...A],D=await F(e,b),H=[],Z=(null==(r=l.flip)?void 0:r.overflows)||[];if(f&&H.push(D[w]),p){let e=function(e,t,n){void 0===n&&(n=!1);let r=R(e),o=T(C(e)),i=j(o),a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=k(a)),[a,k(a)]}(s,u,M);H.push(D[e[0]],D[e[1]])}if(Z=[...Z,{placement:s,overflows:H}],!H.every(e=>e<=0)){let e=((null==(o=l.flip)?void 0:o.index)||0)+1,t=L[e];if(t)return{data:{index:e,overflows:Z},reset:{placement:t}};let n=null==(i=Z.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(g){case"bestFit":{let e=null==(a=Z.filter(e=>{if(P){let t=C(e.placement);return t===x||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(n=e);break}case"initialPlacement":n=c}if(s!==n)return{reset:{placement:n}}}return{}}}),options:[e,t]}},eL=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"size",options:n,async fn(e){var t,r;let o,i;let{placement:a,rects:s,platform:l,elements:u}=e,{apply:c=()=>{},...d}=S(n,e),h=await F(e,d),f=V(a),p=R(a),m="y"===C(a),{width:g,height:v}=s.floating;"top"===f||"bottom"===f?(o=f,i=p===(await (null==l.isRTL?void 0:l.isRTL(u.floating))?"start":"end")?"left":"right"):(i=f,o="end"===p?"top":"bottom");let y=v-h.top-h.bottom,x=g-h.left-h.right,E=b(v-h[o],y),M=b(g-h[i],x),A=!e.middlewareData.shift,P=E,T=M;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(T=x),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(P=y),A&&!p){let e=w(h.left,0),t=w(h.right,0),n=w(h.top,0),r=w(h.bottom,0);m?T=g-2*(0!==e||0!==t?e+t:w(h.left,h.right)):P=v-2*(0!==n||0!==r?n+r:w(h.top,h.bottom))}await c({...e,availableWidth:T,availableHeight:P});let j=await l.getDimensions(u.floating);return g!==j.width||v!==j.height?{reset:{rects:!0}}:{}}}),options:[e,t]}},eD=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"hide",options:n,async fn(e){let{rects:t}=e,{strategy:r="referenceHidden",...o}=S(n,e);switch(r){case"referenceHidden":{let n=N(await F(e,{...o,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:I(n)}}}case"escaped":{let n=N(await F(e,{...o,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:I(n)}}}default:return{}}}}),options:[e,t]}},eH=(e,t)=>({...eT(e),options:[e,t]});var eZ=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...i}=e;return(0,c.jsx)(l.WV.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,c.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eZ.displayName="Arrow";var eF=n(7620),eN=n(5417),eI=n(2593),eW="Popper",[eB,e_]=(0,a.b)(eW),[ez,eU]=eB(eW),e$=e=>{let{__scopePopper:t,children:n}=e,[o,i]=r.useState(null);return(0,c.jsx)(ez,{scope:t,anchor:o,onAnchorChange:i,children:n})};e$.displayName=eW;var eK="PopperAnchor",eY=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:o,...a}=e,s=eU(eK,n),u=r.useRef(null),d=(0,i.e)(t,u);return r.useEffect(()=>{s.onAnchorChange((null==o?void 0:o.current)||u.current)}),o?null:(0,c.jsx)(l.WV.div,{...a,ref:d})});eY.displayName=eK;var eX="PopperContent",[eG,eq]=eB(eX),eQ=r.forwardRef((e,t)=>{var n,o,a,s,u,d,h,f;let{__scopePopper:p,side:m="bottom",sideOffset:g=0,align:v="center",alignOffset:y=0,arrowPadding:x=0,avoidCollisions:M=!0,collisionBoundary:A=[],collisionPadding:P=0,sticky:S="partial",hideWhenDetached:V=!1,updatePositionStrategy:R="optimized",onPlaced:T,...j}=e,C=eU(eX,p),[O,k]=r.useState(null),L=(0,i.e)(t,e=>k(e)),[D,H]=r.useState(null),Z=(0,eI.t)(D),F=null!==(h=null==Z?void 0:Z.width)&&void 0!==h?h:0,N=null!==(f=null==Z?void 0:Z.height)&&void 0!==f?f:0,I="number"==typeof P?P:{top:0,right:0,bottom:0,left:0,...P},W=Array.isArray(A)?A:[A],B=W.length>0,_={padding:I,boundary:W.filter(e2),altBoundary:B},{refs:z,floatingStyles:$,placement:K,isPositioned:Y,middlewareData:X}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:a,floating:s}={},transform:l=!0,whileElementsMounted:u,open:c}=e,[d,h]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=r.useState(o);eP(f,o)||p(o);let[m,g]=r.useState(null),[v,y]=r.useState(null),b=r.useCallback(e=>{e!==M.current&&(M.current=e,g(e))},[]),w=r.useCallback(e=>{e!==A.current&&(A.current=e,y(e))},[]),x=a||m,E=s||v,M=r.useRef(null),A=r.useRef(null),P=r.useRef(d),S=null!=u,V=eR(u),R=eR(i),T=eR(c),j=r.useCallback(()=>{if(!M.current||!A.current)return;let e={placement:t,strategy:n,middleware:f};R.current&&(e.platform=R.current),eE(M.current,A.current,e).then(e=>{let t={...e,isPositioned:!1!==T.current};C.current&&!eP(P.current,t)&&(P.current=t,eM.flushSync(()=>{h(t)}))})},[f,t,n,R,T]);eA(()=>{!1===c&&P.current.isPositioned&&(P.current.isPositioned=!1,h(e=>({...e,isPositioned:!1})))},[c]);let C=r.useRef(!1);eA(()=>(C.current=!0,()=>{C.current=!1}),[]),eA(()=>{if(x&&(M.current=x),E&&(A.current=E),x&&E){if(V.current)return V.current(x,E,j);j()}},[x,E,j,V,S]);let O=r.useMemo(()=>({reference:M,floating:A,setReference:b,setFloating:w}),[b,w]),k=r.useMemo(()=>({reference:x,floating:E}),[x,E]),L=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!k.floating)return e;let t=eV(k.floating,d.x),r=eV(k.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...eS(k.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,l,k.floating,d.x,d.y]);return r.useMemo(()=>({...d,update:j,refs:O,elements:k,floatingStyles:L}),[d,j,O,k,L])}({strategy:"fixed",placement:m+("center"!==v?"-"+v:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,c=es(e),d=i||a?[...c?eo(c):[],...eo(t)]:[];d.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let h=c&&l?function(e,t){let n,r=null,o=U(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();let u=e.getBoundingClientRect(),{left:c,top:d,width:h,height:f}=u;if(s||t(),!h||!f)return;let p=E(d),m=E(o.clientWidth-(c+h)),g={rootMargin:-p+"px "+-m+"px "+-E(o.clientHeight-(d+f))+"px "+-E(c)+"px",threshold:w(0,b(1,l))||1},v=!0;function y(t){let r=t[0].intersectionRatio;if(r!==l){if(!v)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||ew(u,e.getBoundingClientRect())||a(),v=!1}try{r=new IntersectionObserver(y,{...g,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(y,g)}r.observe(e)}(!0),i}(c,n):null,f=-1,p=null;s&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=p)||e.observe(t)})),n()}),c&&!u&&p.observe(c),p.observe(t));let m=u?ed(e):null;return u&&function t(){let r=ed(e);m&&!ew(m,r)&&n(),m=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;d.forEach(e=>{i&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=p)||e.disconnect(),p=null,u&&cancelAnimationFrame(o)}}(...t,{animationFrame:"always"===R})},elements:{reference:C.anchor},middleware:[ej({mainAxis:g+N,alignmentAxis:y}),M&&eC({mainAxis:!0,crossAxis:!1,limiter:"partial"===S?eO():void 0,..._}),M&&ek({..._}),eL({..._,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:i,height:a}=n.reference,s=t.floating.style;s.setProperty("--radix-popper-available-width","".concat(r,"px")),s.setProperty("--radix-popper-available-height","".concat(o,"px")),s.setProperty("--radix-popper-anchor-width","".concat(i,"px")),s.setProperty("--radix-popper-anchor-height","".concat(a,"px"))}}),D&&eH({element:D,padding:x}),e8({arrowWidth:F,arrowHeight:N}),V&&eD({strategy:"referenceHidden",..._})]}),[G,q]=e6(K),Q=(0,eF.W)(T);(0,eN.b)(()=>{Y&&(null==Q||Q())},[Y,Q]);let J=null===(n=X.arrow)||void 0===n?void 0:n.x,ee=null===(o=X.arrow)||void 0===o?void 0:o.y,et=(null===(a=X.arrow)||void 0===a?void 0:a.centerOffset)!==0,[en,er]=r.useState();return(0,eN.b)(()=>{O&&er(window.getComputedStyle(O).zIndex)},[O]),(0,c.jsx)("div",{ref:z.setFloating,"data-radix-popper-content-wrapper":"",style:{...$,transform:Y?$.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:en,"--radix-popper-transform-origin":[null===(s=X.transformOrigin)||void 0===s?void 0:s.x,null===(u=X.transformOrigin)||void 0===u?void 0:u.y].join(" "),...(null===(d=X.hide)||void 0===d?void 0:d.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,c.jsx)(eG,{scope:p,placedSide:G,onArrowChange:H,arrowX:J,arrowY:ee,shouldHideArrow:et,children:(0,c.jsx)(l.WV.div,{"data-side":G,"data-align":q,...j,ref:L,style:{...j.style,animation:Y?void 0:"none"}})})})});eQ.displayName=eX;var eJ="PopperArrow",e0={top:"bottom",right:"left",bottom:"top",left:"right"},e1=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=eq(eJ,n),i=e0[o.placedSide];return(0,c.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,c.jsx)(eZ,{...r,ref:t,style:{...r.style,display:"block"}})})});function e2(e){return null!==e}e1.displayName=eJ;var e8=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;let{placement:s,rects:l,middlewareData:u}=t,c=(null===(n=u.arrow)||void 0===n?void 0:n.centerOffset)!==0,d=c?0:e.arrowWidth,h=c?0:e.arrowHeight,[f,p]=e6(s),m={start:"0%",center:"50%",end:"100%"}[p],g=(null!==(i=null===(r=u.arrow)||void 0===r?void 0:r.x)&&void 0!==i?i:0)+d/2,v=(null!==(a=null===(o=u.arrow)||void 0===o?void 0:o.y)&&void 0!==a?a:0)+h/2,y="",b="";return"bottom"===f?(y=c?m:"".concat(g,"px"),b="".concat(-h,"px")):"top"===f?(y=c?m:"".concat(g,"px"),b="".concat(l.floating.height+h,"px")):"right"===f?(y="".concat(-h,"px"),b=c?m:"".concat(v,"px")):"left"===f&&(y="".concat(l.floating.width+h,"px"),b=c?m:"".concat(v,"px")),{data:{x:y,y:b}}}});function e6(e){let[t,n="center"]=e.split("-");return[t,n]}var e4=n(9189),e3=n(7284),e5="rovingFocusGroup.onEntryFocus",e9={bubbles:!1,cancelable:!0},e7="RovingFocusGroup",[te,tt,tn]=d(e7),[tr,to]=(0,a.b)(e7,[tn]),[ti,ta]=tr(e7),ts=r.forwardRef((e,t)=>(0,c.jsx)(te.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,c.jsx)(te.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,c.jsx)(tl,{...e,ref:t})})}));ts.displayName=e7;var tl=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:a,loop:u=!1,dir:d,currentTabStopId:h,defaultCurrentTabStopId:p,onCurrentTabStopIdChange:m,onEntryFocus:g,preventScrollOnEntryFocus:v=!1,...y}=e,b=r.useRef(null),w=(0,i.e)(t,b),x=f(d),[E=null,M]=(0,s.T)({prop:h,defaultProp:p,onChange:m}),[A,P]=r.useState(!1),S=(0,eF.W)(g),V=tt(n),R=r.useRef(!1),[T,j]=r.useState(0);return r.useEffect(()=>{let e=b.current;if(e)return e.addEventListener(e5,S),()=>e.removeEventListener(e5,S)},[S]),(0,c.jsx)(ti,{scope:n,orientation:a,dir:x,loop:u,currentTabStopId:E,onItemFocus:r.useCallback(e=>M(e),[M]),onItemShiftTab:r.useCallback(()=>P(!0),[]),onFocusableItemAdd:r.useCallback(()=>j(e=>e+1),[]),onFocusableItemRemove:r.useCallback(()=>j(e=>e-1),[]),children:(0,c.jsx)(l.WV.div,{tabIndex:A||0===T?-1:0,"data-orientation":a,...y,ref:w,style:{outline:"none",...e.style},onMouseDown:(0,o.M)(e.onMouseDown,()=>{R.current=!0}),onFocus:(0,o.M)(e.onFocus,e=>{let t=!R.current;if(e.target===e.currentTarget&&t&&!A){let t=new CustomEvent(e5,e9);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=V().filter(e=>e.focusable);th([e.find(e=>e.active),e.find(e=>e.id===E),...e].filter(Boolean).map(e=>e.ref.current),v)}}R.current=!1}),onBlur:(0,o.M)(e.onBlur,()=>P(!1))})})}),tu="RovingFocusGroupItem",tc=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:i=!0,active:a=!1,tabStopId:s,...u}=e,d=(0,v.M)(),h=s||d,f=ta(tu,n),p=f.currentTabStopId===h,m=tt(n),{onFocusableItemAdd:g,onFocusableItemRemove:y}=f;return r.useEffect(()=>{if(i)return g(),()=>y()},[i,g,y]),(0,c.jsx)(te.ItemSlot,{scope:n,id:h,focusable:i,active:a,children:(0,c.jsx)(l.WV.span,{tabIndex:p?0:-1,"data-orientation":f.orientation,...u,ref:t,onMouseDown:(0,o.M)(e.onMouseDown,e=>{i?f.onItemFocus(h):e.preventDefault()}),onFocus:(0,o.M)(e.onFocus,()=>f.onItemFocus(h)),onKeyDown:(0,o.M)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){f.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let o=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return td[o]}(e,f.orientation,f.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=m().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)o.reverse();else if("prev"===t||"next"===t){var n,r;"prev"===t&&o.reverse();let i=o.indexOf(e.currentTarget);o=f.loop?(n=o,r=i+1,n.map((e,t)=>n[(r+t)%n.length])):o.slice(i+1)}setTimeout(()=>th(o))}})})})});tc.displayName=tu;var td={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function th(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}var tf=n(5931),tp=n(2339),tm=["Enter"," "],tg=["ArrowUp","PageDown","End"],tv=["ArrowDown","PageUp","Home",...tg],ty={ltr:[...tm,"ArrowRight"],rtl:[...tm,"ArrowLeft"]},tb={ltr:["ArrowLeft"],rtl:["ArrowRight"]},tw="Menu",[tx,tE,tM]=d(tw),[tA,tP]=(0,a.b)(tw,[tM,e_,to]),tS=e_(),tV=to(),[tR,tT]=tA(tw),[tj,tC]=tA(tw),tO=e=>{let{__scopeMenu:t,open:n=!1,children:o,dir:i,onOpenChange:a,modal:s=!0}=e,l=tS(t),[u,d]=r.useState(null),h=r.useRef(!1),p=(0,eF.W)(a),m=f(i);return r.useEffect(()=>{let e=()=>{h.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>h.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,c.jsx)(e$,{...l,children:(0,c.jsx)(tR,{scope:t,open:n,onOpenChange:p,content:u,onContentChange:d,children:(0,c.jsx)(tj,{scope:t,onClose:r.useCallback(()=>p(!1),[p]),isUsingKeyboardRef:h,dir:m,modal:s,children:o})})})};tO.displayName=tw;var tk=r.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e,o=tS(n);return(0,c.jsx)(eY,{...o,...r,ref:t})});tk.displayName="MenuAnchor";var tL="MenuPortal",[tD,tH]=tA(tL,{forceMount:void 0}),tZ=e=>{let{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=tT(tL,t);return(0,c.jsx)(tD,{scope:t,forceMount:n,children:(0,c.jsx)(e3.z,{present:n||i.open,children:(0,c.jsx)(e4.h,{asChild:!0,container:o,children:r})})})};tZ.displayName=tL;var tF="MenuContent",[tN,tI]=tA(tF),tW=r.forwardRef((e,t)=>{let n=tH(tF,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=tT(tF,e.__scopeMenu),a=tC(tF,e.__scopeMenu);return(0,c.jsx)(tx.Provider,{scope:e.__scopeMenu,children:(0,c.jsx)(e3.z,{present:r||i.open,children:(0,c.jsx)(tx.Slot,{scope:e.__scopeMenu,children:a.modal?(0,c.jsx)(tB,{...o,ref:t}):(0,c.jsx)(t_,{...o,ref:t})})})})}),tB=r.forwardRef((e,t)=>{let n=tT(tF,e.__scopeMenu),a=r.useRef(null),s=(0,i.e)(t,a);return r.useEffect(()=>{let e=a.current;if(e)return(0,tf.Ry)(e)},[]),(0,c.jsx)(tz,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,o.M)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),t_=r.forwardRef((e,t)=>{let n=tT(tF,e.__scopeMenu);return(0,c.jsx)(tz,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),tz=r.forwardRef((e,t)=>{let{__scopeMenu:n,loop:a=!1,trapFocus:s,onOpenAutoFocus:l,onCloseAutoFocus:d,disableOutsidePointerEvents:h,onEntryFocus:f,onEscapeKeyDown:v,onPointerDownOutside:y,onFocusOutside:b,onInteractOutside:w,onDismiss:x,disableOutsideScroll:E,...M}=e,A=tT(tF,n),P=tC(tF,n),S=tS(n),V=tV(n),R=tE(n),[T,j]=r.useState(null),C=r.useRef(null),O=(0,i.e)(t,C,A.onContentChange),k=r.useRef(0),L=r.useRef(""),D=r.useRef(0),H=r.useRef(null),Z=r.useRef("right"),F=r.useRef(0),N=E?tp.Z:r.Fragment,I=E?{as:u.g7,allowPinchZoom:!0}:void 0,W=e=>{var t,n;let r=L.current+e,o=R().filter(e=>!e.disabled),i=document.activeElement,a=null===(t=o.find(e=>e.ref.current===i))||void 0===t?void 0:t.textValue,s=function(e,t,n){var r;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=(r=Math.max(n?e.indexOf(n):-1,0),e.map((t,n)=>e[(r+n)%e.length]));1===o.length&&(i=i.filter(e=>e!==n));let a=i.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return a!==n?a:void 0}(o.map(e=>e.textValue),r,a),l=null===(n=o.find(e=>e.textValue===s))||void 0===n?void 0:n.ref.current;!function e(t){L.current=t,window.clearTimeout(k.current),""!==t&&(k.current=window.setTimeout(()=>e(""),1e3))}(r),l&&setTimeout(()=>l.focus())};r.useEffect(()=>()=>window.clearTimeout(k.current),[]),(0,m.EW)();let B=r.useCallback(e=>{var t,n,r;return Z.current===(null===(t=H.current)||void 0===t?void 0:t.side)&&!!(r=null===(n=H.current)||void 0===n?void 0:n.area)&&function(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let a=t[e].x,s=t[e].y,l=t[i].x,u=t[i].y;s>r!=u>r&&n<(l-a)*(r-s)/(u-s)+a&&(o=!o)}return o}({x:e.clientX,y:e.clientY},r)},[]);return(0,c.jsx)(tN,{scope:n,searchRef:L,onItemEnter:r.useCallback(e=>{B(e)&&e.preventDefault()},[B]),onItemLeave:r.useCallback(e=>{var t;B(e)||(null===(t=C.current)||void 0===t||t.focus(),j(null))},[B]),onTriggerLeave:r.useCallback(e=>{B(e)&&e.preventDefault()},[B]),pointerGraceTimerRef:D,onPointerGraceIntentChange:r.useCallback(e=>{H.current=e},[]),children:(0,c.jsx)(N,{...I,children:(0,c.jsx)(g.M,{asChild:!0,trapped:s,onMountAutoFocus:(0,o.M)(l,e=>{var t;e.preventDefault(),null===(t=C.current)||void 0===t||t.focus({preventScroll:!0})}),onUnmountAutoFocus:d,children:(0,c.jsx)(p.XB,{asChild:!0,disableOutsidePointerEvents:h,onEscapeKeyDown:v,onPointerDownOutside:y,onFocusOutside:b,onInteractOutside:w,onDismiss:x,children:(0,c.jsx)(ts,{asChild:!0,...V,dir:P.dir,orientation:"vertical",loop:a,currentTabStopId:T,onCurrentTabStopIdChange:j,onEntryFocus:(0,o.M)(f,e=>{P.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,c.jsx)(eQ,{role:"menu","aria-orientation":"vertical","data-state":nl(A.open),"data-radix-menu-content":"",dir:P.dir,...S,...M,ref:O,style:{outline:"none",...M.style},onKeyDown:(0,o.M)(M.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&W(e.key));let o=C.current;if(e.target!==o||!tv.includes(e.key))return;e.preventDefault();let i=R().filter(e=>!e.disabled).map(e=>e.ref.current);tg.includes(e.key)&&i.reverse(),function(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}(i)}),onBlur:(0,o.M)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(k.current),L.current="")}),onPointerMove:(0,o.M)(e.onPointerMove,nd(e=>{let t=e.target,n=F.current!==e.clientX;if(e.currentTarget.contains(t)&&n){let t=e.clientX>F.current?"right":"left";Z.current=t,F.current=e.clientX}}))})})})})})})});tW.displayName=tF;var tU=r.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,c.jsx)(l.WV.div,{role:"group",...r,ref:t})});tU.displayName="MenuGroup";var t$=r.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,c.jsx)(l.WV.div,{...r,ref:t})});t$.displayName="MenuLabel";var tK="MenuItem",tY="menu.itemSelect",tX=r.forwardRef((e,t)=>{let{disabled:n=!1,onSelect:a,...s}=e,u=r.useRef(null),d=tC(tK,e.__scopeMenu),h=tI(tK,e.__scopeMenu),f=(0,i.e)(t,u),p=r.useRef(!1);return(0,c.jsx)(tG,{...s,ref:f,disabled:n,onClick:(0,o.M)(e.onClick,()=>{let e=u.current;if(!n&&e){let t=new CustomEvent(tY,{bubbles:!0,cancelable:!0});e.addEventListener(tY,e=>null==a?void 0:a(e),{once:!0}),(0,l.jH)(e,t),t.defaultPrevented?p.current=!1:d.onClose()}}),onPointerDown:t=>{var n;null===(n=e.onPointerDown)||void 0===n||n.call(e,t),p.current=!0},onPointerUp:(0,o.M)(e.onPointerUp,e=>{var t;p.current||null===(t=e.currentTarget)||void 0===t||t.click()}),onKeyDown:(0,o.M)(e.onKeyDown,e=>{let t=""!==h.searchRef.current;!n&&(!t||" "!==e.key)&&tm.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});tX.displayName=tK;var tG=r.forwardRef((e,t)=>{let{__scopeMenu:n,disabled:a=!1,textValue:s,...u}=e,d=tI(tK,n),h=tV(n),f=r.useRef(null),p=(0,i.e)(t,f),[m,g]=r.useState(!1),[v,y]=r.useState("");return r.useEffect(()=>{let e=f.current;if(e){var t;y((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}},[u.children]),(0,c.jsx)(tx.ItemSlot,{scope:n,disabled:a,textValue:null!=s?s:v,children:(0,c.jsx)(tc,{asChild:!0,...h,focusable:!a,children:(0,c.jsx)(l.WV.div,{role:"menuitem","data-highlighted":m?"":void 0,"aria-disabled":a||void 0,"data-disabled":a?"":void 0,...u,ref:p,onPointerMove:(0,o.M)(e.onPointerMove,nd(e=>{a?d.onItemLeave(e):(d.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,o.M)(e.onPointerLeave,nd(e=>d.onItemLeave(e))),onFocus:(0,o.M)(e.onFocus,()=>g(!0)),onBlur:(0,o.M)(e.onBlur,()=>g(!1))})})})}),tq=r.forwardRef((e,t)=>{let{checked:n=!1,onCheckedChange:r,...i}=e;return(0,c.jsx)(t4,{scope:e.__scopeMenu,checked:n,children:(0,c.jsx)(tX,{role:"menuitemcheckbox","aria-checked":nu(n)?"mixed":n,...i,ref:t,"data-state":nc(n),onSelect:(0,o.M)(i.onSelect,()=>null==r?void 0:r(!!nu(n)||!n),{checkForDefaultPrevented:!1})})})});tq.displayName="MenuCheckboxItem";var tQ="MenuRadioGroup",[tJ,t0]=tA(tQ,{value:void 0,onValueChange:()=>{}}),t1=r.forwardRef((e,t)=>{let{value:n,onValueChange:r,...o}=e,i=(0,eF.W)(r);return(0,c.jsx)(tJ,{scope:e.__scopeMenu,value:n,onValueChange:i,children:(0,c.jsx)(tU,{...o,ref:t})})});t1.displayName=tQ;var t2="MenuRadioItem",t8=r.forwardRef((e,t)=>{let{value:n,...r}=e,i=t0(t2,e.__scopeMenu),a=n===i.value;return(0,c.jsx)(t4,{scope:e.__scopeMenu,checked:a,children:(0,c.jsx)(tX,{role:"menuitemradio","aria-checked":a,...r,ref:t,"data-state":nc(a),onSelect:(0,o.M)(r.onSelect,()=>{var e;return null===(e=i.onValueChange)||void 0===e?void 0:e.call(i,n)},{checkForDefaultPrevented:!1})})})});t8.displayName=t2;var t6="MenuItemIndicator",[t4,t3]=tA(t6,{checked:!1}),t5=r.forwardRef((e,t)=>{let{__scopeMenu:n,forceMount:r,...o}=e,i=t3(t6,n);return(0,c.jsx)(e3.z,{present:r||nu(i.checked)||!0===i.checked,children:(0,c.jsx)(l.WV.span,{...o,ref:t,"data-state":nc(i.checked)})})});t5.displayName=t6;var t9=r.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,c.jsx)(l.WV.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});t9.displayName="MenuSeparator";var t7=r.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e,o=tS(n);return(0,c.jsx)(e1,{...o,...r,ref:t})});t7.displayName="MenuArrow";var ne="MenuSub",[nt,nn]=tA(ne),nr=e=>{let{__scopeMenu:t,children:n,open:o=!1,onOpenChange:i}=e,a=tT(ne,t),s=tS(t),[l,u]=r.useState(null),[d,h]=r.useState(null),f=(0,eF.W)(i);return r.useEffect(()=>(!1===a.open&&f(!1),()=>f(!1)),[a.open,f]),(0,c.jsx)(e$,{...s,children:(0,c.jsx)(tR,{scope:t,open:o,onOpenChange:f,content:d,onContentChange:h,children:(0,c.jsx)(nt,{scope:t,contentId:(0,v.M)(),triggerId:(0,v.M)(),trigger:l,onTriggerChange:u,children:n})})})};nr.displayName=ne;var no="MenuSubTrigger",ni=r.forwardRef((e,t)=>{let n=tT(no,e.__scopeMenu),a=tC(no,e.__scopeMenu),s=nn(no,e.__scopeMenu),l=tI(no,e.__scopeMenu),u=r.useRef(null),{pointerGraceTimerRef:d,onPointerGraceIntentChange:h}=l,f={__scopeMenu:e.__scopeMenu},p=r.useCallback(()=>{u.current&&window.clearTimeout(u.current),u.current=null},[]);return r.useEffect(()=>p,[p]),r.useEffect(()=>{let e=d.current;return()=>{window.clearTimeout(e),h(null)}},[d,h]),(0,c.jsx)(tk,{asChild:!0,...f,children:(0,c.jsx)(tG,{id:s.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":s.contentId,"data-state":nl(n.open),...e,ref:(0,i.F)(t,s.onTriggerChange),onClick:t=>{var r;null===(r=e.onClick)||void 0===r||r.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:(0,o.M)(e.onPointerMove,nd(t=>{l.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||u.current||(l.onPointerGraceIntentChange(null),u.current=window.setTimeout(()=>{n.onOpenChange(!0),p()},100))})),onPointerLeave:(0,o.M)(e.onPointerLeave,nd(e=>{var t,r;p();let o=null===(t=n.content)||void 0===t?void 0:t.getBoundingClientRect();if(o){let t=null===(r=n.content)||void 0===r?void 0:r.dataset.side,i="right"===t,a=o[i?"left":"right"],s=o[i?"right":"left"];l.onPointerGraceIntentChange({area:[{x:e.clientX+(i?-5:5),y:e.clientY},{x:a,y:o.top},{x:s,y:o.top},{x:s,y:o.bottom},{x:a,y:o.bottom}],side:t}),window.clearTimeout(d.current),d.current=window.setTimeout(()=>l.onPointerGraceIntentChange(null),300)}else{if(l.onTriggerLeave(e),e.defaultPrevented)return;l.onPointerGraceIntentChange(null)}})),onKeyDown:(0,o.M)(e.onKeyDown,t=>{let r=""!==l.searchRef.current;if(!e.disabled&&(!r||" "!==t.key)&&ty[a.dir].includes(t.key)){var o;n.onOpenChange(!0),null===(o=n.content)||void 0===o||o.focus(),t.preventDefault()}})})})});ni.displayName=no;var na="MenuSubContent",ns=r.forwardRef((e,t)=>{let n=tH(tF,e.__scopeMenu),{forceMount:a=n.forceMount,...s}=e,l=tT(tF,e.__scopeMenu),u=tC(tF,e.__scopeMenu),d=nn(na,e.__scopeMenu),h=r.useRef(null),f=(0,i.e)(t,h);return(0,c.jsx)(tx.Provider,{scope:e.__scopeMenu,children:(0,c.jsx)(e3.z,{present:a||l.open,children:(0,c.jsx)(tx.Slot,{scope:e.__scopeMenu,children:(0,c.jsx)(tz,{id:d.contentId,"aria-labelledby":d.triggerId,...s,ref:f,align:"start",side:"rtl"===u.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;u.isUsingKeyboardRef.current&&(null===(t=h.current)||void 0===t||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,o.M)(e.onFocusOutside,e=>{e.target!==d.trigger&&l.onOpenChange(!1)}),onEscapeKeyDown:(0,o.M)(e.onEscapeKeyDown,e=>{u.onClose(),e.preventDefault()}),onKeyDown:(0,o.M)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=tb[u.dir].includes(e.key);if(t&&n){var r;l.onOpenChange(!1),null===(r=d.trigger)||void 0===r||r.focus(),e.preventDefault()}})})})})})});function nl(e){return e?"open":"closed"}function nu(e){return"indeterminate"===e}function nc(e){return nu(e)?"indeterminate":e?"checked":"unchecked"}function nd(e){return t=>"mouse"===t.pointerType?e(t):void 0}ns.displayName=na;var nh="DropdownMenu",[nf,np]=(0,a.b)(nh,[tP]),nm=tP(),[ng,nv]=nf(nh),ny=e=>{let{__scopeDropdownMenu:t,children:n,dir:o,open:i,defaultOpen:a,onOpenChange:l,modal:u=!0}=e,d=nm(t),h=r.useRef(null),[f=!1,p]=(0,s.T)({prop:i,defaultProp:a,onChange:l});return(0,c.jsx)(ng,{scope:t,triggerId:(0,v.M)(),triggerRef:h,contentId:(0,v.M)(),open:f,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:u,children:(0,c.jsx)(tO,{...d,open:f,onOpenChange:p,dir:o,modal:u,children:n})})};ny.displayName=nh;var nb="DropdownMenuTrigger",nw=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,disabled:r=!1,...a}=e,s=nv(nb,n),u=nm(n);return(0,c.jsx)(tk,{asChild:!0,...u,children:(0,c.jsx)(l.WV.button,{type:"button",id:s.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":s.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...a,ref:(0,i.F)(t,s.triggerRef),onPointerDown:(0,o.M)(e.onPointerDown,e=>{r||0!==e.button||!1!==e.ctrlKey||(s.onOpenToggle(),s.open||e.preventDefault())}),onKeyDown:(0,o.M)(e.onKeyDown,e=>{!r&&(["Enter"," "].includes(e.key)&&s.onOpenToggle(),"ArrowDown"===e.key&&s.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});nw.displayName=nb;var nx=e=>{let{__scopeDropdownMenu:t,...n}=e,r=nm(t);return(0,c.jsx)(tZ,{...r,...n})};nx.displayName="DropdownMenuPortal";var nE="DropdownMenuContent",nM=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...i}=e,a=nv(nE,n),s=nm(n),l=r.useRef(!1);return(0,c.jsx)(tW,{id:a.contentId,"aria-labelledby":a.triggerId,...s,...i,ref:t,onCloseAutoFocus:(0,o.M)(e.onCloseAutoFocus,e=>{var t;l.current||null===(t=a.triggerRef.current)||void 0===t||t.focus(),l.current=!1,e.preventDefault()}),onInteractOutside:(0,o.M)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;(!a.modal||r)&&(l.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});nM.displayName=nE;var nA=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nm(n);return(0,c.jsx)(tU,{...o,...r,ref:t})});nA.displayName="DropdownMenuGroup";var nP=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nm(n);return(0,c.jsx)(t$,{...o,...r,ref:t})});nP.displayName="DropdownMenuLabel";var nS=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nm(n);return(0,c.jsx)(tX,{...o,...r,ref:t})});nS.displayName="DropdownMenuItem";var nV=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nm(n);return(0,c.jsx)(tq,{...o,...r,ref:t})});nV.displayName="DropdownMenuCheckboxItem";var nR=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nm(n);return(0,c.jsx)(t1,{...o,...r,ref:t})});nR.displayName="DropdownMenuRadioGroup";var nT=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nm(n);return(0,c.jsx)(t8,{...o,...r,ref:t})});nT.displayName="DropdownMenuRadioItem";var nj=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nm(n);return(0,c.jsx)(t5,{...o,...r,ref:t})});nj.displayName="DropdownMenuItemIndicator";var nC=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nm(n);return(0,c.jsx)(t9,{...o,...r,ref:t})});nC.displayName="DropdownMenuSeparator",r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nm(n);return(0,c.jsx)(t7,{...o,...r,ref:t})}).displayName="DropdownMenuArrow";var nO=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nm(n);return(0,c.jsx)(ni,{...o,...r,ref:t})});nO.displayName="DropdownMenuSubTrigger";var nk=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=nm(n);return(0,c.jsx)(ns,{...o,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});nk.displayName="DropdownMenuSubContent";var nL=ny,nD=nw,nH=nx,nZ=nM,nF=nA,nN=nP,nI=nS,nW=nV,nB=nR,n_=nT,nz=nj,nU=nC,n$=e=>{let{__scopeDropdownMenu:t,children:n,open:r,onOpenChange:o,defaultOpen:i}=e,a=nm(t),[l=!1,u]=(0,s.T)({prop:r,defaultProp:i,onChange:o});return(0,c.jsx)(nr,{...a,open:l,onOpenChange:u,children:n})},nK=nO,nY=nk},3863:function(e,t,n){n.d(t,{EW:function(){return i}});var r=n(8355),o=0;function i(){r.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:a()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:a()),o++,()=>{1===o&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),o--}},[])}function a(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}},8658:function(e,t,n){let r;n.d(t,{M:function(){return h}});var o=n(8355),i=n(8063),a=n(4237),s=n(7620),l=n(3229),u="focusScope.autoFocusOnMount",c="focusScope.autoFocusOnUnmount",d={bubbles:!1,cancelable:!0},h=o.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:h,onUnmountAutoFocus:v,...y}=e,[b,w]=o.useState(null),x=(0,s.W)(h),E=(0,s.W)(v),M=o.useRef(null),A=(0,i.e)(t,e=>w(e)),P=o.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;o.useEffect(()=>{if(r){let e=function(e){if(P.paused||!b)return;let t=e.target;b.contains(t)?M.current=t:m(M.current,{select:!0})},t=function(e){if(P.paused||!b)return;let t=e.relatedTarget;null===t||b.contains(t)||m(M.current,{select:!0})};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&m(b)});return b&&n.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,b,P.paused]),o.useEffect(()=>{if(b){g.add(P);let e=document.activeElement;if(!b.contains(e)){let t=new CustomEvent(u,d);b.addEventListener(u,x),b.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(m(r,{select:t}),document.activeElement!==n)return}(f(b).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&m(b))}return()=>{b.removeEventListener(u,x),setTimeout(()=>{let t=new CustomEvent(c,d);b.addEventListener(c,E),b.dispatchEvent(t),t.defaultPrevented||m(null!=e?e:document.body,{select:!0}),b.removeEventListener(c,E),g.remove(P)},0)}}},[b,x,E,P]);let S=o.useCallback(e=>{if(!n&&!r||P.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,i]=function(e){let t=f(e);return[p(t,e),p(t.reverse(),e)]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&m(i,{select:!0})):(e.preventDefault(),n&&m(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,P.paused]);return(0,l.jsx)(a.WV.div,{tabIndex:-1,...y,ref:A,onKeyDown:S})});function f(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function p(e,t){for(let n of e)if(!function(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function m(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}h.displayName="FocusScope";var g=(r=[],{add(e){let t=r[0];e!==t&&(null==t||t.pause()),(r=v(r,e)).unshift(e)},remove(e){var t;null===(t=(r=v(r,e))[0])||void 0===t||t.resume()}});function v(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},4351:function(e,t,n){n.d(t,{M:function(){return l}});var r,o=n(8355),i=n(5417),a=(r||(r=n.t(o,2)))["useId".toString()]||(()=>void 0),s=0;function l(e){let[t,n]=o.useState(a());return(0,i.b)(()=>{e||n(e=>e??String(s++))},[e]),e||(t?`radix-${t}`:"")}},5817:function(e,t,n){n.d(t,{f:function(){return s}});var r=n(8355),o=n(4237),i=n(3229),a=r.forwardRef((e,t)=>(0,i.jsx)(o.WV.label,{...e,ref:t,onMouseDown:t=>{var n;t.target.closest("button, input, select, textarea")||(null===(n=e.onMouseDown)||void 0===n||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));a.displayName="Label";var s=a},9189:function(e,t,n){n.d(t,{h:function(){return l}});var r=n(8355),o=n(7171),i=n(4237),a=n(5417),s=n(3229),l=r.forwardRef((e,t)=>{var n,l;let{container:u,...c}=e,[d,h]=r.useState(!1);(0,a.b)(()=>h(!0),[]);let f=u||d&&(null===(l=globalThis)||void 0===l?void 0:null===(n=l.document)||void 0===n?void 0:n.body);return f?o.createPortal((0,s.jsx)(i.WV.div,{...c,ref:t}),f):null});l.displayName="Portal"},7284:function(e,t,n){n.d(t,{z:function(){return a}});var r=n(8355),o=n(8063),i=n(5417),a=e=>{var t,n;let a,l;let{present:u,children:c}=e,d=function(e){var t,n;let[o,a]=r.useState(),l=r.useRef({}),u=r.useRef(e),c=r.useRef("none"),[d,h]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=s(l.current);c.current="mounted"===d?e:"none"},[d]),(0,i.b)(()=>{let t=l.current,n=u.current;if(n!==e){let r=c.current,o=s(t);e?h("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?h("UNMOUNT"):n&&r!==o?h("ANIMATION_OUT"):h("UNMOUNT"),u.current=e}},[e,h]),(0,i.b)(()=>{if(o){var e;let t;let n=null!==(e=o.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=s(l.current).includes(e.animationName);if(e.target===o&&r&&(h("ANIMATION_END"),!u.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},i=e=>{e.target===o&&(c.current=s(l.current))};return o.addEventListener("animationstart",i),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{n.clearTimeout(t),o.removeEventListener("animationstart",i),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}h("ANIMATION_END")},[o,h]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{e&&(l.current=getComputedStyle(e)),a(e)},[])}}(u),h="function"==typeof c?c({present:d.isPresent}):r.Children.only(c),f=(0,o.e)(d.ref,(a=null===(t=Object.getOwnPropertyDescriptor(h.props,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in a&&a.isReactWarning?h.ref:(a=null===(n=Object.getOwnPropertyDescriptor(h,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in a&&a.isReactWarning?h.props.ref:h.props.ref||h.ref);return"function"==typeof c||d.isPresent?r.cloneElement(h,{ref:f}):null};function s(e){return(null==e?void 0:e.animationName)||"none"}a.displayName="Presence"},4237:function(e,t,n){n.d(t,{WV:function(){return s},jH:function(){return l}});var r=n(8355),o=n(7171),i=n(7616),a=n(3229),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=r.forwardRef((e,n)=>{let{asChild:r,...o}=e,s=r?i.g7:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(s,{...o,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function l(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},7616:function(e,t,n){n.d(t,{g7:function(){return a}});var r=n(8355),o=n(8063),i=n(3229),a=r.forwardRef((e,t)=>{let{children:n,...o}=e,a=r.Children.toArray(n),l=a.find(u);if(l){let e=l.props.children,n=a.map(t=>t!==l?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,i.jsx)(s,{...o,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,i.jsx)(s,{...o,ref:t,children:n})});a.displayName="Slot";var s=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){let e,a;let s=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref;return r.cloneElement(n,{...function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(i,n.props),ref:t?(0,o.F)(t,s):s})}return r.Children.count(n)>1?r.Children.only(null):null});s.displayName="SlotClone";var l=({children:e})=>(0,i.jsx)(i.Fragment,{children:e});function u(e){return r.isValidElement(e)&&e.type===l}},9084:function(e,t,n){n.d(t,{fC:function(){return x},bU:function(){return E}});var r=n(8355),o=n(9119),i=n(8063),a=n(4282),s=n(3346),l=n(2593),u=n(4237),c=n(3229),d="Switch",[h,f]=(0,a.b)(d),[p,m]=h(d),g=r.forwardRef((e,t)=>{let{__scopeSwitch:n,name:a,checked:l,defaultChecked:d,required:h,disabled:f,value:m="on",onCheckedChange:g,form:v,...y}=e,[x,E]=r.useState(null),M=(0,i.e)(t,e=>E(e)),A=r.useRef(!1),P=!x||v||!!x.closest("form"),[S=!1,V]=(0,s.T)({prop:l,defaultProp:d,onChange:g});return(0,c.jsxs)(p,{scope:n,checked:S,disabled:f,children:[(0,c.jsx)(u.WV.button,{type:"button",role:"switch","aria-checked":S,"aria-required":h,"data-state":w(S),"data-disabled":f?"":void 0,disabled:f,value:m,...y,ref:M,onClick:(0,o.M)(e.onClick,e=>{V(e=>!e),P&&(A.current=e.isPropagationStopped(),A.current||e.stopPropagation())})}),P&&(0,c.jsx)(b,{control:x,bubbles:!A.current,name:a,value:m,checked:S,required:h,disabled:f,form:v,style:{transform:"translateX(-100%)"}})]})});g.displayName=d;var v="SwitchThumb",y=r.forwardRef((e,t)=>{let{__scopeSwitch:n,...r}=e,o=m(v,n);return(0,c.jsx)(u.WV.span,{"data-state":w(o.checked),"data-disabled":o.disabled?"":void 0,...r,ref:t})});y.displayName=v;var b=e=>{let{control:t,checked:n,bubbles:o=!0,...i}=e,a=r.useRef(null),s=function(e){let t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}(n),u=(0,l.t)(t);return r.useEffect(()=>{let e=a.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(s!==n&&t){let r=new Event("click",{bubbles:o});t.call(e,n),e.dispatchEvent(r)}},[s,n,o]),(0,c.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...i,tabIndex:-1,ref:a,style:{...e.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function w(e){return e?"checked":"unchecked"}var x=g,E=y},7620:function(e,t,n){n.d(t,{W:function(){return o}});var r=n(8355);function o(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},3346:function(e,t,n){n.d(t,{T:function(){return i}});var r=n(8355),o=n(7620);function i({prop:e,defaultProp:t,onChange:n=()=>{}}){let[i,a]=function({defaultProp:e,onChange:t}){let n=r.useState(e),[i]=n,a=r.useRef(i),s=(0,o.W)(t);return r.useEffect(()=>{a.current!==i&&(s(i),a.current=i)},[i,a,s]),n}({defaultProp:t,onChange:n}),s=void 0!==e,l=s?e:i,u=(0,o.W)(n);return[l,r.useCallback(t=>{if(s){let n="function"==typeof t?t(e):t;n!==e&&u(n)}else a(t)},[s,e,a,u])]}},5417:function(e,t,n){n.d(t,{b:function(){return o}});var r=n(8355),o=globalThis?.document?r.useLayoutEffect:()=>{}},2593:function(e,t,n){n.d(t,{t:function(){return i}});var r=n(8355),o=n(5417);function i(e){let[t,n]=r.useState(void 0);return(0,o.b)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},9258:function(e,t,n){n.d(t,{j:function(){return a}});var r=n(3572);let o=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=r.W,a=(e,t)=>n=>{var r;if((null==t?void 0:t.variants)==null)return i(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:a,defaultVariants:s}=t,l=Object.keys(a).map(e=>{let t=null==n?void 0:n[e],r=null==s?void 0:s[e];if(null===t)return null;let i=o(t)||o(r);return a[e][i]}),u=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return i(e,l,null==t?void 0:null===(r=t.compoundVariants)||void 0===r?void 0:r.reduce((e,t)=>{let{class:n,className:r,...o}=t;return Object.entries(o).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...s,...u}[t]):({...s,...u})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}},3572:function(e,t,n){function r(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=function e(t){var n,r,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t)){var i=t.length;for(n=0;n<i;n++)t[n]&&(r=e(t[n]))&&(o&&(o+=" "),o+=r)}else for(r in t)t[r]&&(o&&(o+=" "),o+=r)}return o}(e))&&(r&&(r+=" "),r+=t);return r}n.d(t,{W:function(){return r}}),t.Z=r},5502:function(e,t,n){n.d(t,{M:function(){return v}});var r=n(3229),o=n(8355),i=n(6439),a=n(9467),s=n(6341),l=n(1092);class u extends o.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function c(e){let{children:t,isPresent:n}=e,i=(0,o.useId)(),a=(0,o.useRef)(null),s=(0,o.useRef)({width:0,height:0,top:0,left:0}),{nonce:c}=(0,o.useContext)(l._);return(0,o.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:o}=s.current;if(n||!a.current||!e||!t)return;a.current.dataset.motionPopId=i;let l=document.createElement("style");return c&&(l.nonce=c),document.head.appendChild(l),l.sheet&&l.sheet.insertRule('\n          [data-motion-pop-id="'.concat(i,'"] {\n            position: absolute !important;\n            width: ').concat(e,"px !important;\n            height: ").concat(t,"px !important;\n            top: ").concat(r,"px !important;\n            left: ").concat(o,"px !important;\n          }\n        ")),()=>{document.head.removeChild(l)}},[n]),(0,r.jsx)(u,{isPresent:n,childRef:a,sizeRef:s,children:o.cloneElement(t,{ref:a})})}let d=e=>{let{children:t,initial:n,isPresent:i,onExitComplete:l,custom:u,presenceAffectsLayout:d,mode:f}=e,p=(0,a.h)(h),m=(0,o.useId)(),g=(0,o.useCallback)(e=>{for(let t of(p.set(e,!0),p.values()))if(!t)return;l&&l()},[p,l]),v=(0,o.useMemo)(()=>({id:m,initial:n,isPresent:i,custom:u,onExitComplete:g,register:e=>(p.set(e,!1),()=>p.delete(e))}),d?[Math.random(),g]:[i,g]);return(0,o.useMemo)(()=>{p.forEach((e,t)=>p.set(t,!1))},[i]),o.useEffect(()=>{i||p.size||!l||l()},[i]),"popLayout"===f&&(t=(0,r.jsx)(c,{isPresent:i,children:t})),(0,r.jsx)(s.O.Provider,{value:v,children:t})};function h(){return new Map}var f=n(1912);let p=e=>e.key||"";function m(e){let t=[];return o.Children.forEach(e,e=>{(0,o.isValidElement)(e)&&t.push(e)}),t}var g=n(4406);let v=e=>{let{children:t,custom:n,initial:s=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:c="sync",propagate:h=!1}=e,[v,y]=(0,f.oO)(h),b=(0,o.useMemo)(()=>m(t),[t]),w=h&&!v?[]:b.map(p),x=(0,o.useRef)(!0),E=(0,o.useRef)(b),M=(0,a.h)(()=>new Map),[A,P]=(0,o.useState)(b),[S,V]=(0,o.useState)(b);(0,g.L)(()=>{x.current=!1,E.current=b;for(let e=0;e<S.length;e++){let t=p(S[e]);w.includes(t)?M.delete(t):!0!==M.get(t)&&M.set(t,!1)}},[S,w.length,w.join("-")]);let R=[];if(b!==A){let e=[...b];for(let t=0;t<S.length;t++){let n=S[t],r=p(n);w.includes(r)||(e.splice(t,0,n),R.push(n))}"wait"===c&&R.length&&(e=R),V(m(e)),P(b);return}let{forceRender:T}=(0,o.useContext)(i.p);return(0,r.jsx)(r.Fragment,{children:S.map(e=>{let t=p(e),o=(!h||!!v)&&(b===S||w.includes(t));return(0,r.jsx)(d,{isPresent:o,initial:(!x.current||!!s)&&void 0,custom:o?void 0:n,presenceAffectsLayout:u,mode:c,onExitComplete:o?void 0:()=>{if(!M.has(t))return;M.set(t,!0);let e=!0;M.forEach(t=>{t||(e=!1)}),e&&(null==T||T(),V(E.current),h&&(null==y||y()),l&&l())},children:e},t)})})}},1912:function(e,t,n){n.d(t,{oO:function(){return i}});var r=n(8355),o=n(6341);function i(e=!0){let t=(0,r.useContext)(o.O);if(null===t)return[!0,null];let{isPresent:n,onExitComplete:i,register:a}=t,s=(0,r.useId)();(0,r.useEffect)(()=>{e&&a(s)},[e]);let l=(0,r.useCallback)(()=>e&&i&&i(s),[s,i,e]);return!n&&i?[!1,l]:[!0]}},8839:function(e,t,n){n.d(t,{S:function(){return h}});var r=n(3229),o=n(8355),i=n(6439);let a=(0,o.createContext)(null);var s=n(4406),l=n(2610);let u=e=>!e.isLayoutDirty&&e.willUpdate(!1),c=e=>!0===e,d=e=>c(!0===e)||"id"===e,h=e=>{let{children:t,id:n,inherit:h=!0}=e,f=(0,o.useContext)(i.p),p=(0,o.useContext)(a),[m,g]=function(){let e=function(){let e=(0,o.useRef)(!1);return(0,s.L)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}(),[t,n]=(0,o.useState)(0),r=(0,o.useCallback)(()=>{e.current&&n(t+1)},[t]);return[(0,o.useCallback)(()=>l.Wi.postRender(r),[r]),t]}(),v=(0,o.useRef)(null),y=f.id||p;null===v.current&&(d(h)&&y&&(n=n?y+"-"+n:y),v.current={id:n,group:c(h)&&f.group||function(){let e=new Set,t=new WeakMap,n=()=>e.forEach(u);return{add:r=>{e.add(r),t.set(r,r.addEventListener("willUpdate",n))},remove:r=>{e.delete(r);let o=t.get(r);o&&(o(),t.delete(r)),n()},dirty:n}}()});let b=(0,o.useMemo)(()=>({...v.current,forceRender:m}),[g]);return(0,r.jsx)(i.p.Provider,{value:b,children:t})}},6439:function(e,t,n){n.d(t,{p:function(){return r}});let r=(0,n(8355).createContext)({})},1092:function(e,t,n){n.d(t,{_:function(){return r}});let r=(0,n(8355).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},6341:function(e,t,n){n.d(t,{O:function(){return r}});let r=(0,n(8355).createContext)(null)},1152:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(6629);let o=["read","resolveKeyframes","update","preRender","render","postRender"];function i(e,t){let n=!1,i=!0,a={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,l=o.reduce((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,r=!1,o=!1,i=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1};function s(t){i.has(t)&&(l.schedule(t),e()),t(a)}let l={schedule:(e,o=!1,a=!1)=>{let s=a&&r?t:n;return o&&i.add(e),s.has(e)||s.add(e),e},cancel:e=>{n.delete(e),i.delete(e)},process:e=>{if(a=e,r){o=!0;return}r=!0,[t,n]=[n,t],t.forEach(s),t.clear(),r=!1,o&&(o=!1,l.process(e))}};return l}(s),e),{}),{read:u,resolveKeyframes:c,update:d,preRender:h,render:f,postRender:p}=l,m=()=>{let o=r.c.useManualTiming?a.timestamp:performance.now();n=!1,a.delta=i?1e3/60:Math.max(Math.min(o-a.timestamp,40),1),a.timestamp=o,a.isProcessing=!0,u.process(a),c.process(a),d.process(a),h.process(a),f.process(a),p.process(a),a.isProcessing=!1,n&&t&&(i=!1,e(m))},g=()=>{n=!0,i=!0,a.isProcessing||e(m)};return{schedule:o.reduce((e,t)=>{let r=l[t];return e[t]=(e,t=!1,o=!1)=>(n||g(),r.schedule(e,t,o)),e},{}),cancel:e=>{for(let t=0;t<o.length;t++)l[o[t]].cancel(e)},state:a,steps:l}}},2610:function(e,t,n){n.d(t,{Pn:function(){return i},Wi:function(){return o},frameData:function(){return a},yL:function(){return s}});var r=n(925);let{schedule:o,cancel:i,state:a,steps:s}=(0,n(1152).Z)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:r.Z,!0)},5448:function(e,t,n){let r;function o(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}n.d(t,{E:function(){return ih}});let i=e=>Array.isArray(e);function a(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function s(e){return"string"==typeof e||Array.isArray(e)}function l(e){let t=[{},{}];return null==e||e.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function u(e,t,n,r){if("function"==typeof t){let[o,i]=l(r);t=t(void 0!==n?n:e.custom,o,i)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[o,i]=l(r);t=t(void 0!==n?n:e.custom,o,i)}return t}function c(e,t,n){let r=e.getProps();return u(r,t,void 0!==n?n:r.custom,e)}let d=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],h=["initial",...d];function f(e){let t;return()=>(void 0===t&&(t=e()),t)}let p=f(()=>void 0!==window.ScrollTimeline);class m{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>"finished"in e?e.finished:e))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e,t){let n=this.animations.map(n=>p()&&n.attachTimeline?n.attachTimeline(e):"function"==typeof t?t(n):void 0);return()=>{n.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class g extends m{then(e,t){return Promise.all(this.animations).then(e).catch(t)}}function v(e,t){return e?e[t]||e.default||e:void 0}function y(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}function b(e){return"function"==typeof e}function w(e,t){e.timeline=t,e.onfinish=null}let x=e=>Array.isArray(e)&&"number"==typeof e[0],E={linearEasing:void 0},M=function(e,t){let n=f(e);return()=>{var e;return null!==(e=E[t])&&void 0!==e?e:n()}}(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),A=(e,t,n)=>{let r=t-e;return 0===r?1:(n-e)/r},P=(e,t,n=10)=>{let r="",o=Math.max(Math.round(t/n),2);for(let t=0;t<o;t++)r+=e(A(0,o-1,t))+", ";return`linear(${r.substring(0,r.length-2)})`},S=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,V={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:S([0,.65,.55,1]),circOut:S([.55,0,1,.45]),backIn:S([.31,.01,.66,-.59]),backOut:S([.33,1.53,.69,.99])},R={x:!1,y:!1};function T(e,t){let n=function(e,t,n){if(e instanceof Element)return[e];if("string"==typeof e){let t=document.querySelectorAll(e);return t?Array.from(t):[]}return Array.from(e)}(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function j(e){return t=>{"touch"===t.pointerType||R.x||R.y||e(t)}}let C=(e,t)=>!!t&&(e===t||C(e,t.parentElement)),O=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary,k=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),L=new WeakSet;function D(e){return t=>{"Enter"===t.key&&e(t)}}function H(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}let Z=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=D(()=>{if(L.has(n))return;H(n,"down");let e=D(()=>{H(n,"up")});n.addEventListener("keyup",e,t),n.addEventListener("blur",()=>H(n,"cancel"),t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function F(e){return O(e)&&!(R.x||R.y)}let N=e=>1e3*e,I=e=>e/1e3;var W,B,_,z=n(925);let U=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],$=new Set(U),K=new Set(["width","height","top","left","right","bottom",...U]),Y=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),X=e=>i(e)?e[e.length-1]||0:e;var G=n(6629),q=n(2610);function Q(){r=void 0}let J={now:()=>(void 0===r&&J.set(q.frameData.isProcessing||G.c.useManualTiming?q.frameData.timestamp:performance.now()),r),set:e=>{r=e,queueMicrotask(Q)}};function ee(e,t){-1===e.indexOf(t)&&e.push(t)}function et(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}class en{constructor(){this.subscriptions=[]}add(e){return ee(this.subscriptions,e),()=>et(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r){if(1===r)this.subscriptions[0](e,t,n);else for(let o=0;o<r;o++){let r=this.subscriptions[o];r&&r(e,t,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let er=e=>!isNaN(parseFloat(e)),eo={current:void 0};class ei{constructor(e,t={}){this.version="11.18.1",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{let n=J.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=J.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=er(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new en);let n=this.events[e].add(t);return"change"===e?()=>{n(),q.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return eo.current&&eo.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=J.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let n=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),n?1e3/n*e:0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ea(e,t){return new ei(e,t)}let es=e=>!!(e&&e.getVelocity);function el(e,t){let n=e.getValue("willChange");if(es(n)&&n.add)return n.add(t)}let eu=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),ec="data-"+eu("framerAppearId"),ed={current:!1},eh=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function ef(e,t,n,r){if(e===t&&n===r)return z.Z;let o=t=>(function(e,t,n,r,o){let i,a;let s=0;do(i=eh(a=t+(n-t)/2,r,o)-e)>0?n=a:t=a;while(Math.abs(i)>1e-7&&++s<12);return a})(t,0,1,e,n);return e=>0===e||1===e?e:eh(o(e),t,r)}let ep=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,em=e=>t=>1-e(1-t),eg=ef(.33,1.53,.69,.99),ev=em(eg),ey=ep(ev),eb=e=>(e*=2)<1?.5*ev(e):.5*(2-Math.pow(2,-10*(e-1))),ew=e=>1-Math.sin(Math.acos(e)),ex=em(ew),eE=ep(ew),eM=e=>/^0[^.\s]+$/u.test(e),eA=(e,t,n)=>n>t?t:n<e?e:n,eP={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},eS={...eP,transform:e=>eA(0,1,e)},eV={...eP,default:1},eR=e=>Math.round(1e5*e)/1e5,eT=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,ej=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,eC=(e,t)=>n=>!!("string"==typeof n&&ej.test(n)&&n.startsWith(e)||t&&null!=n&&Object.prototype.hasOwnProperty.call(n,t)),eO=(e,t,n)=>r=>{if("string"!=typeof r)return r;let[o,i,a,s]=r.match(eT);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},ek=e=>eA(0,255,e),eL={...eP,transform:e=>Math.round(ek(e))},eD={test:eC("rgb","red"),parse:eO("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+eL.transform(e)+", "+eL.transform(t)+", "+eL.transform(n)+", "+eR(eS.transform(r))+")"},eH={test:eC("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:eD.transform},eZ=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),eF=eZ("deg"),eN=eZ("%"),eI=eZ("px"),eW=eZ("vh"),eB=eZ("vw"),e_={...eN,parse:e=>eN.parse(e)/100,transform:e=>eN.transform(100*e)},ez={test:eC("hsl","hue"),parse:eO("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+eN.transform(eR(t))+", "+eN.transform(eR(n))+", "+eR(eS.transform(r))+")"},eU={test:e=>eD.test(e)||eH.test(e)||ez.test(e),parse:e=>eD.test(e)?eD.parse(e):ez.test(e)?ez.parse(e):eH.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?eD.transform(e):ez.transform(e)},e$=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,eK="number",eY="color",eX=/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 eG(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[],i=0,a=t.replace(eX,e=>(eU.test(e)?(r.color.push(i),o.push(eY),n.push(eU.parse(e))):e.startsWith("var(")?(r.var.push(i),o.push("var"),n.push(e)):(r.number.push(i),o.push(eK),n.push(parseFloat(e))),++i,"${}")).split("${}");return{values:n,split:a,indexes:r,types:o}}function eq(e){return eG(e).values}function eQ(e){let{split:t,types:n}=eG(e),r=t.length;return e=>{let o="";for(let i=0;i<r;i++)if(o+=t[i],void 0!==e[i]){let t=n[i];t===eK?o+=eR(e[i]):t===eY?o+=eU.transform(e[i]):o+=e[i]}return o}}let eJ=e=>"number"==typeof e?0:e,e0={test:function(e){var t,n;return isNaN(e)&&"string"==typeof e&&((null===(t=e.match(eT))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(e$))||void 0===n?void 0:n.length)||0)>0},parse:eq,createTransformer:eQ,getAnimatableNone:function(e){let t=eq(e);return eQ(e)(t.map(eJ))}},e1=new Set(["brightness","contrast","saturate","opacity"]);function e2(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(eT)||[];if(!r)return e;let o=n.replace(r,""),i=e1.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}let e8=/\b([a-z-]*)\(.*?\)/gu,e6={...e0,getAnimatableNone:e=>{let t=e.match(e8);return t?t.map(e2).join(" "):e}},e4={...eP,transform:Math.round},e3={borderWidth:eI,borderTopWidth:eI,borderRightWidth:eI,borderBottomWidth:eI,borderLeftWidth:eI,borderRadius:eI,radius:eI,borderTopLeftRadius:eI,borderTopRightRadius:eI,borderBottomRightRadius:eI,borderBottomLeftRadius:eI,width:eI,maxWidth:eI,height:eI,maxHeight:eI,top:eI,right:eI,bottom:eI,left:eI,padding:eI,paddingTop:eI,paddingRight:eI,paddingBottom:eI,paddingLeft:eI,margin:eI,marginTop:eI,marginRight:eI,marginBottom:eI,marginLeft:eI,backgroundPositionX:eI,backgroundPositionY:eI,rotate:eF,rotateX:eF,rotateY:eF,rotateZ:eF,scale:eV,scaleX:eV,scaleY:eV,scaleZ:eV,skew:eF,skewX:eF,skewY:eF,distance:eI,translateX:eI,translateY:eI,translateZ:eI,x:eI,y:eI,z:eI,perspective:eI,transformPerspective:eI,opacity:eS,originX:e_,originY:e_,originZ:eI,zIndex:e4,size:eI,fillOpacity:eS,strokeOpacity:eS,numOctaves:e4},e5={...e3,color:eU,backgroundColor:eU,outlineColor:eU,fill:eU,stroke:eU,borderColor:eU,borderTopColor:eU,borderRightColor:eU,borderBottomColor:eU,borderLeftColor:eU,filter:e6,WebkitFilter:e6},e9=e=>e5[e];function e7(e,t){let n=e9(e);return n!==e6&&(n=e0),n.getAnimatableNone?n.getAnimatableNone(t):void 0}let te=new Set(["auto","none","0"]),tt=e=>e===eP||e===eI,tn=(e,t)=>parseFloat(e.split(", ")[t]),tr=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;let o=r.match(/^matrix3d\((.+)\)$/u);if(o)return tn(o[1],t);{let t=r.match(/^matrix\((.+)\)$/u);return t?tn(t[1],e):0}},to=new Set(["x","y","z"]),ti=U.filter(e=>!to.has(e)),ta={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:tr(4,13),y:tr(5,14)};ta.translateX=ta.x,ta.translateY=ta.y;let ts=new Set,tl=!1,tu=!1;function tc(){if(tu){let e=Array.from(ts).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=function(e){let t=[];return ti.forEach(n=>{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{var r;null===(r=e.getValue(t))||void 0===r||r.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}tu=!1,tl=!1,ts.forEach(e=>e.complete()),ts.clear()}function td(){ts.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(tu=!0)})}class th{constructor(e,t,n,r,o,i=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=o,this.isAsync=i}scheduleResolve(){this.isScheduled=!0,this.isAsync?(ts.add(this),tl||(tl=!0,q.Wi.read(td),q.Wi.resolveKeyframes(tc))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;for(let o=0;o<e.length;o++)if(null===e[o]){if(0===o){let o=null==r?void 0:r.get(),i=e[e.length-1];if(void 0!==o)e[0]=o;else if(n&&t){let r=n.readValue(t,i);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=i),r&&void 0===o&&r.set(e[0])}else e[o]=e[o-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),ts.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,ts.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}let tf=z.Z,tp=z.Z,tm=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),tg=e=>t=>"string"==typeof t&&t.startsWith(e),tv=tg("--"),ty=tg("var(--"),tb=e=>!!ty(e)&&tw.test(e.split("/*")[0].trim()),tw=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,tx=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tE=e=>t=>t.test(e),tM=[eP,eI,eN,eF,eB,eW,{test:e=>"auto"===e,parse:e=>e}],tA=e=>tM.find(tE(e));class tP extends th{constructor(e,t,n,r,o){super(e,t,n,r,o,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&tb(r=r.trim())){let o=function e(t,n,r=1){tp(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[o,i]=function(e){let t=tx.exec(e);if(!t)return[,];let[,n,r,o]=t;return[`--${null!=n?n:r}`,o]}(t);if(!o)return;let a=window.getComputedStyle(n).getPropertyValue(o);if(a){let e=a.trim();return tm(e)?parseFloat(e):e}return tb(i)?e(i,n,r+1):i}(r,t.current);void 0!==o&&(e[n]=o),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!K.has(n)||2!==e.length)return;let[r,o]=e,i=tA(r),a=tA(o);if(i!==a){if(tt(i)&&tt(a))for(let t=0;t<e.length;t++){let n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++){var r;("number"==typeof(r=e[t])?0===r:null===r||"none"===r||"0"===r||eM(r))&&n.push(t)}n.length&&function(e,t,n){let r,o=0;for(;o<e.length&&!r;){let t=e[o];"string"==typeof t&&!te.has(t)&&eG(t).values.length&&(r=e[o]),o++}if(r&&n)for(let o of t)e[o]=e7(n,r)}(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ta[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){var e;let{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;let o=t.getValue(n);o&&o.jump(this.measuredOrigin,!1);let i=r.length-1,a=r[i];r[i]=ta[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==a&&void 0===this.finalKeyframe&&(this.finalKeyframe=a),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEach(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}let tS=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(e0.test(e)||"0"===e)&&!e.startsWith("url(")),tV=e=>null!==e;function tR(e,{repeat:t,repeatType:n="loop"},r){let o=e.filter(tV),i=t&&"loop"!==n&&t%2==1?0:o.length-1;return i&&void 0!==r?r:o[i]}class tT{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:i="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=J.now(),this.options={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:o,repeatType:i,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(td(),tc()),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=J.now(),this.hasAttemptedResolve=!0;let{name:n,type:r,velocity:o,delay:i,onComplete:a,onUpdate:s,isGenerator:l}=this.options;if(!l&&!function(e,t,n,r){let o=e[0];if(null===o)return!1;if("display"===t||"visibility"===t)return!0;let i=e[e.length-1],a=tS(o,t),s=tS(i,t);return tf(a===s,`You are trying to animate ${t} from "${o}" to "${i}". ${o} is not an animatable value - to enable this animation set ${o} to a value animatable to ${i} via the \`style\` property.`),!!a&&!!s&&(function(e){let t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||b(n))&&r)}(e,n,r,o)){if(ed.current||!i){null==s||s(tR(e,this.options,t)),null==a||a(),this.resolveFinishedPromise();return}this.options.duration=0}let u=this.initPlayback(e,t);!1!==u&&(this._resolved={keyframes:e,finalKeyframe:t,...u},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}let tj=(e,t,n)=>e+(t-e)*n;function tC(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function tO(e,t){return n=>n>0?t:e}let tk=(e,t,n)=>{let r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},tL=[eH,eD,ez],tD=e=>tL.find(t=>t.test(e));function tH(e){let t=tD(e);if(tf(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===ez&&(n=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let o=0,i=0,a=0;if(t/=100){let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;o=tC(s,r,e+1/3),i=tC(s,r,e),a=tC(s,r,e-1/3)}else o=i=a=n;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*a),alpha:r}}(n)),n}let tZ=(e,t)=>{let n=tH(e),r=tH(t);if(!n||!r)return tO(e,t);let o={...n};return e=>(o.red=tk(n.red,r.red,e),o.green=tk(n.green,r.green,e),o.blue=tk(n.blue,r.blue,e),o.alpha=tj(n.alpha,r.alpha,e),eD.transform(o))},tF=(e,t)=>n=>t(e(n)),tN=(...e)=>e.reduce(tF),tI=new Set(["none","hidden"]);function tW(e,t){return n=>tj(e,t,n)}function tB(e){return"number"==typeof e?tW:"string"==typeof e?tb(e)?tO:eU.test(e)?tZ:tU:Array.isArray(e)?t_:"object"==typeof e?eU.test(e)?tZ:tz:tO}function t_(e,t){let n=[...e],r=n.length,o=e.map((e,n)=>tB(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}}function tz(e,t){let n={...e,...t},r={};for(let o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=tB(e[o])(e[o],t[o]));return e=>{for(let t in r)n[t]=r[t](e);return n}}let tU=(e,t)=>{let n=e0.createTransformer(t),r=eG(e),o=eG(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?tI.has(e)&&!o.values.length||tI.has(t)&&!r.values.length?tI.has(e)?n=>n<=0?e:t:n=>n>=1?t:e:tN(t_(function(e,t){var n;let r=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],s=e.indexes[a][o[a]],l=null!==(n=e.values[s])&&void 0!==n?n:0;r[i]=l,o[a]++}return r}(r,o),o.values),n):(tf(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),tO(e,t))};function t$(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?tj(e,t,n):tB(e)(e,t)}function tK(e,t,n){var r,o;let i=Math.max(t-5,0);return r=n-e(i),(o=t-i)?1e3/o*r:0}let tY={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function tX(e,t){return e*Math.sqrt(1-t*t)}let tG=["duration","bounce"],tq=["stiffness","damping","mass"];function tQ(e,t){return t.some(t=>void 0!==e[t])}function tJ(e=tY.visualDuration,t=tY.bounce){let n;let r="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:o,restDelta:i}=r,a=r.keyframes[0],s=r.keyframes[r.keyframes.length-1],l={done:!1,value:a},{stiffness:u,damping:c,mass:d,duration:h,velocity:f,isResolvedFromDuration:p}=function(e){let t={velocity:tY.velocity,stiffness:tY.stiffness,damping:tY.damping,mass:tY.mass,isResolvedFromDuration:!1,...e};if(!tQ(e,tq)&&tQ(e,tG)){if(e.visualDuration){let n=2*Math.PI/(1.2*e.visualDuration),r=n*n,o=2*eA(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:tY.mass,stiffness:r,damping:o}}else{let n=function({duration:e=tY.duration,bounce:t=tY.bounce,velocity:n=tY.velocity,mass:r=tY.mass}){let o,i;tf(e<=N(tY.maxDuration),"Spring duration must be 10 seconds or less");let a=1-t;a=eA(tY.minDamping,tY.maxDamping,a),e=eA(tY.minDuration,tY.maxDuration,I(e)),a<1?(o=t=>{let r=t*a,o=r*e;return .001-(r-n)/tX(t,a)*Math.exp(-o)},i=t=>{let r=t*a*e,i=Math.pow(a,2)*Math.pow(t,2)*e,s=tX(Math.pow(t,2),a);return(r*n+n-i)*Math.exp(-r)*(-o(t)+.001>0?-1:1)/s}):(o=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),i=t=>e*e*(n-t)*Math.exp(-t*e));let s=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(o,i,5/e);if(e=N(e),isNaN(s))return{stiffness:tY.stiffness,damping:tY.damping,duration:e};{let t=Math.pow(s,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}(e);(t={...t,...n,mass:tY.mass}).isResolvedFromDuration=!0}}return t}({...r,velocity:-I(r.velocity||0)}),m=f||0,g=c/(2*Math.sqrt(u*d)),v=s-a,b=I(Math.sqrt(u/d)),w=5>Math.abs(v);if(o||(o=w?tY.restSpeed.granular:tY.restSpeed.default),i||(i=w?tY.restDelta.granular:tY.restDelta.default),g<1){let e=tX(b,g);n=t=>s-Math.exp(-g*b*t)*((m+g*b*v)/e*Math.sin(e*t)+v*Math.cos(e*t))}else if(1===g)n=e=>s-Math.exp(-b*e)*(v+(m+b*v)*e);else{let e=b*Math.sqrt(g*g-1);n=t=>{let n=Math.exp(-g*b*t),r=Math.min(e*t,300);return s-n*((m+g*b*v)*Math.sinh(r)+e*v*Math.cosh(r))/e}}let x={calculatedDuration:p&&h||null,next:e=>{let t=n(e);if(p)l.done=e>=h;else{let r=0;g<1&&(r=0===e?N(m):tK(n,e,t));let a=Math.abs(r)<=o,u=Math.abs(s-t)<=i;l.done=a&&u}return l.value=l.done?s:t,l},toString:()=>{let e=Math.min(y(x),2e4),t=P(t=>x.next(e*t).value,e,30);return e+"ms "+t}};return x}function t0({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:u=.5,restSpeed:c}){let d,h;let f=e[0],p={done:!1,value:f},m=e=>void 0!==s&&e<s||void 0!==l&&e>l,g=e=>void 0===s?l:void 0===l?s:Math.abs(s-e)<Math.abs(l-e)?s:l,v=n*t,y=f+v,b=void 0===a?y:a(y);b!==y&&(v=b-f);let w=e=>-v*Math.exp(-e/r),x=e=>b+w(e),E=e=>{let t=w(e),n=x(e);p.done=Math.abs(t)<=u,p.value=p.done?b:n},M=e=>{m(p.value)&&(d=e,h=tJ({keyframes:[p.value,g(p.value)],velocity:tK(x,e,p.value),damping:o,stiffness:i,restDelta:u,restSpeed:c}))};return M(0),{calculatedDuration:null,next:e=>{let t=!1;return(h||void 0!==d||(t=!0,E(e),M(e)),void 0!==d&&e>=d)?h.next(e-d):(t||E(e),p)}}}let t1=ef(.42,0,1,1),t2=ef(0,0,.58,1),t8=ef(.42,0,.58,1),t6=e=>Array.isArray(e)&&"number"!=typeof e[0],t4={linear:z.Z,easeIn:t1,easeInOut:t8,easeOut:t2,circIn:ew,circInOut:eE,circOut:ex,backIn:ev,backInOut:ey,backOut:eg,anticipate:eb},t3=e=>{if(x(e)){tp(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,o]=e;return ef(t,n,r,o)}return"string"==typeof e?(tp(void 0!==t4[e],`Invalid easing type '${e}'`),t4[e]):e};function t5({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){let o=t6(r)?r.map(t3):t3(r),i={done:!1,value:t[0]},a=function(e,t,{clamp:n=!0,ease:r,mixer:o}={}){let i=e.length;if(tp(i===t.length,"Both input and output ranges must be the same length"),1===i)return()=>t[0];if(2===i&&t[0]===t[1])return()=>t[1];let a=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=function(e,t,n){let r=[],o=n||t$,i=e.length-1;for(let n=0;n<i;n++){let i=o(e[n],e[n+1]);t&&(i=tN(Array.isArray(t)?t[n]||z.Z:t,i)),r.push(i)}return r}(t,r,o),l=s.length,u=n=>{if(a&&n<e[0])return t[0];let r=0;if(l>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let o=A(e[r],e[r+1],n);return s[r](o)};return n?t=>u(eA(e[0],e[i-1],t)):u}((n&&n.length===t.length?n:function(e){let t=[0];return function(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let o=A(0,t,r);e.push(tj(n,1,o))}}(t,e.length-1),t}(t)).map(t=>t*e),t,{ease:Array.isArray(o)?o:t.map(()=>o||t8).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(i.value=a(t),i.done=t>=e,i)}}let t9=e=>{let t=({timestamp:t})=>e(t);return{start:()=>q.Wi.update(t,!0),stop:()=>(0,q.Pn)(t),now:()=>q.frameData.isProcessing?q.frameData.timestamp:J.now()}},t7={decay:t0,inertia:t0,tween:t5,keyframes:t5,spring:tJ},ne=e=>e/100;class nt extends tT{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:e}=this.options;e&&e()};let{name:t,motionValue:n,element:r,keyframes:o}=this.options,i=(null==r?void 0:r.KeyframeResolver)||th;this.resolver=new i(o,(e,t)=>this.onKeyframesResolved(e,t),t,n,r),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){let t,n;let{type:r="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:a,velocity:s=0}=this.options,l=b(r)?r:t7[r]||t5;l!==t5&&"number"!=typeof e[0]&&(t=tN(ne,t$(e[0],e[1])),e=[0,100]);let u=l({...this.options,keyframes:e});"mirror"===a&&(n=l({...this.options,keyframes:[...e].reverse(),velocity:-s})),null===u.calculatedDuration&&(u.calculatedDuration=y(u));let{calculatedDuration:c}=u,d=c+i;return{generator:u,mirroredGenerator:n,mapPercentToKeyframes:t,calculatedDuration:c,resolvedDuration:d,totalDuration:d*(o+1)-i}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){let{resolved:n}=this;if(!n){let{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}let{finalKeyframe:r,generator:o,mirroredGenerator:i,mapPercentToKeyframes:a,keyframes:s,calculatedDuration:l,totalDuration:u,resolvedDuration:c}=n;if(null===this.startTime)return o.next(0);let{delay:d,repeat:h,repeatType:f,repeatDelay:p,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-u/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let g=this.currentTime-d*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,b=o;if(h){let e=Math.min(this.currentTime,u)/c,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,(t=Math.min(t,h+1))%2&&("reverse"===f?(n=1-n,p&&(n-=p/c)):"mirror"===f&&(b=i)),y=eA(0,1,n)*c}let w=v?{done:!1,value:s[0]}:b.next(y);a&&(w.value=a(w.value));let{done:x}=w;v||null===l||(x=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let E=null===this.holdTime&&("finished"===this.state||"running"===this.state&&x);return E&&void 0!==r&&(w.value=tR(s,this.options,r)),m&&m(w.value),E&&this.finish(),w}get duration(){let{resolved:e}=this;return e?I(e.calculatedDuration):0}get time(){return I(this.currentTime)}set time(e){e=N(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=I(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=t9,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();let r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=r):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}let nn=new Set(["opacity","clipPath","filter","transform"]),nr=f(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),no={anticipate:eb,backInOut:ey,circInOut:eE};class ni extends tT{constructor(e){super(e);let{name:t,motionValue:n,element:r,keyframes:o}=this.options;this.resolver=new tP(o,(e,t)=>this.onKeyframesResolved(e,t),t,n,r),this.resolver.scheduleResolve()}initPlayback(e,t){var n,r;let{duration:o=300,times:i,ease:a,type:s,motionValue:l,name:u,startTime:c}=this.options;if(!(null===(n=l.owner)||void 0===n?void 0:n.current))return!1;if("string"==typeof a&&M()&&a in no&&(a=no[a]),b((r=this.options).type)||"spring"===r.type||!function e(t){return!!("function"==typeof t&&M()||!t||"string"==typeof t&&(t in V||M())||x(t)||Array.isArray(t)&&t.every(e))}(r.ease)){let{onComplete:t,onUpdate:n,motionValue:r,element:l,...u}=this.options,c=function(e,t){let n=new nt({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),r={done:!1,value:e[0]},o=[],i=0;for(;!r.done&&i<2e4;)o.push((r=n.sample(i)).value),i+=10;return{times:void 0,keyframes:o,duration:i-10,ease:"linear"}}(e,u);1===(e=c.keyframes).length&&(e[1]=e[0]),o=c.duration,i=c.times,a=c.ease,s="keyframes"}let d=function(e,t,n,{delay:r=0,duration:o=300,repeat:i=0,repeatType:a="loop",ease:s="easeInOut",times:l}={}){let u={[t]:n};l&&(u.offset=l);let c=function e(t,n){if(t)return"function"==typeof t&&M()?P(t,n):x(t)?S(t):Array.isArray(t)?t.map(t=>e(t,n)||V.easeOut):V[t]}(s,o);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:o,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:i+1,direction:"reverse"===a?"alternate":"normal"})}(l.owner.current,u,e,{...this.options,duration:o,times:i,ease:a});return d.startTime=null!=c?c:this.calcStartTime(),this.pendingTimeline?(w(d,this.pendingTimeline),this.pendingTimeline=void 0):d.onfinish=()=>{let{onComplete:n}=this.options;l.set(tR(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:d,duration:o,times:i,type:s,ease:a,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return I(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return I(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.currentTime=N(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}get startTime(){let{resolved:e}=this;if(!e)return null;let{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){let{resolved:t}=this;if(!t)return z.Z;let{animation:n}=t;w(n,e)}else this.pendingTimeline=e;return z.Z}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:n,duration:r,type:o,ease:i,times:a}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){let{motionValue:e,onUpdate:t,onComplete:s,element:l,...u}=this.options,c=new nt({...u,keyframes:n,duration:r,type:o,ease:i,times:a,isGenerator:!0}),d=N(this.time);e.setWithVelocity(c.sample(d-10).value,c.sample(d).value,10)}let{onStop:s}=this.options;s&&s(),this.cancel()}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:o,damping:i,type:a}=e;return nr()&&n&&nn.has(n)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!r&&"mirror"!==o&&0!==i&&"inertia"!==a}}let na={type:"spring",stiffness:500,damping:25,restSpeed:10},ns=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),nl={type:"keyframes",duration:.8},nu={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nc=(e,{keyframes:t})=>t.length>2?nl:$.has(e)?e.startsWith("scale")?ns(t[1]):na:nu,nd=(e,t,n,r={},o,i)=>a=>{let s=v(r,e)||{},l=s.delay||r.delay||0,{elapsed:u=0}=r;u-=N(l);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-u,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:i?void 0:o};!function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:a,repeatDelay:s,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(s)&&(c={...c,...nc(e,c)}),c.duration&&(c.duration=N(c.duration)),c.repeatDelay&&(c.repeatDelay=N(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(c.duration=0,0!==c.delay||(d=!0)),(ed.current||G.c.skipAnimations)&&(d=!0,c.duration=0,c.delay=0),d&&!i&&void 0!==t.get()){let e=tR(c.keyframes,s);if(void 0!==e)return q.Wi.update(()=>{c.onUpdate(e),c.onComplete()}),new g([])}return!i&&ni.supports(c)?new ni(c):new nt(c)};function nh(e,t,{delay:n=0,transitionOverride:r,type:o}={}){var i;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=t;r&&(a=r);let u=[],d=o&&e.animationState&&e.animationState.getState()[o];for(let t in l){let r=e.getValue(t,null!==(i=e.latestValues[t])&&void 0!==i?i:null),o=l[t];if(void 0===o||d&&function({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}(d,t))continue;let s={delay:n,...v(a||{},t)},c=!1;if(window.MotionHandoffAnimation){let n=e.props[ec];if(n){let e=window.MotionHandoffAnimation(n,t,q.Wi);null!==e&&(s.startTime=e,c=!0)}}el(e,t),r.start(nd(t,r,o,e.shouldReduceMotion&&K.has(t)?{type:!1}:s,e,c));let h=r.animation;h&&u.push(h)}return s&&Promise.all(u).then(()=>{q.Wi.update(()=>{s&&function(e,t){let{transitionEnd:n={},transition:r={},...o}=c(e,t)||{};for(let t in o={...o,...n}){let n=X(o[t]);e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,ea(n))}}(e,s)})}),u}function nf(e,t,n={}){var r;let o=c(e,t,"exit"===n.type?null===(r=e.presenceContext)||void 0===r?void 0:r.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(i=n.transitionOverride);let a=o?()=>Promise.all(nh(e,o,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:o=0,staggerChildren:a,staggerDirection:s}=i;return function(e,t,n=0,r=0,o=1,i){let a=[],s=(e.variantChildren.size-1)*r,l=1===o?(e=0)=>e*r:(e=0)=>s-e*r;return Array.from(e.variantChildren).sort(np).forEach((e,r)=>{e.notify("AnimationStart",t),a.push(nf(e,t,{...i,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,o+r,a,s,n)}:()=>Promise.resolve(),{when:l}=i;if(!l)return Promise.all([a(),s(n.delay)]);{let[e,t]="beforeChildren"===l?[a,s]:[s,a];return e().then(()=>t())}}function np(e,t){return e.sortNodePosition(t)}let nm=h.length,ng=[...d].reverse(),nv=d.length;function ny(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nb(){return{animate:ny(!0),whileInView:ny(),whileHover:ny(),whileTap:ny(),whileDrag:ny(),whileFocus:ny(),exit:ny()}}class nw{constructor(e){this.isMounted=!1,this.node=e}update(){}}class nx extends nw{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>(function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t))r=Promise.all(t.map(t=>nf(e,t,n)));else if("string"==typeof t)r=nf(e,t,n);else{let o="function"==typeof t?c(e,t,n.custom):t;r=Promise.all(nh(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})})(e,t,n))),n=nb(),r=!0,l=t=>(n,r)=>{var o;let i=c(e,r,"exit"===t?null===(o=e.presenceContext)||void 0===o?void 0:o.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function u(u){let{props:c}=e,d=function e(t){if(!t)return;if(!t.isControllingVariants){let n=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(n.initial=t.props.initial),n}let n={};for(let e=0;e<nm;e++){let r=h[e],o=t.props[r];(s(o)||!1===o)&&(n[r]=o)}return n}(e.parent)||{},f=[],p=new Set,m={},g=1/0;for(let t=0;t<nv;t++){var v;let h=ng[t],y=n[h],b=void 0!==c[h]?c[h]:d[h],w=s(b),x=h===u?y.isActive:null;!1===x&&(g=t);let E=b===d[h]&&b!==c[h]&&w;if(E&&r&&e.manuallyAnimateOnMount&&(E=!1),y.protectedKeys={...m},!y.isActive&&null===x||!b&&!y.prevProp||o(b)||"boolean"==typeof b)continue;let M=(v=y.prevProp,"string"==typeof b?b!==v:!!Array.isArray(b)&&!a(b,v)),A=M||h===u&&y.isActive&&!E&&w||t>g&&w,P=!1,S=Array.isArray(b)?b:[b],V=S.reduce(l(h),{});!1===x&&(V={});let{prevResolvedValues:R={}}=y,T={...R,...V},j=t=>{A=!0,p.has(t)&&(P=!0,p.delete(t)),y.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in T){let t=V[e],n=R[e];if(!m.hasOwnProperty(e))(i(t)&&i(n)?a(t,n):t===n)?void 0!==t&&p.has(e)?j(e):y.protectedKeys[e]=!0:null!=t?j(e):p.add(e)}y.prevProp=b,y.prevResolvedValues=V,y.isActive&&(m={...m,...V}),r&&e.blockInitialAnimation&&(A=!1);let C=!(E&&M)||P;A&&C&&f.push(...S.map(e=>({animation:e,options:{type:h}})))}if(p.size){let t={};p.forEach(n=>{let r=e.getBaseTarget(n),o=e.getValue(n);o&&(o.liveStyle=!0),t[n]=null!=r?r:null}),f.push({animation:t})}let y=!!f.length;return r&&(!1===c.initial||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(y=!1),r=!1,y?t(f):Promise.resolve()}return{animateChanges:u,setActive:function(t,r){var o;if(n[t].isActive===r)return Promise.resolve();null===(o=e.variantChildren)||void 0===o||o.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;let i=u(t);for(let e in n)n[e].protectedKeys={};return i},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=nb(),r=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();o(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null===(e=this.unmountControls)||void 0===e||e.call(this)}}let nE=0;class nM extends nw{constructor(){super(...arguments),this.id=nE++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}function nA(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function nP(e){return{point:{x:e.pageX,y:e.pageY}}}let nS=e=>t=>O(t)&&e(t,nP(t));function nV(e,t,n,r){return nA(e,t,nS(n),r)}let nR=(e,t)=>Math.abs(e-t);class nT{constructor(e,t,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=nO(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,o=(e=n.offset,t={x:0,y:0},Math.sqrt(nR(e.x,t.x)**2+nR(e.y,t.y)**2)>=3);if(!r&&!o)return;let{point:i}=n,{timestamp:a}=q.frameData;this.history.push({...i,timestamp:a});let{onStart:s,onMove:l}=this.handlers;r||(s&&s(this.lastMoveEvent,n),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,n)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=nj(t,this.transformPagePoint),q.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=nO("pointercancel"===e.type?this.lastMoveEventInfo:nj(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),r&&r(e,i)},!O(e))return;this.dragSnapToOrigin=o,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||window;let i=nj(nP(e),this.transformPagePoint),{point:a}=i,{timestamp:s}=q.frameData;this.history=[{...a,timestamp:s}];let{onSessionStart:l}=t;l&&l(e,nO(i,this.history)),this.removeListeners=tN(nV(this.contextWindow,"pointermove",this.handlePointerMove),nV(this.contextWindow,"pointerup",this.handlePointerUp),nV(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),(0,q.Pn)(this.updatePoint)}}function nj(e,t){return t?{point:t(e.point)}:e}function nC(e,t){return{x:e.x-t.x,y:e.y-t.y}}function nO({point:e},t){return{point:e,delta:nC(e,nk(t)),offset:nC(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,o=nk(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>N(.1)));)n--;if(!r)return{x:0,y:0};let i=I(o.timestamp-r.timestamp);if(0===i)return{x:0,y:0};let a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(t,0)}}function nk(e){return e[e.length-1]}function nL(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function nD(e){return e.max-e.min}function nH(e,t,n,r=.5){e.origin=r,e.originPoint=tj(t.min,t.max,e.origin),e.scale=nD(n)/nD(t),e.translate=tj(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function nZ(e,t,n,r){nH(e.x,t.x,n.x,r?r.originX:void 0),nH(e.y,t.y,n.y,r?r.originY:void 0)}function nF(e,t,n){e.min=n.min+t.min,e.max=e.min+nD(t)}function nN(e,t,n){e.min=t.min-n.min,e.max=e.min+nD(t)}function nI(e,t,n){nN(e.x,t.x,n.x),nN(e.y,t.y,n.y)}function nW(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function nB(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function n_(e,t,n){return{min:nz(e,t),max:nz(e,n)}}function nz(e,t){return"number"==typeof e?e:e[t]||0}let nU=()=>({translate:0,scale:1,origin:0,originPoint:0}),n$=()=>({x:nU(),y:nU()}),nK=()=>({min:0,max:0}),nY=()=>({x:nK(),y:nK()});function nX(e){return[e("x"),e("y")]}function nG({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function nq(e){return void 0===e||1===e}function nQ({scale:e,scaleX:t,scaleY:n}){return!nq(e)||!nq(t)||!nq(n)}function nJ(e){return nQ(e)||n0(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function n0(e){var t,n;return(t=e.x)&&"0%"!==t||(n=e.y)&&"0%"!==n}function n1(e,t,n,r,o){return void 0!==o&&(e=r+o*(e-r)),r+n*(e-r)+t}function n2(e,t=0,n=1,r,o){e.min=n1(e.min,t,n,r,o),e.max=n1(e.max,t,n,r,o)}function n8(e,{x:t,y:n}){n2(e.x,t.translate,t.scale,t.originPoint),n2(e.y,n.translate,n.scale,n.originPoint)}function n6(e,t){e.min=e.min+t,e.max=e.max+t}function n4(e,t,n,r,o=.5){let i=tj(e.min,e.max,o);n2(e,t,n,i,r)}function n3(e,t){n4(e.x,t.x,t.scaleX,t.scale,t.originX),n4(e.y,t.y,t.scaleY,t.scale,t.originY)}function n5(e,t){return nG(function(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}let n9=({current:e})=>e?e.ownerDocument.defaultView:null,n7=new WeakMap;class re{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=nY(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let{dragSnapToOrigin:r}=this.getProps();this.panSession=new nT(e,{onSessionStart:e=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(nP(e).point)},onStart:(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:o}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===n||"y"===n?R[n]?null:(R[n]=!0,()=>{R[n]=!1}):R.x||R.y?null:(R.x=R.y=!0,()=>{R.x=R.y=!1}),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nX(e=>{let t=this.getAxisMotionValue(e).get()||0;if(eN.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];if(r){let e=nD(r);t=parseFloat(t)/100*e}}}this.originPoint[e]=t}),o&&q.Wi.postRender(()=>o(e,t)),el(this.visualElement,"transform");let{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},onMove:(e,t)=>{let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:o,onDrag:i}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:a}=t;if(r&&null===this.currentDirection){this.currentDirection=function(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(a),null!==this.currentDirection&&o&&o(this.currentDirection);return}this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>nX(e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,contextWindow:n9(this.visualElement)})}stop(e,t){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:r}=t;this.startAnimation(r);let{onDragEnd:o}=this.getProps();o&&q.Wi.postRender(()=>o(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!rt(e,r,this.currentDirection))return;let o=this.getAxisMotionValue(e),i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?tj(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?tj(n,e,r.max):Math.min(e,n)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}resolveConstraints(){var e;let{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,o=this.constraints;t&&nL(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=function(e,{top:t,left:n,bottom:r,right:o}){return{x:nW(e.x,n,o),y:nW(e.y,t,r)}}(r.layoutBox,t):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:n_(e,"left","right"),y:n_(e,"top","bottom")}}(n),o!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&nX(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(r.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!nL(t))return!1;let r=t.current;tp(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:o}=this.visualElement;if(!o||!o.layout)return!1;let i=function(e,t,n){let r=n5(e,n),{scroll:o}=t;return o&&(n6(r.x,o.offset.x),n6(r.y,o.offset.y)),r}(r,o.root,this.visualElement.getTransformPagePoint()),a={x:nB((e=o.layout.layoutBox).x,i.x),y:nB(e.y,i.y)};if(n){let e=n(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(a));this.hasMutatedConstraints=!!e,e&&(a=nG(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{};return Promise.all(nX(a=>{if(!rt(a,t,this.currentDirection))return;let l=s&&s[a]||{};i&&(l={min:0,max:0});let u={type:"inertia",velocity:n?e[a]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(a,u)})).then(a)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return el(this.visualElement,e),n.start(nd(e,n,0,t,this.visualElement,!1))}stopAnimation(){nX(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){nX(e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()})}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){nX(t=>{let{drag:n}=this.getProps();if(!rt(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,o=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:i}=r.layout.layoutBox[t];o.set(e[t]-tj(n,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!nL(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};nX(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){let n=t.get();r[e]=function(e,t){let n=.5,r=nD(e),o=nD(t);return o>r?n=A(t.min,t.max-r,e.min):r>o&&(n=A(e.min,e.max-o,t.min)),eA(0,1,n)}({min:n,max:n},this.constraints[e])}});let{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),nX(t=>{if(!rt(t,e,null))return;let n=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];n.set(tj(o,i,r[t]))})}addListeners(){if(!this.visualElement.current)return;n7.set(this.visualElement,this);let e=nV(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();nL(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),q.Wi.read(t);let o=nA(window,"resize",()=>this.scalePositionWithinConstraints()),i=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(nX(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),e(),r(),i&&i()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:i=.35,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:i,dragMomentum:a}}}function rt(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}class rn extends nw{constructor(e){super(e),this.removeGroupControls=z.Z,this.removeListeners=z.Z,this.controls=new re(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||z.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let rr=e=>(t,n)=>{e&&q.Wi.postRender(()=>e(t,n))};class ro extends nw{constructor(){super(...arguments),this.removePointerDownListener=z.Z}onPointerDown(e){this.session=new nT(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:n9(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:rr(e),onStart:rr(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&q.Wi.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=nV(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var ri=n(3229),ra=n(8355),rs=n(1912),rl=n(6439);let ru=(0,ra.createContext)({}),rc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function rd(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let rh={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!eI.test(e))return e;e=parseFloat(e)}let n=rd(e,t.target.x),r=rd(e,t.target.y);return`${n}% ${r}%`}},rf={},{schedule:rp,cancel:rm}=(0,n(1152).Z)(queueMicrotask,!1);class rg extends ra.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=e;Object.assign(rf,ry),o&&(t.group&&t.group.add(o),n&&n.register&&r&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),rc.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:o}=this.props,i=n.projection;return i&&(i.isPresent=o,r||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent===o||(o?i.promote():i.relegate()||q.Wi.postRender(()=>{let e=i.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),rp.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function rv(e){let[t,n]=(0,rs.oO)(),r=(0,ra.useContext)(rl.p);return(0,ri.jsx)(rg,{...e,layoutGroup:r,switchLayoutGroup:(0,ra.useContext)(ru),isPresent:t,safeToRemove:n})}let ry={borderRadius:{...rh,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:rh,borderTopRightRadius:rh,borderBottomLeftRadius:rh,borderBottomRightRadius:rh,boxShadow:{correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e0.parse(e);if(r.length>5)return e;let o=e0.createTransformer(e),i="number"!=typeof r[0]?1:0,a=n.x.scale*t.x,s=n.y.scale*t.y;r[0+i]/=a,r[1+i]/=s;let l=tj(a,s,.5);return"number"==typeof r[2+i]&&(r[2+i]/=l),"number"==typeof r[3+i]&&(r[3+i]/=l),o(r)}}},rb=(e,t)=>e.depth-t.depth;class rw{constructor(){this.children=[],this.isDirty=!1}add(e){ee(this.children,e),this.isDirty=!0}remove(e){et(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(rb),this.isDirty=!1,this.children.forEach(e)}}function rx(e){let t=es(e)?e.get():e;return Y(t)?t.toValue():t}let rE=["TopLeft","TopRight","BottomLeft","BottomRight"],rM=rE.length,rA=e=>"string"==typeof e?parseFloat(e):e,rP=e=>"number"==typeof e||eI.test(e);function rS(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let rV=rT(0,.5,ex),rR=rT(.5,.95,z.Z);function rT(e,t,n){return r=>r<e?0:r>t?1:n(A(e,t,r))}function rj(e,t){e.min=t.min,e.max=t.max}function rC(e,t){rj(e.x,t.x),rj(e.y,t.y)}function rO(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function rk(e,t,n,r,o){return e-=t,e=r+1/n*(e-r),void 0!==o&&(e=r+1/o*(e-r)),e}function rL(e,t,[n,r,o],i,a){!function(e,t=0,n=1,r=.5,o,i=e,a=e){if(eN.test(t)&&(t=parseFloat(t),t=tj(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let s=tj(i.min,i.max,r);e===i&&(s-=t),e.min=rk(e.min,t,n,s,o),e.max=rk(e.max,t,n,s,o)}(e,t[n],t[r],t[o],t.scale,i,a)}let rD=["x","scaleX","originX"],rH=["y","scaleY","originY"];function rZ(e,t,n,r){rL(e.x,t,rD,n?n.x:void 0,r?r.x:void 0),rL(e.y,t,rH,n?n.y:void 0,r?r.y:void 0)}function rF(e){return 0===e.translate&&1===e.scale}function rN(e){return rF(e.x)&&rF(e.y)}function rI(e,t){return e.min===t.min&&e.max===t.max}function rW(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function rB(e,t){return rW(e.x,t.x)&&rW(e.y,t.y)}function r_(e){return nD(e.x)/nD(e.y)}function rz(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class rU{constructor(){this.members=[]}add(e){ee(this.members,e),e.scheduleRender()}remove(e){if(et(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t;let n=this.members.findIndex(t=>e===t);if(0===n)return!1;for(let e=n;e>=0;e--){let n=this.members[e];if(!1!==n.isPresent){t=n;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let r$={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},rK="undefined"!=typeof window&&void 0!==window.MotionDebug,rY=["","X","Y","Z"],rX={visibility:"hidden"},rG=0;function rq(e,t,n,r){let{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function rQ({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(e={},n=null==t?void 0:t()){this.id=rG++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,rK&&(r$.totalNodes=r$.resolvedTargetDeltas=r$.recalculatedProjection=0),this.nodes.forEach(r1),this.nodes.forEach(r9),this.nodes.forEach(r7),this.nodes.forEach(r2),rK&&window.MotionDebug.record(r$)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new rw)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new en),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;let{layoutId:r,layout:o,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(o||r)&&(this.isLayoutDirty=!0),e){let n;let r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){let n=J.now(),r=({timestamp:t})=>{let o=t-n;o>=250&&((0,q.Pn)(r),e(o-250))};return q.Wi.read(r,!0),()=>(0,q.Pn)(r)}(r,0),rc.hasAnimatedSinceResize&&(rc.hasAnimatedSinceResize=!1,this.nodes.forEach(r5))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&i&&(r||o)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let o=this.options.transition||i.getDefaultTransition()||oi,{onLayoutAnimationStart:a,onLayoutAnimationComplete:s}=i.getProps(),l=!this.targetLayout||!rB(this.targetLayout,r)||n,u=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);let t={...v(o,"layout"),onPlay:a,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||r5(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,q.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(oe),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:n}=t.options;if(!n)return;let r=n.props[ec];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:e,layoutId:n}=t.options;window.MotionCancelOptimisedAnimation(r,"transform",q.Wi,!(e||n))}let{parent:o}=t;o&&!o.hasCheckedOptimisedAppear&&e(o)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(r6);return}this.isUpdating||this.nodes.forEach(r4),this.isUpdating=!1,this.nodes.forEach(r3),this.nodes.forEach(rJ),this.nodes.forEach(r0),this.clearAllSnapshots();let e=J.now();q.frameData.delta=eA(0,1e3/60,e-q.frameData.timestamp),q.frameData.timestamp=e,q.frameData.isProcessing=!0,q.yL.update.process(q.frameData),q.yL.preRender.process(q.frameData),q.yL.render.process(q.frameData),q.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,rp.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(r8),this.sharedNodes.forEach(ot)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,q.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){q.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=nY(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!o)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!rN(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,i=r!==this.prevTransformTemplateValue;e&&(t||nJ(this.latestValues)||i)&&(o(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let n=this.measurePageBox(),r=this.removeElementScroll(n);return e&&(r=this.removeTransform(r)),ol((t=r).x),ol(t.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){var e;let{visualElement:t}=this.options;if(!t)return nY();let n=t.measureViewportBox();if(!((null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)||this.path.some(oc))){let{scroll:e}=this.root;e&&(n6(n.x,e.offset.x),n6(n.y,e.offset.y))}return n}removeElementScroll(e){var t;let n=nY();if(rC(n,e),null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)return n;for(let t=0;t<this.path.length;t++){let r=this.path[t],{scroll:o,options:i}=r;r!==this.root&&o&&i.layoutScroll&&(o.wasRoot&&rC(n,e),n6(n.x,o.offset.x),n6(n.y,o.offset.y))}return n}applyTransform(e,t=!1){let n=nY();rC(n,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&n3(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),nJ(r.latestValues)&&n3(n,r.latestValues)}return nJ(this.latestValues)&&n3(n,this.latestValues),n}removeTransform(e){let t=nY();rC(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!n.instance||!nJ(n.latestValues))continue;nQ(n.latestValues)&&n.updateSnapshot();let r=nY();rC(r,n.measurePageBox()),rZ(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return nJ(this.latestValues)&&rZ(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==q.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t,n,r,o;let i=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=i.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=i.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=i.isSharedProjectionDirty);let a=!!this.resumingFrom||this!==i;if(!(e||a&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:s,layoutId:l}=this.options;if(this.layout&&(s||l)){if(this.resolvedRelativeTargetAt=q.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=nY(),this.relativeTargetOrigin=nY(),nI(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),rC(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=nY(),this.targetWithTransforms=nY()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),n=this.target,r=this.relativeTarget,o=this.relativeParent.target,nF(n.x,r.x,o.x),nF(n.y,r.y,o.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rC(this.target,this.layout.layoutBox),n8(this.target,this.targetDelta)):rC(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=nY(),this.relativeTargetOrigin=nY(),nI(this.relativeTargetOrigin,this.target,e.target),rC(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}rK&&r$.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||nQ(this.parent.latestValues)||n0(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;let t=this.getLead(),n=!!this.resumingFrom||this!==t,r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===q.frameData.timestamp&&(r=!1),r)return;let{layout:o,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(o||i))return;rC(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,r=!1){let o,i;let a=n.length;if(a){t.x=t.y=1;for(let s=0;s<a;s++){i=(o=n[s]).projectionDelta;let{visualElement:a}=o.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&n3(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),i&&(t.x*=i.x.scale,t.y*=i.y.scale,n8(e,i)),r&&nJ(o.latestValues)&&n3(e,o.latestValues))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,n),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=nY());let{target:l}=t;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(rO(this.prevProjectionDelta.x,this.projectionDelta.x),rO(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),nZ(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===a&&this.treeScale.y===s&&rz(this.projectionDelta.x,this.prevProjectionDelta.x)&&rz(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),rK&&r$.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if(null===(t=this.options.visualElement)||void 0===t||t.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=n$(),this.projectionDelta=n$(),this.projectionDeltaWithTransform=n$()}setAnimationOrigin(e,t=!1){let n;let r=this.snapshot,o=r?r.latestValues:{},i={...this.latestValues},a=n$();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=nY(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,d=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(oo));this.animationProgress=0,this.mixTargetDelta=t=>{let r=t/1e3;if(on(a.x,e.x,r),on(a.y,e.y,r),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,h,f,p;nI(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),f=this.relativeTarget,p=this.relativeTargetOrigin,or(f.x,p.x,s.x,r),or(f.y,p.y,s.y,r),n&&(u=this.relativeTarget,h=n,rI(u.x,h.x)&&rI(u.y,h.y))&&(this.isProjectionDirty=!1),n||(n=nY()),rC(n,this.relativeTarget)}l&&(this.animationValues=i,function(e,t,n,r,o,i){o?(e.opacity=tj(0,void 0!==n.opacity?n.opacity:1,rV(r)),e.opacityExit=tj(void 0!==t.opacity?t.opacity:1,0,rR(r))):i&&(e.opacity=tj(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let o=0;o<rM;o++){let i=`border${rE[o]}Radius`,a=rS(t,i),s=rS(n,i);(void 0!==a||void 0!==s)&&(a||(a=0),s||(s=0),0===a||0===s||rP(a)===rP(s)?(e[i]=Math.max(tj(rA(a),rA(s),r),0),(eN.test(s)||eN.test(a))&&(e[i]+="%")):e[i]=s)}(t.rotate||n.rotate)&&(e.rotate=tj(t.rotate||0,n.rotate||0,r))}(i,o,this.latestValues,r,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,q.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=q.Wi.update(()=>{rc.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){let r=es(0)?0:ea(0);return r.start(nd("",r,1e3,n)),r.animation}(0,0,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:o}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&ou(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||nY();let t=nD(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=nD(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}rC(t,n),n3(t,o),nZ(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new rU),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&rq("z",e,r,this.animationValues);for(let t=0;t<rY.length;t++)rq(`rotate${rY[t]}`,e,r,this.animationValues),rq(`skew${rY[t]}`,e,r,this.animationValues);for(let t in e.render(),r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}getProjectionStyles(e){var t,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return rX;let r={visibility:""},o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=rx(null==e?void 0:e.pointerEvents)||"",r.transform=o?o(this.latestValues,""):"none",r;let i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){let t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=rx(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!nJ(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}let a=i.animationValues||i.latestValues;this.applyTransformsToTarget(),r.transform=function(e,t,n){let r="",o=e.x.translate/t.x,i=e.y.translate/t.y,a=(null==n?void 0:n.z)||0;if((o||i||a)&&(r=`translate3d(${o}px, ${i}px, ${a}px) `),(1!==t.x||1!==t.y)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,rotateX:o,rotateY:i,skewX:a,skewY:s}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),o&&(r+=`rotateX(${o}deg) `),i&&(r+=`rotateY(${i}deg) `),a&&(r+=`skewX(${a}deg) `),s&&(r+=`skewY(${s}deg) `)}let s=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==s||1!==l)&&(r+=`scale(${s}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,a),o&&(r.transform=o(a,r.transform));let{x:s,y:l}=this.projectionDelta;for(let e in r.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,i.animationValues?r.opacity=i===this?null!==(n=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:r.opacity=i===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0,rf){if(void 0===a[e])continue;let{correct:t,applyTo:n}=rf[e],o="none"===r.transform?a[e]:t(a[e],i);if(n){let e=n.length;for(let t=0;t<e;t++)r[n[t]]=o}else r[e]=o}return this.options.layoutId&&(r.pointerEvents=i===this?rx(null==e?void 0:e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(r6),this.root.sharedNodes.clear()}}}function rJ(e){e.updateLayout()}function r0(e){var t;let n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:r}=e.layout,{animationType:o}=e.options,i=n.source!==e.layout.source;"size"===o?nX(e=>{let r=i?n.measuredBox[e]:n.layoutBox[e],o=nD(r);r.min=t[e].min,r.max=r.min+o}):ou(o,n.layoutBox,t)&&nX(r=>{let o=i?n.measuredBox[r]:n.layoutBox[r],a=nD(t[r]);o.max=o.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+a)});let a=n$();nZ(a,t,n.layoutBox);let s=n$();i?nZ(s,e.applyTransform(r,!0),n.measuredBox):nZ(s,t,n.layoutBox);let l=!rN(a),u=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:o,layout:i}=r;if(o&&i){let a=nY();nI(a,n.layoutBox,o.layoutBox);let s=nY();nI(s,t,i.layoutBox),rB(a,s)||(u=!0),r.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function r1(e){rK&&r$.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function r2(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function r8(e){e.clearSnapshot()}function r6(e){e.clearMeasurements()}function r4(e){e.isLayoutDirty=!1}function r3(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function r5(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function r9(e){e.resolveTargetDelta()}function r7(e){e.calcProjection()}function oe(e){e.resetSkewAndRotation()}function ot(e){e.removeLeadSnapshot()}function on(e,t,n){e.translate=tj(t.translate,0,n),e.scale=tj(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function or(e,t,n,r){e.min=tj(t.min,n.min,r),e.max=tj(t.max,n.max,r)}function oo(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let oi={duration:.45,ease:[.4,0,.1,1]},oa=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),os=oa("applewebkit/")&&!oa("chrome/")?Math.round:z.Z;function ol(e){e.min=os(e.min),e.max=os(e.max)}function ou(e,t,n){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(r_(t)-r_(n)))}function oc(e){var t;return e!==e.root&&(null===(t=e.scroll)||void 0===t?void 0:t.wasRoot)}let od=rQ({attachResizeListener:(e,t)=>nA(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),oh={current:void 0},of=rQ({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!oh.current){let e=new od({});e.mount(window),e.setOptions({layoutScroll:!0}),oh.current=e}return oh.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function op(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===n);let o=r["onHover"+n];o&&q.Wi.postRender(()=>o(t,nP(t)))}class om extends nw{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){let[r,o,i]=T(e,n),a=j(e=>{let{target:n}=e,r=t(e);if("function"!=typeof r||!n)return;let i=j(e=>{r(e),n.removeEventListener("pointerleave",i)});n.addEventListener("pointerleave",i,o)});return r.forEach(e=>{e.addEventListener("pointerenter",a,o)}),i}(e,e=>(op(this.node,e,"Start"),e=>op(this.node,e,"End"))))}unmount(){}}class og extends nw{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=tN(nA(this.node.current,"focus",()=>this.onFocus()),nA(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function ov(e,t,n){let{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===n);let o=r["onTap"+("End"===n?"":n)];o&&q.Wi.postRender(()=>o(t,nP(t)))}class oy extends nw{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){let[r,o,i]=T(e,n),a=e=>{let r=e.currentTarget;if(!F(e)||L.has(r))return;L.add(r);let i=t(e),a=(e,t)=>{window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",l),F(e)&&L.has(r)&&(L.delete(r),"function"==typeof i&&i(e,{success:t}))},s=e=>{a(e,n.useGlobalTarget||C(r,e.target))},l=e=>{a(e,!1)};window.addEventListener("pointerup",s,o),window.addEventListener("pointercancel",l,o)};return r.forEach(e=>{k.has(e.tagName)||-1!==e.tabIndex||null!==e.getAttribute("tabindex")||(e.tabIndex=0),(n.useGlobalTarget?window:e).addEventListener("pointerdown",a,o),e.addEventListener("focus",e=>Z(e,o),o)}),i}(e,e=>(ov(this.node,e,"Start"),(e,{success:t})=>ov(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let ob=new WeakMap,ow=new WeakMap,ox=e=>{let t=ob.get(e.target);t&&t(e)},oE=e=>{e.forEach(ox)},oM={some:0,all:1};class oA extends nw{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:o}=e,i={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:oM[r]};return function(e,t,n){let r=function({root:e,...t}){let n=e||document;ow.has(n)||ow.set(n,{});let r=ow.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(oE,{root:e,...t})),r[o]}(t);return ob.set(e,n),r.observe(e),()=>{ob.delete(e),r.unobserve(e)}}(this.node.current,i,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,o&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),i=t?n:r;i&&i(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}let oP=(0,ra.createContext)({strict:!1});var oS=n(1092);let oV=(0,ra.createContext)({});function oR(e){return o(e.animate)||h.some(t=>s(e[t]))}function oT(e){return!!(oR(e)||e.variants)}function oj(e){return Array.isArray(e)?e.join(" "):e}var oC=n(5833);let oO={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"]},ok={};for(let e in oO)ok[e]={isEnabled:t=>oO[e].some(e=>!!t[e])};let oL=Symbol.for("motionComponentSymbol");var oD=n(6341),oH=n(4406);let oZ=["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 oF(e){if("string"!=typeof e||e.includes("-"));else if(oZ.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}var oN=n(9467);let oI=e=>(t,n)=>{let r=(0,ra.useContext)(oV),i=(0,ra.useContext)(oD.O),a=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},r,i,a){let s={latestValues:function(e,t,n,r){let i={},a=r(e,{});for(let e in a)i[e]=rx(a[e]);let{initial:s,animate:l}=e,c=oR(e),d=oT(e);t&&d&&!c&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===l&&(l=t.animate));let h=!!n&&!1===n.initial,f=(h=h||!1===s)?l:s;if(f&&"boolean"!=typeof f&&!o(f)){let t=Array.isArray(f)?f:[f];for(let n=0;n<t.length;n++){let r=u(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=h?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}(r,i,a,e),renderState:t()};return n&&(s.onMount=e=>n({props:r,current:e,...s}),s.onUpdate=e=>n(e)),s})(e,t,r,i);return n?a():(0,oN.h)(a)},oW=(e,t)=>t&&"number"==typeof e?t.transform(e):e,oB={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},o_=U.length;function oz(e,t,n){let{style:r,vars:o,transformOrigin:i}=e,a=!1,s=!1;for(let e in t){let n=t[e];if($.has(e)){a=!0;continue}if(tv(e)){o[e]=n;continue}{let t=oW(n,e3[e]);e.startsWith("origin")?(s=!0,i[e]=t):r[e]=t}}if(!t.transform&&(a||n?r.transform=function(e,t,n){let r="",o=!0;for(let i=0;i<o_;i++){let a=U[i],s=e[a];if(void 0===s)continue;let l=!0;if(!(l="number"==typeof s?s===(a.startsWith("scale")?1:0):0===parseFloat(s))||n){let e=oW(s,e3[a]);if(!l){o=!1;let t=oB[a]||a;r+=`${t}(${e}) `}n&&(t[a]=e)}}return r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}(t,e.transform,n):r.transform&&(r.transform="none")),s){let{originX:e="50%",originY:t="50%",originZ:n=0}=i;r.transformOrigin=`${e} ${t} ${n}`}}let oU={offset:"stroke-dashoffset",array:"stroke-dasharray"},o$={offset:"strokeDashoffset",array:"strokeDasharray"};function oK(e,t,n){return"string"==typeof e?e:eI.transform(t+n*e)}function oY(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:i,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...u},c,d){if(oz(e,u,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:h,style:f,dimensions:p}=e;h.transform&&(p&&(f.transform=h.transform),delete h.transform),p&&(void 0!==o||void 0!==i||f.transform)&&(f.transformOrigin=function(e,t,n){let r=oK(t,e.x,e.width),o=oK(n,e.y,e.height);return`${r} ${o}`}(p,void 0!==o?o:.5,void 0!==i?i:.5)),void 0!==t&&(h.x=t),void 0!==n&&(h.y=n),void 0!==r&&(h.scale=r),void 0!==a&&function(e,t,n=1,r=0,o=!0){e.pathLength=1;let i=o?oU:o$;e[i.offset]=eI.transform(-r);let a=eI.transform(t),s=eI.transform(n);e[i.array]=`${a} ${s}`}(h,a,s,l,!1)}let oX=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),oG=()=>({...oX(),attrs:{}}),oq=e=>"string"==typeof e&&"svg"===e.toLowerCase();function oQ(e,{style:t,vars:n},r,o){for(let i in Object.assign(e.style,t,o&&o.getProjectionStyles(r)),n)e.style.setProperty(i,n[i])}let oJ=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function o0(e,t,n,r){for(let n in oQ(e,t,void 0,r),t.attrs)e.setAttribute(oJ.has(n)?n:eu(n),t.attrs[n])}function o1(e,{layout:t,layoutId:n}){return $.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!rf[e]||"opacity"===e)}function o2(e,t,n){var r;let{style:o}=e,i={};for(let a in o)(es(o[a])||t.style&&es(t.style[a])||o1(a,e)||(null===(r=null==n?void 0:n.getValue(a))||void 0===r?void 0:r.liveStyle)!==void 0)&&(i[a]=o[a]);return i}function o8(e,t,n){let r=o2(e,t,n);for(let n in e)(es(e[n])||es(t[n]))&&(r[-1!==U.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return r}let o6=["x","y","width","height","cx","cy","r"],o4={useVisualState:oI({scrapeMotionValuesFromProps:o8,createRenderState:oG,onUpdate:({props:e,prevProps:t,current:n,renderState:r,latestValues:o})=>{if(!n)return;let i=!!e.drag;if(!i){for(let e in o)if($.has(e)){i=!0;break}}if(!i)return;let a=!t;if(t)for(let n=0;n<o6.length;n++){let r=o6[n];e[r]!==t[r]&&(a=!0)}a&&q.Wi.read(()=>{!function(e,t){try{t.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(e){t.dimensions={x:0,y:0,width:0,height:0}}}(n,r),q.Wi.render(()=>{oY(r,o,oq(n.tagName),e.transformTemplate),o0(n,r)})})}})},o3={useVisualState:oI({scrapeMotionValuesFromProps:o2,createRenderState:oX})};function o5(e,t,n){for(let r in t)es(t[r])||o1(r,n)||(e[r]=t[r])}let o9=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function o7(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||o9.has(e)}let ie=e=>!o7(e);try{(W=require("@emotion/is-prop-valid").default)&&(ie=e=>e.startsWith("on")?!o7(e):W(e))}catch(e){}let it={current:null},ir={current:!1},io=[...tM,eU,e0],ii=e=>io.find(tE(e)),ia=new WeakMap,is=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class il{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:o,visualState:i},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=th,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=J.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,q.Wi.render(this.render,!1,!0))};let{latestValues:s,renderState:l,onUpdate:u}=i;this.onUpdate=u,this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=oR(t),this.isVariantNode=oT(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:c,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];void 0!==s[e]&&es(t)&&t.set(s[e],!1)}}mount(e){this.current=e,ia.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),ir.current||function(){if(ir.current=!0,oC.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>it.current=e.matches;e.addListener(t),t()}else it.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||it.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in ia.delete(this.current),this.projection&&this.projection.unmount(),(0,q.Pn)(this.notifyUpdate),(0,q.Pn)(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){let n;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let r=$.has(e),o=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&q.Wi.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{o(),i(),n&&n(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in ok){let t=ok[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):nY()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<is.length;t++){let n=is[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){for(let r in t){let o=t[r],i=n[r];if(es(o))e.addValue(r,o);else if(es(i))e.addValue(r,ea(o,{owner:e}));else if(i!==o){if(e.hasValue(r)){let t=e.getValue(r);!0===t.liveStyle?t.jump(o):t.hasAnimated||t.set(o)}else{let t=e.getStaticValue(r);e.addValue(r,ea(void 0!==t?t:o,{owner:e}))}}}for(let r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=ea(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let r=void 0===this.latestValues[e]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,e))&&void 0!==n?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=r&&("string"==typeof r&&(tm(r)||eM(r))?r=parseFloat(r):!ii(r)&&e0.test(t)&&(r=e7(e,t)),this.setBaseTarget(e,es(r)?r.get():r)),es(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let n;let{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let o=u(this.props,r,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);o&&(n=o[e])}if(r&&void 0!==n)return n;let o=this.getBaseTargetFromProps(this.props,e);return void 0===o||es(o)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new en),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class iu extends il{constructor(){super(...arguments),this.KeyframeResolver=tP}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;es(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}class ic extends iu{constructor(){super(...arguments),this.type="html",this.renderInstance=oQ}readValueFromInstance(e,t){if($.has(t)){let e=e9(t);return e&&e.default||0}{let n=window.getComputedStyle(e),r=(tv(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return n5(e,t)}build(e,t,n){oz(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return o2(e,t,n)}}class id extends iu{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=nY}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if($.has(t)){let e=e9(t);return e&&e.default||0}return t=oJ.has(t)?t:eu(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return o8(e,t,n)}build(e,t,n){oY(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){o0(e,t,n,r)}mount(e){this.isSVGTag=oq(e.tagName),super.mount(e)}}let ih=function(e){if("undefined"==typeof Proxy)return e;let t=new Map;return new Proxy((...t)=>e(...t),{get:(n,r)=>"create"===r?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}((B={animation:{Feature:nx},exit:{Feature:nM},inView:{Feature:oA},tap:{Feature:oy},focus:{Feature:og},hover:{Feature:om},pan:{Feature:ro},drag:{Feature:rn,ProjectionNode:of,MeasureLayout:rv},layout:{ProjectionNode:of,MeasureLayout:rv}},_=(e,t)=>oF(e)?new id(t):new ic(t,{allowProjection:e!==ra.Fragment}),function(e,{forwardMotionProps:t}={forwardMotionProps:!1}){return function(e){var t,n;let{preloadedFeatures:r,createVisualElement:o,useRender:i,useVisualState:a,Component:l}=e;function u(e,t){var n;let r;let u={...(0,ra.useContext)(oS._),...e,layoutId:function(e){let{layoutId:t}=e,n=(0,ra.useContext)(rl.p).id;return n&&void 0!==t?n+"-"+t:t}(e)},{isStatic:c}=u,d=function(e){let{initial:t,animate:n}=function(e,t){if(oR(e)){let{initial:t,animate:n}=e;return{initial:!1===t||s(t)?t:void 0,animate:s(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,ra.useContext)(oV));return(0,ra.useMemo)(()=>({initial:t,animate:n}),[oj(t),oj(n)])}(e),h=a(e,c);if(!c&&oC.j){(0,ra.useContext)(oP).strict;let e=function(e){let{drag:t,layout:n}=ok;if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==n?void 0:n.isEnabled(e))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(u);r=e.MeasureLayout,d.visualElement=function(e,t,n,r,o){var i,a;let{visualElement:s}=(0,ra.useContext)(oV),l=(0,ra.useContext)(oP),u=(0,ra.useContext)(oD.O),c=(0,ra.useContext)(oS._).reducedMotion,d=(0,ra.useRef)(null);r=r||l.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:s,props:n,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:c}));let h=d.current,f=(0,ra.useContext)(ru);h&&!h.projection&&o&&("html"===h.type||"svg"===h.type)&&function(e,t,n,r){let{layoutId:o,layout:i,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:!!a||s&&nL(s),visualElement:e,animationType:"string"==typeof i?i:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}(d.current,n,o,f);let p=(0,ra.useRef)(!1);(0,ra.useInsertionEffect)(()=>{h&&p.current&&h.update(n,u)});let m=n[ec],g=(0,ra.useRef)(!!m&&!(null===(i=window.MotionHandoffIsComplete)||void 0===i?void 0:i.call(window,m))&&(null===(a=window.MotionHasOptimisedAnimation)||void 0===a?void 0:a.call(window,m)));return(0,oH.L)(()=>{h&&(p.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),rp.render(h.render),g.current&&h.animationState&&h.animationState.animateChanges())}),(0,ra.useEffect)(()=>{h&&(!g.current&&h.animationState&&h.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{var e;null===(e=window.MotionHandoffMarkAsComplete)||void 0===e||e.call(window,m)}),g.current=!1))}),h}(l,h,u,o,e.ProjectionNode)}return(0,ri.jsxs)(oV.Provider,{value:d,children:[r&&d.visualElement?(0,ri.jsx)(r,{visualElement:d.visualElement,...u}):null,i(l,e,(n=d.visualElement,(0,ra.useCallback)(e=>{e&&h.onMount&&h.onMount(e),n&&(e?n.mount(e):n.unmount()),t&&("function"==typeof t?t(e):nL(t)&&(t.current=e))},[n])),h,c,d.visualElement)]})}r&&function(e){for(let t in e)ok[t]={...ok[t],...e[t]}}(r),u.displayName="motion.".concat("string"==typeof l?l:"create(".concat(null!==(n=null!==(t=l.displayName)&&void 0!==t?t:l.name)&&void 0!==n?n:"",")"));let c=(0,ra.forwardRef)(u);return c[oL]=l,c}({...oF(e)?o4:o3,preloadedFeatures:B,useRender:function(e=!1){return(t,n,r,{latestValues:o},i)=>{let a=(oF(t)?function(e,t,n,r){let o=(0,ra.useMemo)(()=>{let n=oG();return oY(n,t,oq(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};o5(t,e.style,e),o.style={...t,...o.style}}return o}:function(e,t){let n={},r=function(e,t){let n=e.style||{},r={};return o5(r,n,e),Object.assign(r,function({transformTemplate:e},t){return(0,ra.useMemo)(()=>{let n=oX();return oz(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),r}(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n})(n,o,i,t),s=function(e,t,n){let r={};for(let o in e)("values"!==o||"object"!=typeof e.values)&&(ie(o)||!0===n&&o7(o)||!t&&!o7(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(n,"string"==typeof t,e),l=t!==ra.Fragment?{...s,...a,ref:r}:{},{children:u}=n,c=(0,ra.useMemo)(()=>es(u)?u.get():u,[u]);return(0,ra.createElement)(t,{...l,children:c})}}(t),createVisualElement:_,Component:e})}))},6629:function(e,t,n){n.d(t,{c:function(){return r}});let r={skipAnimations:!1,useManualTiming:!1}},5833:function(e,t,n){n.d(t,{j:function(){return r}});let r="undefined"!=typeof window},9467:function(e,t,n){n.d(t,{h:function(){return o}});var r=n(8355);function o(e){let t=(0,r.useRef)(null);return null===t.current&&(t.current=e()),t.current}},4406:function(e,t,n){n.d(t,{L:function(){return o}});var r=n(8355);let o=n(5833).j?r.useLayoutEffect:r.useEffect},925:function(e,t,n){n.d(t,{Z:function(){return r}});let r=e=>e},8521:function(e,t,n){n.d(t,{Am:function(){return v},x7:function(){return E}});var r=n(8355),o=n(7171),i=e=>{switch(e){case"success":return l;case"info":return c;case"warning":return u;case"error":return d;default:return null}},a=Array(12).fill(0),s=e=>{let{visible:t,className:n}=e;return r.createElement("div",{className:["sonner-loading-wrapper",n].filter(Boolean).join(" "),"data-visible":t},r.createElement("div",{className:"sonner-spinner"},a.map((e,t)=>r.createElement("div",{className:"sonner-loading-bar",key:"spinner-bar-".concat(t)}))))},l=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},r.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),u=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},r.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),c=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},r.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),d=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},r.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),h=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},r.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),r.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),f=()=>{let[e,t]=r.useState(document.hidden);return r.useEffect(()=>{let e=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)},[]),e},p=1,m=new class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,o="number"==typeof(null==e?void 0:e.id)||(null==(t=e.id)?void 0:t.length)>0?e.id:p++,i=this.toasts.find(e=>e.id===o),a=void 0===e.dismissible||e.dismissible;return i?this.toasts=this.toasts.map(t=>t.id===o?(this.publish({...t,...e,id:o,title:n}),{...t,...e,id:o,dismissible:a,title:n}):t):this.addToast({title:n,...r,dismissible:a,id:o}),o},this.dismiss=e=>(e||this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{let n;if(!t)return;void 0!==t.loading&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!=typeof t.description?t.description:void 0}));let o=e instanceof Promise?e:e(),i=void 0!==n,a,s=o.then(async e=>{if(a=["resolve",e],r.isValidElement(e))i=!1,this.create({id:n,type:"default",message:e});else if(g(e)&&!e.ok){i=!1;let r="function"==typeof t.error?await t.error("HTTP error! status: ".concat(e.status)):t.error,o="function"==typeof t.description?await t.description("HTTP error! status: ".concat(e.status)):t.description;this.create({id:n,type:"error",message:r,description:o})}else if(void 0!==t.success){i=!1;let r="function"==typeof t.success?await t.success(e):t.success,o="function"==typeof t.description?await t.description(e):t.description;this.create({id:n,type:"success",message:r,description:o})}}).catch(async e=>{if(a=["reject",e],void 0!==t.error){i=!1;let r="function"==typeof t.error?await t.error(e):t.error,o="function"==typeof t.description?await t.description(e):t.description;this.create({id:n,type:"error",message:r,description:o})}}).finally(()=>{var e;i&&(this.dismiss(n),n=void 0),null==(e=t.finally)||e.call(t)}),l=()=>new Promise((e,t)=>s.then(()=>"reject"===a[0]?t(a[1]):e(a[1])).catch(t));return"string"!=typeof n&&"number"!=typeof n?{unwrap:l}:Object.assign(n,{unwrap:l})},this.custom=(e,t)=>{let n=(null==t?void 0:t.id)||p++;return this.create({jsx:e(n),id:n,...t}),n},this.subscribers=[],this.toasts=[]}},g=e=>e&&"object"==typeof e&&"ok"in e&&"boolean"==typeof e.ok&&"status"in e&&"number"==typeof e.status,v=Object.assign((e,t)=>{let n=(null==t?void 0:t.id)||p++;return m.addToast({title:e,...t,id:n}),n},{success:m.success,info:m.info,warning:m.warning,error:m.error,custom:m.custom,message:m.message,promise:m.promise,dismiss:m.dismiss,loading:m.loading},{getHistory:()=>m.toasts});function y(e){return void 0!==e.label}function b(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")}!function(e){let{insertAt:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e||"undefined"==typeof document)return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===t&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}(':where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}\n');var w=e=>{var t,n,o,a,l,u,c,d,p,m,g,v,w,x;let{invert:E,toast:M,unstyled:A,interacting:P,setHeights:S,visibleToasts:V,heights:R,index:T,toasts:j,expanded:C,removeToast:O,defaultRichColors:k,closeButton:L,style:D,cancelButtonStyle:H,actionButtonStyle:Z,className:F="",descriptionClassName:N="",duration:I,position:W,gap:B,loadingIcon:_,expandByDefault:z,classNames:U,icons:$,closeButtonAriaLabel:K="Close toast",pauseWhenPageIsHidden:Y}=e,[X,G]=r.useState(null),[q,Q]=r.useState(null),[J,ee]=r.useState(!1),[et,en]=r.useState(!1),[er,eo]=r.useState(!1),[ei,ea]=r.useState(!1),[es,el]=r.useState(!1),[eu,ec]=r.useState(0),[ed,eh]=r.useState(0),ef=r.useRef(M.duration||I||4e3),ep=r.useRef(null),em=r.useRef(null),eg=0===T,ev=T+1<=V,ey=M.type,eb=!1!==M.dismissible,ew=M.className||"",ex=M.descriptionClassName||"",eE=r.useMemo(()=>R.findIndex(e=>e.toastId===M.id)||0,[R,M.id]),eM=r.useMemo(()=>{var e;return null!=(e=M.closeButton)?e:L},[M.closeButton,L]),eA=r.useMemo(()=>M.duration||I||4e3,[M.duration,I]),eP=r.useRef(0),eS=r.useRef(0),eV=r.useRef(0),eR=r.useRef(null),[eT,ej]=W.split("-"),eC=r.useMemo(()=>R.reduce((e,t,n)=>n>=eE?e:e+t.height,0),[R,eE]),eO=f(),ek=M.invert||E,eL="loading"===ey;eS.current=r.useMemo(()=>eE*B+eC,[eE,eC]),r.useEffect(()=>{ef.current=eA},[eA]),r.useEffect(()=>{ee(!0)},[]),r.useEffect(()=>{let e=em.current;if(e){let t=e.getBoundingClientRect().height;return eh(t),S(e=>[{toastId:M.id,height:t,position:M.position},...e]),()=>S(e=>e.filter(e=>e.toastId!==M.id))}},[S,M.id]),r.useLayoutEffect(()=>{if(!J)return;let e=em.current,t=e.style.height;e.style.height="auto";let n=e.getBoundingClientRect().height;e.style.height=t,eh(n),S(e=>e.find(e=>e.toastId===M.id)?e.map(e=>e.toastId===M.id?{...e,height:n}:e):[{toastId:M.id,height:n,position:M.position},...e])},[J,M.title,M.description,S,M.id]);let eD=r.useCallback(()=>{en(!0),ec(eS.current),S(e=>e.filter(e=>e.toastId!==M.id)),setTimeout(()=>{O(M)},200)},[M,O,S,eS]);return r.useEffect(()=>{let e;if((!M.promise||"loading"!==ey)&&M.duration!==1/0&&"loading"!==M.type)return C||P||Y&&eO?(()=>{if(eV.current<eP.current){let e=new Date().getTime()-eP.current;ef.current=ef.current-e}eV.current=new Date().getTime()})():ef.current!==1/0&&(eP.current=new Date().getTime(),e=setTimeout(()=>{var e;null==(e=M.onAutoClose)||e.call(M,M),eD()},ef.current)),()=>clearTimeout(e)},[C,P,M,ey,Y,eO,eD]),r.useEffect(()=>{M.delete&&eD()},[eD,M.delete]),r.createElement("li",{tabIndex:0,ref:em,className:b(F,ew,null==U?void 0:U.toast,null==(t=null==M?void 0:M.classNames)?void 0:t.toast,null==U?void 0:U.default,null==U?void 0:U[ey],null==(n=null==M?void 0:M.classNames)?void 0:n[ey]),"data-sonner-toast":"","data-rich-colors":null!=(o=M.richColors)?o:k,"data-styled":!(M.jsx||M.unstyled||A),"data-mounted":J,"data-promise":!!M.promise,"data-swiped":es,"data-removed":et,"data-visible":ev,"data-y-position":eT,"data-x-position":ej,"data-index":T,"data-front":eg,"data-swiping":er,"data-dismissible":eb,"data-type":ey,"data-invert":ek,"data-swipe-out":ei,"data-swipe-direction":q,"data-expanded":!!(C||z&&J),style:{"--index":T,"--toasts-before":T,"--z-index":j.length-T,"--offset":"".concat(et?eu:eS.current,"px"),"--initial-height":z?"auto":"".concat(ed,"px"),...D,...M.style},onPointerDown:e=>{eL||!eb||(ep.current=new Date,ec(eS.current),e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(eo(!0),eR.current={x:e.clientX,y:e.clientY}))},onPointerUp:()=>{var e,t,n,r;if(ei||!eb)return;eR.current=null;let o=Number((null==(e=em.current)?void 0:e.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),i=Number((null==(t=em.current)?void 0:t.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),a=new Date().getTime()-(null==(n=ep.current)?void 0:n.getTime()),s="x"===X?o:i;if(Math.abs(s)>=20||Math.abs(s)/a>.11){ec(eS.current),null==(r=M.onDismiss)||r.call(M,M),Q("x"===X?o>0?"right":"left":i>0?"down":"up"),eD(),ea(!0),el(!1);return}eo(!1),G(null)},onPointerMove:t=>{var n,r,o,i;if(!eR.current||!eb||(null==(n=window.getSelection())?void 0:n.toString().length)>0)return;let a=t.clientY-eR.current.y,s=t.clientX-eR.current.x,l=null!=(r=e.swipeDirections)?r:function(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}(W);!X&&(Math.abs(s)>1||Math.abs(a)>1)&&G(Math.abs(s)>Math.abs(a)?"x":"y");let u={x:0,y:0};"y"===X?(l.includes("top")||l.includes("bottom"))&&(l.includes("top")&&a<0||l.includes("bottom")&&a>0)&&(u.y=a):"x"===X&&(l.includes("left")||l.includes("right"))&&(l.includes("left")&&s<0||l.includes("right")&&s>0)&&(u.x=s),(Math.abs(u.x)>0||Math.abs(u.y)>0)&&el(!0),null==(o=em.current)||o.style.setProperty("--swipe-amount-x","".concat(u.x,"px")),null==(i=em.current)||i.style.setProperty("--swipe-amount-y","".concat(u.y,"px"))}},eM&&!M.jsx?r.createElement("button",{"aria-label":K,"data-disabled":eL,"data-close-button":!0,onClick:eL||!eb?()=>{}:()=>{var e;eD(),null==(e=M.onDismiss)||e.call(M,M)},className:b(null==U?void 0:U.closeButton,null==(a=null==M?void 0:M.classNames)?void 0:a.closeButton)},null!=(l=null==$?void 0:$.close)?l:h):null,M.jsx||(0,r.isValidElement)(M.title)?M.jsx?M.jsx:"function"==typeof M.title?M.title():M.title:r.createElement(r.Fragment,null,ey||M.icon||M.promise?r.createElement("div",{"data-icon":"",className:b(null==U?void 0:U.icon,null==(u=null==M?void 0:M.classNames)?void 0:u.icon)},M.promise||"loading"===M.type&&!M.icon?M.icon||(null!=$&&$.loading?r.createElement("div",{className:b(null==U?void 0:U.loader,null==(v=null==M?void 0:M.classNames)?void 0:v.loader,"sonner-loader"),"data-visible":"loading"===ey},$.loading):_?r.createElement("div",{className:b(null==U?void 0:U.loader,null==(w=null==M?void 0:M.classNames)?void 0:w.loader,"sonner-loader"),"data-visible":"loading"===ey},_):r.createElement(s,{className:b(null==U?void 0:U.loader,null==(x=null==M?void 0:M.classNames)?void 0:x.loader),visible:"loading"===ey})):null,"loading"!==M.type?M.icon||(null==$?void 0:$[ey])||i(ey):null):null,r.createElement("div",{"data-content":"",className:b(null==U?void 0:U.content,null==(c=null==M?void 0:M.classNames)?void 0:c.content)},r.createElement("div",{"data-title":"",className:b(null==U?void 0:U.title,null==(d=null==M?void 0:M.classNames)?void 0:d.title)},"function"==typeof M.title?M.title():M.title),M.description?r.createElement("div",{"data-description":"",className:b(N,ex,null==U?void 0:U.description,null==(p=null==M?void 0:M.classNames)?void 0:p.description)},"function"==typeof M.description?M.description():M.description):null),(0,r.isValidElement)(M.cancel)?M.cancel:M.cancel&&y(M.cancel)?r.createElement("button",{"data-button":!0,"data-cancel":!0,style:M.cancelButtonStyle||H,onClick:e=>{var t,n;y(M.cancel)&&eb&&(null==(n=(t=M.cancel).onClick)||n.call(t,e),eD())},className:b(null==U?void 0:U.cancelButton,null==(m=null==M?void 0:M.classNames)?void 0:m.cancelButton)},M.cancel.label):null,(0,r.isValidElement)(M.action)?M.action:M.action&&y(M.action)?r.createElement("button",{"data-button":!0,"data-action":!0,style:M.actionButtonStyle||Z,onClick:e=>{var t,n;y(M.action)&&(null==(n=(t=M.action).onClick)||n.call(t,e),e.defaultPrevented||eD())},className:b(null==U?void 0:U.actionButton,null==(g=null==M?void 0:M.classNames)?void 0:g.actionButton)},M.action.label):null))};function x(){if("undefined"==typeof window||"undefined"==typeof document)return"ltr";let e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}var E=(0,r.forwardRef)(function(e,t){let{invert:n,position:i="bottom-right",hotkey:a=["altKey","KeyT"],expand:s,closeButton:l,className:u,offset:c,mobileOffset:d,theme:h="light",richColors:f,duration:p,style:g,visibleToasts:v=3,toastOptions:y,dir:b=x(),gap:E=14,loadingIcon:M,icons:A,containerAriaLabel:P="Notifications",pauseWhenPageIsHidden:S}=e,[V,R]=r.useState([]),T=r.useMemo(()=>Array.from(new Set([i].concat(V.filter(e=>e.position).map(e=>e.position)))),[V,i]),[j,C]=r.useState([]),[O,k]=r.useState(!1),[L,D]=r.useState(!1),[H,Z]=r.useState("system"!==h?h:"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),F=r.useRef(null),N=a.join("+").replace(/Key/g,"").replace(/Digit/g,""),I=r.useRef(null),W=r.useRef(!1),B=r.useCallback(e=>{R(t=>{var n;return null!=(n=t.find(t=>t.id===e.id))&&n.delete||m.dismiss(e.id),t.filter(t=>{let{id:n}=t;return n!==e.id})})},[]);return r.useEffect(()=>m.subscribe(e=>{if(e.dismiss){R(t=>t.map(t=>t.id===e.id?{...t,delete:!0}:t));return}setTimeout(()=>{o.flushSync(()=>{R(t=>{let n=t.findIndex(t=>t.id===e.id);return -1!==n?[...t.slice(0,n),{...t[n],...e},...t.slice(n+1)]:[e,...t]})})})}),[]),r.useEffect(()=>{if("system"!==h){Z(h);return}if("system"===h&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?Z("dark"):Z("light")),"undefined"==typeof window)return;let e=window.matchMedia("(prefers-color-scheme: dark)");try{e.addEventListener("change",e=>{let{matches:t}=e;Z(t?"dark":"light")})}catch(t){e.addListener(e=>{let{matches:t}=e;try{Z(t?"dark":"light")}catch(e){console.error(e)}})}},[h]),r.useEffect(()=>{V.length<=1&&k(!1)},[V]),r.useEffect(()=>{let e=e=>{var t,n;a.every(t=>e[t]||e.code===t)&&(k(!0),null==(t=F.current)||t.focus()),"Escape"===e.code&&(document.activeElement===F.current||null!=(n=F.current)&&n.contains(document.activeElement))&&k(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[a]),r.useEffect(()=>{if(F.current)return()=>{I.current&&(I.current.focus({preventScroll:!0}),I.current=null,W.current=!1)}},[F.current]),r.createElement("section",{ref:t,"aria-label":"".concat(P," ").concat(N),tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},T.map((t,o)=>{var i;let a;let[h,m]=t.split("-");return V.length?r.createElement("ol",{key:t,dir:"auto"===b?x():b,tabIndex:-1,ref:F,className:u,"data-sonner-toaster":!0,"data-theme":H,"data-y-position":h,"data-lifted":O&&V.length>1&&!s,"data-x-position":m,style:{"--front-toast-height":"".concat((null==(i=j[0])?void 0:i.height)||0,"px"),"--width":"".concat(356,"px"),"--gap":"".concat(E,"px"),...g,...(a={},[c,d].forEach((e,t)=>{let n=1===t,r=n?"--mobile-offset":"--offset",o=n?"16px":"32px";function i(e){["top","right","bottom","left"].forEach(t=>{a["".concat(r,"-").concat(t)]="number"==typeof e?"".concat(e,"px"):e})}"number"==typeof e||"string"==typeof e?i(e):"object"==typeof e?["top","right","bottom","left"].forEach(t=>{void 0===e[t]?a["".concat(r,"-").concat(t)]=o:a["".concat(r,"-").concat(t)]="number"==typeof e[t]?"".concat(e[t],"px"):e[t]}):i(o)}),a)},onBlur:e=>{W.current&&!e.currentTarget.contains(e.relatedTarget)&&(W.current=!1,I.current&&(I.current.focus({preventScroll:!0}),I.current=null))},onFocus:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||W.current||(W.current=!0,I.current=e.relatedTarget)},onMouseEnter:()=>k(!0),onMouseMove:()=>k(!0),onMouseLeave:()=>{L||k(!1)},onPointerDown:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||D(!0)},onPointerUp:()=>D(!1)},V.filter(e=>!e.position&&0===o||e.position===t).map((o,i)=>{var a,u;return r.createElement(w,{key:o.id,icons:A,index:i,toast:o,defaultRichColors:f,duration:null!=(a=null==y?void 0:y.duration)?a:p,className:null==y?void 0:y.className,descriptionClassName:null==y?void 0:y.descriptionClassName,invert:n,visibleToasts:v,closeButton:null!=(u=null==y?void 0:y.closeButton)?u:l,interacting:L,position:t,style:null==y?void 0:y.style,unstyled:null==y?void 0:y.unstyled,classNames:null==y?void 0:y.classNames,cancelButtonStyle:null==y?void 0:y.cancelButtonStyle,actionButtonStyle:null==y?void 0:y.actionButtonStyle,removeToast:B,toasts:V.filter(e=>e.position==o.position),heights:j.filter(e=>e.position==o.position),setHeights:C,expandByDefault:s,gap:E,loadingIcon:M,expanded:O,pauseWhenPageIsHidden:S,swipeDirections:e.swipeDirections})})):null}))})},3813:function(e,t,n){n.d(t,{m6:function(){return X}});let r=e=>{let t=s(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{let n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),o(n,t)||a(e)},getConflictingClassGroupIds:(e,t)=>{let o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}},o=(e,t)=>{if(0===e.length)return t.classGroupId;let n=e[0],r=t.nextPart.get(n),i=r?o(e.slice(1),r):void 0;if(i)return i;if(0===t.validators.length)return;let a=e.join("-");return t.validators.find(({validator:e})=>e(a))?.classGroupId},i=/^\[(.+)\]$/,a=e=>{if(i.test(e)){let t=i.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},s=e=>{let{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return d(Object.entries(e.classGroups),n).forEach(([e,n])=>{l(n,r,e,t)}),r},l=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){(""===e?t:u(t,e)).classGroupId=n;return}if("function"==typeof e){if(c(e)){l(e(r),t,n,r);return}t.validators.push({validator:e,classGroupId:n});return}Object.entries(e).forEach(([e,o])=>{l(o,u(t,e),n,r)})})},u=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},c=e=>e.isThemeGetter,d=(e,t)=>t?e.map(([e,n])=>[e,n.map(e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,n])=>[t+e,n])):e)]):e,h=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=new Map,r=new Map,o=(o,i)=>{n.set(o,i),++t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(o(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):o(e,t)}}},f=e=>{let{separator:t,experimentalParseClassName:n}=e,r=1===t.length,o=t[0],i=t.length,a=e=>{let n;let a=[],s=0,l=0;for(let u=0;u<e.length;u++){let c=e[u];if(0===s){if(c===o&&(r||e.slice(u,u+i)===t)){a.push(e.slice(l,u)),l=u+i;continue}if("/"===c){n=u;continue}}"["===c?s++:"]"===c&&s--}let u=0===a.length?e:e.substring(l),c=u.startsWith("!"),d=c?u.substring(1):u;return{modifiers:a,hasImportantModifier:c,baseClassName:d,maybePostfixModifierPosition:n&&n>l?n-l:void 0}};return n?e=>n({className:e,parseClassName:a}):a},p=e=>{if(e.length<=1)return e;let t=[],n=[];return e.forEach(e=>{"["===e[0]?(t.push(...n.sort(),e),n=[]):n.push(e)}),t.push(...n.sort()),t},m=e=>({cache:h(e.cacheSize),parseClassName:f(e),...r(e)}),g=/\s+/,v=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],a=e.trim().split(g),s="";for(let e=a.length-1;e>=0;e-=1){let t=a[e],{modifiers:l,hasImportantModifier:u,baseClassName:c,maybePostfixModifierPosition:d}=n(t),h=!!d,f=r(h?c.substring(0,d):c);if(!f){if(!h||!(f=r(c))){s=t+(s.length>0?" "+s:s);continue}h=!1}let m=p(l).join(":"),g=u?m+"!":m,v=g+f;if(i.includes(v))continue;i.push(v);let y=o(f,h);for(let e=0;e<y.length;++e){let t=y[e];i.push(g+t)}s=t+(s.length>0?" "+s:s)}return s};function y(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=b(e))&&(r&&(r+=" "),r+=t);return r}let b=e=>{let t;if("string"==typeof e)return e;let n="";for(let r=0;r<e.length;r++)e[r]&&(t=b(e[r]))&&(n&&(n+=" "),n+=t);return n},w=e=>{let t=t=>t[e]||[];return t.isThemeGetter=!0,t},x=/^\[(?:([a-z-]+):)?(.+)\]$/i,E=/^\d+\/\d+$/,M=new Set(["px","full","screen"]),A=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,P=/\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$/,S=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,V=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,R=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,T=e=>C(e)||M.has(e)||E.test(e),j=e=>z(e,"length",U),C=e=>!!e&&!Number.isNaN(Number(e)),O=e=>z(e,"number",C),k=e=>!!e&&Number.isInteger(Number(e)),L=e=>e.endsWith("%")&&C(e.slice(0,-1)),D=e=>x.test(e),H=e=>A.test(e),Z=new Set(["length","size","percentage"]),F=e=>z(e,Z,$),N=e=>z(e,"position",$),I=new Set(["image","url"]),W=e=>z(e,I,Y),B=e=>z(e,"",K),_=()=>!0,z=(e,t,n)=>{let r=x.exec(e);return!!r&&(r[1]?"string"==typeof t?r[1]===t:t.has(r[1]):n(r[2]))},U=e=>P.test(e)&&!S.test(e),$=()=>!1,K=e=>V.test(e),Y=e=>R.test(e),X=function(e,...t){let n,r,o;let i=function(s){return r=(n=m(t.reduce((e,t)=>t(e),e()))).cache.get,o=n.cache.set,i=a,a(s)};function a(e){let t=r(e);if(t)return t;let i=v(e,n);return o(e,i),i}return function(){return i(y.apply(null,arguments))}}(()=>{let e=w("colors"),t=w("spacing"),n=w("blur"),r=w("brightness"),o=w("borderColor"),i=w("borderRadius"),a=w("borderSpacing"),s=w("borderWidth"),l=w("contrast"),u=w("grayscale"),c=w("hueRotate"),d=w("invert"),h=w("gap"),f=w("gradientColorStops"),p=w("gradientColorStopPositions"),m=w("inset"),g=w("margin"),v=w("opacity"),y=w("padding"),b=w("saturate"),x=w("scale"),E=w("sepia"),M=w("skew"),A=w("space"),P=w("translate"),S=()=>["auto","contain","none"],V=()=>["auto","hidden","clip","visible","scroll"],R=()=>["auto",D,t],Z=()=>[D,t],I=()=>["",T,j],z=()=>["auto",C,D],U=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],K=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Y=()=>["start","end","center","between","around","evenly","stretch"],X=()=>["","0",D],G=()=>["auto","avoid","all","avoid-page","page","left","right","column"],q=()=>[C,D];return{cacheSize:500,separator:":",theme:{colors:[_],spacing:[T,j],blur:["none","",H,D],brightness:q(),borderColor:[e],borderRadius:["none","","full",H,D],borderSpacing:Z(),borderWidth:I(),contrast:q(),grayscale:X(),hueRotate:q(),invert:X(),gap:Z(),gradientColorStops:[e],gradientColorStopPositions:[L,j],inset:R(),margin:R(),opacity:q(),padding:Z(),saturate:q(),scale:q(),sepia:X(),skew:q(),space:Z(),translate:Z()},classGroups:{aspect:[{aspect:["auto","square","video",D]}],container:["container"],columns:[{columns:[H]}],"break-after":[{"break-after":G()}],"break-before":[{"break-before":G()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...U(),D]}],overflow:[{overflow:V()}],"overflow-x":[{"overflow-x":V()}],"overflow-y":[{"overflow-y":V()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",k,D]}],basis:[{basis:R()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",D]}],grow:[{grow:X()}],shrink:[{shrink:X()}],order:[{order:["first","last","none",k,D]}],"grid-cols":[{"grid-cols":[_]}],"col-start-end":[{col:["auto",{span:["full",k,D]},D]}],"col-start":[{"col-start":z()}],"col-end":[{"col-end":z()}],"grid-rows":[{"grid-rows":[_]}],"row-start-end":[{row:["auto",{span:[k,D]},D]}],"row-start":[{"row-start":z()}],"row-end":[{"row-end":z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",D]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",D]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...Y()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Y(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Y(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[A]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[A]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",D,t]}],"min-w":[{"min-w":[D,t,"min","max","fit"]}],"max-w":[{"max-w":[D,t,"none","full","min","max","fit","prose",{screen:[H]},H]}],h:[{h:[D,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[D,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[D,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[D,t,"auto","min","max","fit"]}],"font-size":[{text:["base",H,j]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",O]}],"font-family":[{font:[_]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",D]}],"line-clamp":[{"line-clamp":["none",C,O]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",T,D]}],"list-image":[{"list-image":["none",D]}],"list-style-type":[{list:["none","disc","decimal",D]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",T,j]}],"underline-offset":[{"underline-offset":["auto",T,D]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",D]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",D]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...U(),N]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",F]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},W]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[p]}],"gradient-via-pos":[{via:[p]}],"gradient-to-pos":[{to:[p]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...$(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:$()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...$()]}],"outline-offset":[{"outline-offset":[T,D]}],"outline-w":[{outline:[T,j]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:I()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[T,j]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",H,B]}],"shadow-color":[{shadow:[_]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...K(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":K()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",H,D]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[b]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",D]}],duration:[{duration:q()}],ease:[{ease:["linear","in","out","in-out",D]}],delay:[{delay:q()}],animate:[{animate:["none","spin","ping","pulse","bounce",D]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[k,D]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[M]}],"skew-y":[{"skew-y":[M]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",D]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",D]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":Z()}],"scroll-mx":[{"scroll-mx":Z()}],"scroll-my":[{"scroll-my":Z()}],"scroll-ms":[{"scroll-ms":Z()}],"scroll-me":[{"scroll-me":Z()}],"scroll-mt":[{"scroll-mt":Z()}],"scroll-mr":[{"scroll-mr":Z()}],"scroll-mb":[{"scroll-mb":Z()}],"scroll-ml":[{"scroll-ml":Z()}],"scroll-p":[{"scroll-p":Z()}],"scroll-px":[{"scroll-px":Z()}],"scroll-py":[{"scroll-py":Z()}],"scroll-ps":[{"scroll-ps":Z()}],"scroll-pe":[{"scroll-pe":Z()}],"scroll-pt":[{"scroll-pt":Z()}],"scroll-pr":[{"scroll-pr":Z()}],"scroll-pb":[{"scroll-pb":Z()}],"scroll-pl":[{"scroll-pl":Z()}],"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",D]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[T,j,O]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}})}}]);