1/*! LICENSE: lib-router.747bf2c906.js.LICENSE.txt */ 2"use strict";(self.rspackChunkreact_template=self.rspackChunkreact_template||[]).push([[9535],{72880(e,t,r){var n,a,o,l;function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}(o=n||(n={})).Pop="POP",o.Push="PUSH",o.Replace="REPLACE";let u="popstate";function s(e){return void 0===e&&(e={}),function(e,t,r){void 0===r&&(r={});let{window:a=document.defaultView,v5Compat:o=!1}=r,l=a.history,s=n.Pop,h=null,v=m();function m(){return(l.state||{idx:null}).idx}function g(){s=n.Pop;let e=m(),t=null==e?null:e-v;v=e,h&&h({action:s,location:b.location,delta:t})}function y(e){let t="null"!==a.location.origin?a.location.origin:a.location.href,r="string"==typeof e?e:f(e);return c(t,"No window.location.(origin|href) available to create URL for href: "+(r=r.replace(/ $/,"%20"))),new URL(r,t)}null==v&&(v=0,l.replaceState(i({},l.state,{idx:v}),""));let b={get action(){return s},get location(){return e(a,l)},listen(e){if(h)throw Error("A history only accepts one active listener");return a.addEventListener(u,g),h=e,()=>{a.removeEventListener(u,g),h=null}},createHref:e=>t(a,e),createURL:y,encodeLocation(e){let t=y(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){s=n.Push;let r=d(b.location,e,t);let i=p(r,v=m()+1),u=b.createHref(r);try{l.pushState(i,"",u)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;a.location.assign(u)}o&&h&&h({action:s,location:b.location,delta:1})},replace:function(e,t){s=n.Replace;let r=d(b.location,e,t);let a=p(r,v=m()),i=b.createHref(r);l.replaceState(a,"",i),o&&h&&h({action:s,location:b.location,delta:0})},go:e=>l.go(e)};return b}(function(e,t){let{pathname:r,search:n,hash:a}=e.location;return d("",{pathname:r,search:n,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){return"string"==typeof t?t:f(t)},e)}function c(e,t){if(!1===e||null==e)throw Error(t)}function h(e,t){if(!e){"u">typeof console&&console.warn(t);try{throw Error(t)}catch(e){}}}function p(e,t){return{usr:e.state,key:e.key,idx:t}}function d(e,t,r,n){return void 0===r&&(r=null),i({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?v(t):t,{state:r,key:t&&t.key||n||Math.random().toString(36).substr(2,8)})}function f(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(t+="#"===n.charAt(0)?n:"#"+n),t}function v(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function m(e,t,r){return void 0===r&&(r="/"),function(e,t,r,n){let a=x(("string"==typeof t?v(t):t).pathname||"/",r);if(null==a)return null;let o=function e(t,r,n,a){void 0===r&&(r=[]),void 0===n&&(n=[]),void 0===a&&(a="");let o=(t,o,l)=>{var i,u;let s,h,p={relativePath:void 0===l?t.path||"":l,caseSensitive:!0===t.caseSensitive,childrenIndex:o,route:t};p.relativePath.startsWith("/")&&(c(p.relativePath.startsWith(a),'Absolute route path "'+p.relativePath+'" nested under path "'+a+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),p.relativePath=p.relativePath.slice(a.length));let d=w([a,p.relativePath]),f=n.concat(p);t.children&&t.children.length>0&&(c(!0!==t.index,'Index routes must not have child routes. Please remove all child routes from route path "'+d+'".'),e(t.children,r,f,d)),(null!=t.path||t.index)&&r.push({path:d,score:(i=d,u=t.index,h=(s=i.split("/")).length,s.some(y)&&(h+=-2),u&&(h+=2),s.filter(e=>!y(e)).reduce((e,t)=>e+(g.test(t)?3:""===t?1:10),h)),routesMeta:f})};return t.forEach((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of function e(t){let r=t.split("/");if(0===r.length)return[];let[n,...a]=r,o=n.endsWith("?"),l=n.replace(/\?$/,"");if(0===a.length)return o?[l,""]:[l];let i=e(a.join("/")),u=[];return u.push(...i.map(e=>""===e?l:[l,e].join("/"))),o&&u.push(...i),u.map(e=>t.startsWith("/")&&""===e?"/":e)}(e.path))o(e,t,r);else o(e,t)}),r}(e);o.sort((e,t)=>
2{var r,n;return e.score!==t.score?t.score-e.score:(r=e.routesMeta.map(e=>e.childrenIndex),n=t.routesMeta.map(e=>e.childrenIndex),r.length===n.length&&r.slice(0,-1).every((e,t)=>e===n[t])?r[r.length-1]-n[n.length-1]:0)});let l=null,i=function(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return h(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}(a);for(let e=0;null==l&&e<o.length;++e)l=function(e,t,r){void 0===r&&(r=!1);let{routesMeta:n}=e,a={},o="/",l=[];for(let e=0;e<n.length;++e){let i=n[e],u=e===n.length-1,s="/"===o?t:t.slice(o.length)||"/",c=b({path:i.relativePath,caseSensitive:i.caseSensitive,end:u},s),h=i.route;if(!c&&u&&r&&!n[n.length-1].route.index&&(c=b({path:i.relativePath,caseSensitive:i.caseSensitive,end:!1},s)),!c)return null;Object.assign(a,c.params),l.push({params:a,pathname:w([o,c.pathname]),pathnameBase:k(w([o,c.pathnameBase])),route:h}),"/"!==c.pathnameBase&&(o=w([o,c.pathnameBase]))}return l}(o[e],i,n);return l}(e,t,r,!1)}(l=a||(a={})).data="data",l.deferred="deferred",l.redirect="redirect",l.error="error";let g=/^:[\w-]+$/,y=e=>"*"===e;function b(e,t){var r,n,a;let o,l;"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[i,u]=(r=e.path,n=e.caseSensitive,a=e.end,void 0===n&&(n=!1),void 0===a&&(a=!0),h("*"===r||!r.endsWith("*")||r.endsWith("/*"),'Route path "'+r+'" will be treated as if it were "'+r.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+r.replace(/\*$/,"/*")+'".'),o=[],l="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,r)=>(o.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)")),r.endsWith("*")?(o.push({paramName:"*"}),l+="*"===r||"/*"===r?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?l+="\\/*$":""!==r&&"/"!==r&&(l+="(?:(?=\\/|$))"),[new RegExp(l,n?void 0:"i"),o]),s=t.match(i);if(!s)return null;let c=s[0],p=c.replace(/(.)\/+$/,"$1"),d=s.slice(1);return{params:u.reduce((e,t,r)=>{let{paramName:n,isOptional:a}=t;if("*"===n){let e=d[r]||"";p=c.slice(0,c.length-e.length).replace(/(.)\/+$/,"$1")}let o=d[r];return a&&!o?e[n]=void 0:e[n]=(o||"").replace(/%2F/g,"/"),e},{}),pathname:c,pathnameBase:p,pattern:e}}function x(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}let E=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function S(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)}),r.length>1?r.join("/"):"/"}function C(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field [")+JSON.stringify(n)+"]. Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function R(e,t){let r=e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0);return t?r.map((e,t)=>t===r.length-1?e.pathname:e.pathnameBase):r.map(e=>e.pathnameBase)}function P(e,t,r,n){let a,o;void 0===n&&(n=!1),"string"==typeof e?a=v(e):(c(!(a=i({},e)).pathname||!a.pathname.includes("?"),C("?","pathname","search",a)),c(!a.pathname||!a.pathname.includes("#"),C("#","pathname","hash",a)),c(!a.search||!a.search.includes("#"),C("#","search","hash",a)));let l=""===e||""===a.pathname,u=l?"/":a.pathname;if(null==u)o=r;else{let e=t.length-1;if(!n&&u.startsWith("..")){let t=u.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}o=e>=0?t[e]:"/"}let s=function(e,t){let r;void 0===t&&(t="/");let{pathname:n,search:a="",hash:o=""}="string"==typeof e?v(e):e;if(n){let e;(e=n,E.test(e))?r=n:(n.includes("//")&&h(!1,"Pathnames cannot have embedded double slashes - normalizing "+n+" -> "+(n=O(n))),r=n.startsWith("/")?S(n.substring(1),"/"):S(n,t))}else r=t;return{pathname:r,search:U(a),hash:L(o)}}(a,o),p=u&&"/"!==u&&u.endsWith("/"),d=(l||"."===u)&&r.endsWith("/");return!s.pathname.endsWith("/")&&(p||d)&&(s.pathname+="/"),s}let O=e=>e.replace(/\/\/+/g,"/"),w=e=>O(e.join("/")),k=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),U=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",L=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";
2class A extends Error{}function B(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}Symbol("deferred"),r.d(t,{AO:()=>f,Gh:()=>P,Oi:()=>c,Rr:()=>v,pX:()=>B,pb:()=>x,rc:()=>n,tH:()=>A,ue:()=>m,yD:()=>R,zR:()=>s},{HS:w})},24577(e,t,r){var n,a,o=r(39108);(n=a||(a={})).Pop="POP",n.Push="PUSH",n.Replace="REPLACE";var l=function(e){return e},i="beforeunload";function u(e){void 0===e&&(e={});var t=e.window,r=void 0===t?document.defaultView:t,n=r.history;function u(){var e=r.location,t=e.pathname,a=e.search,o=e.hash,i=n.state||{};return[i.idx,l({pathname:t,search:a,hash:o,state:i.usr||null,key:i.key||"default"})]}var h=null;r.addEventListener("popstate",function(){if(h)g.call(h),h=null;else{var e=a.Pop,t=u(),r=t[0],n=t[1];if(g.length){if(null!=r){var o=f-r;o&&(h={action:e,location:n,retry:function(){C(-1*o)}},C(o))}}else S(e)}});var p=a.Pop,d=u(),f=d[0],v=d[1],m=c(),g=c();function y(e){var t,r,n,a,o,l,i;return"string"==typeof e?e:(n=void 0===(r=(t=e).pathname)?"/":r,o=void 0===(a=t.search)?"":a,i=void 0===(l=t.hash)?"":l,o&&"?"!==o&&(n+="?"===o.charAt(0)?o:"?"+o),i&&"#"!==i&&(n+="#"===i.charAt(0)?i:"#"+i),n)}function b(e,t){return void 0===t&&(t=null),l((0,o.A)({pathname:v.pathname,hash:"",search:""},"string"==typeof e?function(e){var t={};if(e){var r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));var n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}(e):e,{state:t,key:Math.random().toString(36).substr(2,8)}))}function x(e,t){return[{usr:e.state,key:e.key,idx:t},y(e)]}function E(e,t,r){return!g.length||(g.call({action:e,location:t,retry:r}),!1)}function S(e){p=e;var t=u();f=t[0],v=t[1],m.call({action:p,location:v})}function C(e){n.go(e)}return null==f&&(f=0,n.replaceState((0,o.A)({},n.state,{idx:f}),"")),{get action(){return p},get location(){return v},createHref:y,push:function e(t,o){var l=a.Push,i=b(t,o);if(E(l,i,function(){e(t,o)})){var u=x(i,f+1),s=u[0],c=u[1];try{n.pushState(s,"",c)}catch(e){r.location.assign(c)}S(l)}},replace:function e(t,r){var o=a.Replace,l=b(t,r);
2if(E(o,l,function(){e(t,r)})){var i=x(l,f),u=i[0],s=i[1];n.replaceState(u,"",s),S(o)}},go:C,back:function(){C(-1)},forward:function(){C(1)},listen:function(e){return m.push(e)},block:function(e){var t=g.push(e);return 1===g.length&&r.addEventListener(i,s),function(){t(),g.length||r.removeEventListener(i,s)}}}}function s(e){e.preventDefault(),e.returnValue=""}function c(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter(function(e){return e!==t})}},call:function(t){e.forEach(function(e){return e&&e(t)})}}}r.d(t,{zR:()=>u})},67925(e,t,r){var n,a,o,l,i,u,s=r(77599),c=r(6006),h=r(42630),p=r(72880);function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}function f(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n.map(e=>[r,e]):[[r,n]])},[]))}let v=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"];try{window.__reactRouterVersion="6"}catch(e){}let m=(o||(o=r.t(s,2))).startTransition;function g(e){let{basename:t,children:r,future:n,window:a}=e,o=s.useRef();null==o.current&&(o.current=(0,p.zR)({window:a,v5Compat:!0}));let l=o.current,[i,u]=s.useState({action:l.action,location:l.location}),{v7_startTransition:c}=n||{},d=s.useCallback(e=>{c&&m?m(()=>u(e)):u(e)},[u,c]);return s.useLayoutEffect(()=>l.listen(d),[l,d]),s.useEffect(()=>(0,h.V8)(n),[n]),s.createElement(h.Ix,{basename:t,children:r,location:i.location,navigationType:i.action,navigator:l,future:n})}(l||(l=r.t(c,2))).flushSync,(o||(o=r.t(s,2))).useId;let y="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement,b=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,x=s.forwardRef(function(e,t){let r,{onClick:n,relative:a,reloadDocument:o,replace:l,state:i,target:u,to:c,preventScrollReset:f,viewTransition:m}=e,g=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,v),{basename:x}=s.useContext(h.jb),E=!1;if("string"==typeof c&&b.test(c)&&(r=c,y))try{let e=new URL(window.location.href),t=new URL(c.startsWith("//")?e.protocol+c:c),r=(0,p.pb)(t.pathname,x);t.origin===e.origin&&null!=r?c=r+t.search+t.hash:E=!0}catch(e){}let S=(0,h.$P)(c,{relative:a}),C=function(e,t){let{target:r,replace:n,state:a,preventScrollReset:o,relative:l,viewTransition:i}=void 0===t?{}:t,u=(0,h.Zp)(),c=(0,h.zy)(),d=(0,h.x$)(e,{relative:l});return s.useCallback(t=>{0!==t.button||r&&"_self"!==r||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||(t.preventDefault(),u(e,{replace:void 0!==n?n:(0,p.AO)(c)===(0,p.AO)(d),state:a,preventScrollReset:o,relative:l,viewTransition:i}))},[c,u,d,n,a,r,e,o,l,i])}(c,{replace:l,state:i,target:u,preventScrollReset:f,relative:a,viewTransition:m});return s.createElement("a",d({},g,{href:r||S,onClick:E||o?n:function(e){n&&n(e),e.defaultPrevented||C(e)},ref:t,target:u}))});function E(e){let t=s.useRef(f(e)),r=s.useRef(!1),n=(0,h.zy)(),a=s.useMemo(()=>{var e,a;let o;return e=n.search,a=r.current?null:t.current,o=f(e),a&&a.forEach((e,t)=>{o.has(t)||a.getAll(t).forEach(e=>{o.append(t,e)})}),o},[n.search]),o=(0,h.Zp)(),l=s.useCallback((e,t)=>{let n=f("function"==typeof e?e(a):e);r.current=!0,o("?"+n,t)},[o,a]);return[a,l]}(n=i||(i={})).UseScrollRestoration="useScrollRestoration",n.UseSubmit="useSubmit",n.UseSubmitFetcher="useSubmitFetcher",n.UseFetcher="useFetcher",n.useViewTransitionState="useViewTransitionState",(a=u||(u={})).UseFetcher="useFetcher",a.UseFetchers="useFetchers",a.UseScrollRestoration="useScrollRestoration",r.d(t,{Kd:()=>g,ok:()=>E},{N_:x})},42630(e,t,r){var n,a,o,l,i=r(77599),u=r(72880);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let c=i.createContext(null),h=i.createContext(null),p=i.createContext(null),d=i.createContext(null),f=i.createContext({outlet:null,matches:[],isDataRoute:!1}),v=i.createContext(null);function m(e,t){let{relative:r}=void 0===t?{}:t;
2g()||(0,u.Oi)(!1);let{basename:n,navigator:a}=i.useContext(p),{hash:o,pathname:l,search:s}=S(e,{relative:r}),c=l;return"/"!==n&&(c="/"===l?n:(0,u.HS)([n,l])),a.createHref({pathname:c,search:s,hash:o})}function g(){return null!=i.useContext(d)}function y(){return g()||(0,u.Oi)(!1),i.useContext(d).location}function b(e){i.useContext(p).static||i.useLayoutEffect(e)}function x(){let{isDataRoute:e}=i.useContext(f);return e?function(){let e,{router:t}=(O.UseNavigateStable,(e=i.useContext(c))||(0,u.Oi)(!1),e),r=k(w.UseNavigateStable),n=i.useRef(!1);return b(()=>{n.current=!0}),i.useCallback(function(e,a){void 0===a&&(a={}),n.current&&("number"==typeof e?t.navigate(e):t.navigate(e,s({fromRouteId:r},a)))},[t,r])}():function(){g()||(0,u.Oi)(!1);let e=i.useContext(c),{basename:t,future:r,navigator:n}=i.useContext(p),{matches:a}=i.useContext(f),{pathname:o}=y(),l=JSON.stringify((0,u.yD)(a,r.v7_relativeSplatPath)),s=i.useRef(!1);return b(()=>{s.current=!0}),i.useCallback(function(r,a){if(void 0===a&&(a={}),!s.current)return;if("number"==typeof r)return void n.go(r);let i=(0,u.Gh)(r,JSON.parse(l),o,"path"===a.relative);null==e&&"/"!==t&&(i.pathname="/"===i.pathname?t:(0,u.HS)([t,i.pathname])),(a.replace?n.replace:n.push)(i,a.state,a)},[t,n,l,o,e])}()}function E(){let{matches:e}=i.useContext(f),t=e[e.length-1];return t?t.params:{}}function S(e,t){let{relative:r}=void 0===t?{}:t,{future:n}=i.useContext(p),{matches:a}=i.useContext(f),{pathname:o}=y(),l=JSON.stringify((0,u.yD)(a,n.v7_relativeSplatPath));return i.useMemo(()=>(0,u.Gh)(e,JSON.parse(l),o,"path"===r),[e,l,o,r])}let C=i.createElement(function(){var e;let t,r,n,a,o=(r=i.useContext(v),n=(w.UseRouteError,(t=i.useContext(h))||(0,u.Oi)(!1),t),a=k(w.UseRouteError),void 0!==r?r:null==(e=n.errors)?void 0:e[a]),l=(0,u.pX)(o)?o.status+" "+o.statusText:o instanceof Error?o.message:JSON.stringify(o),s=o instanceof Error?o.stack:null;return i.createElement(i.Fragment,null,i.createElement("h2",null,"Unexpected Application Error!"),i.createElement("h3",{style:{fontStyle:"italic"}},l),s?i.createElement("pre",{style:{padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"}},s):null,null)},null);class R extends i.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,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?i.createElement(f.Provider,{value:this.props.routeContext},i.createElement(v.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function P(e){let{routeContext:t,match:r,children:n}=e,a=i.useContext(c);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),i.createElement(f.Provider,{value:t},n)}var O=((n=O||{}).UseBlocker="useBlocker",n.UseRevalidator="useRevalidator",n.UseNavigateStable="useNavigate",n),w=((a=w||{}).UseBlocker="useBlocker",a.UseLoaderData="useLoaderData",a.UseActionData="useActionData",a.UseRouteError="useRouteError",a.UseNavigation="useNavigation",a.UseRouteLoaderData="useRouteLoaderData",a.UseMatches="useMatches",a.UseRevalidator="useRevalidator",a.UseNavigateStable="useNavigate",a.UseRouteId="useRouteId",a);function k(e){let t,r=((t=i.useContext(f))||(0,u.Oi)(!1),t),n=r.matches[r.matches.length-1];return n.route.id||(0,u.Oi)(!1),n.route.id}let U={};function L(e,t){(null==e||e.v7_startTransition,(null==e?void 0:e.v7_relativeSplatPath)!==void 0||t&&void 0!==t.v7_relativeSplatPath,t)&&(t.v7_fetcherPersist,t.v7_normalizeFormMethod,t.v7_partialHydration,t.v7_skipActionErrorRevalidation)}function A(e){let{to:t,replace:r,state:n,relative:a}=e;g()||(0,u.Oi)(!1);let{future:o,static:l}=i.useContext(p),{matches:s}=i.useContext(f),{pathname:c}=y(),h=x(),d=JSON.stringify((0,u.Gh)(t,(0,u.yD)(s,o.v7_relativeSplatPath),c,"path"===a));return i.useEffect(()=>h(JSON.parse(d),{replace:r,state:n,relative:a}),[h,d,a,r,n]),null}function B(e){(0,u.Oi)(!1)}function $(e){let{basename:t="/",children:r=null,location:n,navigationType:a=u.rc.Pop,navigator:o,static:l=!1,future:c}=e;g()&&(0,u.Oi)(!1);let h=t.replace(/^\/*/,"/"),f=i.useMemo(()=>({basename:h,navigator:o,static:l,future:s({v7_relativeSplatPath:!1},c)}),[h,c,o,l]);"string"==typeof n&&(n=(0,u.Rr)(n));let{pathname:v="/",search:m="",hash:y="",state:b=null,key:x="default"}=n,E=i.useMemo(()=>{let e=(0,u.pb)(v,h);return null==e?null:{location:{pathname:e,search:m,hash:y,state:b,key:x},navigationType:a}},[h,v,m,y,b,x,a]);return null==E?null:i.createElement(p.Provider,{value:f},i.createElement(d.Provider,{children:r,value:E}))}function D(e){let{children:t,location:r}=e;return function(e,t){let r;g()||(0,u.Oi)(!1);let{navigator:n}=i.useContext(p),{matches:a}=i.useContext(f),o=a[a.length-1],l=o?o.params:{};o&&o.pathname;let c=o?o.pathnameBase:"/";o&&o.route;let h=y();if(t){var v;let e="string"==typeof t?(0,u.Rr)(t):t;
2"/"===c||(null==(v=e.pathname)?void 0:v.startsWith(c))||(0,u.Oi)(!1),r=e}else r=h;let m=r.pathname||"/",b=m;if("/"!==c){let e=c.replace(/^\//,"").split("/");b="/"+m.replace(/^\//,"").split("/").slice(e.length).join("/")}let x=(0,u.ue)(e,{pathname:b}),E=function(e,t,r,n){var a,o;if(void 0===t&&(t=[]),void 0===r&&(r=null),void 0===n&&(n=null),null==e){if(!r)return null;if(r.errors)e=r.matches;else{if(null==(o=n)||!o.v7_partialHydration||0!==t.length||r.initialized||!(r.matches.length>0))return null;e=r.matches}}let l=e,s=null==(a=r)?void 0:a.errors;if(null!=s){let e=l.findIndex(e=>e.route.id&&(null==s?void 0:s[e.route.id])!==void 0);e>=0||(0,u.Oi)(!1),l=l.slice(0,Math.min(l.length,e+1))}let c=!1,h=-1;if(r&&n&&n.v7_partialHydration)for(let e=0;e<l.length;e++){let t=l[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(h=e),t.route.id){let{loaderData:e,errors:n}=r,a=t.route.loader&&void 0===e[t.route.id]&&(!n||void 0===n[t.route.id]);if(t.route.lazy||a){c=!0,l=h>=0?l.slice(0,h+1):[l[0]];break}}}return l.reduceRight((e,n,a)=>{var o;let u,p=!1,d=null,f=null;r&&(u=s&&n.route.id?s[n.route.id]:void 0,d=n.route.errorElement||C,c&&(h<0&&0===a?(o="route-fallback",U[o]||(U[o]=!0),p=!0,f=null):h===a&&(p=!0,f=n.route.hydrateFallbackElement||null)));let v=t.concat(l.slice(0,a+1)),m=()=>{let t;return t=u?d:p?f:n.route.Component?i.createElement(n.route.Component,null):n.route.element?n.route.element:e,i.createElement(P,{match:n,routeContext:{outlet:e,matches:v,isDataRoute:null!=r},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||0===a)?i.createElement(R,{location:r.location,revalidation:r.revalidation,component:d,error:u,children:m(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):m()},null)}(x&&x.map(e=>Object.assign({},e,{params:Object.assign({},l,e.params),pathname:(0,u.HS)([c,n.encodeLocation?n.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?c:(0,u.HS)([c,n.encodeLocation?n.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),a,void 0,void 0);return t&&E?i.createElement(d.Provider,{value:{location:s({pathname:"/",search:"",hash:"",state:null,key:"default"},r),navigationType:u.rc.Pop}},E):E}(function e(t,r){void 0===r&&(r=[]);let n=[];return i.Children.forEach(t,(t,a)=>{if(!i.isValidElement(t))return;let o=[...r,a];if(t.type===i.Fragment)return void n.push.apply(n,e(t.props.children,o));t.type!==B&&(0,u.Oi)(!1),t.props.index&&t.props.children&&(0,u.Oi)(!1);let l={id:t.props.id||o.join("-"),caseSensitive:t.props.caseSensitive,element:t.props.element,Component:t.props.Component,index:t.props.index,path:t.props.path,loader:t.props.loader,action:t.props.action,errorElement:t.props.errorElement,ErrorBoundary:t.props.ErrorBoundary,hasErrorBoundary:null!=t.props.ErrorBoundary||null!=t.props.errorElement,shouldRevalidate:t.props.shouldRevalidate,handle:t.props.handle,lazy:t.props.lazy};t.props.children&&(l.children=e(t.props.children,o)),n.push(l)}),n}(t),r)}(l||(l=r.t(i,2))).startTransition;var j=((o=j||{})[o.pending=0]="pending",o[o.success=1]="success",o[o.error=2]="error",o);new Promise(()=>{}),i.Component,r.d(t,{$P:()=>m,BV:()=>D,C5:()=>A,Ix:()=>$,V8:()=>L,Zp:()=>x,g:()=>E,qh:()=>B,x$:()=>S,zy:()=>y},{jb:p})}}]);
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.