PageSourceSearch

https://buy.eset.com/static/dist-h-T5vN1w.js

js eset.com collected 2026-09-24 08:24:30 UTC 19,853 bytes, 1 lines download raw bytes

1import{c as e,n as t}from"./jsx-runtime-DkxrIk4J.js";import{p as n}from"./UrlHelper-DKfc-nhC.js";var r=e(t());n();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)}var a;(function(e){e.Pop=`POP`,e.Push=`PUSH`,e.Replace=`REPLACE`})(a||={});function o(e,t){if(e===!1||e==null)throw Error(t)}function s(e,t){if(!e){typeof console<`u`&&console.warn(t);try{throw Error(t)}catch{}}}function c(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}var u;(function(e){e.data=`data`,e.deferred=`deferred`,e.redirect=`redirect`,e.error=`error`})(u||={});function d(e,t,n){return n===void 0&&(n=`/`),f(e,t,n,!1)}function f(e,t,n,r){let i=w((typeof t==`string`?l(t):t).pathname||`/`,n);if(i==null)return null;let a=p(e);h(a);let o=null;for(let e=0;o==null&&e<a.length;++e){let t=ie(i);o=S(a[e],t,r)}return o}function p(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r=``);let i=(e,i,a)=>{let s={relativePath:a===void 0?e.path||``:a,caseSensitive:e.caseSensitive===!0,childrenIndex:i,route:e};s.relativePath.startsWith(`/`)&&(o(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 c=A([r,s.relativePath]),l=n.concat(s);e.children&&e.children.length>0&&(o(e.index!==!0,`Index routes must not have child routes. Please remove `+(`all child routes from route path "`+c+`".`)),p(e.children,t,l,c)),!(e.path==null&&!e.index)&&t.push({path:c,score:ne(c,e.index),routesMeta:l})};return e.forEach((e,t)=>{var n;if(e.path===``||!((n=e.path)!=null&&n.includes(`?`)))i(e,t);else for(let n of m(e.path))i(e,t,n)}),t}function m(e){let t=e.split(`/`);if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(`?`),a=n.replace(/\?$/,``);if(r.length===0)return i?[a,``]:[a];let o=m(r.join(`/`)),s=[];return s.push(...o.map(e=>e===``?a:[a,e].join(`/`))),i&&s.push(...o),s.map(t=>e.startsWith(`/`)&&t===``?`/`:t)}function h(e){e.sort((e,t)=>e.score===t.score?x(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var g=/^:[\w-]+$/,_=3,v=2,y=1,ee=10,te=-2,b=e=>e===`*`;function ne(e,t){let n=e.split(`/`),r=n.length;return n.some(b)&&(r+=te),t&&(r+=v),n.filter(e=>!b(e)).reduce((e,t)=>e+(g.test(t)?_:t===``?y:ee),r)}function x(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}function S(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,i={},a=`/`,o=[];for(let e=0;e<r.length;++e){let s=r[e],c=e===r.length-1,l=a===`/`?t:t.slice(a.length)||`/`,u=C({path:s.relativePath,caseSensitive:s.caseSensitive,end:c},l),d=s.route;if(!u&&c&&n&&!r[r.length-1].route.index&&(u=C({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},l)),!u)return null;
1Object.assign(i,u.params),o.push({params:i,pathname:A([a,u.pathname]),pathnameBase:ce(A([a,u.pathnameBase])),route:d}),u.pathnameBase!==`/`&&(a=A([a,u.pathnameBase]))}return o}function C(e,t){typeof e==`string`&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=re(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,`$1`),s=i.slice(1);return{params:r.reduce((e,t,n)=>{let{paramName:r,isOptional:i}=t;if(r===`*`){let e=s[n]||``;o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,`$1`)}let c=s[n];return i&&!c?e[r]=void 0:e[r]=(c||``).replace(/%2F/g,`/`),e},{}),pathname:a,pathnameBase:o,pattern:e}}function re(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),s(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=[],i=`^`+e.replace(/\/*\*?$/,``).replace(/^\/*/,`/`).replace(/[\\.*+^${}|()[\]]/g,`\\$&`).replace(/\/:([\w-]+)(\?)?/g,(e,t,n)=>(r.push({paramName:t,isOptional:n!=null}),n?`/?([^\\/]+)?`:`/([^\\/]+)`));return e.endsWith(`*`)?(r.push({paramName:`*`}),i+=e===`*`||e===`/*`?`(.*)$`:`(?:\\/(.+)|\\/*)$`):n?i+=`\\/*$`:e!==``&&e!==`/`&&(i+=`(?:(?=\\/|$))`),[new RegExp(i,t?void 0:`i`),r]}function ie(e){try{return e.split(`/`).map(e=>decodeURIComponent(e).replace(/\//g,`%2F`)).join(`/`)}catch(t){return s(!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)||`/`}var ae=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,oe=e=>ae.test(e);function se(e,t){t===void 0&&(t=`/`);let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?l(e):e,a;if(n)if(oe(n))a=n;else{if(n.includes(`//`)){let e=n;n=n.replace(/\/\/+/g,`/`),s(!1,`Pathnames cannot have embedded double slashes - normalizing `+(e+` -> `+n))}a=n.startsWith(`/`)?T(n.substring(1),`/`):T(n,t)}else a=t;return{pathname:a,search:le(r),hash:ue(i)}}function T(e,t){let n=t.replace(/\/+$/,``).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function E(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 D(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function O(e,t){let n=D(e);return t?n.map((e,t)=>t===n.length-1?e.pathname:e.pathnameBase):n.map(e=>e.pathnameBase)}function k(e,t,n,r){r===void 0&&(r=!1);let a;typeof e==`string`?a=l(e):(a=i({},e),o(!a.pathname||!a.pathname.includes(`?`),E(`?`,`pathname`,`search`,a)),o(!a.pathname||!a.pathname.includes(`#`),E(`#`,`pathname`,`hash`,a)),o(!a.search||!a.search.includes(`#`),E(`#`,`search`,`hash`,a)));let s=e===``||a.pathname===``,c=s?`/`:a.pathname,u;if(c==null)u=n;else{let e=t.length-1;if(!r&&c.startsWith(`..`)){let t=c.split(`/`);for(;t[0]===`..`;)t.shift(),--e;a.pathname=t.join(`/`)}u=e>=0?t[e]:`/`}let d=se(a,u),f=c&&c!==`/`&&c.endsWith(`/`),p=(s||c===`.`)&&n.endsWith(`/`);return!d.pathname.endsWith(`/`)&&(f||p)&&(d.pathname+=`/`),d}var A=e=>e.join(`/`).replace(/\/\/+/g,`/`),ce=e=>e.replace(/\/+$/,``).replace(/^\/*/,`/`),le=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,ue=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e;function de(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.internal==`boolean`&&`data`in e}var j=[`post`,`put`,`patch`,`delete`];new Set(j);var fe=[`get`,...j];new Set(fe);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)}var N=r.createContext(null),pe=r.createContext(null),P=r.createContext(null),F=r.createContext(null),I=r.createContext({outlet:null,matches:[],isDataRoute:!1}),L=r.createContext(null);function R(e,t){let{relative:n}=t===void 0?{}:t;!z()&&o(!1);let{basename:i,navigator:a}=r.useContext(P),{hash:s,pathname:c,search:l}=U(e,{relative:n}),u=c;return i!==`/`&&(u=c===`/`?i:A([i,c])),a.createHref({pathname:u,search:l,hash:s})}function z(){return r.useContext(F)!=null}function B(){return!z()&&o(!1),r.useContext(F).location}function me(){return r.useContext(F).navigationType}function V(e){r.useContext(P).static||r.useLayoutEffect(e)}function H(){let{isDataRoute:e}=r.useContext(I);return e?Oe():he()}function he(){!z()&&o(!1);let e=r.useContext(N),{basename:t,future:n,navigator:i}=r.useContext(P),{matches:a}=r.useContext(I),{pathname:s}=B(),c=JSON.stringify(O(a,n.v7_relativeSplatPath)),l=r.useRef(!1);return V(()=>{l.current=!0}),r.useCallback(function(n,r){if(r===void 0&&(r={}),!l.current)return;
1if(typeof n==`number`){i.go(n);return}let a=k(n,JSON.parse(c),s,r.relative===`path`);e==null&&t!==`/`&&(a.pathname=a.pathname===`/`?t:A([t,a.pathname])),(r.replace?i.replace:i.push)(a,r.state,r)},[t,i,c,s,e])}function ge(){let{matches:e}=r.useContext(I),t=e[e.length-1];return t?t.params:{}}function U(e,t){let{relative:n}=t===void 0?{}:t,{future:i}=r.useContext(P),{matches:a}=r.useContext(I),{pathname:o}=B(),s=JSON.stringify(O(a,i.v7_relativeSplatPath));return r.useMemo(()=>k(e,JSON.parse(s),o,n===`path`),[e,s,o,n])}function _e(e,t){return ve(e,t)}function ve(e,t,n,i){!z()&&o(!1);let{navigator:s}=r.useContext(P),{matches:c}=r.useContext(I),u=c[c.length-1],f=u?u.params:{};u&&u.pathname;let p=u?u.pathnameBase:`/`;u&&u.route;let m=B(),h;if(t){let e=typeof t==`string`?l(t):t;!(p===`/`||e.pathname?.startsWith(p))&&o(!1),h=e}else h=m;let g=h.pathname||`/`,_=g;if(p!==`/`){let e=p.replace(/^\//,``).split(`/`);_=`/`+g.replace(/^\//,``).split(`/`).slice(e.length).join(`/`)}let v=d(e,{pathname:_}),y=Ce(v&&v.map(e=>Object.assign({},e,{params:Object.assign({},f,e.params),pathname:A([p,s.encodeLocation?s.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?p:A([p,s.encodeLocation?s.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),c,n,i);return t&&y?r.createElement(F.Provider,{value:{location:M({pathname:`/`,search:``,hash:``,state:null,key:`default`},h),navigationType:a.Pop}},y):y}function ye(){let e=De(),t=de(e)?e.status+` `+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null;return r.createElement(r.Fragment,null,r.createElement(`h2`,null,`Unexpected Application Error!`),r.createElement(`h3`,{style:{fontStyle:`italic`}},t),n?r.createElement(`pre`,{style:{padding:`0.5rem`,backgroundColor:`rgba(200,200,200, 0.5)`}},n):null,null)}var be=r.createElement(ye,null),xe=class extends r.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!==`idle`&&e.revalidation===`idle`?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error===void 0?t.error:e.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error(`React Router caught the following error during render`,e,t)}render(){return this.state.error===void 0?this.props.children:r.createElement(I.Provider,{value:this.props.routeContext},r.createElement(L.Provider,{value:this.state.error,children:this.props.component}))}};function Se(e){let{routeContext:t,match:n,children:i}=e,a=r.useContext(N);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),r.createElement(I.Provider,{value:t},i)}function Ce(e,t,n,i){if(t===void 0&&(t=[]),n===void 0&&(n=null),i===void 0&&(i=null),e==null){var a;if(!n)return null;if(n.errors)e=n.matches;else if((a=i)!=null&&a.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,c=n?.errors;if(c!=null){let e=s.findIndex(e=>e.route.id&&c?.[e.route.id]!==void 0);!(e>=0)&&o(!1),s=s.slice(0,Math.min(s.length,e+1))}let l=!1,u=-1;if(n&&i&&i.v7_partialHydration)for(let e=0;e<s.length;e++){let t=s[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(u=e),t.route.id){let{loaderData:e,errors:r}=n,i=t.route.loader&&e[t.route.id]===void 0&&(!r||r[t.route.id]===void 0);if(t.route.lazy||i){l=!0,s=u>=0?s.slice(0,u+1):[s[0]];break}}}return s.reduceRight((e,i,a)=>{let o,d=!1,f=null,p=null;n&&(o=c&&i.route.id?c[i.route.id]:void 0,f=i.route.errorElement||be,l&&(u<0&&a===0?(ke(`route-fallback`,!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,p=null):u===a&&(d=!0,p=i.route.hydrateFallbackElement||null)));let m=t.concat(s.slice(0,a+1)),h=()=>{let t;return t=o?f:d?p:i.route.Component?r.createElement(i.route.Component,null):i.route.element?i.route.element:e,r.createElement(Se,{match:i,routeContext:{outlet:e,matches:m,isDataRoute:n!=null},children:t})};return n&&(i.route.ErrorBoundary||i.route.errorElement||a===0)?r.createElement(xe,{location:n.location,revalidation:n.revalidation,component:f,error:o,children:h(),routeC
1ontext:{outlet:null,matches:m,isDataRoute:!0}}):h()},null)}var W=function(e){return e.UseBlocker=`useBlocker`,e.UseRevalidator=`useRevalidator`,e.UseNavigateStable=`useNavigate`,e}(W||{}),G=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}(G||{});function we(e){let t=r.useContext(N);return!t&&o(!1),t}function Te(e){let t=r.useContext(pe);return!t&&o(!1),t}function Ee(e){let t=r.useContext(I);return!t&&o(!1),t}function K(e){let t=Ee(e),n=t.matches[t.matches.length-1];return!n.route.id&&o(!1),n.route.id}function De(){let e=r.useContext(L),t=Te(G.UseRouteError),n=K(G.UseRouteError);return e===void 0?t.errors?.[n]:e}function Oe(){let{router:e}=we(W.UseNavigateStable),t=K(G.UseNavigateStable),n=r.useRef(!1);return V(()=>{n.current=!0}),r.useCallback(function(r,i){i===void 0&&(i={}),n.current&&(typeof r==`number`?e.navigate(r):e.navigate(r,M({fromRouteId:t},i)))},[e,t])}var q={};function ke(e,t,n){!t&&!q[e]&&(q[e]=!0)}var J=(e,t,n)=>(``+t+("You can use the `"+e+"` future flag to opt-in early. ")+(`For more information, see `+n+`.`),void 0);function Ae(e,t){e?.v7_startTransition===void 0&&J(`v7_startTransition`,"React Router will begin wrapping state updates in `React.startTransition` in v7",`https://reactrouter.com/v6/upgrading/future#v7_starttransition`),e?.v7_relativeSplatPath===void 0&&(!t||t.v7_relativeSplatPath===void 0)&&J(`v7_relativeSplatPath`,`Relative route resolution within Splat routes is changing in v7`,`https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath`),t&&(t.v7_fetcherPersist===void 0&&J(`v7_fetcherPersist`,`The persistence behavior of fetchers is changing in v7`,`https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist`),t.v7_normalizeFormMethod===void 0&&J(`v7_normalizeFormMethod`,"Casing of `formMethod` fields is being normalized to uppercase in v7",`https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod`),t.v7_partialHydration===void 0&&J(`v7_partialHydration`,"`RouterProvider` hydration behavior is changing in v7",`https://reactrouter.com/v6/upgrading/future#v7_partialhydration`),t.v7_skipActionErrorRevalidation===void 0&&J(`v7_skipActionErrorRevalidation`,"The revalidation behavior after 4xx/5xx `action` responses is changing in v7",`https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation`))}function je(e){let{to:t,replace:n,state:i,relative:a}=e;!z()&&o(!1);let{future:s,static:c}=r.useContext(P),{matches:l}=r.useContext(I),{pathname:u}=B(),d=H(),f=k(t,O(l,s.v7_relativeSplatPath),u,a===`path`),p=JSON.stringify(f);return r.useEffect(()=>d(JSON.parse(p),{replace:n,state:i,relative:a}),[d,p,a,n,i]),null}function Y(e){o(!1)}function Me(e){let{basename:t=`/`,children:n=null,location:i,navigationType:s=a.Pop,navigator:c,static:u=!1,future:d}=e;z()&&o(!1);let f=t.replace(/^\/*/,`/`),p=r.useMemo(()=>({basename:f,navigator:c,static:u,future:M({v7_relativeSplatPath:!1},d)}),[f,d,c,u]);typeof i==`string`&&(i=l(i));let{pathname:m=`/`,search:h=``,hash:g=``,state:_=null,key:v=`default`}=i,y=r.useMemo(()=>{let e=w(m,f);return e==null?null:{location:{pathname:e,search:h,hash:g,state:_,key:v},navigationType:s}},[f,m,h,g,_,v,s]);return y==null?null:r.createElement(P.Provider,{value:p},r.createElement(F.Provider,{children:n,value:y}))}function Ne(e){let{children:t,location:n}=e;return _e(X(t),n)}var Pe=function(e){return e[e.pending=0]=`pending`,e[e.success=1]=`success`,e[e.error=2]=`error`,e}(Pe||{});new Promise(()=>{}),r.Component;function X(e,t){t===void 0&&(t=[]);let n=[];return r.Children.forEach(e,(e,i)=>{if(!r.isValidElement(e))return;let a=[...t,i];if(e.type===r.Fragment){n.push.apply(n,X(e.props.children,a));return}e.type!==Y&&o(!1),!(!e.props.index||!e.props.children)&&o(!1);let s={id:e.props.id||a.join(`-`),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:e.props.ErrorBoundary!=null||e.props.errorElement!=null,
1shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(s.children=X(e.props.children,a)),n.push(s)}),n}function Z(){return Z=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},Z.apply(this,arguments)}function Fe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Q(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Ie(e,t){return e.button===0&&(!t||t===`_self`)&&!Q(e)}var Le=[`onClick`,`relative`,`reloadDocument`,`replace`,`state`,`target`,`to`,`preventScrollReset`,`viewTransition`],Re=`6`;try{window.__reactRouterVersion=Re}catch{}var $=r.startTransition;function ze(e){let{basename:t,children:n,future:i,history:a}=e,[o,s]=r.useState({action:a.action,location:a.location}),{v7_startTransition:c}=i||{},l=r.useCallback(e=>{c&&$?$(()=>s(e)):s(e)},[s,c]);return r.useLayoutEffect(()=>a.listen(l),[a,l]),r.useEffect(()=>Ae(i),[i]),r.createElement(Me,{basename:t,children:n,location:o.location,navigationType:o.action,navigator:a,future:i})}var Be=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,Ve=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,He=r.forwardRef(function(e,t){let{onClick:n,relative:i,reloadDocument:a,replace:o,state:s,target:c,to:l,preventScrollReset:u,viewTransition:d}=e,f=Fe(e,Le),{basename:p}=r.useContext(P),m,h=!1;if(typeof l==`string`&&Ve.test(l)&&(m=l,Be))try{let e=new URL(window.location.href),t=l.startsWith(`//`)?new URL(e.protocol+l):new URL(l),n=w(t.pathname,p);t.origin===e.origin&&n!=null?l=n+t.search+t.hash:h=!0}catch{}let g=R(l,{relative:i}),_=Ge(l,{replace:o,state:s,target:c,preventScrollReset:u,relative:i,viewTransition:d});function v(e){n&&n(e),e.defaultPrevented||_(e)}return r.createElement(`a`,Z({},f,{href:m||g,onClick:h||a?n:v,ref:t,target:c}))}),Ue;(function(e){e.UseScrollRestoration=`useScrollRestoration`,e.UseSubmit=`useSubmit`,e.UseSubmitFetcher=`useSubmitFetcher`,e.UseFetcher=`useFetcher`,e.useViewTransitionState=`useViewTransitionState`})(Ue||={});var We;(function(e){e.UseFetcher=`useFetcher`,e.UseFetchers=`useFetchers`,e.UseScrollRestoration=`useScrollRestoration`})(We||={});function Ge(e,t){let{target:n,replace:i,state:a,preventScrollReset:o,relative:s,viewTransition:l}=t===void 0?{}:t,u=H(),d=B(),f=U(e,{relative:s});return r.useCallback(t=>{Ie(t,n)&&(t.preventDefault(),u(e,{replace:i===void 0?c(d)===c(f):i,state:a,preventScrollReset:o,relative:s,viewTransition:l}))},[d,u,f,i,a,n,e,o,s,l])}export{Ne as a,H as c,d,Y as i,me as l,He as n,X as o,je as r,B as s,ze as t,ge 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.