PageSourceSearch

https://app.slinkylayer.ai/assets/vendor-react-DJSp9NgH.js

js slinkylayer.ai collected 2026-10-05 12:38:32 UTC 20,710 bytes, 28 lines download raw bytes

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