1import{r as t,j as p}from"./jsx-runtime-Dt5Dsy05.js";import{r as y}from"./index-DHMLga5h.js";import{E as g,t as E,v as F,w as $,x as S}from"./index-CTC0mza8.js";import{R as k}from"./index-BO5bs5xE.js";import{d as O,i as P,e as H,f as j,s as B,g as D,h as L,j as z,R as A,k as T}from"./components-CshaTWJO.js";/** 2 * @remix-run/react v2.10.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 I(l){if(!l)return null;let x=Object.entries(l),s={};for(let[i,e]of x)if(e&&e.__type==="RouteErrorResponse")s[i]=new g(e.status,e.statusText,e.data,e.internal===!0);else if(e&&e.__type==="Error"){if(e.__subType){let o=window[e.__subType];if(typeof o=="function")try{let u=new o(e.message);u.stack=e.stack,s[i]=u}catch{}}if(s[i]==null){let o=new Error(e.message);o.stack=e.stack,s[i]=o}}else s[i]=e;return s}/** 11 * @remix-run/react v2.10.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 */let n,r,c=!1;let R,J=new Promise(l=>{R=l}).catch(()=>{});function W(l){if(!r){let o=window.__remixContext.url,u=window.location.pathname;if(o!==u&&!window.__remixContext.isSpaMode){let d=`Initial URL (${o}) does not match URL at time of hydration (${u}), reloading page...`;return console.error(d),window.location.reload(),t.createElement(t.Fragment,null)}if(window.__remixContext.future.unstable_singleFetch){if(!n){let d=window.__remixContext.stream;P(d,"No stream found for single fetch decoding"),window.__remixContext.stream=void 0,n=H(d,window).then(_=>{window.__remixContext.state=_.value,n.value=!0}).catch(_=>{n.error=_})}if(n.error)throw n.error;if(!n.value)throw n}let M=j(window.__remixManifest.routes,window.__remixRouteModules,window.__remixContext.state,window.__remixContext.future,window.__remixContext.isSpaMode),a;if(!window.__remixContext.isSpaMode){a={...window.__remixContext.state,loaderData:{...window.__remixContext.state.loaderData}};let d=E(M,window.location,window.__remixContext.basename);if(d)for(let _ of d){let m=_.route.id,f=window.__remixRouteModules[m],w=window.__remixManifest.routes[m];f&&B(w,f,window.__remixContext.isSpaMode)&&(f.HydrateFallback||!w.hasLoader)?a.loaderData[m]=void 0:w&&!w.hasLoader&&(a.loaderData[m]=null)}a&&a.errors&&(a.errors=I(a.errors))}let{enabled:b,patchRoutesOnMiss:C}=D(window.__remixManifest,window.__remixRouteModules,window.__remixContext.future,window.__remixContext.isSpaMode,window.__remixContext.basename);r=F({routes:M,history:$(),basename:window.__remixContext.basename,future:{v7_normalizeFormMethod:!0,v7_fetcherPersist:window.__remixContext.future.v3_fetcherPersist,v7_partialHydration:!0,v7_prependBasename:!0,v7_relativeSplatPath:window.__remixContext.future.v3_relativeSplatPath,unstable_skipActionErrorRevalidation:window.__remixContext.future.unstable_singleFetch===!0},hydrationData:a,mapRouteProperties:S,unstable_dataStrategy:window.__remixContext.future.unstable_singleFetch?L(window.__remixManifest,window.__remixRouteModules):void 0,...b?{unstable_patchRoutesOnMiss:C}:{}}),r.state.initialized&&(c=!0,r.initialize()),r.createRoutesForHMR=O,window.__remixRouter=r,R&&R(r)}let[x,s]=t.useState(void 0),[i,e]=t.useState(r.state.location);return t.useLayoutEffect(()=>{c||(c=!0,r.initialize())},[]),t.useLayoutEffect(()=>r.subscribe(o=>{o.location!==i&&e(o.location)}),[i]),z(r,window.__remixManifest,window.__remixRouteModules,window.__remixContext.future,window.__remixContext.isSpaMode),t.createElement(t.Fragment,null,t.createElement(A.Provider,{value:{manifest:window.__remixManifest,routeModules:window.__remixRouteModules,future:window.__remixContext.future,criticalCss:x,isSpaMode:window.__remixContext.isSpaMode}},t.createElement(T,{location:i},t.createElement(k,{router:r,fallbackElement:null,future:{v7_startTransition:!0}}))),window.__remixContext.future.unstable_singleFetch?t.createElement(t.Fragment,null):null)}var v,h=y;h.createRoot,v=h.hydrateRoot;t.startTransition(()=>{v(document,p.jsx(t.StrictMode,{children:p.jsx(W,{})}))});
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.