PageSourceSearch

https://o2.app/assets/dist-k7MXLWGf.js

js o2.app collected 2026-10-07 01:03:58 UTC 21,537 bytes, 1 lines download raw bytes

1import{n as e,s as t}from"./jsx-runtime-DTJ6URaS.js";import{t as n}from"./react-dom-GbkE7SZs.js";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}var i;(function(e){e.Pop=`POP`,e.Push=`PUSH`,e.Replace=`REPLACE`})(i||={});var a=`popstate`;function o(e){e===void 0&&(e={});function t(e,t){let{pathname:n,search:r,hash:i}=e.location;return d(``,{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||`default`)}function n(e,t){return typeof t==`string`?t:f(t)}return m(t,n,null,e)}function s(e,t){if(e===!1||e==null)throw Error(t)}function c(e,t){if(!e){typeof console<`u`&&console.warn(t);try{throw Error(t)}catch{}}}function l(){return Math.random().toString(36).substr(2,8)}function u(e,t){return{usr:e.state,key:e.key,idx:t}}function d(e,t,n,i){return n===void 0&&(n=null),r({pathname:typeof e==`string`?e:e.pathname,search:``,hash:``},typeof t==`string`?p(t):t,{state:n,key:t&&t.key||i||l()})}function f(e){let{pathname:t=`/`,search:n=``,hash:r=``}=e;return n&&n!==`?`&&(t+=n.charAt(0)===`?`?n:`?`+n),r&&r!==`#`&&(t+=r.charAt(0)===`#`?r:`#`+r),t}function p(e){let t={};if(e){let n=e.indexOf(`#`);n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf(`?`);r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function m(e,t,n,o){o===void 0&&(o={});let{window:c=document.defaultView,v5Compat:l=!1}=o,p=c.history,m=i.Pop,h=null,g=_();g??(g=0,p.replaceState(r({},p.state,{idx:g}),``));function _(){return(p.state||{idx:null}).idx}function v(){m=i.Pop;let e=_(),t=e==null?null:e-g;g=e,h&&h({action:m,location:S.location,delta:t})}function y(e,t){m=i.Push;let r=d(S.location,e,t);n&&n(r,e),g=_()+1;let a=u(r,g),o=S.createHref(r);try{p.pushState(a,``,o)}catch(e){if(e instanceof DOMException&&e.name===`DataCloneError`)throw e;c.location.assign(o)}l&&h&&h({action:m,location:S.location,delta:1})}function b(e,t){m=i.Replace;let r=d(S.location,e,t);n&&n(r,e),g=_();let a=u(r,g),o=S.createHref(r);p.replaceState(a,``,o),l&&h&&h({action:m,location:S.location,delta:0})}function x(e){let t=c.location.origin===`null`?c.location.href:c.location.origin,n=typeof e==`string`?e:f(e);return n=n.replace(/ $/,`%20`),s(t,`No window.location.(origin|href) available to create URL for href: `+n),new URL(n,t)}let S={get action(){return m},get location(){return e(c,p)},listen(e){if(h)throw Error(`A history only accepts one active listener`);return c.addEventListener(a,v),h=e,()=>{c.removeEventListener(a,v),h=null}},createHref(e){return t(c,e)},createURL:x,encodeLocation(e){let t=x(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:y,replace:b,go(e){return p.go(e)}};return S}var h;(function(e){e.data=`data`,e.deferred=`deferred`,e.redirect=`redirect`,e.error=`error`})(h||={});function g(e,t,n){return n===void 0&&(n=`/`),_(e,t,n,!1)}function _(e,t,n,r){let i=T((typeof t==`string`?p(t):t).pathname||`/`,n);if(i==null)return null;let a=v(e);b(a);let o=null;for(let e=0;o==null&&e<a.length;++e){let t=ce(i);o=oe(a[e],t,r)}return o}function v(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r=``);let i=(e,i,a)=>{let o={relativePath:a===void 0?e.path||``:a,caseSensitive:e.caseSensitive===!0,childrenIndex:i,route:e};o.relativePath.startsWith(`/`)&&(s(o.relativePath.startsWith(r),`Absolute route path "`+o.relativePath+`" nested under path `+(`"`+r+`" is not valid. An absolute child route path `)+`must start with the combined path of all its parent routes.`),o.relativePath=o.relativePath.slice(r.length));let c=j([r,o.relativePath]),l=n.concat(o);e.children&&e.children.length>0&&(s(e.index!==!0,`Index routes must not have child routes. Please remove `+(`all child routes from route path "`+c+`".`)),v(e.children,t,l,c)),!(e.path==null&&!e.index)&&t.push({path:c,score:ie(c,e.index),routesMeta:l})};return e.forEach((e,t)=>{var n;if(e.path===``||!((n=e.path)!=null&&n.includes(`?`)))i(e,t);else for(let n of y(e.path))i(e,t,n)}),t}function y(e){let t=e.split(`/`);if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(`?`),a=n.replace(/\?$/,``);if(r.length===0)return i?[a,``]:[a];let o=y(r.join(`/`)),s=[];return s.push(...o.map(e=>e===``?a:[a,e].join(`/`))),i&&s.push(...o),s.map(t=>e.startsWith(`/`)&&t===``?`/`:t)}function b(e){e.sort((e,t)=>
1e.score===t.score?ae(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var x=/^:[\w-]+$/,S=3,ee=2,te=1,ne=10,re=-2,C=e=>e===`*`;function ie(e,t){let n=e.split(`/`),r=n.length;return n.some(C)&&(r+=re),t&&(r+=ee),n.filter(e=>!C(e)).reduce((e,t)=>e+(x.test(t)?S:t===``?te:ne),r)}function ae(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}function oe(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,i={},a=`/`,o=[];for(let e=0;e<r.length;++e){let s=r[e],c=e===r.length-1,l=a===`/`?t:t.slice(a.length)||`/`,u=w({path:s.relativePath,caseSensitive:s.caseSensitive,end:c},l),d=s.route;if(!u&&c&&n&&!r[r.length-1].route.index&&(u=w({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},l)),!u)return null;Object.assign(i,u.params),o.push({params:i,pathname:j([a,u.pathname]),pathnameBase:fe(j([a,u.pathnameBase])),route:d}),u.pathnameBase!==`/`&&(a=j([a,u.pathnameBase]))}return o}function w(e,t){typeof e==`string`&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=se(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,`$1`),s=i.slice(1);return{params:r.reduce((e,t,n)=>{let{paramName:r,isOptional:i}=t;if(r===`*`){let e=s[n]||``;o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,`$1`)}let c=s[n];return i&&!c?e[r]=void 0:e[r]=(c||``).replace(/%2F/g,`/`),e},{}),pathname:a,pathnameBase:o,pattern:e}}function se(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),c(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=[],i=`^`+e.replace(/\/*\*?$/,``).replace(/^\/*/,`/`).replace(/[\\.*+^${}|()[\]]/g,`\\$&`).replace(/\/:([\w-]+)(\?)?/g,(e,t,n)=>(r.push({paramName:t,isOptional:n!=null}),n?`/?([^\\/]+)?`:`/([^\\/]+)`));return e.endsWith(`*`)?(r.push({paramName:`*`}),i+=e===`*`||e===`/*`?`(.*)$`:`(?:\\/(.+)|\\/*)$`):n?i+=`\\/*$`:e!==``&&e!==`/`&&(i+=`(?:(?=\\/|$))`),[new RegExp(i,t?void 0:`i`),r]}function ce(e){try{return e.split(`/`).map(e=>decodeURIComponent(e).replace(/\//g,`%2F`)).join(`/`)}catch(t){return c(!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}}function T(e,t){if(t===`/`)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(`/`)?t.length-1:t.length,r=e.charAt(n);return r&&r!==`/`?null:e.slice(n)||`/`}var le=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ue=e=>le.test(e);function E(e,t){t===void 0&&(t=`/`);let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?p(e):e,a;if(n)if(ue(n))a=n;else{if(n.includes(`//`)){let e=n;n=n.replace(/\/\/+/g,`/`),c(!1,`Pathnames cannot have embedded double slashes - normalizing `+(e+` -> `+n))}a=n.startsWith(`/`)?D(n.substring(1),`/`):D(n,t)}else a=t;return{pathname:a,search:pe(r),hash:me(i)}}function D(e,t){let n=t.replace(/\/+$/,``).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function O(e,t,n,r){return`Cannot include a '`+e+`' character in a manually specified `+("`to."+t+"` field ["+JSON.stringify(r)+`].  Please separate it out to the `)+("`to."+n+"` field. Alternatively you may provide the full path as ")+`a string in <Link to="..."> and the router will parse it for you.`}function de(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function k(e,t){let n=de(e);return t?n.map((e,t)=>t===n.length-1?e.pathname:e.pathnameBase):n.map(e=>e.pathnameBase)}function A(e,t,n,i){i===void 0&&(i=!1);let a;typeof e==`string`?a=p(e):(a=r({},e),s(!a.pathname||!a.pathname.includes(`?`),O(`?`,`pathname`,`search`,a)),s(!a.pathname||!a.pathname.includes(`#`),O(`#`,`pathname`,`hash`,a)),s(!a.search||!a.search.includes(`#`),O(`#`,`search`,`hash`,a)));let o=e===``||a.pathname===``,c=o?`/`:a.pathname,l;if(c==null)l=n;else{let e=t.length-1;if(!i&&c.startsWith(`..`)){let t=c.split(`/`);for(;t[0]===`..`;)t.shift(),--e;a.pathname=t.join(`/`)}l=e>=0?t[e]:`/`}let u=E(a,l),d=c&&c!==`/`&&c.endsWith(`/`),f=(o||c===`.`)&&n.endsWith(`/`);return!u.pathname.endsWith(`/`)&&(d||f)&&(u.pathname+=`/`),u}var j=e=>e.join(`/`).replace(/\/\/+/g,`/`),fe=e=>e.replace(/\/+$/,``).replace(/^\/*/,`/`),pe=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,me=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e;function he(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.internal==`boolean`&&`data`in e}var M=t(e());function N(){return N=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},N.apply(this,arguments)}var P=M.createContext(null),ge=M.createContext(null),F=M.createContext(null),I=M.createContext(null),L=M.createContext({outlet:null,matches:[],isDataRoute:!1}),R=M.createContext(null);function _e(e,t){let{relative:n}=t===void 0?{}:t;!z()&&s(!1);let{basename:r,navigator:i}=M.useContext(F),{hash:a,pathname:o,search:c}=U(e,{relative:n}),l=o;return r!==`/`&&(l=o===`/`?r:j([r,o])),i.createHref({pathname:l,search:c,hash:a})}function z(){return M.useContext(I)!=null}function B(){return!z()&&s(!1),M.useContext(I).location}function V(e){M.useContext(F).static||M.useLayoutEffect(e)}function H(){let{isDataRoute:e}=M.useContext(L);return e?ke():ve()}function ve(){!z()&&s(!1);
1let e=M.useContext(P),{basename:t,future:n,navigator:r}=M.useContext(F),{matches:i}=M.useContext(L),{pathname:a}=B(),o=JSON.stringify(k(i,n.v7_relativeSplatPath)),c=M.useRef(!1);return V(()=>{c.current=!0}),M.useCallback(function(n,i){if(i===void 0&&(i={}),!c.current)return;if(typeof n==`number`){r.go(n);return}let s=A(n,JSON.parse(o),a,i.relative===`path`);e==null&&t!==`/`&&(s.pathname=s.pathname===`/`?t:j([t,s.pathname])),(i.replace?r.replace:r.push)(s,i.state,i)},[t,r,o,a,e])}function U(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=M.useContext(F),{matches:i}=M.useContext(L),{pathname:a}=B(),o=JSON.stringify(k(i,r.v7_relativeSplatPath));return M.useMemo(()=>A(e,JSON.parse(o),a,n===`path`),[e,o,a,n])}function ye(e,t){return be(e,t)}function be(e,t,n,r){!z()&&s(!1);let{navigator:a}=M.useContext(F),{matches:o}=M.useContext(L),c=o[o.length-1],l=c?c.params:{};c&&c.pathname;let u=c?c.pathnameBase:`/`;c&&c.route;let d=B(),f;if(t){let e=typeof t==`string`?p(t):t;!(u===`/`||e.pathname?.startsWith(u))&&s(!1),f=e}else f=d;let m=f.pathname||`/`,h=m;if(u!==`/`){let e=u.replace(/^\//,``).split(`/`);h=`/`+m.replace(/^\//,``).split(`/`).slice(e.length).join(`/`)}let _=g(e,{pathname:h}),v=W(_&&_.map(e=>Object.assign({},e,{params:Object.assign({},l,e.params),pathname:j([u,a.encodeLocation?a.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?u:j([u,a.encodeLocation?a.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),o,n,r);return t&&v?M.createElement(I.Provider,{value:{location:N({pathname:`/`,search:``,hash:``,state:null,key:`default`},f),navigationType:i.Pop}},v):v}function xe(){let e=Oe(),t=he(e)?e.status+` `+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null;return M.createElement(M.Fragment,null,M.createElement(`h2`,null,`Unexpected Application Error!`),M.createElement(`h3`,{style:{fontStyle:`italic`}},t),n?M.createElement(`pre`,{style:{padding:`0.5rem`,backgroundColor:`rgba(200,200,200, 0.5)`}},n):null,null)}var Se=M.createElement(xe,null),Ce=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,t){return t.location!==e.location||t.revalidation!==`idle`&&e.revalidation===`idle`?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error===void 0?t.error:e.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 this.state.error===void 0?this.props.children:M.createElement(L.Provider,{value:this.props.routeContext},M.createElement(R.Provider,{value:this.state.error,children:this.props.component}))}};function we(e){let{routeContext:t,match:n,children:r}=e,i=M.useContext(P);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),M.createElement(L.Provider,{value:t},r)}function W(e,t,n,r){if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,o=n?.errors;if(o!=null){let e=a.findIndex(e=>e.route.id&&o?.[e.route.id]!==void 0);!(e>=0)&&s(!1),a=a.slice(0,Math.min(a.length,e+1))}let c=!1,l=-1;if(n&&r&&r.v7_partialHydration)for(let e=0;e<a.length;e++){let t=a[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(l=e),t.route.id){let{loaderData:e,errors:r}=n,i=t.route.loader&&e[t.route.id]===void 0&&(!r||r[t.route.id]===void 0);if(t.route.lazy||i){c=!0,a=l>=0?a.slice(0,l+1):[a[0]];break}}}return a.reduceRight((e,r,i)=>{let s,u=!1,d=null,f=null;n&&(s=o&&r.route.id?o[r.route.id]:void 0,d=r.route.errorElement||Se,c&&(l<0&&i===0?(Ae(`route-fallback`,!1,"No `HydrateFallback` element provided to render during initial hydration"),u=!0,f=null):l===i&&(u=!0,f=r.route.hydrateFallbackElement||null)));let p=t.concat(a.slice(0,i+1)),m=()=>{let t;return t=s?d:u?f:r.route.Component?M.createElement(r.route.Component,null):r.route.element?r.route.element:e,M.createElement(we,{match:r,routeContext:{outlet:e,matches:p,isDataRoute:n!=null},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||i===0)?M.createElement(Ce,{location:n.location,revalidation:n.revalidation,component:d,error:s,children:m(),routeC
1ontext:{outlet:null,matches:p,isDataRoute:!0}}):m()},null)}var G=function(e){return e.UseBlocker=`useBlocker`,e.UseRevalidator=`useRevalidator`,e.UseNavigateStable=`useNavigate`,e}(G||{}),K=function(e){return e.UseBlocker=`useBlocker`,e.UseLoaderData=`useLoaderData`,e.UseActionData=`useActionData`,e.UseRouteError=`useRouteError`,e.UseNavigation=`useNavigation`,e.UseRouteLoaderData=`useRouteLoaderData`,e.UseMatches=`useMatches`,e.UseRevalidator=`useRevalidator`,e.UseNavigateStable=`useNavigate`,e.UseRouteId=`useRouteId`,e}(K||{});function Te(e){let t=M.useContext(P);return!t&&s(!1),t}function Ee(e){let t=M.useContext(ge);return!t&&s(!1),t}function De(e){let t=M.useContext(L);return!t&&s(!1),t}function q(e){let t=De(e),n=t.matches[t.matches.length-1];return!n.route.id&&s(!1),n.route.id}function Oe(){let e=M.useContext(R),t=Ee(K.UseRouteError),n=q(K.UseRouteError);return e===void 0?t.errors?.[n]:e}function ke(){let{router:e}=Te(G.UseNavigateStable),t=q(K.UseNavigateStable),n=M.useRef(!1);return V(()=>{n.current=!0}),M.useCallback(function(r,i){i===void 0&&(i={}),n.current&&(typeof r==`number`?e.navigate(r):e.navigate(r,N({fromRouteId:t},i)))},[e,t])}var J={};function Ae(e,t,n){!t&&!J[e]&&(J[e]=!0)}var Y=(e,t,n)=>(``+t+("You can use the `"+e+"` future flag to opt-in early. ")+(`For more information, see `+n+`.`),void 0);function je(e,t){e?.v7_startTransition===void 0&&Y(`v7_startTransition`,"React Router will begin wrapping state updates in `React.startTransition` in v7",`https://reactrouter.com/v6/upgrading/future#v7_starttransition`),e?.v7_relativeSplatPath===void 0&&(!t||t.v7_relativeSplatPath===void 0)&&Y(`v7_relativeSplatPath`,`Relative route resolution within Splat routes is changing in v7`,`https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath`),t&&(t.v7_fetcherPersist===void 0&&Y(`v7_fetcherPersist`,`The persistence behavior of fetchers is changing in v7`,`https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist`),t.v7_normalizeFormMethod===void 0&&Y(`v7_normalizeFormMethod`,"Casing of `formMethod` fields is being normalized to uppercase in v7",`https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod`),t.v7_partialHydration===void 0&&Y(`v7_partialHydration`,"`RouterProvider` hydration behavior is changing in v7",`https://reactrouter.com/v6/upgrading/future#v7_partialhydration`),t.v7_skipActionErrorRevalidation===void 0&&Y(`v7_skipActionErrorRevalidation`,"The revalidation behavior after 4xx/5xx `action` responses is changing in v7",`https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation`))}M.startTransition;function Me(e){let{to:t,replace:n,state:r,relative:i}=e;!z()&&s(!1);let{future:a,static:o}=M.useContext(F),{matches:c}=M.useContext(L),{pathname:l}=B(),u=H(),d=A(t,k(c,a.v7_relativeSplatPath),l,i===`path`),f=JSON.stringify(d);return M.useEffect(()=>u(JSON.parse(f),{replace:n,state:r,relative:i}),[u,f,i,n,r]),null}function X(e){s(!1)}function Ne(e){let{basename:t=`/`,children:n=null,location:r,navigationType:a=i.Pop,navigator:o,static:c=!1,future:l}=e;z()&&s(!1);let u=t.replace(/^\/*/,`/`),d=M.useMemo(()=>({basename:u,navigator:o,static:c,future:N({v7_relativeSplatPath:!1},l)}),[u,l,o,c]);typeof r==`string`&&(r=p(r));let{pathname:f=`/`,search:m=``,hash:h=``,state:g=null,key:_=`default`}=r,v=M.useMemo(()=>{let e=T(f,u);return e==null?null:{location:{pathname:e,search:m,hash:h,state:g,key:_},navigationType:a}},[u,f,m,h,g,_,a]);return v==null?null:M.createElement(F.Provider,{value:d},M.createElement(I.Provider,{children:n,value:v}))}function Pe(e){let{children:t,location:n}=e;return ye(Z(t),n)}new Promise(()=>{});function Z(e,t){t===void 0&&(t=[]);let n=[];return M.Children.forEach(e,(e,r)=>{if(!M.isValidElement(e))return;let i=[...t,r];if(e.type===M.Fragment){n.push.apply(n,Z(e.props.children,i));return}e.type!==X&&s(!1),!(!e.props.index||!e.props.children)&&s(!1);let a={id:e.props.id||i.join(`-`),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:e.props.ErrorBoundary!=null||e.props.errorElement!=null,
1shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(a.children=Z(e.props.children,i)),n.push(a)}),n}var Fe=t(n());function Q(){return Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Q.apply(this,arguments)}function Ie(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Le(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Re(e,t){return e.button===0&&(!t||t===`_self`)&&!Le(e)}var ze=[`onClick`,`relative`,`reloadDocument`,`replace`,`state`,`target`,`to`,`preventScrollReset`,`viewTransition`],Be=`6`;try{window.__reactRouterVersion=Be}catch{}var $=M.startTransition;Fe.flushSync,M.useId;function Ve(e){let{basename:t,children:n,future:r,window:i}=e,a=M.useRef();a.current??=o({window:i,v5Compat:!0});let s=a.current,[c,l]=M.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},d=M.useCallback(e=>{u&&$?$(()=>l(e)):l(e)},[l,u]);return M.useLayoutEffect(()=>s.listen(d),[s,d]),M.useEffect(()=>je(r),[r]),M.createElement(Ne,{basename:t,children:n,location:c.location,navigationType:c.action,navigator:s,future:r})}var He=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,Ue=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,We=M.forwardRef(function(e,t){let{onClick:n,relative:r,reloadDocument:i,replace:a,state:o,target:s,to:c,preventScrollReset:l,viewTransition:u}=e,d=Ie(e,ze),{basename:f}=M.useContext(F),p,m=!1;if(typeof c==`string`&&Ue.test(c)&&(p=c,He))try{let e=new URL(window.location.href),t=c.startsWith(`//`)?new URL(e.protocol+c):new URL(c),n=T(t.pathname,f);t.origin===e.origin&&n!=null?c=n+t.search+t.hash:m=!0}catch{}let h=_e(c,{relative:r}),g=qe(c,{replace:a,state:o,target:s,preventScrollReset:l,relative:r,viewTransition:u});function _(e){n&&n(e),e.defaultPrevented||g(e)}return M.createElement(`a`,Q({},d,{href:p||h,onClick:m||i?n:_,ref:t,target:s}))}),Ge;(function(e){e.UseScrollRestoration=`useScrollRestoration`,e.UseSubmit=`useSubmit`,e.UseSubmitFetcher=`useSubmitFetcher`,e.UseFetcher=`useFetcher`,e.useViewTransitionState=`useViewTransitionState`})(Ge||={});var Ke;(function(e){e.UseFetcher=`useFetcher`,e.UseFetchers=`useFetchers`,e.UseScrollRestoration=`useScrollRestoration`})(Ke||={});function qe(e,t){let{target:n,replace:r,state:i,preventScrollReset:a,relative:o,viewTransition:s}=t===void 0?{}:t,c=H(),l=B(),u=U(e,{relative:o});return M.useCallback(t=>{Re(t,n)&&(t.preventDefault(),c(e,{replace:r===void 0?f(l)===f(u):r,state:i,preventScrollReset:a,relative:o,viewTransition:s}))},[l,c,u,r,i,n,e,a,o,s])}export{Pe as a,X as i,We as n,B as o,Me as r,Ve as t};

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.