(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,205453,e=>{"use strict";var t=e.i(16043),r=e.i(976987),n=e.i(195155),o=e.i(906793),i=e.i(643668),l=e.i(997932),a=e.i(221271),s=e.i(807257),u=e.i(591099),c=e.i(393298),f=e.i(227012),d=e.i(132887),p=e.i(70110),h=e.i(682269),g=e.i(211022);let m=n.f.os.mac&&o.f.engine.webkit;e.s(["f",0,function(e,n={}){let{enabled:o=!0,delay:v}=n,{events:b,dataRef:y}=e.context,w=t.useRef(!1),x=t.useRef(null),C=t.useRef(!0),A=(0,a.e)();t.useEffect(()=>{let t=e.select("domReferenceElement");if(!o)return;let n=(0,s.K)(t);return(0,i.f)((0,r.f)(n,"blur",function(){let t=e.select("domReferenceElement");!e.select("open")&&(0,s.E)(t)&&t===(0,c.T)((0,l.f)(t))&&(w.current=!0,x.current=t)}),m&&(0,r.f)(n,"keydown",function(){C.current=!0},!0),m&&(0,r.f)(n,"pointerdown",function(){C.current=!1},!0))},[e,o]),t.useEffect(()=>{if(o)return b.on("openchange",t),()=>{b.off("openchange",t)};function t(t){if(t.reason===p.f.triggerPress||t.reason===h.f.escapeKey){let t=e.select("domReferenceElement");(0,s.m)(t)&&(x.current=t,w.current=!0)}}},[b,o,e]);let k=t.useMemo(()=>{function t(){w.current=!1,x.current=null}return{onMouseLeave(){t()},onFocus(r){let n=r.currentTarget;if(w.current){if(x.current===n)return;t()}let o=(0,c.Z)(r.nativeEvent);if((0,s.m)(o)){if(m&&!r.relatedTarget){if(!C.current&&!(0,f.Q)(o))return}else if(!(0,f.F)(o))return}let i=(0,f.x)(r.relatedTarget,e.context.triggerElements),{nativeEvent:l,currentTarget:a}=r;e.select("open")&&i||!v?e.setOpen(!0,(0,d.j)(g.f.triggerFocus,l,a)):A.start(v,()=>{w.current||e.setOpen(!0,(0,d.j)(g.f.triggerFocus,l,a))})},onBlur(r){t();let n=r.relatedTarget,o=r.nativeEvent,i=(0,s.m)(n)&&n.hasAttribute((0,u.f)("focus-guard"))&&"outside"===n.getAttribute("data-type");A.start(0,()=>{let t=e.select("domReferenceElement"),r=(0,c.T)((0,l.f)(t));if(!n&&r===t||(0,c.I)(y.current.floatingContext?.refs.floating.current,r)||(0,c.I)(t,r)||i)return;let a=n??r;(0,f.x)(a,e.context.triggerElements)||e.setOpen(!1,(0,d.j)(g.f.triggerFocus,o))})}}},[y,v,e,A]);return t.useMemo(()=>o?{reference:k,trigger:k}:{},[o,k])}])},256804,898658,612308,e=>{"use strict";e.s(["f",0,function(e,t){let r={};for(let n in e){let o=e[n];if(t?.hasOwnProperty(n)){let e=t[n](o);null!=e&&Object.assign(r,e);continue}!0===o?r[`data-${n.toLowerCase()}`]="":o&&(r[`data-${n.toLowerCase()}`]=o.toString())}return r}],256804),e.s(["f",0,function(e,t){return"function"==typeof e?e(t):e}],898658),e.s(["f",0,function(e,t){return"function"==typeof e?e(t):e}],612308)},907621,e=>{"use strict";var t=e.i(24220);e.s(["f",0,t])},93836,e=>{"use strict";var t=e.i(16043),r=e.i(82153),n=e.i(607490),o=e.i(459265);e.i(88591);var i=e.i(115370),l=e.i(256804),a=e.i(898658),s=e.i(612308),u=e.i(195618);let c=Symbol.for("react.lazy");function f(e){if(e?.$$typeof!==c)return e;let r=t.Children.toArray(e)[0];return t.isValidElement(r)?r:e}e.s(["L",0,f,"a",0,function(e,c,d={}){let p=c.render;!1!==d.enabled&&(p=f(p));let h=function(e,t,c){var f;let{className:d,style:p}=e,{state:h=i.w,ref:g,props:m,stateAttributesMapping:v,enabled:b=!0}=t,y=b?(0,a.f)(d,h):void 0,w=b?(0,s.f)(p,h):void 0,x=b?(0,l.f)(h,v):i.w,C=b&&m?Array.isArray(f=m)?(0,u.b)(f):(0,u.w)(void 0,f):void 0,A=b?(0,o.f)(x,C)??{}:i.w;return("u">typeof document&&(b?Array.isArray(g)?A.ref=(0,r.f)([A.ref,(0,n.f)(c),...g]):A.ref=(0,r.A)(A.ref,(0,n.f)(c),g):(0,r.A)(null,null)),b)?(void 0!==y&&(A.className=(0,u.c)(A.className,y)),void 0!==w&&(A.style=(0,o.f)(A.style,w)),A):i.w}(c,d,p);return!1===d.enabled?null:function(e,r,n,o){var i,l;if(r){if("function"==typeof r)return r(n,o);let e=(0,u.w)(n,r.props);return e.ref=n.ref,t.cloneElement(r,e)}return i=e,l=n,"button"===i?(0,t.createElement)("button",{type:"button",...l,key:l.key}):"img"===i?(0,t.createElement)("img",{alt:"",...l,key:l.key}):t.createElement(i,l)}(e,p,h,d.state??i.w)}])},195618,e=>{"use strict";var t=e.i(459265);let r={};function n(e){return l(e)?{...e(r)}:function(e){let t={...e};for(let e in t){let r=t[e];i(e,r)&&(t[e]=a(r))}return t}(e)}function o(e,r){return l(r)?r(e):function(e,r){if(!r)return e;for(let n in r){let o=r[n];switch(n){case"style":e[n]=(0,t.f)(e.style,o);break;case"className":e[n]=u(e.className,o);break;default:i(n,o)?e[n]=function(e,t){return t?e?(...r)=>{let n=r[0];if(c(n)){s(n);let o=t(...r);return n.baseUIHandlerPrevented||e?.(...r),o}let o=t(...r);return e?.(...r),o}:a(t):e}(e[n],o):e[n]=o}}return e}(e,r)}function i(e,t){let r=e.charCodeAt(0),n=e.charCodeAt(1),o=e.charCodeAt(2);return 111===r&&110===n&&o>=65&&o<=90&&("function"==typeof t||void 0===t)}function l(e){return"function"==typeof e}function a(e){return e?(...t)=>{let r=t[0];return c(r)&&s(r),e(...t)}:e}function s(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function u(e,t){return t?e?t+" "+e:t:e}function c(e){return null!=e&&"object"==typeof e&&"nativeEvent"in e}e.s(["U",0,s,"c",0,u,"w",0,function(e,t,r,i,l){if(!r&&!i&&!l&&!e)return n(t);let a=n(e);return t&&(a=o(a,t)),r&&(a=o(a,r)),i&&(a=o(a,i)),l&&(a=o(a,l)),a},"b",0,function(e){if(0===e.length)return r;if(1===e.length)return n(e[0]);let t=n(e[0]);for(let r=1;r{"use strict";var t=e.i(93836);e.s(["f",0,function(e){return(0,t.a)(e.defaultTagName??"div",e,e)}])},344791,e=>{"use strict";var t=e.i(16043),r=e.i(18728),n=e.i(432897),o=e.i(659350);let i=t.forwardRef(function(e,i){let{children:l,container:a,className:s,render:u,style:c,...f}=e,{node:d,subtree:p}=(0,n.o)({container:a,ref:i,componentProps:e,elementProps:f});return p||d?(0,o.jsxs)(t.Fragment,{children:[p,d&&r.createPortal(l,d)]}):null});e.s(["f",0,i])},115370,e=>{"use strict";let t=Object.freeze([]),r=Object.freeze({});e.s(["v",0,t,"w",0,r,"x",0,function(){}])},607490,e=>{"use strict";var t=e.i(16043),r=e.i(531893);e.s(["f",0,function(e){if(!t.isValidElement(e))return null;let n=e.props;return((0,r.f)(19)?n?.ref:e.ref)??null}])},459265,e=>{"use strict";e.s(["f",0,function(e,t){return e&&!t?e:!e&&t?t:e||t?{...e,...t}:void 0}])},531893,e=>{"use strict";let t=parseInt(e.i(16043).version,10);e.s(["f",0,function(e){return t>=e}])},82153,e=>{"use strict";var t=e.i(480758);function r(){return{callback:null,cleanup:null,refs:[]}}function n(e,t){if(e.refs=t,t.every(e=>null==e)){e.callback=null;return}e.callback=r=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),null!=r){let n=Array(t.length).fill(null);for(let e=0;e{for(let e=0;ee!==i[t]))&&n(l,e),l.callback}])},480758,e=>{"use strict";var t=e.i(16043);let r={};e.s(["useRefWithInit",0,function(e,n){let o=t.useRef(r);return o.current===r&&(o.current=e(n)),o}])},88591,e=>{"use strict";e.s(["f",0,function(){}],88591)},207298,e=>{"use strict";var t=e.i(470733);let r=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=t.q;e.s(["f",0,(e,t)=>o=>{var i;if((null==t?void 0:t.variants)==null)return n(e,null==o?void 0:o.class,null==o?void 0:o.className);let{variants:l,defaultVariants:a}=t,s=Object.keys(l).map(e=>{let t=null==o?void 0:o[e],n=null==a?void 0:a[e];if(null===t)return null;let i=r(t)||r(n);return l[e][i]}),u=o&&Object.entries(o).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return n(e,s,null==t||null==(i=t.compoundVariants)?void 0:i.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({...a,...u}[t]):({...a,...u})[t]===r})?[...e,r,n]:e},[]),null==o?void 0:o.class,null==o?void 0:o.className)}])},470733,e=>{"use strict";function t(){for(var e,t,r=0,n="",o=arguments.length;r{"use strict";var t=e.i(16043);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},o=(0,t.createContext)({}),i=(0,t.forwardRef)(({color:e,size:i,width:l,height:a,strokeWidth:s,absoluteStrokeWidth:u,nonScalingStroke:c,className:f="",children:d,iconNode:p=[],icon:h={node:p,aliases:[],size:24},...g},m)=>{let{size:v=24,strokeWidth:b=2,absoluteStrokeWidth:y=!1,nonScalingStroke:w=!1,color:x="currentColor",className:C=""}=(0,t.useContext)(o)??{},A=!!d||(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(g),[k,E,S=[]]=function(e,t={}){return function(e,t={}){let o=t.attributeNames??{},i=e=>o[e]??e,l=e.size??e.width??n.width,a=e.size??e.height??n.height,s=e.aliases?.filter(e=>"string"==typeof e&&""!==e.trim()).map(e=>`lucide-${e}`)??[],u=[...e.name?[`lucide-${e.name}`]:[],...s],c=t.className?.split(" ").filter(Boolean)??[],f=!1===t.includeDefaultClasses?r(...c):r("lucide",...u,...c),d=t.absoluteStrokeWidth?Number(t.strokeWidth??n["stroke-width"])*Number(e.size??e.width??n.width)/Number(t.size??t.width??n.width):t.strokeWidth??n["stroke-width"];return["svg",{...Object.entries(n).reduce((e,[t,r])=>(e[i(t)]=r,e),{}),..."color"in t&&t.color&&{[i("stroke")]:t.color},..."size"in t&&null!=t.size&&{[i("width")]:t.size,[i("height")]:t.size},..."width"in t&&null!=t.width&&{[i("width")]:t.width},..."height"in t&&null!=t.height&&{[i("height")]:t.height},[i("stroke-width")]:d,...f&&{[i("class")]:f},[i("viewBox")]:`0 0 ${l} ${a}`,...!1===t.hasA11yProp?{[i("aria-hidden")]:"true"}:{},..."attributes"in t&&t.attributes},e.node.map(e=>{let[r,n,o]=e,l=t.nonScalingStroke?{[i("vector-effect")]:"non-scaling-stroke",...n}:n;return o?[r,l,o]:[r,l]})]}(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(h,{color:e??x,width:l??i??v,height:a??i??v,strokeWidth:s??b,absoluteStrokeWidth:u??y,nonScalingStroke:c??w,className:r(C,f),hasA11yProp:A,attributes:g});return(0,t.createElement)(k,{ref:m,...E},[...S.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(d)?d:[d]])});e.s(["default",0,i],625327)},651681,e=>{"use strict";var t=e.i(16043),r=e.i(625327);e.s(["f",0,function(e,n=[],o=[]){let i,l="string"==typeof e?function(e,t,r=[]){if(null==t)throw Error("[lucide]: iconNode is required when icon name is used");return{name:e?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),size:24,node:t,...r.length>0?{aliases:r}:{}}}(e,n,o):e,a=(0,t.forwardRef)(({className:e,...n},o)=>(0,t.createElement)(r.default,{ref:o,icon:l,className:e,...n}));return l.name&&(a.displayName=(i=(e=>{let t="",r=!1;for(let n of e){if("-"===n||"_"===n||n<=" "){r=t.length>0;continue}0===t.length?t+=n.toLowerCase():t+=r?n.toUpperCase():n,r=!1}return t})(l.name)).charAt(0).toUpperCase()+i.slice(1)),a}],651681)},739013,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return v},useLinkStatus:function(){return y}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(288802),l=e.r(659350),a=i._(e.r(16043)),s=e.r(838135),u=e.r(100897),c=e.r(360925),f=e.r(669635),d=e.r(407241),p=e.r(718032),h=e.r(457221),g=e.r(942927),m=e.r(653009);function v(t){var r;let n,o,i,[v,y]=(0,a.useOptimistic)(h.IDLE_LINK_STATUS),w=(0,a.useRef)(null),{href:x,as:C,children:A,prefetch:k=null,passHref:E,replace:S,shallow:P,scroll:z,onClick:I,onMouseEnter:j,onTouchStart:O,legacyBehavior:R=!1,onNavigate:T,transitionTypes:N,ref:M,unstable_dynamicOnHover:L,...U}=t;n=A,R&&("string"==typeof n||"number"==typeof n)&&(n=(0,l.jsx)("a",{children:n}));let H=a.default.useContext(u.AppRouterContext),$=!1!==k,B=!1===k?"none":!0===k?"full":"auto",_="none"!==B?"auto"===B?m.FetchStrategy.PPR:m.FetchStrategy.Full:m.FetchStrategy.PPR,D="string"==typeof(r=C||x)?r:(0,s.formatUrl)(r);if(R){if(n?.$$typeof===Symbol.for("react.lazy"))throw Error("`` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `` tag.");o=a.default.Children.only(n)}let F=R?o&&"object"==typeof o&&o.ref:M,W,V=a.default.useCallback(e=>(null!==H&&(w.current=(0,h.mountLinkInstance)(e,D,H,_,$,y,W)),()=>{w.current&&((0,h.unmountLinkForCurrentNavigation)(w.current),w.current=null),(0,h.unmountPrefetchableInstance)(e)}),[$,D,H,_,y,W]),q={ref:(0,c.useMergedRef)(V,F),onClick(t){R||"function"!=typeof I||I(t),R&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!H||t.defaultPrevented||function(t,r,n,o,i,l,a,s="none"){if("u">typeof window){let u,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((u=t.currentTarget.getAttribute("target"))&&"_self"!==u||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,g.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let{navigate:f}=e.r(1669);f(r,o?"replace":"push",!1===i?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,a,s)}}(t,D,w,S,z,T,N,B)},onMouseEnter(e){R||"function"!=typeof j||j(e),R&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),H&&$&&(0,h.onNavigationIntent)(e.currentTarget,!0===L)},onTouchStart:function(e){R||"function"!=typeof O||O(e),R&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),H&&$&&(0,h.onNavigationIntent)(e.currentTarget,!0===L)}};return(0,f.isAbsoluteUrl)(D)?q.href=D:R&&!E&&("a"!==o.type||"href"in o.props)||(q.href=(0,d.addBasePath)(D)),i=R?a.default.cloneElement(o,q):(0,l.jsx)("a",{...U,...q,children:n}),(0,l.jsx)(b.Provider,{value:v,children:i})}let b=(0,a.createContext)(h.IDLE_LINK_STATUS),y=()=>(0,a.useContext)(b);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},360925,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(16043);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=i(e,n)),t&&(o.current=i(t,n))},[e,t])}function i(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},838135,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return a},formatWithValidation:function(){return u},urlObjectKeys:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(288802)._(e.r(682333)),l=/https?|ftp|gopher|file/;function a(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",a=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(i.urlQueryToSearchParams(s)));let c=e.search||s&&`?${s}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||l.test(n))&&!1!==u?(u="//"+(u||""),o&&"/"!==o[0]&&(o="/"+o)):u||(u=""),a&&"#"!==a[0]&&(a="#"+a),c&&"?"!==c[0]&&(c="?"+c),o=o.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${u}${o}${c}${a}`}let s=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return a(e)}},942927,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return i}});let n=e.r(669635),o=e.r(249874);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}}},669635,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return v},MiddlewareNotFoundError:function(){return x},MissingStaticPage:function(){return w},NormalizeError:function(){return b},PageNotFoundError:function(){return y},SP:function(){return g},ST:function(){return m},WEB_VITALS:function(){return i},execOnce:function(){return l},getDisplayName:function(){return f},getLocationOrigin:function(){return u},getURL:function(){return c},isAbsoluteUrl:function(){return s},isResSent:function(){return d},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return C}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=["CLS","FCP","INP","LCP","TTFB"];function l(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let a=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,s=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&a.test(e)};function u(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=u();return e.substring(t.length)}function f(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function d(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function h(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await h(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&d(r))return n;if(!n)throw Error(`"${f(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`);return n}let g="u">typeof performance,m=g&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class v extends Error{}class b extends Error{}class y extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class w extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class x extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function C(e){return JSON.stringify({message:e.message,stack:e.stack})}},136562,e=>{"use strict";var t;let r,n,o,i,l,a,s,u,c,f,d,p,h,g,m,v="line"in Error(),b=(e,t,r)=>{let n=0x811c9dc5;for(let o=t;o{let n=r-t,o=Math.imul(n,0x9e3779b1)^e.charCodeAt(t);if(n>3){let i=n>>2,l=n>>1;o=Math.imul((o=Math.imul(o^e.charCodeAt(t+1)<<8^e.charCodeAt(t+2)<<16^e.charCodeAt(t+i),0x85ebca6b))^e.charCodeAt(t+l)<<8^e.charCodeAt(t+l+i)<<16^e.charCodeAt(r-3),0xc2b2ae35)^(e.charCodeAt(r-2)<<8^e.charCodeAt(r-1)<<16);for(let n=t+3,i=r-4;n>>15},w=(e,t)=>{if(!e)return"";if("string"==typeof e)return e;let r="";if("number"==typeof e.length&&(!t||Array.isArray(e))){for(let n=0;n{let r="";for(let n=0;n{let r=new Int32Array(e.length);for(let n=0;n{let t=new Int32Array(e.length+1);for(let r=0;r{let t=new Int32Array(e.length),r=0;for(let n=0;n>>1^-(1&o),t[n]=r}return t},E=A(C("E0500002005282000000002000150000020021820000011200000003022202000300004200120000200420001200021200301200010400162000010000220021010:2192001200220012000220012000200200200400010200040000000000400200108200110100000022010313000162002000020020012020080213000228200000000082000000000120002000120020020040101020300130001001010")),S=A(C(":11111111211111119311546544411119731869:671397415686432441111111111161114151214313433415:78311132233313187211117221449443411141111151152226611131111112212518142224214215421421542142424242516171151615616347111111111197911327451111111111111111111113134714133513411111311111111111111111111112444411111342312715245411117:3")),P=(()=>{let e=E.length-1,t=new Int32Array(e);for(let r=e-1;r>=0;r--){let e=1,n=r+1;for(let o=E[r];oE?F@03263243255B:032523853:0325B:8GA032542HE?3257D>032585:0325B:;0328B:032"),O=C("012113445661666666789111:5;;;;;;;;444;;;:62999<1161=62>>?61:21@ABCD4446996:64E:::;:?::64:F114GHHIHHHHIHH1HH1HH1HHHHHH::EEJ4444::EE4444441691;644444114244444:;K6666555555555555555999666664444444444444444444444226?6:66644L9M?D:111::::6DE199"),R=k("020200202020020020020020020020200200200200200200200002020202001003040106000200200200200200200200200200200200200200200200200200200200200200200200200200200200020020020020020020002020200202002002002002002002002002002020002002020020200220200200200200200200200200200200020020020000200020002000200200200020020020002000200200200020020202002020202000200200020022000200200020020002002000200220002002000200W0Z00020020002002020002002000200g0j0002002000200200020020002002000200200020020002000200002000002002002002002000200020000200002002002002002002002020020020200200200200200200200200202020020020020020020020020002002002020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020002002002002002002000200200200200200200200200200020202020002000200020002002002002000020200200"),T=(()=>{let e=new Int32Array(319).fill(-1),t=k("02422242:222222242224222242442222222422222244442242226224222426222422442462222422622222222626222462242622422622422424242422222222422222222242422222222222222222622442224222222222222224424442262222222222222222222226224222424242422224422422422222"),r=k("02222222222222222222202222222222222222222222221422222222222222222222222222222222222Y\\222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222221422222222222222222222222222222222222222Ŀł222222222222222222");for(let n=0;n{let t=e.split(" "),r=t.shift();for(let e=0;eʶ22ʷʺʷ2ʸʷ42ʴ2ʓ22>621422ɶ222ɹɼɷɺɷɺ22ɱ42222ɨ2ɧ26622ɘɓ244ƸƵ222]d24242ǖǓƚÄȫ2263ȨȥȨ2222222ǣ222222222222222222ǂƽ2ƾƵ2222222422222ƜƑ22222222222222222222144Ŧţ22Ţş222222222222222222222ĸ2ı68ĦģĦɡŰ4Ġ«®ĝ822ĔđĔ2ē2222622"),U=k("02222222222222222222222222222222222222222222222222222222222222222202022222222222EH2200IL021042222Y\\222IL0cf2e10j2222U00X202[^2y0000120|{~‚22…ˆ‡:22|22222222222G000q†OVI00000}š2›>4Œ‹00ŽŸB00000Iª«000®20000000000000‘021M²±00´—000000000000000000000š222ŸHGHa1¾222Ã2Ä2222ÍÐ000±´22"),H=new Int32Array(1057),$=new Int32Array(1057),B=new Int32Array(1057),_="",D=new Int32Array(1144);{let e=new Map,t=0,r=0;for(let n=0;nF@286¦2@H2D266226FB22B2>BD\\6N22222Z222D222p"),W=A(C("1::24444432:442:44:44>222222:44:4421322511111311111114")),V=k("2Š4A;33N=C@H4A;33N=C@<27;83:;8393NQ:3NQʰ222ˉºŴŽ2R2=18cƴÅҜ=cĞÛC1ƈǝȈ:ħ25=11D3A@4=<1;1DEr25;11B3?<6;:371BCn9@7=<8192>2E121@9@EHE@9>2T25511<398454131<=V25511<398454131<=„ƧNž2Đå242L222290000f22500ɛ000ǘ222"),q=C("ij"),K=C("—"),G=(t=(r=((e,t,r={})=>{let{GROUP_COUNT:n,edgeStart:o,labelStart:i,labelText:l,edgeTarget:a,nodeGroup:s,nodeVlist:u,vlistPat:c,vlistOps:f,vlistRef:d,vlistGroup:p,litAnchor:h,litGroup:g,litPool:m,poolOffsets:w,poolText:C,adjGid:A,adjStart:k,adjTgt:E,patGid:S,patTgt:P,postfixLookupGroups:z,customValidatorNames:I,orderSensitiveModifiers:j}=e,O=new Int32Array(n).fill(-1);for(let e=0;eR&&(R=t)}let T=32;for(;T<2*(1+R+S.length);)T<<=1;let N=new Int32Array(d.length+1);for(let e=0;eU&&(U=t);let r=C.charCodeAt(w[2*m[e]]);(91===r||40===r)&&(H=!1)}let $=1;for(;$<2*h.length;)$<<=1;let B=new Int32Array($).fill(-1);for(let e=0;e{let o=(b(t,r,n)^Math.imul(e,0x9e3779b1))&$-1,i=n-r;for(;;){let n=B[o];if(-1===n)return -1;if(h[n]===e&&w[2*m[n]+1]===i){let e=w[2*m[n]],o=!0;for(let n=0;n{let r=t&&t[e];if(!r)throw Error("cn: missing validator "+e);return r}),K=/\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$/,G=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,X=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,J=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Z=0,Y=-1,Q=-1,ee=-1,et=-1,er=e=>e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||95===e,en=e=>/\s/.test(String.fromCharCode(e)),eo=(e,t,r)=>{if(Z=0,Y=-1,r-t<3)return;let n=e.charCodeAt(t),o=e.charCodeAt(r-1);if(91===n&&93===o)Z=1;else{if(40!==n||41!==o)return;Z=2}ee=t+1,et=r-1;let i=t+1;if(er(e.charCodeAt(i))){for(i++;i{if(r-t!==n.length)return!1;for(let r=0;r!!e&&!Number.isNaN(Number(e)),eu=[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2],ec="length|number|number weight|family-name|position percentage|length size bg-size|image url|shadow|length|family-name|position percentage|length size bg-size|image url|shadow|number weight".split("|").map(e=>e.split(" ")),ef=[2,3,1,0,0,0,4,5,0,0,0,0,0,1,1],ed=(e,t,r,n)=>{if(e>=10){if(e>=25)return q[e-25](t.slice(r,n));let o=e-10;if(Z!==eu[o])return!1;if(Y>=0){for(let e of ec[o])if(ei(t,Y,Q,e))return!0;return!1}switch(ef[o]){case 0:return!1;case 1:return!0;case 2:{let e=t.slice(ee,et);return K.test(e)&&!G.test(e)}case 3:return es(t.slice(ee,et));case 4:return J.test(t.slice(ee,et));default:return X.test(t.slice(ee,et))}}switch(e){case 0:return!0;case 1:return 0===Z;case 2:return 1===Z;case 3:return 2===Z;case 4:return el.test(t.slice(r,n));case 5:return es(t.slice(r,n));case 6:{let e=t.slice(r,n);return!!e&&Number.isInteger(Number(e))}case 7:return n>r&&37===t.charCodeAt(n-1)&&es(t.slice(r,n-1));case 8:return ea.test(t.slice(r,n));default:if(n-r<11||!ei(t,r,r+10,"@container"))return!1;if(47===t.charCodeAt(r+10))return n-r>=12;let o=t.charCodeAt(r+11);return 115===o&&n-r>=17&&ei(t,r+10,r+16,"-size/")||110===o&&n-r>=19&&ei(t,r+10,r+18,"-normal/")}},ep=new Set("string"==typeof j?j.split(" "):j),eh=(e,t,r,n,o,i)=>{let l=b(t,r,n)^0x9e3779b9*!!o,a=e.get(l);if(void 0!==a)e:for(let e=0;e{let r=[],n=0,o=0,i=0;for(let t=0;t1){let e=[],t=[];for(let n of r)91===n.charCodeAt(0)||ep.has(n)?(t.length&&(e.push(...t.sort()),t=[]),e.push(n)):t.push(n);t.length&&e.push(...t.sort()),l=e.join(":")}let a=t?l+" !":l,s=em.get(a);return void 0===s&&em.set(a,s=ev++),s},ey=new Map,ew=n,ex=n+4096,eC=()=>ew++,eA=new Int32Array(8192),ek=Array(8192).fill(null),eE=new Int32Array(8192),eS=new Int32Array(8192),eP=new Uint8Array(8192),ez=0,eI=(e,t,r,n,o,i,l,a)=>{let s=e;if(null!==ek[e])if(null===ek[1|e])s=1|e;else{if((3&ez++)!=0)return;s=e|ez>>2&1}ek[s]=t.slice(r,n),eA[s]=o,eE[s]=i,eS[s]=l,eP[s]=a},ej=256,eO=[new Int32Array(256),new Int32Array(ej),new Int32Array(ej),new Int32Array(ej)],[eR,eT,eN,eM]=eO,eL=new Uint8Array(ej),eU=new Uint8Array(ej),eH=()=>{ej*=2,eO=eO.map(e=>{let t=new Int32Array(ej);return t.set(e),t}),[eR,eT,eN,eM]=eO;let e=new Uint8Array(ej);e.set(eL),eL=e,eU=new Uint8Array(ej)},e$=64,eB=new Int32Array(64),e_=new Int32Array(e$),eD=new Int32Array(n),eF=2048,eW=21,eV=new Float64Array(2048),eq=new Int32Array(eF),eK=0,eG=(e,t)=>{if(0===e&&t>>eW;for(;eq[o]===eK;){if(eV[o]===r)return 1;o=o+1&eF-1}return eV[o]=r,eq[o]=eK,0},eX=(e,t,r,n,o)=>{if(r-t>=2&&91===e.charCodeAt(t)&&93===e.charCodeAt(r-1)){let n=-1;for(let o=t+1;o=0&&s[n]>=0)return s[n];for(let t=o-1;t>=0;t--){let n=e_[t];if(n>r)continue;let o=eB[t],i=r-n;if(1===L[o]&&i>0&&i<=U){let t=e.charCodeAt(n);if(!1===H||91!==t&&40!==t){let t=_(o,e,n,r);if(t>=0)return t}}let l=u[o];if(l<0)continue;let a=d[l],s=c[a],h=c[a+1];if(s===h)continue;eo(e,n,r);let g=N[l]-s;for(let t=s;t{let t=e.length,r=0,s=0,c=!1;(ev>4096||eg.size>4096)&&(eg=new Map,em=new Map,ev=2,ek.fill(null)),ew>ex&&(ey=new Map,ew=n,ek.fill(null));let f=0;for(;f=9&&p<=13||p>=160&&en(p)){32!==p&&(c=!0),f++;continue}let h=f,g=0;for(;f=9&&p<=13){c=!0;break}}else if(p>=160&&en(p)){c=!0;break}g=Math.imul(g^p,0x1000193),f++}let m=f,v=m-h;r===ej&&eH();let b=r++;eR[b]=h,eT[b]=m,s+=v;let y=(g^=Math.imul(v,0x9e3779b1))^g>>>15,w=8190&y;{let t=-1;if(eA[w]===y&&null!==ek[w]&&ek[w].length===v?t=w:eA[1|w]===y&&null!==ek[1|w]&&ek[1|w].length===v&&(t=1|w),t>=0){let r=ek[t],n=!0;for(let t=0;t=x?k+1:x,P=S,z=m,I=!1,j=0;z>P&&33===e.charCodeAt(z-1)?(I=!0,z--):z>P&&33===e.charCodeAt(P)&&(I=!0,P++,j=1);let O=-1;E>S&&(O=E+j)>=z&&(O=-1);let R=P;z-P>1&&45===e.charCodeAt(P)&&(R=P+1);let T=0,N=0,U=0,H=-1,$=0;(u[0]>=0||1===L[0])&&(eB[0]=0,e_[0]=R,$=1);let B=-1,_=0;for(let t=R;t=0&&(u[n]>=0||1===L[n])&&t+1=0)if(F=!0,-1!==(d=eX(e,P,O,B,_))&&d=k?+!!I:eh(eg,e,x,k,+!!I,e=>eb(e,I)),eN[b]=d,eL[b]=K,eM[b]=q),eI(w,e,h,m,y,d,q,K)}if(0===r)return"";if(1===r)return 0===eR[0]&&eT[0]===t?e:e.slice(eR[0],eT[0]);if(r*T>eF){for(;r*T>eF;)eF<<=1,eW--;eV=new Float64Array(eF),eq=new Int32Array(eF)}if(ev>=2097152||ew>=2097152)throw Error("cn: too many distinct classes in one merge");0==(eK=eK+1|0)&&(eD.fill(0),eq.fill(0),eK=1);let d=!1;for(let e=r-1;e>=0;e--){let t=eN[e];if(-1===t){eU[e]=1;continue}let r=eM[e];if(1===eG(r,t)){eU[e]=0,d=!0;continue}if(eU[e]=1,t=0)for(let e=k[n];e0&&(p+=" "),p+=e.slice(t,n),h=o}return p},eZ=new Int32Array(32768),eY=0,eQ=1,e0=Object.create(null),e2=Object.create(null),e1=new Map,e4=new Map,e3=0,e6=0,e5=()=>{eY^=16384,eQ=eQ+1|0,e6=0},e9=0===D?eJ:v?e=>{let t=e1.get(e);return void 0!==t?t:(e=>{let t=e1.get(e);if(void 0!==t)return t;let r=y(e,0,e.length),n=(16383&r)+eY,o=eZ[n]===(r^eQ)||eZ[16384^n]===(r^eQ-1);return o&&void 0!==(t=e4.get(e))?(e1.set(e,t),t):(t=eJ(e),o?(e1.set(e,t),++e3>D&&(e3=0,e4=e1,e1=new Map,e5())):(eZ[n]=r^eQ,++e6>16384&&e5()),t)})(e)}:e=>{let t=e0[e];if(void 0!==t)return t;let r=y(e,0,e.length),n=(16383&r)+eY,o=eZ[n]===(r^eQ)||eZ[16384^n]===(r^eQ-1);return o&&void 0!==(t=e2[e])?(e0[e]=t,t):(t=eJ(e),o?(e0[e]=t,++e3>D&&(e3=0,e2=e0,e0=Object.create(null),e5())):(eZ[n]=r^eQ,++e6>16384&&e5()),t)};return{merge:function(){return 1==arguments.length&&"string"==typeof arguments[0]?e9(arguments[0]):e9(x.apply(null,arguments))},mergeString:e9,seenBefore:0===D?()=>!1:e=>{let t=y(e,0,e.length),r=(16383&t)+eY;return eZ[r]===(t^eQ)||eZ[16384^r]===(t^eQ-1)||(eZ[r]=t^eQ,++e6>16384&&e5(),!1)},mergeUncached:eJ}})({GROUP_COUNT:384,customValidatorNames:[],edgeStart:E,labelStart:S,labelText:"@containerabcdefghinlmoprstunderlineviawzccentlignnimatespectuto-colsrowsaglorightnessckdrop-sisbcontrastfiltergrayscalehue-rotateinvertopacityslurrightnessaturateepia-coniclinearpositionradialsizeockurrderttom-belrstxyespacing-xyaretoursorlnt-umnsendspantartainentrasteividerop-shadowurationcorationlay-xyasendillexontromlter-featuresstretchapr-xyayscaleidow-colsrowsue-rotatedentlinesetvert-beringsxyeshadoweiadingftnest-clamp-imageabein-lrstxyskx--b-coniclpositionrsizet-x-y-fromto-fromto-inearfromto-fromto-adialfromto-fromtofromtofromtofromtoblockhinlinew-screenesblockhinlinewbjectpacityrutlinederigin-offsetbelrstxyesrspective-originaceholderioghtng-offsettateundedw-xyz-belrstlreseslr-endspantartaturatecepiahizekewpace-taleroll-xyz-barmpbelrstxyesbelrstxyes-thumbrackadowrink-xyxyartrokeabextora-shadowpckingnsformitionlate-xyz-offsetill-changeoom",edgeTarget:P,nodeGroup:z,nodeVlist:T,vlistPat:I,vlistOps:j,vlistRef:O,vlistGroup:R,litAnchor:H,litGroup:$,litPool:B,poolOffsets:D,poolText:_,adjGid:F,adjStart:W,adjTgt:V,patGid:q,patTgt:K,postfixLookupGroups:C("1"),orderSensitiveModifiers:"* ** after backdrop before details-content file first-letter first-line marker placeholder selection"},void 0,void 0)).mergeString,n=void 0===r?()=>!0:r.seenBefore,o=void 0===r?t:r.mergeUncached,i=new Map,l=new Map,a=0,s=null,u=null,c=[],f=[],d=0,p=(e,r,n)=>{null===u&&(u=Array(4096).fill(""),c=Array(4096).fill(""),f=Array(4096).fill(""));let o=4094&y(e,0,e.length);if(u[o]===e&&c[o]===r)return f[o];if(u[1|o]===e&&c[1|o]===r)return f[1|o];let i=t(n?r+" "+e:e),l=""===u[o]?o:o|(""===u[1|o]?1:1&d++);return u[l]=e,c[l]=r,f[l]=i,i},h=(e,t,r,n)=>{let o=0;if(t){if(t!==e.a0)return!1;o=1}if(r){if(r!==(0===o?e.a0:e.a1))return!1;o++}if(n){if(n!==(0===o?e.a0:1===o?e.a1:e.a2))return!1;o++}return o===e.t},g=(e,t)=>{let r=e.a,n=0;for(let e=0;e{let u=e.length,c=null===s?null:s.n;if(!r){if(null!==c&&g(c,e))return s=c,c.r;if(null!==s&&s!==c&&g(s,e))return s.r}let f="",d=-1,h=0,m=!1;for(let t=0;t0){v.skip--,s=null;let t=f;for(let r=d+1;r16&&(v.miss=16,v.skip=1024,v.e.length=0,v.at=0);let c=v.e;c.length<256?c.push(b):(c[v.at]=b,v.at=v.at+1&255),++a>1e3&&(a=0,l=i,i=new Map)}return null!==s&&s!==b&&(s.n=b),s=b,b.r},function(e,r,n){let o=arguments.length;if((1|o)==3){let t=s;if(null!==t){let o=t.n;if(null!==o&&h(o,e,r,n))return s=o,o.r;if(t!==o&&h(t,e,r,n))return t.r}if(2===o&&"string"==typeof r&&""!==r){let t=i.get(e);if(void 0!==t&&t.skip>0)return t.skip--,s=null,p(r,e,!0)}return m([e,r,n],!0)}if(1===o)return"string"==typeof e?t(e):Array.isArray(e)?m(e.slice(),!1):t(w(e,!0));let l=s;if(null!==l){let e=l.n;if(null!==e){let t=e.a,r=0,n=!0;for(let e=0;e{"use strict";e.i(659350);var t=e.i(663456),r=e.i(16043),n=e.i(427150);let o=["/docs","/blog"],i=()=>!0,l=new Set(["openrouter.ai","www.openrouter.ai"]);function a(e,t=i){if(function(e){if("string"==typeof e)return!1;let t=e.hostname??e.host?.split(":")[0];return(0,n.f)(t)&&!l.has(t.toLowerCase())}(e))return!1;let r=u(s(e));return void 0!==r&&(o.some(e=>r===e||r.startsWith(`${e}/`))||!t(r))}function s(e){if("string"==typeof e)return e;let t=e.pathname??"";if(e.query){let r="string"==typeof e.query?e.query:new URLSearchParams(e.query).toString();r&&(t+=`?${r}`)}return e.hash&&(t+=e.hash.startsWith("#")?e.hash:`#${e.hash}`),t}function u(e){if(e.startsWith("/")&&!e.startsWith("//")){var t;let r;return r=Math.min(...[(t=e).indexOf("?"),t.indexOf("#")].filter(e=>-1!==e).concat(t.length)),t.slice(0,r)}if(e.startsWith("//")||/^https?:\/\//i.test(e)){if(!URL.canParse(e,"https://openrouter.ai"))return;let t=new URL(e,"https://openrouter.ai");return l.has(t.hostname)?t.pathname:void 0}}e.s(["C",0,function(e){return u(s(e))},"F",0,s,"G",0,a,"u",0,i],791969);let c=(0,r.createContext)(i);e.s(["f",0,function(){let e,n=(0,t.c)(2),o=(0,r.use)(c);return n[0]!==o?(e=e=>a(e,o),n[0]=o,n[1]=e):e=n[1],e}],198867)},139697,233626,202058,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(195618),o=e.i(16179),i=e.i(651681);let l={name:"loader-circle",size:24,node:[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],aliases:["loader-2"]};l.node;let a=(0,i.f)(l);e.s(["f",0,a],233626),e.s(["f",0,a],202058);var s=e.i(16043),u=e.i(136562),c=e.i(801127);e.s(["Button",0,function(e){let i,l,f,d,p,h,g=(0,r.c)(19);if(g[0]!==e){let r,o,p,{children:h,className:m,disabled:v,isLoading:b,onClick:y,type:w,variant:x,size:C,align:A,shape:k,touchTarget:E,tone:S,weight:P,glyph:z,density:I,reveal:j,render:O,ref:R,...T}=e;l=O,i=R;let N=void 0!==b&&b,M=v||N;f=(0,s.isValidElement)(l)?l:void 0;let L=(0,u.f)(f?.props.className,(0,c.i)({variant:x,size:C,align:A,shape:k,touchTarget:E,tone:S,weight:P,glyph:z,density:I,reveal:j,className:m}));g[5]!==C?(r=c.G.has(C),g[5]=C,g[6]=r):r=g[6];let U=r;g[7]!==N?(o=N&&(0,t.jsx)(a,{className:"animate-spin"}),g[7]=N,g[8]=o):o=g[8];let H=!(N&&U)&&h;g[9]!==o||g[10]!==H?(p=(0,t.jsxs)(t.Fragment,{children:[o,H]}),g[9]=o,g[10]=H,g[11]=p):p=g[11];let $=p,B={"aria-busy":N||void 0,className:L,"data-disabled":M?"":void 0,"data-loading":N?"":void 0};d=l?(0,n.w)(B,{"aria-disabled":!!M||void 0,onClick:e=>{if(M){e.preventDefault(),e.stopPropagation();return}y?.(e)},children:$,...T}):(0,n.w)(B,{disabled:M,type:void 0===w?"button":w,onClick:y,children:$,...T}),g[0]=e,g[1]=i,g[2]=l,g[3]=f,g[4]=d}else i=g[1],l=g[2],f=g[3],d=g[4];let m=d;return g[12]!==l||g[13]!==f?(p=f?(0,s.cloneElement)(f,{className:void 0}):l,g[12]=l,g[13]=f,g[14]=p):p=g[14],g[15]!==i||g[16]!==m||g[17]!==p?(h={render:p,ref:i,defaultTagName:"button",props:m},g[15]=i,g[16]=m,g[17]=p,g[18]=h):h=g[18],(0,o.f)(h)}],139697)},751155,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(16043),o=e.i(721287),i=e.i(115370),l=e.i(533124),a=e.i(107397);let s=n.createContext(void 0);function u(e){let t=n.useContext(s);if(void 0===t&&!e)throw Error((0,a.f)(72));return t}var c=e.i(976987),f=e.i(815922),d=e.i(807257),p=e.i(393298),h=e.i(189351);function g(e){return null!=e&&null!=e.clientX}var m=e.i(646125),v=e.i(132887),b=e.i(369714),y=e.i(195618),w=e.i(326855),x=e.i(70110),C=e.i(871812),A=e.i(62335);let k={...C.j,disabled:e=>e.disabled,instantType:e=>e.instantType,isInstantPhase:e=>e.isInstantPhase,trackCursorAxis:e=>e.trackCursorAxis,disableHoverablePopup:e=>e.disableHoverablePopup,lastOpenChangeReason:e=>e.openChangeReason,closeOnClick:e=>e.closeOnClick,appliedTriggerProps:(e,t)=>t?e.activeTriggerProps:void 0,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin};class E extends w.f{constructor(e,t,r){var o;let i=new A.f;super(function(e,t,r,n=!1){return{...(0,C.i)(t,r,n),disabled:!1,instantType:void 0,isInstantPhase:!1,trackCursorAxis:"none",disableHoverablePopup:!1,openChangeReason:null,closeOnClick:!0,closeDelay:0,adaptiveOrigin:void 0,...e}}(e,i,t,r),(o=i,{popupRef:n.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:o}),k)}setOpen=(e,t)=>{(0,b.c)(this,e,t,{extraState:{openChangeReason:t.reason}})};cancelPendingOpen(e){this.state.floatingRootContext.dispatchOpenChange(!1,(0,v.j)(x.f.triggerPress,e))}}var S=e.i(907621),P=e.i(111407),z=e.i(567894);let I=(0,o.U)(function(e){let{disabled:r=!1,defaultOpen:o=!1,open:i,disableHoverablePopup:a=!1,trackCursorAxis:u="none",actionsRef:c,onOpenChange:f,onOpenChangeComplete:d,handle:p,triggerId:h,defaultTriggerId:g=null,children:m}=e,y=(0,b.$)((e,t)=>new E({open:o,openProp:i,activeTriggerId:g,triggerIdProp:h},e,t));y.useControlledProp("openProp",i),y.useControlledProp("triggerIdProp",h),y.useContextCallback("onOpenChange",f),y.useContextCallback("onOpenChangeComplete",d);let w=y.useState("open"),x=!r&&w,C=y.useState("activeTriggerId"),A=y.useState("mounted"),k=y.useState("payload");y.useSyncedValues({trackCursorAxis:u,disableHoverablePopup:a,disabled:r}),(0,b._)(y,{closeOnActiveTriggerUnmount:!0});let{forceUnmount:I,transitionStatus:O}=(0,b.L)(x,y),R=y.useState("isInstantPhase"),T=y.useState("instantType"),N=y.useState("lastOpenChangeReason"),M=n.useRef(null);(0,l.f)(()=>{w&&r&&y.setOpen(!1,(0,v.j)(S.f.disabled))},[w,r,y]),(0,l.f)(()=>{"ending"===O&&N===P.f.none||"ending"!==O&&R?("delay"!==T&&(M.current=T),y.set("instantType","delay")):null!==M.current&&(y.set("instantType",M.current),M.current=null)},[O,R,N,T,y]),(0,l.f)(()=>{x&&null==C&&y.set("payload",void 0)},[y,C,x]),n.useImperativeHandle(c,()=>({unmount:I,close:()=>y.setOpen(!1,(0,v.j)(z.f.imperativeAction))}),[I,y]);let L=x||A||!r&&"none"!==u;return(0,t.jsxs)(s.Provider,{value:y,children:[p&&(0,t.jsx)(b.d,{handle:p,store:y}),L&&(0,t.jsx)(j,{store:y,disabled:r,trackCursorAxis:u}),"function"==typeof m?m({payload:k}):m]})});function j({store:e,disabled:t,trackCursorAxis:r}){let o=e.useState("floatingRootContext"),l=(0,m.f)(o,{enabled:!t,referencePress:()=>e.select("closeOnClick")}),a=function(e,t={}){let{enabled:r=!0,axis:o="both"}=t,i=e.useState("open"),l=e.useState("floatingElement"),a=e.useState("domReferenceElement"),s=e.context.dataRef,u=n.useRef(!1),m=n.useRef(null),[v,b]=n.useState(),[y,w]=n.useState([]),x=(0,f.f)(t=>{e.set("positionReference",t)}),C=(0,f.f)((t,r,n)=>{if(!u.current&&(!s.current.openEvent||g(s.current.openEvent))){var i,l;let u,c,f;e.set("positionReference",(i=n??a,l={x:t,y:r,axis:o,dataRef:s,pointerType:v},u=null,c=null,f=!1,{contextElement:i||void 0,getBoundingClientRect(){let e=i?.getBoundingClientRect()||{width:0,height:0,x:0,y:0},t="x"===l.axis||"both"===l.axis,r="y"===l.axis||"both"===l.axis,n=["mouseenter","mousemove"].includes(l.dataRef.current.openEvent?.type||"")&&"touch"!==l.pointerType,o="y"===l.axis?e.width:0,a="x"===l.axis?e.height:0,s=e.x,d=e.y;return null==u&&l.x&&t&&(u=e.x-l.x),null==c&&l.y&&r&&(c=e.y-l.y),s-=u||0,d-=c||0,(!f||n)&&(s=t&&null!=l.x?l.x:s,d=r&&null!=l.y?l.y:d),f=!0,{width:o,height:a,x:s,y:d,top:d,right:s+o,bottom:d+a,left:s}}}))}}),A=(0,f.f)(e=>{i?m.current||(C(e.clientX,e.clientY,e.currentTarget),w([])):C(e.clientX,e.clientY,e.currentTarget)}),k=(0,h.J)(v)?l:i;n.useEffect(()=>{if(!r)return void x(a);if(!k)return;function e(){m.current?.(),m.current=null}let t=(0,d.K)(l);return!s.current.openEvent||g(s.current.openEvent)?m.current=(0,c.f)(t,"mousemove",function(t){let r=(0,p.Z)(t);(0,p.I)(l,r)?e():C(t.clientX,t.clientY)}):x(a),e},[k,r,l,s,a,e,C,x,y]),n.useEffect(()=>()=>{e.set("positionReference",null)},[e]),n.useEffect(()=>{r&&!l&&(u.current=!1)},[r,l]),n.useEffect(()=>{!r&&i&&(u.current=!0)},[r,i]);let E=n.useMemo(()=>{function e(e){b(e.pointerType)}return{onPointerDown:e,onPointerEnter:e,onMouseMove:A,onMouseEnter:A}},[A]);return n.useMemo(()=>r?{reference:E,trigger:E}:{},[r,E])}(o,{enabled:!t&&"none"!==r,axis:"none"===r?void 0:r}),s=n.useMemo(()=>(0,y.w)(a.reference,l.reference),[a.reference,l.reference]);return(0,b.y)(e,{activeTriggerProps:s,inactiveTriggerProps:s,popupProps:l.floating??i.w}),null}var O=e.i(221271),R=e.i(195845),T=e.i(664591),N=e.i(93836),M=e.i(710955),L=e.i(811673);let U=n.createContext(void 0);var H=e.i(745576),$=e.i(125573);let B=n.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new O.U,currentIdRef:{current:null},currentContextRef:{current:null}});function _(e){let{children:r,delay:o,timeoutMs:i=0}=e,a=n.useRef(o),s=n.useRef(o),u=n.useRef(null),c=n.useRef(null),f=(0,O.e)();return(0,l.f)(()=>{if(s.current=o,!u.current){a.current=o;return}a.current={open:(0,$.c)(a.current,"open"),close:(0,$.c)(o,"close")}},[o,u,a,s]),(0,t.jsx)(B.Provider,{value:n.useMemo(()=>({hasProvider:!0,delayRef:a,initialDelayRef:s,currentIdRef:u,timeoutMs:i,currentContextRef:c,timeout:f}),[i,f]),children:r})}var D=e.i(205453),F=e.i(35292),W=e.i(227091),V=e.i(592460),q=e.i(637317);let K="data-base-ui-tooltip-trigger";function G(e){let t=(0,p.Z)(e);return(0,d.m)(t)?t:null}let X=(0,o.u)(function(e,t){let{render:r,className:o,style:i,handle:s,payload:c,disabled:f,delay:d,closeOnClick:g=!0,closeDelay:m,id:y,...w}=e,x=u(!0),C=(0,M.f)(s)??x;if(!C)throw Error((0,a.f)(82));let A=(0,L.f)(y),k=C.useState("isTriggerActive",A),E=C.useState("isOpenedByTrigger",A),S=C.useState("floatingRootContext"),z=n.useRef(null),I=m??0,{registerTrigger:j,isMountedByThisTrigger:_}=(0,b.F)(A,z,C,{payload:c,closeOnClick:g,closeDelay:I}),X=n.useContext(U),{activeIdRef:J,delayRef:Z,isInstantPhase:Y,hasProvider:Q}=function(e,t={open:!1}){let{open:r}=t,o=e.useState("floatingId"),{currentIdRef:i,delayRef:a,timeoutMs:s,initialDelayRef:u,currentContextRef:c,hasProvider:f,timeout:d}=n.useContext(B),[p,h]=n.useState(!1),g=n.useRef(r);return(0,l.f)(()=>{g.current=r},[r]),(0,l.f)(()=>{function t(){c.current?.setIsInstantPhase(!1),i.current=null,c.current=null,a.current=u.current,d.clear()}if(i.current&&!r&&i.current===o){if(h(!1),s)return d.start(s,()=>{e.select("open")||i.current&&i.current!==o||t()}),()=>{(g.current||i.current!==o)&&d.clear()};t()}},[r,o,i,a,s,u,c,d,e]),(0,l.f)(()=>{if(!r)return;let t=c.current,n=i.current;d.clear(),c.current={onOpenChange:e.setOpen,setIsInstantPhase:h},i.current=o,a.current={open:0,close:(0,$.c)(u.current,"close")},null!==n&&n!==o?(h(!0),t?.setIsInstantPhase(!0),t?.onOpenChange(!1,(0,v.j)(P.f.none))):(h(!1),t?.setIsInstantPhase(!1))},[r,o,e,i,a,u,c,d]),(0,l.f)(()=>()=>{i.current===o&&(c.current=null,g.current)&&(i.current=null,a.current=u.current,d.clear())},[c,i,a,o,u,d]),n.useMemo(()=>({activeIdRef:i,hasProvider:f,delayRef:a,isInstantPhase:p}),[i,f,a,p])}(S,{open:E}),ee=(0,V.s)(S);C.useSyncedValue("isInstantPhase",Y);let et=C.useState("disabled"),er=f??et,en=(0,R.f)(er),eo=C.useState("trackCursorAxis"),ei=C.useState("disableHoverablePopup"),el=n.useRef(!1),ea=(0,O.e)(),es=n.useRef(void 0);function eu(){return Q&&null!=J.current?0:d??X??600}function ec(e){let t=z.current;if(!t||!e)return!1;let r=(0,p.h)(e,`[${K}]`);return null!==r&&r!==t&&(0,p.I)(t,r)}let ef=(0,F.f)(S,{enabled:!er,mouseOnly:!0,move:!1,handleClose:ei||"both"===eo?null:(0,H.f)(),restMs:eu,delay:()=>null==m&&Q?{close:(0,$.c)(Z.current,"close")}:{close:I},triggerElementRef:z,isActiveTrigger:k,isClosing:()=>"ending"===C.select("transitionStatus"),shouldOpen:()=>!el.current}),ed=(0,D.f)(S,{enabled:!er}).reference,ep=C.useState("appliedTriggerProps",_||"none"!==eo);return(0,N.a)("button",e,{state:{open:E},ref:[t,j,z],props:[ef,ed,ep,{onMouseOver(e){(e=>{let t,r=el.current,n=G(e),o=(el.current=t=ec(n),t&&(ee.openChangeTimeout.clear(),ee.restTimeout.clear(),ee.restTimeoutPending=!1,ea.clear()),t),i=z.current,l=i&&n&&(0,p.I)(i,n);if(o&&C.select("open")&&C.select("lastOpenChangeReason")===W.f.triggerHover)return C.setOpen(!1,(0,v.j)(W.f.triggerHover,e));if(r&&!o&&l&&!en.current&&!C.select("open")&&i&&(0,h.J)(es.current)){let t=()=>{el.current||en.current||C.select("open")||C.setOpen(!0,(0,v.j)(W.f.triggerHover,e,i))},r=eu();0===r?(ea.clear(),t()):ea.start(r,t)}})(e.nativeEvent)},onFocus(e){ec(G(e.nativeEvent))&&e.preventBaseUIHandler()},onMouseLeave(){el.current=!1,ea.clear(),es.current=void 0},onPointerEnter(e){es.current=e.pointerType},onPointerDown(e){es.current=e.pointerType,C.set("closeOnClick",g),g&&!C.select("open")&&C.cancelPendingOpen(e.nativeEvent)},onClick(e){g&&!C.select("open")&&C.cancelPendingOpen(e.nativeEvent)},id:A,[q.f]:er?"":void 0,[K]:er?void 0:""},w],stateAttributesMapping:T.J})}),J=n.createContext(void 0);var Z=e.i(344791);let Y=n.forwardRef(function(e,r){let{keepMounted:n=!1,...o}=e;return u().useState("mounted")||n?(0,t.jsx)(J.Provider,{value:n,children:(0,t.jsx)(Z.f,{ref:r,...o})}):null}),Q=n.createContext(void 0);var ee=e.i(702643),et=e.i(510043),er=e.i(226983);let en=n.forwardRef(function(e,r){let{render:o,className:i,anchor:l,positionMethod:s="absolute",side:c="top",align:f="center",sideOffset:d=0,alignOffset:p=0,collisionBoundary:h="clipping-ancestors",collisionPadding:g=5,arrowPadding:m=5,sticky:v=!1,disableAnchorTracking:b=!1,collisionAvoidance:y=et.n,style:w,...x}=e,C=u(),A=function(){let e=n.useContext(J);if(void 0===e)throw Error((0,a.f)(70));return e}(),k=C.useState("open"),E=C.useState("mounted"),S=C.useState("trackCursorAxis"),P=C.useState("disableHoverablePopup"),z=C.useState("floatingRootContext"),I=C.useState("instantType"),j=C.useState("transitionStatus"),O=C.useState("adaptiveOrigin"),R=(0,ee.k)({anchor:l,positionMethod:s,floatingRootContext:z,mounted:E,side:c,sideOffset:d,align:f,alignOffset:p,collisionBoundary:h,collisionPadding:g,sticky:v,arrowPadding:m,disableAnchorTracking:b,keepMounted:A,collisionAvoidance:y,adaptiveOrigin:O}),T=n.useMemo(()=>({open:k,side:R.side,align:R.align,anchorHidden:R.anchorHidden,instant:"none"!==S?"tracking-cursor":I}),[k,R.side,R.align,R.anchorHidden,S,I]),N=(0,er.f)(e,T,{styles:R.positionerStyles,transitionStatus:j,props:x,refs:[r,C.useStateSetter("positionerElement")],hidden:!E,inert:!k||"both"===S||P});return(0,t.jsx)(Q.Provider,{value:R,children:N})});var eo=e.i(692933),ei=e.i(182578),el=e.i(417965);let ea=n.forwardRef(function(e,t){let{render:r,className:o,style:i,...l}=e,s=u(),{side:c,align:f}=function(){let e=n.useContext(Q);if(void 0===e)throw Error((0,a.f)(71));return e}(),d=s.useState("open"),p=s.useState("instantType"),h=s.useState("transitionStatus"),g=s.useState("popupProps"),m=s.useState("floatingRootContext"),v=s.useState("disabled"),y=s.useState("closeDelay");(0,eo.f)({open:d,ref:s.context.popupRef,onComplete(){d&&s.context.onOpenChangeComplete?.(!0)}}),(0,el.f)(m,{enabled:!v,closeDelay:y});let w=s.useStateSetter("popupElement");return(0,N.a)("div",e,{state:{open:d,side:c,align:f,instant:p,transitionStatus:h},ref:[t,s.context.popupRef,w],props:[b.X,g,(0,ei.f)(h),l],stateAttributesMapping:T.M})});e.s(["Popup",0,ea,"Portal",0,Y,"Positioner",0,en,"Provider",0,function(e){let{delay:r,closeDelay:o,timeout:i=400}=e,l=n.useMemo(()=>({open:r,close:o}),[r,o]);return(0,t.jsx)(U.Provider,{value:r,children:(0,t.jsx)(_,{delay:l,timeoutMs:i,children:e.children})})},"Root",0,I,"Trigger",0,X],149563);var es=e.i(149563),es=es,eu=es,ec=es,ef=es,ed=es,ep=es,eh=e.i(207298),eg=e.i(136562),em=e.i(535072),ev=e.i(857162),eb=e.i(374696),ey=e.i(261499);function ew(e){let n,o=(0,r.c)(2);return o[0]!==e?(n=(0,t.jsx)(eu.Trigger,{...e}),o[0]=e,o[1]=n):n=o[1],n}let ex=(0,eh.f)("overflow-hidden rounded-md bg-inverse px-2.5 py-1.5 text-xs text-inverse-foreground shadow-md",{variants:{width:{sm:"w-44 max-w-xs",md:"w-48 max-w-xs",lg:"max-w-64",xl:"max-w-tooltip"}},defaultVariants:{width:"xl"}});function eC(e){let n,o,i,l,a,s,u,c,f,d,p,h,g,m=(0,r.c)(27);m[0]!==e?({align:n,className:o,positionerClassName:l,side:s,sideOffset:u,width:c,onClick:i,...a}=e,m[0]=e,m[1]=n,m[2]=o,m[3]=i,m[4]=l,m[5]=a,m[6]=s,m[7]=u,m[8]=c):(n=m[1],o=m[2],i=m[3],l=m[4],a=m[5],s=m[6],u=m[7],c=m[8]);let v=void 0===u?4:u,b=(0,eb.r)();return m[9]!==l||m[10]!==b?(f=(0,eg.f)(b,l),m[9]=l,m[10]=b,m[11]=f):f=m[11],m[12]!==o||m[13]!==c?(d=(0,eg.f)(ex({width:c}),"[&.bg-inverse]:[--foreground:var(--inverse-foreground)] [&.bg-inverse]:[--muted-foreground:var(--inverse-foreground)/0.7] [&.bg-inverse]:[--popover-foreground:var(--inverse-foreground)]",ey.b,o),m[12]=o,m[13]=c,m[14]=d):d=m[14],m[15]!==i?(p=e=>{e.stopPropagation(),i?.(e)},m[15]=i,m[16]=p):p=m[16],m[17]!==a||m[18]!==d||m[19]!==p?(h=(0,t.jsx)(ec.Popup,{className:d,...a,onClick:p}),m[17]=a,m[18]=d,m[19]=p,m[20]=h):h=m[20],m[21]!==n||m[22]!==s||m[23]!==v||m[24]!==f||m[25]!==h?(g=(0,t.jsx)(ef.Portal,{children:(0,t.jsx)(ev.ContainedContextProvider,{value:!1,children:(0,t.jsx)(ed.Positioner,{align:n,className:f,side:s,sideOffset:v,children:h})})}),m[21]=n,m[22]=s,m[23]=v,m[24]=f,m[25]=h,m[26]=g):g=m[26],g}e.s(["Tooltip",0,function(e){let o,i,l,a,s,u,c,f,d,p,h=(0,r.c)(47),g=(0,em.o)("(pointer: coarse)",!1),[m,v]=(0,n.useState)(!1),b=void 0!==e.open,y=b?!0===e.open:m;h[0]!==b||h[1]!==g||h[2]!==e?(o=t=>{!b&&g&&v(t),e.onOpenChange?.(t)},h[0]=b,h[1]=g,h[2]=e,h[3]=o):o=h[3];let w=o,x=(0,n.useRef)(null),C=(0,n.useRef)(null);h[4]!==y||h[5]!==g||h[6]!==w?(i=()=>{if(!g)return;let e=x.current;if(!e)return;let t=()=>w(!y);return e.addEventListener("click",t),()=>e.removeEventListener("click",t)},h[4]=y,h[5]=g,h[6]=w,h[7]=i):i=h[7],h[8]!==y||h[9]!==g?(l=[g,y],h[8]=y,h[9]=g,h[10]=l):l=h[10],(0,n.useEffect)(i,l),h[11]!==y||h[12]!==g||h[13]!==w?(a=()=>{if(!y||!g)return;let e=e=>{let t=t=>null!==t&&e.target instanceof Node&&t.contains(e.target);t(x.current)||t(C.current)||w(!1)};return document.addEventListener("pointerdown",e),()=>document.removeEventListener("pointerdown",e)},h[11]=y,h[12]=g,h[13]=w,h[14]=a):a=h[14],h[15]!==y||h[16]!==g?(s=[y,g],h[15]=y,h[16]=g,h[17]=s):s=h[17],(0,n.useEffect)(a,s),h[18]!==g?(u=g?{ref:x,closeOnClick:!1}:{},h[18]=g,h[19]=u):u=h[19];let A=u;h[20]!==b||h[21]!==y||h[22]!==g||h[23]!==w?(c={onOpenChange:w},(g||b)&&(c.open=y),h[20]=b,h[21]=y,h[22]=g,h[23]=w,h[24]=c):c=h[24];let k=g?"touch":"pointer",E=!1===e.hoverable||void 0;h[25]!==e.children||h[26]!==A?(f=(0,n.isValidElement)(e.children)?(0,t.jsx)(ew,{render:e.children,...A}):(0,t.jsx)(ew,{...A,children:e.children}),h[25]=e.children,h[26]=A,h[27]=f):f=h[27];let S=e.side??"top";h[28]!==e.align||h[29]!==e.className||h[30]!==e.content||h[31]!==e.positionerClassName||h[32]!==e.sideOffset||h[33]!==e.width||h[34]!==S?(d=(0,t.jsx)(eC,{ref:C,align:e.align,className:e.className,positionerClassName:e.positionerClassName,side:S,sideOffset:e.sideOffset,width:e.width,children:e.content}),h[28]=e.align,h[29]=e.className,h[30]=e.content,h[31]=e.positionerClassName,h[32]=e.sideOffset,h[33]=e.width,h[34]=S,h[35]=d):d=h[35],h[36]!==e.disabled||h[37]!==d||h[38]!==k||h[39]!==E||h[40]!==f||h[41]!==c?(p=(0,t.jsxs)(ep.Root,{disabled:e.disabled,disableHoverablePopup:E,...c,children:[f,d]},k),h[36]=e.disabled,h[37]=d,h[38]=k,h[39]=E,h[40]=f,h[41]=c,h[42]=p):p=h[42];let P=p;if(void 0!==e.delay||void 0!==e.closeDelay){let r;return h[43]!==e.closeDelay||h[44]!==e.delay||h[45]!==P?(r=(0,t.jsx)(es.Provider,{closeDelay:e.closeDelay,delay:e.delay,children:P}),h[43]=e.closeDelay,h[44]=e.delay,h[45]=P,h[46]=r):r=h[46],r}return P},"TooltipNonInteractiveTrigger",0,function(e){let n,o,i,l,a,s=(0,r.c)(10);return s[0]!==e?({children:n,className:o,...i}=e,s[0]=e,s[1]=n,s[2]=o,s[3]=i):(n=s[1],o=s[2],i=s[3]),s[4]!==o?(l=(0,eg.f)("rounded-sm outline-hidden focus-visible:border-focus-border focus-visible:shadow-focus",o),s[4]=o,s[5]=l):l=s[5],s[6]!==n||s[7]!==i||s[8]!==l?(a=(0,t.jsx)("span",{tabIndex:0,...i,className:l,children:n}),s[6]=n,s[7]=i,s[8]=l,s[9]=a):a=s[9],a},"TooltipProvider",0,function(e){let n,o=(0,r.c)(5),{children:i,closeDelay:l,delay:a,timeout:s}=e,u=void 0===a?0:a,c=void 0===s?0:s;return o[0]!==i||o[1]!==l||o[2]!==u||o[3]!==c?(n=(0,t.jsx)(es.Provider,{closeDelay:l,delay:u,timeout:c,children:i}),o[0]=i,o[1]=l,o[2]=u,o[3]=c,o[4]=n):n=o[4],n}],751155)},801127,e=>{"use strict";var t=e.i(207298),r=e.i(136562);let n="hover:bg-accent-subtle hover:text-accent-foreground active:bg-accent-subtle/80",o=(0,r.f)("relative","pointer-coarse:after:absolute pointer-coarse:after:inset-x-0 pointer-coarse:after:top-1/2 pointer-coarse:after:h-11 pointer-coarse:after:-translate-y-1/2 pointer-coarse:after:-z-10"),i="h-7 gap-1.5",l=(0,r.f)(i,"px-2"),a="h-8 gap-1.5",s=(0,r.f)(a,"px-3"),u=["default","destructive","destructive-outline","outline","ghost","ghost-muted"],c={variant:{default:(0,r.f)("bg-primary text-primary-foreground hover:bg-accent-hover","hover:text-primary-foreground active:bg-primary/80"),destructive:(0,r.f)("bg-destructive text-destructive-foreground hover:bg-destructive/90","hover:text-destructive-foreground active:bg-destructive/80"),"destructive-outline":(0,r.f)("border border-negative/30 bg-background text-negative","hover:bg-negative/8 hover:border-negative/60 hover:text-negative","active:bg-negative/12"),outline:"border border-input bg-background hover:bg-muted hover:text-accent-foreground active:bg-muted/80",ghost:n,"ghost-muted":(0,r.f)(n,"text-muted-foreground font-normal hover:text-foreground"),link:(0,r.f)("text-foreground underline underline-offset-2 decoration-current/40","hover:text-accent-foreground hover:decoration-current active:opacity-70")},size:{default:"h-10 gap-2 px-4 py-2",xs:l,sm:s,md:s,lg:"h-11 gap-2 px-8",icon:"h-10 w-10 min-w-10 gap-1.5","icon-sm":(0,r.f)(a,"w-8 min-w-8"),"icon-xs":(0,r.f)(i,"w-7 min-w-7"),"icon-2xs":"h-6 w-6 min-w-6 gap-1.5","icon-3xs":"h-5 w-5 min-w-5 gap-1.5"},align:{center:"",start:"justify-start text-left",between:"justify-between text-left"},shape:{default:"",pill:"rounded-full",sm:"rounded-sm",none:"rounded-none"},tone:{default:"",muted:"text-muted-foreground hover:text-foreground",subdued:"text-muted-foreground",strong:"text-foreground"},weight:{default:"",regular:"font-normal"},glyph:{default:"",sm:"[&_svg]:size-3.5",xs:"[&_svg]:size-3"},density:{default:"",compact:""},reveal:{always:"",hover:(0,r.f)("opacity-0 transition-opacity group-hover:opacity-100 focus-visible:opacity-100","pointer-coarse:opacity-100 pointer-none:opacity-100","aria-expanded:opacity-100 data-[popup-open]:opacity-100")},touchTarget:{default:"",none:"","below-sm":""}},f=new Set(["icon","icon-sm","icon-xs","icon-2xs","icon-3xs"]),d=(0,t.f)((0,r.f)("inline-flex items-center justify-center whitespace-nowrap","rounded-md text-button font-medium cursor-pointer no-underline","select-none","transition-colors focus-visible:outline-none focus-visible:border-focus-border focus-visible:shadow-focus","disabled:pointer-events-none disabled:opacity-50","[&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0"),{variants:c,compoundVariants:[{variant:[...u],size:["xs","sm","md"],touchTarget:"default",class:o},{variant:[...u],size:["xs","sm","md","default"],touchTarget:"below-sm",class:"min-h-11 sm:min-h-0"},{variant:[...u],size:"icon-xs",touchTarget:"below-sm",class:"size-11 sm:size-7"},{variant:[...u],size:"icon-sm",touchTarget:"below-sm",class:"size-11 sm:size-8"},{variant:[...u],size:"icon",touchTarget:"below-sm",class:"size-11 sm:size-10"},{size:"xs",density:"compact",class:"px-1.5"},{size:"sm",density:"compact",class:"px-2"},{size:"md",density:"compact",class:"px-2"},{size:"default",density:"compact",class:"px-3"},{variant:"link",class:"h-auto p-0"}],defaultVariants:{variant:"default",size:"default",touchTarget:"default",tone:"default",weight:"default",glyph:"default",density:"default",reveal:"always"}});e.s(["N",0,o,"G",0,f,"i",0,d])},490112,e=>{"use strict";var t=e.i(207298);let r="text-foreground underline underline-offset-2 decoration-current/40 hover:text-accent-foreground hover:decoration-current transition-colors",n=`${r} cursor-pointer`,o=(0,t.f)(n,{variants:{size:{body:"text-body",overline:"text-overline",inherit:""},weight:{medium:"font-medium"}}}),i=(0,t.f)("transition-colors",{variants:{variant:{inline:"text-foreground underline underline-offset-4",subtle:"text-muted-foreground hover:text-foreground",underline:"underline"}}});e.s(["z",0,r,"I",0,i,"X",0,o])},396934,e=>{"use strict";var t=e.i(663456),r=e.i(16043);e.s(["f",0,function(e,n){let o,i,l,a,s,u,c,f=(0,t.c)(17),{prefetch:d,href:p}=e;f[0]!==p?(o={href:p,hasIntent:!1},f[0]=p,f[1]=o):o=f[1];let[h,g]=(0,r.useState)(o);h.href!==p&&g({href:p,hasIntent:!1});let m=h.href===p&&h.hasIntent;f[2]!==p?(i=()=>{g({href:p,hasIntent:!0})},f[2]=p,f[3]=i):i=f[3];let v=i;return f[4]!==n||f[5]!==v?(l=e=>{v(),n.onFocus?.(e)},a=e=>{v(),n.onMouseEnter?.(e)},s=e=>{v(),n.onTouchStart?.(e)},f[4]=n,f[5]=v,f[6]=l,f[7]=a,f[8]=s):(l=f[6],a=f[7],s=f[8]),f[9]!==m||f[10]!==d?(u=function(e,t){switch(e){case"viewport":return null;case"hover":return!!t&&null;case!1:return!1;default:return e}}(d,m),f[9]=m,f[10]=d,f[11]=u):u=f[11],f[12]!==l||f[13]!==a||f[14]!==s||f[15]!==u?(c={onFocus:l,onMouseEnter:a,onTouchStart:s,prefetch:u},f[12]=l,f[13]=a,f[14]=s,f[15]=u,f[16]=c):c=f[16],c}],396934)},535072,e=>{"use strict";var t=e.i(663456),r=e.i(16043);function n(e,n){let i,l,a,s=(0,t.c)(6);s[0]!==e?(i=t=>{let r=globalThis.window?.matchMedia?.(e);if(!r)return o;let n=()=>{t()};return r.addEventListener?(r.addEventListener("change",n),()=>r.removeEventListener("change",n)):(r.addListener(n),()=>r.removeListener(n))},s[0]=e,s[1]=i):i=s[1];let u=i;s[2]!==e?(l=()=>globalThis.window?.matchMedia?.(e).matches??!1,s[2]=e,s[3]=l):l=s[3];let c=l;s[4]!==n?(a=()=>n,s[4]=n,s[5]=a):a=s[5];let f=a;return(0,r.useSyncExternalStore)(u,c,f)}function o(){}let i=(e,t)=>n(e,void 0!==t&&t)??!1;e.s(["o",0,i,"j",0,e=>n(e,void 0),"s",0,()=>i("(min-width: 1024px)"),"x",0,()=>i("(min-width: 768px)"),"W",0,()=>i("(min-width: 640px)")])},865071,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(16043);let o=(0,n.createContext)(e=>e);function i(){return(0,n.use)(o)}e.s(["$",0,function(e){let n,i=(0,r.c)(3),{transformHref:l,children:a}=e;return i[0]!==a||i[1]!==l?(n=(0,t.jsx)(o,{value:l,children:a}),i[0]=a,i[1]=l,i[2]=n):n=i[2],n},"J",0,i,"y",0,function(e){let t,n=(0,r.c)(3),o=i();return n[0]!==e||n[1]!==o?(t=o(e),n[0]=e,n[1]=o,n[2]=t):t=n[2],t}])},579119,e=>{"use strict";async function t(e){return new Promise(t=>{setTimeout(t,e)})}e.s(["W",0,t,"z",0,function(e){return Math.round(e*(.5+Math.random()))}])}]); //# sourceMappingURL=2lys4czourb7n.js.map