1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[160],{2179:function(e,t,n){"use strict";n.d(t,{v:function(){return a}});var r=n(4090),i=n(4404),o=n.n(i),a=function(e){var t=e.apiKey,n=void 0===t?null:t,i=e.iabVersion,o=void 0===i?2:i,a=e.noticeId,s=void 0===a?null:a,u=e.platform,l=void 0===u?null:u,c=e.config,d=void 0===c?{}:c,f=e.gdprAppliesGlobally,p=void 0===f||f,h=e.onReady,m=e.onConsentChanged,v=e.onNoticeShown,y=e.onNoticeHidden,w=e.onNoticeBackdropclick,g=e.onNoticeClickAgree,b=e.onNoticeClickMoreInfo,x=e.onPreferencesClickAgreeToAll,E=e.onPreferencesClickDisagreeToAll,C=e.onPreferencesClickPurposeAgree,_=e.onPreferencesClickPurposeDisagree,P=e.onPreferencesClickViewVendors,T=e.onPreferencesClickSaveChoices,M=e.onPreferencesClickVendorAgree,R=e.onPreferencesClickVendorDisagree,j=e.onPreferencesClickVendorSaveChoices,k=e.sdkPath,A=void 0===k?"https://sdk.privacy-center.org/":k,L=e.embedTCFStub,N=void 0===L||L,O=function(){h&&(window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(h)),window.didomiEventListeners=window.didomiEventListeners||[],m&&window.didomiEventListeners.push({event:"consent.changed",listener:function(e){m(e.consentToken)}}),v&&window.didomiEventListeners.push({event:"notice.shown",listener:function(){return v()}}),y&&window.didomiEventListeners.push({event:"notice.hidden",listener:function(){return y()}}),w&&window.didomiEventListeners.push({event:"notice.backdropclick",listener:function(){return w()}}),g&&window.didomiEventListeners.push({event:"notice.clickagree",listener:function(){return g()}}),b&&window.didomiEventListeners.push({event:"notice.clickmoreinfo",listener:function(){return b()}}),x&&window.didomiEventListeners.push({event:"preferences.clickagreetoall",listener:function(){return x()}}),E&&window.didomiEventListeners.push({event:"preferences.clickdisagreetoall",listener:function(){return E()}}),C&&window.didomiEventListeners.push({event:"preferences.clickpurposeagree",listener:function(){return C()}}),_&&window.didomiEventListeners.push({event:"preferences.clickpurposedisagree",listener:function(){return _()}}),P&&window.didomiEventListeners.push({event:"preferences.clickviewvendors",listener:function(){return P()}}),T&&window.didomiEventListeners.push({event:"preferences.clicksavechoices",listener:function(){return T()}}),M&&window.didomiEventListeners.push({event:"preferences.clickvendoragree",listener:function(){return M()}}),R&&window.didomiEventListeners.push({event:"preferences.clickvendordisagree",listener:function(){return R()}}),j&&window.didomiEventListeners.push({event:"preferences.clickvendorsavechoices",listener:function(){return j()}})},S=function(){var e;return d.app&&d.app.apiKey&&(e=d.app.apiKey),n||e},I=function(){var e,t=S();window.didomiConfig=d||{},window.didomiConfig.sdkPath=A,window.gdprAppliesGlobally=!1!==p,s?(e="target_type=notice&target="+s,l&&(e="platform="+l+"&"+e)):e="target="+document.location.hostname,N&&(2===o?(function(e,t,n,r,i){function o(e,n,r,o){if("function"==typeof r){window[t]||(window[t]=[]);var a=!1;i&&(a=i(e,n,r)),a||window[t].push({command:e,parameter:n,callback:r,version:o})}}function a(t){if(window[e]&&!0===window[e].stub&&t.data){var i,o="string"==typeof t.data;try{i=o?JSON.parse(t.data):t.data}catch(e){return}if(i[n]){var a=i[n];window[e](a.command,a.parameter,function(e,n){var i={};i[r]={returnValue:e,success:n,callId:a.callId},t.source.postMessage(o?JSON.stringify(i):i,"*")},a.version)}}}o.stub=!0,"function"!=typeof window[e]&&(window[e]=o,window.addEventListener?window.addEventListener("message",a,!1):window.attachEvent("onmessage",a))}("__tcfapi","__tcfapiBuffer","__tcfapiCall","__tcfapiReturn"),function e(t){if(!window.frames[t]){if(document.body&&document.body.firstChild){var n=document.body,r=document.createElement("iframe");r.style.display="none",r.name=t,r.title=t,n.insertBefore(r,n.firstChild)}else setTimeout(function(){e(t)},5)}}("__tcfapiLocator")):function(){function e(e,t,n){"function"==typeof n&&(window.__cmpBuffer||(window.__cmpBuffer=[]),"ping"===e?n({gdprAppliesGlobally:window.gdprAppliesGlobally,cmpLoaded:!1},!0):window.__cmpBuffer.push({command:e,parameter:t,callback:n}))}function t(e){if(window.__cmp&&!0===window.__cmp.stub&&e.data){var t,n="string"==typeof e.data;try{t=n?JSON.parse(e.data):e.data}catch(e){return}if(t.__cmpCall){var r=t.__cmpCall;window.__cmp(r.command,r.parameter,function(t,i){var o={__cmpReturn:{returnValue:t,success:i,callId:r.callId}};e.source.postMessage(n?JSON.stringify(o):o,"*")})}}}e.stub=!0,"function"!=typeof window.__cmp&&(window.__cmp=e,window.addEventListener?window.addEventListener("message",t,!1):window.attachEvent("onmessage",t)),function e(){if(!window.frames.__cmpLocator){if(document.body&&document.body.firstChild){var t=document.body,n=document.createElement("iframe");n.style.display="none",n.name="__cmpLocator",n.title="cmpLocator",t.insertBefore(n,t.firstChild)}else setTimeout(e,5)}}()}());var n="spcloader";if(document.getElementById(n))return null;var r=document.createElement("script");r.id=n,r.type="text/javascript",r.async=!0,r.src=A+t+"/loader.js?"+e,r.charset="utf-8";var i=document.getElementsByTagName("script")[0];i.parentNode.insertBefore(r,i)};return r.useEffect(function(){O(),I()},[]),null};a.propTypes={apiKey:o().string,iabVersion:o().number,noticeId:o().string,platform:o().string,config:o().object,gdprAppliesGlobally:o().bool,onReady:o().func,onConsentChanged:o().func,onNoticeShown:o().func,onNoticeHidden:o().func,onNoticeBackdropclick:o().func,onNoticeClickAgree:o().func,onNoticeClickMoreInfo:o().func,onPreferencesClickAgreeToAll:o().func,onPreferencesClickDisagreeToAll:o().func,onPreferencesClickPurposeAgree:o().func,onPreferencesClickPurposeDisagree:o().func,onPreferencesClickViewVendors:o().func,onPreferencesClickSaveChoices:o().func,onPreferencesClickVendorAgree:o().func,onPreferencesClickVendorDisagree:o().func,onPreferencesClickVendorSaveChoices:o().func,sdkPath:o().string,embedTCFStub:o().bool}},6016:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{html:t,height:n=null,width:o=null,children:a,dataNtpc:s=""}=e;return(0,i.useEffect)(()=>{s&&performance.mark("mark_feature_usage",{detail:{feature:`next-third-parties-${s}`}})},[s]),(0,r.jsxs)(r.Fragment,{children:[a,t?(0,r.jsx)("div",{style:{height:null!=n?`${n}px`:"auto",width:null!=o?`${o}px`:"auto"},"data-ntpc":s,dangerouslySetInnerHTML:{__html:t}}):null]})};let r=n(3827),i=n(4090)},1845:function(e,t,n){"use strict";var r;let i;Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAnalytics=function(e){let{gaId:t,debugMode:n,dataLayerName:r="dataLayer",nonce:u}=e;return void 0===i&&(i=r),(0,a.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:` 2 window['${r}'] = window['${r}'] || []; 3 function gtag(){window['${r}'].push(arguments);} 4 gtag('js', new Date()); 5 6 gtag('config', '${t}' ${n?",{ 'debug_mode': true }":""});`},nonce:u}),(0,o.jsx)(s.default,{id:"_next-ga",src:`https://www.googletagmanager.com/gtag/js?id=${t}`,nonce:u})]})},t.sendGAEvent=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(void 0===i){console.warn("@next/third-parties: GA has not been initialized");return}window[i]?window[i].push(arguments):console.warn(`@next/third-parties: GA dataLayer ${i} does not exist`)};let o=n(3827),a=n(4090),s=(r=n(4983))&&r.__esModule?r:{default:r}},7388:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.sendGTMEvent=void 0,t.GoogleTagManager=function(e){let{gtmId:t,gtmScriptUrl:n="https://www.googletagmanager.com/gtm.js",dataLayerName:r="dataLayer",auth:u,preview:l,dataLayer:c,nonce:d}=e;s=r;let f="dataLayer"!==r?`&l=${r}`:"",p=u?`>m_auth=${u}`:"",h=l?`>m_preview=${l}>m_cookies_win=x`:"";return(0,o.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:` 7 (function(w,l){ 8 w[l]=w[l]||[]; 9 w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'}); 10 ${c?`w[l].push(${JSON.stringify(c)})`:""} 11 })(window,'${r}');`},nonce:d}),(0,i.jsx)(a.default,{id:"_next-gtm","data-ntpc":"GTM",src:`${n}?id=${t}${f}${p}${h}`,nonce:d})]})};let i=n(3827),o=n(4090),a=(r=n(4983))&&r.__esModule?r:{default:r},s="dataLayer";t.sendGTMEvent=(e,t)=>{let n=t||s;window[n]=window[n]||[],window[n].push(e)}},654:function(e,t,n){"use strict";var r=n(4615),i=n(4875);r.default,t.QZ=i.default},5235:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1077),i=n(4090),o=n(8509),a=n(290),s=i&&i.__esModule?i:{default:i};let u=i.forwardRef(function(e,t){let{locale:n,...i}=e,u=o.default();return s.default.createElement(a.default,r.extends({ref:t,locale:n||u},i))});u.displayName="ClientLink",t.default=u},3541:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8509),i=n(9516);t.default=function(e){let t;try{t=r.default()}catch(e){throw Error(void 0)}for(var n=arguments.length,o=Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];return i.default({...e,locale:t},...o)}},7568:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8509),i=n(4252);t.default=function(e){let t;try{t=r.default()}catch(e){throw Error(void 0)}for(var n=arguments.length,o=Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];return i.default({...e,locale:t},...o)}},4875:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1077),i=n(4090),o=n(8509),a=n(903),s=n(5235),u=n(3541),l=n(7568),c=n(2315),d=n(7822),f=i&&i.__esModule?i:{default:i};t.default=function(e){function t(){let t=o.default();if(!e.locales.includes(t))throw Error(void 0);return t}let n=i.forwardRef(function(n,i){let{href:o,locale:u,...l}=n,c=t(),d=u||c;return f.default.createElement(s.default,r.extends({ref:i,href:a.compileLocalizedPathname({locale:d,pathname:o,params:"object"==typeof o?o.params:void 0,pathnames:e.pathnames}),locale:u,localePrefix:e.localePrefix},l))});function p(t){let{href:n,locale:r}=t;return a.compileLocalizedPathname({...a.normalizeNameOrNameWithParams(n),locale:r,pathnames:e.pathnames})}return n.displayName="Link",{Link:n,redirect:function(n){let r=p({href:n,locale:t()});for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];return l.default({...e,pathname:r},...o)},permanentRedirect:function(n){let r=p({href:n,locale:t()});for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];return u.default({...e,pathname:r},...o)}
11,usePathname:function(){let n=c.default(),r=t();return n?a.getRoute({pathname:n,locale:r,pathnames:e.pathnames}):n},useRouter:function(){let e=d.default(),n=t();return{...e,push(t){for(var r,i=arguments.length,o=Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];let s=p({href:t,locale:(null===(r=o[0])||void 0===r?void 0:r.locale)||n});return e.push(s,...o)},replace(t){for(var r,i=arguments.length,o=Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];let s=p({href:t,locale:(null===(r=o[0])||void 0===r?void 0:r.locale)||n});return e.replace(s,...o)},prefetch(t){for(var r,i=arguments.length,o=Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];let s=p({href:t,locale:(null===(r=o[0])||void 0===r?void 0:r.locale)||n});return e.prefetch(s,...o)}}},getPathname:p}}},4615:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1077),i=n(4090),o=n(5235),a=n(3541),s=n(7568),u=n(2315),l=n(7822),c=i&&i.__esModule?i:{default:i};t.default=function(e){let t=i.forwardRef(function(t,n){return c.default.createElement(o.default,r.extends({ref:n,localePrefix:null==e?void 0:e.localePrefix},t))});return t.displayName="Link",{Link:t,redirect:function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return s.default({...e,pathname:t},...r)},permanentRedirect:function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return a.default({...e,pathname:t},...r)},usePathname:function(){return u.default()},useRouter:l.default}}},2315:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7907),i=n(4090),o=n(8509),a=n(3302);t.default=function(){let e=r.usePathname(),t=o.default();return i.useMemo(()=>e&&a.hasPathnamePrefixed(t,e)?a.unlocalizePathname(e,t):e,[t,e])}},7822:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7907),i=n(4090),o=n(8509),a=n(3302),s=n(4075),u=n(903);t.default=function(){let e=r.useRouter(),t=o.default(),n=r.usePathname();return i.useMemo(()=>{function r(e){return function(r,i){let{locale:o,...l}=i||{};s.default(n,t,o);let c=[function(e,r){let i=window.location.pathname,o=u.getBasePath(n);return o&&(i=i.replace(o,"")),a.localizeHref(e,r||t,t,i)}(r,o)];return Object.keys(l).length>0&&c.push(l),e(...c)}}return{...e,push:r(e.push),replace:r(e.replace),prefetch:r(e.prefetch)}},[t,n,e])}},290:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1077),i=n(8792),o=n(7907),a=n(4090),s=n(8509),u=n(3302),l=n(4075);function c(e){return e&&e.__esModule?e:{default:e}}var d=c(i),f=c(a);let p=a.forwardRef(function(e,t){let{href:n,locale:i,localePrefix:c,onClick:p,prefetch:h,...m}=e,v=o.usePathname(),y=s.default(),w=i!==y,[g,b]=a.useState(()=>u.isLocalHref(n)&&("never"!==c||w)?u.prefixHref(n,i):n);return a.useEffect(()=>{v&&b(u.localizeHref(n,i,y,v))},[y,n,i,v]),w&&(h=!1),f.default.createElement(d.default,r.extends({ref:t,href:g,hrefLang:w?i:void 0,onClick:function(e){l.default(v,y,i),p&&p(e)},prefetch:h},m))});p.displayName="ClientLink",t.default=p},9516:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7907),i=n(3302);t.default=function(e){let t="never"===e.localePrefix?e.pathname:i.prefixPathname(e.locale,e.pathname);for(var n=arguments.length,o=Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];return r.permanentRedirect(t,...o)}},4252:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7907),i=n(3302);t.default=function(e){let t="never"===e.localePrefix?e.pathname:i.prefixPathname(e.locale,e.pathname);for(var n=arguments.length,o=Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];return r.redirect(t,...o)}},4075:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2611),i=n(903);t.default=function(e,t,n){if(!(n!==t&&null!=n)||!e)return;let o=i.getBasePath(e);document.cookie="".concat(r.COOKIE_LOCALE_NAME,"=").concat(n,"; path=").concat(""!==o?o:"/","; max-age=").concat(r.COOKIE_MAX_AGE,"; sameSite=").concat(r.COOKIE_SAME_SITE)}},903:function(e,t,n){"use strict";
11Object.defineProperty(t,"__esModule",{value:!0});var r=n(3302);function i(e){let t=new URLSearchParams;for(let[n,r]of Object.entries(e))Array.isArray(r)?r.forEach(e=>{t.append(n,String(e))}):t.set(n,String(r));return"?"+t.toString()}t.compileLocalizedPathname=function(e){let{pathname:t,locale:n,params:r,pathnames:o,query:a}=e;function s(e){let t=o[e];return t||(t=e),t}function u(e){let t="string"==typeof e?e:e[n];return r&&Object.entries(r).forEach(e=>{let[n,r]=e;t=Array.isArray(r)?t.replace(RegExp("(\\[)?\\[...".concat(n,"\\](\\])?"),"g"),r.map(e=>String(e)).join("/")):t.replace("[".concat(n,"]"),String(r))}),a&&(t+=i(a)),t}if("string"==typeof t)return u(s(t));{let{pathname:e,...n}=t;return{...n,pathname:u(s(e))}}},t.getBasePath=function(e){return window.location.pathname.replace(e,"")},t.getRoute=function(e){var t;let{locale:n,pathname:i,pathnames:o}=e,a=r.unlocalizePathname(i,n),s=null===(t=Object.entries(o).find(e=>{let[,t]=e,i="string"!=typeof t?t[n]:t;return r.matchesPathname(i,a)}))||void 0===t?void 0:t[0];return s||(s=i),s},t.normalizeNameOrNameWithParams=function(e){return"string"==typeof e?{pathname:e}:e},t.serializeSearchParams=i},3302:function(e,t){"use strict";function n(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}function r(e){return"object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e)}function i(e,t){let n;return"string"==typeof e?n=o(t,e):(n={...e},e.pathname&&(n.pathname=o(t,e.pathname))),n}function o(e,t){let n="/"+e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),n+=t}function a(e,t){let n="/".concat(e);return t===n||t.startsWith("".concat(n,"/"))}function s(e){let t=e.replaceAll(/\[\[(\.\.\.[^\]]+)\]\]/g,"?(.*)").replaceAll(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replaceAll(/\[([^\]]+)\]/g,"([^/]+)");return new RegExp("^".concat(t,"$"))}Object.defineProperty(t,"__esModule",{value:!0}),t.hasPathnamePrefixed=a,t.isLocalHref=r,t.isRelativeHref=n,t.localizeHref=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,s=arguments.length>3?arguments[3]:void 0;if(!r(e)||n(e))return e;let u=t!==o,l=null==t||a(t,s);return(u||l)&&null!=t?i(e,t):e},t.matchesPathname=function(e,t){return s(e).test(t)},t.prefixHref=i,t.prefixPathname=o,t.templateToRegex=s,t.unlocalizePathname=function(e,t){return e.replace(new RegExp("^/".concat(t)),"")||"/"}},4983:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i.a}});var r=n(5935),i=n.n(r),o={};for(var a in r)"default"!==a&&(o[a]=(function(e){return r[e]}).bind(0,a));n.d(t,o)},3313:function(e,t){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DOMAttributeNames:function(){return r},isEqualNode:function(){return o},default:function(){return a}});let r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function i(e){let{type:t,props:n}=e,i=document.createElement(t);for(let e in n){if(!n.hasOwnProperty(e)||"children"===e||"dangerouslySetInnerHTML"===e||void 0===n[e])continue;let o=r[e]||e.toLowerCase();"script"===t&&("async"===o||"defer"===o||"noModule"===o)?i[o]=!!n[e]:i.setAttribute(o,n[e])}let{children:o,dangerouslySetInnerHTML:a}=n;return a?i.innerHTML=a.__html||"":o&&(i.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):""),i}function o(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){let n=t.getAttribute("nonce");if(n&&!e.getAttribute("nonce")){let r=t.cloneNode(!0);return r.setAttribute("nonce",""),r.nonce=n,n===e.nonce&&e.isEqualNode(r)}}return e.isEqualNode(t)}function a(){return{mountedInstances:new Set,updateHead:e=>{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}let n=t[e.type]||[];n.push(e),t[e.type]=n});let r=t.title?t.title[0]:null,i="";if(r){let{children:e}=r.props;i="string"==typeof e?e:Array.isArray(e)?e.join(""):""}i!==document.title&&(document.title=i),["meta","base","link","style","script"].forEach(e
11=>{n(e,t[e]||[])})}}}n=(e,t)=>{let n=document.getElementsByTagName("head")[0],r=n.querySelector("meta[name=next-head-count]"),a=Number(r.content),s=[];for(let t=0,n=r.previousElementSibling;t<a;t++,n=(null==n?void 0:n.previousElementSibling)||null){var u;(null==n?void 0:null==(u=n.tagName)?void 0:u.toLowerCase())===e&&s.push(n)}let l=t.map(i).filter(e=>{for(let t=0,n=s.length;t<n;t++)if(o(s[t],e))return s.splice(t,1),!1;return!0});s.forEach(e=>{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),l.forEach(e=>n.insertBefore(e,r)),r.content=(a-s.length+l.length).toString()},("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)},5935:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{handleClientScriptLoad:function(){return v},initScriptLoader:function(){return y},default:function(){return g}});let r=n(6921),i=n(1884),o=n(3827),a=r._(n(9542)),s=i._(n(4090)),u=n(7484),l=n(3313),c=n(2185),d=new Map,f=new Set,p=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"],h=e=>{if(a.default.preinit){e.forEach(e=>{a.default.preinit(e,{as:"style"})});return}{let t=document.head;e.forEach(e=>{let n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=e,t.appendChild(n)})}},m=e=>{let{src:t,id:n,onLoad:r=()=>{},onReady:i=null,dangerouslySetInnerHTML:o,children:a="",strategy:s="afterInteractive",onError:u,stylesheets:c}=e,m=n||t;if(m&&f.has(m))return;if(d.has(t)){f.add(m),d.get(t).then(r,u);return}let v=()=>{i&&i(),f.add(m)},y=document.createElement("script"),w=new Promise((e,t)=>{y.addEventListener("load",function(t){e(),r&&r.call(this,t),v()}),y.addEventListener("error",function(e){t(e)})}).catch(function(e){u&&u(e)});for(let[n,r]of(o?(y.innerHTML=o.__html||"",v()):a?(y.textContent="string"==typeof a?a:Array.isArray(a)?a.join(""):"",v()):t&&(y.src=t,d.set(t,w)),Object.entries(e))){if(void 0===r||p.includes(n))continue;let e=l.DOMAttributeNames[n]||n.toLowerCase();y.setAttribute(e,r)}"worker"===s&&y.setAttribute("type","text/partytown"),y.setAttribute("data-nscript",s),c&&h(c),document.body.appendChild(y)};function v(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>m(e))}):m(e)}function y(e){e.forEach(v),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}function w(e){let{id:t,src:n="",onLoad:r=()=>{},onReady:i=null,strategy:l="afterInteractive",onError:d,stylesheets:p,...h}=e,{updateScripts:v,scripts:y,getIsSsr:w,appDir:g,nonce:b}=(0,s.useContext)(u.HeadManagerContext),x=(0,s.useRef)(!1);(0,s.useEffect)(()=>{let e=t||n;x.current||(i&&e&&f.has(e)&&i(),x.current=!0)},[i,t,n]);let E=(0,s.useRef)(!1);if((0,s.useEffect)(()=>{!E.current&&("afterInteractive"===l?m(e):"lazyOnload"===l&&("complete"===document.readyState?(0,c.requestIdleCallback)(()=>m(e)):window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>m(e))})),E.current=!0)},[e,l]),("beforeInteractive"===l||"worker"===l)&&(v?(y[l]=(y[l]||[]).concat([{id:t,src:n,onLoad:r,onReady:i,onError:d,...h}]),v(y)):w&&w()?f.add(t||n):w&&!w()&&m(e)),g){if(p&&p.forEach(e=>{a.default.preinit(e,{as:"style"})}),"beforeInteractive"===l)return n?(a.default.preload(n,h.integrity?{as:"script",integrity:h.integrity}:{as:"script"}),(0,o.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([n,{...h,id:t}])+")"}})):(h.dangerouslySetInnerHTML&&(h.children=h.dangerouslySetInnerHTML.__html,delete h.dangerouslySetInnerHTML),(0,o.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...h,id:t}])+")"}}));"afterInteractive"===l&&n&&a.default.preload(n,h.integrity?{as:"script",integrity:h.integrity}:{as:"script"})}return null}Object.defineProperty(w,"__nextScript",{value:!0});let g=w;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
11dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8314:function(e,t,n){"use strict";var r=n(1811);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},4404:function(e,t,n){"use strict";e.exports=n(8314)()},1811:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3122:function(e){e.exports={style:{fontFamily:"'__Roboto_f0b2ec', '__Roboto_Fallback_f0b2ec'",fontStyle:"normal"},className:"__className_f0b2ec"}},1082:function(e,t,n){"use strict";n.d(t,{VY:function(){return ea},h4:function(){return ei},ck:function(){return er},fC:function(){return en},xz:function(){return eo}});var r=n(4090),i=n(4104),o=n(7533),a=n(1266),s=n(4991),u=n(9310),l=n(9586),c=n(2618),d=n(2642),f=n(8687),p=n(3827),h="Collapsible",[m,v]=(0,i.b)(h),[y,w]=m(h),g=r.forwardRef((e,t)=>{let{__scopeCollapsible:n,open:i,defaultOpen:o,disabled:a,onOpenChange:s,...c}=e,[d=!1,h]=(0,u.T)({prop:i,defaultProp:o,onChange:s});return(0,p.jsx)(y,{scope:n,disabled:a,contentId:(0,f.M)(),open:d,onOpenToggle:r.useCallback(()=>h(e=>!e),[h]),children:(0,p.jsx)(l.WV.div,{"data-state":P(d),"data-disabled":a?"":void 0,...c,ref:t})})});g.displayName=h;var b="CollapsibleTrigger",x=r.forwardRef((e,t)=>{let{__scopeCollapsible:n,...r}=e,i=w(b,n);return(0,p.jsx)(l.WV.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":P(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...r,ref:t,onClick:(0,s.M)(e.onClick,i.onOpenToggle)})});x.displayName=b;var E="CollapsibleContent",C=r.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=w(E,e.__scopeCollapsible);return(0,p.jsx)(d.z,{present:n||i.open,children:e=>{let{present:n}=e;return(0,p.jsx)(_,{...r,ref:t,present:n})}})});C.displayName=E;var _=r.forwardRef((e,t)=>{let{__scopeCollapsible:n,present:i,children:o,...s}=e,u=w(E,n),[d,f]=r.useState(i),h=r.useRef(null),m=(0,a.e)(t,h),v=r.useRef(0),y=v.current,g=r.useRef(0),b=g.current,x=u.open||d,C=r.useRef(x),_=r.useRef();return r.useEffect(()=>{let e=requestAnimationFrame(()=>C.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,c.b)(()=>{let e=h.current;if(e){_.current=_.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();v.current=t.height,g.current=t.width,C.current||(e.style.transitionDuration=_.current.transitionDuration,e.style.animationName=_.current.animationName),f(i)}},[u.open,i]),(0,p.jsx)(l.WV.div,{"data-state":P(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!x,...s,ref:m,style:{"--radix-collapsible-content-height":y?`${y}px`:void 0,"--radix-collapsible-content-width":b?`${b}px`:void 0,...e.style},children:x&&o})});function P(e){return e?"open":"closed"}var T=n(3876),M="Accordion",R=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[j,k,A]=(0,o.B)(M),[L,N]=(0,i.b)(M,[A,v]),O=v(),S=r.forwardRef((e,t)=>{let{type:n,...r}=e;return(0,p.jsx)(j.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?(0,p.jsx)(H,{...r,ref:t}):(0,p.jsx)(V,{...r,ref:t})})});S.displayName=M;var[I,D]=L(M),[q,F]=L(M,{collapsible:!1}),V=r.forwardRef((e,t)=>{let{value:n,defaultValue:i,onValueChange:o=()=>{},collapsible:a=!1,...s}=e,[l,c]=(0,u.T)({prop:n,defaultProp:i,onChange:o});return(0,p.jsx)(I,{scope:e.__scopeAccordion,value:l?[l]:[],onItemOpen:c,onItemClose:r.useCallback(()=>a&&c(""),[a,c]),children:(0,p.jsx)(q,{scope:e.__scopeAccordion,collapsible:a,children:(0,p.jsx)(z,{...s,ref:t})})})}),H=r.forwardRef((e,t)=>
11{let{value:n,defaultValue:i,onValueChange:o=()=>{},...a}=e,[s=[],l]=(0,u.T)({prop:n,defaultProp:i,onChange:o}),c=r.useCallback(e=>l(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...t,e]}),[l]),d=r.useCallback(e=>l(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter(t=>t!==e)}),[l]);return(0,p.jsx)(I,{scope:e.__scopeAccordion,value:s,onItemOpen:c,onItemClose:d,children:(0,p.jsx)(q,{scope:e.__scopeAccordion,collapsible:!0,children:(0,p.jsx)(z,{...a,ref:t})})})}),[K,W]=L(M),z=r.forwardRef((e,t)=>{let{__scopeAccordion:n,disabled:i,dir:o,orientation:u="vertical",...c}=e,d=r.useRef(null),f=(0,a.e)(d,t),h=k(n),m="ltr"===(0,T.gm)(o),v=(0,s.M)(e.onKeyDown,e=>{if(!R.includes(e.key))return;let t=e.target,n=h().filter(e=>!e.ref.current?.disabled),r=n.findIndex(e=>e.ref.current===t),i=n.length;if(-1===r)return;e.preventDefault();let o=r,a=i-1,s=()=>{(o=r+1)>a&&(o=0)},l=()=>{(o=r-1)<0&&(o=a)};switch(e.key){case"Home":o=0;break;case"End":o=a;break;case"ArrowRight":"horizontal"===u&&(m?s():l());break;case"ArrowDown":"vertical"===u&&s();break;case"ArrowLeft":"horizontal"===u&&(m?l():s());break;case"ArrowUp":"vertical"===u&&l()}let c=o%i;n[c].ref.current?.focus()});return(0,p.jsx)(K,{scope:n,disabled:i,direction:o,orientation:u,children:(0,p.jsx)(j.Slot,{scope:n,children:(0,p.jsx)(l.WV.div,{...c,"data-orientation":u,ref:f,onKeyDown:i?void 0:v})})})}),$="AccordionItem",[Q,B]=L($),G=r.forwardRef((e,t)=>{let{__scopeAccordion:n,value:r,...i}=e,o=W($,n),a=D($,n),s=O(n),u=(0,f.M)(),l=r&&a.value.includes(r)||!1,c=o.disabled||e.disabled;return(0,p.jsx)(Q,{scope:n,open:l,disabled:c,triggerId:u,children:(0,p.jsx)(g,{"data-orientation":o.orientation,"data-state":et(l),...s,...i,ref:t,disabled:c,open:l,onOpenChange:e=>{e?a.onItemOpen(r):a.onItemClose(r)}})})});G.displayName=$;var U="AccordionHeader",Z=r.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=W(M,n),o=B(U,n);return(0,p.jsx)(l.WV.h3,{"data-orientation":i.orientation,"data-state":et(o.open),"data-disabled":o.disabled?"":void 0,...r,ref:t})});Z.displayName=U;var J="AccordionTrigger",Y=r.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=W(M,n),o=B(J,n),a=F(J,n),s=O(n);return(0,p.jsx)(j.ItemSlot,{scope:n,children:(0,p.jsx)(x,{"aria-disabled":o.open&&!a.collapsible||void 0,"data-orientation":i.orientation,id:o.triggerId,...s,...r,ref:t})})});Y.displayName=J;var X="AccordionContent",ee=r.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=W(M,n),o=B(X,n),a=O(n);return(0,p.jsx)(C,{role:"region","aria-labelledby":o.triggerId,"data-orientation":i.orientation,...a,...r,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=X;var en=S,er=G,ei=Z,eo=Y,ea=ee},80:function(e,t,n){"use strict";n.d(t,{VY:function(){return ew},aV:function(){return ep},ck:function(){return eh},fC:function(){return ef},rU:function(){return ev},xz:function(){return em},z$:function(){return ey}});var r=n(4090),i=n(9542),o=n(4104),a=n(4991),s=n(9586),u=n(9310),l=n(1266),c=n(3876),d=n(2642),f=n(8687),p=n(7533),h=n(1260),m=n(5030),v=n(2618),y=n(9830),w=n(1780),g=n(3827),b="NavigationMenu",[x,E,C]=(0,p.B)(b),[_,P,T]=(0,p.B)(b),[M,R]=(0,o.b)(b,[C,T]),[j,k]=M(b),[A,L]=M(b),N=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:i,onValueChange:o,defaultValue:a,delayDuration:d=200,skipDelayDuration:f=300,orientation:p="horizontal",dir:h,...m}=e,[v,y]=r.useState(null),w=(0,l.e)(t,e=>y(e)),b=(0,c.gm)(h),x=r.useRef(0),E=r.useRef(0),C=r.useRef(0),[_,P]=r.useState(!0),[T="",M]=(0,u.T)({prop:i,onChange:e=>{let t=f>0;""!==e?(window.clearTimeout(C.current),t&&P(!1)):(window.clearTimeout(C.current),C.current=window.setTimeout(()=>P(!0),f)),o?.(e)},defaultProp:a}),R=r.useCallback(()=>{window.clearTimeout(E.current),E.current=window.setTimeout(()=>M(""),150)},[M]),j=r.useCallback(e=>{window.clearTimeout(E.current),M(e)},[M]),k=r.useCallback(e=>{T===e?window.clearTimeout(E.current):x.current=window.setTimeout(()=>{window.clearTimeout(E.current),M(e)},d)},[T,M,d]);return r.useEffect(()=>()=>{window.clearTimeout(x.current),window.clearTimeout(E.current),window.clearTimeout(C.current)},[]),(0,g.jsx)(S,{scope:n,isRootMenu:!0,value:T,dir:b,orientation:p,rootNavigationMenu:v,onTriggerEnter:e=>{window.clearTimeout(x.current),_?k(e):j(e)},onTriggerLeave:()=>{window.clearTimeout(x.current),R()},onContentEnter:()=>window.clearTimeout(E.current),onContentLeave:R,onItemSelect:e=>{M(t=>t===e?"":e)},onItemDismiss:()=>M(""),children:(0,g.jsx)(s.WV.nav,{"aria-label":"Main","data-orientation":p,dir:b,...m,ref:w}
11)})});N.displayName=b;var O="NavigationMenuSub";r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:r,onValueChange:i,defaultValue:o,orientation:a="horizontal",...l}=e,c=k(O,n),[d="",f]=(0,u.T)({prop:r,onChange:i,defaultProp:o});return(0,g.jsx)(S,{scope:n,isRootMenu:!1,value:d,dir:c.dir,orientation:a,rootNavigationMenu:c.rootNavigationMenu,onTriggerEnter:e=>f(e),onItemSelect:e=>f(e),onItemDismiss:()=>f(""),children:(0,g.jsx)(s.WV.div,{"data-orientation":a,...l,ref:t})})}).displayName=O;var S=e=>{let{scope:t,isRootMenu:n,rootNavigationMenu:i,dir:o,orientation:a,children:s,value:u,onItemSelect:l,onItemDismiss:c,onTriggerEnter:d,onTriggerLeave:p,onContentEnter:h,onContentLeave:v}=e,[w,b]=r.useState(null),[E,C]=r.useState(new Map),[_,P]=r.useState(null);return(0,g.jsx)(j,{scope:t,isRootMenu:n,rootNavigationMenu:i,value:u,previousValue:(0,m.D)(u),baseId:(0,f.M)(),dir:o,orientation:a,viewport:w,onViewportChange:b,indicatorTrack:_,onIndicatorTrackChange:P,onTriggerEnter:(0,y.W)(d),onTriggerLeave:(0,y.W)(p),onContentEnter:(0,y.W)(h),onContentLeave:(0,y.W)(v),onItemSelect:(0,y.W)(l),onItemDismiss:(0,y.W)(c),onViewportContentChange:r.useCallback((e,t)=>{C(n=>(n.set(e,t),new Map(n)))},[]),onViewportContentRemove:r.useCallback(e=>{C(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,g.jsx)(x.Provider,{scope:t,children:(0,g.jsx)(A,{scope:t,items:E,children:s})})})},I="NavigationMenuList",D=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,i=k(I,n),o=(0,g.jsx)(s.WV.ul,{"data-orientation":i.orientation,...r,ref:t});return(0,g.jsx)(s.WV.div,{style:{position:"relative"},ref:i.onIndicatorTrackChange,children:(0,g.jsx)(x.Slot,{scope:n,children:i.isRootMenu?(0,g.jsx)(en,{asChild:!0,children:o}):o})})});D.displayName=I;var q="NavigationMenuItem",[F,V]=M(q),H=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:i,...o}=e,a=(0,f.M)(),u=r.useRef(null),l=r.useRef(null),c=r.useRef(null),d=r.useRef(()=>{}),p=r.useRef(!1),h=r.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"start";if(u.current){d.current();let t=eo(u.current);t.length&&ea("start"===e?t:t.reverse())}},[]),m=r.useCallback(()=>{if(u.current){let e=eo(u.current);e.length&&(d.current=(e.forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})}))}},[]);return(0,g.jsx)(F,{scope:n,value:i||a||"LEGACY_REACT_AUTO_VALUE",triggerRef:l,contentRef:u,focusProxyRef:c,wasEscapeCloseRef:p,onEntryKeyDown:h,onFocusProxyEnter:h,onRootContentClose:m,onContentFocusOutside:m,children:(0,g.jsx)(s.WV.li,{...o,ref:t})})});H.displayName=q;var K="NavigationMenuTrigger",W=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,disabled:i,...o}=e,u=k(K,e.__scopeNavigationMenu),c=V(K,e.__scopeNavigationMenu),d=r.useRef(null),f=(0,l.e)(d,c.triggerRef,t),p=el(u.baseId,c.value),h=ec(u.baseId,c.value),m=r.useRef(!1),v=r.useRef(!1),y=c.value===u.value;return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(x.ItemSlot,{scope:n,value:c.value,children:(0,g.jsx)(ei,{asChild:!0,children:(0,g.jsx)(s.WV.button,{id:p,disabled:i,"data-disabled":i?"":void 0,"data-state":eu(y),"aria-expanded":y,"aria-controls":h,...o,ref:f,onPointerEnter:(0,a.M)(e.onPointerEnter,()=>{v.current=!1,c.wasEscapeCloseRef.current=!1}),onPointerMove:(0,a.M)(e.onPointerMove,ed(()=>{i||v.current||c.wasEscapeCloseRef.current||m.current||(u.onTriggerEnter(c.value),m.current=!0)})),onPointerLeave:(0,a.M)(e.onPointerLeave,ed(()=>{i||(u.onTriggerLeave(),m.current=!1)})),onClick:(0,a.M)(e.onClick,()=>{u.onItemSelect(c.value),v.current=y}),onKeyDown:(0,a.M)(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===u.dir?"ArrowLeft":"ArrowRight"}[u.orientation];y&&e.key===t&&(c.onEntryKeyDown(),e.preventDefault())})})})}),y&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(w.f,{"aria-hidden":!0,tabIndex:0,ref:c.focusProxyRef,onFocus:e=>{let t=c.contentRef.current,n=e.relatedTarget,r=n===d.current,i=t?.contains(n);(r||!i)&&c.onFocusProxyEnter(r?"start":"end")}}),u.viewport&&(0,g.jsx)("span",{"aria-owns":h})]})]})});W.displayName=K;var z="navigationMenu.linkSelect",$=r.forwardRef((e,t)=>
11{let{__scopeNavigationMenu:n,active:r,onSelect:i,...o}=e;return(0,g.jsx)(ei,{asChild:!0,children:(0,g.jsx)(s.WV.a,{"data-active":r?"":void 0,"aria-current":r?"page":void 0,...o,ref:t,onClick:(0,a.M)(e.onClick,e=>{let t=e.target,n=new CustomEvent(z,{bubbles:!0,cancelable:!0});if(t.addEventListener(z,e=>i?.(e),{once:!0}),(0,s.jH)(t,n),!n.defaultPrevented&&!e.metaKey){let e=new CustomEvent(Y,{bubbles:!0,cancelable:!0});(0,s.jH)(t,e)}},{checkForDefaultPrevented:!1})})})});$.displayName="NavigationMenuLink";var Q="NavigationMenuIndicator",B=r.forwardRef((e,t)=>{let{forceMount:n,...r}=e,o=k(Q,e.__scopeNavigationMenu),a=!!o.value;return o.indicatorTrack?i.createPortal((0,g.jsx)(d.z,{present:n||a,children:(0,g.jsx)(G,{...r,ref:t})}),o.indicatorTrack):null});B.displayName=Q;var G=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...i}=e,o=k(Q,n),a=E(n),[u,l]=r.useState(null),[c,d]=r.useState(null),f="horizontal"===o.orientation,p=!!o.value;r.useEffect(()=>{let e=a(),t=e.find(e=>e.value===o.value)?.ref.current;t&&l(t)},[a,o.value]);let h=()=>{u&&d({size:f?u.offsetWidth:u.offsetHeight,offset:f?u.offsetLeft:u.offsetTop})};return es(u,h),es(o.indicatorTrack,h),c?(0,g.jsx)(s.WV.div,{"aria-hidden":!0,"data-state":p?"visible":"hidden","data-orientation":o.orientation,...i,ref:t,style:{position:"absolute",...f?{left:0,width:c.size+"px",transform:`translateX(${c.offset}px)`}:{top:0,height:c.size+"px",transform:`translateY(${c.offset}px)`},...i.style}}):null}),U="NavigationMenuContent",Z=r.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=k(U,e.__scopeNavigationMenu),o=V(U,e.__scopeNavigationMenu),s=(0,l.e)(o.contentRef,t),u=o.value===i.value,c={value:o.value,triggerRef:o.triggerRef,focusProxyRef:o.focusProxyRef,wasEscapeCloseRef:o.wasEscapeCloseRef,onContentFocusOutside:o.onContentFocusOutside,onRootContentClose:o.onRootContentClose,...r};return i.viewport?(0,g.jsx)(J,{forceMount:n,...c,ref:s}):(0,g.jsx)(d.z,{present:n||u,children:(0,g.jsx)(X,{"data-state":eu(u),...c,ref:s,onPointerEnter:(0,a.M)(e.onPointerEnter,i.onContentEnter),onPointerLeave:(0,a.M)(e.onPointerLeave,ed(i.onContentLeave)),style:{pointerEvents:!u&&i.isRootMenu?"none":void 0,...c.style}})})});Z.displayName=U;var J=r.forwardRef((e,t)=>{let{onViewportContentChange:n,onViewportContentRemove:r}=k(U,e.__scopeNavigationMenu);return(0,v.b)(()=>{n(e.value,{ref:t,...e})},[e,t,n]),(0,v.b)(()=>()=>r(e.value),[e.value,r]),null}),Y="navigationMenu.rootContentDismiss",X=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:i,triggerRef:o,focusProxyRef:s,wasEscapeCloseRef:u,onRootContentClose:c,onContentFocusOutside:d,...f}=e,p=k(U,n),m=r.useRef(null),v=(0,l.e)(m,t),y=el(p.baseId,i),w=ec(p.baseId,i),b=E(n),x=r.useRef(null),{onItemDismiss:C}=p;r.useEffect(()=>{let e=m.current;if(p.isRootMenu&&e){let t=()=>{C(),c(),e.contains(document.activeElement)&&o.current?.focus()};return e.addEventListener(Y,t),()=>e.removeEventListener(Y,t)}},[p.isRootMenu,e.value,o,C,c]);let _=r.useMemo(()=>{let e=b().map(e=>e.value);"rtl"===p.dir&&e.reverse();let t=e.indexOf(p.value),n=e.indexOf(p.previousValue),r=i===p.value,o=n===e.indexOf(i);if(!r&&!o)return x.current;let a=(()=>{if(t!==n){if(r&&-1!==n)return t>n?"from-end":"from-start";if(o&&-1!==t)return t>n?"to-start":"to-end"}return null})();return x.current=a,a},[p.previousValue,p.value,p.dir,b,i]);return(0,g.jsx)(en,{asChild:!0,children:(0,g.jsx)(h.XB,{id:w,"aria-labelledby":y,"data-motion":_,"data-orientation":p.orientation,...f,ref:v,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(Y,{bubbles:!0,cancelable:!0});m.current?.dispatchEvent(e)},onFocusOutside:(0,a.M)(e.onFocusOutside,e=>{d();let t=e.target;p.rootNavigationMenu?.contains(t)&&e.preventDefault()}),onPointerDownOutside:(0,a.M)(e.onPointerDownOutside,e=>{let t=e.target,n=b().some(e=>e.ref.current?.contains(t)),r=p.isRootMenu&&p.viewport?.contains(t);(n||r||!p.isRootMenu)&&e.preventDefault()}),onKeyDown:(0,a.M)(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=eo(e.currentTarget),n=document.activeElement,r=t.findIndex(e=>e===n);ea(e.shiftKey?t.slice(0,r).reverse():t.slice(r+1,t.length))?e.preventDefault():s.current?.focus()}}),onEscapeKeyDown:(0,a.M)(e.onEscapeKeyDown,e=>{u.current=!0})})})}),ee="NavigationMenuViewport";r.forwardRef((e,t)=>
11{let{forceMount:n,...r}=e,i=!!k(ee,e.__scopeNavigationMenu).value;return(0,g.jsx)(d.z,{present:n||i,children:(0,g.jsx)(et,{...r,ref:t})})}).displayName=ee;var et=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,children:i,...o}=e,u=k(ee,n),c=(0,l.e)(t,u.onViewportChange),f=L(U,e.__scopeNavigationMenu),[p,h]=r.useState(null),[m,v]=r.useState(null),y=p?p?.width+"px":void 0,w=p?p?.height+"px":void 0,b=!!u.value,x=b?u.value:u.previousValue;return es(m,()=>{m&&h({width:m.offsetWidth,height:m.offsetHeight})}),(0,g.jsx)(s.WV.div,{"data-state":eu(b),"data-orientation":u.orientation,...o,ref:c,style:{pointerEvents:!b&&u.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":y,"--radix-navigation-menu-viewport-height":w,...o.style},onPointerEnter:(0,a.M)(e.onPointerEnter,u.onContentEnter),onPointerLeave:(0,a.M)(e.onPointerLeave,ed(u.onContentLeave)),children:Array.from(f.items).map(e=>{let[t,{ref:n,forceMount:r,...i}]=e,o=x===t;return(0,g.jsx)(d.z,{present:r||o,children:(0,g.jsx)(X,{...i,ref:(0,l.F)(n,e=>{o&&e&&v(e)})})},t)})})}),en=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,i=k("FocusGroup",n);return(0,g.jsx)(_.Provider,{scope:n,children:(0,g.jsx)(_.Slot,{scope:n,children:(0,g.jsx)(s.WV.div,{dir:i.dir,...r,ref:t})})})}),er=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],ei=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,i=P(n),o=k("FocusGroupItem",n);return(0,g.jsx)(_.ItemSlot,{scope:n,children:(0,g.jsx)(s.WV.button,{...r,ref:t,onKeyDown:(0,a.M)(e.onKeyDown,e=>{if(["Home","End",...er].includes(e.key)){let t=i().map(e=>e.ref.current);if(["rtl"===o.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),er.includes(e.key)){let n=t.indexOf(e.currentTarget);t=t.slice(n+1)}setTimeout(()=>ea(t)),e.preventDefault()}})})})});function eo(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ea(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function es(e,t){let n=(0,y.W)(t);(0,v.b)(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}function eu(e){return e?"open":"closed"}function el(e,t){return`${e}-trigger-${t}`}function ec(e,t){return`${e}-content-${t}`}function ed(e){return t=>"mouse"===t.pointerType?e(t):void 0}var ef=N,ep=D,eh=H,em=W,ev=$,ey=B,ew=Z},6736:function(e,t,n){"use strict";n.d(t,{Dx:function(){return X},aU:function(){return et},dk:function(){return ee},fC:function(){return Y},l_:function(){return J},x8:function(){return en},zt:function(){return Z}});var r=n(4090),i=n(9542),o=n(4991),a=n(1266),s=n(7533),u=n(4104),l=n(1260),c=n(7881),d=n(2642),f=n(9586),p=n(9830),h=n(9310),m=n(2618),v=n(1780),y=n(3827),w="ToastProvider",[g,b,x]=(0,s.B)("Toast"),[E,C]=(0,u.b)("Toast",[x]),[_,P]=E(w),T=e=>{let{__scopeToast:t,label:n="Notification",duration:i=5e3,swipeDirection:o="right",swipeThreshold:a=50,children:s}=e,[u,l]=r.useState(null),[c,d]=r.useState(0),f=r.useRef(!1),p=r.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${w}\`. Expected non-empty \`string\`.`),(0,y.jsx)(g.Provider,{scope:t,children:(0,y.jsx)(_,{scope:t,label:n,duration:i,swipeDirection:o,swipeThreshold:a,toastCount:c,viewport:u,onViewportChange:l,onToastAdd:r.useCallback(()=>d(e=>e+1),[]),onToastRemove:r.useCallback(()=>d(e=>e-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:p,children:s})})};T.displayName=w;var M="ToastViewport",R=["F8"],j="toast.viewportPause",k="toast.viewportResume",A=r.forwardRef((e,t)=>{let{__scopeToast:n,hotkey:i=R,label:o="Notifications ({hotkey})",...s}=e,u=P(M,n),c=b(n),d=r.useRef(null),p=r.useRef(null),h=r.useRef(null),m=r.useRef(null),v=(0,a.e)(t,m,u.onViewportChange),w=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),x=u.toastCount>0;r.useEffect(()=>{let e=e=>{i.every(t=>e[t]||e.code===t)&&m.current?.focus()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[i]),r.useEffect(()=>{let e=d.current,t=m.current;if(x&&e&&t){let n=()=>
11{if(!u.isClosePausedRef.current){let e=new CustomEvent(j);t.dispatchEvent(e),u.isClosePausedRef.current=!0}},r=()=>{if(u.isClosePausedRef.current){let e=new CustomEvent(k);t.dispatchEvent(e),u.isClosePausedRef.current=!1}},i=t=>{e.contains(t.relatedTarget)||r()},o=()=>{e.contains(document.activeElement)||r()};return e.addEventListener("focusin",n),e.addEventListener("focusout",i),e.addEventListener("pointermove",n),e.addEventListener("pointerleave",o),window.addEventListener("blur",n),window.addEventListener("focus",r),()=>{e.removeEventListener("focusin",n),e.removeEventListener("focusout",i),e.removeEventListener("pointermove",n),e.removeEventListener("pointerleave",o),window.removeEventListener("blur",n),window.removeEventListener("focus",r)}}},[x,u.isClosePausedRef]);let E=r.useCallback(e=>{let{tabbingDirection:t}=e,n=c().map(e=>{let n=e.ref.current,r=[n,...function(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}(n)];return"forwards"===t?r:r.reverse()});return("forwards"===t?n.reverse():n).flat()},[c]);return r.useEffect(()=>{let e=m.current;if(e){let t=t=>{let n=t.altKey||t.ctrlKey||t.metaKey;if("Tab"===t.key&&!n){let n=document.activeElement,r=t.shiftKey;if(t.target===e&&r){p.current?.focus();return}let i=E({tabbingDirection:r?"backwards":"forwards"}),o=i.findIndex(e=>e===n);U(i.slice(o+1))?t.preventDefault():r?p.current?.focus():h.current?.focus()}};return e.addEventListener("keydown",t),()=>e.removeEventListener("keydown",t)}},[c,E]),(0,y.jsxs)(l.I0,{ref:d,role:"region","aria-label":o.replace("{hotkey}",w),tabIndex:-1,style:{pointerEvents:x?void 0:"none"},children:[x&&(0,y.jsx)(N,{ref:p,onFocusFromOutsideViewport:()=>{U(E({tabbingDirection:"forwards"}))}}),(0,y.jsx)(g.Slot,{scope:n,children:(0,y.jsx)(f.WV.ol,{tabIndex:-1,...s,ref:v})}),x&&(0,y.jsx)(N,{ref:h,onFocusFromOutsideViewport:()=>{U(E({tabbingDirection:"backwards"}))}})]})});A.displayName=M;var L="ToastFocusProxy",N=r.forwardRef((e,t)=>{let{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,o=P(L,n);return(0,y.jsx)(v.T,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:e=>{let t=e.relatedTarget;o.viewport?.contains(t)||r()}})});N.displayName=L;var O="Toast",S=r.forwardRef((e,t)=>{let{forceMount:n,open:r,defaultOpen:i,onOpenChange:a,...s}=e,[u=!0,l]=(0,h.T)({prop:r,defaultProp:i,onChange:a});return(0,y.jsx)(d.z,{present:n||u,children:(0,y.jsx)(q,{open:u,...s,ref:t,onClose:()=>l(!1),onPause:(0,p.W)(e.onPause),onResume:(0,p.W)(e.onResume),onSwipeStart:(0,o.M)(e.onSwipeStart,e=>{e.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:(0,o.M)(e.onSwipeMove,e=>{let{x:t,y:n}=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",`${n}px`)}
11),onSwipeCancel:(0,o.M)(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.M)(e.onSwipeEnd,e=>{let{x:t,y:n}=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",`${n}px`),l(!1)})})})});S.displayName=O;var[I,D]=E(O,{onClose(){}}),q=r.forwardRef((e,t)=>{let{__scopeToast:n,type:s="foreground",duration:u,open:c,onClose:d,onEscapeKeyDown:h,onPause:m,onResume:v,onSwipeStart:w,onSwipeMove:b,onSwipeCancel:x,onSwipeEnd:E,...C}=e,_=P(O,n),[T,M]=r.useState(null),R=(0,a.e)(t,e=>M(e)),A=r.useRef(null),L=r.useRef(null),N=u||_.duration,S=r.useRef(0),D=r.useRef(N),q=r.useRef(0),{onToastAdd:V,onToastRemove:H}=_,K=(0,p.W)(()=>{T?.contains(document.activeElement)&&_.viewport?.focus(),d()}),W=r.useCallback(e=>{e&&e!==1/0&&(window.clearTimeout(q.current),S.current=new Date().getTime(),q.current=window.setTimeout(K,e))},[K]);r.useEffect(()=>{let e=_.viewport;if(e){let t=()=>{W(D.current),v?.()},n=()=>{let e=new Date().getTime()-S.current;D.current=D.current-e,window.clearTimeout(q.current),m?.()};return e.addEventListener(j,n),e.addEventListener(k,t),()=>{e.removeEventListener(j,n),e.removeEventListener(k,t)}}},[_.viewport,N,m,v,W]),r.useEffect(()=>{c&&!_.isClosePausedRef.current&&W(N)},[c,N,_.isClosePausedRef,W]),r.useEffect(()=>(V(),()=>H()),[V,H]);let z=r.useMemo(()=>T?function e(t){let n=[];return Array.from(t.childNodes).forEach(t=>{if(t.nodeType===t.TEXT_NODE&&t.textContent&&n.push(t.textContent),t.nodeType===t.ELEMENT_NODE){let r=t.ariaHidden||t.hidden||"none"===t.style.display,i=""===t.dataset.radixToastAnnounceExclude;if(!r){if(i){let e=t.dataset.radixToastAnnounceAlt;e&&n.push(e)}else n.push(...e(t))}}}),n}(T):null,[T]);return _.viewport?(0,y.jsxs)(y.Fragment,{children:[z&&(0,y.jsx)(F,{__scopeToast:n,role:"status","aria-live":"foreground"===s?"assertive":"polite","aria-atomic":!0,children:z}),(0,y.jsx)(I,{scope:n,onClose:K,children:i.createPortal((0,y.jsx)(g.ItemSlot,{scope:n,children:(0,y.jsx)(l.fC,{asChild:!0,onEscapeKeyDown:(0,o.M)(h,()=>{_.isFocusedToastEscapeKeyDownRef.current||K(),_.isFocusedToastEscapeKeyDownRef.current=!1}),children:(0,y.jsx)(f.WV.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":c?"open":"closed","data-swipe-direction":_.swipeDirection,...C,ref:R,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:(0,o.M)(e.onKeyDown,e=>{"Escape"!==e.key||(h?.(e.nativeEvent),e.nativeEvent.defaultPrevented||(_.isFocusedToastEscapeKeyDownRef.current=!0,K()))}),onPointerDown:(0,o.M)(e.onPointerDown,e=>{0===e.button&&(A.current={x:e.clientX,y:e.clientY})}),onPointerMove:(0,o.M)(e.onPointerMove,e=>{if(!A.current)return;let t=e.clientX-A.current.x,n=e.clientY-A.current.y,r=!!L.current,i=["left","right"].includes(_.swipeDirection),o=["left","up"].includes(_.swipeDirection)?Math.min:Math.max,a=i?o(0,t):0,s=i?0:o(0,n),u="touch"===e.pointerType?10:2,l={x:a,y:s},c={originalEvent:e,delta:l};r?(L.current=l,B("toast.swipeMove",b,c,{discrete:!1})):G(l,_.swipeDirection,u)?(L.current=l,B("toast.swipeStart",w,c,{discrete:!1}),e.target.setPointerCapture(e.pointerId)):(Math.abs(t)>u||Math.abs(n)>u)&&(A.current=null)}),onPointerUp:(0,o.M)(e.onPointerUp,e=>{let t=L.current,n=e.target;if(n.hasPointerCapture(e.pointerId)&&n.releasePointerCapture(e.pointerId),L.current=null,A.current=null,t){let n=e.currentTarget,r={originalEvent:e,delta:t};G(t,_.swipeDirection,_.swipeThreshold)?B("toast.swipeEnd",E,r,{discrete:!0}):B("toast.swipeCancel",x,r,{discrete:!0}),n.addEventListener("click",e=>e.preventDefault(),{once:!0})}})})})}),_.viewport)})]}):null}),F=e=>{let{__scopeToast:t,children:n,...i}=e,o=P(O,t),[a,s]=r.useState(!1),[u,l]=r.useState(!1);return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>{},t=(0,p.W)(e);(0,m.b)(()=>{let e=0,n=0;return e=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(e),window.cancelAnimationFrame(n)}},[t])}(()=>s(!0)),r.useEffect(()=>{let e=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(e)},[]),u?null:(0,y.jsx)(c.h,{asChild:!0,children:(0,y.jsx)(v.T,{...i,children:a&&(0,y.jsxs)(y.Fragment,{children:[o.label," ",n]})})})},V=r.forwardRef((e,t)=>
11{let{__scopeToast:n,...r}=e;return(0,y.jsx)(f.WV.div,{...r,ref:t})});V.displayName="ToastTitle";var H=r.forwardRef((e,t)=>{let{__scopeToast:n,...r}=e;return(0,y.jsx)(f.WV.div,{...r,ref:t})});H.displayName="ToastDescription";var K="ToastAction",W=r.forwardRef((e,t)=>{let{altText:n,...r}=e;return n.trim()?(0,y.jsx)(Q,{altText:n,asChild:!0,children:(0,y.jsx)($,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${K}\`. Expected non-empty \`string\`.`),null)});W.displayName=K;var z="ToastClose",$=r.forwardRef((e,t)=>{let{__scopeToast:n,...r}=e,i=D(z,n);return(0,y.jsx)(Q,{asChild:!0,children:(0,y.jsx)(f.WV.button,{type:"button",...r,ref:t,onClick:(0,o.M)(e.onClick,i.onClose)})})});$.displayName=z;var Q=r.forwardRef((e,t)=>{let{__scopeToast:n,altText:r,...i}=e;return(0,y.jsx)(f.WV.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function B(e,t,n,r){let{discrete:i}=r,o=n.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),i?(0,f.jH)(o,a):o.dispatchEvent(a)}var G=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=Math.abs(e.x),i=Math.abs(e.y),o=r>i;return"left"===t||"right"===t?o&&r>n:!o&&i>n};function U(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}var Z=T,J=A,Y=S,X=V,ee=H,et=W,en=$},8748:function(e,t,n){"use strict";n.d(t,{S:function(){return h}});var r=n(6063),i=n(4668),o=n(5139),a=n(4614),s=class extends a.l{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let o=t.queryKey,a=t.queryHash??(0,r.Rm)(o,t),s=this.get(a);return s||(s=new i.A({cache:this,queryKey:o,queryHash:a,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o)}),this.add(s)),s}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){o.V.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,r._x)(t,e))}findAll(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.getAll();return Object.keys(e).length>0?t.filter(t=>(0,r._x)(e,t)):t}notify(e){o.V.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){o.V.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){o.V.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},u=n(1793),l=class extends a.l{constructor(e={}){super(),this.config=e,this.#t=new Map,this.#n=Date.now()}#t;#n;build(e,t,n){let r=new u.m({mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){let t=c(e),n=this.#t.get(t)??[];n.push(e),this.#t.set(t,n),this.notify({type:"added",mutation:e})}remove(e){let t=c(e);if(this.#t.has(t)){let n=this.#t.get(t)?.filter(t=>t!==e);n&&(0===n.length?this.#t.delete(t):this.#t.set(t,n))}this.notify({type:"removed",mutation:e})}canRun(e){let t=this.#t.get(c(e))?.find(e=>"pending"===e.state.status);return!t||t===e}runNext(e){let t=this.#t.get(c(e))?.find(t=>
11t!==e&&t.state.isPaused);return t?.continue()??Promise.resolve()}clear(){o.V.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}getAll(){return[...this.#t.values()].flat()}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,r.X7)(t,e))}findAll(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.getAll().filter(t=>(0,r.X7)(e,t))}notify(e){o.V.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return o.V.batch(()=>Promise.all(e.map(e=>e.continue().catch(r.ZT))))}};function c(e){return e.options.scope?.id??String(e.mutationId)}var d=n(9555),f=n(7211),p=n(5612),h=class{#r;#i;#o;#a;#s;#u;#l;#c;constructor(e={}){this.#r=e.queryCache||new s,this.#i=e.mutationCache||new l,this.#o=e.defaultOptions||{},this.#a=new Map,this.#s=new Map,this.#u=0}mount(){this.#u++,1===this.#u&&(this.#l=d.j.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#r.onFocus())}),this.#c=f.N.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#r.onOnline())}))}unmount(){this.#u--,0===this.#u&&(this.#l?.(),this.#l=void 0,this.#c?.(),this.#c=void 0)}isFetching(e){return this.#r.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#i.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#r.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.getQueryData(e.queryKey);if(void 0===t)return this.fetchQuery(e);{let n=this.defaultQueryOptions(e),i=this.#r.build(this,n);return e.revalidateIfStale&&i.isStaleByTime((0,r.KC)(n.staleTime,i))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return this.#r.findAll(e).map(e=>{let{queryKey:t,state:n}=e;return[t,n.data]})}setQueryData(e,t,n){let i=this.defaultQueryOptions({queryKey:e}),o=this.#r.get(i.queryHash),a=o?.state.data,s=(0,r.SE)(t,a);if(void 0!==s)return this.#r.build(this,i).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return o.V.batch(()=>this.#r.findAll(e).map(e=>{let{queryKey:r}=e;return[r,this.setQueryData(r,t,n)]}))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#r.get(t.queryHash)?.state}removeQueries(e){let t=this.#r;o.V.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#r,r={type:"active",...e};return o.V.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries(r,t)))}cancelQueries(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={revert:!0,...t};return Promise.all(o.V.batch(()=>this.#r.findAll(e).map(e=>e.cancel(n)))).then(r.ZT).catch(r.ZT)}invalidateQueries(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.V.batch(()=>{if(this.#r.findAll(e).forEach(e=>{e.invalidate()}),"none"===e.refetchType)return Promise.resolve();let n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n={...t,cancelRefetch:t?.cancelRefetch??!0};return Promise.all(o.V.batch(()=>this.#r.findAll(e).filter(e=>!e.isDisabled()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(r.ZT)),"paused"===e.state.fetchStatus?Promise.resolve():t}))).then(r.ZT)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let n=this.#r.build(this,t);return n.isStaleByTime((0,r.KC)(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(r.ZT).catch(r.ZT)}fetchInfiniteQuery(e){return e.behavior=(0,p.Gm)(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(r.ZT).catch(r.ZT)}resumePausedMutations(){return f.N.isOnline()?this.#i.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#r}getMutationCache(){return this.#i}getDefaultOptions(){return this.#o}setDefaultOptions(e){this.#o=e}setQueryDefaults(e,t){this.#a.set((0,r.Ym)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#a.values()],n={};return t.forEach(t=>{(0,r.to)(e,t.queryKey)&&(n={...n,...t.defaultOptions})}),n}setMutationDefaults(e,t){this.#s.set((0,r.Ym)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#s.values()],n={};return t.forEach(t=>{(0,r.to)(e,t.mutationKey)&&(n={...n,...t.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#o.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,r.Rm)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),!0!==t.enabled&&t.queryFn===r.CN&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#o.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#r.clear(),this.#i.clear()}}},3617:function(e,t,n){"use strict";n.d(t,{t:function(){return r}});var r=function(){return null}},6454:function(e,t,n){"use strict";n.d(t,{V:function(){return p}});var r=n(7082),i=n(6063),o=n(3914),a=n(4090),s=n(7907),u={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},l=/[&><\u2028\u2029]/g;function c(e){return e.replace(l,e=>u[e])}var d=n(3827);Symbol("serialized");var f=function(){let e=a.createContext(null);return{Provider:function(t){let n=`__RQ${a.useId()}
11`,r=c(JSON.stringify(n)),[o]=a.useState(()=>t.transformer??{serialize:e=>e,deserialize:e=>e}),[u]=a.useState(()=>i.sk?[]:{push(){}}),l=a.useRef(0);if((0,s.useServerInsertedHTML)(()=>{if(u.push(...t.onFlush?.()??[]),!u.length)return null;let e=u.map(e=>o.serialize(e)).map(e=>JSON.stringify(e)).join(",");u.length=0;let n=[`window[${r}] = window[${r}] || [];`,`window[${r}].push(${c(e)});`];return(0,d.jsx)("script",{nonce:t.nonce,dangerouslySetInnerHTML:{__html:n.join("")}},l.current++)}),!i.sk){let e=window;if(!e[n]?.initialized){let r=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];let i=n.map(e=>o.deserialize(e));t.onEntries(i)};r(...e[n]??[]),e[n]={initialized:!0,push:r}}}return(0,d.jsx)(e.Provider,{value:{stream:u,id:n},children:t.children})},context:e}}();function p(e){let t=(0,r.useQueryClient)(e.queryClient),[n]=a.useState(()=>new Set);return i.sk&&t.getQueryCache().subscribe(e=>{switch(e.type){case"added":case"updated":n.add(e.query.queryHash)}}),(0,d.jsx)(f.Provider,{onFlush:()=>{let r=e.options?.dehydrate?.shouldDehydrateQuery??o.d_,i=(0,o.D)(t,{...e.options?.dehydrate,shouldDehydrateQuery:e=>n.has(e.queryHash)&&r(e)});return(n.clear(),i.queries.length)?[i]:[]},onEntries:n=>{for(let r of n)(0,o.ZB)(t,r,e.options?.hydrate)},transformer:e.transformer,nonce:e.nonce,children:e.children})}}}]);
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.