1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2464],{25645:e=>{e.exports={style:{fontFamily:"'spaceGrotesk', 'spaceGrotesk Fallback'"},className:"__className_1111ec",variable:"__variable_1111ec"}},28115:(e,t,r)=>{"use strict";r.d(t,{bL:()=>g,zi:()=>x});var n=r(12115),a=r(70379),o=r(47527),i=r(68599),s=r(98979),l=r(63509),c=r(99354),d=r(95155),u="Switch",[f,p]=(0,i.A)(u),[v,m]=f(u),w=n.forwardRef((e,t)=>{let{__scopeSwitch:r,name:i,checked:l,defaultChecked:f,required:p,disabled:m,value:w="on",onCheckedChange:h,form:b,...g}=e,[x,P]=n.useState(null),C=(0,o.s)(t,e=>P(e)),S=n.useRef(!1),_=!x||b||!!x.closest("form"),[j,T]=(0,s.i)({prop:l,defaultProp:f??!1,onChange:h,caller:u});return(0,d.jsxs)(v,{scope:r,checked:j,disabled:m,children:[(0,d.jsx)(c.sG.button,{type:"button",role:"switch","aria-checked":j,"aria-required":p,"data-state":E(j),"data-disabled":m?"":void 0,disabled:m,value:w,...g,ref:C,onClick:(0,a.mK)(e.onClick,e=>{T(e=>!e),_&&(S.current=e.isPropagationStopped(),S.current||e.stopPropagation())})}),_&&(0,d.jsx)(y,{control:x,bubbles:!S.current,name:i,value:w,checked:j,required:p,disabled:m,form:b,style:{transform:"translateX(-100%)"}})]})});w.displayName=u;var h="SwitchThumb",b=n.forwardRef((e,t)=>{let{__scopeSwitch:r,...n}=e,a=m(h,r);return(0,d.jsx)(c.sG.span,{"data-state":E(a.checked),"data-disabled":a.disabled?"":void 0,...n,ref:t})});b.displayName=h;var y=n.forwardRef(({__scopeSwitch:e,control:t,checked:r,bubbles:a=!0,...i},s)=>{let c,u=n.useRef(null),f=(0,o.s)(u,s),p=(c=n.useRef({value:r,previous:r}),n.useMemo(()=>(c.current.value!==r&&(c.current.previous=c.current.value,c.current.value=r),c.current.previous),[r])),v=(0,l.X)(t);return n.useEffect(()=>{let e=u.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(p!==r&&t){let n=new Event("click",{bubbles:a});t.call(e,r),e.dispatchEvent(n)}},[p,r,a]),(0,d.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...i,tabIndex:-1,ref:f,style:{...i.style,...v,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function E(e){return e?"checked":"unchecked"}y.displayName="SwitchBubbleInput";var g=w,x=b},28356:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={cancelIdleCallback:function(){return o},requestIdleCallback:function(){return a}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let a="u">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)},o="u">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)},30282:(e,t,r)=>{"use strict";r.d(t,{Analytics:()=>p});var n=r(12115),a=r(73321),o=r(41463);function i(){return"u">typeof window}function s(){return"production"}function l(){return"development"===((i()?window.vam:s())||"production")}function c(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function d(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:`/${e}`}function u(e){return(0,n.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),(0,n.useEffect)(()=>{!function(e={debug:!0},t){var r;if(!i())return;let{beforeSend:n,src:a,dataset:o}=function(e,t){var r,n;let a=e;if(t)try{a={...null==(r=JSON.parse(t))?void 0:r.analytics,...e}}catch{}!function(e="auto"){if("auto"===e){window.vam=s();return}window.vam=e}(a.mode);let o={sdkn:"@vercel/analytics"+(a.framework?`/${a.framework}`:""),sdkv:"2.0.1"};return a.disableAutoTrack&&(o.disableAutoTrack="1"),a.viewEndpoint&&(o.viewEndpoint=d(a.viewEndpoint)),a.eventEndpoint&&(o.eventEndpoint=d(a.eventEndpoint)),a.sessionEndpoint&&(o.sessionEndpoint=d(a.sessionEndpoint)),l()&&!1===a.debug&&(o.debug="false"),a.dsn&&(o.dsn=a.dsn),a.endpoint?o.endpoint=a.endpoint:a.basePath&&(o.endpoint=d(`${a.basePath}/insights`)),{beforeSend:a.beforeSend,src:(n=a).scriptSrc?d(n.scriptSrc):l()?"https://va.vercel-scripts.com/v1/script.debug.js":n.basePath?d(`${n.basePath}
1/insights/script.js`):"/_vercel/insights/script.js",dataset:o}}(e,t);if(window.va||(window.va=function(...e){window.vaq||(window.vaq=[]),window.vaq.push(e)}),n&&(null==(r=window.va)||r.call(window,"beforeSend",n)),document.head.querySelector(`script[src*="${a}"]`))return;let c=document.createElement("script");for(let[e,t]of(c.src=a,Object.entries(o)))c.dataset[e]=t;c.defer=!0,c.onerror=()=>{let e=l()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${a}. ${e}`)},document.head.appendChild(c)}({framework:e.framework||"react",basePath:e.basePath??function(){if(void 0!==o&&void 0!==o.env)return o.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...void 0!==e.route&&{disableAutoTrack:!0},...e},e.configString??function(){if(void 0!==o&&void 0!==o.env)return o.env.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}())},[]),(0,n.useEffect)(()=>{e.route&&e.path&&function({route:e,path:t}){var r;null==(r=window.va)||r.call(window,"pageview",{route:e,path:t})}({route:e.route,path:e.path})},[e.route,e.path]),null}function f(e){let t,r,i,{route:s,path:l}=(t=(0,a.useParams)(),r=(0,a.useSearchParams)(),i=(0,a.usePathname)(),t?{route:function(e,t){if(!e||!t)return e;let r=e;try{let e=Object.entries(t);for(let[t,n]of e)if(!Array.isArray(n)){let e=c(n);e.test(r)&&(r=r.replace(e,`/[${t}]`))}for(let[t,n]of e)if(Array.isArray(n)){let e=c(n.join("/"));e.test(r)&&(r=r.replace(e,`/[...${t}]`))}return r}catch{return e}}(i,Object.keys(t).length?t:Object.fromEntries(r.entries())),path:i}:{route:null,path:i});return n.createElement(u,{path:l,route:s,...e,basePath:function(){if(void 0!==o&&void 0!==o.env)return o.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}
1(),configString:function(){if(void 0!==o&&void 0!==o.env)return'{"analytics":{"scriptSrc":"040fac898f1903a7/script.js","viewEndpoint":"040fac898f1903a7/view","eventEndpoint":"040fac898f1903a7/event","sessionEndpoint":"040fac898f1903a7/session"},"speedInsights":{"scriptSrc":"1eeb6321cdc37320/script.js","endpoint":"1eeb6321cdc37320/vitals"}}'}(),framework:"next"})}function p(e){return n.createElement(n.Suspense,{fallback:null},n.createElement(f,{...e}))}},34917:(e,t,r)=>{"use strict";r.d(t,{SpeedInsights:()=>u});var n=r(12115),a=r(73321),o=r(41463);function i(){return"development"===function(){return"production"}()}function s(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function l(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:`/${e}`}function c(e){(0,n.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);let t=(0,n.useRef)(null);return(0,n.useEffect)(()=>{if(!t.current){let r=function(e={},t){var r;if(!("u">typeof window)||null===e.route)return null;window.si||(window.si=function(...e){window.siq=window.siq||[],window.siq.push(e)});let{beforeSend:n,src:a,dataset:o}=function(e,t){var r,n;let a=e;if(t)try{a={...null==(r=JSON.parse(t))?void 0:r.speedInsights,...e}}catch{}let o={sdkn:"@vercel/speed-insights"+(a.framework?`/${a.framework}`:""),sdkv:"2.0.0"};return a.sampleRate&&(o.sampleRate=a.sampleRate.toString()),a.route&&(o.route=a.route),i()&&!1===a.debug&&(o.debug="false"),a.dsn&&(o.dsn=a.dsn),a.endpoint?o.endpoint=l(a.endpoint):a.basePath&&(o.endpoint=l(`${a.basePath}/speed-insights/vitals`)),{src:(n=a).scriptSrc?l(n.scriptSrc):i()?"https://va.vercel-scripts.com/v1/speed-insights/script.debug.js":n.dsn?"https://va.vercel-scripts.com/v1/speed-insights/script.js":n.basePath?l(`${n.basePath}/speed-insights/script.js`):"/_vercel/speed-insights/script.js",beforeSend:a.beforeSend,dataset:o}}(e,t);if(document.head.querySelector(`script[src*="${a}"]`))return null;n&&(null==(r=window.si)||r.call(window,"beforeSend",n));let s=document.createElement("script");for(let[e,t]of(s.src=a,s.defer=!0,Object.entries(o)))s.dataset[e]=t;return s.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${a}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(s),{setRoute:e=>{s.dataset.route=e??void 0}}}({framework:e.framework??"react",basePath:e.basePath??function(){if(void 0!==o&&void 0!==o.env)return o.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...e},e.configString??function(){if(void 0!==o&&void 0!==o.env)return o.env.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}());r&&(t.current=r.setRoute)}},[e]),(0,n.useEffect)(()=>{t.current&&e.route&&t.current(e.route)},[e.route]),null}function d(e){let t=(()=>{let e=(0,a.useParams)(),t=(0,a.useSearchParams)()||new URLSearchParams,r=(0,a.usePathname)();if(!e)return null;let n=Object.keys(e).length?e:Object.fromEntries(t.entries());if(!r||!n)return r;let o=r;try{let e=Object.entries(n);for(let[t,r]of e)if(!Array.isArray(r)){let e=s(r);e.test(o)&&(o=o.replace(e,`/[${t}]`))}for(let[t,r]of e)if(Array.isArray(r)){let e=s(r.join("/"));e.test(o)&&(o=o.replace(e,`/[...${t}]`))}return o}catch{return r}})();return n.createElement(c,{route:t,...e,framework:"next",basePath:function(){if(void 0!==o&&void 0!==o.env)return o.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}
1(),configString:function(){if(void 0!==o&&void 0!==o.env)return'{"analytics":{"scriptSrc":"040fac898f1903a7/script.js","viewEndpoint":"040fac898f1903a7/view","eventEndpoint":"040fac898f1903a7/event","sessionEndpoint":"040fac898f1903a7/session"},"speedInsights":{"scriptSrc":"1eeb6321cdc37320/script.js","endpoint":"1eeb6321cdc37320/vitals"}}'}()})}function u(e){return n.createElement(n.Suspense,{fallback:null},n.createElement(d,{...e}))}},64974:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return E},handleClientScriptLoad:function(){return h},initScriptLoader:function(){return b}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(73623),i=r(66388),s=r(95155),l=o._(r(47650)),c=i._(r(12115)),d=r(75368),u=r(3584),f=r(28356),p=r(71922),v=new Map,m=new Set,w=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:a=null,dangerouslySetInnerHTML:o,children:i="",strategy:s="afterInteractive",onError:c,stylesheets:d}=e,f=r||t;if(f&&m.has(f))return;if(v.has(t)){m.add(f),v.get(t).then(n,c);return}let p=()=>{a&&a(),m.add(f)},w=document.createElement("script"),h=new Promise((e,t)=>{w.addEventListener("load",function(t){e(),n&&n.call(this,t),p()}),w.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});o?(w.innerHTML=o.__html||"",p()):i?(w.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",p()):t&&(w.src=t,v.set(t,h)),(0,u.setAttributesFromProps)(w,e),"worker"===s&&w.setAttribute("type","text/partytown"),w.setAttribute("data-nscript",s),d&&(e=>{if(l.default.preinit)return e.forEach(e=>{l.default.preinit(e,{as:"style"})});{let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(d),document.body.appendChild(w)};function h(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>w(e))}):w(e)}function b(e){e.forEach(h),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");m.add(t)})}function y(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:a=null,strategy:o="afterInteractive",onError:i,stylesheets:u,...v}=e,{updateScripts:h,scripts:b,getIsSsr:y,appDir:E,nonce:g}=(0,c.useContext)(d.HeadManagerContext);g=v.nonce||g;let x=(0,c.useRef)(!1);(0,c.useEffect)(()=>{let e=t||r;x.current||(a&&e&&m.has(e)&&a(),x.current=!0)},[a,t,r]);let P=(0,c.useRef)(!1);if((0,c.useEffect)(()=>{if(!P.current){if("afterInteractive"===o)w(e);else"lazyOnload"===o&&("complete"===document.readyState?(0,f.requestIdleCallback)(()=>w(e)):window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>w(e))}));P.current=!0}},[e,o]),("beforeInteractive"===o||"worker"===o)&&(h?(b[o]=(b[o]||[]).concat([{id:t,src:r,onLoad:n,onReady:a,onError:i,...v,nonce:g}]),h(b)):y&&y()?m.add(t||r):y&&!y()&&w({...e,nonce:g})),E){if(u&&u.forEach(e=>{l.default.preinit(e,{as:"style"})}),"beforeInteractive"===o)if(!r)return v.dangerouslySetInnerHTML&&(v.children=v.dangerouslySetInnerHTML.__html,delete v.dangerouslySetInnerHTML),(0,s.jsx)("script",{nonce:g,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,p.htmlEscapeJsonString)(JSON.stringify([0,{...v,id:t}]))})`}});else return l.default.preload(r,v.integrity?{as:"script",integrity:v.integrity,nonce:g,crossOrigin:v.crossOrigin}:{as:"script",nonce:g,crossOrigin:v.crossOrigin}),(0,s.jsx)("script",{nonce:g,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,p.htmlEscapeJsonString)(JSON.stringify([r,{...v,id:t}]))})`}});"afterInteractive"===o&&r&&l.default.preload(r,v.integrity?{as:"script",integrity:v.integrity,nonce:g,crossOrigin:v.crossOrigin}:{as:"script",nonce:g,crossOrigin:v.crossOrigin})}return null}Object.defineProperty(y,"__nextScript",{value:!0});let E=y;("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)},65596:(e,t,r)=>{"use strict";r.d(t,{default:()=>a.a});var n=r(64974),a=r.n(n)},71922:(e,t)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var r={ESCAPE_REGEX:function(){return o},htmlEscapeAttributeString:function(){return c},htmlEscapeJsonString:function(){return l}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let a={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},o=/[&><\u2028\u2029]/g,i={"&":"&",'"':""","'":"'","<":"<",">":">"},s=/[&"'<>]/g;function l(e){return e.replace(o,e=>a[e])}function c(e){return e.replace(s,e=>i[e])}},73321:(e,t,r)=>{"use strict";var n=r(74645);r.o(n,"useParams")&&r.d(t,{useParams:function(){return n.useParams}}),r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},86183:(e,t,r)=>{"use strict";r.d(t,{Kq:()=>J,LM:()=>z,VY:()=>ee,bL:()=>Z,bm:()=>er,hE:()=>Q,rc:()=>et});var n=r(12115),a=r(47650),o=r(70379),i=r(47527),s=r(64831),l=r(68599),c=r(98454),d=r(19040),u=r(83935),f=r(99354),p=r(17347),v=r(98979),m=r(66294),w=r(40562),h=r(95155),b="ToastProvider",[y,E,g]=(0,s.N)("Toast"),[x,P]=(0,l.A)("Toast",[g]),[C,S]=x(b),_=e=>{let{__scopeToast:t,label:r="Notification",duration:a=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:s}=e,[l,c]=n.useState(null),[d,u]=n.useState(0),f=n.useRef(!1),p=n.useRef(!1);return r.trim()||console.error(`Invalid prop \`label\` supplied to \`${b}\`. Expected non-empty \`string\`.`),(0,h.jsx)(y.Provider,{scope:t,children:(0,h.jsx)(C,{scope:t,label:r,duration:a,swipeDirection:o,swipeThreshold:i,toastCount:d,viewport:l,onViewportChange:c,onToastAdd:n.useCallback(()=>u(e=>e+1),[]),onToastRemove:n.useCallback(()=>u(e=>e-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:p,children:s})})};_.displayName=b;var j="ToastViewport",T=["F8"],R="toast.viewportPause",k="toast.viewportResume",A=n.forwardRef((e,t)=>{let{__scopeToast:r,hotkey:a=T,label:o="Notifications ({hotkey})",...s}=e,l=S(j,r),d=E(r),u=n.useRef(null),p=n.useRef(null),v=n.useRef(null),m=n.useRef(null),w=(0,i.s)(t,m,l.onViewportChange),b=a.join("+").replace(/Key/g,"").replace(/Digit/g,""),g=l.toastCount>0;n.useEffect(()=>{let e=e=>{0!==a.length&&a.every(t=>e[t]||e.code===t)&&m.current?.focus()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[a]),n.useEffect(()=>{let e=u.current,t=m.current;if(g&&e&&t){let r=()=>{if(!l.isClosePausedRef.current){let e=new CustomEvent(R);t.dispatchEvent(e),l.isClosePausedRef.current=!0}},n=()=>
1{if(l.isClosePausedRef.current){let e=new CustomEvent(k);t.dispatchEvent(e),l.isClosePausedRef.current=!1}},a=t=>{e.contains(t.relatedTarget)||n()},o=()=>{e.contains(document.activeElement)||n()};return e.addEventListener("focusin",r),e.addEventListener("focusout",a),e.addEventListener("pointermove",r),e.addEventListener("pointerleave",o),window.addEventListener("blur",r),window.addEventListener("focus",n),()=>{e.removeEventListener("focusin",r),e.removeEventListener("focusout",a),e.removeEventListener("pointermove",r),e.removeEventListener("pointerleave",o),window.removeEventListener("blur",r),window.removeEventListener("focus",n)}}},[g,l.isClosePausedRef]);let x=n.useCallback(({tabbingDirection:e})=>{let t=d().map(t=>{let r=t.ref.current,n=[r,...function(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}(r)];return"forwards"===e?n:n.reverse()});return("forwards"===e?t.reverse():t).flat()},[d]);return n.useEffect(()=>{let e=m.current;if(e){let t=t=>{let r=t.altKey||t.ctrlKey||t.metaKey;if("Tab"===t.key&&!r){let r=document.activeElement,n=t.shiftKey;if(t.target===e&&n)return void p.current?.focus();let a=x({tabbingDirection:n?"backwards":"forwards"}),o=a.findIndex(e=>e===r);X(a.slice(o+1))?t.preventDefault():n?p.current?.focus():v.current?.focus()}};return e.addEventListener("keydown",t),()=>e.removeEventListener("keydown",t)}},[d,x]),(0,h.jsxs)(c.lg,{ref:u,role:"region","aria-label":o.replace("{hotkey}",b),tabIndex:-1,style:{pointerEvents:g?void 0:"none"},children:[g&&(0,h.jsx)(L,{ref:p,onFocusFromOutsideViewport:()=>{X(x({tabbingDirection:"forwards"}))}}),(0,h.jsx)(y.Slot,{scope:r,children:(0,h.jsx)(f.sG.ol,{tabIndex:-1,...s,ref:w})}),g&&(0,h.jsx)(L,{ref:v,onFocusFromOutsideViewport:()=>{X(x({tabbingDirection:"backwards"}))}})]})});A.displayName=j;var I="ToastFocusProxy",L=n.forwardRef((e,t)=>{let{__scopeToast:r,onFocusFromOutsideViewport:n,...a}=e,o=S(I,r);return(0,h.jsx)(w.s6,{tabIndex:0,...a,ref:t,style:{position:"fixed"},onFocus:e=>{let t=e.relatedTarget;o.viewport?.contains(t)||n()}})});L.displayName=I;var N="Toast",O=n.forwardRef((e,t)=>{let{forceMount:r,open:n,defaultOpen:a,onOpenChange:i,...s}=e,[l,c]=(0,v.i)({prop:n,defaultProp:a??!0,onChange:i,caller:N});return(0,h.jsx)(u.C,{present:r||l,children:(0,h.jsx)(F,{open:l,...s,ref:t,onClose:()=>c(!1),onPause:(0,p.c)(e.onPause),onResume:(0,p.c)(e.onResume),onSwipeStart:(0,o.mK)(e.onSwipeStart,e=>{e.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:(0,o.mK)(e.onSwipeMove,e=>{let{x:t,y:r}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","move"),e.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${t}px`),e.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${r}px`)}),onSwipeCancel:(0,o.mK)(e.onSwipeCancel,e=>{e.currentTarget.setAttribute("data-swipe","cancel"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:(0,o.mK)(e.onSwipeEnd,e=>{let{x:t,y:r}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","end"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${t}px`),e.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${r}px`),c(!1)})})})});O.displayName=N;var[D,$]=x(N,{onClose(){}}),F=n.forwardRef((e,t)=>{let{__scopeToast:r,type:s="foreground",duration:l,open:d,onClose:u,onEscapeKeyDown:v,onPause:m,onResume:w,onSwipeStart:b,onSwipeMove:E,onSwipeCancel:g,onSwipeEnd:x,...P}=e,C=S(N,r),[_,j]=n.useState(null),T=(0,i.s)(t,e=>j(e)),A=n.useRef(null),I=n.useRef(null),L=l||C.duration,O=n.useRef(0),$=n.useRef(L),F=n.useRef(0),{onToastAdd:K,onToastRemove:q}=C,B=(0,p.c)(()=>{_?.contains(document.activeElement)&&C.viewport?.focus(),u()}),V=n.useCallback(e=>
1{e&&e!==1/0&&(window.clearTimeout(F.current),O.current=new Date().getTime(),F.current=window.setTimeout(B,e))},[B]);n.useEffect(()=>{let e=C.viewport;if(e){let t=()=>{V($.current),w?.()},r=()=>{let e=new Date().getTime()-O.current;$.current=$.current-e,window.clearTimeout(F.current),m?.()};return e.addEventListener(R,r),e.addEventListener(k,t),()=>{e.removeEventListener(R,r),e.removeEventListener(k,t)}}},[C.viewport,L,m,w,V]),n.useEffect(()=>{d&&!C.isClosePausedRef.current&&V(L)},[d,L,C.isClosePausedRef,V]),n.useEffect(()=>(K(),()=>q()),[K,q]);let G=n.useMemo(()=>_?function e(t){let r=[];return Array.from(t.childNodes).forEach(t=>{var n;if(t.nodeType===t.TEXT_NODE&&t.textContent&&r.push(t.textContent),(n=t).nodeType===n.ELEMENT_NODE){let n=t.ariaHidden||t.hidden||"none"===t.style.display,a=""===t.dataset.radixToastAnnounceExclude;if(!n)if(a){let e=t.dataset.radixToastAnnounceAlt;e&&r.push(e)}else r.push(...e(t))}}),r}(_):null,[_]);return C.viewport?(0,h.jsxs)(h.Fragment,{children:[G&&(0,h.jsx)(M,{__scopeToast:r,role:"status","aria-live":"foreground"===s?"assertive":"polite",children:G}),(0,h.jsx)(D,{scope:r,onClose:B,children:a.createPortal((0,h.jsx)(y.ItemSlot,{scope:r,children:(0,h.jsx)(c.bL,{asChild:!0,onEscapeKeyDown:(0,o.mK)(v,()=>{C.isFocusedToastEscapeKeyDownRef.current||B(),C.isFocusedToastEscapeKeyDownRef.current=!1}),children:(0,h.jsx)(f.sG.li,{tabIndex:0,"data-state":d?"open":"closed","data-swipe-direction":C.swipeDirection,...P,ref:T,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:(0,o.mK)(e.onKeyDown,e=>{"Escape"===e.key&&(v?.(e.nativeEvent),e.nativeEvent.defaultPrevented||(C.isFocusedToastEscapeKeyDownRef.current=!0,B()))}),onPointerDown:(0,o.mK)(e.onPointerDown,e=>{0===e.button&&(A.current={x:e.clientX,y:e.clientY})}),onPointerMove:(0,o.mK)(e.onPointerMove,e=>{if(!A.current)return;let t=e.clientX-A.current.x,r=e.clientY-A.current.y,n=!!I.current,a=["left","right"].includes(C.swipeDirection),o=["left","up"].includes(C.swipeDirection)?Math.min:Math.max,i=a?o(0,t):0,s=a?0:o(0,r),l="touch"===e.pointerType?10:2,c={x:i,y:s},d={originalEvent:e,delta:c};n?(I.current=c,Y("toast.swipeMove",E,d,{discrete:!1})):U(c,C.swipeDirection,l)?(I.current=c,Y("toast.swipeStart",b,d,{discrete:!1}),e.target.setPointerCapture(e.pointerId)):(Math.abs(t)>l||Math.abs(r)>l)&&(A.current=null)}),onPointerUp:(0,o.mK)(e.onPointerUp,e=>{let t=I.current,r=e.target;if(r.hasPointerCapture(e.pointerId)&&r.releasePointerCapture(e.pointerId),I.current=null,A.current=null,t){let r=e.currentTarget,n={originalEvent:e,delta:t};U(t,C.swipeDirection,C.swipeThreshold)?Y("toast.swipeEnd",x,n,{discrete:!0}):Y("toast.swipeCancel",g,n,{discrete:!0}),r.addEventListener("click",e=>e.preventDefault(),{once:!0})}})})})}),C.viewport)})]}):null}),M=e=>{let{__scopeToast:t,children:r,...a}=e,o=S(N,t),[i,s]=n.useState(!1),[l,c]=n.useState(!1);return function(e=()=>{}){let t=(0,p.c)(e);(0,m.N)(()=>{let e=0,r=0;return e=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(e),window.cancelAnimationFrame(r)}},[t])}(()=>s(!0)),n.useEffect(()=>{let e=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(e)},[]),l?null:(0,h.jsx)(d.Z,{asChild:!0,children:(0,h.jsx)(w.s6,{...a,children:i&&(0,h.jsxs)(h.Fragment,{children:[o.label," ",r]})})})},K=n.forwardRef((e,t)=>{let{__scopeToast:r,...n}=e;return(0,h.jsx)(f.sG.div,{...n,ref:t})});K.displayName="ToastTitle";var q=n.forwardRef((e,t)=>{let{__scopeToast:r,...n}=e;return(0,h.jsx)(f.sG.div,{...n,ref:t})});q.displayName="ToastDescription";var B="ToastAction",V=n.forwardRef((e,t)=>{let{altText:r,...n}=e;return r.trim()?(0,h.jsx)(W,{altText:r,asChild:!0,children:(0,h.jsx)(H,{...n,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${B}\`. Expected non-empty \`string\`.`),null)});V.displayName=B;var G="ToastClose",H=n.forwardRef((e,t)=>{let{__scopeToast:r,...n}=e,a=$(G,r);return(0,h.jsx)(W,{asChild:!0,children:(0,h.jsx)(f.sG.button,{type:"button",...n,ref:t,onClick:(0,o.mK)(e.onClick,a.onClose)})})});H.displayName=G;var W=n.forwardRef((e,t)=>{let{__scopeToast:r,altText:n,...a}=e;return(0,h.jsx)(f.sG.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0,...a,ref:t})});function Y(e,t,r,{discrete:n}){let a=r.originalEvent.currentTarget,o=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),n?(0,f.hO)(a,o):a.dispatchEvent(o)}var U=(e,t,r=0)=>{let n=Math.abs(e.x),a=Math.abs(e.y),o=n>a;return"left"===t||"right"===t?o&&n>r:!o&&a>r};function X(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}var J=_,z=A,Z=O,Q=K,ee=q,et=V,er=H},88297:e=>{e.exports={style:{fontFamily:"'inter', 'inter Fallback'"},className:"__className_53f2d8",variable:"__variable_53f2d8"}},89372:(e,t,r)=>{"use strict";r.d(t,{UC:()=>ei,Y9:()=>ea,q7:()=>en,bL:()=>er,l9:()=>eo});
1var n=r(12115),a=r(68599),o=r(64831),i=r(47527),s=r(70379),l=r(98979),c=r(99354),d=r(66294),u=r(83935),f=r(89971),p=r(95155),v="Collapsible",[m,w]=(0,a.A)(v),[h,b]=m(v),y=n.forwardRef((e,t)=>{let{__scopeCollapsible:r,open:a,defaultOpen:o,disabled:i,onOpenChange:s,...d}=e,[u,m]=(0,l.i)({prop:a,defaultProp:o??!1,onChange:s,caller:v});return(0,p.jsx)(h,{scope:r,disabled:i,contentId:(0,f.B)(),open:u,onOpenToggle:n.useCallback(()=>m(e=>!e),[m]),children:(0,p.jsx)(c.sG.div,{"data-state":S(u),"data-disabled":i?"":void 0,...d,ref:t})})});y.displayName=v;var E="CollapsibleTrigger",g=n.forwardRef((e,t)=>{let{__scopeCollapsible:r,...n}=e,a=b(E,r);return(0,p.jsx)(c.sG.button,{type:"button","aria-controls":a.contentId,"aria-expanded":a.open||!1,"data-state":S(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled,...n,ref:t,onClick:(0,s.mK)(e.onClick,a.onOpenToggle)})});g.displayName=E;var x="CollapsibleContent",P=n.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=b(x,e.__scopeCollapsible);return(0,p.jsx)(u.C,{present:r||a.open,children:({present:e})=>(0,p.jsx)(C,{...n,ref:t,present:e})})});P.displayName=x;var C=n.forwardRef((e,t)=>{let{__scopeCollapsible:r,present:a,children:o,...s}=e,l=b(x,r),[u,f]=n.useState(a),v=n.useRef(null),m=(0,i.s)(t,v),w=n.useRef(0),h=w.current,y=n.useRef(0),E=y.current,g=l.open||u,P=n.useRef(g),C=n.useRef(void 0);return n.useEffect(()=>{let e=requestAnimationFrame(()=>P.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,d.N)(()=>{let e=v.current;if(e){C.current=C.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();w.current=t.height,y.current=t.width,P.current||(e.style.transitionDuration=C.current.transitionDuration,e.style.animationName=C.current.animationName),f(a)}},[l.open,a]),(0,p.jsx)(c.sG.div,{"data-state":S(l.open),"data-disabled":l.disabled?"":void 0,id:l.contentId,hidden:!g,...s,ref:m,style:{"--radix-collapsible-content-height":h?`${h}px`:void 0,"--radix-collapsible-content-width":E?`${E}px`:void 0,...e.style},children:g&&o})});function S(e){return e?"open":"closed"}var _=r(1933),j="Accordion",T=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[R,k,A]=(0,o.N)(j),[I,L]=(0,a.A)(j,[A,w]),N=w(),O=n.forwardRef((e,t)=>{let{type:r,...n}=e;return(0,p.jsx)(R.Provider,{scope:e.__scopeAccordion,children:"multiple"===r?(0,p.jsx)(q,{...n,ref:t}):(0,p.jsx)(K,{...n,ref:t})})});O.displayName=j;var[D,$]=I(j),[F,M]=I(j,{collapsible:!1}),K=n.forwardRef((e,t)=>{let{value:r,defaultValue:a,onValueChange:o=()=>{},collapsible:i=!1,...s}=e,[c,d]=(0,l.i)({prop:r,defaultProp:a??"",onChange:o,caller:j});return(0,p.jsx)(D,{scope:e.__scopeAccordion,value:n.useMemo(()=>c?[c]:[],[c]),onItemOpen:d,onItemClose:n.useCallback(()=>i&&d(""),[i,d]),children:(0,p.jsx)(F,{scope:e.__scopeAccordion,collapsible:i,children:(0,p.jsx)(G,{...s,ref:t})})})}),q=n.forwardRef((e,t)=>{let{value:r,defaultValue:a,onValueChange:o=()=>{},...i}=e,[s,c]=(0,l.i)({prop:r,defaultProp:a??[],onChange:o,caller:j}),d=n.useCallback(e=>c((t=[])=>[...t,e]),[c]),u=n.useCallback(e=>c((t=[])=>t.filter(t=>t!==e)),[c]);return(0,p.jsx)(D,{scope:e.__scopeAccordion,value:s,onItemOpen:d,onItemClose:u,children:(0,p.jsx)(F,{scope:e.__scopeAccordion,collapsible:!0,children:(0,p.jsx)(G,{...i,ref:t})})})}),[B,V]=I(j),G=n.forwardRef((e,t)=>{let{__scopeAccordion:r,disabled:a,dir:o,orientation:l="vertical",...d}=e,u=n.useRef(null),f=(0,i.s)(u,t),v=k(r),m="ltr"===(0,_.jH)(o),w=(0,s.mK)(e.onKeyDown,e=>{if(!T.includes(e.key))return;let t=e.target,r=v().filter(e=>!e.ref.current?.disabled),n=r.findIndex(e=>e.ref.current===t),a=r.length;if(-1===n)return;e.preventDefault();let o=n,i=a-1,s=()=>{(o=n+1)>i&&(o=0)},c=()=>{(o=n-1)<0&&(o=i)};switch(e.key){case"Home":o=0;break;case"End":o=i;break;case"ArrowRight":"horizontal"===l&&(m?s():c());break;case"ArrowDown":"vertical"===l&&s();break;case"ArrowLeft":"horizontal"===l&&(m?c():s());break;case"ArrowUp":"vertical"===l&&c()}let d=o%a;r[d].ref.current?.focus()});return(0,p.jsx)(B,{scope:r,disabled:a,direction:o,orientation:l,children:(0,p.jsx)(R.Slot,{scope:r,children:(0,p.jsx)(c.sG.div,{...d,"data-orientation":l,ref:f,onKeyDown:a?void 0:w})})})}),H="AccordionItem",[W,Y]=I(H),U=n.forwardRef((e,t)=>
1{let{__scopeAccordion:r,value:n,...a}=e,o=V(H,r),i=$(H,r),s=N(r),l=(0,f.B)(),c=n&&i.value.includes(n)||!1,d=o.disabled||e.disabled;return(0,p.jsx)(W,{scope:r,open:c,disabled:d,triggerId:l,children:(0,p.jsx)(y,{"data-orientation":o.orientation,"data-state":et(c),...s,...a,ref:t,disabled:d,open:c,onOpenChange:e=>{e?i.onItemOpen(n):i.onItemClose(n)}})})});U.displayName=H;var X="AccordionHeader",J=n.forwardRef((e,t)=>{let{__scopeAccordion:r,...n}=e,a=V(j,r),o=Y(X,r);return(0,p.jsx)(c.sG.h3,{"data-orientation":a.orientation,"data-state":et(o.open),"data-disabled":o.disabled?"":void 0,...n,ref:t})});J.displayName=X;var z="AccordionTrigger",Z=n.forwardRef((e,t)=>{let{__scopeAccordion:r,...n}=e,a=V(j,r),o=Y(z,r),i=M(z,r),s=N(r);return(0,p.jsx)(R.ItemSlot,{scope:r,children:(0,p.jsx)(g,{"aria-disabled":o.open&&!i.collapsible||void 0,"data-orientation":a.orientation,id:o.triggerId,...s,...n,ref:t})})});Z.displayName=z;var Q="AccordionContent",ee=n.forwardRef((e,t)=>{let{__scopeAccordion:r,...n}=e,a=V(j,r),o=Y(Q,r),i=N(r);return(0,p.jsx)(P,{role:"region","aria-labelledby":o.triggerId,"data-orientation":a.orientation,...i,...n,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function et(e){return e?"open":"closed"}ee.displayName=Q;var er=O,en=U,ea=J,eo=Z,ei=ee}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.