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

81 lines
292 KiB
JavaScript
Raw Normal View History

2024-09-12 08:11:07 +00:00
var Rp=Object.defineProperty;var Tp=(e,t,n)=>t in e?Rp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ps=(e,t,n)=>Tp(e,typeof t!="symbol"?t+"":t,n);function bp(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 id(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ld={exports:{}},Al={},sd={exports:{}},A={};/**
2024-09-09 15:37:41 +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-12 08:11:07 +00:00
*/var ni=Symbol.for("react.element"),Lp=Symbol.for("react.portal"),Mp=Symbol.for("react.fragment"),Fp=Symbol.for("react.strict_mode"),zp=Symbol.for("react.profiler"),Ap=Symbol.for("react.provider"),Ip=Symbol.for("react.context"),Dp=Symbol.for("react.forward_ref"),Up=Symbol.for("react.suspense"),Bp=Symbol.for("react.memo"),$p=Symbol.for("react.lazy"),hu=Symbol.iterator;function Wp(e){return e===null||typeof e!="object"?null:(e=hu&&e[hu]||e["@@iterator"],typeof e=="function"?e:null)}var od={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ad=Object.assign,ud={};function Zn(e,t,n){this.props=e,this.context=t,this.refs=ud,this.updater=n||od}Zn.prototype.isReactComponent={};Zn.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")};Zn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function cd(){}cd.prototype=Zn.prototype;function ua(e,t,n){this.props=e,this.context=t,this.refs=ud,this.updater=n||od}var ca=ua.prototype=new cd;ca.constructor=ua;ad(ca,Zn.prototype);ca.isPureReactComponent=!0;var vu=Array.isArray,dd=Object.prototype.hasOwnProperty,da={current:null},fd={key:!0,ref:!0,__self:!0,__source:!0};function md(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)dd.call(t,r)&&!fd.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var u=Array(a),c=0;c<a;c++)u[c]=arguments[c+2];i.children=u}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:ni,type:e,key:l,ref:s,props:i,_owner:da.current}}function Hp(e,t){return{$$typeof:ni,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function fa(e){return typeof e=="object"&&e!==null&&e.$$typeof===ni}function Vp(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var yu=/\/+/g;function hs(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Vp(""+e.key):t.toString(36)}function Ai(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 ni:case Lp:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+hs(s,0):r,vu(i)?(n="",e!=null&&(n=e.replace(yu,"$&/")+"/"),Ai(i,t,n,"",function(c){return c})):i!=null&&(fa(i)&&(i=Hp(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(yu,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",vu(e))for(var a=0;a<e.length;a++){l=e[a];var u=r+hs(l,a);s+=Ai(l,t,n,u,i)}else if(u=Wp(e),typeof u=="function")for(e=u.call(e),a=0;!(l=e.next()).done;)l=l.value,u=r+hs(l,a++),s+=Ai(l,t,n,u,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 gi(e,t,n){if(e==null)return e;var r=[],i=0;return Ai(e,r,"","",function(l){return t.call(n,l,i++)}),r}function Qp(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 ve={current:null},Ii={transition:null},Kp={ReactCurrentDispatcher:ve,ReactCurrentBatchConfig:Ii,ReactCurrentOwner:da};function pd(){throw Error("act(...) is not supported in production builds of React.")}A.Children={map:gi,forEach:function(e,t,n){gi(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return gi(e,function(){t++}),t},toArray:function(e){return gi(e,function(t){return t})||[]},only:function(e){if(!fa(e))throw Error("React.Children.only expected to receive a sing
2024-09-09 15:37:41 +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-12 08:11:07 +00:00
*/var qp=O,Gp=Symbol.for("react.element"),Jp=Symbol.for("react.fragment"),Xp=Object.prototype.hasOwnProperty,Yp=qp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Zp={key:!0,ref:!0,__self:!0,__source:!0};function hd(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)Xp.call(t,r)&&!Zp.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:Gp,type:e,key:l,ref:s,props:i,_owner:Yp.current}}Al.Fragment=Jp;Al.jsx=hd;Al.jsxs=hd;ld.exports=Al;var o=ld.exports,vd={exports:{}},Fe={},yd={exports:{}},gd={};/**
2024-09-09 15:37:41 +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-12 08:11:07 +00:00
*/(function(e){function t(T,M){var F=T.length;T.push(M);e:for(;0<F;){var X=F-1>>>1,ne=T[X];if(0<i(ne,M))T[X]=M,T[F]=ne,F=X;else break e}}function n(T){return T.length===0?null:T[0]}function r(T){if(T.length===0)return null;var M=T[0],F=T.pop();if(F!==M){T[0]=F;e:for(var X=0,ne=T.length,vi=ne>>>1;X<vi;){var Jt=2*(X+1)-1,ms=T[Jt],Xt=Jt+1,yi=T[Xt];if(0>i(ms,F))Xt<ne&&0>i(yi,ms)?(T[X]=yi,T[Xt]=F,X=Xt):(T[X]=ms,T[Jt]=F,X=Jt);else if(Xt<ne&&0>i(yi,F))T[X]=yi,T[Xt]=F,X=Xt;else break e}}return M}function i(T,M){var F=T.sortIndex-M.sortIndex;return F!==0?F:T.id-M.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 u=[],c=[],d=1,f=null,v=3,g=!1,y=!1,w=!1,N=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(T){for(var M=n(c);M!==null;){if(M.callback===null)r(c);else if(M.startTime<=T)r(c),M.sortIndex=M.expirationTime,t(u,M);else break;M=n(c)}}function x(T){if(w=!1,p(T),!y)if(n(u)!==null)y=!0,ds(k);else{var M=n(c);M!==null&&fs(x,M.startTime-T)}}function k(T,M){y=!1,w&&(w=!1,h(C),C=-1),g=!0;var F=v;try{for(p(M),f=n(u);f!==null&&(!(f.expirationTime>M)||T&&!me());){var X=f.callback;if(typeof X=="function"){f.callback=null,v=f.priorityLevel;var ne=X(f.expirationTime<=M);M=e.unstable_now(),typeof ne=="function"?f.callback=ne:f===n(u)&&r(u),p(M)}else r(u);f=n(u)}if(f!==null)var vi=!0;else{var Jt=n(c);Jt!==null&&fs(x,Jt.startTime-M),vi=!1}return vi}finally{f=null,v=F,g=!1}}var E=!1,P=null,C=-1,z=5,b=-1;function me(){return!(e.unstable_now()-b<z)}function sr(){if(P!==null){var T=e.unstable_now();b=T;var M=!0;try{M=P(!0,T)}finally{M?or():(E=!1,P=null)}}else E=!1}var or;if(typeof m=="function")or=function(){m(sr)};else if(typeof MessageChannel<"u"){var pu=new MessageChannel,Pp=pu.port2;pu.port1.onmessage=sr,or=function(){Pp.postMessage(null)}}else or=function(){N(sr,0)};function ds(T){P=T,E||(E=!0,or())}function fs(T,M){C=N(function(){T(e.unstable_now())},M)}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(){y||g||(y=!0,ds(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"):z=0<T?Math.floor(1e3/T):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(T){switch(v){case 1:case 2:case 3:var M=3;break;default:M=v}var F=v;v=M;try{return T()}finally{v=F}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(T,M){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var F=v;v=T;try{return M()}finally{v=F}},e.unstable_scheduleCallback=function(T,M,F){var X=e.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?X+F:X):F=X,T){case 1:var ne=-1;break;case 2:ne=250;break;case 5:ne=1073741823;break;case 4:ne=1e4;break;default:ne=5e3}return ne=F+ne,T={id:d++,callback:M,priorityLevel:T,startTime:F,expirationTime:ne,sortIndex:-1},F>X?(T.sortIndex=F,t(c,T),n(u)===null&&T===n(c)&&(w?(h(C),C=-1):w=!0,fs(x,F-X))):(T.sortIndex=ne,t(u,T),y||g||(y=!0,ds(k))),T},e.unstable_shouldYield=me,e.unstable_wrapCallback=function(T){var M=v;return function(){var F=v;v=M;try{return T.apply(this,arguments)}finally{v=F}}}})(gd);yd.exports=gd;var eh=yd.exports;/**
2024-09-09 15:37:41 +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-12 08:11:07 +00:00
*/var th=O,be=eh;function _(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 xd=new Set,Mr={};function gn(e,t){Hn(e,t),Hn(e+"Capture",t)}function Hn(e,t){for(Mr[e]=t,e=0;e<t.length;e++)xd.add(t[e])}var mt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Zs=Object.prototype.hasOwnProperty,nh=/^[: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]*$/,gu={},xu={};function rh(e){return Zs.call(xu,e)?!0:Zs.call(gu,e)?!1:nh.test(e)?xu[e]=!0:(gu[e]=!0,!1)}function ih(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 lh(e,t,n,r){if(t===null||typeof t>"u"||ih(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 ye(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 ae={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ae[e]=new ye(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ae[t]=new ye(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ae[e]=new ye(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ae[e]=new ye(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){ae[e]=new ye(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ae[e]=new ye(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ae[e]=new ye(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ae[e]=new ye(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ae[e]=new ye(e,5,!1,e.toLowerCase(),null,!1,!1)});var ma=/[\-:]([a-z])/g;function pa(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-
`+vs+e}var ys=!1;function gs(e,t){if(!e||ys)return"";ys=!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(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var i=c.stack.split(`
2024-09-09 15:37:41 +00:00
`),l=r.stack.split(`
`),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 u=`
2024-09-12 08:11:07 +00:00
`+i[s].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=s&&0<=a);break}}}finally{ys=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?yr(e):""}function sh(e){switch(e.tag){case 5:return yr(e.type);case 16:return yr("Lazy");case 13:return yr("Suspense");case 19:return yr("SuspenseList");case 0:case 2:case 15:return e=gs(e.type,!1),e;case 11:return e=gs(e.type.render,!1),e;case 1:return e=gs(e.type,!0),e;default:return""}}function ro(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 jn:return"Fragment";case Nn:return"Portal";case eo:return"Profiler";case va:return"StrictMode";case to:return"Suspense";case no:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Nd:return(e.displayName||"Context")+".Consumer";case wd:return(e._context.displayName||"Context")+".Provider";case ya:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ga:return t=e.displayName||null,t!==null?t:ro(e.type)||"Memo";case St:t=e._payload,e=e._init;try{return ro(e(t))}catch{}}return null}function oh(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 ro(t);case 8:return t===va?"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 $t(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Sd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ah(e){var t=Sd(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 wi(e){e._valueTracker||(e._valueTracker=ah(e))}function kd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Sd(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function tl(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 io(e,t){var n=t.checked;return K({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Nu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=$t(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 Ed(e,t){t=t.checked,t!=null&&ha(e,"checked",t,!1)}function lo(e,t){Ed(e,t);var n=$t(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")?so(e,t.type,n):t.hasOwnProperty("defaultValue")&&so(e,t.type,$t(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ju(e,t,n){if(t.hasOwnProperty("valu
`).replace(gv,"")}function Oi(e,t,n){if(t=Vu(t),Vu(e)!==t&&n)throw Error(_(425))}function ul(){}var No=null,jo=null;function So(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 ko=typeof setTimeout=="function"?setTimeout:void 0,xv=typeof clearTimeout=="function"?clearTimeout:void 0,Qu=typeof Promise=="function"?Promise:void 0,wv=typeof queueMicrotask=="function"?queueMicrotask:typeof Qu<"u"?function(e){return Qu.resolve(null).then(e).catch(Nv)}:ko;function Nv(e){setTimeout(function(){throw e})}function Ts(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),Dr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Dr(t)}function zt(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 Ku(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 tr=Math.random().toString(36).slice(2),rt="__reactFiber$"+tr,Hr="__reactProps$"+tr,pt="__reactContainer$"+tr,Eo="__reactEvents$"+tr,jv="__reactListeners$"+tr,Sv="__reactHandles$"+tr;function nn(e){var t=e[rt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[pt]||n[rt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Ku(e);e!==null;){if(n=e[rt])return n;e=Ku(e)}return t}e=n,n=e.parentNode}return null}function li(e){return e=e[rt]||e[pt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function _n(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(_(33))}function $l(e){return e[Hr]||null}var _o=[],Cn=-1;function Qt(e){return{current:e}}function W(e){0>Cn||(e.current=_o[Cn],_o[Cn]=null,Cn--)}function B(e,t){Cn++,_o[Cn]=e.current,e.current=t}var Wt={},fe=Qt(Wt),Ne=Qt(!1),cn=Wt;function Vn(e,t){var n=e.type.contextTypes;if(!n)return Wt;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 je(e){return e=e.childContextTypes,e!=null}function cl(){W(Ne),W(fe)}function qu(e,t,n){if(fe.current!==Wt)throw Error(_(168));B(fe,t),B(Ne,n)}function pf(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(_(108,oh(e)||"Unknown",i));return K({},n,r)}function dl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Wt,cn=fe.current,B(fe,e),B(Ne,Ne.current),!0}function Gu(e,t,n){var r=e.stateNode;if(!r)throw Error(_(169));n?(e=pf(e,t,cn),r.__reactInternalMemoizedMergedChildContext=e,W(Ne),W(fe),B(fe,e)):W(Ne),B(Ne,n)}var ut=null,Wl=!1,bs=!1;function hf(e){ut===null?ut=[e]:ut.push(e)}function kv(e){Wl=!0,hf(e)}function Kt(){if(!bs&&ut!==null){bs=!0;var e=0,t=U;try{var n=ut;for(U=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}ut=null,Wl=!1}catch(i){throw ut!==null&&(ut=ut.slice(e+1)),Dd(wa,Kt),i}finally{U=t,bs=!1}}return null}var On=[],Pn=0,fl=null,ml=0,Ae=[],Ie=0,dn=null,ct=1,dt="";function Yt(e,t){On[Pn++]=ml,On[Pn++]=fl,fl=e,ml=t}function vf(e,t,n){Ae[Ie++]=ct,Ae[Ie++]=dt,Ae[Ie++]=dn,dn=e;var r=ct;e=dt;var i=32-Ge(r)-1;r&=~(1<<i),n+=1;var l=32-Ge(t)+i;if(30<l){var s=i-i%5;l=(r&(1<<s)-1).toString(32),r>>=s,i-=s,ct=1<<32-Ge(t)+i|n<<i|r,dt=l+e}else ct=1<<l|n<<i|r,dt=e}function Pa(e){e.return!==null&&(Yt(e,1),vf(e,1,0))}function Ra(e){for(;e===fl;)fl=On[--Pn],On[Pn]=null,ml=On[--Pn],On[Pn]=null;for(;e===dn;)dn=Ae[--Ie],Ae[Ie]=null,dt=Ae[--Ie],Ae[Ie]=null,ct=Ae[--Ie],Ae[Ie]=null}var Re=null,Oe=null,H=!1,Ke=null;function yf(e,t){var n=De(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.del
2024-09-09 15:37:41 +00:00
Error generating stack: `+l.message+`
2024-09-12 08:11:07 +00:00
`+l.stack}return{value:e,source:t,stack:i,digest:null}}function As(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function bo(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Lv=typeof WeakMap=="function"?WeakMap:Map;function Hf(e,t,n){n=ft(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Nl||(Nl=!0,$o=r),bo(e,t)},n}function Vf(e,t,n){n=ft(-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(){bo(e,t)}}var l=e.stateNode;return l!==null&&typeof l.componentDidCatch=="function"&&(n.callback=function(){bo(e,t),typeof r!="function"&&(It===null?It=new Set([this]):It.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function lc(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Lv;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=Kv.bind(null,e,t,n),t.then(e,e))}function sc(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 oc(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=ft(-1,1),t.tag=2,At(n,t,1))),n.lanes|=1),e)}var Mv=gt.ReactCurrentOwner,we=!1;function pe(e,t,n,r){t.child=e===null?wf(t,null,n,r):Kn(t,e.child,n,r)}function ac(e,t,n,r,i){n=n.render;var l=t.ref;return $n(t,i),r=Ba(e,t,n,r,l,i),n=$a(),e!==null&&!we?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,vt(e,t,i)):(H&&n&&Pa(t),t.flags|=1,pe(e,t,r,i),t.child)}function uc(e,t,n,r,i){if(e===null){var l=n.type;return typeof l=="function"&&!Ya(l)&&l.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=l,Qf(e,t,l,r,i)):(e=qi(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:Br,n(s,r)&&e.ref===t.ref)return vt(e,t,i)}return t.flags|=1,e=Ut(l,r),e.ref=t.ref,e.return=t,t.child=e}function Qf(e,t,n,r,i){if(e!==null){var l=e.memoizedProps;if(Br(l,r)&&e.ref===t.ref)if(we=!1,t.pendingProps=r=l,(e.lanes&i)!==0)e.flags&131072&&(we=!0);else return t.lanes=e.lanes,vt(e,t,i)}return Lo(e,t,n,r,i)}function Kf(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},B(bn,Ce),Ce|=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,B(bn,Ce),Ce|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=l!==null?l.baseLanes:n,B(bn,Ce),Ce|=r}else l!==null?(r=l.baseLanes|n,t.memoizedState=null):r=n,B(bn,Ce),Ce|=r;return pe(e,t,i,n),t.child}function qf(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Lo(e,t,n,r,i){var l=je(n)?cn:fe.current;return l=Vn(t,l),$n(t,i),n=Ba(e,t,n,r,l,i),r=$a(),e!==null&&!we?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,vt(e,t,i)):(H&&r&&Pa(t),t.flags|=1,pe(e,t,n,i),t.child)}function cc(e,t,n,r,i){if(je(n)){var l=!0;dl(t)}else l=!1;if($n(t,i),t.stateNode===null)Vi(e,t),Wf(t,n,r),To(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var u=s.context,c=n.contextType;typeof c=="object"&&c!==null?c=Be(c):(c=je(n)?cn:fe.current,c=Vn(t,c));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||u!==c)&&ic(t,s,r,c),kt=!1;var v=t.memoizedState;s.state=v,vl(t,r,s,i),u=t.memoizedState,a!==r||v!==u||Ne.current||kt?(typeof d=="function"&&(Ro(t,n,d,r),u=t.memoizedState),(a=kt||rc(t,n,a,r,v,u,c))?(f||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.compon
2024-09-09 15:37:41 +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-12 08:11:07 +00:00
*/var oi=O;function ly(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var sy=typeof Object.is=="function"?Object.is:ly,oy=oi.useSyncExternalStore,ay=oi.useRef,uy=oi.useEffect,cy=oi.useMemo,dy=oi.useDebugValue;wm.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var l=ay(null);if(l.current===null){var s={hasValue:!1,value:null};l.current=s}else s=l.current;l=cy(function(){function u(g){if(!c){if(c=!0,d=g,g=r(g),i!==void 0&&s.hasValue){var y=s.value;if(i(y,g))return f=y}return f=g}if(y=f,sy(d,g))return y;var w=r(g);return i!==void 0&&i(y,w)?y:(d=g,f=w)}var c=!1,d,f,v=n===void 0?null:n;return[function(){return u(t())},v===null?void 0:function(){return u(v())}]},[t,n,r,i]);var a=oy(e,l[0],l[1]);return uy(function(){s.hasValue=!0,s.value=a},[a]),dy(a),a};xm.exports=wm;var fy=xm.exports,Pe="default"in Ys?S:Ys,kc=Symbol.for("react-redux-context"),Ec=typeof globalThis<"u"?globalThis:{};function my(){if(!Pe.createContext)return{};const e=Ec[kc]??(Ec[kc]=new Map);let t=e.get(Pe.createContext);return t||(t=Pe.createContext(null),e.set(Pe.createContext,t)),t}var Ht=my(),py=()=>{throw new Error("uSES not initialized!")};function ru(e=Ht){return function(){return Pe.useContext(e)}}var Nm=ru(),jm=py,hy=e=>{jm=e},vy=(e,t)=>e===t;function yy(e=Ht){const t=e===Ht?Nm:ru(e),n=(r,i={})=>{const{equalityFn:l=vy,devModeChecks:s={}}=typeof i=="function"?{equalityFn:i}:i,{store:a,subscription:u,getServerState:c,stabilityCheck:d,identityFunctionCheck:f}=t();Pe.useRef(!0);const v=Pe.useCallback({[r.name](y){return r(y)}}[r.name],[r,d,s.stabilityCheck]),g=jm(u.addNestedSub,a.getState,c||a.getState,v,l);return Pe.useDebugValue(g),g};return Object.assign(n,{withTypes:()=>n}),n}var ai=yy();function gy(e){e()}function xy(){let e=null,t=null;return{clear(){e=null,t=null},notify(){gy(()=>{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 _c={notify(){},get:()=>[]};function wy(e,t){let n,r=_c,i=0,l=!1;function s(w){d();const N=r.subscribe(w);let h=!1;return()=>{h||(h=!0,N(),f())}}function a(){r.notify()}function u(){y.onStateChange&&y.onStateChange()}function c(){return l}function d(){i++,n||(n=e.subscribe(u),r=xy())}function f(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=_c)}function v(){l||(l=!0,d())}function g(){l&&(l=!1,f())}const y={addNestedSub:s,notifyNestedSubs:a,handleChangeWrapper:u,isSubscribed:c,trySubscribe:v,tryUnsubscribe:g,getListeners:()=>r};return y}var Ny=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",jy=typeof navigator<"u"&&navigator.product==="ReactNative",Sy=Ny||jy?Pe.useLayoutEffect:Pe.useEffect;function ky({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:l="once"}){const s=Pe.useMemo(()=>{const c=wy(e);return{store:e,subscription:c,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:l}},[e,r,i,l]),a=Pe.useMemo(()=>e.getState(),[e]);Sy(()=>{const{subscription:c}=s;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),a!==e.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[s,a]);const u=t||Ht;return Pe.createElement(u.Provider,{value:s},n)}var Ey=ky;function Sm(e=Ht){const t=e===Ht?Nm:ru(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var _y=Sm();function Cy(e=Ht){const t=e===Ht?_y:Sm(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var ui=Cy();hy(fy.useSyncExternalStoreWithSelector);function le(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 Oy=typeof Symbol=="function"&&Symbol.observable||"@@observable",Cc=Oy,Bs=()=>Math.random().toString(36).substring(7).split("").join("."),Py={INIT:`@@redux/INIT${Bs()}`,REPLACE:`@@redux/REPLACE${Bs()}`,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]&&Ng[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Bc=Symbol("internals");function vr(e){return e&&String(e).trim().toLowerCase()}function Ji(e){return e===!1||e==null?e:j.isArray(e)?e.map(Ji):String(e)}function Sg(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 kg=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Qs(e,t,n,r,i){if(j.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!j.isString(t)){if(j.isString(r))return t.indexOf(r)!==-1;if(j.isRegExp(r))return r.test(t)}}function Eg(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function _g(e,t){const n=j.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 Ee{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function l(a,u,c){const d=vr(u);if(!d)throw new Error("header name must be a non-empty string");const f=j.findKey(i,d);(!f||i[f]===void 0||c===!0||c===void 0&&i[f]!==!1)&&(i[f||u]=Ji(a))}const s=(a,u)=>j.forEach(a,(c,d)=>l(c,d,u));if(j.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(j.isString(t)&&(t=t.trim())&&!kg(t))s(jg(t),n);else if(j.isHeaders(t))for(const[a,u]of t.entries())l(u,a,r);else t!=null&&l(n,t,r);return this}get(t,n){if(t=vr(t),t){const r=j.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return Sg(i);if(j.isFunction(n))return n.call(this,i,r);if(j.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=vr(t),t){const r=j.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Qs(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function l(s){if(s=vr(s),s){const a=j.findKey(r,s);a&&(!n||Qs(r,r[a],a,n))&&(delete r[a],i=!0)}}return j.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||Qs(this,this[l],l,t,!0))&&(delete this[l],i=!0)}return i}normalize(t){const n=this,r={};return j.forEach(this,(i,l)=>{const s=j.findKey(r,l);if(s){n[s]=Ji(i),delete n[l];return}const a=t?Eg(l):String(l).trim();a!==l&&delete n[l],n[a]=Ji(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return j.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&j.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[Bc]=this[Bc]={accessors:{}}).accessors,i=this.prototype;function l(s){const a=vr(s);r[a]||(_g(i,s),r[a]=!0)}return j.isArray(t)?t.forEach(l):l(t),this}}Ee.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);j.reduceDescriptors(Ee.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});j.freezeMethods(Ee);function Ks(e,t){const n=this||di,r=t||n,i=Ee.from(r.headers);let l=r.data;return j.forEach(e,function(a){l=a.call(n,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function Xm(e){return!!(e&&e.__CANCEL__)}function ir(e,t,n){L.call(this,e??"canceled",L.ERR_CANCELED,t,n),this.name="CanceledError"}j.inherits(ir,L,{__CANCEL__:!0});function Ym(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new L("Request failed with status code "+n.status,[L.ERR_BAD_REQUEST,L.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Cg(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Og(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(u){const c=Date.now(),d=r[l];s||(s=c),n[i]=u,r[i]=c;let f=l,v=0;for(;f!==i;)v+=n[f++],f=f%e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),c-s<t)return;const g=d&&c-d;return g?Math.round(v*1e3/g):void 0}}function Pg(e,t){let n=0,r=1e3/t,i,l;const s=(c,d=Date.now())=>{n=d,i=null,l&&(clearTimeout(l),l=null),e.apply(null,c)};return[(...c)=>{const d=Date.now(),f=d-n;f>=r?s(c,d):(i=c,l||(l=setTimeout(()=>{l=null,s(i)},r-f)))},()=>i&&s(i)]}const Rl=(e,t,n=3)=>{let r=0;const i=Og(50,250);return Pg(l=>{const s=l.loaded,a=l.lengthComputable?l.total:void 0,u=s-r,c=i(u),d=s<=a;r=s;const f={loaded:s,total:a,progress:a?s/a:void 0,bytes:u,rate:c||void 0,estimated:c&&a&&d?(a-s)/c:void 0,event:l,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},$c=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Wc=e=>(...t)=>j.asap(()=>e(...t)),Rg=ke.hasStandardBrowserEnv?function(){const t=ke.navigator&&/(msie|trident)/i.test(ke.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=j.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),Tg=ke.hasStandardBrowserEnv?{write(e,t,n,r,i,l){const s=[e+"="+encodeURIComponent(t)];j.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),j.isString(r)&&s.push("path="+r),j.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 bg(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Lg(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Zm(e,t){return e&&!bg(t)?Lg(e,t):t}const Hc=e=>e instanceof Ee?{...e}:e;function yn(e,t){t=t||{};const n={};function r(c,d,f){return j.isPlainObject(c)&&j.isPlainObject(d)?j.merge.call({caseless:f},c,d):j.isPlainObject(d)?j.merge({},d):j.isArray(d)?d.slice():d}function i(c,d,f){if(j.isUndefined(d)){if(!j.isUndefined(c))return r(void 0,c,f)}else return r(c,d,f)}function l(c,d){if(!j.isUndefined(d))return r(void 0,d)}function s(c,d){if(j.isUndefined(d)){if(!j.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function a(c,d,f){if(f in t)return r(c,d);if(f in e)return r(void 0,c)}const u
`+l.map(Kc).join(`
`):" "+Kc(l[0]):"as no adapter specified";throw new L("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:na};function qs(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ir(null,e)}function qc(e){return qs(e),e.headers=Ee.from(e.headers),e.data=Ks.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),rp.getAdapter(e.adapter||di.adapter)(e).then(function(r){return qs(e),r.data=Ks.call(e,e.transformResponse,r),r.headers=Ee.from(r.headers),r},function(r){return Xm(r)||(qs(e),r&&r.response&&(r.response.data=Ks.call(e,e.transformResponse,r.response),r.response.headers=Ee.from(r.response.headers))),Promise.reject(r)})}const ip="1.7.7",du={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{du[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Gc={};du.transitional=function(t,n,r){function i(l,s){return"[Axios v"+ip+"] Transitional option '"+l+"'"+s+(r?". "+r:"")}return(l,s,a)=>{if(t===!1)throw new L(i(s," has been removed"+(n?" in "+n:"")),L.ERR_DEPRECATED);return n&&!Gc[s]&&(Gc[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 Qg(e,t,n){if(typeof e!="object")throw new L("options must be an object",L.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],u=a===void 0||s(a,l,e);if(u!==!0)throw new L("option "+l+" must be "+u,L.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new L("Unknown option "+l,L.ERR_BAD_OPTION)}}const ra={assertOptions:Qg,validators:du},jt=ra.validators;class un{constructor(t){this.defaults=t,this.interceptors={request:new Uc,response:new Uc}}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=yn(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:l}=n;r!==void 0&&ra.assertOptions(r,{silentJSONParsing:jt.transitional(jt.boolean),forcedJSONParsing:jt.transitional(jt.boolean),clarifyTimeoutError:jt.transitional(jt.boolean)},!1),i!=null&&(j.isFunction(i)?n.paramsSerializer={serialize:i}:ra.assertOptions(i,{encode:jt.function,serialize:jt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=l&&j.merge(l.common,l[n.method]);l&&j.forEach(["delete","get","head","post","put","patch","common"],y=>{delete l[y]}),n.headers=Ee.concat(s,l);const a=[];let u=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(n)===!1||(u=u&&w.synchronous,a.unshift(w.fulfilled,w.rejected))});const c=[];this.interceptors.response.forEach(function(w){c.push(w.fulfilled,w.rejected)});let d,f=0,v;if(!u){const y=[qc.bind(this),void 0];for(y.unshift.apply(y,a),y.push.apply(y,c),v=y.length,d=Promise.resolve(n);f<v;)d=d.then(y[f++],y[f++]);return d}v=a.length;let g=n;for(f=0;f<v;){const y=a[f++],w=a[f++];try{g=y(g)}catch(N){w.call(this,N);break}}try{d=qc.call(this,g)}catch(y){return Promise.reject(y)}for(f=0,v=c.length;f<v;)d=d.then(c[f++],c[f++]);return d}getUri(t){t=yn(this.defaults,t);const n=Zm(t.baseURL,t.url);return qm(n,t.params,t.paramsSerializer)}}j.forEach(["delete","get","head","options"],function(t){un.prototype[t]=function(n,r){return this.request(yn(r||{},{method:t,url:n,data:(r||{}).data}))}});j.forEach(["post","put","patch"],function(t){function n(r){return function(l,s,a){return this.request(yn(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:l,data:s}))}}un.prototype[t]=n(),un.prototype[t+"Form"]=n(!0)});class fu{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 ir(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 fu(function(i){t=i}),cancel:t}}}function Kg(e){return function(n){return e.apply(null,n)}}function qg(e){return j.isObject(e)&&e.isAxiosError===!0}const ia={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-09 15:37:41 +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-12 08:11:07 +00:00
*/function ei(){return ei=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},ei.apply(this,arguments)}var bt;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(bt||(bt={}));const Jc="popstate";function o1(e){e===void 0&&(e={});function t(r,i){let{pathname:l,search:s,hash:a}=r.location;return la("",{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:bl(i)}return u1(t,n,null,e)}function G(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function op(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function a1(){return Math.random().toString(36).substr(2,8)}function Xc(e,t){return{usr:e.state,key:e.key,idx:t}}function la(e,t,n,r){return n===void 0&&(n=null),ei({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?lr(t):t,{state:n,key:t&&t.key||r||a1()})}function bl(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 lr(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 u1(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:l=!1}=r,s=i.history,a=bt.Pop,u=null,c=d();c==null&&(c=0,s.replaceState(ei({},s.state,{idx:c}),""));function d(){return(s.state||{idx:null}).idx}function f(){a=bt.Pop;let N=d(),h=N==null?null:N-c;c=N,u&&u({action:a,location:w.location,delta:h})}function v(N,h){a=bt.Push;let m=la(w.location,N,h);c=d()+1;let p=Xc(m,c),x=w.createHref(m);try{s.pushState(p,"",x)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;i.location.assign(x)}l&&u&&u({action:a,location:w.location,delta:1})}function g(N,h){a=bt.Replace;let m=la(w.location,N,h);c=d();let p=Xc(m,c),x=w.createHref(m);s.replaceState(p,"",x),l&&u&&u({action:a,location:w.location,delta:0})}function y(N){let h=i.location.origin!=="null"?i.location.origin:i.location.href,m=typeof N=="string"?N:bl(N);return m=m.replace(/ $/,"%20"),G(h,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,h)}let w={get action(){return a},get location(){return e(i,s)},listen(N){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(Jc,f),u=N,()=>{i.removeEventListener(Jc,f),u=null}},createHref(N){return t(i,N)},createURL:y,encodeLocation(N){let h=y(N);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:v,replace:g,go(N){return s.go(N)}};return w}var Yc;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Yc||(Yc={}));function c1(e,t,n){return n===void 0&&(n="/"),d1(e,t,n,!1)}function d1(e,t,n,r){let i=typeof t=="string"?lr(t):t,l=Yn(i.pathname||"/",n);if(l==null)return null;let s=ap(e);f1(s);let a=null;for(let u=0;a==null&&u<s.length;++u){let c=S1(l);a=N1(s[u],c,r)}return a}function ap(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(l,s,a)=>{let u={relativePath:a===void 0?l.path||"":a,caseSensitive:l.caseSensitive===!0,childrenIndex:s,route:l};u.relativePath.startsWith("/")&&(G(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let c=Bt([r,u.relativePath]),d=n.concat(u);l.children&&l.children.length>0&&(G(l.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),ap(l.children,t,d,c)),!(l.path==null&&!l.index)&&t.push({path:c,score:x1(c,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 u of up(l.path))i(l,s,u)}),t}function up(e){let t=e.split("/");if(t.length
2024-09-09 15:37:41 +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-12 08:11:07 +00:00
*/function ti(){return ti=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},ti.apply(this,arguments)}const as=O.createContext(null),mp=O.createContext(null),qt=O.createContext(null),us=O.createContext(null),Gt=O.createContext({outlet:null,matches:[],isDataRoute:!1}),pp=O.createContext(null);function b1(e,t){let{relative:n}=t===void 0?{}:t;mi()||G(!1);let{basename:r,navigator:i}=O.useContext(qt),{hash:l,pathname:s,search:a}=cs(e,{relative:n}),u=s;return r!=="/"&&(u=s==="/"?r:Bt([r,s])),i.createHref({pathname:u,search:a,hash:l})}function mi(){return O.useContext(us)!=null}function pi(){return mi()||G(!1),O.useContext(us).location}function hp(e){O.useContext(qt).static||O.useLayoutEffect(e)}function hi(){let{isDataRoute:e}=O.useContext(Gt);return e?V1():L1()}function L1(){mi()||G(!1);let e=O.useContext(as),{basename:t,future:n,navigator:r}=O.useContext(qt),{matches:i}=O.useContext(Gt),{pathname:l}=pi(),s=JSON.stringify(cp(i,n.v7_relativeSplatPath)),a=O.useRef(!1);return hp(()=>{a.current=!0}),O.useCallback(function(c,d){if(d===void 0&&(d={}),!a.current)return;if(typeof c=="number"){r.go(c);return}let f=dp(c,JSON.parse(s),l,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:Bt([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,s,l,e])}function vp(){let{matches:e}=O.useContext(Gt),t=e[e.length-1];return t?t.params:{}}function cs(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=O.useContext(qt),{matches:i}=O.useContext(Gt),{pathname:l}=pi(),s=JSON.stringify(cp(i,r.v7_relativeSplatPath));return O.useMemo(()=>dp(e,JSON.parse(s),l,n==="path"),[e,s,l,n])}function M1(e,t){return F1(e,t)}function F1(e,t,n,r){mi()||G(!1);let{navigator:i}=O.useContext(qt),{matches:l}=O.useContext(Gt),s=l[l.length-1],a=s?s.params:{};s&&s.pathname;let u=s?s.pathnameBase:"/";s&&s.route;let c=pi(),d;if(t){var f;let N=typeof t=="string"?lr(t):t;u==="/"||(f=N.pathname)!=null&&f.startsWith(u)||G(!1),d=N}else d=c;let v=d.pathname||"/",g=v;if(u!=="/"){let N=u.replace(/^\//,"").split("/");g="/"+v.replace(/^\//,"").split("/").slice(N.length).join("/")}let y=c1(e,{pathname:g}),w=U1(y&&y.map(N=>Object.assign({},N,{params:Object.assign({},a,N.params),pathname:Bt([u,i.encodeLocation?i.encodeLocation(N.pathname).pathname:N.pathname]),pathnameBase:N.pathnameBase==="/"?u:Bt([u,i.encodeLocation?i.encodeLocation(N.pathnameBase).pathname:N.pathnameBase])})),l,n,r);return t&&w?O.createElement(us.Provider,{value:{location:ti({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:bt.Pop}},w):w}function z1(){let e=H1(),t=R1(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 O.createElement(O.Fragment,null,O.createElement("h2",null,"Unexpected Application Error!"),O.createElement("h3",{style:{fontStyle:"italic"}},t),n?O.createElement("pre",{style:i},n):null,null)}const A1=O.createElement(z1,null);class I1 extends O.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?O.createElement(Gt.Provider,{value:this.props.routeContext},O.createElement(pp.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function D1(e){let{routeContext:t,match:n,children:r}=e,i=O.useContext(as);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),O.c
2024-09-09 15:37:41 +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-12 08:11:07 +00:00
*/function Fl(){return Fl=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},Fl.apply(this,arguments)}function xp(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 q1(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function G1(e,t){return e.button===0&&(!t||t==="_self")&&!q1(e)}const J1=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],X1=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],Y1="6";try{window.__reactRouterVersion=Y1}catch{}const Z1=O.createContext({isTransitioning:!1}),ex="startTransition",ed=Ys[ex];function tx(e){let{basename:t,children:n,future:r,window:i}=e,l=O.useRef();l.current==null&&(l.current=o1({window:i,v5Compat:!0}));let s=l.current,[a,u]=O.useState({action:s.action,location:s.location}),{v7_startTransition:c}=r||{},d=O.useCallback(f=>{c&&ed?ed(()=>u(f)):u(f)},[u,c]);return O.useLayoutEffect(()=>s.listen(d),[s,d]),O.createElement(Q1,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const nx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",rx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ix=O.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:l,replace:s,state:a,target:u,to:c,preventScrollReset:d,unstable_viewTransition:f}=t,v=xp(t,J1),{basename:g}=O.useContext(qt),y,w=!1;if(typeof c=="string"&&rx.test(c)&&(y=c,nx))try{let p=new URL(window.location.href),x=c.startsWith("//")?new URL(p.protocol+c):new URL(c),k=Yn(x.pathname,g);x.origin===p.origin&&k!=null?c=k+x.search+x.hash:w=!0}catch{}let N=b1(c,{relative:i}),h=sx(c,{replace:s,state:a,target:u,preventScrollReset:d,relative:i,unstable_viewTransition:f});function m(p){r&&r(p),p.defaultPrevented||h(p)}return O.createElement("a",Fl({},v,{href:y||N,onClick:w||l?r:m,ref:n,target:u}))}),_e=O.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:l="",end:s=!1,style:a,to:u,unstable_viewTransition:c,children:d}=t,f=xp(t,X1),v=cs(u,{relative:f.relative}),g=pi(),y=O.useContext(mp),{navigator:w,basename:N}=O.useContext(qt),h=y!=null&&ox(v)&&c===!0,m=w.encodeLocation?w.encodeLocation(v).pathname:v.pathname,p=g.pathname,x=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;i||(p=p.toLowerCase(),x=x?x.toLowerCase():null,m=m.toLowerCase()),x&&N&&(x=Yn(x,N)||x);const k=m!=="/"&&m.endsWith("/")?m.length-1:m.length;let E=p===m||!s&&p.startsWith(m)&&p.charAt(k)==="/",P=x!=null&&(x===m||!s&&x.startsWith(m)&&x.charAt(m.length)==="/"),C={isActive:E,isPending:P,isTransitioning:h},z=E?r:void 0,b;typeof l=="function"?b=l(C):b=[l,E?"active":null,P?"pending":null,h?"transitioning":null].filter(Boolean).join(" ");let me=typeof a=="function"?a(C):a;return O.createElement(ix,Fl({},f,{"aria-current":z,className:b,ref:n,style:me,to:u,unstable_viewTransition:c}),typeof d=="function"?d(C):d)});var oa;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(oa||(oa={}));var td;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(td||(td={}));function lx(e){let t=O.useContext(as);return t||G(!1),t}function sx(e,t){let{target:n,replace:r,state:i,preventScrollReset:l,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,u=hi(),c=pi(),d=cs(e,{relative:s});return O.useCallback(f=>{if(G1(f,n)){f.preventDefault();let v=r!==void 0?r:bl(c)===bl(d);u(e,{replace:v,state:i,preventScrollReset:l,relative:s,unstable_viewTransition:a})}},[c,u,d,r,i,n,e,l,s,a])}function ox(e,t){t===void 0&&(t={});let n=O.useContext(Z1);n==null&&G(!1);let{basename:r}=lx(oa.useViewTransitionState),i=cs(e,{relative:t.relative});if(!n.isTransitioning)ret