PageSourceSearch

https://makgadikgadipansnationalpark.com/assets/route-BTxnArw9.js

js makgadikgadipansnationalpark.com collected 2026-10-02 20:47:42 UTC 5,015 bytes, 2 lines download raw bytes

1import{o as e}from"./rolldown-runtime-DAXXjFlN.js";import{t}from"./react-BUD3sqOU.js";import{i as n,n as r}from"./useStore-CvenRxHN.js";import{m as i,p as a,t as o,u as s}from"./link-EObPN6Pf.js";import{t as c}from"./jsx-runtime-CFwixLRt.js";import{t as l}from"./useMatch-CeqP68jL.js";import{t as u}from"./useNavigate-Bj6xHREt.js";function d(e={}){if(e.isNotFound=!0,e.throw)throw e;return e}function f(e){return e?.isNotFound===!0}var p=`__root__`;function m(e){if(e.statusCode=e.statusCode||e.code||307,!e._builtLocation&&!e.reloadDocument&&typeof e.href==`string`)try{new URL(e.href),e.reloadDocument=!0}catch{}let t=new Headers(e.headers);e.href&&t.get(`Location`)===null&&t.set(`Location`,e.href);let n=new Response(null,{status:e.statusCode,headers:t});if(n.options=e,e.throw)throw n;return n}function h(e){return e instanceof Response&&!!e.options}function g(e){if(typeof e==`object`&&e&&e.isSerializedRedirect)return m(e)}var _=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(e){if(this.init=e=>{this.originalIndex=e.originalIndex;let t=this.options,r=!t?.path&&!t?.id;this.parentRoute=this.options.getParentRoute?.(),r?this._path=p:this.parentRoute||n();let o=r?p:t?.path;o&&o!==`/`&&(o=a(o));let c=t?.id||o,l=r?p:s([this.parentRoute.id===`__root__`?``:this.parentRoute.id,c]);o===`__root__`&&(o=`/`),l!==`__root__`&&(l=s([`/`,l]));let u=l===`__root__`?`/`:s([this.parentRoute.fullPath,o]);this._path=o,this._id=l,this._fullPath=u,this._to=i(u)},this.addChildren=e=>this._addFileChildren(e),this._addFileChildren=e=>(Array.isArray(e)&&(this.children=e),typeof e==`object`&&e&&(this.children=Object.values(e)),this),this._addFileTypes=()=>this,this.updateLoader=e=>(Object.assign(this.options,e),this),this.update=e=>(Object.assign(this.options,e),this),this.lazy=e=>(this.lazyFn=e,this),this.redirect=e=>m({from:this.fullPath,...e}),this.options=e||{},this.isRoot=!e?.getParentRoute,e?.id&&e?.path)throw Error(`Route cannot have both an 'id' and a 'path' option.`)}},v=class{constructor({id:e}){this.notFound=e=>d({routeId:this.id,...e}),this.redirect=e=>m({from:this.id,...e}),this.id=e}},y=class extends _{constructor(e){super(e)}};function b(e){return l({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:t=>{let n=e.strict===!1?t.params:t._strictParams;return e.select?e.select(n):n}})}function x(e){return l({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function S(e){let{select:t,...n}=e;return l({...n,select:e=>t?t(e.loaderDeps):e.loaderDeps})}function C(e){return l({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.search):t.search})}function w(e){return l({...e,select:t=>e.select?e.select(t.context):t.context})}var T=e(t(),1),E=c();function D(e){return new O({id:e})}var O=class extends v{constructor({id:e}){super({id:e}),this.useMatch=e=>l({select:e?.select,from:this.id,structuralSharing:e?.structuralSharing}),this.useRouteContext=e=>w({...e,from:this.id}),this.useSearch=e=>C({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useParams=e=>b({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useLoaderDeps=e=>S({...e,from:this.id,strict:!1}),this.useLoaderData=e=>x({...e,from:this.id,strict:!1}),this.useNavigate=()=>u({from:r().routesById[this.id].fullPath}),this.notFound=e=>d({routeId:this.id,...e}),this.Link=T.forwardRef((e,t)=>{let n=r().routesById[this.id].fullPath;return(0,E.jsx)(o,{ref:t,from:n,...e})})}},k=class extends _{constructor(e){super(e),this.useMatch=e=>l({select:e?.select,from:this.id,structuralSharing:e?.structuralSharing}),this.useRouteContext=e=>w({...e,from:this.id}),this.useSearch=e=>C({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useParams=e=>b({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useLoaderDeps=e=>S({...e,from:this.id}),this.useLoaderData=e=>x({...e,from:this.id}),this.useNavigate=()=>u({from:this.fullPath}),this.Link=T.forwardRef((e,t)=>
1(0,E.jsx)(o,{ref:t,from:this.fullPath,...e}))}};function A(e){return new k(e)}var j=class extends y{constructor(e){super(e),this.useMatch=e=>l({select:e?.select,from:this.id,structuralSharing:e?.structuralSharing}),this.useRouteContext=e=>w({...e,from:this.id}),this.useSearch=e=>C({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useParams=e=>b({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useLoaderDeps=e=>S({...e,from:this.id}),this.useLoaderData=e=>x({...e,from:this.id}),this.useNavigate=()=>u({from:this.fullPath}),this.Link=T.forwardRef((e,t)=>(0,E.jsx)(o,{ref:t,from:this.fullPath,...e}))}};function M(e){return new j(e)}export{h as a,p as c,b as i,f as l,A as n,g as o,D as r,m as s,M as t};
2//# sourceMappingURL=route-BTxnArw9.js.map

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.