1const oe=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,ae=/^[\\/]{2}/;function _e(e,n){return n+e.replace(/\\/g,"/")}const X="popstate";function J(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function tt(e={}){function n(s,a){let i=a.state?.masked,{pathname:u,search:c,hash:l}=i||s.location;return q("",{pathname:u,search:c,hash:l},a.state&&a.state.usr||null,a.state&&a.state.key||"default",i?{pathname:s.location.pathname,search:s.location.search,hash:s.location.hash}:void 0)}function r(s,a){return typeof a=="string"?a:ie(a)}return Se(n,r,null,e)}function O(e,n){if(e===!1||e===null||typeof e>"u")throw new Error(n)}function K(e,n){if(!e){typeof console<"u"&&console.warn(n);try{throw new Error(n)}catch{}}}function we(){return Math.random().toString(36).substring(2,10)}function Q(e,n){return{usr:e.state,key:e.key,idx:n,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function q(e,n,r=null,s,a){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof n=="string"?H(n):n,state:r,key:n&&n.key||s||we(),mask:a}}function ie({pathname:e="/",search:n="",hash:r=""}){return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function H(e){let n={};if(e){let r=e.indexOf("#");r>=0&&(n.hash=e.substring(r),e=e.substring(0,r));let s=e.indexOf("?");s>=0&&(n.search=e.substring(s),e=e.substring(0,s)),e&&(n.pathname=e)}return n}function Se(e,n,r,s={}){let{window:a=document.defaultView,v5Compat:i=!1}=s,u=a.history,c="POP",l=null,d=E();d==null&&(d=0,u.replaceState({...u.state,idx:d},""));function E(){return(u.state||{idx:null}).idx}function w(){c="POP";let g=E(),S=g==null?null:g-d;d=g,l&&l({action:c,location:P.location,delta:S})}function _(g,S){c="PUSH";let x=J(g)?g:q(P.location,g,S);d=E()+1;let A=Q(x,d),$=P.createHref(x.mask||x);try{u.pushState(A,"",$)}catch(b){if(b instanceof DOMException&&b.name==="DataCloneError")throw b;a.location.assign($)}i&&l&&l({action:c,location:P.location,delta:1})}function C(g,S){c="REPLACE";let x=J(g)?g:q(P.location,g,S);d=E();let A=Q(x,d),$=P.createHref(x.mask||x);u.replaceState(A,"",$),i&&l&&l({action:c,location:P.location,delta:0})}function U(g){return Te(a,g)}let P={get action(){return c},get location(){return e(a,u)},listen(g){if(l)throw new Error("A history only accepts one active listener");return a.addEventListener(X,w),l=g,()=>{a.removeEventListener(X,w),l=null}},createHref(g){return n(a,g)},createURL:U,encodeLocation(g){let S=U(g);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:_,replace:C,go(g){return u.go(g)}};return P}function Te(e,n,r=!1){let s="http://localhost";e&&(s=e.location.origin!=="null"?e.location.origin:e.location.href),O(s,"No window.location.(origin|href) available to create URL");let a=typeof n=="string"?n:ie(n);return a=a.replace(/ $/,"%20"),!r&&ae.test(a)&&(a=s+a),new URL(a,s)}var nt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Pe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var N={exports:{}},f={};var Z;function Ce(){if(Z)return f;Z=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),w=Symbol.for("react.activity"),_=Symbol.iterator;function C(t){return t===null||typeof t!="object"?null:(t=_&&t[_]||t["@@iterator"],typeof t=="function"?t:null)}var U={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},P=Object.assign,g={};function S(t,o,h){this.props=t,this.context=o,this.refs=g,this.updater=h||U}S.prototype.isReactComponent={},S.prototype.setState=function(t,o){if(typeof t!="object"&&typeof t!="function"&&t!=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,t,o,"setState")},S.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function x(){}x.prototype=S.prototype;function A(t,o,h){this.props=t,this.context=o,this.refs=g,this.updater=h||U}var $=A.prototype=new x;$.constructor=A,P($,S.prototype),$.isPureReactComponent=!0;var b=Array.isArray;function B(){}var v={H:null,A:null,T:null,S:null},G=Object.prototype.hasOwnProperty;function z(t,o,h){var p=h.ref;return{$$typeof:e,type:t,key:o,ref:p!==void 0?p:null,props:h}}function me(t,o){return z(t.type,o,t.props)}function D(t){return typeof t=="object"&&t!==null&&t.$$typeof===e}function ye(t){var o={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(h){return o[h]})}var V=/\/+/g;function W(t,o){return typeof t=="object"&&t!==null&&t.key!=null?ye(""+t.key):o.toString(36)}function Ee(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(B,B):(t.status="pending",t.then(function(o){t.status==="pending"&&(t.status="fulfilled",t.value=o)},function(o){t.status==="pending"&&(t.status="rejected",t.reason=o)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function j(t,o,h,p,m){var y=typeof t;(y==="undefined"||y==="boolean")&&(t=null);var R=!1;if(t===null)R=!0;else switch(y){case"bigint":case"string":case"number":R=!0;break;case"object":switch(t.$$typeof){case e:case n:R=!0;break;case E:return R=t._init,j(R(t._payload),o,h,p,m)}}if(R)return m=m(t),R=p===""?"."+W(t,0):p,b(m)?(h="",R!=null&&(h=R.replace(V,"$&/")+"/"),j(m,o,h,"",function(Re){return Re}
vendor: 5,190 bytes, line 1
1)):m!=null&&(D(m)&&(m=me(m,h+(m.key==null||t&&t.key===m.key?"":(""+m.key).replace(V,"$&/")+"/")+R)),o.push(m)),1;R=0;var L=p===""?".":p+":";if(b(t))for(var T=0;T<t.length;T++)p=t[T],y=L+W(p,T),R+=j(p,o,h,y,m);else if(T=C(t),typeof T=="function")for(t=T.call(t),T=0;!(p=t.next()).done;)p=p.value,y=L+W(p,T++),R+=j(p,o,h,y,m);else if(y==="object"){if(typeof t.then=="function")return j(Ee(t),o,h,p,m);throw o=String(t),Error("Objects are not valid as a React child (found: "+(o==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":o)+"). If you meant to render a collection of children, use an array instead.")}return R}function k(t,o,h){if(t==null)return t;var p=[],m=0;return j(t,p,"","",function(y){return o.call(h,y,m++)}),p}function ge(t){if(t._status===-1){var o=t._result;o=o(),o.then(function(h){(t._status===0||t._status===-1)&&(t._status=1,t._result=h)},function(h){(t._status===0||t._status===-1)&&(t._status=2,t._result=h)}),t._status===-1&&(t._status=0,t._result=o)}if(t._status===1)return t._result.default;throw t._result}var F=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var o=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(o))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},ve={map:k,forEach:function(t,o,h){k(t,function(){o.apply(this,arguments)},h)},count:function(t){var o=0;return k(t,function(){o++}),o},toArray:function(t){return k(t,function(o){return o})||[]},only:function(t){if(!D(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};return f.Activity=w,f.Children=ve,f.Component=S,f.Fragment=r,f.Profiler=a,f.PureComponent=A,f.StrictMode=s,f.Suspense=l,f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=v,f.__COMPILER_RUNTIME={__proto__:null,c:function(t){return v.H.useMemoCache(t)}},f.cache=function(t){return function(){return t.apply(null,arguments)}},f.cacheSignal=function(){return null},f.cloneElement=function(t,o,h){if(t==null)throw Error("The argument must be a React element, but you passed "+t+".");var p=P({},t.props),m=t.key;if(o!=null)for(y in o.key!==void 0&&(m=""+o.key),o)!G.call(o,y)||y==="key"||y==="__self"||y==="__source"||y==="ref"&&o.ref===void 0||(p[y]=o[y]);var y=arguments.length-2;if(y===1)p.children=h;else if(1<y){for(var R=Array(y),L=0;L<y;L++)R[L]=arguments[L+2];p.children=R}return z(t.type,m,p)},f.createContext=function(t){return t={$$typeof:u,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:i,_context:t},t},f.createElement=function(t,o,h){var p,m={},y=null;if(o!=null)for(p in o.key!==void 0&&(y=""+o.key),o)G.call(o,p)&&p!=="key"&&p!=="__self"&&p!=="__source"&&(m[p]=o[p]);var R=arguments.length-2;if(R===1)m.children=h;else if(1<R){for(var L=Array(R),T=0;T<R;T++)L[T]=arguments[T+2];m.children=L}if(t&&t.defaultProps)for(p in R=t.defaultProps,R)m[p]===void 0&&(m[p]=R[p]);return z(t,y,m)},f.createRef=function(){return{current:null}},f.forwardRef=function(t){return{$$typeof:c,render:t}},f.isValidElement=D,f.lazy=function(t){return{$$typeof:E,_payload:{_status:-1,_result:t},_init:ge}},f.memo=function(t,o){return{$$typeof:d,type:t,compare:o===void 0?null:o}},f.startTransition=function(t){var o=v.T,h={};v.T=h;try{var p=t(),m=v.S;m!==null&&m(h,p),typeof p=="object"&&p!==null&&typeof p.then=="function"&&p.then(B,F)}catch(y){F(y)}finally{o!==null&&h.types!==null&&(o.types=h.types),v.T=o}},f.unstable_useCacheRefresh=function(){return v.H.useCacheRefresh()},f.use=function(t){return v.H.use(t)},f.useActionState=function(t,o,h){return v.H.useActionState(t,o,h)},f.useCallback=function(t,o){return v.H.useCallback(t,o)},f.useContext=function(t){return v.H.useContext(t)},f.useDebugValue=function(){},f.useDeferredValue=function(t,o){return v.H.useDeferredValue(t,o)},f.useEffect=function(t,o){return v.H.useEffect(t,o)},f.useEffectEvent=function(t){return v.H.useEffectEvent(t)},f.useId=function(){return v.H.useId()},f.useImperativeHandle=function(t,o,h){return v.H.useImperativeHandle(t,o,h)},f.useInsertionEffect=function(t,o){return v.H.useInsertionEffect(t,o)},f.useLayoutEffect=function(t,o){return v.H.useLayoutEffect(t,o)},f.useMemo=function(t,o){return v.H.useMemo(t,o)},f.useOptimistic=function(t,o){return v.H.useOptimistic(t,o)},f.useReducer=function(t,o,h){return v.H.useReducer(t,o,h)},f.useRef=function(t){return v.H.useRef(t)},f.useState=function(t){return v.H.useState(t)},f.useSyncExternalStore=function(t,o,h){return v.H.useSyncExternalStore(t,o,h)},f.useTransition=function(){return v.H.useTransition()},f.version="19.2.8",f}var ee;function xe(){return ee||(ee=1,N.exports=Ce()),N.exports}var M=xe();const rt=Pe(M);var st=class{#e=new Map;constructor(e){if(e)for(let[n,r]of e)this.set(n,r)}get(e){if(this.#e.has(e))return this.#e.get(e);if(e.defaultValue!==void 0)return e.defaultValue;throw new Error("No value found for context")}set(e,n){this.#e.set(e,n)}};
1const Le=new Set(["lazy","caseSensitive","path","id","index","children"]);function ot(e){return Le.has(e)}const $e=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function at(e){return $e.has(e)}function Oe(e){return e.index===!0}function Ue(e){let n={};return e.Component&&Object.assign(n,{element:M.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(n,{hydrateFallbackElement:M.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(n,{errorElement:M.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),n}function Ae(e,n=Ue,r=[],s={},a=!1){return e.map((i,u)=>{let c=[...r,String(u)],l=typeof i.id=="string"?i.id:c.join("-");if(O(i.index!==!0||!i.children,"Cannot specify children on an index route"),O(a||!s[l],`Found a route id collision on id "${l}". Route id's must be globally unique within Data Router usages`),Oe(i)){let d={...i,id:l};return s[l]=te(d,n(d)),d}else{let d={...i,id:l,children:void 0};return s[l]=te(d,n(d)),i.children&&(d.children=Ae(i.children,n,c,s,a)),d}})}function te(e,n){return Object.assign(e,{...n,...typeof n.lazy=="object"&&n.lazy!=null?{lazy:{...e.lazy,...n.lazy}}:{}})}function it(e,n,r="/"){return be(e,n,r,!1)}function be(e,n,r,s,a){let i=pe((typeof n=="string"?H(n):n).pathname||"/",r);if(i==null)return null;let u=a??je(e),c=null,l=Ge(i);for(let d=0;c==null&&d<u.length;++d)c=Ke(u[d],l,s);return c}function ut(e,n){let{route:r,pathname:s,params:a}=e;return{id:r.id,pathname:s,params:a,loaderData:n[r.id],handle:r.handle}}function je(e){let n=ue(e);return Ie(n),n}function ue(e,n=[],r=[],s="",a=!1){let i=(u,c,l=a,d)=>{let E={relativePath:d===void 0?u.path||"":d,caseSensitive:u.caseSensitive===!0,childrenIndex:c,route:u};if(E.relativePath.startsWith("/")){if(!E.relativePath.startsWith(s)&&l)return;O(E.relativePath.startsWith(s),`Absolute route path "${E.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),E.relativePath=E.relativePath.slice(s.length)}let w=I([s,E.relativePath]),_=r.concat(E);u.children&&u.children.length>0&&(O(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${w}".`),ue(u.children,n,_,w,l)),!(u.path==null&&!u.index)&&n.push({path:w,score:Ye(w,u.index),routesMeta:_.map((C,U)=>{let[P,g]=fe(C.relativePath,C.caseSensitive,U===_.length-1);return{...C,matcher:P,compiledParams:g}})})};return e.forEach((u,c)=>{if(u.path===""||!u.path?.includes("?"))i(u,c);else for(let l of le(u.path))i(u,c,!0,l)}),n}function le(e){let n=e.split("/");if(n.length===0)return[];let[r,...s]=n,a=r.endsWith("?"),i=r.replace(/\?$/,"");if(s.length===0)return a?[i,""]:[i];let u=le(s.join("/")),c=[];return c.push(...u.map(l=>l===""?i:[i,l].join("/"))),a&&c.push(...u),c.map(l=>e.startsWith("/")&&l===""?"/":l)}function Ie(e){e.sort((n,r)=>n.score!==r.score?r.score-n.score:qe(n.routesMeta.map(s=>s.childrenIndex),r.routesMeta.map(s=>s.childrenIndex)))}const He=/^:[\w-]+$/,ke=/^:[\w-]+/,Me=3.5,Be=3,ze=2,De=1,We=10,Ne=-2,ne=e=>e==="*";function Ye(e,n){let r=e.split("/"),s=r.length;return r.some(ne)&&(s+=Ne),n&&(s+=ze),r.filter(a=>!ne(a)).reduce((a,i)=>a+(He.test(i)?Be:ke.test(i)?Me:i===""?De:We),s)}function qe(e,n){return e.length===n.length&&e.slice(0,-1).every((r,s)=>r===n[s])?e[e.length-1]-n[n.length-1]:0}function Ke(e,n,r=!1){let{routesMeta:s}=e,a={},i="/",u=[];for(let c=0;c<s.length;++c){let l=s[c],d=c===s.length-1,E=i==="/"?n:n.slice(i.length)||"/",w={path:l.relativePath,caseSensitive:l.caseSensitive,end:d},_=l.matcher&&l.compiledParams?ce(w,E,l.matcher,l.compiledParams):re(w,E),C=l.route;if(!_&&d&&r&&!s[s.length-1].route.index&&(_=re({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},E)),!_)return null;
1Object.assign(a,_.params),u.push({params:a,pathname:I([i,_.pathname]),pathnameBase:Xe(I([i,_.pathnameBase])),route:C}),_.pathnameBase!=="/"&&(i=I([i,_.pathnameBase]))}return u}function re(e,n){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,s]=fe(e.path,e.caseSensitive,e.end);return ce(e,n,r,s)}function ce(e,n,r,s){let a=n.match(r);if(!a)return null;let i=a[0],u=i.replace(/(.)\/+$/,"$1"),c=a.slice(1);return{params:s.reduce((l,{paramName:d,isOptional:E},w)=>{if(d==="*"){let C=c[w]||"";u=i.slice(0,i.length-C.length).replace(/(.)\/+$/,"$1")}const _=c[w];return E&&!_?l[d]=void 0:l[d]=(_||"").replace(/%2F/g,"/"),l},{}),pathname:i,pathnameBase:u,pattern:e}}function fe(e,n=!1,r=!0){K(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 s=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,u,c,l,d)=>{if(s.push({paramName:u,isOptional:c!=null}),c){let E=d.charAt(l+i.length);return E&&E!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(?=\/|$|\()/g,"(?:/$1)?");return e.endsWith("*")?(s.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,n?void 0:"i"),s]}function Ge(e){try{return e.split("/").map(n=>decodeURIComponent(n).replace(/\//g,"%2F")).join("/")}catch(n){return K(!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 (${n}).`),e}}function pe(e,n){if(n==="/")return e;if(!e.toLowerCase().startsWith(n.toLowerCase()))return null;let r=n.endsWith("/")?n.length-1:n.length,s=e.charAt(r);return s&&s!=="/"?null:e.slice(r)||"/"}function lt({basename:e,pathname:n}){return n==="/"?e:I([e,n])}const ct=e=>oe.test(e);function Ve(e,n="/"){let{pathname:r,search:s="",hash:a=""}=typeof e=="string"?H(e):e,i;return r?(r=he(r),r.startsWith("/")?i=se(r.substring(1),"/"):i=se(r,n)):i=n,{pathname:i,search:Je(s),hash:Qe(a)}}function se(e,n){let r=de(n).split("/");return e.split("/").forEach(s=>{s===".."?r.length>1&&r.pop():s!=="."&&r.push(s)}),r.length>1?r.join("/"):"/"}function Y(e,n,r,s){return`Cannot include a '${e}' character in a manually specified \`to.${n}\` field [${JSON.stringify(s)}]. 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 Fe(e){return e.filter((n,r)=>r===0||n.route.path&&n.route.path.length>0)}function ft(e){let n=Fe(e);return n.map((r,s)=>s===n.length-1?r.pathname:r.pathnameBase)}function pt(e,n,r,s=!1){let a;typeof e=="string"?a=H(e):(a={...e},O(!a.pathname||!a.pathname.includes("?"),Y("?","pathname","search",a)),O(!a.pathname||!a.pathname.includes("#"),Y("#","pathname","hash",a)),O(!a.search||!a.search.includes("#"),Y("#","search","hash",a)));let i=e===""||a.pathname==="",u=i?"/":a.pathname,c;if(u==null)c=r;else{let w=n.length-1;if(!s&&u.startsWith("..")){let _=u.split("/");for(;_[0]==="..";)_.shift(),w-=1;a.pathname=_.join("/")}c=w>=0?n[w]:"/"}let l=Ve(a,c),d=u&&u!=="/"&&u.endsWith("/"),E=(i||u===".")&&r.endsWith("/");return!l.pathname.endsWith("/")&&(d||E)&&(l.pathname+="/"),l}const he=e=>e.replace(/[\\/]{2,}/g,"/"),I=e=>he(e.join("/")),de=e=>e.replace(/\/+$/,""),Xe=e=>de(e).replace(/^\/*/,"/"),Je=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Qe=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;var Ze=class{type="DataWithResponseInit";data;init;constructor(e,n){this.data=e,this.init=n||null}};function ht(e,n){return new Ze(e,typeof n=="number"?{status:n}:n)}const dt=(e,n=302)=>{let r=n;typeof r=="number"?r={status:r}:typeof r.status>"u"&&(r.status=302);let s=new Headers(r.headers);return s.set("Location",e),new Response(null,{...r,headers:s})},mt=["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"];var yt=class{status;statusText;data;error;internal;constructor(e,n,r,s=!1){this.status=e,this.statusText=n||"",this.internal=s,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function Et(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function gt(e){return I(e.map(n=>
1n.route.path).filter(Boolean))||"/"}function vt(e,n){let r=new URL(typeof e=="string"||e instanceof URL?e:e.url),s=typeof n=="string"?H(n):n;if(r.pathname=s.pathname||"/",s.search){let a=new URLSearchParams(s.search),i=a.getAll("index");a.delete("index");for(let c of i.filter(Boolean))a.append("index",c);let u=a.toString();r.search=u?`?${u}`:""}else r.search="";return r.hash=s.hash||"",r}const et=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Rt(e,n){let r=e;if(typeof r!="string"||!oe.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let s=r,a=!1;if(et)try{let i=new URL(window.location.href),u=ae.test(r)?new URL(_e(r,i.protocol)):new URL(r),c=pe(u.pathname,n);u.origin===i.origin&&c!=null?r=c+u.search+u.hash:a=!0}catch{K(!1,`<Link to="${r}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:s,isExternal:a,to:r}}export{oe as A,ot as B,at as C,it as D,yt as E,et as F,ht as G,fe as H,xe as I,tt as J,Ue as K,rt as L,Pe as M,nt as N,ae as P,st as R,mt as S,dt as a,pt as b,ie as c,Et as d,Ae as e,be as f,je as g,H as h,O as i,I as j,q as k,ft as l,re as m,lt as n,gt as o,Rt as p,vt as q,M as r,pe as s,Fe as t,ct as u,Te as v,K as w,ut as x,_e as y,he as z};
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.