PageSourceSearch

https://www.nordkapp.kommune.no/ClientApp/reactjs-front/innsyn/dist/js/index-chunk.U4fvzzy8.js

js nordkapp.kommune.no collected 2026-10-02 16:55:57 UTC 23,002 bytes, 28 lines download raw bytes

1import{a as de,r as c,b as Y}from"./innsyn-chunk.B3I84VOf.js";de();/**
2* @remix-run/router v1.23.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*/function O(){return O=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},O.apply(this,arguments)}var R;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(R||(R={}));const D="popstate";function pe(e){e===void 0&&(e={});let{initialEntries:t=["/"],initialIndex:n,v5Compat:r=!1}=e,a;a=t.map((d,m)=>f(d,typeof d=="string"?null:d.state,m===0?"default":void 0));let l=s(n??a.length-1),i=R.Pop,o=null;function s(d){return Math.min(Math.max(d,0),a.length-1)}function u(){return a[l]}function f(d,m,v){m===void 0&&(m=null);let p=M(a?u().pathname:"/",d,m,v);return $(p.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(d)),p}function h(d){return typeof d=="string"?d:I(d)}return{get index(){return l},get action(){return i},get location(){return u()},createHref:h,createURL(d){return new URL(h(d),"http://localhost")},encodeLocation(d){let m=typeof d=="string"?S(d):d;return{pathname:m.pathname||"",search:m.search||"",hash:m.hash||""}},push(d,m){i=R.Push;let v=f(d,m);l+=1,a.splice(l,a.length,v),r&&o&&o({action:i,location:v,delta:1})},replace(d,m){i=R.Replace;let v=f(d,m);a[l]=v,r&&o&&o({action:i,location:v,delta:0})},go(d){i=R.Pop;let m=s(l+d),v=a[m];l=m,o&&o({action:i,location:v,delta:d})},listen(d){return o=d,()=>{o=null}}}}function me(e){e===void 0&&(e={});function t(a,l){let{pathname:i="/",search:o="",hash:s=""}=S(a.location.hash.substr(1));return!i.startsWith("/")&&!i.startsWith(".")&&(i="/"+i),M("",{pathname:i,search:o,hash:s},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function n(a,l){let i=a.document.querySelector("base"),o="";if(i&&i.getAttribute("href")){let s=a.location.href,u=s.indexOf("#");o=u===-1?s:s.slice(0,u)}return o+"#"+(typeof l=="string"?l:I(l))}function r(a,l){$(a.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(l)+")")}return ge(t,n,r,e)}function x(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function $(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function ve(){return Math.random().toString(36).substr(2,8)}function J(e,t){return{usr:e.state,key:e.key,idx:t}}function M(e,t,n,r){return n===void 0&&(n=null),O({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?S(t):t,{state:n,key:t&&t.key||r||ve()})}function I(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 S(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 ge(e,t,n,r){r===void 0&&(r={});let{window:a=document.defaultView,v5Compat:l=!1}=r,i=a.history,o=R.Pop,s=null,u=f();u==null&&(u=0,i.replaceState(O({},i.state,{idx:u}),""));function f(){return(i.state||{idx:null}).idx}function h(){o=R.Pop;let p=f(),y=p==null?null:p-u;u=p,s&&s({action:o,location:v.location,delta:y})}function g(p,y){o=R.Push;let C=M(v.location,p,y);n&&n(C,p),u=f()+1;let E=J(C,u),P=v.createHref(C);try{i.pushState(E,"",P)}catch(U){if(U instanceof DOMException&&U.name==="DataCloneError")throw U;a.location.assign(P)}l&&s&&s({action:o,location:v.location,delta:1})}function d(p,y){o=R.Replace;let C=M(v.location,p,y);n&&n(C,p),u=f();let E=J(C,u),P=v.createHref(C);i.replaceState(E,"",P),l&&s&&s({action:o,location:v.location,delta:0})}function m(p){let y=a.location.origin!=="null"?a.location.origin:a.location.href,C=typeof p=="string"?p:I(p);return C=C.replace(/ $/,"%20"),x(y,"No window.location.(origin|href) available to create URL for href: "+C),new URL(C,y)}let v={get action(){return o},get location(){return e(a,i)},listen(p){if(s)throw new Error("A history only accepts one active listener");
vendor: 1,731 bytes, line 10
10return a.addEventListener(D,h),s=p,()=>{a.removeEventListener(D,h),s=null}},createHref(p){return t(a,p)},createURL:m,encodeLocation(p){let y=m(p);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:g,replace:d,go(p){return i.go(p)}};return v}var z;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(z||(z={}));function ye(e,t,n){return n===void 0&&(n="/"),xe(e,t,n)}function xe(e,t,n,r){let a=typeof t=="string"?S(t):t,l=A(a.pathname||"/",n);if(l==null)return null;let i=Z(e);Ce(i);let o=null;for(let s=0;o==null&&s<i.length;++s){let u=Ne(l);o=Oe(i[s],u)}return o}function Z(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let a=(l,i,o)=>{let s={relativePath:o===void 0?l.path||"":o,caseSensitive:l.caseSensitive===!0,childrenIndex:i,route:l};s.relativePath.startsWith("/")&&(x(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let u=b([r,s.relativePath]),f=n.concat(s);l.children&&l.children.length>0&&(x(l.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Z(l.children,t,f,u)),!(l.path==null&&!l.index)&&t.push({path:u,score:Le(u,l.index),routesMeta:f})};return e.forEach((l,i)=>{var o;if(l.path===""||!((o=l.path)!=null&&o.includes("?")))a(l,i);else for(let s of ee(l.path))a(l,i,s)}),t}function ee(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,a=n.endsWith("?"),l=n.replace(/\?$/,"");if(r.length===0)return a?[l,""]:[l];let i=ee(r.join("/")),o=[];return o.push(...i.map(s=>
vendor: 4,717 bytes, lines 10-18
10s===""?l:[l,s].join("/"))),a&&o.push(...i),o.map(s=>e.startsWith("/")&&s===""?"/":s)}function Ce(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Ue(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Ee=/^:[\w-]+$/,Re=3,Pe=2,be=1,Se=10,we=-2,H=e=>e==="*";function Le(e,t){let n=e.split("/"),r=n.length;return n.some(H)&&(r+=we),t&&(r+=Pe),n.filter(a=>!H(a)).reduce((a,l)=>a+(Ee.test(l)?Re:l===""?be:Se),r)}function Ue(e,t){return e.length===t.length&&e.slice(0,-1).every((r,a)=>r===t[a])?e[e.length-1]-t[t.length-1]:0}function Oe(e,t,n){let{routesMeta:r}=e,a={},l="/",i=[];for(let o=0;o<r.length;++o){let s=r[o],u=o===r.length-1,f=l==="/"?t:t.slice(l.length)||"/",h=Ie({path:s.relativePath,caseSensitive:s.caseSensitive,end:u},f),g=s.route;if(!h)return null;Object.assign(a,h.params),i.push({params:a,pathname:b([l,h.pathname]),pathnameBase:je(b([l,h.pathnameBase])),route:g}),h.pathnameBase!=="/"&&(l=b([l,h.pathnameBase]))}return i}function Ie(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=Te(e.path,e.caseSensitive,e.end),a=t.match(n);if(!a)return null;let l=a[0],i=l.replace(/(.)\/+$/,"$1"),o=a.slice(1);return{params:r.reduce((u,f,h)=>{let{paramName:g,isOptional:d}=f;if(g==="*"){let v=o[h]||"";i=l.slice(0,l.length-v.length).replace(/(.)\/+$/,"$1")}const m=o[h];return d&&!m?u[g]=void 0:u[g]=(m||"").replace(/%2F/g,"/"),u},{}),pathname:l,pathnameBase:i,pattern:e}}function Te(e,t,n){t===void 0&&(t=!1),n===void 0&&(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,(i,o,s)=>(r.push({paramName:o,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),r]}function Ne(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 is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function A(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 Be(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?S(e):e;return{pathname:n?n.startsWith("/")?n:Me(n,t):t,search:_e(r),hash:We(a)}}function Me(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}function _(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 $e(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function te(e,t){let n=$e(e);return t?n.map((r,a)=>a===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function ne(e,t,n,r){r===void 0&&(r=!1);let a;typeof e=="string"?a=S(e):(a=O({},e),x(!a.pathname||!a.pathname.includes("?"),_("?","pathname","search",a)),x(!a.pathname||!a.pathname.includes("#"),_("#","pathname","hash",a)),x(!a.search||!a.search.includes("#"),_("#","search","hash",a)));let l=e===""||a.pathname==="",i=l?"/":a.pathname,o;if(i==null)o=n;else{let h=t.length-1;if(!r&&i.startsWith("..")){let g=i.split("/");for(;g[0]==="..";)g.shift(),h-=1;a.pathname=g.join("/")}o=h>=0?t[h]:"/"}let s=Be(a,o),u=i&&i!=="/"&&i.endsWith("/"),f=(l||i===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(u||f)&&(s.pathname+="/"),s}const b=e=>e.join("/").replace(/\/\/+/g,"/"),je=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),_e=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,We=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function ke(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const re=["post","put","patch","delete"];new Set(re);const Fe=["get",...re];new Set(Fe);/**
11* React Router v6.30.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*/function T(){return T=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},T.apply(this,arguments)}const V=c.createContext(null),Ae=c.createContext(null),L=c.createContext(null),j=c.createContext(null),w=c.createContext({outlet:null,matches:[],isDataRoute:!1}),ae=c.createContext(null);function Ve(e,t){let{relative:n}=t===void 0?{}:t;N()||x(!1);let{basename:r,navigator:a}=c.useContext(L),{hash:l,pathname:i,search:o}=oe(e,{relative:n}),s=i;return r!=="/"&&(s=i==="/"?r:b([r,i])),a.createHref({pathname:s,search:o,hash:l})}function N(){return c.useContext(j)!=null}function B(){return N()||x(!1),c.useContext(j).location}function le(e){c.useContext(L).static||c.useLayoutEffect(e)}function ie(){let{isDataRoute:e}=c.useContext(w);return e?tt():De()}function De(){N()||x(!1);let e=c.useContext(V),{basename:t,future:n,navigator:r}=c.useContext(L),{matches:a}=c.useContext(w),{pathname:l}=B(),i=JSON.stringify(te(a,n.v7_relativeSplatPath)),o=c.useRef(!1);return le(()=>{o.current=!0}),c.useCallback(function(u,f){if(f===void 0&&(f={}),!o.current)return;if(typeof u=="number"){r.go(u);return}let h=ne(u,JSON.parse(i),l,f.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:b([t,h.pathname])),(f.replace?r.replace:r.push)(h,f.state,f)},[t,r,i,l,e])}function vt(){let{matches:e}=c.useContext(w),t=e[e.length-1];return t?t.params:{}}function oe(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=c.useContext(L),{matches:a}=c.useContext(w),{pathname:l}=B(),i=JSON.stringify(te(a,r.v7_relativeSplatPath));return c.useMemo(()=>ne(e,JSON.parse(i),l,n==="path"),[e,i,l,n])}function Je(e,t){return ze(e,t)}function ze(e,t,n,r){N()||x(!1);let{navigator:a,static:l}=c.useContext(L),{matches:i}=c.useContext(w),o=i[i.length-1],s=o?o.params:{};o&&o.pathname;let u=o?o.pathnameBase:"/";o&&o.route;let f=B(),h;if(t){var g;let y=typeof t=="string"?S(t):t;u==="/"||(g=y.pathname)!=null&&g.startsWith(u)||x(!1),h=y}else h=f;let d=h.pathname||"/",m=d;if(u!=="/"){let y=u.replace(/^\//,"").split("/");m="/"+d.replace(/^\//,"").split("/").slice(y.length).join("/")}let v=ye(e,{pathname:m}),p=Xe(v&&v.map(y=>Object.assign({},y,{params:Object.assign({},s,y.params),pathname:b([u,a.encodeLocation?a.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?u:b([u,a.encodeLocation?a.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),i,n,r);return t&&p?c.createElement(j.Provider,{value:{location:T({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:R.Pop}},p):p}function He(){let e=et(),t=ke(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return c.createElement(c.Fragment,null,c.createElement("h2",null,"Unexpected Application Error!"),c.createElement("h3",{style:{fontStyle:"italic"}},t),n?c.createElement("pre",{style:a},n):null,null)}const Ke=c.createElement(He,null);class qe extends c.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?c.createElement(w.Provider,{value:this.props.routeContext},c.createElement(ae.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Ge(e){let{routeContext:t,match:n,children:r}=e,a=c.useContext(V);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),c.createElement(w.Provider,{value:t},r)}function Xe(e,t,n,r){var a;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var l;if(!n)return null;if(n.errors)e=n.matches;else if((l=r)!=null&&l.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,o=(a=n)==null?void 0:a.errors;if(o!=null){let f=i.findIndex(h=>h.route.id&&(o==null?void 0:o[h.route.id])!==void 0);f>=0||x(!1),i=i.slice(0,Math.min(i.length,f+1))}let s=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f<i.length;f++){let h=i[f];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&&(u=f),h.route.id){let{loaderData:g,errors:d}=n,m=h.route.loader&&g[h.route.id]===void 0&&(!d||d[h.route.id]===void 0);if(h.route.lazy||m){s=!0,u>=0?i=i.slice(0,u+1):i=[i[0]];break}}}return i.reduceRight((f,h,g)=>{let d,m=!1,v=null,p=null;n&&(d=o&&h.route.id?o[h.route.id]:void 0,v=h.route.errorElement||Ke,s&&(u<0&&g===0?(nt("route-fallback"),m=!0,p=null):u===g&&(m=!0,p=h.route.hydrateFallbackElement||null)));let y=t.concat(i.slice(0,g+1)),C=()=>{let E;return d?E=v:m?E=p:h.route.Component?E=c.createElement(h.route.Component,null):h.route.element?E=h.route.element:E=f,c.createElement(Ge,{match:h,routeC
vendor: 3,750 bytes, lines 19-27
19ontext:{outlet:f,matches:y,isDataRoute:n!=null},children:E})};return n&&(h.route.ErrorBoundary||h.route.errorElement||g===0)?c.createElement(qe,{location:n.location,revalidation:n.revalidation,component:v,error:d,children:C(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):C()},null)}var se=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(se||{}),ue=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}(ue||{});function Qe(e){let t=c.useContext(V);return t||x(!1),t}function Ye(e){let t=c.useContext(Ae);return t||x(!1),t}function Ze(e){let t=c.useContext(w);return t||x(!1),t}function ce(e){let t=Ze(),n=t.matches[t.matches.length-1];return n.route.id||x(!1),n.route.id}function et(){var e;let t=c.useContext(ae),n=Ye(),r=ce();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function tt(){let{router:e}=Qe(se.UseNavigateStable),t=ce(ue.UseNavigateStable),n=c.useRef(!1);return le(()=>{n.current=!0}),c.useCallback(function(a,l){l===void 0&&(l={}),n.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,T({fromRouteId:t},l)))},[e,t])}const K={};function nt(e,t,n){K[e]||(K[e]=!0)}function he(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}const rt="startTransition",q=Y[rt];function gt(e){let{basename:t,children:n,initialEntries:r,initialIndex:a,future:l}=e,i=c.useRef();i.current==null&&(i.current=pe({initialEntries:r,initialIndex:a,v5Compat:!0}));let o=i.current,[s,u]=c.useState({action:o.action,location:o.location}),{v7_startTransition:f}=l||{},h=c.useCallback(g=>{f&&q?q(()=>u(g)):u(g)},[u,f]);return c.useLayoutEffect(()=>o.listen(h),[o,h]),c.useEffect(()=>he(l),[l]),c.createElement(fe,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:o,future:l})}function at(e){x(!1)}function fe(e){let{basename:t="/",children:n=null,location:r,navigationType:a=R.Pop,navigator:l,static:i=!1,future:o}=e;N()&&x(!1);let s=t.replace(/^\/*/,"/"),u=c.useMemo(()=>({basename:s,navigator:l,static:i,future:T({v7_relativeSplatPath:!1},o)}),[s,o,l,i]);typeof r=="string"&&(r=S(r));let{pathname:f="/",search:h="",hash:g="",state:d=null,key:m="default"}=r,v=c.useMemo(()=>{let p=A(f,s);return p==null?null:{location:{pathname:p,search:h,hash:g,state:d,key:m},navigationType:a}},[s,f,h,g,d,m,a]);return v==null?null:c.createElement(L.Provider,{value:u},c.createElement(j.Provider,{children:n,value:v}))}function yt(e){let{children:t,location:n}=e;return Je(W(t),n)}new Promise(()=>{});function W(e,t){t===void 0&&(t=[]);let n=[];return c.Children.forEach(e,(r,a)=>{if(!c.isValidElement(r))return;let l=[...t,a];if(r.type===c.Fragment){n.push.apply(n,W(r.props.children,l));return}r.type!==at&&x(!1),!r.props.index||!r.props.children||x(!1);let i={id:r.props.id||l.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=W(r.props.children,l)),n.push(i)}),n}/**
20* React Router DOM v6.30.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 k(){return k=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},k.apply(this,arguments)}function lt(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,l;for(l=0;l<r.length;l++)a=r[l],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function it(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function ot(e,t){return e.button===0&&(!t||t==="_self")&&!it(e)}function F(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(a=>[n,a]):[[n,r]])},[]))}function st(e,t){let n=F(e);return t&&t.forEach((r,a)=>{n.has(a)||t.getAll(a).forEach(l=>{n.append(a,l)})}),n}const ut=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],ct="6";try{window.__reactRouterVersion=ct}catch{}const ht="startTransition",G=Y[ht];function xt(e){let{basename:t,children:n,future:r,window:a}=e,l=c.useRef();l.current==null&&(l.current=me({window:a,v5Compat:!0}));let i=l.current,[o,s]=c.useState({action:i.action,location:i.location}),{v7_startTransition:u}=r||{},f=c.useCallback(h=>{u&&G?G(()=>s(h)):s(h)},[s,u]);return c.useLayoutEffect(()=>i.listen(f),[i,f]),c.useEffect(()=>he(r),[r]),c.createElement(fe,{basename:t,children:n,location:o.location,navigationType:o.action,navigator:i,future:r})}const ft=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",dt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ct=c.forwardRef(function(t,n){let{onClick:r,relative:a,reloadDocument:l,replace:i,state:o,target:s,to:u,preventScrollReset:f,viewTransition:h}=t,g=lt(t,ut),{basename:d}=c.useContext(L),m,v=!1;if(typeof u=="string"&&dt.test(u)&&(m=u,ft))try{let E=new URL(window.location.href),P=u.startsWith("//")?new URL(E.protocol+u):new URL(u),U=A(P.pathname,d);P.origin===E.origin&&U!=null?u=U+P.search+P.hash:v=!0}catch{}let p=Ve(u,{relative:a}),y=pt(u,{replace:i,state:o,target:s,preventScrollReset:f,relative:a,viewTransition:h});function C(E){r&&r(E),E.defaultPrevented||y(E)}return c.createElement("a",k({},g,{href:m||p,onClick:v||l?r:C,ref:n,target:s}))});var X;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(X||(X={}));var Q;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Q||(Q={}));function pt(e,t){let{target:n,replace:r,state:a,preventScrollReset:l,relative:i,viewTransition:o}=t===void 0?{}:t,s=ie(),u=B(),f=oe(e,{relative:i});return c.useCallback(h=>{if(ot(h,n)){h.preventDefault();let g=r!==void 0?r:I(u)===I(f);s(e,{replace:g,state:a,preventScrollReset:l,relative:i,viewTransition:o})}},[u,s,f,r,a,n,e,l,i,o])}function Et(e){let t=c.useRef(F(e)),n=c.useRef(!1),r=B(),a=c.useMemo(()=>st(r.search,n.current?null:t.current),[r.search]),l=ie(),i=c.useCallback((o,s)=>{const u=F(typeof o=="function"?o(a):o);n.current=!0,l("?"+u,s)},[l,a]);return[a,i]}export{xt as H,Ct as L,gt as M,yt as R,vt as a,ie as b,Et as c,at as d,B 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.