Files
equalityrecord_frontend_client/dist/assets/vendor-8efd6c0a.js
T

60 lines
163 KiB
JavaScript
Raw Normal View History

2025-04-04 07:29:59 +01:00
function Vc(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const l in r)if(l!=="default"&&!(l in e)){const i=Object.getOwnPropertyDescriptor(r,l);i&&Object.defineProperty(e,l,i.get?i:{enumerable:!0,get:()=>r[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var vh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Sa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function gh(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var l=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,l.get?l:{enumerable:!0,get:function(){return e[r]}})}),n}var ka={exports:{}},O={};/**
* @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.
*/var ir=Symbol.for("react.element"),Wc=Symbol.for("react.portal"),Hc=Symbol.for("react.fragment"),Qc=Symbol.for("react.strict_mode"),Kc=Symbol.for("react.profiler"),Yc=Symbol.for("react.provider"),Xc=Symbol.for("react.context"),Gc=Symbol.for("react.forward_ref"),Zc=Symbol.for("react.suspense"),Jc=Symbol.for("react.memo"),qc=Symbol.for("react.lazy"),lu=Symbol.iterator;function bc(e){return e===null||typeof e!="object"?null:(e=lu&&e[lu]||e["@@iterator"],typeof e=="function"?e:null)}var Ea={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ca=Object.assign,xa={};function dn(e,t,n){this.props=e,this.context=t,this.refs=xa,this.updater=n||Ea}dn.prototype.isReactComponent={};dn.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")};dn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function _a(){}_a.prototype=dn.prototype;function io(e,t,n){this.props=e,this.context=t,this.refs=xa,this.updater=n||Ea}var oo=io.prototype=new _a;oo.constructor=io;Ca(oo,dn.prototype);oo.isPureReactComponent=!0;var iu=Array.isArray,Pa=Object.prototype.hasOwnProperty,uo={current:null},Na={key:!0,ref:!0,__self:!0,__source:!0};function La(e,t,n){var r,l={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)Pa.call(t,r)&&!Na.hasOwnProperty(r)&&(l[r]=t[r]);var u=arguments.length-2;if(u===1)l.children=n;else if(1<u){for(var a=Array(u),s=0;s<u;s++)a[s]=arguments[s+2];l.children=a}if(e&&e.defaultProps)for(r in u=e.defaultProps,u)l[r]===void 0&&(l[r]=u[r]);return{$$typeof:ir,type:e,key:i,ref:o,props:l,_owner:uo.current}}function ef(e,t){return{$$typeof:ir,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function ao(e){return typeof e=="object"&&e!==null&&e.$$typeof===ir}function tf(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var ou=/\/+/g;function jl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?tf(""+e.key):t.toString(36)}function Rr(e,t,n,r,l){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case ir:case Wc:o=!0}}if(o)return o=e,l=l(o),e=r===""?"."+jl(o,0):r,iu(l)?(n="",e!=null&&(n=e.replace(ou,"$&/")+"/"),Rr(l,t,n,"",function(s){return s})):l!=null&&(ao(l)&&(l=ef(l,n+(!l.key||o&&o.key===l.key?"":(""+l.key).replace(ou,"$&/")+"/")+e)),t.push(l)),1;if(o=0,r=r===""?".":r+":",iu(e))for(var u=0;u<e.length;u++){i=e[u];var a=r+jl(i,u);o+=Rr(i,t,n,a,l)}else if(a=bc(e),typeof a=="function")for(e=a.call(e),u=0;!(i=e.next()).done;)i=i.value,a=r+jl(i,u++),o+=Rr(i,t,n,a,l);else if(i==="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 o}function dr(e,t,n){if(e==null)return e;var r=[],l=0;return Rr(e,r,"","",function(i){return t.call(n,i,l++)}),r}function nf(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 ae={current:null},zr={transition:null},rf={ReactCurrentDispatcher:ae,ReactCurrentBatchConfig:zr,ReactCurrentOwner:uo};function Ra(){throw Error("act(...) is not supported in production builds of React.")}O.Children={map:dr,forEach:function(e,t,n){dr(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return dr(e,function(){t++}),t},toArray:function(e){return dr(e,function(t){return t})||[]},only:function(e){if(!ao(e))throw Error("React.Children.only expected to receive a sing
* @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.
*/(function(e){function t(_,R){var T=_.length;_.push(R);e:for(;0<T;){var Q=T-1>>>1,Z=_[Q];if(0<l(Z,R))_[Q]=R,_[T]=Z,T=Q;else break e}}function n(_){return _.length===0?null:_[0]}function r(_){if(_.length===0)return null;var R=_[0],T=_.pop();if(T!==R){_[0]=T;e:for(var Q=0,Z=_.length,cr=Z>>>1;Q<cr;){var St=2*(Q+1)-1,Dl=_[St],kt=St+1,fr=_[kt];if(0>l(Dl,T))kt<Z&&0>l(fr,Dl)?(_[Q]=fr,_[kt]=T,Q=kt):(_[Q]=Dl,_[St]=T,Q=St);else if(kt<Z&&0>l(fr,T))_[Q]=fr,_[kt]=T,Q=kt;else break e}}return R}function l(_,R){var T=_.sortIndex-R.sortIndex;return T!==0?T:_.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,u=o.now();e.unstable_now=function(){return o.now()-u}}var a=[],s=[],h=1,p=null,m=3,y=!1,g=!1,w=!1,C=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(_){for(var R=n(s);R!==null;){if(R.callback===null)r(s);else if(R.startTime<=_)r(s),R.sortIndex=R.expirationTime,t(a,R);else break;R=n(s)}}function v(_){if(w=!1,d(_),!g)if(n(a)!==null)g=!0,Ml(E);else{var R=n(s);R!==null&&Il(v,R.startTime-_)}}function E(_,R){g=!1,w&&(w=!1,f(L),L=-1),y=!0;var T=m;try{for(d(R),p=n(a);p!==null&&(!(p.expirationTime>R)||_&&!me());){var Q=p.callback;if(typeof Q=="function"){p.callback=null,m=p.priorityLevel;var Z=Q(p.expirationTime<=R);R=e.unstable_now(),typeof Z=="function"?p.callback=Z:p===n(a)&&r(a),d(R)}else r(a);p=n(a)}if(p!==null)var cr=!0;else{var St=n(s);St!==null&&Il(v,St.startTime-R),cr=!1}return cr}finally{p=null,m=T,y=!1}}var P=!1,N=null,L=-1,$=5,z=-1;function me(){return!(e.unstable_now()-z<$)}function gn(){if(N!==null){var _=e.unstable_now();z=_;var R=!0;try{R=N(!0,_)}finally{R?yn():(P=!1,N=null)}}else P=!1}var yn;if(typeof c=="function")yn=function(){c(gn)};else if(typeof MessageChannel<"u"){var ru=new MessageChannel,Ac=ru.port2;ru.port1.onmessage=gn,yn=function(){Ac.postMessage(null)}}else yn=function(){C(gn,0)};function Ml(_){N=_,P||(P=!0,yn())}function Il(_,R){L=C(function(){_(e.unstable_now())},R)}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(_){_.callback=null},e.unstable_continueExecution=function(){g||y||(g=!0,Ml(E))},e.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$=0<_?Math.floor(1e3/_):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(_){switch(m){case 1:case 2:case 3:var R=3;break;default:R=m}var T=m;m=R;try{return _()}finally{m=T}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(_,R){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var T=m;m=_;try{return R()}finally{m=T}},e.unstable_scheduleCallback=function(_,R,T){var Q=e.unstable_now();switch(typeof T=="object"&&T!==null?(T=T.delay,T=typeof T=="number"&&0<T?Q+T:Q):T=Q,_){case 1:var Z=-1;break;case 2:Z=250;break;case 5:Z=1073741823;break;case 4:Z=1e4;break;default:Z=5e3}return Z=T+Z,_={id:h++,callback:R,priorityLevel:_,startTime:T,expirationTime:Z,sortIndex:-1},T>Q?(_.sortIndex=T,t(s,_),n(a)===null&&_===n(s)&&(w?(f(L),L=-1):w=!0,Il(v,T-Q))):(_.sortIndex=Z,t(a,_),g||y||(g=!0,Ml(E))),_},e.unstable_shouldYield=me,e.unstable_wrapCallback=function(_){var R=m;return function(){var T=m;m=R;try{return _.apply(this,arguments)}finally{m=T}}}})(Oa);Ta.exports=Oa;var uf=Ta.exports;/**
* @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.
*/var af=k,we=uf;function S(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 Ma=new Set,Bn={};function It(e,t){rn(e,t),rn(e+"Capture",t)}function rn(e,t){for(Bn[e]=t,e=0;e<t.length;e++)Ma.add(t[e])}var Qe=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),si=Object.prototype.hasOwnProperty,sf=/^[: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]*$/,uu={},au={};function cf(e){return si.call(au,e)?!0:si.call(uu,e)?!1:sf.test(e)?au[e]=!0:(uu[e]=!0,!1)}function ff(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 df(e,t,n,r){if(t===null||typeof t>"u"||ff(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,l,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var te={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){te[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];te[t]=new se(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){te[e]=new se(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){te[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){te[e]=new se(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){te[e]=new se(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){te[e]=new se(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){te[e]=new se(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){te[e]=new se(e,5,!1,e.toLowerCase(),null,!1,!1)});var so=/[\-:]([a-z])/g;function co(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-
`+Fl+e}var Ul=!1;function $l(e,t){if(!e||Ul)return"";Ul=!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(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&typeof s.stack=="string"){for(var l=s.stack.split(`
`),i=r.stack.split(`
`),o=l.length-1,u=i.length-1;1<=o&&0<=u&&l[o]!==i[u];)u--;for(;1<=o&&0<=u;o--,u--)if(l[o]!==i[u]){if(o!==1||u!==1)do if(o--,u--,0>u||l[o]!==i[u]){var a=`
`+l[o].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=o&&0<=u);break}}}finally{Ul=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Nn(e):""}function pf(e){switch(e.tag){case 5:return Nn(e.type);case 16:return Nn("Lazy");case 13:return Nn("Suspense");case 19:return Nn("SuspenseList");case 0:case 2:case 15:return e=$l(e.type,!1),e;case 11:return e=$l(e.type.render,!1),e;case 1:return e=$l(e.type,!0),e;default:return""}}function pi(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 Bt:return"Fragment";case $t:return"Portal";case ci:return"Profiler";case po:return"StrictMode";case fi:return"Suspense";case di:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Da:return(e.displayName||"Context")+".Consumer";case Ia:return(e._context.displayName||"Context")+".Provider";case ho:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case mo:return t=e.displayName||null,t!==null?t:pi(e.type)||"Memo";case be:t=e._payload,e=e._init;try{return pi(e(t))}catch{}}return null}function hf(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 pi(t);case 8:return t===po?"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 mt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Fa(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function mf(e){var t=Fa(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 l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function hr(e){e._valueTracker||(e._valueTracker=mf(e))}function Ua(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Fa(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ar(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 hi(e,t){var n=t.checked;return W({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function cu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=mt(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 $a(e,t){t=t.checked,t!=null&&fo(e,"checked",t,!1)}function mi(e,t){$a(e,t);var n=mt(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")?vi(e,t.type,n):t.hasOwnProperty("defaultValue")&&vi(e,t.type,mt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function fu(e,t,n){if(t.hasOwnProperty("valu
`).replace(_d,"")}function Er(e,t,n){if(t=Iu(t),Iu(e)!==t&&n)throw Error(S(425))}function Gr(){}var zi=null,Ti=null;function Oi(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 Mi=typeof setTimeout=="function"?setTimeout:void 0,Pd=typeof clearTimeout=="function"?clearTimeout:void 0,Du=typeof Promise=="function"?Promise:void 0,Nd=typeof queueMicrotask=="function"?queueMicrotask:typeof Du<"u"?function(e){return Du.resolve(null).then(e).catch(Ld)}:Mi;function Ld(e){setTimeout(function(){throw e})}function ql(e,t){var n=t,r=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(r===0){e.removeChild(l),Qn(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);Qn(t)}function st(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 ju(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 hn=Math.random().toString(36).slice(2),Fe="__reactFiber$"+hn,Zn="__reactProps$"+hn,Ke="__reactContainer$"+hn,Ii="__reactEvents$"+hn,Rd="__reactListeners$"+hn,zd="__reactHandles$"+hn;function xt(e){var t=e[Fe];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ke]||n[Fe]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ju(e);e!==null;){if(n=e[Fe])return n;e=ju(e)}return t}e=n,n=e.parentNode}return null}function ar(e){return e=e[Fe]||e[Ke],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ht(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(S(33))}function wl(e){return e[Zn]||null}var Di=[],Qt=-1;function yt(e){return{current:e}}function F(e){0>Qt||(e.current=Di[Qt],Di[Qt]=null,Qt--)}function D(e,t){Qt++,Di[Qt]=e.current,e.current=t}var vt={},ie=yt(vt),de=yt(!1),Rt=vt;function ln(e,t){var n=e.type.contextTypes;if(!n)return vt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function pe(e){return e=e.childContextTypes,e!=null}function Zr(){F(de),F(ie)}function Fu(e,t,n){if(ie.current!==vt)throw Error(S(168));D(ie,t),D(de,n)}function Ns(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(S(108,hf(e)||"Unknown",l));return W({},n,r)}function Jr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||vt,Rt=ie.current,D(ie,e),D(de,de.current),!0}function Uu(e,t,n){var r=e.stateNode;if(!r)throw Error(S(169));n?(e=Ns(e,t,Rt),r.__reactInternalMemoizedMergedChildContext=e,F(de),F(ie),D(ie,e)):F(de),D(de,n)}var Ae=null,Sl=!1,bl=!1;function Ls(e){Ae===null?Ae=[e]:Ae.push(e)}function Td(e){Sl=!0,Ls(e)}function wt(){if(!bl&&Ae!==null){bl=!0;var e=0,t=I;try{var n=Ae;for(I=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Ae=null,Sl=!1}catch(l){throw Ae!==null&&(Ae=Ae.slice(e+1)),ba(go,wt),l}finally{I=t,bl=!1}}return null}var Kt=[],Yt=0,qr=null,br=0,Ee=[],Ce=0,zt=null,Ve=1,We="";function Et(e,t){Kt[Yt++]=br,Kt[Yt++]=qr,qr=e,br=t}function Rs(e,t,n){Ee[Ce++]=Ve,Ee[Ce++]=We,Ee[Ce++]=zt,zt=e;var r=Ve;e=We;var l=32-Oe(r)-1;r&=~(1<<l),n+=1;var i=32-Oe(t)+l;if(30<i){var o=l-l%5;i=(r&(1<<o)-1).toString(32),r>>=o,l-=o,Ve=1<<32-Oe(t)+l|n<<l|r,We=i+e}else Ve=1<<i|n<<l|r,We=e}function Po(e){e.return!==null&&(Et(e,1),Rs(e,1,0))}function No(e){for(;e===qr;)qr=Kt[--Yt],Kt[Yt]=null,br=Kt[--Yt],Kt[Yt]=null;for(;e===zt;)zt=Ee[--Ce],Ee[Ce]=null,We=Ee[--Ce],Ee[Ce]=null,Ve=Ee[--Ce],Ee[Ce]=null}var ye=null,ge=null,U=!1,Te=null;function zs(e,t){var n=xe(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.del
Error generating stack: `+i.message+`
`+i.stack}return{value:e,source:t,stack:l,digest:null}}function li(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ai(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Bd=typeof WeakMap=="function"?WeakMap:Map;function rc(e,t,n){n=He(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ul||(ul=!0,Ji=r),Ai(e,t)},n}function lc(e,t,n){n=He(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){Ai(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Ai(e,t),typeof r!="function"&&(ft===null?ft=new Set([this]):ft.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Xu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Bd;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=ep.bind(null,e,t,n),t.then(e,e))}function Gu(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 Zu(e,t,n,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,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=He(-1,1),t.tag=2,ct(n,t,1))),n.lanes|=1),e)}var Ad=Ge.ReactCurrentOwner,fe=!1;function oe(e,t,n,r){t.child=e===null?Ms(t,null,n,r):un(t,e.child,n,r)}function Ju(e,t,n,r,l){n=n.render;var i=t.ref;return tn(t,l),r=Uo(e,t,n,r,i,l),n=$o(),e!==null&&!fe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Xe(e,t,l)):(U&&n&&Po(t),t.flags|=1,oe(e,t,r,l),t.child)}function qu(e,t,n,r,l){if(e===null){var i=n.type;return typeof i=="function"&&!Go(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,ic(e,t,i,r,l)):(e=Br(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&l)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:Yn,n(o,r)&&e.ref===t.ref)return Xe(e,t,l)}return t.flags|=1,e=pt(i,r),e.ref=t.ref,e.return=t,t.child=e}function ic(e,t,n,r,l){if(e!==null){var i=e.memoizedProps;if(Yn(i,r)&&e.ref===t.ref)if(fe=!1,t.pendingProps=r=i,(e.lanes&l)!==0)e.flags&131072&&(fe=!0);else return t.lanes=e.lanes,Xe(e,t,l)}return Vi(e,t,n,r,l)}function oc(e,t,n){var r=t.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},D(Zt,ve),ve|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,D(Zt,ve),ve|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,D(Zt,ve),ve|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,D(Zt,ve),ve|=r;return oe(e,t,l,n),t.child}function uc(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Vi(e,t,n,r,l){var i=pe(n)?Rt:ie.current;return i=ln(t,i),tn(t,l),n=Uo(e,t,n,r,i,l),r=$o(),e!==null&&!fe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Xe(e,t,l)):(U&&r&&Po(t),t.flags|=1,oe(e,t,n,l),t.child)}function bu(e,t,n,r,l){if(pe(n)){var i=!0;Jr(t)}else i=!1;if(tn(t,l),t.stateNode===null)Fr(e,t),nc(t,n,r),Bi(t,n,r,l),r=!0;else if(e===null){var o=t.stateNode,u=t.memoizedProps;o.props=u;var a=o.context,s=n.contextType;typeof s=="object"&&s!==null?s=Pe(s):(s=pe(n)?Rt:ie.current,s=ln(t,s));var h=n.getDerivedStateFromProps,p=typeof h=="function"||typeof o.getSnapshotBeforeUpdate=="function";p||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==r||a!==s)&&Yu(t,o,r,s),et=!1;var m=t.memoizedState;o.state=m,nl(t,r,o,l),a=t.memoizedState,u!==r||m!==a||de.current||et?(typeof h=="function"&&($i(t,n,h,r),a=t.memoizedState),(u=et||Ku(t,n,u,r,m,a,s))?(p||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.compon
* @remix-run/router v1.21.0
*
* 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
*/function rr(){return rr=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},rr.apply(this,arguments)}var it;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(it||(it={}));const da="popstate";function dp(e){e===void 0&&(e={});function t(r,l){let{pathname:i,search:o,hash:u}=r.location;return to("",{pathname:i,search:o,hash:u},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function n(r,l){return typeof l=="string"?l:fl(l)}return hp(t,n,null,e)}function V(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Tc(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function pp(){return Math.random().toString(36).substr(2,8)}function pa(e,t){return{usr:e.state,key:e.key,idx:t}}function to(e,t,n,r){return n===void 0&&(n=null),rr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?mn(t):t,{state:n,key:t&&t.key||r||pp()})}function fl(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 mn(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 hp(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:i=!1}=r,o=l.history,u=it.Pop,a=null,s=h();s==null&&(s=0,o.replaceState(rr({},o.state,{idx:s}),""));function h(){return(o.state||{idx:null}).idx}function p(){u=it.Pop;let C=h(),f=C==null?null:C-s;s=C,a&&a({action:u,location:w.location,delta:f})}function m(C,f){u=it.Push;let c=to(w.location,C,f);n&&n(c,C),s=h()+1;let d=pa(c,s),v=w.createHref(c);try{o.pushState(d,"",v)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;l.location.assign(v)}i&&a&&a({action:u,location:w.location,delta:1})}function y(C,f){u=it.Replace;let c=to(w.location,C,f);n&&n(c,C),s=h();let d=pa(c,s),v=w.createHref(c);o.replaceState(d,"",v),i&&a&&a({action:u,location:w.location,delta:0})}function g(C){let f=l.location.origin!=="null"?l.location.origin:l.location.href,c=typeof C=="string"?C:fl(C);return c=c.replace(/ $/,"%20"),V(f,"No window.location.(origin|href) available to create URL for href: "+c),new URL(c,f)}let w={get action(){return u},get location(){return e(l,o)},listen(C){if(a)throw new Error("A history only accepts one active listener");return l.addEventListener(da,p),a=C,()=>{l.removeEventListener(da,p),a=null}},createHref(C){return t(l,C)},createURL:g,encodeLocation(C){let f=g(C);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:m,replace:y,go(C){return o.go(C)}};return w}var ha;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ha||(ha={}));function mp(e,t,n){return n===void 0&&(n="/"),vp(e,t,n,!1)}function vp(e,t,n,r){let l=typeof t=="string"?mn(t):t,i=fn(l.pathname||"/",n);if(i==null)return null;let o=Oc(e);gp(o);let u=null;for(let a=0;u==null&&a<o.length;++a){let s=Lp(i);u=Pp(o[a],s,r)}return u}function Oc(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let l=(i,o,u)=>{let a={relativePath:u===void 0?i.path||"":u,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};a.relativePath.startsWith("/")&&(V(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),a.relativePath=a.relativePath.slice(r.length));let s=ht([r,a.relativePath]),h=n.concat(a);i.children&&i.children.length>0&&(V(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),Oc(i.children,t,h,s)),!(i.path==null&&!i.index)&&t.push({path:s,score:xp(s,i.index),routesMeta:h})};return e.forEach((i,o)=>{var u;if(i.path===""||!((u=i.path)!=null&&u.includes("?")))l(i,o);else for(let a of Mc(i.path))l(i,o,a)}),t}function Mc(e){let t=e.sp
* React Router v6.28.0
*
* 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
*/function lr(){return lr=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},lr.apply(this,arguments)}const zl=k.createContext(null),Dc=k.createContext(null),Ze=k.createContext(null),Tl=k.createContext(null),Je=k.createContext({outlet:null,matches:[],isDataRoute:!1}),jc=k.createContext(null);function Fp(e,t){let{relative:n}=t===void 0?{}:t;vn()||V(!1);let{basename:r,navigator:l}=k.useContext(Ze),{hash:i,pathname:o,search:u}=Ol(e,{relative:n}),a=o;return r!=="/"&&(a=o==="/"?r:ht([r,o])),l.createHref({pathname:a,search:u,hash:i})}function vn(){return k.useContext(Tl)!=null}function jt(){return vn()||V(!1),k.useContext(Tl).location}function Fc(e){k.useContext(Ze).static||k.useLayoutEffect(e)}function nu(){let{isDataRoute:e}=k.useContext(Je);return e?Zp():Up()}function Up(){vn()||V(!1);let e=k.useContext(zl),{basename:t,future:n,navigator:r}=k.useContext(Ze),{matches:l}=k.useContext(Je),{pathname:i}=jt(),o=JSON.stringify(eu(l,n.v7_relativeSplatPath)),u=k.useRef(!1);return Fc(()=>{u.current=!0}),k.useCallback(function(s,h){if(h===void 0&&(h={}),!u.current)return;if(typeof s=="number"){r.go(s);return}let p=tu(s,JSON.parse(o),i,h.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:ht([t,p.pathname])),(h.replace?r.replace:r.push)(p,h.state,h)},[t,r,o,i,e])}function wh(){let{matches:e}=k.useContext(Je),t=e[e.length-1];return t?t.params:{}}function Ol(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=k.useContext(Ze),{matches:l}=k.useContext(Je),{pathname:i}=jt(),o=JSON.stringify(eu(l,r.v7_relativeSplatPath));return k.useMemo(()=>tu(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function $p(e,t){return Bp(e,t)}function Bp(e,t,n,r){vn()||V(!1);let{navigator:l}=k.useContext(Ze),{matches:i}=k.useContext(Je),o=i[i.length-1],u=o?o.params:{};o&&o.pathname;let a=o?o.pathnameBase:"/";o&&o.route;let s=jt(),h;if(t){var p;let C=typeof t=="string"?mn(t):t;a==="/"||(p=C.pathname)!=null&&p.startsWith(a)||V(!1),h=C}else h=s;let m=h.pathname||"/",y=m;if(a!=="/"){let C=a.replace(/^\//,"").split("/");y="/"+m.replace(/^\//,"").split("/").slice(C.length).join("/")}let g=mp(e,{pathname:y}),w=Qp(g&&g.map(C=>Object.assign({},C,{params:Object.assign({},u,C.params),pathname:ht([a,l.encodeLocation?l.encodeLocation(C.pathname).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?a:ht([a,l.encodeLocation?l.encodeLocation(C.pathnameBase).pathname:C.pathnameBase])})),i,n,r);return t&&w?k.createElement(Tl.Provider,{value:{location:lr({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:it.Pop}},w):w}function Ap(){let e=Gp(),t=Dp(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},i=null;return k.createElement(k.Fragment,null,k.createElement("h2",null,"Unexpected Application Error!"),k.createElement("h3",{style:{fontStyle:"italic"}},t),n?k.createElement("pre",{style:l},n):null,i)}const Vp=k.createElement(Ap,null);class Wp extends k.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?k.createElement(Je.Provider,{value:this.props.routeContext},k.createElement(jc.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Hp(e){let{routeContext:t,match:n,children:r}=e,l=k.useContext(zl);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id)
* React Router DOM v6.28.0
*
* 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
*/function hl(){return hl=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},hl.apply(this,arguments)}function Bc(e,t){if(e==null)return{};var n={},r=Object.keys(e),l,i;for(i=0;i<r.length;i++)l=r[i],!(t.indexOf(l)>=0)&&(n[l]=e[l]);return n}function nh(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function rh(e,t){return e.button===0&&(!t||t==="_self")&&!nh(e)}function ro(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(l=>[n,l]):[[n,r]])},[]))}function lh(e,t){let n=ro(e);return t&&t.forEach((r,l)=>{n.has(l)||t.getAll(l).forEach(i=>{n.append(l,i)})}),n}const ih=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],oh=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],uh="6";try{window.__reactRouterVersion=uh}catch{}const ah=k.createContext({isTransitioning:!1}),sh="startTransition",ya=of[sh];function Eh(e){let{basename:t,children:n,future:r,window:l}=e,i=k.useRef();i.current==null&&(i.current=dp({window:l,v5Compat:!0}));let o=i.current,[u,a]=k.useState({action:o.action,location:o.location}),{v7_startTransition:s}=r||{},h=k.useCallback(p=>{s&&ya?ya(()=>a(p)):a(p)},[a,s]);return k.useLayoutEffect(()=>o.listen(h),[o,h]),k.useEffect(()=>bp(r),[r]),k.createElement(th,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:o,future:r})}const ch=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",fh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,dh=k.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:i,replace:o,state:u,target:a,to:s,preventScrollReset:h,viewTransition:p}=t,m=Bc(t,ih),{basename:y}=k.useContext(Ze),g,w=!1;if(typeof s=="string"&&fh.test(s)&&(g=s,ch))try{let d=new URL(window.location.href),v=s.startsWith("//")?new URL(d.protocol+s):new URL(s),E=fn(v.pathname,y);v.origin===d.origin&&E!=null?s=E+v.search+v.hash:w=!0}catch{}let C=Fp(s,{relative:l}),f=hh(s,{replace:o,state:u,target:a,preventScrollReset:h,relative:l,viewTransition:p});function c(d){r&&r(d),d.defaultPrevented||f(d)}return k.createElement("a",hl({},m,{href:g||C,onClick:w||i?r:c,ref:n,target:a}))}),Ch=k.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:l=!1,className:i="",end:o=!1,style:u,to:a,viewTransition:s,children:h}=t,p=Bc(t,oh),m=Ol(a,{relative:p.relative}),y=jt(),g=k.useContext(Dc),{navigator:w,basename:C}=k.useContext(Ze),f=g!=null&&mh(m)&&s===!0,c=w.encodeLocation?w.encodeLocation(m).pathname:m.pathname,d=y.pathname,v=g&&g.navigation&&g.navigation.location?g.navigation.location.pathname:null;l||(d=d.toLowerCase(),v=v?v.toLowerCase():null,c=c.toLowerCase()),v&&C&&(v=fn(v,C)||v);const E=c!=="/"&&c.endsWith("/")?c.length-1:c.length;let P=d===c||!o&&d.startsWith(c)&&d.charAt(E)==="/",N=v!=null&&(v===c||!o&&v.startsWith(c)&&v.charAt(c.length)==="/"),L={isActive:P,isPending:N,isTransitioning:f},$=P?r:void 0,z;typeof i=="function"?z=i(L):z=[i,P?"active":null,N?"pending":null,f?"transitioning":null].filter(Boolean).join(" ");let me=typeof u=="function"?u(L):u;return k.createElement(dh,hl({},p,{"aria-current":$,className:z,ref:n,style:me,to:a,viewTransition:s}),typeof h=="function"?h(L):h)});var lo;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(lo||(lo={}));var wa;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(wa||(wa={}));function ph(e){let t=k.useContext(zl);return t||V(!1),t}function hh(e,t){let{target:n,replace:r,state:l,preventScrollReset:i,relative:o,viewTransition:u}=t===void 0?{}:t,a=nu(),s=jt(),h=Ol(e,{relative:o});return k.useCallback(p=>{if(rh(p,n)){p.preventDefault();let m=