PageSourceSearch

https://securoxen.io/assets/react-vendor-CuqwDvgQ.js

js securoxen.io collected 2026-10-02 01:57:53 UTC 47,967 bytes, 3 lines download raw bytes

vendor: 4,201 bytes, line 1
1function lt(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const a in n)if(a!=="default"&&!(a in e)){const o=Object.getOwnPropertyDescriptor(n,a);o&&Object.defineProperty(e,a,o.get?o:{enumerable:!0,get:()=>n[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var qr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Me(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var se={exports:{}},w={};var Pe;function st(){if(Pe)return w;Pe=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),l=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),i=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),y=Symbol.iterator;function v(u){return u===null||typeof u!="object"?null:(u=y&&u[y]||u["@@iterator"],typeof u=="function"?u:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,g={};function R(u,h,_){this.props=u,this.context=h,this.refs=g,this.updater=_||x}R.prototype.isReactComponent={},R.prototype.setState=function(u,h){if(typeof u!="object"&&typeof u!="function"&&u!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,u,h,"setState")},R.prototype.forceUpdate=function(u){this.updater.enqueueForceUpdate(this,u,"forceUpdate")};function m(){}m.prototype=R.prototype;function S(u,h,_){this.props=u,this.context=h,this.refs=g,this.updater=_||x}var k=S.prototype=new m;k.constructor=S,E(k,R.prototype),k.isPureReactComponent=!0;var $=Array.isArray;function U(){}var b={H:null,A:null,T:null,S:null},j=Object.prototype.hasOwnProperty;function H(u,h,_){var C=_.ref;return{$$typeof:e,type:u,key:h,ref:C!==void 0?C:null,props:_}}function z(u,h){return H(u.type,h,u.props)}function ue(u){return typeof u=="object"&&u!==null&&u.$$typeof===e}function nt(u){var h={"=":"=0",":":"=2"};return"$"+u.replace(/[=:]/g,function(_){return h[_]})}var xe=/\/+/g;function le(u,h){return typeof u=="object"&&u!==null&&u.key!=null?nt(""+u.key):h.toString(36)}function at(u){switch(u.status){case"fulfilled":return u.value;case"rejected":throw u.reason;default:switch(typeof u.status=="string"?u.then(U,U):(u.status="pending",u.then(function(h){u.status==="pending"&&(u.status="fulfilled",u.value=h)},function(h){u.status==="pending"&&(u.status="rejected",u.reason=h)})),u.status){case"fulfilled":return u.value;case"rejected":throw u.reason}}throw u}function q(u,h,_,C,P){var T=typeof u;(T==="undefined"||T==="boolean")&&(u=null);var L=!1;if(u===null)L=!0;else switch(T){case"bigint":case"string":case"number":L=!0;break;case"object":switch(u.$$typeof){case e:case t:L=!0;break;case d:return L=u._init,q(L(u._payload),h,_,C,P)}}if(L)return P=P(u),L=C===""?"."+le(u,0):C,$(P)?(_="",L!=null&&(_=L.replace(xe,"$&/")+"/"),q(P,h,_,"",function(ut){return ut})):P!=null&&(ue(P)&&(P=z(P,_+(P.key==null||u&&u.key===P.key?"":(""+P.key).replace(xe,"$&/")+"/")+L)),h.push(P)),1;L=0;var F=C===""?".":C+":";if($(u))for(var N=0;N<u.length;N++)C=u[N],T=F+le(C,N),L+=q(C,h,_,T,P);else if(N=v(u),typeof N=="function")for(u=N.call(u),N=0;!(C=u.next()).done;)C=C.value,T=F+le(C,N++),L+=q(C,h,_,T,P);else if(T==="object"){if(typeof u.then=="function")return q(at(u),h,_,C,P);throw h=String(u),Error("Objects are not valid as a React child (found: "+(h==="[object Object]"?"object with keys {"+Object.keys(u).join(", ")+"}":h)+"). If you meant to render a collection of children, use an array instead.")}return L}function ee(u,h,_){if(u==null)return u;var C=[],P=0;return q(u,C,"","",function(T){return h.call(_,T,P++)}),C}function ot(u){if(u._status===-1){var h=u._result;h=h(),h.then(function(_){(u._status===0||u._status===-1)&&(u._status=1,u._result=_)},function(_){(u._status===0||u._status===-1)&&(u._status=2,u._result=_)}
vendor: 5,511 bytes, line 1
1),u._status===-1&&(u._status=0,u._result=h)}if(u._status===1)return u._result.default;throw u._result}var be=typeof reportError=="function"?reportError:function(u){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var h=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof u=="object"&&u!==null&&typeof u.message=="string"?String(u.message):String(u),error:u});if(!window.dispatchEvent(h))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",u);return}},it={map:ee,forEach:function(u,h,_){ee(u,function(){h.apply(this,arguments)},_)},count:function(u){var h=0;return ee(u,function(){h++}),h},toArray:function(u){return ee(u,function(h){return h})||[]},only:function(u){if(!ue(u))throw Error("React.Children.only expected to receive a single React element child.");return u}};return w.Activity=p,w.Children=it,w.Component=R,w.Fragment=r,w.Profiler=a,w.PureComponent=S,w.StrictMode=n,w.Suspense=s,w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=b,w.__COMPILER_RUNTIME={__proto__:null,c:function(u){return b.H.useMemoCache(u)}},w.cache=function(u){return function(){return u.apply(null,arguments)}},w.cacheSignal=function(){return null},w.cloneElement=function(u,h,_){if(u==null)throw Error("The argument must be a React element, but you passed "+u+".");var C=E({},u.props),P=u.key;if(h!=null)for(T in h.key!==void 0&&(P=""+h.key),h)!j.call(h,T)||T==="key"||T==="__self"||T==="__source"||T==="ref"&&h.ref===void 0||(C[T]=h[T]);var T=arguments.length-2;if(T===1)C.children=_;else if(1<T){for(var L=Array(T),F=0;F<T;F++)L[F]=arguments[F+2];C.children=L}return H(u.type,P,C)},w.createContext=function(u){return u={$$typeof:l,_currentValue:u,_currentValue2:u,_threadCount:0,Provider:null,Consumer:null},u.Provider=u,u.Consumer={$$typeof:o,_context:u},u},w.createElement=function(u,h,_){var C,P={},T=null;if(h!=null)for(C in h.key!==void 0&&(T=""+h.key),h)j.call(h,C)&&C!=="key"&&C!=="__self"&&C!=="__source"&&(P[C]=h[C]);var L=arguments.length-2;if(L===1)P.children=_;else if(1<L){for(var F=Array(L),N=0;N<L;N++)F[N]=arguments[N+2];P.children=F}if(u&&u.defaultProps)for(C in L=u.defaultProps,L)P[C]===void 0&&(P[C]=L[C]);return H(u,T,P)},w.createRef=function(){return{current:null}},w.forwardRef=function(u){return{$$typeof:f,render:u}},w.isValidElement=ue,w.lazy=function(u){return{$$typeof:d,_payload:{_status:-1,_result:u},_init:ot}},w.memo=function(u,h){return{$$typeof:i,type:u,compare:h===void 0?null:h}},w.startTransition=function(u){var h=b.T,_={};b.T=_;try{var C=u(),P=b.S;P!==null&&P(_,C),typeof C=="object"&&C!==null&&typeof C.then=="function"&&C.then(U,be)}catch(T){be(T)}finally{h!==null&&_.types!==null&&(h.types=_.types),b.T=h}},w.unstable_useCacheRefresh=function(){return b.H.useCacheRefresh()},w.use=function(u){return b.H.use(u)},w.useActionState=function(u,h,_){return b.H.useActionState(u,h,_)},w.useCallback=function(u,h){return b.H.useCallback(u,h)},w.useContext=function(u){return b.H.useContext(u)},w.useDebugValue=function(){},w.useDeferredValue=function(u,h){return b.H.useDeferredValue(u,h)},w.useEffect=function(u,h){return b.H.useEffect(u,h)},w.useEffectEvent=function(u){return b.H.useEffectEvent(u)},w.useId=function(){return b.H.useId()},w.useImperativeHandle=function(u,h,_){return b.H.useImperativeHandle(u,h,_)},w.useInsertionEffect=function(u,h){return b.H.useInsertionEffect(u,h)},w.useLayoutEffect=function(u,h){return b.H.useLayoutEffect(u,h)},w.useMemo=function(u,h){return b.H.useMemo(u,h)},w.useOptimistic=function(u,h){return b.H.useOptimistic(u,h)},w.useReducer=function(u,h,_){return b.H.useReducer(u,h,_)},w.useRef=function(u){return b.H.useRef(u)},w.useState=function(u){return b.H.useState(u)},w.useSyncExternalStore=function(u,h,_){return b.H.useSyncExternalStore(u,h,_)},w.useTransition=function(){return b.H.useTransition()},w.version="19.2.4",w}var Te;function Ue(){return Te||(Te=1,se.exports=st()),se.exports}var c=Ue();const ct=Me(c),Gr=lt({__proto__:null,default:ct},[c]);var ce={exports:{}},A={};var Le;function ft(){if(Le)return A;Le=1;var e=Ue();function t(s){var i="https://react.dev/errors/"+s;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var d=2;d<arguments.length;d++)i+="&args[]="+encodeURIComponent(arguments[d])}return"Minified React error #"+s+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var n={d:{f:r,r:function(){throw Error(t(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for("react.portal");function o(s,i,d){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:p==null?null:""+p,children:s,containerInfo:i,implementation:d}}var l=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function f(s,i){if(s==="font")return"";if(typeof i=="string")return i==="use-credentials"?i:""}return A.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=n,A.createPortal=function(s,i){var d=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)throw Error(t(299));return o(s,i,null,d)},A.flushSync=function(s){var i=l.T,d=n.p;try{if(l.T=null,n.p=2,s)return s()}finally{l.T=i,n.p=d,n.d.f()}},A.preconnect=function(s,i){typeof s=="string"&&(i?(i=i.crossOrigin,i=typeof i=="string"?i==="use-credentials"?i:"":void 0):i=null,n.d.C(s,i))},A.prefetchDNS=function(s){typeof s=="string"&&n.d.D(s)}
1,A.preinit=function(s,i){if(typeof s=="string"&&i&&typeof i.as=="string"){var d=i.as,p=f(d,i.crossOrigin),y=typeof i.integrity=="string"?i.integrity:void 0,v=typeof i.fetchPriority=="string"?i.fetchPriority:void 0;d==="style"?n.d.S(s,typeof i.precedence=="string"?i.precedence:void 0,{crossOrigin:p,integrity:y,fetchPriority:v}):d==="script"&&n.d.X(s,{crossOrigin:p,integrity:y,fetchPriority:v,nonce:typeof i.nonce=="string"?i.nonce:void 0})}},A.preinitModule=function(s,i){if(typeof s=="string")if(typeof i=="object"&&i!==null){if(i.as==null||i.as==="script"){var d=f(i.as,i.crossOrigin);n.d.M(s,{crossOrigin:d,integrity:typeof i.integrity=="string"?i.integrity:void 0,nonce:typeof i.nonce=="string"?i.nonce:void 0})}}else i==null&&n.d.M(s)},A.preload=function(s,i){if(typeof s=="string"&&typeof i=="object"&&i!==null&&typeof i.as=="string"){var d=i.as,p=f(d,i.crossOrigin);n.d.L(s,d,{crossOrigin:p,integrity:typeof i.integrity=="string"?i.integrity:void 0,nonce:typeof i.nonce=="string"?i.nonce:void 0,type:typeof i.type=="string"?i.type:void 0,fetchPriority:typeof i.fetchPriority=="string"?i.fetchPriority:void 0,referrerPolicy:typeof i.referrerPolicy=="string"?i.referrerPolicy:void 0,imageSrcSet:typeof i.imageSrcSet=="string"?i.imageSrcSet:void 0,imageSizes:typeof i.imageSizes=="string"?i.imageSizes:void 0,media:typeof i.media=="string"?i.media:void 0})}},A.preloadModule=function(s,i){if(typeof s=="string")if(i){var d=f(i.as,i.crossOrigin);n.d.m(s,{as:typeof i.as=="string"&&i.as!=="script"?i.as:void 0,crossOrigin:d,integrity:typeof i.integrity=="string"?i.integrity:void 0})}else n.d.m(s)},A.requestFormReset=function(s){n.d.r(s)},A.unstable_batchedUpdates=function(s,i){return s(i)},A.useFormState=function(s,i,d){return l.H.useFormState(s,i,d)},A.useFormStatus=function(){return l.H.useHostTransitionStatus()},A.version="19.2.4",A}var Oe;function dt(){if(Oe)return ce.exports;Oe=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch{}}return e(),ce.exports=ft(),ce.exports}var $e="popstate";function pt(e={}){function t(n,a){let{pathname:o,search:l,hash:f}=n.location;return he("",{pathname:o,search:l,hash:f},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function r(n,a){return typeof a=="string"?a:X(a)}return mt(t,r,null,e)}function O(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function I(e,t){if(!e)try{throw new Error(t)}catch{}}function ht(){return Math.random().toString(36).substring(2,10)}function ke(e,t){return{usr:e.state,key:e.key,idx:t}}function he(e,t,r=null,n){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?G(t):t,state:r,key:t&&t.key||n||ht()}}function X({pathname:e="/",search:t="",hash:r=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function G(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substring(n),e=e.substring(0,n)),e&&(t.pathname=e)}return t}function mt(e,t,r,n={}){let{window:a=document.defaultView,v5Compat:o=!1}=n,l=a.history,f="POP",s=null,i=d();i==null&&(i=0,l.replaceState({...l.state,idx:i},""));function d(){return(l.state||{idx:null}).idx}function p(){f="POP";let g=d(),R=g==null?null:g-i;i=g,s&&s({action:f,location:E.location,delta:R})}function y(g,R){f="PUSH";let m=he(E.location,g,R);i=d()+1;let S=ke(m,i),k=E.createHref(m);try{l.pushState(S,"",k)}catch($){if($ instanceof DOMException&&$.name==="DataCloneError")throw $;a.location.assign(k)}o&&s&&s({action:f,location:E.location,delta:1})}function v(g,R){f="REPLACE";let m=he(E.location,g,R);i=d();let S=ke(m,i),k=E.createHref(m);l.replaceState(S,"",k),o&&s&&s({action:f,location:E.location,delta:0})}function x(g){return yt(g)}let E={get action(){return f},get location(){return e(a,l)},listen(g){if(s)throw new Error("A history only accepts one active listener");return a.addEventListener($e,p),s=g,()=>{a.removeEventListener($e,p),s=null}},createHref(g){return t(a,g)},createURL:x,encodeLocation(g){let R=x(g);return{pathname:R.pathname,search:R.search,hash:R.hash}},push:y,replace:v,go(g){return l.go(g)}};return E}function yt(e,t=!1){let r="http://localhost";
1typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),O(r,"No window.location.(origin|href) available to create URL");let n=typeof e=="string"?e:X(e);return n=n.replace(/ $/,"%20"),!t&&n.startsWith("//")&&(n=r+n),new URL(n,r)}function He(e,t,r="/"){return gt(e,t,r,!1)}function gt(e,t,r,n){let a=typeof t=="string"?G(t):t,o=W(a.pathname||"/",r);if(o==null)return null;let l=Fe(e);vt(l);let f=null;for(let s=0;f==null&&s<l.length;++s){let i=Lt(o);f=Pt(l[s],i,n)}return f}function Fe(e,t=[],r=[],n="",a=!1){let o=(l,f,s=a,i)=>{let d={relativePath:i===void 0?l.path||"":i,caseSensitive:l.caseSensitive===!0,childrenIndex:f,route:l};if(d.relativePath.startsWith("/")){if(!d.relativePath.startsWith(n)&&s)return;O(d.relativePath.startsWith(n),`Absolute route path "${d.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),d.relativePath=d.relativePath.slice(n.length)}let p=B([n,d.relativePath]),y=r.concat(d);l.children&&l.children.length>0&&(O(l.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${p}".`),Fe(l.children,t,y,p,s)),!(l.path==null&&!l.index)&&t.push({path:p,score:xt(p,l.index),routesMeta:y})};return e.forEach((l,f)=>{if(l.path===""||!l.path?.includes("?"))o(l,f);else for(let s of je(l.path))o(l,f,!0,s)}),t}function je(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,a=r.endsWith("?"),o=r.replace(/\?$/,"");if(n.length===0)return a?[o,""]:[o];let l=je(n.join("/")),f=[];return f.push(...l.map(s=>s===""?o:[o,s].join("/"))),a&&f.push(...l),f.map(s=>e.startsWith("/")&&s===""?"/":s)}function vt(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:bt(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}var Rt=/^:[\w-]+$/,Et=3,wt=2,Ct=1,_t=10,St=-2,Ae=e=>e==="*";function xt(e,t){let r=e.split("/"),n=r.length;return r.some(Ae)&&(n+=St),t&&(n+=wt),r.filter(a=>!Ae(a)).reduce((a,o)=>a+(Rt.test(o)?Et:o===""?Ct:_t),n)}function bt(e,t){return e.length===t.length&&e.slice(0,-1).every((n,a)=>n===t[a])?e[e.length-1]-t[t.length-1]:0}function Pt(e,t,r=!1){let{routesMeta:n}=e,a={},o="/",l=[];for(let f=0;f<n.length;++f){let s=n[f],i=f===n.length-1,d=o==="/"?t:t.slice(o.length)||"/",p=ae({path:s.relativePath,caseSensitive:s.caseSensitive,end:i},d),y=s.route;if(!p&&i&&r&&!n[n.length-1].route.index&&(p=ae({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},d)),!p)return null;
1Object.assign(a,p.params),l.push({params:a,pathname:B([o,p.pathname]),pathnameBase:At(B([o,p.pathnameBase])),route:y}),p.pathnameBase!=="/"&&(o=B([o,p.pathnameBase]))}return l}function ae(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=Tt(e.path,e.caseSensitive,e.end),a=t.match(r);if(!a)return null;let o=a[0],l=o.replace(/(.)\/+$/,"$1"),f=a.slice(1);return{params:n.reduce((i,{paramName:d,isOptional:p},y)=>{if(d==="*"){let x=f[y]||"";l=o.slice(0,o.length-x.length).replace(/(.)\/+$/,"$1")}const v=f[y];return p&&!v?i[d]=void 0:i[d]=(v||"").replace(/%2F/g,"/"),i},{}),pathname:o,pathnameBase:l,pattern:e}}function Tt(e,t=!1,r=!0){I(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 n=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,f,s)=>(n.push({paramName:f,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(n.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),n]}function Lt(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return I(!1,`The URL path "${e}" could not be decoded because it 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 r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}var Ot=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function $t(e,t="/"){let{pathname:r,search:n="",hash:a=""}=typeof e=="string"?G(e):e,o;return r?(r=r.replace(/\/\/+/g,"/"),r.startsWith("/")?o=Ne(r.substring(1),"/"):o=Ne(r,t)):o=t,{pathname:o,search:Nt(n),hash:Dt(a)}}function Ne(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?r.length>1&&r.pop():a!=="."&&r.push(a)}),r.length>1?r.join("/"):"/"}function fe(e,t,r,n){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(n)}].  Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function kt(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function ge(e){let t=kt(e);return t.map((r,n)=>n===t.length-1?r.pathname:r.pathnameBase)}function ve(e,t,r,n=!1){let a;typeof e=="string"?a=G(e):(a={...e},O(!a.pathname||!a.pathname.includes("?"),fe("?","pathname","search",a)),O(!a.pathname||!a.pathname.includes("#"),fe("#","pathname","hash",a)),O(!a.search||!a.search.includes("#"),fe("#","search","hash",a)));let o=e===""||a.pathname==="",l=o?"/":a.pathname,f;if(l==null)f=r;else{let p=t.length-1;if(!n&&l.startsWith("..")){let y=l.split("/");for(;y[0]==="..";)y.shift(),p-=1;a.pathname=y.join("/")}f=p>=0?t[p]:"/"}let s=$t(a,f),i=l&&l!=="/"&&l.endsWith("/"),d=(o||l===".")&&r.endsWith("/");return!s.pathname.endsWith("/")&&(i||d)&&(s.pathname+="/"),s}var B=e=>e.join("/").replace(/\/\/+/g,"/"),At=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Nt=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Dt=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,It=class{constructor(e,t,r,n=!1){this.status=e,this.statusText=t||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function Mt(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function Ut(e){return e.map(t=>t.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Be=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function We(e,t){let r=e;if(typeof r!="string"||!Ot.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let n=r,a=!1;if(Be)try{let o=new URL(window.location.href),l=r.startsWith("//")?new URL(o.protocol+r):new URL(r),f=W(l.pathname,t);l.origin===o.origin&&f!=null?r=f+l.search+l.hash:a=!0}catch{I(!1,`<Link to="${r}">
1 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:n,isExternal:a,to:r}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Ye=["POST","PUT","PATCH","DELETE"];new Set(Ye);var Ht=["GET",...Ye];new Set(Ht);var K=c.createContext(null);K.displayName="DataRouter";var oe=c.createContext(null);oe.displayName="DataRouterState";var Ft=c.createContext(!1),ze=c.createContext({isTransitioning:!1});ze.displayName="ViewTransition";var jt=c.createContext(new Map);jt.displayName="Fetchers";var Bt=c.createContext(null);Bt.displayName="Await";var D=c.createContext(null);D.displayName="Navigation";var Q=c.createContext(null);Q.displayName="Location";var M=c.createContext({outlet:null,matches:[],isDataRoute:!1});M.displayName="Route";var Re=c.createContext(null);Re.displayName="RouteError";var qe="REACT_ROUTER_ERROR",Wt="REDIRECT",Yt="ROUTE_ERROR_RESPONSE";function zt(e){if(e.startsWith(`${qe}:${Wt}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function qt(e){if(e.startsWith(`${qe}:${Yt}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new It(t.status,t.statusText,t.data)}catch{}}function Gt(e,{relative:t}={}){O(V(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:n}=c.useContext(D),{hash:a,pathname:o,search:l}=Z(e,{relative:t}),f=o;return r!=="/"&&(f=o==="/"?r:B([r,o])),n.createHref({pathname:f,search:l,hash:a})}function V(){return c.useContext(Q)!=null}function Y(){return O(V(),"useLocation() may be used only in the context of a <Router> component."),c.useContext(Q).location}var Ge="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Ke(e){c.useContext(D).static||c.useLayoutEffect(e)}function Ee(){let{isDataRoute:e}=c.useContext(M);return e?lr():Kt()}function Kt(){O(V(),"useNavigate() may be used only in the context of a <Router> component.");let e=c.useContext(K),{basename:t,navigator:r}=c.useContext(D),{matches:n}=c.useContext(M),{pathname:a}=Y(),o=JSON.stringify(ge(n)),l=c.useRef(!1);return Ke(()=>{l.current=!0}),c.useCallback((s,i={})=>{if(I(l.current,Ge),!l.current)return;if(typeof s=="number"){r.go(s);return}let d=ve(s,JSON.parse(o),a,i.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:B([t,d.pathname])),(i.replace?r.replace:r.push)(d,i.state,i)},[t,r,o,a,e])}var Vt=c.createContext(null);function Jt(e){let t=c.useContext(M).outlet;return c.useMemo(()=>t&&c.createElement(Vt.Provider,{value:e},t),[t,e])}function Kr(){let{matches:e}=c.useContext(M),t=e[e.length-1];return t?t.params:{}}function Z(e,{relative:t}={}){let{matches:r}=c.useContext(M),{pathname:n}=Y(),a=JSON.stringify(ge(r));return c.useMemo(()=>ve(e,JSON.parse(a),n,t==="path"),[e,a,n,t])}function Xt(e,t){return Ve(e,t)}function Ve(e,t,r,n,a){O(V(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=c.useContext(D),{matches:l}=c.useContext(M),f=l[l.length-1],s=f?f.params:{},i=f?f.pathname:"/",d=f?f.pathnameBase:"/",p=f&&f.route;{let m=p&&p.path||"";Xe(i,!p||m.endsWith("*")||m.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${i}" (under <Route path="${m}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
2
3Please change the parent <Route path="${m}"> to <Route path="${m==="/"?"*":`${m}/*`}">.`)}let y=Y(),v;if(t){let m=typeof t=="string"?G(t):t;O(d==="/"||m.pathname?.startsWith(d),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${d}" but pathname "${m.pathname}" was given in the \`location\` prop.`),v=m}else v=y;let x=v.pathname||"/",E=x;if(d!=="/"){let m=d.replace(/^\//,"").split("/");E="/"+x.replace(/^\//,"").split("/").slice(m.length).join("/")}let g=He(e,{pathname:E});I(p||g!=null,`No routes matched location "${v.pathname}${v.search}${v.hash}" `),I(g==null||g[g.length-1].route.element!==void 0||g[g.length-1].route.Component!==void 0||g[g.length-1].route.lazy!==void 0,`Matched leaf route at location "${v.pathname}${v.search}${v.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let R=rr(g&&g.map(m=>Object.assign({},m,{params:Object.assign({},s,m.params),pathname:B([d,o.encodeLocation?o.encodeLocation(m.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:m.pathname]),pathnameBase:m.pathnameBase==="/"?d:B([d,o.encodeLocation?o.encodeLocation(m.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:m.pathnameBase])})),l,r,n,a);return t&&R?c.createElement(Q.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...v},navigationType:"POP"}},R):R}function Qt(){let e=ur(),t=Mt(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,n="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:n},o={padding:"2px 4px",backgroundColor:n},l=null;return l=c.createElement(c.Fragment,null,c.createElement("p",null,"💿 Hey developer 👋"),c.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",c.createElement("code",{style:o},"ErrorBoundary")," or"," ",c.createElement("code",{style:o},"errorElement")," prop on your route.")),c.createElement(c.Fragment,null,c.createElement("h2",null,"Unexpected Application 
3Error!"),c.createElement("h3",{style:{fontStyle:"italic"}},t),r?c.createElement("pre",{style:a},r):null,l)}var Zt=c.createElement(Qt,null),Je=class extends c.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?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError&&this.props.onError(e,t)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const r=qt(e.digest);r&&(e=r)}let t=e!==void 0?c.createElement(M.Provider,{value:this.props.routeContext},c.createElement(Re.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?c.createElement(er,{error:e},t):t}};Je.contextType=Ft;var de=new WeakMap;function er({children:e,error:t}){let{basename:r}=c.useContext(D);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let n=zt(t.digest);if(n){let a=de.get(t);if(a)throw a;let o=We(n.location,r);if(Be&&!de.get(t))if(o.isExternal||n.reloadDocument)window.location.href=o.absoluteURL||o.to;else{const l=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(o.to,{replace:n.replace}));throw de.set(t,l),l}return c.createElement("meta",{httpEquiv:"refresh",content:`0;url=${o.absoluteURL||o.to}`})}}return e}function tr({routeContext:e,match:t,children:r}){let n=c.useContext(K);return n&&n.static&&n.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=t.route.id),c.createElement(M.Provider,{value:e},r)}function rr(e,t=[],r=null,n=null,a=null){if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let o=e,l=r?.errors;if(l!=null){let d=o.findIndex(p=>p.route.id&&l?.[p.route.id]!==void 0);O(d>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(l).join(",")}`),o=o.slice(0,Math.min(o.length,d+1))}let f=!1,s=-1;if(r)for(let d=0;d<o.length;d++){let p=o[d];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(s=d),p.route.id){let{loaderData:y,errors:v}=r,x=p.route.loader&&!y.hasOwnProperty(p.route.id)&&(!v||v[p.route.id]===void 0);if(p.route.lazy||x){f=!0,s>=0?o=o.slice(0,s+1):o=[o[0]];break}}}let i=r&&n?(d,p)=>{n(d,{location:r.location,params:r.matches?.[0]?.params??{},unstable_pattern:Ut(r.matches),errorInfo:p})}:void 0;return o.reduceRight((d,p,y)=>{let v,x=!1,E=null,g=null;r&&(v=l&&p.route.id?l[p.route.id]:void 0,E=p.route.errorElement||Zt,f&&(s<0&&y===0?(Xe("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),x=!0,g=null):s===y&&(x=!0,g=p.route.hydrateFallbackElement||null)));let R=t.concat(o.slice(0,y+1)),m=()=>{let S;return v?S=E:x?S=g:p.route.Component?S=c.createElement(p.route.Component,null):p.route.element?S=p.route.element:S=d,c.createElement(tr,{match:p,routeContext:{outlet:d,matches:R,isDataRoute:r!=null},children:S})};return r&&(p.route.ErrorBoundary||p.route.errorElement||y===0)?c.createElement(Je,{location:r.location,revalidation:r.revalidation,component:E,error:v,children:m(),routeContext:{outlet:null,matches:R,isDataRoute:!0},onError:i}):m()},null)}function we(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function nr(e){let t=c.useContext(K);return O(t,we(e)),t}function ar(e){let t=c.useContext(oe);return O(t,we(e)),t}function or(e){let t=c.useContext(M);return O(t,we(e)),t}function Ce(e){let t=or(e),r=t.matches[t.matches.length-1];return O(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function ir(){return Ce("useRouteId")}function ur(){let e=c.useContext(Re),t=ar("useRouteError"),r=Ce("useRouteError");return e!==void 0?e:t.errors?.[r]}function lr(){let{router:e}=nr("useNavigate"),t=Ce("useNavigate"),r=c.useRef(!1);return Ke(()=>{r.current=!0}),c.useCallback(async(a,o={})=>{I(r.current,Ge),r.current&&(typeof a=="number"?await e.navigate(a):await e.navigate(a,{fromRouteId:t,...o}))},[e,t])}var De={};function Xe(e,t,r){!t&&!De[e]&&(De[e]=!0,I(!1,r))}c.memo(sr);function sr({routes:e,future:t,state:r,onError:n}){return Ve(e,void 0,r,n,t)}function Vr({to:e,replace:t,state:r,relative:n}){O(V(),"<Navigate> may be used only in the context of a <Router> component.");let{static:a}=c.useContext(D);I(!a,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:o}=c.useContext(M),{pathname:l}=Y(),f=Ee(),s=ve(e,ge(o),l,n==="path"),i=JSON.stringify(s);return c.useEffect(()=>{f(JSON.parse(i),{replace:t,state:r,relative:n})},[f,i,n,t,r]),null}function Jr(e){return Jt(e.context)}function cr(e){O(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function fr({basename:e="/",children:t=null,location:r,navigationType:n="POP",navigator:a,static:o=!1,unstable_useTransitions:l}){O(!V(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let f=e.replace(/^\/*/,"/"),s=c.useMemo(()=>({basename:f,navigator:a,static:o,unstable_useTransitions:l,future:{}}),[f,a,o,l]);typeof r=="string"&&(r=G(r));let{pathname:i="/",search:d="",hash:p="",state:y=null,key:v="default"}=r,x=c.useMemo(()=>{let E=W(i,f);return E==null?null:{location:{pathname:E,search:d,hash:p,state:y,key:v},navigationType:n}},[f,i,d,p,y,v,n]);
3return I(x!=null,`<Router basename="${f}"> is not able to match the URL "${i}${d}${p}" because it does not start with the basename, so the <Router> won't render anything.`),x==null?null:c.createElement(D.Provider,{value:s},c.createElement(Q.Provider,{children:t,value:x}))}function Xr({children:e,location:t}){return Xt(me(e),t)}function me(e,t=[]){let r=[];return c.Children.forEach(e,(n,a)=>{if(!c.isValidElement(n))return;let o=[...t,a];if(n.type===c.Fragment){r.push.apply(r,me(n.props.children,o));return}O(n.type===cr,`[${typeof n.type=="string"?n.type:n.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),O(!n.props.index||!n.props.children,"An index route cannot have child routes.");let l={id:n.props.id||o.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,middleware:n.props.middleware,loader:n.props.loader,action:n.props.action,hydrateFallbackElement:n.props.hydrateFallbackElement,HydrateFallback:n.props.HydrateFallback,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.hasErrorBoundary===!0||n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(l.children=me(n.props.children,o)),r.push(l)}),r}var re="get",ne="application/x-www-form-urlencoded";function ie(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function dr(e){return ie(e)&&e.tagName.toLowerCase()==="button"}function pr(e){return ie(e)&&e.tagName.toLowerCase()==="form"}function hr(e){return ie(e)&&e.tagName.toLowerCase()==="input"}function mr(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function yr(e,t){return e.button===0&&(!t||t==="_self")&&!mr(e)}function ye(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n.map(a=>[r,a]):[[r,n]])},[]))}function gr(e,t){let r=ye(e);return t&&t.forEach((n,a)=>{r.has(a)||t.getAll(a).forEach(o=>{r.append(a,o)})}),r}var te=null;function vr(){if(te===null)try{new FormData(document.createElement("form"),0),te=!1}catch{te=!0}return te}var Rr=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function pe(e){return e!=null&&!Rr.has(e)?(I(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ne}"`),null):e}function Er(e,t){let r,n,a,o,l;if(pr(e)){let f=e.getAttribute("action");n=f?W(f,t):null,r=e.getAttribute("method")||re,a=pe(e.getAttribute("enctype"))||ne,o=new FormData(e)}else if(dr(e)||hr(e)&&(e.type==="submit"||e.type==="image")){let f=e.form;if(f==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let s=e.getAttribute("formaction")||f.getAttribute("action");if(n=s?W(s,t):null,r=e.getAttribute("formmethod")||f.getAttribute("method")||re,a=pe(e.getAttribute("formenctype"))||pe(f.getAttribute("enctype"))||ne,o=new FormData(f,e),!vr()){let{name:i,type:d,value:p}=e;if(d==="image"){let y=i?`${i}.`:"";o.append(`${y}x`,"0"),o.append(`${y}y`,"0")}else i&&o.append(i,p)}}else{if(ie(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=re,n=null,a=ne,l=e}return o&&a==="text/plain"&&(l=o,o=void 0),{action:n,method:r.toLowerCase(),encType:a,formData:o,body:l}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function _e(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function wr(e,t,r,n){let a=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r?a.pathname.endsWith("/")?a.pathname=`${a.pathname}_.${n}`:a.pathname=`${a.pathname}.${n}`:a.pathname==="/"?a.pathname=`_root.${n}`:t&&W(a.pathname,t)==="/"?a.pathname=`${t.replace(/\/$/,"")}/_root.${n}`:a.pathname=`${a.pathname.replace(/\/$/,"")}.${n}`,a}async function Cr(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch{return window.__reactRouterContext&&window.__reactRouterContext.
3isSpaMode,window.location.reload(),new Promise(()=>{})}}function _r(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function Sr(e,t,r){let n=await Promise.all(e.map(async a=>{let o=t.routes[a.route.id];if(o){let l=await Cr(o,r);return l.links?l.links():[]}return[]}));return Tr(n.flat(1).filter(_r).filter(a=>a.rel==="stylesheet"||a.rel==="preload").map(a=>a.rel==="stylesheet"?{...a,rel:"prefetch",as:"style"}:{...a,rel:"prefetch"}))}function Ie(e,t,r,n,a,o){let l=(s,i)=>r[i]?s.route.id!==r[i].route.id:!0,f=(s,i)=>r[i].pathname!==s.pathname||r[i].route.path?.endsWith("*")&&r[i].params["*"]!==s.params["*"];return o==="assets"?t.filter((s,i)=>l(s,i)||f(s,i)):o==="data"?t.filter((s,i)=>{let d=n.routes[s.route.id];if(!d||!d.hasLoader)return!1;if(l(s,i)||f(s,i))return!0;if(s.route.shouldRevalidate){let p=s.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:s.params,defaultShouldRevalidate:!0});if(typeof p=="boolean")return p}return!0}):[]}function xr(e,t,{includeHydrateFallback:r}={}){return br(e.map(n=>{let a=t.routes[n.route.id];if(!a)return[];let o=[a.module];return a.clientActionModule&&(o=o.concat(a.clientActionModule)),a.clientLoaderModule&&(o=o.concat(a.clientLoaderModule)),r&&a.hydrateFallbackModule&&(o=o.concat(a.hydrateFallbackModule)),a.imports&&(o=o.concat(a.imports)),o}).flat(1))}function br(e){return[...new Set(e)]}function Pr(e){let t={},r=Object.keys(e).sort();for(let n of r)t[n]=e[n];return t}function Tr(e,t){let r=new Set;return new Set(t),e.reduce((n,a)=>{let o=JSON.stringify(Pr(a));return r.has(o)||(r.add(o),n.push({key:o,link:a})),n},[])}function Qe(){let e=c.useContext(K);return _e(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function Lr(){let e=c.useContext(oe);return _e(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Se=c.createContext(void 0);Se.displayName="FrameworkContext";function Ze(){let e=c.useContext(Se);return _e(e,"You must render this element inside a <HydratedRouter> element"),e}function Or(e,t){let r=c.useContext(Se),[n,a]=c.useState(!1),[o,l]=c.useState(!1),{onFocus:f,onBlur:s,onMouseEnter:i,onMouseLeave:d,onTouchStart:p}=t,y=c.useRef(null);c.useEffect(()=>{if(e==="render"&&l(!0),e==="viewport"){let E=R=>{R.forEach(m=>{l(m.isIntersecting)})},g=new IntersectionObserver(E,{threshold:.5});return y.current&&g.observe(y.current),()=>{g.disconnect()}}},[e]),c.useEffect(()=>{if(n){let E=setTimeout(()=>{l(!0)},100);return()=>{clearTimeout(E)}}},[n]);let v=()=>{a(!0)},x=()=>{a(!1),l(!1)};return r?e!=="intent"?[o,y,{}]:[o,y,{onFocus:J(f,v),onBlur:J(s,x),onMouseEnter:J(i,v),onMouseLeave:J(d,x),onTouchStart:J(p,v)}]:[!1,y,{}]}function J(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function $r({page:e,...t}){let{router:r}=Qe(),n=c.useMemo(()=>He(r.routes,e,r.basename),[r.routes,e,r.basename]);return n?c.createElement(Ar,{page:e,matches:n,...t}):null}function kr(e){let{manifest:t,routeModules:r}=Ze(),[n,a]=c.useState([]);return c.useEffect(()=>{let o=!1;return Sr(e,t,r).then(l=>{o||a(l)}),()=>{o=!0}},[e,t,r]),n}function Ar({page:e,matches:t,...r}){let n=Y(),{future:a,manifest:o,routeModules:l}=Ze(),{basename:f}=Qe(),{loaderData:s,matches:i}=Lr(),d=c.useMemo(()=>Ie(e,t,i,o,n,"data"),[e,t,i,o,n]),p=c.useMemo(()=>Ie(e,t,i,o,n,"assets"),[e,t,i,o,n]),y=c.useMemo(()=>{if(e===n.pathname+n.search+n.hash)return[];let E=new Set,g=!1;if(t.forEach(m=>{let S=o.routes[m.route.id];!S||!S.hasLoader||(!d.some(k=>k.route.id===m.route.id)&&m.route.id in s&&l[m.route.id]?.shouldRevalidate||S.hasClientLoader?g=!0:E.add(m.route.id))}),E.size===0)return[];let R=wr(e,f,a.unstable_trailingSlashAwareDataRequests,"data");return g&&E.size>0&&R.searchParams.set("_routes",t.filter(m=>E.has(m.route.id)).map(m=>m.route.id).join(",")),[R.pathname+R.search]},[f,a.unstable_trailingSlashAwareDataRequests,s,n,o,d,t,e,l]),v=c.useMemo(()=>xr(p,o),[p,o]),x=kr(p);return c.createElement(c.Fragment,null,y.map(E=>c.createElement("link",{key:E,rel:"prefetch",as:"fetch",href:E,...r})),v.map(E=>c.createElement("link",{key:E,rel:"modulepreload",href:E,...r})),x.map(({key:E,link:g})=>c.createElement("link",{key:E,nonce:r.nonce,...g,crossOrigin:g.crossOrigin??r.crossOrigin})))}function Nr(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}var Dr=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Dr&&(window.__reactRouterVersion="7.13.0")}catch{}
3function Qr({basename:e,children:t,unstable_useTransitions:r,window:n}){let a=c.useRef();a.current==null&&(a.current=pt({window:n,v5Compat:!0}));let o=a.current,[l,f]=c.useState({action:o.action,location:o.location}),s=c.useCallback(i=>{r===!1?f(i):c.startTransition(()=>f(i))},[r]);return c.useLayoutEffect(()=>o.listen(s),[o,s]),c.createElement(fr,{basename:e,children:t,location:l.location,navigationType:l.action,navigator:o,unstable_useTransitions:r})}var et=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,tt=c.forwardRef(function({onClick:t,discover:r="render",prefetch:n="none",relative:a,reloadDocument:o,replace:l,state:f,target:s,to:i,preventScrollReset:d,viewTransition:p,unstable_defaultShouldRevalidate:y,...v},x){let{basename:E,unstable_useTransitions:g}=c.useContext(D),R=typeof i=="string"&&et.test(i),m=We(i,E);i=m.to;let S=Gt(i,{relative:a}),[k,$,U]=Or(n,v),b=Hr(i,{replace:l,state:f,target:s,preventScrollReset:d,relative:a,viewTransition:p,unstable_defaultShouldRevalidate:y,unstable_useTransitions:g});function j(z){t&&t(z),z.defaultPrevented||b(z)}let H=c.createElement("a",{...v,...U,href:m.absoluteURL||S,onClick:m.isExternal||o?t:j,ref:Nr(x,$),target:s,"data-discover":!R&&r==="render"?"true":void 0});return k&&!R?c.createElement(c.Fragment,null,H,c.createElement($r,{page:S})):H});tt.displayName="Link";var Ir=c.forwardRef(function({"aria-current":t="page",caseSensitive:r=!1,className:n="",end:a=!1,style:o,to:l,viewTransition:f,children:s,...i},d){let p=Z(l,{relative:i.relative}),y=Y(),v=c.useContext(oe),{navigator:x,basename:E}=c.useContext(D),g=v!=null&&Yr(p)&&f===!0,R=x.encodeLocation?x.encodeLocation(p).pathname:p.pathname,m=y.pathname,S=v&&v.navigation&&v.navigation.location?v.navigation.location.pathname:null;r||(m=m.toLowerCase(),S=S?S.toLowerCase():null,R=R.toLowerCase()),S&&E&&(S=W(S,E)||S);const k=R!=="/"&&R.endsWith("/")?R.length-1:R.length;let $=m===R||!a&&m.startsWith(R)&&m.charAt(k)==="/",U=S!=null&&(S===R||!a&&S.startsWith(R)&&S.charAt(R.length)==="/"),b={isActive:$,isPending:U,isTransitioning:g},j=$?t:void 0,H;typeof n=="function"?H=n(b):H=[n,$?"active":null,U?"pending":null,g?"transitioning":null].filter(Boolean).join(" ");let z=typeof o=="function"?o(b):o;return c.createElement(tt,{...i,"aria-current":j,className:H,ref:d,style:z,to:l,viewTransition:f},typeof s=="function"?s(b):s)});Ir.displayName="NavLink";var Mr=c.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:n,replace:a,state:o,method:l=re,action:f,onSubmit:s,relative:i,preventScrollReset:d,viewTransition:p,unstable_defaultShouldRevalidate:y,...v},x)=>{let{unstable_useTransitions:E}=c.useContext(D),g=Br(),R=Wr(f,{relative:i}),m=l.toLowerCase()==="get"?"get":"post",S=typeof f=="string"&&et.test(f),k=$=>{if(s&&s($),$.defaultPrevented)return;$.preventDefault();let U=$.nativeEvent.submitter,b=U?.getAttribute("formmethod")||l,j=()=>g(U||$.currentTarget,{fetcherKey:t,method:b,navigate:r,replace:a,state:o,relative:i,preventScrollReset:d,viewTransition:p,unstable_defaultShouldRevalidate:y});E&&r!==!1?c.startTransition(()=>j()):j()};return c.createElement("form",{ref:x,method:m,action:R,onSubmit:n?s:k,...v,"data-discover":!S&&e==="render"?"true":void 0})});Mr.displayName="Form";function Ur(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function rt(e){let t=c.useContext(K);return O(t,Ur(e)),t}function Hr(e,{target:t,replace:r,state:n,preventScrollReset:a,relative:o,viewTransition:l,unstable_defaultShouldRevalidate:f,unstable_useTransitions:s}={}){let i=Ee(),d=Y(),p=Z(e,{relative:o});return c.useCallback(y=>{if(yr(y,t)){y.preventDefault();let v=r!==void 0?r:X(d)===X(p),x=()=>i(e,{replace:v,state:n,preventScrollReset:a,relative:o,viewTransition:l,unstable_defaultShouldRevalidate:f});s?c.startTransition(()=>x()):x()}},[d,i,p,r,n,t,e,a,o,l,f,s])}function Zr(e){I(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=c.useRef(ye(e)),r=c.useRef(!1),n=Y(),a=c.useMemo(()=>gr(n.search,r.current?null:t.current),[n.search]),o=Ee(),l=c.useCallback((f,s)=>{const i=ye(typeof f=="function"?f(new URLSearchParams(a)):f);r.current=!0,o("?"+i,s)},[o,a]);return[a,l]}var Fr=0,jr=()=>`__${String(++Fr)}__`;function Br(){let{router:e}=rt("useSubmit"),{basename:t}=c.useContext(D),r=ir(),n=e.fetch,a=e.navigate;return c.useCallback(async(o,l={})=>{let{action:f,method:s,encType:i,formData:d,body:p}=Er(o,t);if(l.navigate===!1){let y=l.fetcherKey||jr();await n(y,r,l.action||f,{unstable_defaultShouldRevalidate:l.unstable_defaultShouldRevalidate,preventScrollReset:l.preventScrollReset,formData:d,body:p,formMethod:l.method||s,formEncType:l.encType||i,flushSync:l.flushSync})}else await a(l.action||f,{unstable_defaultShouldRevalidate:l.unstable_defaultShouldRevalidate,preventScrollReset:l.preventScrollReset,formData:d,body:p,formMethod:l.method||s,formEncType:l.encType||i,replace:l.replace,state:l.state,fromRouteId:r,flushSync:l.flushSync,viewTransition:l.viewTransition})},[n,a,t,r])}function Wr(e,{relative:t}={}){let{basename:r}=c.useContext(D),n=c.useContext(M);O(n,"useFormAction must be used inside a RouteContext");let[a]=n.matches.slice(-1),o={...Z(e||".",{relative:t})},l=Y();if(e==null){o.search=l.search;let f=new URLSearchParams(o.search),s=f.getAll("index");if(s.some(d=>d==="")){f.delete("index"),s.filter(p=>
3p).forEach(p=>f.append("index",p));let d=f.toString();o.search=d?`?${d}`:""}}return(!e||e===".")&&a.route.index&&(o.search=o.search?o.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(o.pathname=o.pathname==="/"?r:B([r,o.pathname])),X(o)}function Yr(e,{relative:t}={}){let r=c.useContext(ze);O(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:n}=rt("useViewTransitionState"),a=Z(e,{relative:t});if(!r.isTransitioning)return!1;let o=W(r.currentLocation.pathname,n)||r.currentLocation.pathname,l=W(r.nextLocation.pathname,n)||r.nextLocation.pathname;return ae(a.pathname,l)!=null||ae(a.pathname,o)!=null}var zr=dt();const en=Me(zr);export{Qr as B,tt as L,Vr as N,Jr as O,ct as R,dt as a,c as b,en as c,Gr as d,zr as e,Xr as f,cr as g,Kr as h,Zr as i,Ee as j,Me as k,qr as l,Ue as r,Y 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.