vendor: 12,516 bytes, lines 1-26
1function xe(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const o in n)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(n,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>n[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var jt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function be(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ce={exports:{}},f={};/** 2 * @license React 3 * react.production.js 4 * 5 * Copyright (c) Meta Platforms, Inc. and affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var V=Symbol.for("react.transitional.element"),Ae=Symbol.for("react.portal"),Le=Symbol.for("react.fragment"),Ie=Symbol.for("react.strict_mode"),Ue=Symbol.for("react.profiler"),Ne=Symbol.for("react.consumer"),je=Symbol.for("react.context"),$e=Symbol.for("react.forward_ref"),Me=Symbol.for("react.suspense"),Be=Symbol.for("react.memo"),fe=Symbol.for("react.lazy"),De=Symbol.for("react.activity"),Q=Symbol.iterator;function He(e){return e===null||typeof e!="object"?null:(e=Q&&e[Q]||e["@@iterator"],typeof e=="function"?e:null)}var de={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},pe=Object.assign,he={};function A(e,t,r){this.props=e,this.context=t,this.refs=he,this.updater=r||de}A.prototype.isReactComponent={};A.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};A.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function me(){}me.prototype=A.prototype;function G(e,t,r){this.props=e,this.context=t,this.refs=he,this.updater=r||de}var q=G.prototype=new me;q.constructor=G;pe(q,A.prototype);q.isPureReactComponent=!0;var Z=Array.isArray;function F(){}var m={H:null,A:null,T:null,S:null},ve=Object.prototype.hasOwnProperty;function K(e,t,r){var n=r.ref;return{$$typeof:V,type:e,key:t,ref:n!==void 0?n:null,props:r}}function ke(e,t){return K(e.type,t,e.props)}function X(e){return typeof e=="object"&&e!==null&&e.$$typeof===V}function Fe(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var ee=/\/+/g;function k(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Fe(""+e.key):t.toString(36)}function Ye(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(F,F):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function x(e,t,r,n,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"bigint":case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case V:case Ae:s=!0;break;case fe:return s=e._init,x(s(e._payload),t,r,n,o)}}if(s)return o=o(e),s=n===""?"."+k(e,0):n,Z(o)?(r="",s!=null&&(r=s.replace(ee,"$&/")+"/"),x(o,t,r,"",function(p){return p})):o!=null&&(X(o)&&(o=ke(o,r+(o.key==null||e&&e.key===o.key?"":(""+o.key).replace(ee,"$&/")+"/")+s)),t.push(o)),1;s=0;var a=n===""?".":n+":";if(Z(e))for(var u=0;u<e.length;u++)n=e[u],i=a+k(n,u),s+=x(n,t,r,i,o);else if(u=He(e),typeof u=="function")for(e=u.call(e),u=0;!(n=e.next()).done;)n=n.value,i=a+k(n,u++),s+=x(n,t,r,i,o);else if(i==="object"){if(typeof e.then=="function")return x(Ye(e),t,r,n,o);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return s}function N(e,t,r){if(e==null)return e;var n=[],o=0;return x(e,n,"","",function(i){return t.call(r,i,o++)}),n}function We(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var te=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},ze={map:N,forEach:function(e,t,r){N(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return N(e,function(){t++}),t},toArray:function(e){return N(e,function(t){return t})||[]},only:function(e){if(!X(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};f.Activity=De;f.Children=ze;f.Component=A;f.Fragment=Le;f.Profiler=Ue;f.PureComponent=G;f.StrictMode=Ie;f.Suspense=Me;f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=m;f.__COMPILER_RUNTIME={__proto__:null,c:function(e){return m.H.useMemoCache(e)}};f.cache=function(e){return function(){return e.apply(null,arguments)}};f.cacheSignal=function(){return null};f.cloneElement=function(e,t,r){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var n=pe({},e.props),o=e.key;if(t!=null)for(i in t.key!==void 0&&(o=""+t.key),t)!ve.call(t,i)||i==="key"||i==="__self"||i==="__source"||i==="ref"&&t.ref===void 0||(n[i]=t[i]);var i=arguments.length-2;if(i===1)n.children=r;else if(1<i){for(var s=Array(i),a=0;a<i;a++)s[a]=arguments[a+2];n.children=s}return K(e.type,o,n)};f.createContext=function(e){return e={$$typeof:je,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:Ne,_context:e},e};f.createElement=function(e,t,r){var n,o={},i=null;if(t!=null)for(n in t.key!==void 0&&(i=""+t.key),t)ve.call(t,n)&&n!=="key"&&n!=="__self"&&n!=="__source"&&(o[n]=t[n]);var s=arguments.length-2;if(s===1)o.children=r;else if(1<s){for(var a=Array(s),u=0;u<s;u++)a[u]=arguments[u+2];o.children=a}if(e&&e.defaultProps)for(n in s=e.defaultProps,s)o[n]===void 0&&(o[n]=s[n]);return K(e,i,o)};f.createRef=function(){return{current:null}};f.forwardRef=function(e){return{$$typeof:$e,render:e}};f.isValidElement=X;f.lazy=function(e){return{$$typeof:fe,_payload:{_status:-1,_result:e},_init:We}};f.memo=function(e,t){return{$$typeof:Be,type:e,compare:t===void 0?null:t}};f.startTransition=function(e){var t=m.T,r={};m.T=r;try{var n=e(),o=m.S;o!==null&&o(r,n),typeof n=="object"&&n!==null&&typeof n.then=="function"&&n.then(F,te)}catch(i){te(i)}finally{t!==null&&r.types!==null&&(t.types=r.types),m.T=t}};f.unstable_useCacheRefresh=function(){return m.H.useCacheRefresh()};f.use=function(e){return m.H.use(e)};f.useActionState=function(e,t,r){return m.H.useActionState(e,t,r)};f.useCallback=function(e,t){return m.H.useCallback(e,t)};f.useContext=function(e){return m.H.useContext(e)};f.useDebugValue=function(){};f.useDeferredValue=function(e,t){return m.H.useDeferredValue(e,t)};f.useEffect=function(e,t){return m.H.useEffect(e,t)};f.useEffectEvent=function(e){return m.H.useEffectEvent(e)};f.useId=function(){return m.H.useId()};f.useImperativeHandle=function(e,t,r){return m.H.useImperativeHandle(e,t,r)};f.useInsertionEffect=function(e,t){return m.H.useInsertionEffect(e,t)};f.useLayoutEffect=function(e,t){return m.H.useLayoutEffect(e,t)};f.useMemo=function(e,t){return m.H.useMemo(e,t)};f.useOptimistic=function(e,t){return m.H.useOptimistic(e,t)};f.useReducer=function(e,t,r){return m.H.useReducer(e,t,r)};f.useRef=function(e){return m.H.useRef(e)};f.useState=function(e){return m.H.useState(e)};f.useSyncExternalStore=function(e,t,r){return m.H.useSyncExternalStore(e,t,r)};f.useTransition=function(){return m.H.useTransition()};f.version="19.2.4";ce.exports=f;var c=ce.exports;const Ve=be(c),Ge=xe({__proto__:null,default:Ve},[c]);var ye={exports:{}},C={};/** 10 * @license React 11 * react-dom.production.js 12 * 13 * Copyright (c) Meta Platforms, Inc. and affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var qe=c;function ge(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function O(){}var R={d:{f:O,r:function(){throw Error(ge(522))},D:O,C:O,L:O,m:O,X:O,S:O,M:O},p:0,findDOMNode:null},Ke=Symbol.for("react.portal");function Xe(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ke,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}var L=qe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function M(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}C.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=R;C.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(ge(299));return Xe(e,t,null,r)};C.flushSync=function(e){var t=L.T,r=R.p;try{if(L.T=null,R.p=2,e)return e()}finally{L.T=t,R.p=r,R.d.f()}};C.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,R.d.C(e,t))};C.prefetchDNS=function(e){typeof e=="string"&&R.d.D(e)};C.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var r=t.as,n=M(r,t.crossOrigin),o=typeof t.integrity=="string"?t.integrity:void 0,i=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;r==="style"?R.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:n,integrity:o,fetchPriority:i}):r==="script"&&R.d.X(e,{crossOrigin:n,integrity:o,fetchPriority:i,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};C.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var r=M(t.as,t.crossOrigin);R.d.M(e,{crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&R.d.M(e)};C.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var r=t.as,n=M(r,t.crossOrigin);R.d.L(e,r,{crossOrigin:n,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};C.preloadModule=function(e,t){if(typeof e=="string")if(t){var r=M(t.as,t.crossOrigin);R.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else R.d.m(e)};C.requestFormReset=function(e){R.d.r(e)};C.unstable_batchedUpdates=function(e,t){return e(t)};C.useFormState=function(e,t,r){return L.H.useFormState(e,t,r)};C.useFormStatus=function(){return L.H.useHostTransitionStatus()};C.version="19.2.4";function Ee(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ee)}catch(e){console.error(e)}}Ee(),ye.exports=C;var $t=ye.exports;/** 18 * @remix-run/router v1.19.2 19 * 20 * Copyright (c) Remix Software Inc. 21 * 22 * This source code is licensed under the MIT license found in the 23 * LICENSE.md file in the root directory of this source tree. 24 * 25 * @license MIT 26 */function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
vendor: 5,006 bytes, line 26
26for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},j.apply(this,arguments)}var w;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(w||(w={}));const re="popstate";function Je(e){e===void 0&&(e={});function t(n,o){let{pathname:i,search:s,hash:a}=n.location;return Y("",{pathname:i,search:s,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function r(n,o){return typeof o=="string"?o:Re(o)}return Ze(t,r,null,e)}function T(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function _e(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Qe(){return Math.random().toString(36).substr(2,8)}function ne(e,t){return{usr:e.state,key:e.key,idx:t}}function Y(e,t,r,n){return r===void 0&&(r=null),j({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?B(t):t,{state:r,key:t&&t.key||n||Qe()})}function Re(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function B(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function Ze(e,t,r,n){n===void 0&&(n={});let{window:o=document.defaultView,v5Compat:i=!1}=n,s=o.history,a=w.Pop,u=null,p=h();p==null&&(p=0,s.replaceState(j({},s.state,{idx:p}),""));function h(){return(s.state||{idx:null}).idx}function l(){a=w.Pop;let d=h(),_=d==null?null:d-p;p=d,u&&u({action:a,location:v.location,delta:_})}function y(d,_){a=w.Push;let P=Y(v.location,d,_);p=h()+1;let S=ne(P,p),U=v.createHref(P);try{s.pushState(S,"",U)}catch(H){if(H instanceof DOMException&&H.name==="DataCloneError")throw H;o.location.assign(U)}i&&u&&u({action:a,location:v.location,delta:1})}function E(d,_){a=w.Replace;let P=Y(v.location,d,_);p=h();let S=ne(P,p),U=v.createHref(P);s.replaceState(S,"",U),i&&u&&u({action:a,location:v.location,delta:0})}function g(d){let _=o.location.origin!=="null"?o.location.origin:o.location.href,P=typeof d=="string"?d:Re(d);return P=P.replace(/ $/,"%20"),T(_,"No window.location.(origin|href) available to create URL for href: "+P),new URL(P,_)}let v={get action(){return a},get location(){return e(o,s)},listen(d){if(u)throw new Error("A history only accepts one active listener");return o.addEventListener(re,l),u=d,()=>{o.removeEventListener(re,l),u=null}},createHref(d){return t(o,d)},createURL:g,encodeLocation(d){let _=g(d);return{pathname:_.pathname,search:_.search,hash:_.hash}},push:y,replace:E,go(d){return s.go(d)}};return v}var oe;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(oe||(oe={}));function et(e,t,r){return r===void 0&&(r="/"),tt(e,t,r,!1)}function tt(e,t,r,n){let o=typeof t=="string"?B(t):t,i=Pe(o.pathname||"/",r);if(i==null)return null;let s=Ce(e);rt(s);let a=null;for(let u=0;a==null&&u<s.length;++u){let p=pt(i);a=ft(s[u],p,n)}return a}function Ce(e,t,r,n){t===void 0&&(t=[]),r===void 0&&(r=[]),n===void 0&&(n="");let o=(i,s,a)=>{let u={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};u.relativePath.startsWith("/")&&(T(u.relativePath.startsWith(n),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(n.length));let p=b([n,u.relativePath]),h=r.concat(u);i.children&&i.children.length>0&&(T(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+p+'".')),Ce(i.children,t,h,p)),!(i.path==null&&!i.index)&&t.push({path:p,score:lt(p,i.index),routesMeta:h})};return e.forEach((i,s)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,s);else for(let u of Te(i.path))o(i,s,u)}),t}function Te(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,o=r.endsWith("?"),i=r.replace(/\?$/,"");if(n.length===0)return o?[i,""]:[i];let s=Te(n.join("/")),a=[];return a.push(...s.map(u=>u===""?i:[i,u].join("/"))),o&&a.push(...s),a.map(u=>e.startsWith("/")&&u===""?"/":u)}function rt(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:ct(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const nt=/^:[\w-]+$/,ot=3,it=2,st=1,ut=10,at=-2,ie=e=>e==="*";function lt(e,t){let r=e.split("/"),n=r.length;return r.some(ie)&&(n+=at),t&&(n+=it),r.filter(o=>!ie(o)).reduce((o,i)=>o+(nt.test(i)?ot:i===""?st:ut),n)}function ct(e,t){return e.length===t.length&&e.slice(0,-1).every((n,o)=>n===t[o])?e[e.length-1]-t[t.length-1]:0}function ft(e,t,r){let{routesMeta:n}=e,o={},i="/",s=[];for(let a=0;a<n.length;++a){let u=n[a],p=a===n.length-1,h=i==="/"?t:t.slice(i.length)||"/",l=se({path:u.relativePath,caseSensitive:u.caseSensitive,end:p},h),y=u.route;if(!l&&p&&r&&!n[n.length-1].route.index&&(l=se({path:u.relativePath,caseSensitive:u.caseSensitive,end:!1},h)),!l)return null;
vendor: 4,189 bytes, lines 26-35
26Object.assign(o,l.params),s.push({params:o,pathname:b([i,l.pathname]),pathnameBase:ht(b([i,l.pathnameBase])),route:y}),l.pathnameBase!=="/"&&(i=b([i,l.pathnameBase]))}return s}function se(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=dt(e.path,e.caseSensitive,e.end),o=t.match(r);if(!o)return null;let i=o[0],s=i.replace(/(.)\/+$/,"$1"),a=o.slice(1);return{params:n.reduce((p,h,l)=>{let{paramName:y,isOptional:E}=h;if(y==="*"){let v=a[l]||"";s=i.slice(0,i.length-v.length).replace(/(.)\/+$/,"$1")}const g=a[l];return E&&!g?p[y]=void 0:p[y]=(g||"").replace(/%2F/g,"/"),p},{}),pathname:i,pathnameBase:s,pattern:e}}function dt(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),_e(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=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,u)=>(n.push({paramName:a,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}function pt(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return _e(!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 Pe(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)||"/"}const b=e=>e.join("/").replace(/\/\/+/g,"/"),ht=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function mt(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Se=["post","put","patch","delete"];new Set(Se);const vt=["get",...Se];new Set(vt);/** 27 * React Router v6.26.2 28 * 29 * Copyright (c) Remix Software Inc. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE.md file in the root directory of this source tree. 33 * 34 * @license MIT 35 */function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$.apply(this,arguments)}const yt=c.createContext(null),gt=c.createContext(null),Oe=c.createContext(null),D=c.createContext(null),I=c.createContext({outlet:null,matches:[],isDataRoute:!1}),we=c.createContext(null);function J(){return c.useContext(D)!=null}function Et(){return J()||T(!1),c.useContext(D).location}function Mt(){let{matches:e}=c.useContext(I),t=e[e.length-1];return t?t.params:{}}function _t(e,t){return Rt(e,t)}function Rt(e,t,r,n){J()||T(!1);let{navigator:o}=c.useContext(Oe),{matches:i}=c.useContext(I),s=i[i.length-1],a=s?s.params:{};s&&s.pathname;let u=s?s.pathnameBase:"/";s&&s.route;let p=Et(),h;if(t){var l;let d=typeof t=="string"?B(t):t;u==="/"||(l=d.pathname)!=null&&l.startsWith(u)||T(!1),h=d}else h=p;let y=h.pathname||"/",E=y;if(u!=="/"){let d=u.replace(/^\//,"").split("/");E="/"+y.replace(/^\//,"").split("/").slice(d.length).join("/")}let g=et(e,{pathname:E}),v=Ot(g&&g.map(d=>Object.assign({},d,{params:Object.assign({},a,d.params),pathname:b([u,o.encodeLocation?o.encodeLocation(d.pathname).pathname:d.pathname]),pathnameBase:d.pathnameBase==="/"?u:b([u,o.encodeLocation?o.encodeLocation(d.pathnameBase).pathname:d.pathnameBase])})),i,r,n);return t&&v?c.createElement(D.Provider,{value:{location:$({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:w.Pop}},v):v}function Ct(){let e=At(),t=mt(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return c.createElement(c.Fragment,null,c.createElement("h2",null,"Unexpected Application
35Error!"),c.createElement("h3",{style:{fontStyle:"italic"}},t),r?c.createElement("pre",{style:o},r):null,null)}const Tt=c.createElement(Ct,null);class Pt 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,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?c.createElement(I.Provider,{value:this.props.routeContext},c.createElement(we.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function St(e){let{routeContext:t,match:r,children:n}=e,o=c.useContext(yt);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),c.createElement(I.Provider,{value:t},n)}function Ot(e,t,r,n){var o;if(t===void 0&&(t=[]),r===void 0&&(r=null),n===void 0&&(n=null),e==null){var i;if(!r)return null;if(r.errors)e=r.matches;else if((i=n)!=null&&i.v7_partialHydration&&t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let s=e,a=(o=r)==null?void 0:o.errors;if(a!=null){let h=s.findIndex(l=>l.route.id&&(a==null?void 0:a[l.route.id])!==void 0);h>=0||T(!1),s=s.slice(0,Math.min(s.length,h+1))}let u=!1,p=-1;if(r&&n&&n.v7_partialHydration)for(let h=0;h<s.length;h++){let l=s[h];if((l.route.HydrateFallback||l.route.hydrateFallbackElement)&&(p=h),l.route.id){let{loaderData:y,errors:E}=r,g=l.route.loader&&y[l.route.id]===void 0&&(!E||E[l.route.id]===void 0);if(l.route.lazy||g){u=!0,p>=0?s=s.slice(0,p+1):s=[s[0]];break}}}return s.reduceRight((h,l,y)=>{let E,g=!1,v=null,d=null;r&&(E=a&&l.route.id?a[l.route.id]:void 0,v=l.route.errorElement||Tt,u&&(p<0&&y===0?(g=!0,d=null):p===y&&(g=!0,d=l.route.hydrateFallbackElement||null)));let _=t.concat(s.slice(0,y+1)),P=()=>{let S;return E?S=v:g?S=d:l.route.Component?S=c.createElement(l.route.Component,null):l.route.element?S=l.route.element:S=h,c.createElement(St,{match:l,routeContext:{outlet:h,matches:_,isDataRoute:r!=null},children:S})};return r&&(l.route.ErrorBoundary||l.route.errorElement||y===0)?c.createElement(Pt,{location:r.location,revalidation:r.revalidation,component:v,error:E,children:P(),routeContext:{outlet:null,matches:_,isDataRoute:!0}}):P()},null)}var W=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}(W||{});function wt(e){let t=c.useContext(gt);return t||T(!1),t}function xt(e){let t=c.useContext(I);return t||T(!1),t}function bt(e){let t=xt(),r=t.matches[t.matches.length-1];return r.route.id||T(!1),r.route.id}function At(){var e;let t=c.useContext(we),r=wt(W.UseRouteError),n=bt(W.UseRouteError);return t!==void 0?t:(e=r.errors)==null?void 0:e[n]}function Lt(e){T(!1)}function It(e){let{basename:t="/",children:r=null,location:n,navigationType:o=w.Pop,navigator:i,static:s=!1,future:a}=e;J()&&T(!1);let u=t.replace(/^\/*/,"/"),p=c.useMemo(()=>({basename:u,navigator:i,static:s,future:$({v7_relativeSplatPath:!1},a)}),[u,a,i,s]);typeof n=="string"&&(n=B(n));let{pathname:h="/",search:l="",hash:y="",state:E=null,key:g="default"}=n,v=c.useMemo(()=>{let d=Pe(h,u);return d==null?null:{location:{pathname:d,search:l,hash:y,state:E,key:g},navigationType:o}},[u,h,l,y,E,g,o]);return v==null?null:c.createElement(Oe.Provider,{value:p},c.createElement(D.Provider,{children:r,value:v}))}function Bt(e){let{children:t,location:r}=e;return _t(z(t),r)}new Promise(()=>{});function z(e,t){t===void 0&&(t=[]);let r=[];
vendor: 1,909 bytes, lines 35-44
35return c.Children.forEach(e,(n,o)=>{if(!c.isValidElement(n))return;let i=[...t,o];if(n.type===c.Fragment){r.push.apply(r,z(n.props.children,i));return}n.type!==Lt&&T(!1),!n.props.index||!n.props.children||T(!1);let s={id:n.props.id||i.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(s.children=z(n.props.children,i)),r.push(s)}),r}/** 36 * React Router DOM v6.26.2 37 * 38 * Copyright (c) Remix Software Inc. 39 * 40 * This source code is licensed under the MIT license found in the 41 * LICENSE.md file in the root directory of this source tree. 42 * 43 * @license MIT 44 */const Ut="6";try{window.__reactRouterVersion=Ut}catch{}const Nt="startTransition",ue=Ge[Nt];function Dt(e){let{basename:t,children:r,future:n,window:o}=e,i=c.useRef();i.current==null&&(i.current=Je({window:o,v5Compat:!0}));let s=i.current,[a,u]=c.useState({action:s.action,location:s.location}),{v7_startTransition:p}=n||{},h=c.useCallback(l=>{p&&ue?ue(()=>u(l)):u(l)},[u,p]);return c.useLayoutEffect(()=>s.listen(h),[s,h]),c.createElement(It,{basename:t,children:r,location:a.location,navigationType:a.action,navigator:s,future:n})}var ae;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ae||(ae={}));var le;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(le||(le={}));export{Dt as B,Bt as R,Lt as a,$t as b,jt as c,Ve as d,be as g,c as r,Ge as t,Mt 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.