exports.id=7919,exports.ids=[7919],exports.modules={94348:(e,t)=>{"use strict";t.J_=t.zJ=t.Ry=void 0;var r=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},n=new WeakMap,o=new WeakMap,i={},a=0,l=function(e){return e&&(e.host||l(e.parentNode))},s=function(e,t,r,s){var u=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=l(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});i[r]||(i[r]=new WeakMap);var c=i[r],f=[],d=new Set,p=new Set(u),m=function(e){!e||d.has(e)||(d.add(e),m(e.parentNode))};u.forEach(m);var h=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(d.has(e))h(e);else try{var t=e.getAttribute(s),i=null!==t&&"false"!==t,a=(n.get(e)||0)+1,l=(c.get(e)||0)+1;n.set(e,a),c.set(e,l),f.push(e),1===a&&i&&o.set(e,!0),1===l&&e.setAttribute(r,"true"),i||e.setAttribute(s,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return h(t),d.clear(),a++,function(){f.forEach(function(e){var t=n.get(e)-1,i=c.get(e)-1;n.set(e,t),c.set(e,i),t||(o.has(e)||e.removeAttribute(s),o.delete(e)),i||e.removeAttribute(r)}),--a||(n=new WeakMap,n=new WeakMap,o=new WeakMap,i={})}};t.Ry=function(e,t,n){void 0===n&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),i=t||r(e);return i?(o.push.apply(o,Array.from(i.querySelectorAll("[aria-live]"))),s(o,i,n,"aria-hidden")):function(){return null}},t.zJ=function(e,t,n){void 0===n&&(n="data-inert-ed");var o=t||r(e);return o?s(e,o,n,"inert"):function(){return null}},t.J_=function(){return"undefined"!=typeof HTMLElement&&HTMLElement.prototype.hasOwnProperty("inert")}},70882:e=>{e.exports.isNode="[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)},57643:(e,t,r)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.setNonce=function(e){n=e},t.getNonce=function(){return n||r.nc}},7382:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(75593);/**
 * @license lucide-react v0.446.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let o=(0,n.Z)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]])},37004:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(75593);/**
 * @license lucide-react v0.446.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let o=(0,n.Z)("Package",[["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]])},75502:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return n}}),r(81920);let n=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];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)},31566:(e,t,r)=>{"use strict";function n(e,t,r,n){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return n}}),r(81920),("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)},41297:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});let n=r(82147),o=n._(r(9885)),i=r(60052),a=r(20231),l=r(16298),s=r(18175),u=r(75502),c=r(10713),f=r(82428),d=r(51658),p=r(31566),m=r(57488),h=r(66165);function g(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let b=o.default.forwardRef(function(e,t){let r,n;let{href:l,as:b,children:y,prefetch:v=null,passHref:w,replace:x,shallow:_,scroll:E,locale:S,onClick:R,onMouseEnter:P,onTouchStart:O,legacyBehavior:j=!1,...C}=e;r=y,j&&("string"==typeof r||"number"==typeof r)&&(r=o.default.createElement("a",null,r));let k=o.default.useContext(c.RouterContext),M=o.default.useContext(f.AppRouterContext),N=null!=k?k:M,T=!k,A=!1!==v,L=null===v?h.PrefetchKind.AUTO:h.PrefetchKind.FULL,{href:W,as:z}=o.default.useMemo(()=>{if(!k){let e=g(l);return{href:e,as:b?g(b):e}}let[e,t]=(0,i.resolveHref)(k,l,!0);return{href:e,as:b?(0,i.resolveHref)(k,b):t||e}},[k,l,b]),I=o.default.useRef(W),D=o.default.useRef(z);j&&(n=o.default.Children.only(r));let F=j?n&&"object"==typeof n&&n.ref:t,[B,$,U]=(0,d.useIntersection)({rootMargin:"200px"}),V=o.default.useCallback(e=>{(D.current!==z||I.current!==W)&&(U(),D.current=z,I.current=W),B(e),F&&("function"==typeof F?F(e):"object"==typeof F&&(F.current=e))},[z,F,W,U,B]);o.default.useEffect(()=>{},[z,W,$,S,A,null==k?void 0:k.locale,N,T,L]);let H={ref:V,onClick(e){j||"function"!=typeof R||R(e),j&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),N&&!e.defaultPrevented&&function(e,t,r,n,i,l,s,u,c,f){let{nodeName:d}=e.currentTarget,p="A"===d.toUpperCase();if(p&&(function(e){let t=e.currentTarget,r=t.getAttribute("target");return r&&"_self"!==r||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,a.isLocalURL)(r)))return;e.preventDefault();let m=()=>{let e=null==s||s;"beforePopState"in t?t[i?"replace":"push"](r,n,{shallow:l,locale:u,scroll:e}):t[i?"replace":"push"](n||r,{forceOptimisticNavigation:!f,scroll:e})};c?o.default.startTransition(m):m()}(e,N,W,z,x,_,E,S,T,A)},onMouseEnter(e){j||"function"!=typeof P||P(e),j&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e)},onTouchStart(e){j||"function"!=typeof O||O(e),j&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e)}};if((0,s.isAbsoluteUrl)(z))H.href=z;else if(!j||w||"a"===n.type&&!("href"in n.props)){let e=void 0!==S?S:null==k?void 0:k.locale,t=(null==k?void 0:k.isLocaleDomain)&&(0,p.getDomainLocale)(z,e,null==k?void 0:k.locales,null==k?void 0:k.domainLocales);H.href=t||(0,m.addBasePath)((0,u.addLocale)(z,e,null==k?void 0:k.defaultLocale))}return j?o.default.cloneElement(n,H):o.default.createElement("a",{...C,...H},r)}),y=b;("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)},62541:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{requestIdleCallback:function(){return r},cancelIdleCallback:function(){return n}});let r="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)},n="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)},60052:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return f}});let n=r(74831),o=r(16298),i=r(38729),a=r(18175),l=r(81920),s=r(20231),u=r(39094),c=r(47121);function f(e,t,r){let f;let d="string"==typeof t?t:(0,o.formatWithValidation)(t),p=d.match(/^[a-zA-Z]{1,}:\/\//),m=p?d.slice(p[0].length):d,h=m.split("?");if((h[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+d+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,a.normalizeRepeatedSlashes)(m);d=(p?p[0]:"")+t}if(!(0,s.isLocalURL)(d))return r?[d]:d;try{f=new URL(d.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){f=new URL("/","http://n")}try{let e=new URL(d,f);e.pathname=(0,l.normalizePathTrailingSlash)(e.pathname);let t="";if((0,u.isDynamicRoute)(e.pathname)&&e.searchParams&&r){let r=(0,n.searchParamsToUrlQuery)(e.searchParams),{result:a,params:l}=(0,c.interpolateAs)(e.pathname,e.pathname,r);a&&(t=(0,o.formatWithValidation)({pathname:a,hash:e.hash,query:(0,i.omit)(r,l)}))}let a=e.origin===f.origin?e.href.slice(e.origin.length):e.href;return r?[a,t||a]:a}catch(e){return r?[d]:d}}("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)},51658:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return s}});let n=r(9885),o=r(62541),i="function"==typeof IntersectionObserver,a=new Map,l=[];function s(e){let{rootRef:t,rootMargin:r,disabled:s}=e,u=s||!i,[c,f]=(0,n.useState)(!1),d=(0,n.useRef)(null),p=(0,n.useCallback)(e=>{d.current=e},[]);(0,n.useEffect)(()=>{if(i){if(u||c)return;let e=d.current;if(e&&e.tagName){let n=function(e,t,r){let{id:n,observer:o,elements:i}=function(e){let t;let r={root:e.root||null,margin:e.rootMargin||""},n=l.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=a.get(n)))return t;let o=new Map,i=new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e);return t={id:r,observer:i,elements:o},l.push(r),a.set(r,t),t}(r);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),a.delete(n);let e=l.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&l.splice(e,1)}}}(e,e=>e&&f(e),{root:null==t?void 0:t.current,rootMargin:r});return n}}else if(!c){let e=(0,o.requestIdleCallback)(()=>f(!0));return()=>(0,o.cancelIdleCallback)(e)}},[u,r,t,c,d.current]);let m=(0,n.useCallback)(()=>{f(!1)},[]);return[p,c,m]}("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)},56286:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function o(e){return r.test(e)?e.replace(n,"\\$&"):e}},16298:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return a},urlObjectKeys:function(){return l},formatWithValidation:function(){return s}});let n=r(4009),o=n._(r(74831)),i=/https?|ftp|gopher|file/;function a(e){let{auth:t,hostname:r}=e,n=e.protocol||"",a=e.pathname||"",l=e.hash||"",s=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(u+=":"+e.port)),s&&"object"==typeof s&&(s=String(o.urlQueryToSearchParams(s)));let c=e.search||s&&"?"+s||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||i.test(n))&&!1!==u?(u="//"+(u||""),a&&"/"!==a[0]&&(a="/"+a)):u||(u=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),""+n+u+(a=a.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+l}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function s(e){return a(e)}},39094:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});let n=r(24079),o=r(20503)},47121:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return i}});let n=r(18207),o=r(56846);function i(e,t,r){let i="",a=(0,o.getRouteRegex)(e),l=a.groups,s=(t!==e?(0,n.getRouteMatcher)(a)(t):"")||r;i=e;let u=Object.keys(l);return u.every(e=>{let t=s[e]||"",{repeat:r,optional:n}=l[e],o="["+(r?"...":"")+e+"]";return n&&(o=(t?"":"/")+"["+o+"]"),r&&!Array.isArray(t)&&(t=[t]),(n||e in s)&&(i=i.replace(o,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(i=""),{params:u,result:i}}},20503:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return n}});let r=/\/\[[^/]+?\](?=\/|$)/;function n(e){return r.test(e)}},20231:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return i}});let n=r(18175),o=r(49498);function i(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},38729:(e,t)=>{"use strict";function r(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})},74831:(e,t)=>{"use strict";function r(e){let t={};return e.forEach((e,r)=>{void 0===t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]}),t}function n(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[r,o]=e;Array.isArray(o)?o.forEach(e=>t.append(r,n(e))):t.set(r,n(o))}),t}function i(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return r.forEach(t=>{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,r)=>e.append(r,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return o},assign:function(){return i}})},18207:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let n=r(18175);function o(e){let{re:t,groups:r}=e;return e=>{let o=t.exec(e);if(!o)return!1;let i=e=>{try{return decodeURIComponent(e)}catch(e){throw new n.DecodeError("failed to decode param")}},a={};return Object.keys(r).forEach(e=>{let t=r[e],n=o[t.pos];void 0!==n&&(a[e]=~n.indexOf("/")?n.split("/").map(e=>i(e)):t.repeat?[i(n)]:i(n))}),a}}},56846:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getRouteRegex:function(){return s},getNamedRouteRegex:function(){return f},getNamedMiddlewareRegex:function(){return d}});let n=r(84265),o=r(56286),i=r(3383);function a(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}function l(e){let t=(0,i.removeTrailingSlash)(e).slice(1).split("/"),r={},l=1;return{parameterizedRoute:t.map(e=>{let t=n.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),i=e.match(/\[((?:\[.*\])|.+)\]/);if(t&&i){let{key:e,optional:n,repeat:s}=a(i[1]);return r[e]={pos:l++,repeat:s,optional:n},"/"+(0,o.escapeStringRegexp)(t)+"([^/]+?)"}if(!i)return"/"+(0,o.escapeStringRegexp)(e);{let{key:e,repeat:t,optional:n}=a(i[1]);return r[e]={pos:l++,repeat:t,optional:n},t?n?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:r}}function s(e){let{parameterizedRoute:t,groups:r}=l(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:r}}function u(e){let{getSafeRouteKey:t,segment:r,routeKeys:n,keyPrefix:o}=e,{key:i,optional:l,repeat:s}=a(r),u=i.replace(/\W/g,"");o&&(u=""+o+u);let c=!1;return(0===u.length||u.length>30)&&(c=!0),isNaN(parseInt(u.slice(0,1)))||(c=!0),c&&(u=t()),o?n[u]=""+o+i:n[u]=""+i,s?l?"(?:/(?<"+u+">.+?))?":"/(?<"+u+">.+?)":"/(?<"+u+">[^/]+?)"}function c(e,t){let r;let a=(0,i.removeTrailingSlash)(e).slice(1).split("/"),l=(r=0,()=>{let e="",t=++r;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),s={};return{namedParameterizedRoute:a.map(e=>{let r=n.INTERCEPTION_ROUTE_MARKERS.some(t=>e.startsWith(t)),i=e.match(/\[((?:\[.*\])|.+)\]/);return r&&i?u({getSafeRouteKey:l,segment:i[1],routeKeys:s,keyPrefix:t?"nxtI":void 0}):i?u({getSafeRouteKey:l,segment:i[1],routeKeys:s,keyPrefix:t?"nxtP":void 0}):"/"+(0,o.escapeStringRegexp)(e)}).join(""),routeKeys:s}}function f(e,t){let r=c(e,t);return{...s(e),namedRegex:"^"+r.namedParameterizedRoute+"(?:/)?$",routeKeys:r.routeKeys}}function d(e,t){let{parameterizedRoute:r}=l(e),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/"+(n?".*":"")+"$"};let{namedParameterizedRoute:o}=c(e,!1);return{namedRegex:"^"+o+(n?"(?:(/.*)?)":"")+"$"}}},24079:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return n}});class r{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 r=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.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+']]").');r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),r}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");let o=e[0];if(o.startsWith("[")&&o.endsWith("]")){let r=o.slice(1,-1),a=!1;if(r.startsWith("[")&&r.endsWith("]")&&(r=r.slice(1,-1),a=!0),r.startsWith("...")&&(r=r.substring(3),n=!0),r.startsWith("[")||r.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+r+"').");if(r.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+r+"').");function i(e,r){if(null!==e&&e!==r)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+r+"').");t.forEach(e=>{if(e===r)throw Error('You cannot have the same slug name "'+r+'" 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 "'+r+'" differ only by non-word symbols within a single dynamic path')}),t.push(r)}if(n){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,r),this.optionalRestSlugName=r,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,r),this.restSlugName=r,o="[...]"}}else{if(a)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');i(this.slugName,r),this.slugName=r,o="[]"}}this.children.has(o)||this.children.set(o,new r),this.children.get(o)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function n(e){let t=new r;return e.forEach(e=>t.insert(e)),t.smoosh()}},18175:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{WEB_VITALS:function(){return r},execOnce:function(){return n},isAbsoluteUrl:function(){return i},getLocationOrigin:function(){return a},getURL:function(){return l},getDisplayName:function(){return s},isResSent:function(){return u},normalizeRepeatedSlashes:function(){return c},loadGetInitialProps:function(){return f},SP:function(){return d},ST:function(){return p},DecodeError:function(){return m},NormalizeError:function(){return h},PageNotFoundError:function(){return g},MissingStaticPage:function(){return b},MiddlewareNotFoundError:function(){return y},stringifyError:function(){return v}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return r||(r=!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:r}=window.location;return e+"//"+t+(r?":"+r:"")}function l(){let{href:e}=window.location,t=a();return e.substring(t.length)}function s(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("?"),r=t[0];return r.replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function f(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&u(r))return n;if(!n){let t='"'+s(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.';throw Error(t)}return n}let d="undefined"!=typeof performance,p=d&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class m extends Error{}class h extends Error{}class g extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class b 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 v(e){return JSON.stringify({message:e.message,stack:e.stack})}},11440:(e,t,r)=>{e.exports=r(41297)},44626:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RemoveScrollBar=t.useLockAttribute=t.lockAttribute=void 0;var n=r(16158).__importStar(r(9885)),o=r(17034),i=r(19461),a=r(42989),l=(0,o.styleSingleton)();t.lockAttribute="data-scroll-locked";var s=function(e,r,n,o){var a=e.left,l=e.top,s=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n  .".concat(i.noScrollbarsClassName," {\n   overflow: hidden ").concat(o,";\n   padding-right: ").concat(u,"px ").concat(o,";\n  }\n  body[").concat(t.lockAttribute,"] {\n    overflow: hidden ").concat(o,";\n    overscroll-behavior: contain;\n    ").concat([r&&"position: relative ".concat(o,";"),"margin"===n&&"\n    padding-left: ".concat(a,"px;\n    padding-top: ").concat(l,"px;\n    padding-right: ").concat(s,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(u,"px ").concat(o,";\n    "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(o,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(i.zeroRightClassName," {\n    right: ").concat(u,"px ").concat(o,";\n  }\n  \n  .").concat(i.fullWidthClassName," {\n    margin-right: ").concat(u,"px ").concat(o,";\n  }\n  \n  .").concat(i.zeroRightClassName," .").concat(i.zeroRightClassName," {\n    right: 0 ").concat(o,";\n  }\n  \n  .").concat(i.fullWidthClassName," .").concat(i.fullWidthClassName," {\n    margin-right: 0 ").concat(o,";\n  }\n  \n  body[").concat(t.lockAttribute,"] {\n    ").concat(i.removedBarSizeVariable,": ").concat(u,"px;\n  }\n")},u=function(){var e=parseInt(document.body.getAttribute(t.lockAttribute)||"0",10);return isFinite(e)?e:0};t.useLockAttribute=function(){n.useEffect(function(){return document.body.setAttribute(t.lockAttribute,(u()+1).toString()),function(){var e=u()-1;e<=0?document.body.removeAttribute(t.lockAttribute):document.body.setAttribute(t.lockAttribute,e.toString())}},[])},t.RemoveScrollBar=function(e){var r=e.noRelative,o=e.noImportant,i=e.gapMode,u=void 0===i?"margin":i;(0,t.useLockAttribute)();var c=n.useMemo(function(){return(0,a.getGapWidth)(u)},[u]);return n.createElement(l,{styles:s(c,!r,u,o?"":"!important")})}},19461:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removedBarSizeVariable=t.noScrollbarsClassName=t.fullWidthClassName=t.zeroRightClassName=void 0,t.zeroRightClassName="right-scroll-bar-position",t.fullWidthClassName="width-before-scroll-bar",t.noScrollbarsClassName="with-scroll-bars-hidden",t.removedBarSizeVariable="--removed-body-scroll-bar-size"},2786:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getGapWidth=t.removedBarSizeVariable=t.noScrollbarsClassName=t.fullWidthClassName=t.zeroRightClassName=t.RemoveScrollBar=void 0;var n=r(44626);Object.defineProperty(t,"RemoveScrollBar",{enumerable:!0,get:function(){return n.RemoveScrollBar}});var o=r(19461);Object.defineProperty(t,"zeroRightClassName",{enumerable:!0,get:function(){return o.zeroRightClassName}}),Object.defineProperty(t,"fullWidthClassName",{enumerable:!0,get:function(){return o.fullWidthClassName}}),Object.defineProperty(t,"noScrollbarsClassName",{enumerable:!0,get:function(){return o.noScrollbarsClassName}}),Object.defineProperty(t,"removedBarSizeVariable",{enumerable:!0,get:function(){return o.removedBarSizeVariable}});var i=r(42989);Object.defineProperty(t,"getGapWidth",{enumerable:!0,get:function(){return i.getGapWidth}})},42989:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getGapWidth=t.zeroGap=void 0,t.zeroGap={left:0,top:0,right:0,gap:0};var r=function(e){return parseInt(e||"",10)||0},n=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],o=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[r(n),r(o),r(i)]};t.getGapWidth=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return t.zeroGap;var r=n(e),o=document.documentElement.clientWidth,i=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,i-o+r[2]-r[0])}}},70840:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(16158),o=n.__importStar(r(9885)),i=r(33254),a=n.__importDefault(r(20902)),l=o.forwardRef(function(e,t){return o.createElement(i.RemoveScroll,n.__assign({},e,{ref:t,sideCar:a.default}))});l.classNames=i.RemoveScroll.classNames,t.default=l},35320:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RemoveScrollSideCar=t.getDeltaXY=t.getTouchXY=void 0;var n=r(16158),o=n.__importStar(r(9885)),i=r(2786),a=r(17034),l=r(73731),s=r(87557);t.getTouchXY=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},t.getDeltaXY=function(e){return[e.deltaX,e.deltaY]};var u=function(e){return e&&"current"in e?e.current:e},c=0,f=[];t.RemoveScrollSideCar=function(e){var r=o.useRef([]),d=o.useRef([0,0]),p=o.useRef(),m=o.useState(c++)[0],h=o.useState(a.styleSingleton)[0],g=o.useRef(e);o.useEffect(function(){g.current=e},[e]),o.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(m));var t=n.__spreadArray([e.lockRef.current],(e.shards||[]).map(u),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(m))}),function(){document.body.classList.remove("block-interactivity-".concat(m)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(m))})}}},[e.inert,e.lockRef.current,e.shards]);var b=o.useCallback(function(e,r){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!g.current.allowPinchZoom;var n,o=(0,t.getTouchXY)(e),i=d.current,a="deltaX"in e?e.deltaX:i[0]-o[0],l="deltaY"in e?e.deltaY:i[1]-o[1],u=e.target,c=Math.abs(a)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===c&&"range"===u.type)return!1;var f=(0,s.locationCouldBeScrolled)(c,u);if(!f)return!0;if(f?n=c:(n="v"===c?"h":"v",f=(0,s.locationCouldBeScrolled)(c,u)),!f)return!1;if(!p.current&&"changedTouches"in e&&(a||l)&&(p.current=n),!n)return!0;var m=p.current||n;return(0,s.handleScroll)(m,r,e,"h"===m?a:l,!0)},[]),y=o.useCallback(function(e){if(f.length&&f[f.length-1]===h){var n="deltaY"in e?(0,t.getDeltaXY)(e):(0,t.getTouchXY)(e),o=r.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(o&&o.should){e.cancelable&&e.preventDefault();return}if(!o){var i=(g.current.shards||[]).map(u).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?b(e,i[0]):!g.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),v=o.useCallback(function(e,t,n,o){var i={name:e,delta:t,target:n,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}(n)};r.current.push(i),setTimeout(function(){r.current=r.current.filter(function(e){return e!==i})},1)},[]),w=o.useCallback(function(e){d.current=(0,t.getTouchXY)(e),p.current=void 0},[]),x=o.useCallback(function(r){v(r.type,(0,t.getDeltaXY)(r),r.target,b(r,e.lockRef.current))},[]),_=o.useCallback(function(r){v(r.type,(0,t.getTouchXY)(r),r.target,b(r,e.lockRef.current))},[]);o.useEffect(function(){return f.push(h),e.setCallbacks({onScrollCapture:x,onWheelCapture:x,onTouchMoveCapture:_}),document.addEventListener("wheel",y,l.nonPassive),document.addEventListener("touchmove",y,l.nonPassive),document.addEventListener("touchstart",w,l.nonPassive),function(){f=f.filter(function(e){return e!==h}),document.removeEventListener("wheel",y,l.nonPassive),document.removeEventListener("touchmove",y,l.nonPassive),document.removeEventListener("touchstart",w,l.nonPassive)}},[]);var E=e.removeScrollBar,S=e.inert;return o.createElement(o.Fragment,null,S?o.createElement(h,{styles:"\n  .block-interactivity-".concat(m," {pointer-events: none;}\n  .allow-interactivity-").concat(m," {pointer-events: all;}\n")}):null,E?o.createElement(i.RemoveScrollBar,{gapMode:e.gapMode}):null)}},33254:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RemoveScroll=void 0;var n=r(16158),o=n.__importStar(r(9885)),i=r(19461),a=r(33609),l=r(35210),s=function(){},u=o.forwardRef(function(e,t){var r=o.useRef(null),i=o.useState({onScrollCapture:s,onWheelCapture:s,onTouchMoveCapture:s}),u=i[0],c=i[1],f=e.forwardProps,d=e.children,p=e.className,m=e.removeScrollBar,h=e.enabled,g=e.shards,b=e.sideCar,y=e.noIsolation,v=e.inert,w=e.allowPinchZoom,x=e.as,_=void 0===x?"div":x,E=e.gapMode,S=n.__rest(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),R=(0,a.useMergeRefs)([r,t]),P=n.__assign(n.__assign({},S),u);return o.createElement(o.Fragment,null,h&&o.createElement(b,{sideCar:l.effectCar,removeScrollBar:m,shards:g,noIsolation:y,inert:v,setCallbacks:c,allowPinchZoom:!!w,lockRef:r,gapMode:E}),f?o.cloneElement(o.Children.only(d),n.__assign(n.__assign({},P),{ref:R})):o.createElement(_,n.__assign({},P,{className:p,ref:R}),d))});t.RemoveScroll=u,u.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},u.classNames={fullWidth:i.fullWidthClassName,zeroRight:i.zeroRightClassName}},73731:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nonPassive=void 0;var r=!1;if("undefined"!=typeof window)try{var n=Object.defineProperty({},"passive",{get:function(){return r=!0,!0}});window.addEventListener("test",n,n),window.removeEventListener("test",n,n)}catch(e){r=!1}t.nonPassive=!!r&&{passive:!1}},87557:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleScroll=t.locationCouldBeScrolled=void 0;var r=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&!(r.overflowY===r.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===r[t])};t.locationCouldBeScrolled=function(e,t){var r=t.ownerDocument,i=t;do{if("undefined"!=typeof ShadowRoot&&i instanceof ShadowRoot&&(i=i.host),n(e,i)){var a=o(e,i);if(a[1]>a[2])return!0}i=i.parentNode}while(i&&i!==r.body);return!1};var n=function(e,t){return"v"===e?r(t,"overflowY"):r(t,"overflowX")},o=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]};t.handleScroll=function(e,t,r,i,a){var l,s=(l=window.getComputedStyle(t).direction,"h"===e&&"rtl"===l?-1:1),u=s*i,c=r.target,f=t.contains(c),d=!1,p=u>0,m=0,h=0;do{var g=o(e,c),b=g[0],y=g[1]-g[2]-s*b;(b||y)&&n(e,c)&&(m+=y,h+=b),c=c instanceof ShadowRoot?c.host:c.parentNode}while(!f&&c!==document.body||f&&(t.contains(c)||t===c));return p&&(a&&1>Math.abs(m)||!a&&u>m)?d=!0:!p&&(a&&1>Math.abs(h)||!a&&-u>h)&&(d=!0),d}},32864:(e,t,r)=>{"use strict";t.f=void 0;var n=r(16158).__importDefault(r(70840));t.f=n.default},35210:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.effectCar=void 0;var n=r(88221);t.effectCar=(0,n.createSidecarMedium)()},20902:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(88221),o=r(35320),i=r(35210);t.default=(0,n.exportSidecar)(i.effectCar,o.RemoveScrollSideCar)},10200:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.styleSingleton=void 0;var n=r(49812);t.styleSingleton=function(){var e=(0,n.styleHookSingleton)();return function(t){return e(t.styles,t.dynamic),null}}},49812:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.styleHookSingleton=void 0;var n=r(16158).__importStar(r(9885)),o=r(91995);t.styleHookSingleton=function(){var e=(0,o.stylesheetSingleton)();return function(t,r){n.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}}},17034:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.styleHookSingleton=t.stylesheetSingleton=t.styleSingleton=void 0;var n=r(10200);Object.defineProperty(t,"styleSingleton",{enumerable:!0,get:function(){return n.styleSingleton}});var o=r(91995);Object.defineProperty(t,"stylesheetSingleton",{enumerable:!0,get:function(){return o.stylesheetSingleton}});var i=r(49812);Object.defineProperty(t,"styleHookSingleton",{enumerable:!0,get:function(){return i.styleHookSingleton}})},91995:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stylesheetSingleton=void 0;var n=r(57643);t.stylesheetSingleton=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=(0,n.getNonce)();return t&&e.setAttribute("nonce",t),e}())){var o,i;(o=t).styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}}},91859:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assignRef=void 0,t.assignRef=function(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}},70319:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCallbackRef=void 0,t.createCallbackRef=function(e){var t=null;return{get current(){return t},set current(value){var r=t;r!==value&&(t=value,e(value,r))}}}},33609:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useRefToCallback=t.refToCallback=t.transformRef=t.useTransformRef=t.useMergeRefs=t.mergeRefs=t.createCallbackRef=t.useCallbackRef=t.assignRef=void 0;var n=r(91859);Object.defineProperty(t,"assignRef",{enumerable:!0,get:function(){return n.assignRef}});var o=r(19308);Object.defineProperty(t,"useCallbackRef",{enumerable:!0,get:function(){return o.useCallbackRef}});var i=r(70319);Object.defineProperty(t,"createCallbackRef",{enumerable:!0,get:function(){return i.createCallbackRef}});var a=r(16256);Object.defineProperty(t,"mergeRefs",{enumerable:!0,get:function(){return a.mergeRefs}});var l=r(60233);Object.defineProperty(t,"useMergeRefs",{enumerable:!0,get:function(){return l.useMergeRefs}});var s=r(18750);Object.defineProperty(t,"useTransformRef",{enumerable:!0,get:function(){return s.useTransformRef}});var u=r(11461);Object.defineProperty(t,"transformRef",{enumerable:!0,get:function(){return u.transformRef}});var c=r(15601);Object.defineProperty(t,"refToCallback",{enumerable:!0,get:function(){return c.refToCallback}}),Object.defineProperty(t,"useRefToCallback",{enumerable:!0,get:function(){return c.useRefToCallback}})},16256:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeRefs=void 0;var n=r(91859),o=r(70319);t.mergeRefs=function(e){return(0,o.createCallbackRef)(function(t){return e.forEach(function(e){return(0,n.assignRef)(e,t)})})}},15601:(e,t)=>{"use strict";function r(e){return function(t){"function"==typeof e?e(t):e&&(e.current=t)}}Object.defineProperty(t,"__esModule",{value:!0}),t.useRefToCallback=t.refToCallback=void 0,t.refToCallback=r;var n=function(){return null},o=new WeakMap,i=function(e){var t=e||n,i=o.get(t);if(i)return i;var a=r(t);return o.set(t,a),a};t.useRefToCallback=function(e){return i(e)}},11461:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transformRef=void 0;var n=r(91859),o=r(70319);t.transformRef=function(e,t){return(0,o.createCallbackRef)(function(r){return(0,n.assignRef)(e,t(r))})}},60233:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useMergeRefs=void 0;var n=r(16158).__importStar(r(9885)),o=r(91859),i=r(19308),a="undefined"!=typeof window?n.useLayoutEffect:n.useEffect,l=new WeakMap;t.useMergeRefs=function(e,t){var r=(0,i.useCallbackRef)(t||null,function(t){return e.forEach(function(e){return(0,o.assignRef)(e,t)})});return a(function(){var t=l.get(r);if(t){var n=new Set(t),i=new Set(e),a=r.current;n.forEach(function(e){i.has(e)||(0,o.assignRef)(e,null)}),i.forEach(function(e){n.has(e)||(0,o.assignRef)(e,a)})}l.set(r,e)},[e]),r}},19308:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCallbackRef=void 0;var n=r(9885);t.useCallbackRef=function(e,t){var r=(0,n.useState)(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(value){var n=r.value;n!==value&&(r.value=value,r.callback(value,n))}}}})[0];return r.callback=t,r.facade}},18750:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useTransformRef=void 0;var n=r(91859),o=r(19308);t.useTransformRef=function(e,t){return(0,o.useCallbackRef)(null,function(r){return(0,n.assignRef)(e,t(r))})}},43164:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setConfig=t.config=void 0,t.config={onError:function(e){return console.error(e)}},t.setConfig=function(e){Object.assign(t.config,e)}},24614:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.env=void 0;var n=r(70882);t.env={isNode:n.isNode,forceCache:!1}},11183:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exportSidecar=void 0;var n=r(16158),o=n.__importStar(r(9885)),i=function(e){var t=e.sideCar,r=n.__rest(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var i=t.read();if(!i)throw Error("Sidecar medium not found");return o.createElement(i,n.__assign({},r))};i.isSideCarExport=!0,t.exportSidecar=function(e,t){return e.useMedium(t),i}},3711:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sidecar=void 0;var n=r(16158),o=n.__importStar(r(9885)),i=r(13421);t.sidecar=function(e,t){var r=function(){return t};return function(a){var l=(0,i.useSidecar)(e,a.sideCar),s=l[0];return l[1]&&t?r:s?o.createElement(s,n.__assign({},a)):null}}},13421:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useSidecar=void 0;var n=r(9885),o=r(24614),i=new WeakMap,a={};t.useSidecar=function(e,t){var r,l,s,u,c,f,d,p,m=t&&t.options||a;return o.env.isNode&&!m.ssr?[null,null]:(r=t&&t.options||a,l=o.env.forceCache||o.env.isNode&&!!r.ssr||!r.async,u=(s=(0,n.useState)(l?function(){return i.get(e)}:void 0))[0],c=s[1],d=(f=(0,n.useState)(null))[0],p=f[1],(0,n.useEffect)(function(){u||e().then(function(r){var n,o=t?t.read():r.default||r;if(!o)throw console.error("Sidecar error: with importer",e),t?(console.error("Sidecar error: with medium",t),n=Error("Sidecar medium was not found")):n=Error("Sidecar was not found in exports"),p(function(){return n}),n;i.set(e,o),c(function(){return o})},function(e){return p(function(){return e})})},[]),[u,d])}},88221:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exportSidecar=t.renderCar=t.createSidecarMedium=t.createMedium=t.setConfig=t.useSidecar=t.sidecar=void 0;var n=r(3711);Object.defineProperty(t,"sidecar",{enumerable:!0,get:function(){return n.sidecar}});var o=r(13421);Object.defineProperty(t,"useSidecar",{enumerable:!0,get:function(){return o.useSidecar}});var i=r(43164);Object.defineProperty(t,"setConfig",{enumerable:!0,get:function(){return i.setConfig}});var a=r(28626);Object.defineProperty(t,"createMedium",{enumerable:!0,get:function(){return a.createMedium}}),Object.defineProperty(t,"createSidecarMedium",{enumerable:!0,get:function(){return a.createSidecarMedium}});var l=r(95919);Object.defineProperty(t,"renderCar",{enumerable:!0,get:function(){return l.renderCar}});var s=r(11183);Object.defineProperty(t,"exportSidecar",{enumerable:!0,get:function(){return s.exportSidecar}})},28626:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSidecarMedium=t.createMedium=void 0;var n=r(16158);function o(e){return e}function i(e,t){void 0===t&&(t=o);var r=[],n=!1;return{read:function(){if(n)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(e){var o=t(e,n);return r.push(o),function(){r=r.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(n=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){n=!0;var t=[];if(r.length){var o=r;r=[],o.forEach(e),t=r}var i=function(){var r=t;t=[],r.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),r={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),r}}}}}t.createMedium=function(e,t){return void 0===t&&(t=o),i(e,t)},t.createSidecarMedium=function(e){void 0===e&&(e={});var t=i(null);return t.options=n.__assign({async:!0,ssr:!1},e),t}},95919:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderCar=void 0;var n=r(16158),o=n.__importStar(r(9885)),i=r(9885);t.renderCar=function(e,t){function r(t){var r=t.stateRef,a=t.props,l=(0,i.useCallback)(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,i.useLayoutEffect)(function(){r.current(e)}),null},[]);return o.createElement(e,n.__assign({},a,{children:l}))}var a=o.memo(function(e){var t=e.stateRef,r=e.defaultState,n=e.children,o=(0,i.useState)(r.current),a=o[0],l=o[1];return(0,i.useEffect)(function(){t.current=l},[]),n.apply(void 0,a)},function(){return!0});return function(e){var n=o.useRef(t(e)),i=o.useRef(function(e){return n.current=e});return o.createElement(o.Fragment,null,o.createElement(r,{stateRef:i,props:e}),o.createElement(a,{stateRef:i,defaultState:n,children:e.children}))}}},32840:(e,t,r)=>{"use strict";function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}r.d(t,{M:()=>n})},80880:(e,t,r)=>{"use strict";r.d(t,{F:()=>o,e:()=>i});var n=r(9885);function o(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function i(...e){return n.useCallback(o(...e),e)}},8718:(e,t,r)=>{"use strict";r.d(t,{b:()=>a,k:()=>i});var n=r(9885),o=r(60080);function i(e,t){let r=n.createContext(t),i=e=>{let{children:t,...i}=e,a=n.useMemo(()=>i,Object.values(i));return(0,o.jsx)(r.Provider,{value:a,children:t})};return i.displayName=e+"Provider",[i,function(o){let i=n.useContext(r);if(i)return i;if(void 0!==t)return t;throw Error(`\`${o}\` must be used within \`${e}\``)}]}function a(e,t=[]){let r=[],i=()=>{let t=r.map(e=>n.createContext(e));return function(r){let o=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return i.scopeName=e,[function(t,i){let a=n.createContext(i),l=r.length;r=[...r,i];let s=t=>{let{scope:r,children:i,...s}=t,u=r?.[e]?.[l]||a,c=n.useMemo(()=>s,Object.values(s));return(0,o.jsx)(u.Provider,{value:c,children:i})};return s.displayName=t+"Provider",[s,function(r,o){let s=o?.[e]?.[l]||a,u=n.useContext(s);if(u)return u;if(void 0!==i)return i;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e),i=o[`__scope${n}`];return{...t,...i}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(i,...t)]}},75393:(e,t,r)=>{"use strict";r.d(t,{XB:()=>d});var n,o=r(9885),i=r(32840),a=r(21484),l=r(80880),s=r(32285),u=r(60080),c="dismissableLayer.update",f=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),d=o.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:d,onPointerDownOutside:h,onFocusOutside:g,onInteractOutside:b,onDismiss:y,...v}=e,w=o.useContext(f),[x,_]=o.useState(null),E=x?.ownerDocument??globalThis?.document,[,S]=o.useState({}),R=(0,l.e)(t,e=>_(e)),P=Array.from(w.layers),[O]=[...w.layersWithOutsidePointerEventsDisabled].slice(-1),j=P.indexOf(O),C=x?P.indexOf(x):-1,k=w.layersWithOutsidePointerEventsDisabled.size>0,M=C>=j,N=function(e,t=globalThis?.document){let r=(0,s.W)(e),n=o.useRef(!1),i=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!n.current){let n=function(){m("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=n,t.addEventListener("click",i.current,{once:!0})):n()}else t.removeEventListener("click",i.current);n.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,r=[...w.branches].some(e=>e.contains(t));!M||r||(h?.(e),b?.(e),e.defaultPrevented||y?.())},E),T=function(e,t=globalThis?.document){let r=(0,s.W)(e),n=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!n.current&&m("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target,r=[...w.branches].some(e=>e.contains(t));r||(g?.(e),b?.(e),e.defaultPrevented||y?.())},E);return function(e,t=globalThis?.document){let r=(0,s.W)(e);o.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{let t=C===w.layers.size-1;t&&(d?.(e),!e.defaultPrevented&&y&&(e.preventDefault(),y()))},E),o.useEffect(()=>{if(x)return r&&(0===w.layersWithOutsidePointerEventsDisabled.size&&(n=E.body.style.pointerEvents,E.body.style.pointerEvents="none"),w.layersWithOutsidePointerEventsDisabled.add(x)),w.layers.add(x),p(),()=>{r&&1===w.layersWithOutsidePointerEventsDisabled.size&&(E.body.style.pointerEvents=n)}},[x,E,r,w]),o.useEffect(()=>()=>{x&&(w.layers.delete(x),w.layersWithOutsidePointerEventsDisabled.delete(x),p())},[x,w]),o.useEffect(()=>{let e=()=>S({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,u.jsx)(a.WV.div,{...v,ref:R,style:{pointerEvents:k?M?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.M)(e.onFocusCapture,T.onFocusCapture),onBlurCapture:(0,i.M)(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:(0,i.M)(e.onPointerDownCapture,N.onPointerDownCapture)})});function p(){let e=new CustomEvent(c);document.dispatchEvent(e)}function m(e,t,r,{discrete:n}){let o=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?(0,a.jH)(o,i):o.dispatchEvent(i)}d.displayName="DismissableLayer",o.forwardRef((e,t)=>{let r=o.useContext(f),n=o.useRef(null),i=(0,l.e)(t,n);return o.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,u.jsx)(a.WV.div,{...e,ref:i})}).displayName="DismissableLayerBranch"},81046:(e,t,r)=>{"use strict";r.d(t,{EW:()=>i});var n=r(9885),o=0;function i(){n.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??a()),document.body.insertAdjacentElement("beforeend",e[1]??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}},47699:(e,t,r)=>{"use strict";r.d(t,{M:()=>f});var n=r(9885),o=r(80880),i=r(21484),a=r(32285),l=r(60080),s="focusScope.autoFocusOnMount",u="focusScope.autoFocusOnUnmount",c={bubbles:!1,cancelable:!0},f=n.forwardRef((e,t)=>{let{loop:r=!1,trapped:f=!1,onMountAutoFocus:g,onUnmountAutoFocus:b,...y}=e,[v,w]=n.useState(null),x=(0,a.W)(g),_=(0,a.W)(b),E=n.useRef(null),S=(0,o.e)(t,e=>w(e)),R=n.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;n.useEffect(()=>{if(f){let e=function(e){if(R.paused||!v)return;let t=e.target;v.contains(t)?E.current=t:m(E.current,{select:!0})},t=function(e){if(R.paused||!v)return;let t=e.relatedTarget;null===t||v.contains(t)||m(E.current,{select:!0})};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){let t=document.activeElement;if(t===document.body)for(let t of e)t.removedNodes.length>0&&m(v)});return v&&r.observe(v,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[f,v,R.paused]),n.useEffect(()=>{if(v){h.add(R);let e=document.activeElement,t=v.contains(e);if(!t){let t=new CustomEvent(s,c);v.addEventListener(s,x),v.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(m(n,{select:t}),document.activeElement!==r)return}(d(v).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&m(v))}return()=>{v.removeEventListener(s,x),setTimeout(()=>{let t=new CustomEvent(u,c);v.addEventListener(u,_),v.dispatchEvent(t),t.defaultPrevented||m(e??document.body,{select:!0}),v.removeEventListener(u,_),h.remove(R)},0)}}},[v,x,_,R]);let P=n.useCallback(e=>{if(!r&&!f||R.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){let t=e.currentTarget,[o,i]=function(e){let t=d(e),r=p(t,e),n=p(t.reverse(),e);return[r,n]}(t),a=o&&i;a?e.shiftKey||n!==i?e.shiftKey&&n===o&&(e.preventDefault(),r&&m(i,{select:!0})):(e.preventDefault(),r&&m(o,{select:!0})):n===t&&e.preventDefault()}},[r,f,R.paused]);return(0,l.jsx)(i.WV.div,{tabIndex:-1,...y,ref:S,onKeyDown:P})});function d(e){let t=[],r=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(;r.nextNode();)t.push(r.currentNode);return t}function p(e,t){for(let r of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function m(e,{select:t=!1}={}){if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}f.displayName="FocusScope";var h=function(){let e=[];return{add(t){let r=e[0];t!==r&&r?.pause(),(e=g(e,t)).unshift(t)},remove(t){e=g(e,t),e[0]?.resume()}}}();function g(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}},76529:(e,t,r)=>{"use strict";r.d(t,{M:()=>s});var n,o=r(9885),i=r(95852),a=(n||(n=r.t(o,2)))["useId".toString()]||(()=>void 0),l=0;function s(e){let[t,r]=o.useState(a());return(0,i.b)(()=>{e||r(e=>e??String(l++))},[e]),e||(t?`radix-${t}`:"")}},77357:(e,t,r)=>{"use strict";r.d(t,{ee:()=>eG,Eh:()=>eK,VY:()=>eX,fC:()=>eY,D7:()=>ek});var n=r(9885);let o=["top","right","bottom","left"],i=Math.min,a=Math.max,l=Math.round,s=Math.floor,u=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},f={start:"end",end:"start"};function d(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function m(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function g(e){return"y"===e?"height":"width"}function b(e){return["top","bottom"].includes(p(e))?"y":"x"}function y(e){return e.replace(/start|end/g,e=>f[e])}function v(e){return e.replace(/left|right|bottom|top/g,e=>c[e])}function w(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function x(e){let{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function _(e,t,r){let n,{reference:o,floating:i}=e,a=b(t),l=h(b(t)),s=g(l),u=p(t),c="y"===a,f=o.x+o.width/2-i.width/2,d=o.y+o.height/2-i.height/2,y=o[s]/2-i[s]/2;switch(u){case"top":n={x:f,y:o.y-i.height};break;case"bottom":n={x:f,y:o.y+o.height};break;case"right":n={x:o.x+o.width,y:d};break;case"left":n={x:o.x-i.width,y:d};break;default:n={x:o.x,y:o.y}}switch(m(t)){case"start":n[l]-=y*(r&&c?-1:1);break;case"end":n[l]+=y*(r&&c?-1:1)}return n}let E=async(e,t,r)=>{let{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}=r,l=i.filter(Boolean),s=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:f}=_(u,n,s),d=n,p={},m=0;for(let r=0;r<l.length;r++){let{name:i,fn:h}=l[r],{x:g,y:b,data:y,reset:v}=await h({x:c,y:f,initialPlacement:n,placement:d,strategy:o,middlewareData:p,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=g?g:c,f=null!=b?b:f,p={...p,[i]:{...p[i],...y}},v&&m<=50&&(m++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(u=!0===v.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):v.rects),{x:c,y:f}=_(u,d,s)),r=-1)}return{x:c,y:f,placement:d,strategy:o,middlewareData:p}};async function S(e,t){var r;void 0===t&&(t={});let{x:n,y:o,platform:i,rects:a,elements:l,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:p=!1,padding:m=0}=d(t,e),h=w(m),g=l[p?"floating"===f?"reference":"floating":f],b=x(await i.getClippingRect({element:null==(r=await (null==i.isElement?void 0:i.isElement(g)))||r?g:g.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:c,strategy:s})),y="floating"===f?{x:n,y:o,width:a.floating.width,height:a.floating.height}:a.reference,v=await (null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),_=await (null==i.isElement?void 0:i.isElement(v))&&await (null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},E=x(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:v,strategy:s}):y);return{top:(b.top-E.top+h.top)/_.y,bottom:(E.bottom-b.bottom+h.bottom)/_.y,left:(b.left-E.left+h.left)/_.x,right:(E.right-b.right+h.right)/_.x}}function R(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function P(e){return o.some(t=>e[t]>=0)}async function O(e,t){let{placement:r,platform:n,elements:o}=e,i=await (null==n.isRTL?void 0:n.isRTL(o.floating)),a=p(r),l=m(r),s="y"===b(r),u=["left","top"].includes(a)?-1:1,c=i&&s?-1:1,f=d(t,e),{mainAxis:h,crossAxis:g,alignmentAxis:y}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&"number"==typeof y&&(g="end"===l?-1*y:y),s?{x:g*c,y:h*u}:{x:h*u,y:g*c}}function j(){return"undefined"!=typeof window}function C(e){return N(e)?(e.nodeName||"").toLowerCase():"#document"}function k(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function M(e){var t;return null==(t=(N(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function N(e){return!!j()&&(e instanceof Node||e instanceof k(e).Node)}function T(e){return!!j()&&(e instanceof Element||e instanceof k(e).Element)}function A(e){return!!j()&&(e instanceof HTMLElement||e instanceof k(e).HTMLElement)}function L(e){return!!j()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof k(e).ShadowRoot)}function W(e){let{overflow:t,overflowX:r,overflowY:n,display:o}=B(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function z(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function I(e){let t=D(),r=T(e)?B(e):e;return"none"!==r.transform||"none"!==r.perspective||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","perspective","filter"].some(e=>(r.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(r.contain||"").includes(e))}function D(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function F(e){return["html","body","#document"].includes(C(e))}function B(e){return k(e).getComputedStyle(e)}function $(e){return T(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function U(e){if("html"===C(e))return e;let t=e.assignedSlot||e.parentNode||L(e)&&e.host||M(e);return L(t)?t.host:t}function V(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let o=function e(t){let r=U(t);return F(r)?t.ownerDocument?t.ownerDocument.body:t.body:A(r)&&W(r)?r:e(r)}(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=k(o);if(i){let e=H(a);return t.concat(a,a.visualViewport||[],W(o)?o:[],e&&r?V(e):[])}return t.concat(o,V(o,[],r))}function H(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Y(e){let t=B(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,o=A(e),i=o?e.offsetWidth:r,a=o?e.offsetHeight:n,s=l(r)!==i||l(n)!==a;return s&&(r=i,n=a),{width:r,height:n,$:s}}function G(e){return T(e)?e:e.contextElement}function X(e){let t=G(e);if(!A(t))return u(1);let r=t.getBoundingClientRect(),{width:n,height:o,$:i}=Y(t),a=(i?l(r.width):r.width)/n,s=(i?l(r.height):r.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}let K=u(0);function q(e){let t=k(e);return D()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:K}function Z(e,t,r,n){var o;void 0===t&&(t=!1),void 0===r&&(r=!1);let i=e.getBoundingClientRect(),a=G(e),l=u(1);t&&(n?T(n)&&(l=X(n)):l=X(e));let s=(void 0===(o=r)&&(o=!1),n&&(!o||n===k(a))&&o)?q(a):u(0),c=(i.left+s.x)/l.x,f=(i.top+s.y)/l.y,d=i.width/l.x,p=i.height/l.y;if(a){let e=k(a),t=n&&T(n)?k(n):n,r=e,o=H(r);for(;o&&n&&t!==r;){let e=X(o),t=o.getBoundingClientRect(),n=B(o),i=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;c*=e.x,f*=e.y,d*=e.x,p*=e.y,c+=i,f+=a,o=H(r=k(o))}}return x({width:d,height:p,x:c,y:f})}function J(e,t){let r=$(e).scrollLeft;return t?t.left+r:Z(M(e)).left+r}function Q(e,t,r){let n;if("viewport"===t)n=function(e,t){let r=k(e),n=M(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;let e=D();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l,y:s}}(e,r);else if("document"===t)n=function(e){let t=M(e),r=$(e),n=e.ownerDocument.body,o=a(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=a(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),l=-r.scrollLeft+J(e),s=-r.scrollTop;return"rtl"===B(n).direction&&(l+=a(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:l,y:s}}(M(e));else if(T(t))n=function(e,t){let r=Z(e,!0,"fixed"===t),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=A(e)?X(e):u(1),a=e.clientWidth*i.x,l=e.clientHeight*i.y,s=o*i.x,c=n*i.y;return{width:a,height:l,x:s,y:c}}(t,r);else{let r=q(e);n={...t,x:t.x-r.x,y:t.y-r.y}}return x(n)}function ee(e){return"static"===B(e).position}function et(e,t){if(!A(e)||"fixed"===B(e).position)return null;if(t)return t(e);let r=e.offsetParent;return M(e)===r&&(r=r.ownerDocument.body),r}function er(e,t){let r=k(e);if(z(e))return r;if(!A(e)){let t=U(e);for(;t&&!F(t);){if(T(t)&&!ee(t))return t;t=U(t)}return r}let n=et(e,t);for(;n&&["table","td","th"].includes(C(n))&&ee(n);)n=et(n,t);return n&&F(n)&&ee(n)&&!I(n)?r:n||function(e){let t=U(e);for(;A(t)&&!F(t);){if(I(t))return t;if(z(t))break;t=U(t)}return null}(e)||r}let en=async function(e){let t=this.getOffsetParent||er,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=A(t),o=M(t),i="fixed"===r,a=Z(e,!0,i,t),l={scrollLeft:0,scrollTop:0},s=u(0);if(n||!n&&!i){if(("body"!==C(t)||W(o))&&(l=$(t)),n){let e=Z(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=J(o))}let c=0,f=0;if(o&&!n&&!i){let e=o.getBoundingClientRect();f=e.top+l.scrollTop,c=e.left+l.scrollLeft-J(o,e)}let d=a.left+l.scrollLeft-s.x-c,p=a.top+l.scrollTop-s.y-f;return{x:d,y:p,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},eo={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e,i="fixed"===o,a=M(n),l=!!t&&z(t.floating);if(n===a||l&&i)return r;let s={scrollLeft:0,scrollTop:0},c=u(1),f=u(0),d=A(n);if((d||!d&&!i)&&(("body"!==C(n)||W(a))&&(s=$(n)),A(n))){let e=Z(n);c=X(n),f.x=e.x+n.clientLeft,f.y=e.y+n.clientTop}return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-s.scrollLeft*c.x+f.x,y:r.y*c.y-s.scrollTop*c.y+f.y}},getDocumentElement:M,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e,l="clippingAncestors"===r?z(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=V(e,[],!1).filter(e=>T(e)&&"body"!==C(e)),o=null,i="fixed"===B(e).position,a=i?U(e):e;for(;T(a)&&!F(a);){let t=B(a),r=I(a);r||"fixed"!==t.position||(o=null);let l=i?!r&&!o:!r&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||W(a)&&!r&&function e(t,r){let n=U(t);return!(n===r||!T(n)||F(n))&&("fixed"===B(n).position||e(n,r))}(e,a);l?n=n.filter(e=>e!==a):o=t,a=U(a)}return t.set(e,n),n}(t,this._c):[].concat(r),s=[...l,n],u=s[0],c=s.reduce((e,r)=>{let n=Q(t,r,o);return e.top=a(n.top,e.top),e.right=i(n.right,e.right),e.bottom=i(n.bottom,e.bottom),e.left=a(n.left,e.left),e},Q(t,u,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:er,getElementRects:en,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=Y(e);return{width:t,height:r}},getScale:X,isElement:T,isRTL:function(e){return"rtl"===B(e).direction}},ei=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:o,rects:l,platform:s,elements:u,middlewareData:c}=t,{element:f,padding:p=0}=d(e,t)||{};if(null==f)return{};let y=w(p),v={x:r,y:n},x=h(b(o)),_=g(x),E=await s.getDimensions(f),S="y"===x,R=S?"clientHeight":"clientWidth",P=l.reference[_]+l.reference[x]-v[x]-l.floating[_],O=v[x]-l.reference[x],j=await (null==s.getOffsetParent?void 0:s.getOffsetParent(f)),C=j?j[R]:0;C&&await (null==s.isElement?void 0:s.isElement(j))||(C=u.floating[R]||l.floating[_]);let k=C/2-E[_]/2-1,M=i(y[S?"top":"left"],k),N=i(y[S?"bottom":"right"],k),T=C-E[_]-N,A=C/2-E[_]/2+(P/2-O/2),L=a(M,i(A,T)),W=!c.arrow&&null!=m(o)&&A!==L&&l.reference[_]/2-(A<M?M:N)-E[_]/2<0,z=W?A<M?A-M:A-T:0;return{[x]:v[x]+z,data:{[x]:L,centerOffset:A-L-z,...W&&{alignmentOffset:z}},reset:W}}}),ea=(e,t,r)=>{let n=new Map,o={platform:eo,...r},i={...o.platform,_c:n};return E(e,t,{...o,platform:i})};var el=r(88908),es="undefined"!=typeof document?n.useLayoutEffect:n.useEffect;function eu(e,t){let r,n,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((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!eu(e[n],t[n]))return!1;return!0}if((r=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!=n--;){let r=o[n];if(("_owner"!==r||!e.$$typeof)&&!eu(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function ec(e){if("undefined"==typeof window)return 1;let t=e.ownerDocument.defaultView||window;return t.devicePixelRatio||1}function ef(e,t){let r=ec(e);return Math.round(t*r)/r}function ed(e){let t=n.useRef(e);return es(()=>{t.current=e}),t}let ep=e=>({name:"arrow",options:e,fn(t){let{element:r,padding:n}="function"==typeof e?e(t):e;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?ei({element:r.current,padding:n}).fn(t):{}:r?ei({element:r,padding:n}).fn(t):{}}}),em=(e,t)=>({...function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:o,y:i,placement:a,middlewareData:l}=t,s=await O(t,e);return a===(null==(r=l.offset)?void 0:r.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:a}}}}}(e),options:[e,t]}),eh=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:o}=t,{mainAxis:l=!0,crossAxis:s=!1,limiter:u={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...c}=d(e,t),f={x:r,y:n},m=await S(t,c),g=b(p(o)),y=h(g),v=f[y],w=f[g];if(l){let e=v+m["y"===y?"top":"left"],t=v-m["y"===y?"bottom":"right"];v=a(e,i(v,t))}if(s){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",r=w+m[e],n=w-m[t];w=a(r,i(w,n))}let x=u.fn({...t,[y]:v,[g]:w});return{...x,data:{x:x.x-r,y:x.y-n,enabled:{[y]:l,[g]:s}}}}}}(e),options:[e,t]}),eg=(e,t)=>({...function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:r,y:n,placement:o,rects:i,middlewareData:a}=t,{offset:l=0,mainAxis:s=!0,crossAxis:u=!0}=d(e,t),c={x:r,y:n},f=b(o),m=h(f),g=c[m],y=c[f],v=d(l,t),w="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(s){let e="y"===m?"height":"width",t=i.reference[m]-i.floating[e]+w.mainAxis,r=i.reference[m]+i.reference[e]-w.mainAxis;g<t?g=t:g>r&&(g=r)}if(u){var x,_;let e="y"===m?"width":"height",t=["top","left"].includes(p(o)),r=i.reference[f]-i.floating[e]+(t&&(null==(x=a.offset)?void 0:x[f])||0)+(t?0:w.crossAxis),n=i.reference[f]+i.reference[e]+(t?0:(null==(_=a.offset)?void 0:_[f])||0)-(t?w.crossAxis:0);y<r?y=r:y>n&&(y=n)}return{[m]:g,[f]:y}}}}(e),options:[e,t]}),eb=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n,o,i,a;let{placement:l,middlewareData:s,rects:u,initialPlacement:c,platform:f,elements:w}=t,{mainAxis:x=!0,crossAxis:_=!0,fallbackPlacements:E,fallbackStrategy:R="bestFit",fallbackAxisSideDirection:P="none",flipAlignment:O=!0,...j}=d(e,t);if(null!=(r=s.arrow)&&r.alignmentOffset)return{};let C=p(l),k=b(c),M=p(c)===c,N=await (null==f.isRTL?void 0:f.isRTL(w.floating)),T=E||(M||!O?[v(c)]:function(e){let t=v(e);return[y(e),t,y(t)]}(c)),A="none"!==P;!E&&A&&T.push(...function(e,t,r,n){let o=m(e),i=function(e,t,r){let n=["left","right"],o=["right","left"];switch(e){case"top":case"bottom":if(r)return t?o:n;return t?n:o;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(p(e),"start"===r,n);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(y)))),i}(c,O,P,N));let L=[c,...T],W=await S(t,j),z=[],I=(null==(n=s.flip)?void 0:n.overflows)||[];if(x&&z.push(W[C]),_){let e=function(e,t,r){void 0===r&&(r=!1);let n=m(e),o=h(b(e)),i=g(o),a="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=v(a)),[a,v(a)]}(l,u,N);z.push(W[e[0]],W[e[1]])}if(I=[...I,{placement:l,overflows:z}],!z.every(e=>e<=0)){let e=((null==(o=s.flip)?void 0:o.index)||0)+1,t=L[e];if(t)return{data:{index:e,overflows:I},reset:{placement:t}};let r=null==(i=I.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!r)switch(R){case"bestFit":{let e=null==(a=I.filter(e=>{if(A){let t=b(e.placement);return t===k||"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&&(r=e);break}case"initialPlacement":r=c}if(l!==r)return{reset:{placement:r}}}return{}}}}(e),options:[e,t]}),ey=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,n;let o,l;let{placement:s,rects:u,platform:c,elements:f}=t,{apply:h=()=>{},...g}=d(e,t),y=await S(t,g),v=p(s),w=m(s),x="y"===b(s),{width:_,height:E}=u.floating;"top"===v||"bottom"===v?(o=v,l=w===(await (null==c.isRTL?void 0:c.isRTL(f.floating))?"start":"end")?"left":"right"):(l=v,o="end"===w?"top":"bottom");let R=E-y.top-y.bottom,P=_-y.left-y.right,O=i(E-y[o],R),j=i(_-y[l],P),C=!t.middlewareData.shift,k=O,M=j;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(M=P),null!=(n=t.middlewareData.shift)&&n.enabled.y&&(k=R),C&&!w){let e=a(y.left,0),t=a(y.right,0),r=a(y.top,0),n=a(y.bottom,0);x?M=_-2*(0!==e||0!==t?e+t:a(y.left,y.right)):k=E-2*(0!==r||0!==n?r+n:a(y.top,y.bottom))}await h({...t,availableWidth:M,availableHeight:k});let N=await c.getDimensions(f.floating);return _!==N.width||E!==N.height?{reset:{rects:!0}}:{}}}}(e),options:[e,t]}),ev=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r}=t,{strategy:n="referenceHidden",...o}=d(e,t);switch(n){case"referenceHidden":{let e=await S(t,{...o,elementContext:"reference"}),n=R(e,r.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:P(n)}}}case"escaped":{let e=await S(t,{...o,altBoundary:!0}),n=R(e,r.floating);return{data:{escapedOffsets:n,escaped:P(n)}}}default:return{}}}}}(e),options:[e,t]}),ew=(e,t)=>({...ep(e),options:[e,t]});var ex=r(21484),e_=r(60080),eE=n.forwardRef((e,t)=>{let{children:r,width:n=10,height:o=5,...i}=e;return(0,e_.jsx)(ex.WV.svg,{...i,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,e_.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eE.displayName="Arrow";var eS=r(80880),eR=r(32285),eP=r(95852),eO=r(46896),ej="Popper",[eC,ek]=function(e,t=[]){let r=[],o=()=>{let t=r.map(e=>n.createContext(e));return function(r){let o=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return o.scopeName=e,[function(t,o){let i=n.createContext(o),a=r.length;function l(t){let{scope:r,children:o,...l}=t,s=r?.[e][a]||i,u=n.useMemo(()=>l,Object.values(l));return(0,e_.jsx)(s.Provider,{value:u,children:o})}return r=[...r,o],l.displayName=t+"Provider",[l,function(r,l){let s=l?.[e][a]||i,u=n.useContext(s);if(u)return u;if(void 0!==o)return o;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e),i=o[`__scope${n}`];return{...t,...i}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(o,...t)]}(ej),[eM,eN]=eC(ej),eT=e=>{let{__scopePopper:t,children:r}=e,[o,i]=n.useState(null);return(0,e_.jsx)(eM,{scope:t,anchor:o,onAnchorChange:i,children:r})};eT.displayName=ej;var eA="PopperAnchor",eL=n.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:o,...i}=e,a=eN(eA,r),l=n.useRef(null),s=(0,eS.e)(t,l);return n.useEffect(()=>{a.onAnchorChange(o?.current||l.current)}),o?null:(0,e_.jsx)(ex.WV.div,{...i,ref:s})});eL.displayName=eA;var eW="PopperContent",[ez,eI]=eC(eW),eD=n.forwardRef((e,t)=>{let{__scopePopper:r,side:o="bottom",sideOffset:l=0,align:u="center",alignOffset:c=0,arrowPadding:f=0,avoidCollisions:d=!0,collisionBoundary:p=[],collisionPadding:m=0,sticky:h="partial",hideWhenDetached:g=!1,updatePositionStrategy:b="optimized",onPlaced:y,...v}=e,w=eN(eW,r),[x,_]=n.useState(null),E=(0,eS.e)(t,e=>_(e)),[S,R]=n.useState(null),P=(0,eO.t)(S),O=P?.width??0,j=P?.height??0,C="number"==typeof m?m:{top:0,right:0,bottom:0,left:0,...m},k=Array.isArray(p)?p:[p],N=k.length>0,T={padding:C,boundary:k.filter(eU),altBoundary:N},{refs:A,floatingStyles:L,placement:W,isPositioned:z,middlewareData:I}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:o=[],platform:i,elements:{reference:a,floating:l}={},transform:s=!0,whileElementsMounted:u,open:c}=e,[f,d]=n.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[p,m]=n.useState(o);eu(p,o)||m(o);let[h,g]=n.useState(null),[b,y]=n.useState(null),v=n.useCallback(e=>{e!==E.current&&(E.current=e,g(e))},[]),w=n.useCallback(e=>{e!==S.current&&(S.current=e,y(e))},[]),x=a||h,_=l||b,E=n.useRef(null),S=n.useRef(null),R=n.useRef(f),P=null!=u,O=ed(u),j=ed(i),C=ed(c),k=n.useCallback(()=>{if(!E.current||!S.current)return;let e={placement:t,strategy:r,middleware:p};j.current&&(e.platform=j.current),ea(E.current,S.current,e).then(e=>{let t={...e,isPositioned:!1!==C.current};M.current&&!eu(R.current,t)&&(R.current=t,el.flushSync(()=>{d(t)}))})},[p,t,r,j,C]);es(()=>{!1===c&&R.current.isPositioned&&(R.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let M=n.useRef(!1);es(()=>(M.current=!0,()=>{M.current=!1}),[]),es(()=>{if(x&&(E.current=x),_&&(S.current=_),x&&_){if(O.current)return O.current(x,_,k);k()}},[x,_,k,O,P]);let N=n.useMemo(()=>({reference:E,floating:S,setReference:v,setFloating:w}),[v,w]),T=n.useMemo(()=>({reference:x,floating:_}),[x,_]),A=n.useMemo(()=>{let e={position:r,left:0,top:0};if(!T.floating)return e;let t=ef(T.floating,f.x),n=ef(T.floating,f.y);return s?{...e,transform:"translate("+t+"px, "+n+"px)",...ec(T.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,s,T.floating,f.x,f.y]);return n.useMemo(()=>({...f,update:k,refs:N,elements:T,floatingStyles:A}),[f,k,N,T,A])}({strategy:"fixed",placement:o+("center"!==u?"-"+u:""),whileElementsMounted:(...e)=>{let t=function(e,t,r,n){let o;void 0===n&&(n={});let{ancestorScroll:l=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:d=!1}=n,p=G(e),m=l||u?[...p?V(p):[],...V(t)]:[];m.forEach(e=>{l&&e.addEventListener("scroll",r,{passive:!0}),u&&e.addEventListener("resize",r)});let h=p&&f?function(e,t){let r,n=null,o=M(e);function l(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return function u(c,f){void 0===c&&(c=!1),void 0===f&&(f=1),l();let{left:d,top:p,width:m,height:h}=e.getBoundingClientRect();if(c||t(),!m||!h)return;let g=s(p),b=s(o.clientWidth-(d+m)),y=s(o.clientHeight-(p+h)),v=s(d),w={rootMargin:-g+"px "+-b+"px "+-y+"px "+-v+"px",threshold:a(0,i(1,f))||1},x=!0;function _(e){let t=e[0].intersectionRatio;if(t!==f){if(!x)return u();t?u(!1,t):r=setTimeout(()=>{u(!1,1e-7)},1e3)}x=!1}try{n=new IntersectionObserver(_,{...w,root:o.ownerDocument})}catch(e){n=new IntersectionObserver(_,w)}n.observe(e)}(!0),l}(p,r):null,g=-1,b=null;c&&(b=new ResizeObserver(e=>{let[n]=e;n&&n.target===p&&b&&(b.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=b)||e.observe(t)})),r()}),p&&!d&&b.observe(p),b.observe(t));let y=d?Z(e):null;return d&&function t(){let n=Z(e);y&&(n.x!==y.x||n.y!==y.y||n.width!==y.width||n.height!==y.height)&&r(),y=n,o=requestAnimationFrame(t)}(),r(),()=>{var e;m.forEach(e=>{l&&e.removeEventListener("scroll",r),u&&e.removeEventListener("resize",r)}),null==h||h(),null==(e=b)||e.disconnect(),b=null,d&&cancelAnimationFrame(o)}}(...e,{animationFrame:"always"===b});return t},elements:{reference:w.anchor},middleware:[em({mainAxis:l+j,alignmentAxis:c}),d&&eh({mainAxis:!0,crossAxis:!1,limiter:"partial"===h?eg():void 0,...T}),d&&eb({...T}),ey({...T,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${r}px`),a.setProperty("--radix-popper-available-height",`${n}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),S&&ew({element:S,padding:f}),eV({arrowWidth:O,arrowHeight:j}),g&&ev({strategy:"referenceHidden",...T})]}),[D,F]=eH(W),B=(0,eR.W)(y);(0,eP.b)(()=>{z&&B?.()},[z,B]);let $=I.arrow?.x,U=I.arrow?.y,H=I.arrow?.centerOffset!==0,[Y,X]=n.useState();return(0,eP.b)(()=>{x&&X(window.getComputedStyle(x).zIndex)},[x]),(0,e_.jsx)("div",{ref:A.setFloating,"data-radix-popper-content-wrapper":"",style:{...L,transform:z?L.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Y,"--radix-popper-transform-origin":[I.transformOrigin?.x,I.transformOrigin?.y].join(" "),...I.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,e_.jsx)(ez,{scope:r,placedSide:D,onArrowChange:R,arrowX:$,arrowY:U,shouldHideArrow:H,children:(0,e_.jsx)(ex.WV.div,{"data-side":D,"data-align":F,...v,ref:E,style:{...v.style,animation:z?void 0:"none"}})})})});eD.displayName=eW;var eF="PopperArrow",eB={top:"bottom",right:"left",bottom:"top",left:"right"},e$=n.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,o=eI(eF,r),i=eB[o.placedSide];return(0,e_.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,e_.jsx)(eE,{...n,ref:t,style:{...n.style,display:"block"}})})});function eU(e){return null!==e}e$.displayName=eF;var eV=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[s,u]=eH(r),c={start:"0%",center:"50%",end:"100%"}[u],f=(o.arrow?.x??0)+a/2,d=(o.arrow?.y??0)+l/2,p="",m="";return"bottom"===s?(p=i?c:`${f}px`,m=`${-l}px`):"top"===s?(p=i?c:`${f}px`,m=`${n.floating.height+l}px`):"right"===s?(p=`${-l}px`,m=i?c:`${d}px`):"left"===s&&(p=`${n.floating.width+l}px`,m=i?c:`${d}px`),{data:{x:p,y:m}}}});function eH(e){let[t,r="center"]=e.split("-");return[t,r]}var eY=eT,eG=eL,eX=eD,eK=e$},53151:(e,t,r)=>{"use strict";r.d(t,{h:()=>s});var n=r(9885),o=r(88908),i=r(21484),a=r(95852),l=r(60080),s=n.forwardRef((e,t)=>{let{container:r,...s}=e,[u,c]=n.useState(!1);(0,a.b)(()=>c(!0),[]);let f=r||u&&globalThis?.document?.body;return f?o.createPortal((0,l.jsx)(i.WV.div,{...s,ref:t}),f):null});s.displayName="Portal"},79752:(e,t,r)=>{"use strict";r.d(t,{z:()=>a});var n=r(9885),o=r(80880),i=r(95852),a=e=>{let{present:t,children:r}=e,a=function(e){var t;let[r,o]=n.useState(),a=n.useRef({}),s=n.useRef(e),u=n.useRef("none"),c=e?"mounted":"unmounted",[f,d]=(t={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,r)=>{let n=t[e][r];return n??e},c));return n.useEffect(()=>{let e=l(a.current);u.current="mounted"===f?e:"none"},[f]),(0,i.b)(()=>{let t=a.current,r=s.current,n=r!==e;if(n){let n=u.current,o=l(t);e?d("MOUNT"):"none"===o||t?.display==="none"?d("UNMOUNT"):r&&n!==o?d("ANIMATION_OUT"):d("UNMOUNT"),s.current=e}},[e,d]),(0,i.b)(()=>{if(r){let e;let t=r.ownerDocument.defaultView??window,n=n=>{let o=l(a.current),i=o.includes(n.animationName);if(n.target===r&&i&&(d("ANIMATION_END"),!s.current)){let n=r.style.animationFillMode;r.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===r.style.animationFillMode&&(r.style.animationFillMode=n)})}},o=e=>{e.target===r&&(u.current=l(a.current))};return r.addEventListener("animationstart",o),r.addEventListener("animationcancel",n),r.addEventListener("animationend",n),()=>{t.clearTimeout(e),r.removeEventListener("animationstart",o),r.removeEventListener("animationcancel",n),r.removeEventListener("animationend",n)}}d("ANIMATION_END")},[r,d]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:n.useCallback(e=>{e&&(a.current=getComputedStyle(e)),o(e)},[])}}(t),s="function"==typeof r?r({present:a.isPresent}):n.Children.only(r),u=(0,o.e)(a.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(s)),c="function"==typeof r;return c||a.isPresent?n.cloneElement(s,{ref:u}):null};function l(e){return e?.animationName||"none"}a.displayName="Presence"},21484:(e,t,r)=>{"use strict";r.d(t,{WV:()=>f,jH:()=>d});var n=r(9885),o=r(88908),i=r(80880),a=r(60080),l=n.forwardRef((e,t)=>{let{children:r,...o}=e,i=n.Children.toArray(r),l=i.find(c);if(l){let e=l.props.children,r=i.map(t=>t!==l?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,a.jsx)(s,{...o,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,r):null})}return(0,a.jsx)(s,{...o,ref:t,children:r})});l.displayName="Slot";var s=n.forwardRef((e,t)=>{let{children:r,...o}=e;if(n.isValidElement(r)){let e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(r);return n.cloneElement(r,{...function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n],a=/^on[A-Z]/.test(n);a?o&&i?r[n]=(...e)=>{i(...e),o(...e)}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(o,r.props),ref:t?(0,i.F)(t,e):e})}return n.Children.count(r)>1?n.Children.only(null):null});s.displayName="SlotClone";var u=({children:e})=>(0,a.jsx)(a.Fragment,{children:e});function c(e){return n.isValidElement(e)&&e.type===u}var f=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=n.forwardRef((e,r)=>{let{asChild:n,...o}=e,i=n?l:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(i,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function d(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},97816:(e,t,r)=>{"use strict";r.d(t,{g7:()=>f,Z8:()=>c});var n=r(9885),o=r.t(n,2);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}var a=r(60080),l=Symbol.for("react.lazy"),s=o[" use ".trim().toString()];function u(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===l&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}function c(e){let t=function(e){let t=n.forwardRef((e,t)=>{let{children:r,...o}=e;if(u(r)&&"function"==typeof s&&(r=s(r._payload)),n.isValidElement(r)){var a;let e,l;let s=(a=r,(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?a.ref:(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?a.props.ref:a.props.ref||a.ref),u=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n],a=/^on[A-Z]/.test(n);a?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(o,r.props);return r.type!==n.Fragment&&(u.ref=t?function(...e){return t=>{let r=!1,n=e.map(e=>{let n=i(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():i(e[t],null)}}}}(t,s):s),n.cloneElement(r,u)}return n.Children.count(r)>1?n.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=n.forwardRef((e,r)=>{let{children:o,...i}=e;u(o)&&"function"==typeof s&&(o=s(o._payload));let l=n.Children.toArray(o),c=l.find(p);if(c){let e=c.props.children,o=l.map(t=>t!==c?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,a.jsx)(t,{...i,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,o):null})}return(0,a.jsx)(t,{...i,ref:r,children:o})});return r.displayName=`${e}.Slot`,r}var f=c("Slot"),d=Symbol("radix.slottable");function p(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===d}},32285:(e,t,r)=>{"use strict";r.d(t,{W:()=>o});var n=r(9885);function o(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},43408:(e,t,r)=>{"use strict";r.d(t,{T:()=>i});var n=r(9885),o=r(32285);function i({prop:e,defaultProp:t,onChange:r=()=>{}}){let[i,a]=function({defaultProp:e,onChange:t}){let r=n.useState(e),[i]=r,a=n.useRef(i),l=(0,o.W)(t);return n.useEffect(()=>{a.current!==i&&(l(i),a.current=i)},[i,a,l]),r}({defaultProp:t,onChange:r}),l=void 0!==e,s=l?e:i,u=(0,o.W)(r),c=n.useCallback(t=>{if(l){let r="function"==typeof t?t(e):t;r!==e&&u(r)}else a(t)},[l,e,a,u]);return[s,c]}},95852:(e,t,r)=>{"use strict";r.d(t,{b:()=>o});var n=r(9885),o=globalThis?.document?n.useLayoutEffect:()=>{}},46896:(e,t,r)=>{"use strict";r.d(t,{t:()=>i});var n=r(9885),o=r(95852);function i(e){let[t,r]=n.useState(void 0);return(0,o.b)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,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;n=t.inlineSize,o=t.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}},91971:(e,t,r)=>{"use strict";r.d(t,{j:()=>a});var n=r(10566);let o=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=n.W,a=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return i(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:a,defaultVariants:l}=t,s=Object.keys(a).map(e=>{let t=null==r?void 0:r[e],n=null==l?void 0:l[e];if(null===t)return null;let i=o(t)||o(n);return a[e][i]}),u=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{}),c=null==t?void 0:null===(n=t.compoundVariants)||void 0===n?void 0:n.reduce((e,t)=>{let{class:r,className:n,...o}=t;return Object.entries(o).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...l,...u}[t]):({...l,...u})[t]===r})?[...e,r,n]:e},[]);return i(e,s,c,null==r?void 0:r.class,null==r?void 0:r.className)}},10566:(e,t,r)=>{"use strict";function n(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=function e(t){var r,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t)){var i=t.length;for(r=0;r<i;r++)t[r]&&(n=e(t[r]))&&(o&&(o+=" "),o+=n)}else for(n in t)t[n]&&(o&&(o+=" "),o+=n)}return o}(e))&&(n&&(n+=" "),n+=t);return n}r.d(t,{W:()=>n})},78126:(e,t,r)=>{"use strict";r.d(t,{m6:()=>K});let n=e=>{let t=l(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{let r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),o(r,t)||a(e)},getConflictingClassGroupIds:(e,t)=>{let o=r[e]||[];return t&&n[e]?[...o,...n[e]]:o}}},o=(e,t)=>{if(0===e.length)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),i=n?o(e.slice(1),n):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],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},l=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]},o=f(Object.entries(e.classGroups),r);return o.forEach(([e,r])=>{s(r,n,e,t)}),n},s=(e,t,r,n)=>{e.forEach(e=>{if("string"==typeof e){let n=""===e?t:u(t,e);n.classGroupId=r;return}if("function"==typeof e){if(c(e)){s(e(n),t,r,n);return}t.validators.push({validator:e,classGroupId:r});return}Object.entries(e).forEach(([e,o])=>{s(o,u(t,e),r,n)})})},u=(e,t)=>{let r=e;return t.split("-").forEach(e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)}),r},c=e=>e.isThemeGetter,f=(e,t)=>t?e.map(([e,r])=>{let n=r.map(e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,r])=>[t+e,r])):e);return[e,n]}):e,d=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=new Map,n=new Map,o=(o,i)=>{r.set(o,i),++t>e&&(t=0,n=r,r=new Map)};return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(o(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):o(e,t)}}},p=e=>{let{separator:t,experimentalParseClassName:r}=e,n=1===t.length,o=t[0],i=t.length,a=e=>{let r;let a=[],l=0,s=0;for(let u=0;u<e.length;u++){let c=e[u];if(0===l){if(c===o&&(n||e.slice(u,u+i)===t)){a.push(e.slice(s,u)),s=u+i;continue}if("/"===c){r=u;continue}}"["===c?l++:"]"===c&&l--}let u=0===a.length?e:e.substring(s),c=u.startsWith("!"),f=c?u.substring(1):u,d=r&&r>s?r-s:void 0;return{modifiers:a,hasImportantModifier:c,baseClassName:f,maybePostfixModifierPosition:d}};return r?e=>r({className:e,parseClassName:a}):a},m=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(e=>{let n="["===e[0];n?(t.push(...r.sort(),e),r=[]):r.push(e)}),t.push(...r.sort()),t},h=e=>({cache:d(e.cacheSize),parseClassName:p(e),...n(e)}),g=/\s+/,b=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o}=t,i=[],a=e.trim().split(g),l="";for(let e=a.length-1;e>=0;e-=1){let t=a[e],{modifiers:s,hasImportantModifier:u,baseClassName:c,maybePostfixModifierPosition:f}=r(t),d=!!f,p=n(d?c.substring(0,f):c);if(!p){if(!d||!(p=n(c))){l=t+(l.length>0?" "+l:l);continue}d=!1}let h=m(s).join(":"),g=u?h+"!":h,b=g+p;if(i.includes(b))continue;i.push(b);let y=o(p,d);for(let e=0;e<y.length;++e){let t=y[e];i.push(g+t)}l=t+(l.length>0?" "+l:l)}return l};function y(){let e,t,r=0,n="";for(;r<arguments.length;)(e=arguments[r++])&&(t=v(e))&&(n&&(n+=" "),n+=t);return n}let v=e=>{let t;if("string"==typeof e)return e;let r="";for(let n=0;n<e.length;n++)e[n]&&(t=v(e[n]))&&(r&&(r+=" "),r+=t);return r},w=e=>{let t=t=>t[e]||[];return t.isThemeGetter=!0,t},x=/^\[(?:([a-z-]+):)?(.+)\]$/i,_=/^\d+\/\d+$/,E=new Set(["px","full","screen"]),S=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,R=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,P=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,O=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,j=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,C=e=>M(e)||E.has(e)||_.test(e),k=e=>V(e,"length",H),M=e=>!!e&&!Number.isNaN(Number(e)),N=e=>V(e,"number",M),T=e=>!!e&&Number.isInteger(Number(e)),A=e=>e.endsWith("%")&&M(e.slice(0,-1)),L=e=>x.test(e),W=e=>S.test(e),z=new Set(["length","size","percentage"]),I=e=>V(e,z,Y),D=e=>V(e,"position",Y),F=new Set(["image","url"]),B=e=>V(e,F,X),$=e=>V(e,"",G),U=()=>!0,V=(e,t,r)=>{let n=x.exec(e);return!!n&&(n[1]?"string"==typeof t?n[1]===t:t.has(n[1]):r(n[2]))},H=e=>R.test(e)&&!P.test(e),Y=()=>!1,G=e=>O.test(e),X=e=>j.test(e);Symbol.toStringTag;let K=function(e){let t,r,n;let o=function(a){let l=[].reduce((e,t)=>t(e),e());return r=(t=h(l)).cache.get,n=t.cache.set,o=i,i(a)};function i(e){let o=r(e);if(o)return o;let i=b(e,t);return n(e,i),i}return function(){return o(y.apply(null,arguments))}}(()=>{let e=w("colors"),t=w("spacing"),r=w("blur"),n=w("brightness"),o=w("borderColor"),i=w("borderRadius"),a=w("borderSpacing"),l=w("borderWidth"),s=w("contrast"),u=w("grayscale"),c=w("hueRotate"),f=w("invert"),d=w("gap"),p=w("gradientColorStops"),m=w("gradientColorStopPositions"),h=w("inset"),g=w("margin"),b=w("opacity"),y=w("padding"),v=w("saturate"),x=w("scale"),_=w("sepia"),E=w("skew"),S=w("space"),R=w("translate"),P=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],j=()=>["auto",L,t],z=()=>[L,t],F=()=>["",C,k],V=()=>["auto",M,L],H=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],G=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>["start","end","center","between","around","evenly","stretch"],K=()=>["","0",L],q=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Z=()=>[M,L];return{cacheSize:500,separator:":",theme:{colors:[U],spacing:[C,k],blur:["none","",W,L],brightness:Z(),borderColor:[e],borderRadius:["none","","full",W,L],borderSpacing:z(),borderWidth:F(),contrast:Z(),grayscale:K(),hueRotate:Z(),invert:K(),gap:z(),gradientColorStops:[e],gradientColorStopPositions:[A,k],inset:j(),margin:j(),opacity:Z(),padding:z(),saturate:Z(),scale:Z(),sepia:K(),skew:Z(),space:z(),translate:z()},classGroups:{aspect:[{aspect:["auto","square","video",L]}],container:["container"],columns:[{columns:[W]}],"break-after":[{"break-after":q()}],"break-before":[{"break-before":q()}],"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:[...H(),L]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",T,L]}],basis:[{basis:j()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",L]}],grow:[{grow:K()}],shrink:[{shrink:K()}],order:[{order:["first","last","none",T,L]}],"grid-cols":[{"grid-cols":[U]}],"col-start-end":[{col:["auto",{span:["full",T,L]},L]}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":[U]}],"row-start-end":[{row:["auto",{span:[T,L]},L]}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",L]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",L]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal",...X()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...X(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...X(),"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":[S]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[S]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",L,t]}],"min-w":[{"min-w":[L,t,"min","max","fit"]}],"max-w":[{"max-w":[L,t,"none","full","min","max","fit","prose",{screen:[W]},W]}],h:[{h:[L,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[L,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[L,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[L,t,"auto","min","max","fit"]}],"font-size":[{text:["base",W,k]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",N]}],"font-family":[{font:[U]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",L]}],"line-clamp":[{"line-clamp":["none",M,N]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",C,L]}],"list-image":[{"list-image":["none",L]}],"list-style-type":[{list:["none","disc","decimal",L]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[b]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[b]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",C,k]}],"underline-offset":[{"underline-offset":["auto",C,L]}],"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",L]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",L]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[b]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...H(),D]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",I]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},B]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],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:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[b]}],"border-style":[{border:[...Y(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[b]}],"divide-style":[{divide:Y()}],"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:["",...Y()]}],"outline-offset":[{"outline-offset":[C,L]}],"outline-w":[{outline:[C,k]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:F()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[b]}],"ring-offset-w":[{"ring-offset":[C,k]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",W,$]}],"shadow-color":[{shadow:[U]}],opacity:[{opacity:[b]}],"mix-blend":[{"mix-blend":[...G(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":G()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[s]}],"drop-shadow":[{"drop-shadow":["","none",W,L]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[f]}],saturate:[{saturate:[v]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[s]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[b]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",L]}],duration:[{duration:Z()}],ease:[{ease:["linear","in","out","in-out",L]}],delay:[{delay:Z()}],animate:[{animate:["none","spin","ping","pulse","bounce",L]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[T,L]}],"translate-x":[{"translate-x":[R]}],"translate-y":[{"translate-y":[R]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",L]}],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",L]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":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",L]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[C,k,N]}],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"]}}})},16158:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__addDisposableResource:()=>A,__assign:()=>i,__asyncDelegator:()=>R,__asyncGenerator:()=>S,__asyncValues:()=>P,__await:()=>E,__awaiter:()=>m,__classPrivateFieldGet:()=>M,__classPrivateFieldIn:()=>T,__classPrivateFieldSet:()=>N,__createBinding:()=>g,__decorate:()=>l,__disposeResources:()=>W,__esDecorate:()=>u,__exportStar:()=>b,__extends:()=>o,__generator:()=>h,__importDefault:()=>k,__importStar:()=>C,__makeTemplateObject:()=>O,__metadata:()=>p,__param:()=>s,__propKey:()=>f,__read:()=>v,__rest:()=>a,__runInitializers:()=>c,__setFunctionName:()=>d,__spread:()=>w,__spreadArray:()=>_,__spreadArrays:()=>x,__values:()=>y,default:()=>z});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i=function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function l(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a}function s(e,t){return function(r,n){t(r,n,e)}}function u(e,t,r,n,o,i){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var l,s=n.kind,u="getter"===s?"get":"setter"===s?"set":"value",c=!t&&e?n.static?e:e.prototype:null,f=t||(c?Object.getOwnPropertyDescriptor(c,n.name):{}),d=!1,p=r.length-1;p>=0;p--){var m={};for(var h in n)m[h]="access"===h?{}:n[h];for(var h in n.access)m.access[h]=n.access[h];m.addInitializer=function(e){if(d)throw TypeError("Cannot add initializers after decoration has completed");i.push(a(e||null))};var g=(0,r[p])("accessor"===s?{get:f.get,set:f.set}:f[u],m);if("accessor"===s){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(l=a(g.get))&&(f.get=l),(l=a(g.set))&&(f.set=l),(l=a(g.init))&&o.unshift(l)}else(l=a(g))&&("field"===s?o.unshift(l):f[u]=l)}c&&Object.defineProperty(c,n.name,f),d=!0}function c(e,t,r){for(var n=arguments.length>2,o=0;o<t.length;o++)r=n?t[o].call(e,r):t[o].call(e);return n?r:void 0}function f(e){return"symbol"==typeof e?e:"".concat(e)}function d(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function p(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function m(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function l(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,l)}s((n=n.apply(e,t||[])).next())})}function h(e,t){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=l(0),a.throw=l(1),a.return=l(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(l){return function(s){return function(l){if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,l[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&l[0]?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,n=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===l[0]||2===l[0])){i=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]<o[3])){i.label=l[1];break}if(6===l[0]&&i.label<o[1]){i.label=o[1],o=l;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(l);break}o[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(e){l=[6,e],n=0}finally{r=o=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}}var g=Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function b(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||g(t,e,r)}function y(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function x(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),o=0,t=0;t<r;t++)for(var i=arguments[t],a=0,l=i.length;a<l;a++,o++)n[o]=i[a];return n}function _(e,t,r){if(r||2==arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function E(e){return this instanceof E?(this.v=e,this):new E(e)}function S(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),i=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),n[Symbol.asyncIterator]=function(){return this},n;function a(e,t){o[e]&&(n[e]=function(t){return new Promise(function(r,n){i.push([e,t,r,n])>1||l(e,t)})},t&&(n[e]=t(n[e])))}function l(e,t){try{var r;(r=o[e](t)).value instanceof E?Promise.resolve(r.value.v).then(s,u):c(i[0][2],r)}catch(e){c(i[0][3],e)}}function s(e){l("next",e)}function u(e){l("throw",e)}function c(e,t){e(t),i.shift(),i.length&&l(i[0][0],i[0][1])}}function R(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:E(e[n](t)),done:!1}:o?o(t):t}:o}}function P(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=y(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,o){(function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)})(n,o,(t=e[r](t)).done,t.value)})}}}function O(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var j=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function C(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&g(t,e,r);return j(t,e),t}function k(e){return e&&e.__esModule?e:{default:e}}function M(e,t,r,n){if("a"===r&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function N(e,t,r,n,o){if("m"===n)throw TypeError("Private method is not writable");if("a"===n&&!o)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r}function T(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function A(e,t,r){if(null!=t){var n,o;if("object"!=typeof t&&"function"!=typeof t)throw TypeError("Object expected.");if(r){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(o=n)}if("function"!=typeof n)throw TypeError("Object not disposable.");o&&(n=function(){try{o.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var L="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function W(e){function t(t){e.error=e.hasError?new L(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,n=0;return function o(){for(;r=e.stack.pop();)try{if(!r.async&&1===n)return n=0,e.stack.push(r),Promise.resolve().then(o);if(r.dispose){var i=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(i).then(o,function(e){return t(e),o()})}else n|=1}catch(e){t(e)}if(1===n)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}let z={__extends:o,__assign:i,__rest:a,__decorate:l,__param:s,__metadata:p,__awaiter:m,__generator:h,__createBinding:g,__exportStar:b,__values:y,__read:v,__spread:w,__spreadArrays:x,__spreadArray:_,__await:E,__asyncGenerator:S,__asyncDelegator:R,__asyncValues:P,__makeTemplateObject:O,__importStar:C,__importDefault:k,__classPrivateFieldGet:M,__classPrivateFieldSet:N,__classPrivateFieldIn:T,__addDisposableResource:A,__disposeResources:W}}};