estatesfunding/ef-ui/dist/assets/index-VmwLz7OH.js

81 lines
317 KiB
JavaScript
Raw Normal View History

2024-09-23 17:26:24 +00:00
var Vm=Object.defineProperty;var qm=(e,t,n)=>t in e?Vm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ps=(e,t,n)=>qm(e,typeof t!="symbol"?t+"":t,n);function Qm(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const l=Object.getOwnPropertyDescriptor(r,i);l&&Object.defineProperty(e,i,l.get?l:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const l of i)if(l.type==="childList")for(const s of l.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const l={};return i.integrity&&(l.integrity=i.integrity),i.referrerPolicy&&(l.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?l.credentials="include":i.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(i){if(i.ep)return;i.ep=!0;const l=n(i);fetch(i.href,l)}})();function xd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var wd={exports:{}},Jl={},jd={exports:{}},D={};/**
2024-09-20 13:55:40 +00:00
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
2024-09-23 17:26:24 +00:00
*/var vi=Symbol.for("react.element"),Km=Symbol.for("react.portal"),Ym=Symbol.for("react.fragment"),Xm=Symbol.for("react.strict_mode"),Gm=Symbol.for("react.profiler"),Jm=Symbol.for("react.provider"),Zm=Symbol.for("react.context"),eh=Symbol.for("react.forward_ref"),th=Symbol.for("react.suspense"),nh=Symbol.for("react.memo"),rh=Symbol.for("react.lazy"),Tc=Symbol.iterator;function ih(e){return e===null||typeof e!="object"?null:(e=Tc&&e[Tc]||e["@@iterator"],typeof e=="function"?e:null)}var Nd={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Sd=Object.assign,Ed={};function hr(e,t,n){this.props=e,this.context=t,this.refs=Ed,this.updater=n||Nd}hr.prototype.isReactComponent={};hr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): 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")};hr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function kd(){}kd.prototype=hr.prototype;function _a(e,t,n){this.props=e,this.context=t,this.refs=Ed,this.updater=n||Nd}var Ca=_a.prototype=new kd;Ca.constructor=_a;Sd(Ca,hr.prototype);Ca.isPureReactComponent=!0;var Rc=Array.isArray,_d=Object.prototype.hasOwnProperty,Pa={current:null},Cd={key:!0,ref:!0,__self:!0,__source:!0};function Pd(e,t,n){var r,i={},l=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(l=""+t.key),t)_d.call(t,r)&&!Cd.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var c=Array(a),u=0;u<a;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:vi,type:e,key:l,ref:s,props:i,_owner:Pa.current}}function lh(e,t){return{$$typeof:vi,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Oa(e){return typeof e=="object"&&e!==null&&e.$$typeof===vi}function sh(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var bc=/\/+/g;function Os(e,t){return typeof e=="object"&&e!==null&&e.key!=null?sh(""+e.key):t.toString(36)}function Yi(e,t,n,r,i){var l=typeof e;(l==="undefined"||l==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case vi:case Km:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+Os(s,0):r,Rc(i)?(n="",e!=null&&(n=e.replace(bc,"$&/")+"/"),Yi(i,t,n,"",function(u){return u})):i!=null&&(Oa(i)&&(i=lh(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(bc,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",Rc(e))for(var a=0;a<e.length;a++){l=e[a];var c=r+Os(l,a);s+=Yi(l,t,n,c,i)}else if(c=ih(e),typeof c=="function")for(e=c.call(e),a=0;!(l=e.next()).done;)l=l.value,c=r+Os(l,a++),s+=Yi(l,t,n,c,i);else if(l==="object")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 Oi(e,t,n){if(e==null)return e;var r=[],i=0;return Yi(e,r,"","",function(l){return t.call(n,l,i++)}),r}function oh(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Ne={current:null},Xi={transition:null},ah={ReactCurrentDispatcher:Ne,ReactCurrentBatchConfig:Xi,ReactCurrentOwner:Pa};function Od(){throw Error("act(...) is not supported in production builds of React.")}D.Children={map:Oi,forEach:function(e,t,n){Oi(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Oi(e,function(){t++}),t},toArray:function(e){return Oi(e,function(t){return t})||[]},only:function(e){if(!Oa(e))throw Error("React.Children.only expected to receive a sing
2024-09-20 13:55:40 +00:00
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
2024-09-23 17:26:24 +00:00
*/var ch=E,uh=Symbol.for("react.element"),dh=Symbol.for("react.fragment"),fh=Object.prototype.hasOwnProperty,ph=ch.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,mh={key:!0,ref:!0,__self:!0,__source:!0};function Td(e,t,n){var r,i={},l=null,s=null;n!==void 0&&(l=""+n),t.key!==void 0&&(l=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)fh.call(t,r)&&!mh.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:uh,type:e,key:l,ref:s,props:i,_owner:ph.current}}Jl.Fragment=dh;Jl.jsx=Td;Jl.jsxs=Td;wd.exports=Jl;var o=wd.exports,Rd={exports:{}},Ve={},bd={exports:{}},Ld={};/**
2024-09-20 13:55:40 +00:00
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
2024-09-23 17:26:24 +00:00
*/(function(e){function t(T,F){var M=T.length;T.push(F);e:for(;0<M;){var B=M-1>>>1,$=T[B];if(0<i($,F))T[B]=F,T[M]=$,M=B;else break e}}function n(T){return T.length===0?null:T[0]}function r(T){if(T.length===0)return null;var F=T[0],M=T.pop();if(M!==F){T[0]=M;e:for(var B=0,$=T.length,ae=$>>>1;B<ae;){var re=2*(B+1)-1,ke=T[re],ge=re+1,pt=T[ge];if(0>i(ke,M))ge<$&&0>i(pt,ke)?(T[B]=pt,T[ge]=M,B=ge):(T[B]=ke,T[re]=M,B=re);else if(ge<$&&0>i(pt,M))T[B]=pt,T[ge]=M,B=ge;else break e}}return F}function i(T,F){var M=T.sortIndex-F.sortIndex;return M!==0?M:T.id-F.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var c=[],u=[],d=1,f=null,y=3,j=!1,v=!1,g=!1,w=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(T){for(var F=n(u);F!==null;){if(F.callback===null)r(u);else if(F.startTime<=T)r(u),F.sortIndex=F.expirationTime,t(c,F);else break;F=n(u)}}function x(T){if(g=!1,m(T),!v)if(n(c)!==null)v=!0,Ft(k);else{var F=n(u);F!==null&&Me(x,F.startTime-T)}}function k(T,F){v=!1,g&&(g=!1,h(_),_=-1),j=!0;var M=y;try{for(m(F),f=n(c);f!==null&&(!(f.expirationTime>F)||T&&!H());){var B=f.callback;if(typeof B=="function"){f.callback=null,y=f.priorityLevel;var $=B(f.expirationTime<=F);F=e.unstable_now(),typeof $=="function"?f.callback=$:f===n(c)&&r(c),m(F)}else r(c);f=n(c)}if(f!==null)var ae=!0;else{var re=n(u);re!==null&&Me(x,re.startTime-F),ae=!1}return ae}finally{f=null,y=M,j=!1}}var C=!1,P=null,_=-1,b=5,L=-1;function H(){return!(e.unstable_now()-L<b)}function Ee(){if(P!==null){var T=e.unstable_now();L=T;var F=!0;try{F=P(!0,T)}finally{F?Ke():(C=!1,P=null)}}else C=!1}var Ke;if(typeof p=="function")Ke=function(){p(Ee)};else if(typeof MessageChannel<"u"){var tt=new MessageChannel,Lt=tt.port2;tt.port1.onmessage=Ee,Ke=function(){Lt.postMessage(null)}}else Ke=function(){w(Ee,0)};function Ft(T){P=T,C||(C=!0,Ke())}function Me(T,F){_=w(function(){T(e.unstable_now())},F)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(T){T.callback=null},e.unstable_continueExecution=function(){v||j||(v=!0,Ft(k))},e.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):b=0<T?Math.floor(1e3/T):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(T){switch(y){case 1:case 2:case 3:var F=3;break;default:F=y}var M=y;y=F;try{return T()}finally{y=M}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(T,F){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var M=y;y=T;try{return F()}finally{y=M}},e.unstable_scheduleCallback=function(T,F,M){var B=e.unstable_now();switch(typeof M=="object"&&M!==null?(M=M.delay,M=typeof M=="number"&&0<M?B+M:B):M=B,T){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}return $=M+$,T={id:d++,callback:F,priorityLevel:T,startTime:M,expirationTime:$,sortIndex:-1},M>B?(T.sortIndex=M,t(u,T),n(c)===null&&T===n(u)&&(g?(h(_),_=-1):g=!0,Me(x,M-B))):(T.sortIndex=$,t(c,T),v||j||(v=!0,Ft(k))),T},e.unstable_shouldYield=H,e.unstable_wrapCallback=function(T){var F=y;return function(){var M=y;y=F;try{return T.apply(this,arguments)}finally{y=M}}}})(Ld);bd.exports=Ld;var hh=bd.exports;/**
2024-09-20 13:55:40 +00:00
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
2024-09-23 17:26:24 +00:00
*/var yh=E,Ue=hh;function O(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);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."}var Fd=new Set,Qr={};function Fn(e,t){sr(e,t),sr(e+"Capture",t)}function sr(e,t){for(Qr[e]=t,e=0;e<t.length;e++)Fd.add(t[e])}var _t=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ho=Object.prototype.hasOwnProperty,vh=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Lc={},Fc={};function gh(e){return ho.call(Fc,e)?!0:ho.call(Lc,e)?!1:vh.test(e)?Fc[e]=!0:(Lc[e]=!0,!1)}function xh(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function wh(e,t,n,r){if(t===null||typeof t>"u"||xh(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Se(e,t,n,r,i,l,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=s}var fe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){fe[e]=new Se(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];fe[t]=new Se(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){fe[e]=new Se(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){fe[e]=new Se(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){fe[e]=new Se(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){fe[e]=new Se(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){fe[e]=new Se(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){fe[e]=new Se(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){fe[e]=new Se(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ta=/[\-:]([a-z])/g;function Ra(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-
`+Ts+e}var Rs=!1;function bs(e,t){if(!e||Rs)return"";Rs=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
2024-09-20 13:55:40 +00:00
`),l=r.stack.split(`
2024-09-23 17:26:24 +00:00
`),s=i.length-1,a=l.length-1;1<=s&&0<=a&&i[s]!==l[a];)a--;for(;1<=s&&0<=a;s--,a--)if(i[s]!==l[a]){if(s!==1||a!==1)do if(s--,a--,0>a||i[s]!==l[a]){var c=`
`+i[s].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=s&&0<=a);break}}}finally{Rs=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Tr(e):""}function jh(e){switch(e.tag){case 5:return Tr(e.type);case 16:return Tr("Lazy");case 13:return Tr("Suspense");case 19:return Tr("SuspenseList");case 0:case 2:case 15:return e=bs(e.type,!1),e;case 11:return e=bs(e.type.render,!1),e;case 1:return e=bs(e.type,!0),e;default:return""}}function xo(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Dn:return"Fragment";case In:return"Portal";case yo:return"Profiler";case La:return"StrictMode";case vo:return"Suspense";case go:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case zd:return(e.displayName||"Context")+".Consumer";case Md:return(e._context.displayName||"Context")+".Provider";case Fa:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ma:return t=e.displayName||null,t!==null?t:xo(e.type)||"Memo";case It:t=e._payload,e=e._init;try{return xo(e(t))}catch{}}return null}function Nh(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return xo(t);case 8:return t===La?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function rn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Dd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Sh(e){var t=Dd(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,l.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ri(e){e._valueTracker||(e._valueTracker=Sh(e))}function Ad(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Dd(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function yl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function wo(e,t){var n=t.checked;return G({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function zc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=rn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Bd(e,t){t=t.checked,t!=null&&ba(e,"checked",t,!1)}function jo(e,t){Bd(e,t);var n=rn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?No(e,t.type,n):t.hasOwnProperty("defaultValue")&&No(e,t.type,rn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ic(e,t,n){if(t.hasOwnProperty("valu
`).replace(Ly,"")}function Ai(e,t,n){if(t=su(t),su(e)!==t&&n)throw Error(O(425))}function El(){}var zo=null,Io=null;function Do(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Ao=typeof setTimeout=="function"?setTimeout:void 0,Fy=typeof clearTimeout=="function"?clearTimeout:void 0,ou=typeof Promise=="function"?Promise:void 0,My=typeof queueMicrotask=="function"?queueMicrotask:typeof ou<"u"?function(e){return ou.resolve(null).then(e).catch(zy)}:Ao;function zy(e){setTimeout(function(){throw e})}function Vs(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Jr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Jr(t)}function Gt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function au(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var vr=Math.random().toString(36).slice(2),vt="__reactFiber$"+vr,ri="__reactProps$"+vr,Ct="__reactContainer$"+vr,Bo="__reactEvents$"+vr,Iy="__reactListeners$"+vr,Dy="__reactHandles$"+vr;function gn(e){var t=e[vt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ct]||n[vt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=au(e);e!==null;){if(n=e[vt])return n;e=au(e)}return t}e=n,n=e.parentNode}return null}function wi(e){return e=e[vt]||e[Ct],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Un(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(O(33))}function rs(e){return e[ri]||null}var $o=[],Wn=-1;function an(e){return{current:e}}function q(e){0>Wn||(e.current=$o[Wn],$o[Wn]=null,Wn--)}function W(e,t){Wn++,$o[Wn]=e.current,e.current=t}var ln={},ve=an(ln),Oe=an(!1),_n=ln;function or(e,t){var n=e.type.contextTypes;if(!n)return ln;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},l;for(l in n)i[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Te(e){return e=e.childContextTypes,e!=null}function kl(){q(Oe),q(ve)}function cu(e,t,n){if(ve.current!==ln)throw Error(O(168));W(ve,t),W(Oe,n)}function Of(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(O(108,Nh(e)||"Unknown",i));return G({},n,r)}function _l(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ln,_n=ve.current,W(ve,e),W(Oe,Oe.current),!0}function uu(e,t,n){var r=e.stateNode;if(!r)throw Error(O(169));n?(e=Of(e,t,_n),r.__reactInternalMemoizedMergedChildContext=e,q(Oe),q(ve),W(ve,e)):q(Oe),W(Oe,n)}var Nt=null,is=!1,qs=!1;function Tf(e){Nt===null?Nt=[e]:Nt.push(e)}function Ay(e){is=!0,Tf(e)}function cn(){if(!qs&&Nt!==null){qs=!0;var e=0,t=U;try{var n=Nt;for(U=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Nt=null,is=!1}catch(i){throw Nt!==null&&(Nt=Nt.slice(e+1)),ef(Ia,cn),i}finally{U=t,qs=!1}}return null}var Hn=[],Vn=0,Cl=null,Pl=0,Ye=[],Xe=0,Cn=null,St=1,Et="";function mn(e,t){Hn[Vn++]=Pl,Hn[Vn++]=Cl,Cl=e,Pl=t}function Rf(e,t,n){Ye[Xe++]=St,Ye[Xe++]=Et,Ye[Xe++]=Cn,Cn=e;var r=St;e=Et;var i=32-ot(r)-1;r&=~(1<<i),n+=1;var l=32-ot(t)+i;if(30<l){var s=i-i%5;l=(r&(1<<s)-1).toString(32),r>>=s,i-=s,St=1<<32-ot(t)+i|n<<i|r,Et=l+e}else St=1<<l|n<<i|r,Et=e}function qa(e){e.return!==null&&(mn(e,1),Rf(e,1,0))}function Qa(e){for(;e===Cl;)Cl=Hn[--Vn],Hn[Vn]=null,Pl=Hn[--Vn],Hn[Vn]=null;for(;e===Cn;)Cn=Ye[--Xe],Ye[Xe]=null,Et=Ye[--Xe],Ye[Xe]=null,St=Ye[--Xe],Ye[Xe]=null}var Be=null,Ie=null,Q=!1,lt=null;function bf(e,t){var n=Ge(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.del
2024-09-20 13:55:40 +00:00
Error generating stack: `+l.message+`
2024-09-23 17:26:24 +00:00
`+l.stack}return{value:e,source:t,stack:i,digest:null}}function Gs(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Qo(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Ky=typeof WeakMap=="function"?WeakMap:Map;function lp(e,t,n){n=kt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){zl||(zl=!0,ra=r),Qo(e,t)},n}function sp(e,t,n){n=kt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Qo(e,t)}}var l=e.stateNode;return l!==null&&typeof l.componentDidCatch=="function"&&(n.callback=function(){Qo(e,t),typeof r!="function"&&(Zt===null?Zt=new Set([this]):Zt.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function wu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Ky;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=av.bind(null,e,t,n),t.then(e,e))}function ju(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Nu(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=kt(-1,1),t.tag=2,Jt(n,t,1))),n.lanes|=1),e)}var Yy=Rt.ReactCurrentOwner,Pe=!1;function xe(e,t,n,r){t.child=e===null?Mf(t,null,n,r):cr(t,e.child,n,r)}function Su(e,t,n,r,i){n=n.render;var l=t.ref;return ir(t,i),r=ic(e,t,n,r,l,i),n=lc(),e!==null&&!Pe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ot(e,t,i)):(Q&&n&&qa(t),t.flags|=1,xe(e,t,r,i),t.child)}function Eu(e,t,n,r,i){if(e===null){var l=n.type;return typeof l=="function"&&!hc(l)&&l.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=l,op(e,t,l,r,i)):(e=sl(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(l=e.child,!(e.lanes&i)){var s=l.memoizedProps;if(n=n.compare,n=n!==null?n:ei,n(s,r)&&e.ref===t.ref)return Ot(e,t,i)}return t.flags|=1,e=tn(l,r),e.ref=t.ref,e.return=t,t.child=e}function op(e,t,n,r,i){if(e!==null){var l=e.memoizedProps;if(ei(l,r)&&e.ref===t.ref)if(Pe=!1,t.pendingProps=r=l,(e.lanes&i)!==0)e.flags&131072&&(Pe=!0);else return t.lanes=e.lanes,Ot(e,t,i)}return Ko(e,t,n,r,i)}function ap(e,t,n){var r=t.pendingProps,i=r.children,l=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},W(Kn,ze),ze|=n;else{if(!(n&1073741824))return e=l!==null?l.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,W(Kn,ze),ze|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=l!==null?l.baseLanes:n,W(Kn,ze),ze|=r}else l!==null?(r=l.baseLanes|n,t.memoizedState=null):r=n,W(Kn,ze),ze|=r;return xe(e,t,i,n),t.child}function cp(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ko(e,t,n,r,i){var l=Te(n)?_n:ve.current;return l=or(t,l),ir(t,i),n=ic(e,t,n,r,l,i),r=lc(),e!==null&&!Pe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ot(e,t,i)):(Q&&r&&qa(t),t.flags|=1,xe(e,t,n,i),t.child)}function ku(e,t,n,r,i){if(Te(n)){var l=!0;_l(t)}else l=!1;if(ir(t,i),t.stateNode===null)rl(e,t),ip(t,n,r),qo(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var c=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=Ze(u):(u=Te(n)?_n:ve.current,u=or(t,u));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||c!==u)&&xu(t,s,r,u),Dt=!1;var y=t.memoizedState;s.state=y,Rl(t,r,s,i),c=t.memoizedState,a!==r||y!==c||Oe.current||Dt?(typeof d=="function"&&(Vo(t,n,d,r),c=t.memoizedState),(a=Dt||gu(t,n,a,r,y,c,u))?(f||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.compon
2024-09-20 13:55:40 +00:00
* @license React
* use-sync-external-store-with-selector.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
2024-09-23 17:26:24 +00:00
*/var Ni=E;function wv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var jv=typeof Object.is=="function"?Object.is:wv,Nv=Ni.useSyncExternalStore,Sv=Ni.useRef,Ev=Ni.useEffect,kv=Ni.useMemo,_v=Ni.useDebugValue;Mp.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var l=Sv(null);if(l.current===null){var s={hasValue:!1,value:null};l.current=s}else s=l.current;l=kv(function(){function c(j){if(!u){if(u=!0,d=j,j=r(j),i!==void 0&&s.hasValue){var v=s.value;if(i(v,j))return f=v}return f=j}if(v=f,jv(d,j))return v;var g=r(j);return i!==void 0&&i(v,g)?v:(d=j,f=g)}var u=!1,d,f,y=n===void 0?null:n;return[function(){return c(t())},y===null?void 0:function(){return c(y())}]},[t,n,r,i]);var a=Nv(e,l[0],l[1]);return Ev(function(){s.hasValue=!0,s.value=a},[a]),_v(a),a};Fp.exports=Mp;var Cv=Fp.exports,De="default"in mo?N:mo,Au=Symbol.for("react-redux-context"),Bu=typeof globalThis<"u"?globalThis:{};function Pv(){if(!De.createContext)return{};const e=Bu[Au]??(Bu[Au]=new Map);let t=e.get(De.createContext);return t||(t=De.createContext(null),e.set(De.createContext,t)),t}var sn=Pv(),Ov=()=>{throw new Error("uSES not initialized!")};function wc(e=sn){return function(){return De.useContext(e)}}var zp=wc(),Ip=Ov,Tv=e=>{Ip=e},Rv=(e,t)=>e===t;function bv(e=sn){const t=e===sn?zp:wc(e),n=(r,i={})=>{const{equalityFn:l=Rv,devModeChecks:s={}}=typeof i=="function"?{equalityFn:i}:i,{store:a,subscription:c,getServerState:u,stabilityCheck:d,identityFunctionCheck:f}=t();De.useRef(!0);const y=De.useCallback({[r.name](v){return r(v)}}[r.name],[r,d,s.stabilityCheck]),j=Ip(c.addNestedSub,a.getState,u||a.getState,y,l);return De.useDebugValue(j),j};return Object.assign(n,{withTypes:()=>n}),n}var dt=bv();function Lv(e){e()}function Fv(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Lv(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let r=e;for(;r;)n.push(r),r=r.next;return n},subscribe(n){let r=!0;const i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!r||e===null||(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var $u={notify(){},get:()=>[]};function Mv(e,t){let n,r=$u,i=0,l=!1;function s(g){d();const w=r.subscribe(g);let h=!1;return()=>{h||(h=!0,w(),f())}}function a(){r.notify()}function c(){v.onStateChange&&v.onStateChange()}function u(){return l}function d(){i++,n||(n=e.subscribe(c),r=Fv())}function f(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=$u)}function y(){l||(l=!0,d())}function j(){l&&(l=!1,f())}const v={addNestedSub:s,notifyNestedSubs:a,handleChangeWrapper:c,isSubscribed:u,trySubscribe:y,tryUnsubscribe:j,getListeners:()=>r};return v}var zv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Iv=typeof navigator<"u"&&navigator.product==="ReactNative",Dv=zv||Iv?De.useLayoutEffect:De.useEffect;function Av({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:l="once"}){const s=De.useMemo(()=>{const u=Mv(e);return{store:e,subscription:u,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:l}},[e,r,i,l]),a=De.useMemo(()=>e.getState(),[e]);Dv(()=>{const{subscription:u}=s;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),a!==e.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[s,a]);const c=t||sn;return De.createElement(c.Provider,{value:s},n)}var Bv=Av;function Dp(e=sn){const t=e===sn?zp:wc(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var $v=Dp();function Uv(e=sn){const t=e===sn?$v:Dp(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var un=Uv();Tv(Cv.useSyncExternalStoreWithSelector);function ce(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Wv=typeof Symbol=="function"&&Symbol.observable||"@@observable",Uu=Wv,to=()=>Math.random().toString(36).substring(7).split("").join("."),Hv={INIT:`@@redux/INIT${to()}`,REPLACE:`@@redux/REPLACE${to()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/P
`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&zg[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},nd=Symbol("internals");function Or(e){return e&&String(e).trim().toLowerCase()}function al(e){return e===!1||e==null?e:S.isArray(e)?e.map(al):String(e)}function Dg(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Ag=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function so(e,t,n,r,i){if(S.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!S.isString(t)){if(S.isString(r))return t.indexOf(r)!==-1;if(S.isRegExp(r))return r.test(t)}}function Bg(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function $g(e,t){const n=S.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,l,s){return this[r].call(this,t,i,l,s)},configurable:!0})})}class Le{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function l(a,c,u){const d=Or(c);if(!d)throw new Error("header name must be a non-empty string");const f=S.findKey(i,d);(!f||i[f]===void 0||u===!0||u===void 0&&i[f]!==!1)&&(i[f||c]=al(a))}const s=(a,c)=>S.forEach(a,(u,d)=>l(u,d,c));if(S.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(S.isString(t)&&(t=t.trim())&&!Ag(t))s(Ig(t),n);else if(S.isHeaders(t))for(const[a,c]of t.entries())l(c,a,r);else t!=null&&l(n,t,r);return this}get(t,n){if(t=Or(t),t){const r=S.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return Dg(i);if(S.isFunction(n))return n.call(this,i,r);if(S.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Or(t),t){const r=S.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||so(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function l(s){if(s=Or(s),s){const a=S.findKey(r,s);a&&(!n||so(r,r[a],a,n))&&(delete r[a],i=!0)}}return S.isArray(t)?t.forEach(l):l(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const l=n[r];(!t||so(this,this[l],l,t,!0))&&(delete this[l],i=!0)}return i}normalize(t){const n=this,r={};return S.forEach(this,(i,l)=>{const s=S.findKey(r,l);if(s){n[s]=al(i),delete n[l];return}const a=t?Bg(l):String(l).trim();a!==l&&delete n[l],n[a]=al(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return S.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&S.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[nd]=this[nd]={accessors:{}}).accessors,i=this.prototype;function l(s){const a=Or(s);r[a]||($g(i,s),r[a]=!0)}return S.isArray(t)?t.forEach(l):l(t),this}}Le.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);S.reduceDescriptors(Le.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});S.freezeMethods(Le);function oo(e,t){const n=this||Ei,r=t||n,i=Le.from(r.headers);let l=r.data;return S.forEach(e,function(a){l=a.call(n,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function fm(e){return!!(e&&e.__CANCEL__)}function xr(e,t,n){z.call(this,e??"canceled",z.ERR_CANCELED,t,n),this.name="CanceledError"}S.inherits(xr,z,{__CANCEL__:!0});function pm(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new z("Request failed with status code "+n.status,[z.ERR_BAD_REQUEST,z.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Ug(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Wg(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,l=0,s;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),d=r[l];s||(s=u),n[i]=c,r[i]=u;let f=l,y=0;for(;f!==i;)y+=n[f++],f=f%e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),u-s<t)return;const j=d&&u-d;return j?Math.round(y*1e3/j):void 0}}function Hg(e,t){let n=0,r=1e3/t,i,l;const s=(u,d=Date.now())=>{n=d,i=null,l&&(clearTimeout(l),l=null),e.apply(null,u)};return[(...u)=>{const d=Date.now(),f=d-n;f>=r?s(u,d):(i=u,l||(l=setTimeout(()=>{l=null,s(i)},r-f)))},()=>i&&s(i)]}const Vl=(e,t,n=3)=>{let r=0;const i=Wg(50,250);return Hg(l=>{const s=l.loaded,a=l.lengthComputable?l.total:void 0,c=s-r,u=i(c),d=s<=a;r=s;const f={loaded:s,total:a,progress:a?s/a:void 0,bytes:c,rate:u||void 0,estimated:u&&a&&d?(a-s)/u:void 0,event:l,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},rd=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},id=e=>(...t)=>S.asap(()=>e(...t)),Vg=be.hasStandardBrowserEnv?function(){const t=be.navigator&&/(msie|trident)/i.test(be.navigator.userAgent),n=document.createElement("a");let r;function i(l){let s=l;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(s){const a=S.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),qg=be.hasStandardBrowserEnv?{write(e,t,n,r,i,l){const s=[e+"="+encodeURIComponent(t)];S.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),S.isString(r)&&s.push("path="+r),S.isString(i)&&s.push("domain="+i),l===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Qg(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Kg(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function mm(e,t){return e&&!Qg(t)?Kg(e,t):t}const ld=e=>e instanceof Le?{...e}:e;function Ln(e,t){t=t||{};const n={};function r(u,d,f){return S.isPlainObject(u)&&S.isPlainObject(d)?S.merge.call({caseless:f},u,d):S.isPlainObject(d)?S.merge({},d):S.isArray(d)?d.slice():d}function i(u,d,f){if(S.isUndefined(d)){if(!S.isUndefined(u))return r(void 0,u,f)}else return r(u,d,f)}function l(u,d){if(!S.isUndefined(d))return r(void 0,d)}function s(u,d){if(S.isUndefined(d)){if(!S.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function a(u,d,f){if(f in t)return r(u,d);if(f in e)return r(void 0,u)}const c
2024-09-21 19:01:44 +00:00
`+l.map(ad).join(`
2024-09-23 17:26:24 +00:00
`):" "+ad(l[0]):"as no adapter specified";throw new z("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:va};function ao(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new xr(null,e)}function cd(e){return ao(e),e.headers=Le.from(e.headers),e.data=oo.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),gm.getAdapter(e.adapter||Ei.adapter)(e).then(function(r){return ao(e),r.data=oo.call(e,e.transformResponse,r),r.headers=Le.from(r.headers),r},function(r){return fm(r)||(ao(e),r&&r.response&&(r.response.data=oo.call(e,e.transformResponse,r.response),r.response.headers=Le.from(r.response.headers))),Promise.reject(r)})}const xm="1.7.7",Pc={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Pc[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const ud={};Pc.transitional=function(t,n,r){function i(l,s){return"[Axios v"+xm+"] Transitional option '"+l+"'"+s+(r?". "+r:"")}return(l,s,a)=>{if(t===!1)throw new z(i(s," has been removed"+(n?" in "+n:"")),z.ERR_DEPRECATED);return n&&!ud[s]&&(ud[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(l,s,a):!0}};function o1(e,t,n){if(typeof e!="object")throw new z("options must be an object",z.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const l=r[i],s=t[l];if(s){const a=e[l],c=a===void 0||s(a,l,e);if(c!==!0)throw new z("option "+l+" must be "+c,z.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new z("Unknown option "+l,z.ERR_BAD_OPTION)}}const ga={assertOptions:o1,validators:Pc},zt=ga.validators;class En{constructor(t){this.defaults=t,this.interceptors={request:new td,response:new td}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const l=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?l&&!String(r.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(r.stack+=`
`+l):r.stack=l}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ln(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:l}=n;r!==void 0&&ga.assertOptions(r,{silentJSONParsing:zt.transitional(zt.boolean),forcedJSONParsing:zt.transitional(zt.boolean),clarifyTimeoutError:zt.transitional(zt.boolean)},!1),i!=null&&(S.isFunction(i)?n.paramsSerializer={serialize:i}:ga.assertOptions(i,{encode:zt.function,serialize:zt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=l&&S.merge(l.common,l[n.method]);l&&S.forEach(["delete","get","head","post","put","patch","common"],v=>{delete l[v]}),n.headers=Le.concat(s,l);const a=[];let c=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(c=c&&g.synchronous,a.unshift(g.fulfilled,g.rejected))});const u=[];this.interceptors.response.forEach(function(g){u.push(g.fulfilled,g.rejected)});let d,f=0,y;if(!c){const v=[cd.bind(this),void 0];for(v.unshift.apply(v,a),v.push.apply(v,u),y=v.length,d=Promise.resolve(n);f<y;)d=d.then(v[f++],v[f++]);return d}y=a.length;let j=n;for(f=0;f<y;){const v=a[f++],g=a[f++];try{j=v(j)}catch(w){g.call(this,w);break}}try{d=cd.call(this,j)}catch(v){return Promise.reject(v)}for(f=0,y=u.length;f<y;)d=d.then(u[f++],u[f++]);return d}getUri(t){t=Ln(this.defaults,t);const n=mm(t.baseURL,t.url);return cm(n,t.params,t.paramsSerializer)}}S.forEach(["delete","get","head","options"],function(t){En.prototype[t]=function(n,r){return this.request(Ln(r||{},{method:t,url:n,data:(r||{}).data}))}});S.forEach(["post","put","patch"],function(t){function n(r){return function(l,s,a){return this.request(Ln(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:l,data:s}))}}En.prototype[t]=n(),En.prototype[t+"Form"]=n(!0)});class Oc{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(l){n=l});const r=this;this.promise.then(i=>{if(!r._listeners)return;let l=r._listeners.length;for(;l-- >0;)r._listeners[l](i);r._listeners=null}),this.promise.then=i=>{let l;const s=new Promise(a=>{r.subscribe(a),l=a}).then(i);return s.cancel=function(){r.unsubscribe(l)},s},t(function(l,s,a){r.reason||(r.reason=new xr(l,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Oc(function(i){t=i}),cancel:t}}}function a1(e){return function(n){return e.apply(null,n)}}function c1(e){return S.isObject(e)&&e.isAxiosError===!0}const xa={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationReq
2024-09-20 13:55:40 +00:00
* @remix-run/router v1.19.1
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
2024-09-23 17:26:24 +00:00
*/function pi(){return pi=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},pi.apply(this,arguments)}var qt;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(qt||(qt={}));const dd="popstate";function k1(e){e===void 0&&(e={});function t(r,i){let{pathname:l,search:s,hash:a}=r.location;return wa("",{pathname:l,search:s,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:Ql(i)}return C1(t,n,null,e)}function Z(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Nm(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function _1(){return Math.random().toString(36).substr(2,8)}function fd(e,t){return{usr:e.state,key:e.key,idx:t}}function wa(e,t,n,r){return n===void 0&&(n=null),pi({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?wr(t):t,{state:n,key:t&&t.key||r||_1()})}function Ql(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 wr(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function C1(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:l=!1}=r,s=i.history,a=qt.Pop,c=null,u=d();u==null&&(u=0,s.replaceState(pi({},s.state,{idx:u}),""));function d(){return(s.state||{idx:null}).idx}function f(){a=qt.Pop;let w=d(),h=w==null?null:w-u;u=w,c&&c({action:a,location:g.location,delta:h})}function y(w,h){a=qt.Push;let p=wa(g.location,w,h);u=d()+1;let m=fd(p,u),x=g.createHref(p);try{s.pushState(m,"",x)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;i.location.assign(x)}l&&c&&c({action:a,location:g.location,delta:1})}function j(w,h){a=qt.Replace;let p=wa(g.location,w,h);u=d();let m=fd(p,u),x=g.createHref(p);s.replaceState(m,"",x),l&&c&&c({action:a,location:g.location,delta:0})}function v(w){let h=i.location.origin!=="null"?i.location.origin:i.location.href,p=typeof w=="string"?w:Ql(w);return p=p.replace(/ $/,"%20"),Z(h,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,h)}let g={get action(){return a},get location(){return e(i,s)},listen(w){if(c)throw new Error("A history only accepts one active listener");return i.addEventListener(dd,f),c=w,()=>{i.removeEventListener(dd,f),c=null}},createHref(w){return t(i,w)},createURL:v,encodeLocation(w){let h=v(w);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:y,replace:j,go(w){return s.go(w)}};return g}var pd;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(pd||(pd={}));function P1(e,t,n){return n===void 0&&(n="/"),O1(e,t,n,!1)}function O1(e,t,n,r){let i=typeof t=="string"?wr(t):t,l=mr(i.pathname||"/",n);if(l==null)return null;let s=Sm(e);T1(s);let a=null;for(let c=0;a==null&&c<s.length;++c){let u=$1(l);a=A1(s[c],u,r)}return a}function Sm(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(l,s,a)=>{let c={relativePath:a===void 0?l.path||"":a,caseSensitive:l.caseSensitive===!0,childrenIndex:s,route:l};c.relativePath.startsWith("/")&&(Z(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=nn([r,c.relativePath]),d=n.concat(c);l.children&&l.children.length>0&&(Z(l.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Sm(l.children,t,d,u)),!(l.path==null&&!l.index)&&t.push({path:u,score:I1(u,l.index),routesMeta:d})};return e.forEach((l,s)=>{var a;if(l.path===""||!((a=l.path)!=null&&a.includes("?")))i(l,s);else for(let c of Em(l.path))i(l,s,c)}),t}function Em(e){let t=e.split("/");if(t.length
2024-09-20 13:55:40 +00:00
* React Router v6.26.1
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
2024-09-23 17:26:24 +00:00
*/function mi(){return mi=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},mi.apply(this,arguments)}const Ss=E.createContext(null),Pm=E.createContext(null),fn=E.createContext(null),Es=E.createContext(null),pn=E.createContext({outlet:null,matches:[],isDataRoute:!1}),Om=E.createContext(null);function X1(e,t){let{relative:n}=t===void 0?{}:t;ki()||Z(!1);let{basename:r,navigator:i}=E.useContext(fn),{hash:l,pathname:s,search:a}=ks(e,{relative:n}),c=s;return r!=="/"&&(c=s==="/"?r:nn([r,s])),i.createHref({pathname:c,search:a,hash:l})}function ki(){return E.useContext(Es)!=null}function _i(){return ki()||Z(!1),E.useContext(Es).location}function Tm(e){E.useContext(fn).static||E.useLayoutEffect(e)}function Ci(){let{isDataRoute:e}=E.useContext(pn);return e?cx():G1()}function G1(){ki()||Z(!1);let e=E.useContext(Ss),{basename:t,future:n,navigator:r}=E.useContext(fn),{matches:i}=E.useContext(pn),{pathname:l}=_i(),s=JSON.stringify(km(i,n.v7_relativeSplatPath)),a=E.useRef(!1);return Tm(()=>{a.current=!0}),E.useCallback(function(u,d){if(d===void 0&&(d={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let f=_m(u,JSON.parse(s),l,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:nn([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,s,l,e])}function Pi(){let{matches:e}=E.useContext(pn),t=e[e.length-1];return t?t.params:{}}function ks(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=E.useContext(fn),{matches:i}=E.useContext(pn),{pathname:l}=_i(),s=JSON.stringify(km(i,r.v7_relativeSplatPath));return E.useMemo(()=>_m(e,JSON.parse(s),l,n==="path"),[e,s,l,n])}function J1(e,t){return Z1(e,t)}function Z1(e,t,n,r){ki()||Z(!1);let{navigator:i}=E.useContext(fn),{matches:l}=E.useContext(pn),s=l[l.length-1],a=s?s.params:{};s&&s.pathname;let c=s?s.pathnameBase:"/";s&&s.route;let u=_i(),d;if(t){var f;let w=typeof t=="string"?wr(t):t;c==="/"||(f=w.pathname)!=null&&f.startsWith(c)||Z(!1),d=w}else d=u;let y=d.pathname||"/",j=y;if(c!=="/"){let w=c.replace(/^\//,"").split("/");j="/"+y.replace(/^\//,"").split("/").slice(w.length).join("/")}let v=P1(e,{pathname:j}),g=ix(v&&v.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:nn([c,i.encodeLocation?i.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?c:nn([c,i.encodeLocation?i.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),l,n,r);return t&&g?E.createElement(Es.Provider,{value:{location:mi({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:qt.Pop}},g):g}function ex(){let e=ax(),t=K1(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return E.createElement(E.Fragment,null,E.createElement("h2",null,"Unexpected Application Error!"),E.createElement("h3",{style:{fontStyle:"italic"}},t),n?E.createElement("pre",{style:i},n):null,null)}const tx=E.createElement(ex,null);class nx extends E.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?E.createElement(pn.Provider,{value:this.props.routeContext},E.createElement(Om.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function rx(e){let{routeContext:t,match:n,children:r}=e,i=E.useContext(Ss);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),E.c
2024-09-20 13:55:40 +00:00
* React Router DOM v6.26.1
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
2024-09-23 17:26:24 +00:00
*/function Xl(){return Xl=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},Xl.apply(this,arguments)}function Lm(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,l;for(l=0;l<r.length;l++)i=r[l],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function fx(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function px(e,t){return e.button===0&&(!t||t==="_self")&&!fx(e)}const mx=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],hx=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],yx="6";try{window.__reactRouterVersion=yx}catch{}const vx=E.createContext({isTransitioning:!1}),gx="startTransition",hd=mo[gx];function xx(e){let{basename:t,children:n,future:r,window:i}=e,l=E.useRef();l.current==null&&(l.current=k1({window:i,v5Compat:!0}));let s=l.current,[a,c]=E.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},d=E.useCallback(f=>{u&&hd?hd(()=>c(f)):c(f)},[c,u]);return E.useLayoutEffect(()=>s.listen(d),[s,d]),E.createElement(ux,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const wx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",jx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Nx=E.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:l,replace:s,state:a,target:c,to:u,preventScrollReset:d,unstable_viewTransition:f}=t,y=Lm(t,mx),{basename:j}=E.useContext(fn),v,g=!1;if(typeof u=="string"&&jx.test(u)&&(v=u,wx))try{let m=new URL(window.location.href),x=u.startsWith("//")?new URL(m.protocol+u):new URL(u),k=mr(x.pathname,j);x.origin===m.origin&&k!=null?u=k+x.search+x.hash:g=!0}catch{}let w=X1(u,{relative:i}),h=Ex(u,{replace:s,state:a,target:c,preventScrollReset:d,relative:i,unstable_viewTransition:f});function p(m){r&&r(m),m.defaultPrevented||h(m)}return E.createElement("a",Xl({},y,{href:v||w,onClick:g||l?r:p,ref:n,target:c}))}),ee=E.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:l="",end:s=!1,style:a,to:c,unstable_viewTransition:u,children:d}=t,f=Lm(t,hx),y=ks(c,{relative:f.relative}),j=_i(),v=E.useContext(Pm),{navigator:g,basename:w}=E.useContext(fn),h=v!=null&&kx(y)&&u===!0,p=g.encodeLocation?g.encodeLocation(y).pathname:y.pathname,m=j.pathname,x=v&&v.navigation&&v.navigation.location?v.navigation.location.pathname:null;i||(m=m.toLowerCase(),x=x?x.toLowerCase():null,p=p.toLowerCase()),x&&w&&(x=mr(x,w)||x);const k=p!=="/"&&p.endsWith("/")?p.length-1:p.length;let C=m===p||!s&&m.startsWith(p)&&m.charAt(k)==="/",P=x!=null&&(x===p||!s&&x.startsWith(p)&&x.charAt(p.length)==="/"),_={isActive:C,isPending:P,isTransitioning:h},b=C?r:void 0,L;typeof l=="function"?L=l(_):L=[l,C?"active":null,P?"pending":null,h?"transitioning":null].filter(Boolean).join(" ");let H=typeof a=="function"?a(_):a;return E.createElement(Nx,Xl({},f,{"aria-current":b,className:L,ref:n,style:H,to:c,unstable_viewTransition:u}),typeof d=="function"?d(_):d)});var Na;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Na||(Na={}));var yd;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(yd||(yd={}));function Sx(e){let t=E.useContext(Ss);return t||Z(!1),t}function Ex(e,t){let{target:n,replace:r,state:i,preventScrollReset:l,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,c=Ci(),u=_i(),d=ks(e,{relative:s});return E.useCallback(f=>{if(px(f,n)){f.preventDefault();let y=r!==void 0?r:Ql(u)===Ql(d);c(e,{replace:y,state:i,preventScrollReset:l,relative:s,unstable_viewTransition:a})}},[u,c,d,r,i,n,e,l,s,a])}function kx(e,t){t===void 0&&(t={});let n=E.useContext(vx);n==null&&Z(!1);let{basename:r}=Sx(Na.useViewTransitionState),i=ks(e,{relative:t.relative});if(!n.isTransitioning)retur