const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index.oV44fTWT.js","assets/TimeDisplay.DxWsbEOu.js","assets/spinner-BBnjgRyH.es.B_TfUTji.js","assets/TopicChannel.DMA34kYQ.js","assets/ui-tooltip.CzyCXUeE.js","assets/success.Mzu-JkCN.js","assets/success.D2sTJGbw.css","assets/TopicChannel.CeSH_dw_.css","assets/index.zuP6HiUf.js","assets/faqFoldersAndArticleList.DG5hDiz1.js","assets/faqArticle.DL3GvB0m.js","assets/faqArticle.DmMMaA08.css"])))=>i.map(i=>d[i]); function tA(e,a){for(var i=0;ir[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const c of l)if(c.type==="childList")for(const d of c.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&r(d)}).observe(document,{childList:!0,subtree:!0});function i(l){const c={};return l.integrity&&(c.integrity=l.integrity),l.referrerPolicy&&(c.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?c.credentials="include":l.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function r(l){if(l.ep)return;l.ep=!0;const c=i(l);fetch(l.href,c)}})();const db="modulepreload",fb=function(e){return"https://euc-widget.freshworks.com/freshworks-widget/"+e},d2={},ve=function(a,i,r){let l=Promise.resolve();if(i&&i.length>0){let f=function(p){return Promise.all(p.map(T=>Promise.resolve(T).then(g=>({status:"fulfilled",value:g}),g=>({status:"rejected",reason:g}))))};document.getElementsByTagName("link");const d=document.querySelector("meta[property=csp-nonce]"),m=d?.nonce||d?.getAttribute("nonce");l=f(i.map(p=>{if(p=fb(p),p in d2)return;d2[p]=!0;const T=p.endsWith(".css"),g=T?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${g}`))return;const S=document.createElement("link");if(S.rel=T?"stylesheet":db,T||(S.as="script"),S.crossOrigin="",S.href=p,m&&S.setAttribute("nonce",m),document.head.appendChild(S),T)return new Promise((v,N)=>{S.addEventListener("load",v),S.addEventListener("error",()=>N(new Error(`Unable to preload CSS for ${p}`)))})}))}function c(d){const m=new Event("vite:preloadError",{cancelable:!0});if(m.payload=d,window.dispatchEvent(m),!m.defaultPrevented)throw d}return l.then(d=>{for(const m of d||[])m.status==="rejected"&&c(m.reason);return a().catch(c)})};var E0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function gi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function nL(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var a=e.default;if(typeof a=="function"){var i=function r(){var l=!1;try{l=this instanceof r}catch{}return l?Reflect.construct(a,arguments,this.constructor):a.apply(this,arguments)};i.prototype=a.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var l=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(i,r,l.get?l:{enumerable:!0,get:function(){return e[r]}})}),i}var b0={exports:{}},ml={};/** * @license React * react-jsx-runtime.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var f2;function mb(){if(f2)return ml;f2=1;var e=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function i(r,l,c){var d=null;if(c!==void 0&&(d=""+c),l.key!==void 0&&(d=""+l.key),"key"in l){c={};for(var m in l)m!=="key"&&(c[m]=l[m])}else c=l;return l=c.ref,{$$typeof:e,type:r,key:d,ref:l!==void 0?l:null,props:c}}return ml.Fragment=a,ml.jsx=i,ml.jsxs=i,ml}var m2;function hb(){return m2||(m2=1,b0.exports=mb()),b0.exports}var E=hb(),M0={exports:{}},ot={};/** * @license React * react.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var h2;function pb(){if(h2)return ot;h2=1;var e=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),d=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),g=Symbol.iterator;function S(k){return k===null||typeof k!="object"?null:(k=g&&k[g]||k["@@iterator"],typeof k=="function"?k:null)}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},N=Object.assign,b={};function y(k,J,de){this.props=k,this.context=J,this.refs=b,this.updater=de||v}y.prototype.isReactComponent={},y.prototype.setState=function(k,J){if(typeof k!="object"&&typeof k!="function"&&k!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,k,J,"setState")},y.prototype.forceUpdate=function(k){this.updater.enqueueForceUpdate(this,k,"forceUpdate")};function P(){}P.prototype=y.prototype;function C(k,J,de){this.props=k,this.context=J,this.refs=b,this.updater=de||v}var w=C.prototype=new P;w.constructor=C,N(w,y.prototype),w.isPureReactComponent=!0;var _=Array.isArray,x={H:null,A:null,T:null,S:null,V:null},G=Object.prototype.hasOwnProperty;function q(k,J,de,se,Ce,Ee){return de=Ee.ref,{$$typeof:e,type:k,key:J,ref:de!==void 0?de:null,props:Ee}}function K(k,J){return q(k.type,J,void 0,void 0,void 0,k.props)}function Q(k){return typeof k=="object"&&k!==null&&k.$$typeof===e}function U(k){var J={"=":"=0",":":"=2"};return"$"+k.replace(/[=:]/g,function(de){return J[de]})}var F=/\/+/g;function z(k,J){return typeof k=="object"&&k!==null&&k.key!=null?U(""+k.key):J.toString(36)}function W(){}function I(k){switch(k.status){case"fulfilled":return k.value;case"rejected":throw k.reason;default:switch(typeof k.status=="string"?k.then(W,W):(k.status="pending",k.then(function(J){k.status==="pending"&&(k.status="fulfilled",k.value=J)},function(J){k.status==="pending"&&(k.status="rejected",k.reason=J)})),k.status){case"fulfilled":return k.value;case"rejected":throw k.reason}}throw k}function D(k,J,de,se,Ce){var Ee=typeof k;(Ee==="undefined"||Ee==="boolean")&&(k=null);var Ie=!1;if(k===null)Ie=!0;else switch(Ee){case"bigint":case"string":case"number":Ie=!0;break;case"object":switch(k.$$typeof){case e:case a:Ie=!0;break;case T:return Ie=k._init,D(Ie(k._payload),J,de,se,Ce)}}if(Ie)return Ce=Ce(k),Ie=se===""?"."+z(k,0):se,_(Ce)?(de="",Ie!=null&&(de=Ie.replace(F,"$&/")+"/"),D(Ce,J,de,"",function(We){return We})):Ce!=null&&(Q(Ce)&&(Ce=K(Ce,de+(Ce.key==null||k&&k.key===Ce.key?"":(""+Ce.key).replace(F,"$&/")+"/")+Ie)),J.push(Ce)),1;Ie=0;var Ge=se===""?".":se+":";if(_(k))for(var Oe=0;Oe"u")throw new Error(a)}function Qn(e,a){if(!e){typeof console<"u"&&console.warn(a);try{throw new Error(a)}catch{}}}function Tb(){return Math.random().toString(36).substring(2,10)}function S2(e,a){return{usr:e.state,key:e.key,idx:a,masked:e.unstable_mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function Am(e,a,i=null,r,l){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof a=="string"?Ts(a):a,state:i,key:a&&a.key||r||Tb(),unstable_mask:l}}function Bl({pathname:e="/",search:a="",hash:i=""}){return a&&a!=="?"&&(e+=a.charAt(0)==="?"?a:"?"+a),i&&i!=="#"&&(e+=i.charAt(0)==="#"?i:"#"+i),e}function Ts(e){let a={};if(e){let i=e.indexOf("#");i>=0&&(a.hash=e.substring(i),e=e.substring(0,i));let r=e.indexOf("?");r>=0&&(a.search=e.substring(r),e=e.substring(0,r)),e&&(a.pathname=e)}return a}function Sb(e,a,i,r={}){let{window:l=document.defaultView,v5Compat:c=!1}=r,d=l.history,m="POP",f=null,p=T();p==null&&(p=0,d.replaceState({...d.state,idx:p},""));function T(){return(d.state||{idx:null}).idx}function g(){m="POP";let y=T(),P=y==null?null:y-p;p=y,f&&f({action:m,location:b.location,delta:P})}function S(y,P){m="PUSH";let C=T2(y)?y:Am(b.location,y,P);p=T()+1;let w=S2(C,p),_=b.createHref(C.unstable_mask||C);try{d.pushState(w,"",_)}catch(x){if(x instanceof DOMException&&x.name==="DataCloneError")throw x;l.location.assign(_)}c&&f&&f({action:m,location:b.location,delta:1})}function v(y,P){m="REPLACE";let C=T2(y)?y:Am(b.location,y,P);p=T();let w=S2(C,p),_=b.createHref(C.unstable_mask||C);d.replaceState(w,"",_),c&&f&&f({action:m,location:b.location,delta:0})}function N(y){return Ab(y)}let b={get action(){return m},get location(){return e(l,d)},listen(y){if(f)throw new Error("A history only accepts one active listener");return l.addEventListener(g2,g),f=y,()=>{l.removeEventListener(g2,g),f=null}},createHref(y){return a(l,y)},createURL:N,encodeLocation(y){let P=N(y);return{pathname:P.pathname,search:P.search,hash:P.hash}},push:S,replace:v,go(y){return d.go(y)}};return b}function Ab(e,a=!1){let i="http://localhost";typeof window<"u"&&(i=window.location.origin!=="null"?window.location.origin:window.location.href),Jt(i,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:Bl(e);return r=r.replace(/ $/,"%20"),!a&&r.startsWith("//")&&(r=i+r),new URL(r,i)}function nA(e,a,i="/"){return yb(e,a,i,!1)}function yb(e,a,i,r){let l=typeof a=="string"?Ts(a):a,c=Qi(l.pathname||"/",i);if(c==null)return null;let d=iA(e);vb(d);let m=null;for(let f=0;m==null&&f{let T={relativePath:p===void 0?d.path||"":p,caseSensitive:d.caseSensitive===!0,childrenIndex:m,route:d};if(T.relativePath.startsWith("/")){if(!T.relativePath.startsWith(r)&&f)return;Jt(T.relativePath.startsWith(r),`Absolute route path "${T.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),T.relativePath=T.relativePath.slice(r.length)}let g=Ni([r,T.relativePath]),S=i.concat(T);d.children&&d.children.length>0&&(Jt(d.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${g}".`),iA(d.children,a,S,g,f)),!(d.path==null&&!d.index)&&a.push({path:g,score:Nb(g,d.index),routesMeta:S})};return e.forEach((d,m)=>{if(d.path===""||!d.path?.includes("?"))c(d,m);else for(let f of rA(d.path))c(d,m,!0,f)}),a}function rA(e){let a=e.split("/");if(a.length===0)return[];let[i,...r]=a,l=i.endsWith("?"),c=i.replace(/\?$/,"");if(r.length===0)return l?[c,""]:[c];let d=rA(r.join("/")),m=[];return m.push(...d.map(f=>f===""?c:[c,f].join("/"))),l&&m.push(...d),m.map(f=>e.startsWith("/")&&f===""?"/":f)}function vb(e){e.sort((a,i)=>a.score!==i.score?i.score-a.score:_b(a.routesMeta.map(r=>r.childrenIndex),i.routesMeta.map(r=>r.childrenIndex)))}var Cb=/^:[\w-]+$/,Eb=3,bb=2,Mb=1,wb=10,Ib=-2,A2=e=>e==="*";function Nb(e,a){let i=e.split("/"),r=i.length;return i.some(A2)&&(r+=Ib),a&&(r+=bb),i.filter(l=>!A2(l)).reduce((l,c)=>l+(Cb.test(c)?Eb:c===""?Mb:wb),r)}function _b(e,a){return e.length===a.length&&e.slice(0,-1).every((r,l)=>r===a[l])?e[e.length-1]-a[a.length-1]:0}function Ob(e,a,i=!1){let{routesMeta:r}=e,l={},c="/",d=[];for(let m=0;m{if(T==="*"){let N=m[S]||"";d=c.slice(0,c.length-N.length).replace(/(.)\/+$/,"$1")}const v=m[S];return g&&!v?p[T]=void 0:p[T]=(v||"").replace(/%2F/g,"/"),p},{}),pathname:c,pathnameBase:d,pattern:e}}function Rb(e,a=!1,i=!0){Qn(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(d,m,f,p,T)=>{if(r.push({paramName:m,isOptional:f!=null}),f){let g=T.charAt(p+d.length);return g&&g!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,a?void 0:"i"),r]}function Db(e){try{return e.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return Qn(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${a}).`),e}}function Qi(e,a){if(a==="/")return e;if(!e.toLowerCase().startsWith(a.toLowerCase()))return null;let i=a.endsWith("/")?a.length-1:a.length,r=e.charAt(i);return r&&r!=="/"?null:e.slice(i)||"/"}var Lb=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function Pb(e,a="/"){let{pathname:i,search:r="",hash:l=""}=typeof e=="string"?Ts(e):e,c;return i?(i=i.replace(/\/\/+/g,"/"),i.startsWith("/")?c=y2(i.substring(1),"/"):c=y2(i,a)):c=a,{pathname:c,search:Bb(r),hash:Ub(l)}}function y2(e,a){let i=a.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?i.length>1&&i.pop():l!=="."&&i.push(l)}),i.length>1?i.join("/"):"/"}function w0(e,a,i,r){return`Cannot include a '${e}' character in a manually specified \`to.${a}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${i}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function xb(e){return e.filter((a,i)=>i===0||a.route.path&&a.route.path.length>0)}function ch(e){let a=xb(e);return a.map((i,r)=>r===a.length-1?i.pathname:i.pathnameBase)}function fd(e,a,i,r=!1){let l;typeof e=="string"?l=Ts(e):(l={...e},Jt(!l.pathname||!l.pathname.includes("?"),w0("?","pathname","search",l)),Jt(!l.pathname||!l.pathname.includes("#"),w0("#","pathname","hash",l)),Jt(!l.search||!l.search.includes("#"),w0("#","search","hash",l)));let c=e===""||l.pathname==="",d=c?"/":l.pathname,m;if(d==null)m=i;else{let g=a.length-1;if(!r&&d.startsWith("..")){let S=d.split("/");for(;S[0]==="..";)S.shift(),g-=1;l.pathname=S.join("/")}m=g>=0?a[g]:"/"}let f=Pb(l,m),p=d&&d!=="/"&&d.endsWith("/"),T=(c||d===".")&&i.endsWith("/");return!f.pathname.endsWith("/")&&(p||T)&&(f.pathname+="/"),f}var Ni=e=>e.join("/").replace(/\/\/+/g,"/"),kb=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Bb=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Ub=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,Fb=class{constructor(e,a,i,r=!1){this.status=e,this.statusText=a||"",this.internal=r,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}};function Hb(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function Gb(e){return e.map(a=>a.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var oA=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function sA(e,a){let i=e;if(typeof i!="string"||!Lb.test(i))return{absoluteURL:void 0,isExternal:!1,to:i};let r=i,l=!1;if(oA)try{let c=new URL(window.location.href),d=i.startsWith("//")?new URL(c.protocol+i):new URL(i),m=Qi(d.pathname,a);d.origin===c.origin&&m!=null?i=m+d.search+d.hash:l=!0}catch{Qn(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:l,to:i}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var lA=["POST","PUT","PATCH","DELETE"];new Set(lA);var Vb=["GET",...lA];new Set(Vb);var Ss=M.createContext(null);Ss.displayName="DataRouter";var md=M.createContext(null);md.displayName="DataRouterState";var jb=M.createContext(!1),cA=M.createContext({isTransitioning:!1});cA.displayName="ViewTransition";var zb=M.createContext(new Map);zb.displayName="Fetchers";var Kb=M.createContext(null);Kb.displayName="Await";var Dn=M.createContext(null);Dn.displayName="Navigation";var ql=M.createContext(null);ql.displayName="Location";var ii=M.createContext({outlet:null,matches:[],isDataRoute:!1});ii.displayName="Route";var uh=M.createContext(null);uh.displayName="RouteError";var uA="REACT_ROUTER_ERROR",Wb="REDIRECT",Yb="ROUTE_ERROR_RESPONSE";function $b(e){if(e.startsWith(`${uA}:${Wb}:{`))try{let a=JSON.parse(e.slice(28));if(typeof a=="object"&&a&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.location=="string"&&typeof a.reloadDocument=="boolean"&&typeof a.replace=="boolean")return a}catch{}}function qb(e){if(e.startsWith(`${uA}:${Yb}:{`))try{let a=JSON.parse(e.slice(40));if(typeof a=="object"&&a&&typeof a.status=="number"&&typeof a.statusText=="string")return new Fb(a.status,a.statusText,a.data)}catch{}}function Xb(e,{relative:a}={}){Jt(As(),"useHref() may be used only in the context of a component.");let{basename:i,navigator:r}=M.useContext(Dn),{hash:l,pathname:c,search:d}=Xl(e,{relative:a}),m=c;return i!=="/"&&(m=c==="/"?i:Ni([i,c])),r.createHref({pathname:m,search:d,hash:l})}function As(){return M.useContext(ql)!=null}function ka(){return Jt(As(),"useLocation() may be used only in the context of a component."),M.useContext(ql).location}var dA="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function fA(e){M.useContext(Dn).static||M.useLayoutEffect(e)}function Ln(){let{isDataRoute:e}=M.useContext(ii);return e?fM():Zb()}function Zb(){Jt(As(),"useNavigate() may be used only in the context of a component.");let e=M.useContext(Ss),{basename:a,navigator:i}=M.useContext(Dn),{matches:r}=M.useContext(ii),{pathname:l}=ka(),c=JSON.stringify(ch(r)),d=M.useRef(!1);return fA(()=>{d.current=!0}),M.useCallback((f,p={})=>{if(Qn(d.current,dA),!d.current)return;if(typeof f=="number"){i.go(f);return}let T=fd(f,JSON.parse(c),l,p.relative==="path");e==null&&a!=="/"&&(T.pathname=T.pathname==="/"?a:Ni([a,T.pathname])),(p.replace?i.replace:i.push)(T,p.state,p)},[a,i,c,l,e])}var Jb=M.createContext(null);function Qb(e){let a=M.useContext(ii).outlet;return M.useMemo(()=>a&&M.createElement(Jb.Provider,{value:e},a),[a,e])}function eM(){let{matches:e}=M.useContext(ii),a=e[e.length-1];return a?a.params:{}}function Xl(e,{relative:a}={}){let{matches:i}=M.useContext(ii),{pathname:r}=ka(),l=JSON.stringify(ch(i));return M.useMemo(()=>fd(e,JSON.parse(l),r,a==="path"),[e,l,r,a])}function tM(e,a){return mA(e,a)}function mA(e,a,i){Jt(As(),"useRoutes() may be used only in the context of a component.");let{navigator:r}=M.useContext(Dn),{matches:l}=M.useContext(ii),c=l[l.length-1],d=c?c.params:{},m=c?c.pathname:"/",f=c?c.pathnameBase:"/",p=c&&c.route;{let y=p&&p.path||"";pA(m,!p||y.endsWith("*")||y.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${m}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. Please change the parent to .`)}let T=ka(),g;if(a){let y=typeof a=="string"?Ts(a):a;Jt(f==="/"||y.pathname?.startsWith(f),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${f}" but pathname "${y.pathname}" was given in the \`location\` prop.`),g=y}else g=T;let S=g.pathname||"/",v=S;if(f!=="/"){let y=f.replace(/^\//,"").split("/");v="/"+S.replace(/^\//,"").split("/").slice(y.length).join("/")}let N=nA(e,{pathname:v});Qn(p||N!=null,`No routes matched location "${g.pathname}${g.search}${g.hash}" `),Qn(N==null||N[N.length-1].route.element!==void 0||N[N.length-1].route.Component!==void 0||N[N.length-1].route.lazy!==void 0,`Matched leaf route at location "${g.pathname}${g.search}${g.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`);let b=oM(N&&N.map(y=>Object.assign({},y,{params:Object.assign({},d,y.params),pathname:Ni([f,r.encodeLocation?r.encodeLocation(y.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?f:Ni([f,r.encodeLocation?r.encodeLocation(y.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:y.pathnameBase])})),l,i);return a&&b?M.createElement(ql.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...g},navigationType:"POP"}},b):b}function aM(){let e=dM(),a=Hb(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),i=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",l={padding:"0.5rem",backgroundColor:r},c={padding:"2px 4px",backgroundColor:r},d=null;return console.error("Error handled by React Router default ErrorBoundary:",e),d=M.createElement(M.Fragment,null,M.createElement("p",null,"💿 Hey developer 👋"),M.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",M.createElement("code",{style:c},"ErrorBoundary")," or"," ",M.createElement("code",{style:c},"errorElement")," prop on your route.")),M.createElement(M.Fragment,null,M.createElement("h2",null,"Unexpected Application Error!"),M.createElement("h3",{style:{fontStyle:"italic"}},a),i?M.createElement("pre",{style:l},i):null,d)}var nM=M.createElement(aM,null),hA=class extends M.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,a){return a.location!==e.location||a.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:a.error,location:a.location,revalidation:e.revalidation||a.revalidation}}componentDidCatch(e,a){this.props.onError?this.props.onError(e,a):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const i=qb(e.digest);i&&(e=i)}let a=e!==void 0?M.createElement(ii.Provider,{value:this.props.routeContext},M.createElement(uh.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?M.createElement(iM,{error:e},a):a}};hA.contextType=jb;var I0=new WeakMap;function iM({children:e,error:a}){let{basename:i}=M.useContext(Dn);if(typeof a=="object"&&a&&"digest"in a&&typeof a.digest=="string"){let r=$b(a.digest);if(r){let l=I0.get(a);if(l)throw l;let c=sA(r.location,i);if(oA&&!I0.get(a))if(c.isExternal||r.reloadDocument)window.location.href=c.absoluteURL||c.to;else{const d=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:r.replace}));throw I0.set(a,d),d}return M.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return e}function rM({routeContext:e,match:a,children:i}){let r=M.useContext(Ss);return r&&r.static&&r.staticContext&&(a.route.errorElement||a.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=a.route.id),M.createElement(ii.Provider,{value:e},i)}function oM(e,a=[],i){let r=i?.state;if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(a.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let l=e,c=r?.errors;if(c!=null){let T=l.findIndex(g=>g.route.id&&c?.[g.route.id]!==void 0);Jt(T>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),l=l.slice(0,Math.min(l.length,T+1))}let d=!1,m=-1;if(i&&r){d=r.renderFallback;for(let T=0;T=0?l=l.slice(0,m+1):l=[l[0]];break}}}}let f=i?.onError,p=r&&f?(T,g)=>{f(T,{location:r.location,params:r.matches?.[0]?.params??{},unstable_pattern:Gb(r.matches),errorInfo:g})}:void 0;return l.reduceRight((T,g,S)=>{let v,N=!1,b=null,y=null;r&&(v=c&&g.route.id?c[g.route.id]:void 0,b=g.route.errorElement||nM,d&&(m<0&&S===0?(pA("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),N=!0,y=null):m===S&&(N=!0,y=g.route.hydrateFallbackElement||null)));let P=a.concat(l.slice(0,S+1)),C=()=>{let w;return v?w=b:N?w=y:g.route.Component?w=M.createElement(g.route.Component,null):g.route.element?w=g.route.element:w=T,M.createElement(rM,{match:g,routeContext:{outlet:T,matches:P,isDataRoute:r!=null},children:w})};return r&&(g.route.ErrorBoundary||g.route.errorElement||S===0)?M.createElement(hA,{location:r.location,revalidation:r.revalidation,component:b,error:v,children:C(),routeContext:{outlet:null,matches:P,isDataRoute:!0},onError:p}):C()},null)}function dh(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function sM(e){let a=M.useContext(Ss);return Jt(a,dh(e)),a}function lM(e){let a=M.useContext(md);return Jt(a,dh(e)),a}function cM(e){let a=M.useContext(ii);return Jt(a,dh(e)),a}function fh(e){let a=cM(e),i=a.matches[a.matches.length-1];return Jt(i.route.id,`${e} can only be used on routes that contain a unique "id"`),i.route.id}function uM(){return fh("useRouteId")}function dM(){let e=M.useContext(uh),a=lM("useRouteError"),i=fh("useRouteError");return e!==void 0?e:a.errors?.[i]}function fM(){let{router:e}=sM("useNavigate"),a=fh("useNavigate"),i=M.useRef(!1);return fA(()=>{i.current=!0}),M.useCallback(async(l,c={})=>{Qn(i.current,dA),i.current&&(typeof l=="number"?await e.navigate(l):await e.navigate(l,{fromRouteId:a,...c}))},[e,a])}var v2={};function pA(e,a,i){!a&&!v2[e]&&(v2[e]=!0,Qn(!1,i))}M.memo(mM);function mM({routes:e,future:a,state:i,isStatic:r,onError:l}){return mA(e,void 0,{state:i,isStatic:r,onError:l})}function hM({to:e,replace:a,state:i,relative:r}){Jt(As()," may be used only in the context of a component.");let{static:l}=M.useContext(Dn);Qn(!l," must not be used on the initial render in a . This is a no-op, but you should modify your code so the is only ever rendered in response to some user interaction or state change.");let{matches:c}=M.useContext(ii),{pathname:d}=ka(),m=Ln(),f=fd(e,ch(c),d,r==="path"),p=JSON.stringify(f);return M.useEffect(()=>{m(JSON.parse(p),{replace:a,state:i,relative:r})},[m,p,r,a,i]),null}function pM(e){return Qb(e.context)}function In(e){Jt(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function gM({basename:e="/",children:a=null,location:i,navigationType:r="POP",navigator:l,static:c=!1,unstable_useTransitions:d}){Jt(!As(),"You cannot render a inside another . You should never have more than one in your app.");let m=e.replace(/^\/*/,"/"),f=M.useMemo(()=>({basename:m,navigator:l,static:c,unstable_useTransitions:d,future:{}}),[m,l,c,d]);typeof i=="string"&&(i=Ts(i));let{pathname:p="/",search:T="",hash:g="",state:S=null,key:v="default",unstable_mask:N}=i,b=M.useMemo(()=>{let y=Qi(p,m);return y==null?null:{location:{pathname:y,search:T,hash:g,state:S,key:v,unstable_mask:N},navigationType:r}},[m,p,T,g,S,v,r,N]);return Qn(b!=null,` is not able to match the URL "${p}${T}${g}" because it does not start with the basename, so the won't render anything.`),b==null?null:M.createElement(Dn.Provider,{value:f},M.createElement(ql.Provider,{children:a,value:b}))}function TM({children:e,location:a}){return tM(ym(e),a)}function ym(e,a=[]){let i=[];return M.Children.forEach(e,(r,l)=>{if(!M.isValidElement(r))return;let c=[...a,l];if(r.type===M.Fragment){i.push.apply(i,ym(r.props.children,c));return}Jt(r.type===In,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),Jt(!r.props.index||!r.props.children,"An index route cannot have child routes.");let d={id:r.props.id||c.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(d.children=ym(r.props.children,c)),i.push(d)}),i}var Iu="get",Nu="application/x-www-form-urlencoded";function hd(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function SM(e){return hd(e)&&e.tagName.toLowerCase()==="button"}function AM(e){return hd(e)&&e.tagName.toLowerCase()==="form"}function yM(e){return hd(e)&&e.tagName.toLowerCase()==="input"}function vM(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function CM(e,a){return e.button===0&&(!a||a==="_self")&&!vM(e)}function vm(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((a,i)=>{let r=e[i];return a.concat(Array.isArray(r)?r.map(l=>[i,l]):[[i,r]])},[]))}function EM(e,a){let i=vm(e);return a&&a.forEach((r,l)=>{i.has(l)||a.getAll(l).forEach(c=>{i.append(l,c)})}),i}var nu=null;function bM(){if(nu===null)try{new FormData(document.createElement("form"),0),nu=!1}catch{nu=!0}return nu}var MM=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function N0(e){return e!=null&&!MM.has(e)?(Qn(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Nu}"`),null):e}function wM(e,a){let i,r,l,c,d;if(AM(e)){let m=e.getAttribute("action");r=m?Qi(m,a):null,i=e.getAttribute("method")||Iu,l=N0(e.getAttribute("enctype"))||Nu,c=new FormData(e)}else if(SM(e)||yM(e)&&(e.type==="submit"||e.type==="image")){let m=e.form;if(m==null)throw new Error('Cannot submit a