PageSourceSearch

https://www.ardentcreative.com/assets/router-NzgexhRF.js

js ardentcreative.com collected 2026-10-04 05:14:42 UTC 39,442 bytes, 136 lines download raw bytes

1var He=Object.defineProperty;var We=(e,t,n)=>t in e?He(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var N=(e,t,n)=>We(e,typeof t!="symbol"?t+"":t,n);import{r as s}from"./react-vendor-CLsUl6IJ.js";/**
2 * react-router v8.3.0
3 *
4 * Copyright (c) Remix Software Inc.
5 *
6 * This source code is licensed under the MIT license found in the
7 * LICENSE.md file in the root directory of this source tree.
8 *
9 * @license MIT
10 */const ne=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,ve=/^[\\/]{2}/;function Ve(e,t){return t+e.replace(/\\/g,"/")}/**
11 * react-router v8.3.0
12 *
13 * Copyright (c) Remix Software Inc.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE.md file in the root directory of this source tree.
17 *
18 * @license MIT
19 */const de="popstate";function he(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function ze(e={}){function t(r,a){var c;let o=(c=a.state)==null?void 0:c.masked,{pathname:l,search:i,hash:u}=o||r.location;return ee("",{pathname:l,search:i,hash:u},a.state&&a.state.usr||null,a.state&&a.state.key||"default",o?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function n(r,a){return typeof a=="string"?a:_(a)}return je(t,n,null,e)}function w(e,t){if(e===!1||e===null||typeof e=="undefined")throw new Error(t)}function $(e,t){if(!e){typeof console!="undefined"&&console.warn(t);try{throw new Error(t)}catch(n){}}}function Je(){return Math.random().toString(36).substring(2,10)}function me(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function ee(e,t,n=null,r,a){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?M(t):t,state:n,key:t&&t.key||r||Je(),mask:a}}function _({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function M(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function je(e,t,n,r={}){let{window:a=document.defaultView,v5Compat:o=!1}=r,l=a.history,i="POP",u=null,c=f();c==null&&(c=0,l.replaceState({...l.state,idx:c},""));function f(){return(l.state||{idx:null}).idx}function d(){i="POP";let y=f(),R=y==null?null:y-c;c=y,u&&u({action:i,location:m.location,delta:R})}function h(y,R){i="PUSH";let E=he(y)?y:ee(m.location,y,R);c=f()+1;let v=me(E,c),C=m.createHref(E.mask||E);try{l.pushState(v,"",C)}catch(x){if(x instanceof DOMException&&x.name==="DataCloneError")throw x;a.location.assign(C)}o&&u&&u({action:i,location:m.location,delta:1})}function p(y,R){i="REPLACE";let E=he(y)?y:ee(m.location,y,R);c=f();let v=me(E,c),C=m.createHref(E.mask||E);l.replaceState(v,"",C),o&&u&&u({action:i,location:m.location,delta:0})}function g(y){return Ke(a,y)}let m={get action(){return i},get location(){return e(a,l)},listen(y){if(u)throw new Error("A history only accepts one active listener");return a.addEventListener(de,d),u=y,()=>{a.removeEventListener(de,d),u=null}},createHref(y){return t(a,y)},createURL:g,encodeLocation(y){let R=g(y);return{pathname:R.pathname,search:R.search,hash:R.hash}},push:h,replace:p,go(y){return l.go(y)}};return m}function Ke(e,t,n=!1){let r="http://localhost";e&&(r=e.location.origin!=="null"?e.location.origin:e.location.href),w(r,"No window.location.(origin|href) available to create URL");let a=typeof t=="string"?t:_(t);return a=a.replace(/ $/,"%20"),!n&&ve.test(a)&&(a=r+a),new URL(a,r)}/**
20 * react-router v8.3.0
21 *
22 * Copyright (c) Remix Software Inc.
23 *
24 * This source code is licensed under the MIT license found in the
25 * LICENSE.md file in the root directory of this source tree.
26 *
27 * @license MIT
28 */function Ee(e,t,n="/"){return Ge(e,t,n,!1)}function Ge(e,t,n,r,a){let o=D((typeof t=="string"?M(t):t).pathname||"/",n);if(o==null)return null;let l=Ye(e),i=null,u=st(o);for(let c=0;i==null&&c<l.length;++c)i=it(l[c],u,r);return i}function Ye(e){let t=we(e);return qe(t),t}function we(e,t=[],n=[],r="",a=!1){let o=(l,i,u=a,c)=>{let f={relativePath:c===void 0?l.path||"":c,caseSensitive:l.caseSensitive===!0,childrenIndex:i,route:l};if(f.relativePath.startsWith("/")){if(!f.relativePath.startsWith(r)&&u)return;w(f.relativePath.startsWith(r),`Absolute route path "${f.relativePath}" nested under path "${r}
28" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),f.relativePath=f.relativePath.slice(r.length)}let d=P([r,f.relativePath]),h=n.concat(f);l.children&&l.children.length>0&&(w(l.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${d}".`),we(l.children,t,h,d,u)),!(l.path==null&&!l.index)&&t.push({path:d,score:ot(d,l.index),routesMeta:h.map((p,g)=>{let[m,y]=Se(p.relativePath,p.caseSensitive,g===h.length-1);return{...p,matcher:m,compiledParams:y}})})};return e.forEach((l,i)=>{var u;if(l.path===""||!((u=l.path)!=null&&u.includes("?")))o(l,i);else for(let c of xe(l.path))o(l,i,!0,c)}),t}function xe(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,a=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return a?[o,""]:[o];let l=xe(r.join("/")),i=[];return i.push(...l.map(u=>u===""?o:[o,u].join("/"))),a&&i.push(...l),i.map(u=>e.startsWith("/")&&u===""?"/":u)}function qe(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:lt(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Xe=/^:[\w-]+$/,Qe=/^:[\w-]+/,Ze=3.5,et=3,tt=2,nt=1,rt=10,at=-2,pe=e=>e==="*";function ot(e,t){let n=e.split("/"),r=n.length;return n.some(pe)&&(r+=at),t&&(r+=tt),n.filter(a=>!pe(a)).reduce((a,o)=>a+(Xe.test(o)?et:Qe.test(o)?Ze:o===""?nt:rt),r)}function lt(e,t){return e.length===t.length&&e.slice(0,-1).every((n,r)=>n===t[r])?e[e.length-1]-t[t.length-1]:0}function it(e,t,n=!1){let{routesMeta:r}=e,a={},o="/",l=[];for(let i=0;i<r.length;++i){let u=r[i],c=i===r.length-1,f=o==="/"?t:t.slice(o.length)||"/",d={path:u.relativePath,caseSensitive:u.caseSensitive,end:c},h=u.matcher&&u.compiledParams?Ce(d,f,u.matcher,u.compiledParams):J(d,f),p=u.route;if(!h&&c&&n&&!r[r.length-1].route.index&&(h=J({path:u.relativePath,caseSensitive:u.caseSensitive,end:!1},f)),!h)return null;
28Object.assign(a,h.params),l.push({params:a,pathname:P([o,h.pathname]),pathnameBase:ft(P([o,h.pathnameBase])),route:p}),h.pathnameBase!=="/"&&(o=P([o,h.pathnameBase]))}return l}function J(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=Se(e.path,e.caseSensitive,e.end);return Ce(e,t,n,r)}function Ce(e,t,n,r){let a=t.match(n);if(!a)return null;let o=a[0],l=o.replace(/(.)\/+$/,"$1"),i=a.slice(1);return{params:r.reduce((u,{paramName:c,isOptional:f},d)=>{if(c==="*"){let p=i[d]||"";l=o.slice(0,o.length-p.length).replace(/(.)\/+$/,"$1")}const h=i[d];return f&&!h?u[c]=void 0:u[c]=(h||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:l,pattern:e}}function Se(e,t=!1,n=!0){$(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=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,l,i,u,c)=>{if(r.push({paramName:l,isOptional:i!=null}),i){let f=c.charAt(u+o.length);return f&&f!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(?=\/|$|\()/g,"(?:/$1)?");return e.endsWith("*")?(r.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),r]}function st(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return $(!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 (${t}).`),e}}function D(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)||"/"}function ut(e,t="/"){let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?M(e):e,o;return n?(n=be(n),n.startsWith("/")?o=ye(n.substring(1),"/"):o=ye(n,t)):o=t,{pathname:o,search:dt(r),hash:ht(a)}}function ye(e,t){let n=Pe(t).split("/");return e.split("/").forEach(r=>{r===".."?n.length>1&&n.pop():r!=="."&&n.push(r)}),n.length>1?n.join("/"):"/"}function q(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 ct(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function re(e){let t=ct(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function j(e,t,n,r=!1){let a;typeof e=="string"?a=M(e):(a={...e},w(!a.pathname||!a.pathname.includes("?"),q("?","pathname","search",a)),w(!a.pathname||!a.pathname.includes("#"),q("#","pathname","hash",a)),w(!a.search||!a.search.includes("#"),q("#","search","hash",a)));let o=e===""||a.pathname==="",l=o?"/":a.pathname,i;if(l==null)i=n;else{let d=t.length-1;if(!r&&l.startsWith("..")){let h=l.split("/");for(;h[0]==="..";)h.shift(),d-=1;a.pathname=h.join("/")}i=d>=0?t[d]:"/"}let u=ut(a,i),c=l&&l!=="/"&&l.endsWith("/"),f=(o||l===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(c||f)&&(u.pathname+="/"),u}const be=e=>e.replace(/[\\/]{2,}/g,"/"),P=e=>be(e.join("/")),Pe=e=>e.replace(/\/+$/,""),ft=e=>Pe(e).replace(/^\/*/,"/"),dt=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,ht=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;var mt=class{constructor(e,t,n,r=!1){N(this,"status");N(this,"statusText");N(this,"data");N(this,"error");N(this,"internal");this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function pt(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function yt(e){return P(e.map(t=>t.route.path).filter(Boolean))||"/"}const Le=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined";function ke(e,t){let n=e;
28if(typeof n!="string"||!ne.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,a=!1;if(Le)try{let o=new URL(window.location.href),l=ve.test(n)?new URL(Ve(n,o.protocol)):new URL(n),i=D(l.pathname,t);l.origin===o.origin&&i!=null?n=i+l.search+l.hash:a=!0}catch(o){$(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:a,to:n}}/**
29 * react-router v8.3.0
30 *
31 * Copyright (c) Remix Software Inc.
32 *
33 * This source code is licensed under the MIT license found in the
34 * LICENSE.md file in the root directory of this source tree.
35 *
36 * @license MIT
37 */const $e=["POST","PUT","PATCH","DELETE"];new Set($e);const gt=["GET",...$e];new Set(gt);const Rt=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function vt(e){try{return Rt.includes(new URL(e).protocol)}catch(t){return!1}}/**
38 * react-router v8.3.0
39 *
40 * Copyright (c) Remix Software Inc.
41 *
42 * This source code is licensed under the MIT license found in the
43 * LICENSE.md file in the root directory of this source tree.
44 *
45 * @license MIT
46 */const B=s.createContext(null);B.displayName="DataRouter";const K=s.createContext(null);K.displayName="DataRouterState";const Te=s.createContext(!1);function Et(){return s.useContext(Te)}const Fe=s.createContext({isTransitioning:!1});Fe.displayName="ViewTransition";const wt=s.createContext(new Map);wt.displayName="Fetchers";const xt=s.createContext(null);xt.displayName="Await";const S=s.createContext(null);S.displayName="Navigation";const H=s.createContext(null);H.displayName="Location";const b=s.createContext({outlet:null,matches:[],isDataRoute:!1});b.displayName="Route";const ae=s.createContext(null);ae.displayName="RouteError";/**
47 * react-router v8.3.0
48 *
49 * Copyright (c) Remix Software Inc.
50 *
51 * This source code is licensed under the MIT license found in the
52 * LICENSE.md file in the root directory of this source tree.
53 *
54 * @license MIT
55 */const De="REACT_ROUTER_ERROR",Ct="REDIRECT",St="ROUTE_ERROR_RESPONSE";function bt(e){if(e.startsWith(`${De}:${Ct}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch(t){}}function Pt(e){if(e.startsWith(`${De}:${St}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new mt(t.status,t.statusText,t.data)}catch(t){}}/**
56 * react-router v8.3.0
57 *
58 * Copyright (c) Remix Software Inc.
59 *
60 * This source code is licensed under the MIT license found in the
61 * LICENSE.md file in the root directory of this source tree.
62 *
63 * @license MIT
64 */function Lt(e,{relative:t}={}){w(O(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=s.useContext(S),{hash:a,pathname:o,search:l}=W(e,{relative:t}),i=o;return n!=="/"&&(i=o==="/"?n:P([n,o])),r.createHref({pathname:i,search:l,hash:a})}function O(){return s.useContext(H)!=null}function k(){return w(O(),"useLocation() may be used only in the context of a <Router> component."),s.useContext(H).location}const Ne="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Ie(){let{isDataRoute:e}=s.useContext(b);return e?Vt():kt()}function kt(){w(O(),"useNavigate() may be used only in the context of a <Router> component.");let e=s.useContext(B),{basename:t,navigator:n}=s.useContext(S),{matches:r}=s.useContext(b),{pathname:a}=k(),o=JSON.stringify(re(r)),l=s.useRef(!1);return s.useLayoutEffect(()=>{l.current=!0}),s.useCallback((i,u={})=>{if($(l.current,Ne),!l.current)return;if(typeof i=="number"){n.go(i);return}let c=j(i,JSON.parse(o),a,u.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:P([t,c.pathname])),(u.replace?n.replace:n.push)(c,u.state,u)},[t,n,o,a,e])}const $t=s.createContext(null);function Tt(e){let t=s.useContext(b).outlet;return s.useMemo(()=>t&&s.createElement($t.Provider,{value:e},t),[t,e])}function Tn(){var t,n;let{matches:e}=s.useContext(b);return(n=(t=e[e.length-1])==null?void 0:t.params)!=null?n:{}}function W(e,{relative:t}={}){let{matches:n}=s.useContext(b),{pathname:r}=k(),a=JSON.stringify(re(n));return s.useMemo(()=>j(e,JSON.parse(a),r,t==="path"),[e,a,r,t])}function Ft(e,t){return Me(e,t)}function Me(e,t,n){var g;w(O(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=s.useContext(S),{matches:a}=s.useContext(b),o=a[a.length-1],l=o?o.params:{};o&&o.pathname;let i=o?o.pathnameBase:"/";o&&o.route;let u=k(),c;if(t){let m=typeof t=="string"?M(t):t;w(i==="/"||((g=m.pathname)==null?void 0:g.startsWith(i)),`When overriding the location using \`<Routes location>\` 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 "${i}" but pathname "${m.pathname}" was given in the \`location\` prop.`),c=m}else c=u;let f=c.pathname||"/",d=f;if(i!=="/"){let m=i.replace(/^\//,"").split("/");d="/"+f.replace(/^\//,"").split("/").slice(m.length).join("/")}let h=n&&n.state.matches.length?n.state.matches.map(m=>Object.assign(m,{route:n.manifest[m.route.id]||m.route})):Ee(e,{pathname:d}),p=Ot(h&&h.map(m=>Object.assign({},m,{params:Object.assign({},l,m.params),pathname:P([i,r.encodeLocation?r.encodeLocation(m.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:m.pathname]),pathnameBase:m.pathnameBase==="/"?i:P([i,r.encodeLocation?r.encodeLocation(m.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:m.pathnameBase])})),a,n);return t&&p?s.createElement(H.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...c},navigationType:"POP"}},p):p}function Dt(){let e=Wt(),t=pt(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null;return s.createElement(s.Fragment,null,s.createElement("h2",null,"Unexpected Application 
64Error!"),s.createElement("h3",{style:{fontStyle:"italic"}},t),n?s.createElement("pre",{style:{padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"}},n):null,null)}const Nt=s.createElement(Dt,null);var Z,It=(Z=class extends s.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?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):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 n=Pt(e.digest);n&&(e=n)}let t=e!==void 0?s.createElement(b.Provider,{value:this.props.routeContext},s.createElement(ae.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?s.createElement(Mt,{error:e},t):t}},N(Z,"contextType",Te),Z);const X=new WeakMap;function Mt({children:e,error:t}){let{basename:n}=s.useContext(S);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let r=bt(t.digest);if(r){let a=X.get(t);if(a)throw a;let o=ke(r.location,n),l=o.absoluteURL||o.to;if(vt(l))throw new Error("Invalid redirect location");if(Le&&!X.get(t))if(o.isExternal||r.reloadDocument)window.location.href=l;else{const i=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(o.to,{replace:r.replace}));throw X.set(t,i),i}return s.createElement("meta",{httpEquiv:"refresh",content:`0;url=${l}`})}}return e}function Bt({routeContext:e,match:t,children:n}){let r=s.useContext(B);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),s.createElement(b.Provider,{value:e},n)}function Ot(e,t=[],n){let r=n==null?void 0:n.state;if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let a=e,o=r==null?void 0:r.errors;if(o!=null){let f=a.findIndex(d=>d.route.id&&(o==null?void 0:o[d.route.id])!==void 0);w(f>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),a=a.slice(0,Math.min(a.length,f+1))}let l=!1,i=-1;if(n&&r){l=r.renderFallback;for(let f=0;f<a.length;f++){let d=a[f];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(i=f),d.route.id){let{loaderData:h,errors:p}=r,g=d.route.loader&&!h.hasOwnProperty(d.route.id)&&(!p||p[d.route.id]===void 0);if(d.route.lazy||g){n.isStatic&&(l=!0),i>=0?a=a.slice(0,i+1):a=[a[0]];break}}}}let u=n==null?void 0:n.onError,c=r&&u?(f,d)=>{var h,p,g;u(f,{location:r.location,params:(g=(p=(h=r.matches)==null?void 0:h[0])==null?void 0:p.params)!=null?g:{},pattern:yt(r.matches),errorInfo:d})}:void 0;return a.reduceRight((f,d,h)=>{let p,g=!1,m=null,y=null;r&&(p=o&&d.route.id?o[d.route.id]:void 0,m=d.route.errorElement||Nt,l&&(i<0&&h===0?(zt("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),g=!0,y=null):i===h&&(g=!0,y=d.route.hydrateFallbackElement||null)));let R=t.concat(a.slice(0,h+1)),E=()=>{let v;return p?v=m:g?v=y:d.route.Component?v=s.createElement(d.route.Component,null):d.route.element?v=d.route.element:v=f,s.createElement(Bt,{match:d,routeContext:{outlet:f,matches:R,isDataRoute:r!=null},children:v})};return r&&(d.route.ErrorBoundary||d.route.errorElement||h===0)?s.createElement(It,{location:r.location,revalidation:r.revalidation,component:m,error:p,children:E(),routeContext:{outlet:null,matches:R,isDataRoute:!0},onError:c}):E()},null)}function oe(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Ut(e){let t=s.useContext(B);return w(t,oe(e)),t}function At(e){let t=s.useContext(K);return w(t,oe(e)),t}function _t(e){let t=s.useContext(b);return w(t,oe(e)),t}function le(e){let t=_t(e),n=t.matches[t.matches.length-1];return w(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Ht(){return le("useRouteId")}function Wt(){var r;let e=s.useContext(ae),t=At("useRouteError"),n=le("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function Vt(){let{router:e}=Ut("useNavigate"),t=le("useNavigate"),n=s.useRef(!1);return s.useLayoutEffect(()=>{n.current=!0}),s.useCallback(async(r,a={})=>{$(n.current,Ne),n.current&&(typeof r=="number"?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...a}))},[e,t])}const ge={};function zt(e,t,n){ge[e]||(ge[e]=!0,$(!1,n))}/**
65 * react-router v8.3.0
66 *
67 * Copyright (c) Remix Software Inc.
68 *
69 * This source code is licensed under the MIT license found in the
70 * LICENSE.md file in the root directory of this source tree.
71 *
72 * @license MIT
73 */s.memo(Jt);function Jt({routes:e,manifest:t,future:n,state:r,isStatic:a,onError:o}){return Me(e,void 0,{manifest:t,state:r,isStatic:a,onError:o,future:n})}function Fn({to:e,replace:t,state:n,relative:r}){w(O(),"<Navigate> may be used only in the context of a <Router> component.");let{static:a}=s.useContext(S);$(!a,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:o}=s.useContext(b),{pathname:l}=k(),i=Ie(),u=j(e,re(o),l,r==="path"),c=JSON.stringify(u);return s.useEffect(()=>{i(JSON.parse(c),{replace:t,state:n,relative:r})},[i,c,r,t,n]),null}function Dn(e){return Tt(e.context)}function jt(e){w(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Kt({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:a,static:o=!1,useTransitions:l}){w(!O(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let i=e.replace(/^\/*/,"/"),u=s.useMemo(()=>({basename:i,navigator:a,static:o,useTransitions:l,future:{}}),[i,a,o,l]);typeof n=="string"&&(n=M(n));let{pathname:c="/",search:f="",hash:d="",state:h=null,key:p="default",mask:g}=n,m=s.useMemo(()=>{let y=D(c,i);return y==null?null:{location:{pathname:y,search:f,hash:d,state:h,key:p,mask:g},navigationType:r}},[i,c,f,d,h,p,r,g]);
73return $(m!=null,`<Router basename="${i}"> is not able to match the URL "${c}${f}${d}" because it does not start with the basename, so the <Router> won't render anything.`),m==null?null:s.createElement(S.Provider,{value:u},s.createElement(H.Provider,{children:t,value:m}))}function Nn({children:e,location:t}){return Ft(te(e),t)}function te(e,t=[]){let n=[];return s.Children.forEach(e,(r,a)=>{if(!s.isValidElement(r))return;let o=[...t,a];if(r.type===s.Fragment){n.push.apply(n,te(r.props.children,o));return}w(r.type===jt,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);let l=r.props;w(!l.index||!l.children,"An index route cannot have child routes.");let i={id:l.id||o.join("-"),caseSensitive:l.caseSensitive,element:l.element,Component:l.Component,index:l.index,path:l.path,middleware:l.middleware,loader:l.loader,action:l.action,hydrateFallbackElement:l.hydrateFallbackElement,HydrateFallback:l.HydrateFallback,errorElement:l.errorElement,ErrorBoundary:l.ErrorBoundary,shouldRevalidate:l.shouldRevalidate,handle:l.handle,lazy:l.lazy};l.children&&(i.children=te(l.children,o)),n.push(i)}),n}/**
74 * react-router v8.3.0
75 *
76 * Copyright (c) Remix Software Inc.
77 *
78 * This source code is licensed under the MIT license found in the
79 * LICENSE.md file in the root directory of this source tree.
80 *
81 * @license MIT
82 */const z="application/x-www-form-urlencoded";function G(e){return typeof HTMLElement!="undefined"&&e instanceof HTMLElement}function Gt(e){return G(e)&&e.tagName.toLowerCase()==="button"}function Yt(e){return G(e)&&e.tagName.toLowerCase()==="form"}function qt(e){return G(e)&&e.tagName.toLowerCase()==="input"}function Xt(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Qt(e,t){return e.button===0&&(!t||t==="_self")&&!Xt(e)}let V=null;function Zt(){if(V===null)try{new FormData(document.createElement("form"),0),V=!1}catch(e){V=!0}return V}const en=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Q(e){return e!=null&&!en.has(e)?($(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${z}"`),null):e}function tn(e,t){let n,r,a,o,l;if(Yt(e)){let i=e.getAttribute("action");r=i?D(i,t):null,n=e.getAttribute("method")||"get",a=Q(e.getAttribute("enctype"))||z,o=new FormData(e)}else if(Gt(e)||qt(e)&&(e.type==="submit"||e.type==="image")){let i=e.form;if(i==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let u=e.getAttribute("formaction")||i.getAttribute("action");if(r=u?D(u,t):null,n=e.getAttribute("formmethod")||i.getAttribute("method")||"get",a=Q(e.getAttribute("formenctype"))||Q(i.getAttribute("enctype"))||z,o=new FormData(i,e),!Zt()){let{name:c,type:f,value:d}=e;if(f==="image"){let h=c?`${c}.`:"";o.append(`${h}x`,"0"),o.append(`${h}y`,"0")}else c&&o.append(c,d)}}else{if(G(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n="get",r=null,a=z,l=e}return o&&a==="text/plain"&&(l=o,o=void 0),{action:r,method:n.toLowerCase(),encType:a,formData:o,body:l}}/**
83 * react-router v8.3.0
84 *
85 * Copyright (c) Remix Software Inc.
86 *
87 * This source code is licensed under the MIT license found in the
88 * LICENSE.md file in the root directory of this source tree.
89 *
90 * @license MIT
91 */function ie(e,t){if(e===!1||e===null||typeof e=="undefined")throw new Error(t)}/**
92 * react-router v8.3.0
93 *
94 * Copyright (c) Remix Software Inc.
95 *
96 * This source code is licensed under the MIT license found in the
97 * LICENSE.md file in the root directory of this source tree.
98 *
99 * @license MIT
100 */function Be(e,t){let n=typeof e=="string"?new URL(e,typeof window=="undefined"?"server://singlefetch/":window.location.origin):e;return n.pathname.endsWith("/")?n.pathname=`${n.pathname}_.${t}`:n.pathname=`${n.pathname}.${t}`,n}/**
101 * react-router v8.3.0
102 *
103 * Copyright (c) Remix Software Inc.
104 *
105 * This source code is licensed under the MIT license found in the
106 * LICENSE.md file in the root directory of this source tree.
107 *
108 * @license MIT
109 */async function nn(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.
109isSpaMode,window.location.reload(),new Promise(()=>{})}}/**
110 * react-router v8.3.0
111 *
112 * Copyright (c) Remix Software Inc.
113 *
114 * This source code is licensed under the MIT license found in the
115 * LICENSE.md file in the root directory of this source tree.
116 *
117 * @license MIT
118 */function rn(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function an(e,t,n){return un((await Promise.all(e.map(async r=>{let a=t.routes[r.route.id];if(a){let o=await nn(a,n);return o.links?o.links():[]}return[]}))).flat(1).filter(rn).filter(r=>r.rel==="stylesheet"||r.rel==="preload").map(r=>r.rel==="stylesheet"?{...r,rel:"prefetch",as:"style"}:{...r,rel:"prefetch"}))}function Re(e,t,n,r,a,o){let l=(u,c)=>n[c]?u.route.id!==n[c].route.id:!0,i=(u,c)=>{var f;return n[c].pathname!==u.pathname||((f=n[c].route.path)==null?void 0:f.endsWith("*"))&&n[c].params["*"]!==u.params["*"]};return o==="assets"?t.filter((u,c)=>l(u,c)||i(u,c)):o==="data"?t.filter((u,c)=>{var d;let f=r.routes[u.route.id];if(!f||!f.hasLoader)return!1;if(l(u,c)||i(u,c))return!0;if(u.route.shouldRevalidate){let h=u.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.hash,window.origin),currentParams:((d=n[0])==null?void 0:d.params)||{},nextUrl:new URL(e,window.origin),nextParams:u.params,defaultShouldRevalidate:!0});if(typeof h=="boolean")return h}return!0}):[]}function on(e,t,{includeHydrateFallback:n}={}){return ln(e.map(r=>{let a=t.routes[r.route.id];if(!a)return[];let o=[a.module];return a.clientActionModule&&(o=o.concat(a.clientActionModule)),a.clientLoaderModule&&(o=o.concat(a.clientLoaderModule)),n&&a.hydrateFallbackModule&&(o=o.concat(a.hydrateFallbackModule)),a.imports&&(o=o.concat(a.imports)),o}).flat(1))}function ln(e){return[...new Set(e)]}function sn(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function un(e,t){let n=new Set;return new Set(t),e.reduce((r,a)=>{let o=JSON.stringify(sn(a));return n.has(o)||(n.add(o),r.push({key:o,link:a})),r},[])}/**
119 * react-router v8.3.0
120 *
121 * Copyright (c) Remix Software Inc.
122 *
123 * This source code is licensed under the MIT license found in the
124 * LICENSE.md file in the root directory of this source tree.
125 *
126 * @license MIT
127 */function cn(){let e=s.useContext(B);return ie(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function fn(){let e=s.useContext(K);return ie(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}const se=s.createContext(void 0);se.displayName="FrameworkContext";function ue(){let e=s.useContext(se);return ie(e,"You must render this element inside a <HydratedRouter> element"),e}function dn(e,t){let n=s.useContext(se),[r,a]=s.useState(!1),[o,l]=s.useState(!1),{onFocus:i,onBlur:u,onMouseEnter:c,onMouseLeave:f,onTouchStart:d}=t,h=s.useRef(null);s.useEffect(()=>{if(e==="render"&&l(!0),e==="viewport"){let m=R=>{R.forEach(E=>{l(E.isIntersecting)})},y=new IntersectionObserver(m,{threshold:.5});return h.current&&y.observe(h.current),()=>{y.disconnect()}}},[e]),s.useEffect(()=>{if(r){let m=setTimeout(()=>{l(!0)},100);return()=>{clearTimeout(m)}}},[r]);let p=()=>{a(!0)},g=()=>{a(!1),l(!1)};return n?e!=="intent"?[o,h,{}]:[o,h,{onFocus:A(i,p),onBlur:A(u,g),onMouseEnter:A(c,p),onMouseLeave:A(f,g),onTouchStart:A(d,p)}]:[!1,h,{}]}function A(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function hn({page:e,...t}){let n=Et(),{nonce:r}=ue(),{router:a}=cn(),o=s.useMemo(()=>Ee(a.routes,e,a.basename),[a.routes,e,a.basename]);return o?(t.nonce==null&&r&&(t={...t,nonce:r}),n?s.createElement(pn,{page:e,matches:o,...t}):s.createElement(yn,{page:e,matches:o,...t})):null}function mn(e){let{manifest:t,routeModules:n}=ue(),[r,a]=s.useState([]);return s.useEffect(()=>{let o=!1;return an(e,t,n).then(l=>{o||a(l)}),()=>{o=!0}},[e,t,n]),r}function pn({page:e,matches:t,...n}){let r=k(),a=s.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let o=Be(e,"rsc"),l=!1,i=[];for(let u of t)typeof u.route.shouldRevalidate=="function"?l=!0:i.push(u.route.id);return l&&i.length>0&&o.searchParams.set("_routes",i.join(",")),[o.pathname+o.search]},[e,r,t]);return s.createElement(s.Fragment,null,a.map(o=>s.createElement("link",{key:o,rel:"prefetch",as:"fetch",href:o,...n})))}function yn({page:e,matches:t,...n}){let r=k(),{manifest:a,routeModules:o}=ue(),{loaderData:l,matches:i}=fn(),u=s.useMemo(()=>Re(e,t,i,a,r,"data"),[e,t,i,a,r]),c=s.useMemo(()=>Re(e,t,i,a,r,"assets"),[e,t,i,a,r]),f=s.useMemo(()=>
127{if(e===r.pathname+r.search+r.hash)return[];let p=new Set,g=!1;if(t.forEach(y=>{var E;let R=a.routes[y.route.id];!R||!R.hasLoader||(!u.some(v=>v.route.id===y.route.id)&&y.route.id in l&&((E=o[y.route.id])!=null&&E.shouldRevalidate)||R.hasClientLoader?g=!0:p.add(y.route.id))}),p.size===0)return[];let m=Be(e,"data");return g&&p.size>0&&m.searchParams.set("_routes",t.filter(y=>p.has(y.route.id)).map(y=>y.route.id).join(",")),[m.pathname+m.search]},[l,r,a,u,t,e,o]),d=s.useMemo(()=>on(c,a),[c,a]),h=mn(c);return s.createElement(s.Fragment,null,f.map(p=>s.createElement("link",{key:p,rel:"prefetch",as:"fetch",href:p,...n})),d.map(p=>s.createElement("link",{key:p,rel:"modulepreload",href:p,...n})),h.map(({key:p,link:g})=>{var m;return s.createElement("link",{key:p,nonce:n.nonce,...g,crossOrigin:(m=g.crossOrigin)!=null?m:n.crossOrigin})}))}function gn(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}/**
128 * react-router v8.3.0
129 *
130 * Copyright (c) Remix Software Inc.
131 *
132 * This source code is licensed under the MIT license found in the
133 * LICENSE.md file in the root directory of this source tree.
134 *
135 * @license MIT
136 */const Rn=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined";try{Rn&&(window.__reactRouterVersion="8.3.0")}catch(e){}function In({basename:e,children:t,useTransitions:n,window:r}){let a=s.useRef(null);a.current==null&&(a.current=ze({window:r,v5Compat:!0}));let o=a.current,[l,i]=s.useState({action:o.action,location:o.location}),u=s.useCallback(c=>{n===!1?i(c):s.startTransition(()=>i(c))},[n]);return s.useLayoutEffect(()=>o.listen(u),[o,u]),s.createElement(Kt,{basename:e,children:t,location:l.location,navigationType:l.action,navigator:o,useTransitions:n})}const Oe=s.forwardRef(function({onClick:t,discover:n="render",prefetch:r="none",relative:a,reloadDocument:o,replace:l,mask:i,state:u,target:c,to:f,preventScrollReset:d,viewTransition:h,defaultShouldRevalidate:p,...g},m){let{basename:y,navigator:R,useTransitions:E}=s.useContext(S),v=typeof f=="string"&&ne.test(f),C=ke(f,y);f=C.to;let x=Lt(f,{relative:a}),L=k(),T=null;if(i){let F=j(i,[],L.mask?L.mask.pathname:"/",!0);y!=="/"&&(F.pathname=F.pathname==="/"?y:P([y,F.pathname])),T=R.createHref(F)}let[I,U,Y]=dn(r,g),Ae=xn(f,{replace:l,mask:i,state:u,target:c,preventScrollReset:d,relative:a,viewTransition:h,defaultShouldRevalidate:p,useTransitions:E});function _e(F){t&&t(F),F.defaultPrevented||Ae(F)}let ce=!(C.isExternal||o),fe=s.createElement("a",{...g,...Y,href:(ce?T:void 0)||C.absoluteURL||x,onClick:ce?_e:t,ref:gn(m,U),target:c,"data-discover":!v&&n==="render"?"true":void 0});return I&&!v?s.createElement(s.Fragment,null,fe,s.createElement(hn,{page:x})):fe});Oe.displayName="Link";const vn=s.forwardRef(function({"aria-current":t="page",caseSensitive:n=!1,className:r="",end:a=!1,style:o,to:l,viewTransition:i,children:u,...c},f){let d=W(l,{relative:c.relative}),h=k(),p=s.useContext(K),{navigator:g,basename:m}=s.useContext(S),y=p!=null&&Ln(d)&&i===!0,R=g.encodeLocation?g.encodeLocation(d).pathname:d.pathname,E=h.pathname,v=p&&p.navigation&&p.navigation.location?p.navigation.location.pathname:null;n||(E=E.toLowerCase(),v=v?v.toLowerCase():null,R=R.toLowerCase()),v&&m&&(v=D(v,m)||v);const C=R!=="/"&&R.endsWith("/")?R.length-1:R.length;let x=E===R||!a&&E.startsWith(R)&&E.charAt(C)==="/",L=v!=null&&(v===R||!a&&v.startsWith(R)&&v.charAt(C)==="/"),T={isActive:x,isPending:L,isTransitioning:y},I=x?t:void 0,U;typeof r=="function"?U=r(T):U=[r,x?"active":null,L?"pending":null,y?"transitioning":null].filter(Boolean).join(" ");let Y=typeof o=="function"?o(T):o;return s.createElement(Oe,{...c,"aria-current":I,className:U,ref:f,style:Y,to:l,viewTransition:i},typeof u=="function"?u(T):u)});vn.displayName="NavLink";const En=s.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:r,replace:a,state:o,method:l="get",action:i,onSubmit:u,relative:c,preventScrollReset:f,viewTransition:d,defaultShouldRevalidate:h,...p},g)=>{let{useTransitions:m}=s.useContext(S),y=bn(),R=Pn(i,{relative:c}
136),E=l.toLowerCase()==="get"?"get":"post",v=typeof i=="string"&&ne.test(i),C=x=>{if(u&&u(x),x.defaultPrevented)return;x.preventDefault();let L=x.nativeEvent.submitter,T=(L==null?void 0:L.getAttribute("formmethod"))||l,I=()=>y(L||x.currentTarget,{fetcherKey:t,method:T,navigate:n,replace:a,state:o,relative:c,preventScrollReset:f,viewTransition:d,defaultShouldRevalidate:h});m&&n!==!1?s.startTransition(()=>I()):I()};return s.createElement("form",{ref:g,method:E,action:R,onSubmit:r?u:C,...p,"data-discover":!v&&e==="render"?"true":void 0})});En.displayName="Form";function wn(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Ue(e){let t=s.useContext(B);return w(t,wn(e)),t}function xn(e,{target:t,replace:n,mask:r,state:a,preventScrollReset:o,relative:l,viewTransition:i,defaultShouldRevalidate:u,useTransitions:c}={}){let f=Ie(),d=k(),h=W(e,{relative:l});return s.useCallback(p=>{if(Qt(p,t)){p.preventDefault();let g=n!==void 0?n:_(d)===_(h),m=()=>f(e,{replace:g,mask:r,state:a,preventScrollReset:o,relative:l,viewTransition:i,defaultShouldRevalidate:u});c?s.startTransition(()=>m()):m()}},[d,f,h,n,r,a,t,e,o,l,i,u,c])}let Cn=0,Sn=()=>`__${String(++Cn)}__`;function bn(){let{router:e}=Ue("useSubmit"),{basename:t}=s.useContext(S),n=Ht(),r=e.fetch,a=e.navigate;return s.useCallback(async(o,l={})=>{let{action:i,method:u,encType:c,formData:f,body:d}=tn(o,t);l.navigate===!1?await r(l.fetcherKey||Sn(),n,l.action||i,{defaultShouldRevalidate:l.defaultShouldRevalidate,preventScrollReset:l.preventScrollReset,formData:f,body:d,formMethod:l.method||u,formEncType:l.encType||c,flushSync:l.flushSync}):await a(l.action||i,{defaultShouldRevalidate:l.defaultShouldRevalidate,preventScrollReset:l.preventScrollReset,formData:f,body:d,formMethod:l.method||u,formEncType:l.encType||c,replace:l.replace,state:l.state,fromRouteId:n,flushSync:l.flushSync,viewTransition:l.viewTransition})},[r,a,t,n])}function Pn(e,{relative:t}={}){let{basename:n}=s.useContext(S),r=s.useContext(b);w(r,"useFormAction must be used inside a RouteContext");let[a]=r.matches.slice(-1),o={...W(e||".",{relative:t})},l=k();if(e==null){o.search=l.search;let i=new URLSearchParams(o.search),u=i.getAll("index");if(u.some(c=>c==="")){i.delete("index"),u.filter(f=>f).forEach(f=>i.append("index",f));let c=i.toString();o.search=c?`?${c}`:""}}return(!e||e===".")&&a.route.index&&(o.search=o.search?o.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(o.pathname=o.pathname==="/"?n:P([n,o.pathname])),_(o)}function Ln(e,{relative:t}={}){let n=s.useContext(Fe);w(n!=null,"`useViewTransitionState` must be used within `react-router/dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Ue("useViewTransitionState"),a=W(e,{relative:t});if(!n.isTransitioning)return!1;let o=D(n.currentLocation.pathname,r)||n.currentLocation.pathname,l=D(n.nextLocation.pathname,r)||n.nextLocation.pathname;return J(a.pathname,l)!=null||J(a.pathname,o)!=null}export{In as B,Oe as L,Fn as N,Dn as O,Nn as R,jt as a,Tn as b,Ie as c,vn as d,k as u};

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.