(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[527930,e=>{e.i(247167);var t=e.i(271645),r=e.i(540886),n=e.i(552245);let o=t.forwardRef(function(e,t){let{render:o,className:i,disabled:a=!1,focusableWhenDisabled:u=!1,nativeButton:l=!0,style:s,...c}=e,{getButtonProps:f,buttonRef:d}=(0,r.f)({disabled:a,focusableWhenDisabled:u,native:l});return(0,n.f)("button",e,{state:{disabled:a},ref:[t,d],props:[c,f]})});e.s(["Button",0,o])},416919,809835,377570,e=>{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}],416919),e.s(["f",0,function(e,t){return"function"==typeof e?e(t):e}],809835),e.s(["f",0,function(e,t){return"function"==typeof e?e(t):e}],377570)},540886,838452,64350,e=>{var t=e.i(271645),r=e.i(229315),n=e.i(667865),o=e.i(146376),i=e.i(176782),a=e.i(733332);let u=t.createContext(void 0);function l(e=!1){let r=t.useContext(u);if(void 0===r&&!e)throw Error((0,a.f)(16));return r}e.s(["e",0,u,"o",0,l],838452);var s=e.i(333848);function c(e,t,{detail:r=0}={}){e.dispatchEvent(new((0,s.f)(e)).PointerEvent("click",{bubbles:!0,cancelable:!0,composed:!0,detail:r,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,altKey:t.altKey,metaKey:t.metaKey}))}function f(e){return(0,r.E)(e)&&"BUTTON"===e.tagName}e.s(["f",0,c],64350),e.s(["f",0,function(e={}){let{disabled:a=!1,focusableWhenDisabled:u,tabIndex:s=0,native:d=!0,composite:p}=e,v=t.useRef(null),h=l(!0),g=p??void 0!==h,{props:m}=function(e){let{focusableWhenDisabled:r,disabled:n,composite:o=!1,tabIndex:i=0,isNativeButton:a}=e,u=o&&!1!==r,l=o&&!1===r;return{props:t.useMemo(()=>{let e={onKeyDown(e){n&&r&&"Tab"!==e.key&&e.preventDefault()}};return o||(e.tabIndex=i,!a&&n&&(e.tabIndex=r?i:-1)),(a&&(r||u)||!a&&n)&&(e["aria-disabled"]=n),a&&(!r||l)&&(e.disabled=n),e},[o,n,r,u,l,a,i])}}({focusableWhenDisabled:u,disabled:a,composite:g,tabIndex:s,isNativeButton:d}),y=t.useCallback(()=>{let e=v.current;f(e)&&g&&a&&void 0===m.disabled&&e.disabled&&(e.disabled=!1)},[a,m.disabled,g]);return(0,o.f)(y,[y]),{getButtonProps:t.useCallback((e={})=>{let{onClick:t,onMouseDown:n,onKeyUp:o,onKeyDown:u,onPointerDown:l,...s}=e;return(0,i.w)({onClick(e){a?e.preventDefault():t?.(e)},onMouseDown(e){a||n?.(e)},onKeyDown(e){var t;if(a||((0,i.U)(e),u?.(e),e.baseUIHandlerPrevented))return;let n=e.target===e.currentTarget,o=e.currentTarget,l=f(o),s=!d&&(t=o,(0,r.E)(t)&&"A"===t.tagName&&!!t.href),p=n&&(d?l:!s),v="Enter"===e.key,h=" "===e.key,m=o.getAttribute("role"),y=m?.startsWith("menuitem")||"option"===m||"gridcell"===m;if(n&&g&&h){if(e.defaultPrevented&&y)return;e.preventDefault(),(!d||l)&&(e.preventBaseUIHandler(),c(o,e));return}if(!p||d||!h&&!v){n&&s&&h&&e.preventDefault();return}!e.defaultPrevented&&(e.preventDefault(),v&&(e.preventBaseUIHandler(),c(o,e)))},onKeyUp(e){a||(((0,i.U)(e),o?.(e),e.target===e.currentTarget&&d&&g&&f(e.currentTarget)&&" "===e.key)?e.preventDefault():!e.baseUIHandlerPrevented&&(e.target!==e.currentTarget||d||g||e.defaultPrevented||" "!==e.key||(e.preventBaseUIHandler(),c(e.currentTarget,e))))},onPointerDown(e){a?e.preventDefault():l?.(e)}},d?{type:"button"}:{role:"button"},m,s)},[a,m,g,d]),buttonRef:(0,n.f)(e=>{v.current=e,y()})}}],540886)},552245,e=>{e.i(247167);var t=e.i(733332),r=e.i(271645),n=e.i(828918),o=e.i(978554),i=e.i(435241);e.i(399627);var a=e.i(956789),u=e.i(416919),l=e.i(809835),s=e.i(377570),c=e.i(176782);let f=Symbol.for("react.lazy");e.s(["f",0,function(e,d,p={}){let v=d.render,h=function(e,t={}){var r;let{className:f,style:d,render:p}=e,{state:v=a.w,ref:h,props:g,stateAttributesMapping:m,enabled:y=!0}=t,b=y?(0,l.f)(f,v):void 0,w=y?(0,s.f)(d,v):void 0,k=y?(0,u.f)(v,m):a.w,x=y&&g?Array.isArray(r=g)?(0,c.b)(r):(0,c.w)(void 0,r):void 0,E=y?(0,i.f)(k,x)??{}:a.w;return("u">typeof document&&(y?Array.isArray(h)?E.ref=(0,n.f)([E.ref,(0,o.f)(p),...h]):E.ref=(0,n.A)(E.ref,(0,o.f)(p),h):(0,n.A)(null,null)),y)?(void 0!==b&&(E.className=(0,c.c)(E.className,b)),void 0!==w&&(E.style=(0,i.f)(E.style,w)),E):a.w}(d,p);return!1===p.enabled?null:function(e,n,o,i){if(n){if("function"==typeof n)return n(o,i);let e=(0,c.w)(o,n.props);e.ref=o.ref;let t=n;return t?.$$typeof===f&&(t=r.Children.toArray(n)[0]),r.cloneElement(t,e)}if(e&&"string"==typeof e){var a,u;return a=e,u=o,"button"===a?(0,r.createElement)("button",{type:"button",...u,key:u.key}):"img"===a?(0,r.createElement)("img",{alt:"",...u,key:u.key}):r.createElement(a,u)}throw Error((0,t.f)(8))}(e,v,h,p.state??a.w)}])},176782,e=>{var t=e.i(435241);let r={};function n(e){return a(e)?{...u(e,r)}:function(e){let t={...e};for(let e in t){let r=t[e];i(e,r)&&(t[e]=l(r))}return t}(e)}function o(e,r){return a(r)?u(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]=c(e.className,o);break;default:i(n,o)?e[n]=function(e,t){return t?e?(...r)=>{let n=r[0];if(f(n)){s(n);let o=t(...r);return n.baseUIHandlerPrevented||e?.(...r),o}let o=t(...r);return e?.(...r),o}:l(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 a(e){return"function"==typeof e}function u(e,t){return a(e)?e(t):e??r}function l(e){return e?(...t)=>{let r=t[0];return f(r)&&s(r),e(...t)}:e}function s(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function c(e,t){return t?e?t+" "+e:t:e}function f(e){return null!=e&&"object"==typeof e&&"nativeEvent"in e}e.s(["U",0,s,"c",0,c,"w",0,function(e,t,r,i,a){if(!r&&!i&&!a&&!e)return n(t);let u=n(e);return t&&(u=o(u,t)),r&&(u=o(u,r)),i&&(u=o(u,i)),a&&(u=o(u,a)),u},"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{let t=Object.freeze([]),r=Object.freeze({});e.s(["v",0,t,"w",0,r,"x",0,function(){}])},733332,e=>{let t=function(e,...t){let r=new URL("https://base-ui.com/production-error");return r.searchParams.set("code",e.toString()),t.forEach(e=>r.searchParams.append("args[]",e)),`Base UI error #${e}; visit ${r} for the full message.`};e.s(["f",0,t])},978554,e=>{var t=e.i(271645),r=e.i(958321);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}])},435241,e=>{e.s(["f",0,function(e,t){return e&&!t?e:!e&&t?t:e||t?{...e,...t}:void 0}])},958321,e=>{let t=parseInt(e.i(271645).version,10);e.s(["f",0,function(e){return t>=e}])},146376,e=>{var t=e.i(271645);let r="u">typeof document?t.useLayoutEffect:()=>{};e.s(["f",0,r])},828918,e=>{var t=e.i(388940);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(a,e),a.callback}])},388940,e=>{var t=e.i(271645);let r={};e.s(["useRefWithInit",0,function(e,n){let o=t.useRef(r);return o.current===r&&(o.current=e(n)),o}])},667865,214553,e=>{let t={...e.i(271645)};e.s(["f",0,t],214553);var r=e.i(388940);let n=t.useInsertionEffect,o=n&&n!==t.useLayoutEffect?n:e=>e();function i(){let e={next:void 0,callback:a,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function a(){}e.s(["f",0,function(e){let t=(0,r.useRefWithInit)(i).current;return t.next=e,o(t.effect),t.trampoline}],667865)},399627,e=>{e.i(247167),e.s(["f",0,function(){}])},229315,e=>{let t;function r(){return"u">typeof window}function n(e){return a(e)?(e.nodeName||"").toLowerCase():"#document"}function o(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function i(e){var t;return null==(t=(a(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function a(e){return!!r()&&(e instanceof Node||e instanceof o(e).Node)}function u(e){return!!r()&&(e instanceof Element||e instanceof o(e).Element)}function l(e){return!!r()&&(e instanceof HTMLElement||e instanceof o(e).HTMLElement)}function s(e){return!(!r()||"u"!!e&&"none"!==e;function h(e){let t=u(e)?y(e):e;return v(t.transform)||v(t.translate)||v(t.scale)||v(t.rotate)||v(t.perspective)||!g()&&(v(t.backdropFilter)||v(t.filter))||d.test(t.willChange||"")||p.test(t.contain||"")}function g(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function m(e){return/^(html|body|#document)$/.test(n(e))}function y(e){return o(e).getComputedStyle(e)}function b(e){if("html"===n(e))return e;let t=e.assignedSlot||e.parentNode||s(e)&&e.host||i(e);return s(t)?t.host:t}function w(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}e.s(["X",0,y,"f",0,function(e){let t=b(e);for(;l(t)&&!m(t);){if(h(t))return t;if(f(t))break;t=b(t)}return null},"I",0,i,"w",0,w,"A",0,n,"Q",0,function(e){return u(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}},"G",0,function e(t,r,n){var i;void 0===r&&(r=[]),void 0===n&&(n=!0);let a=function e(t){let r=b(t);return m(r)?(t.ownerDocument||t).body:l(r)&&c(r)?r:e(r)}(t),u=a===(null==(i=t.ownerDocument)?void 0:i.body),s=o(a);if(!u)return r.concat(a,e(a,[],n));{let t=w(s);return r.concat(s,s.visualViewport||[],c(a)?a:[],t&&n?e(t):[])}},"J",0,b,"K",0,o,"e",0,h,"m",0,u,"E",0,l,"Z",0,m,"t",0,a,"B",0,c,"R",0,s,"S",0,function(e){return/^(table|td|th)$/.test(n(e))},"D",0,f,"i",0,g])},333848,e=>{var t=e.i(229315);e.s(["f",()=>t.K])},225913,e=>{var t=e.i(207670);let r=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=t.f;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:a,defaultVariants:u}=t,l=Object.keys(a).map(e=>{let t=null==o?void 0:o[e],n=null==u?void 0:u[e];if(null===t)return null;let i=r(t)||r(n);return a[e][i]}),s=o&&Object.entries(o).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return n(e,l,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({...u,...s}[t]):({...u,...s})[t]===r})?[...e,r,n]:e},[]),null==o?void 0:o.class,null==o?void 0:o.className)}])},505014,e=>{var t=e.i(271645),r=e.i(871987),n=e.i(388973),o=e.i(396661);let i=(0,t.createContext)({}),a=(0,t.forwardRef)(({color:e,size:a,strokeWidth:u,absoluteStrokeWidth:l,className:s="",children:c,iconNode:f,...d},p)=>{let{size:v=24,strokeWidth:h=2,absoluteStrokeWidth:g=!1,color:m="currentColor",className:y=""}=(0,t.useContext)(i)??{},b=l??g?24*Number(u??h)/Number(a??v):u??h;return(0,t.createElement)("svg",{ref:p,...r.f,width:a??v??r.f.width,height:a??v??r.f.height,stroke:e??m,strokeWidth:b,className:(0,o.f)("lucide",y,s),...!c&&!(0,n.f)(d)&&{"aria-hidden":"true"},...d},[...f.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(c)?c:[c]])});e.s(["default",0,a],505014)},456420,e=>{var t=e.i(271645),r=e.i(396661);let n=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var o=e.i(505014);e.s(["f",0,(e,i)=>{let a=(0,t.forwardRef)(({className:a,...u},l)=>(0,t.createElement)(o.default,{ref:l,iconNode:i,className:(0,r.f)(`lucide-${n(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,a),...u}));return a.displayName=n(e),a}],456420)},871987,388973,e=>{e.s(["f",0,{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}],871987),e.s(["f",0,e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1}],388973)},396661,e=>{e.s(["f",0,(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()])},522016,(e,t,r)=>{e.i(247167),Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return m},useLinkStatus:function(){return b}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(190809),a=e.r(843476),u=i._(e.r(271645)),l=e.r(195057),s=e.r(8372),c=e.r(818581),f=e.r(718967),d=e.r(405550),p=e.r(388540),v=e.r(91949),h=e.r(573668),g=e.r(509396);function m(t){var r;let n,o,i,[m,b]=(0,u.useOptimistic)(v.IDLE_LINK_STATUS),w=(0,u.useRef)(null),{href:k,as:x,children:E,prefetch:C=null,passHref:P,replace:S,shallow:N,scroll:j,onClick:T,onMouseEnter:A,onTouchStart:O,legacyBehavior:_=!1,onNavigate:I,transitionTypes:L,ref:U,unstable_dynamicOnHover:R,...$}=t;n=E,_&&("string"==typeof n||"number"==typeof n)&&(n=(0,a.jsx)("a",{children:n}));let D=u.default.useContext(s.AppRouterContext),z=!1!==C,K=!1===C?"none":!0===C?"full":"auto",B="none"!==K?"auto"===K?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,M="string"==typeof(r=x||k)?r:(0,l.formatUrl)(r);if(_){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=u.default.Children.only(n)}let W=_?o&&"object"==typeof o&&o.ref:U,F,H=u.default.useCallback(e=>(null!==D&&(w.current=(0,v.mountLinkInstance)(e,M,D,B,z,b,F)),()=>{w.current&&((0,v.unmountLinkForCurrentNavigation)(w.current),w.current=null),(0,v.unmountPrefetchableInstance)(e)}),[z,M,D,B,b,F]),V={ref:(0,c.useMergedRef)(H,W),onClick(t){_||"function"!=typeof T||T(t),_&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!D||t.defaultPrevented||function(t,r,n,o,i,a,u,l="none"){if("u">typeof window){let s,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((s=t.currentTarget.getAttribute("target"))&&"_self"!==s||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,h.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}let{navigate:f}=e.r(132916);f(r,o?"replace":"push",!1===i?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,u,l)}}(t,M,w,S,j,I,L,K)},onMouseEnter(e){_||"function"!=typeof A||A(e),_&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),D&&z&&(0,v.onNavigationIntent)(e.currentTarget,!0===R)},onTouchStart:function(e){_||"function"!=typeof O||O(e),_&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),D&&z&&(0,v.onNavigationIntent)(e.currentTarget,!0===R)}};return(0,f.isAbsoluteUrl)(M)?V.href=M:_&&!P&&("a"!==o.type||"href"in o.props)||(V.href=(0,d.addBasePath)(M)),i=_?u.default.cloneElement(o,V):(0,a.jsx)("a",{...$,...V,children:n}),(0,a.jsx)(y.Provider,{value:m,children:i})}let y=(0,u.createContext)(v.IDLE_LINK_STATUS),b=()=>(0,u.useContext)(y);("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)},818581,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(271645);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)},195057,(e,t,r)=>{e.i(247167),Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return u},formatWithValidation:function(){return s},urlObjectKeys:function(){return l}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(190809)._(e.r(998183)),a=/https?|ftp|gopher|file/;function u(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",u=e.hash||"",l=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:r&&(s=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(s+=":"+e.port)),l&&"object"==typeof l&&(l=String(i.urlQueryToSearchParams(l)));let c=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||a.test(n))&&!1!==s?(s="//"+(s||""),o&&"/"!==o[0]&&(o="/"+o)):s||(s=""),u&&"#"!==u[0]&&(u="#"+u),c&&"?"!==c[0]&&(c="?"+c),o=o.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${s}${o}${c}${u}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function s(e){return u(e)}},573668,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return i}});let n=e.r(718967),o=e.r(652817);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}}},718967,(e,t,r)=>{e.i(247167),Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return m},MiddlewareNotFoundError:function(){return k},MissingStaticPage:function(){return w},NormalizeError:function(){return y},PageNotFoundError:function(){return b},SP:function(){return h},ST:function(){return g},WEB_VITALS:function(){return i},execOnce:function(){return a},getDisplayName:function(){return f},getLocationOrigin:function(){return s},getURL:function(){return c},isAbsoluteUrl:function(){return l},isResSent:function(){return d},loadGetInitialProps:function(){return v},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return x}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=["CLS","FCP","INP","LCP","TTFB"];function a(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let u=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&u.test(e)};function s(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=s();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 v(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await v(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 h="u">typeof performance,g=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class m extends Error{}class y extends Error{}class b 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 k extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function x(e){return JSON.stringify({message:e.message,stack:e.stack})}},519455,e=>{var t=e.i(843476),r=e.i(527930),n=e.i(225913),o=e.i(975157);let i=(0,n.f)("group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",outline:"border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",ghost:"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",destructive:"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",xs:"h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-sm in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-sm in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",icon:"size-8","icon-xs":"size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg","icon-lg":"size-9"}},defaultVariants:{variant:"default",size:"default"}});e.s(["K",0,function({className:e,variant:n="default",size:a="default",...u}){return(0,t.jsx)(r.Button,{"data-slot":"button",className:(0,o.f)(i({variant:n,size:a,className:e})),...u})},"i",0,i])}],618566,(e,t,r)=>{t.exports=e.r(976562)}]);