diff --git a/ef-ui/dist/assets/index-DW_yaEwf.js b/ef-ui/dist/assets/index-DW_yaEwf.js new file mode 100644 index 0000000..a2b8b27 --- /dev/null +++ b/ef-ui/dist/assets/index-DW_yaEwf.js @@ -0,0 +1,80 @@ +var kp=Object.defineProperty;var _p=(e,t,n)=>t in e?kp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var uo=(e,t,n)=>_p(e,typeof t!="symbol"?t+"":t,n);function jp(e,t){for(var n=0;nr[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 o of l.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).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 ed(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var td={exports:{}},Ll={},nd={exports:{}},A={};/** + * @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 ti=Symbol.for("react.element"),Cp=Symbol.for("react.portal"),Op=Symbol.for("react.fragment"),Pp=Symbol.for("react.strict_mode"),Rp=Symbol.for("react.profiler"),Tp=Symbol.for("react.provider"),Lp=Symbol.for("react.context"),zp=Symbol.for("react.forward_ref"),Mp=Symbol.for("react.suspense"),Fp=Symbol.for("react.memo"),Ap=Symbol.for("react.lazy"),du=Symbol.iterator;function Dp(e){return e===null||typeof e!="object"?null:(e=du&&e[du]||e["@@iterator"],typeof e=="function"?e:null)}var rd={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},id=Object.assign,ld={};function Gn(e,t,n){this.props=e,this.context=t,this.refs=ld,this.updater=n||rd}Gn.prototype.isReactComponent={};Gn.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")};Gn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function od(){}od.prototype=Gn.prototype;function ra(e,t,n){this.props=e,this.context=t,this.refs=ld,this.updater=n||rd}var ia=ra.prototype=new od;ia.constructor=ra;id(ia,Gn.prototype);ia.isPureReactComponent=!0;var fu=Array.isArray,sd=Object.prototype.hasOwnProperty,la={current:null},ad={key:!0,ref:!0,__self:!0,__source:!0};function ud(e,t,n){var r,i={},l=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(l=""+t.key),t)sd.call(t,r)&&!ad.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1>>1,ne=T[X];if(0>>1;Xi(ao,F))Kti(pi,ao)?(T[X]=pi,T[Kt]=F,X=Kt):(T[X]=ao,T[Qt]=F,X=Qt);else if(Kti(pi,F))T[X]=pi,T[Kt]=F,X=Kt;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 o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var a=[],c=[],d=1,f=null,v=3,x=!1,y=!1,g=!1,N=typeof setTimeout=="function"?setTimeout:null,p=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 h(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(a,M);else break;M=n(c)}}function w(T){if(g=!1,h(T),!y)if(n(a)!==null)y=!0,oo(k);else{var M=n(c);M!==null&&so(w,M.startTime-T)}}function k(T,M){y=!1,g&&(g=!1,p(C),C=-1),x=!0;var F=v;try{for(h(M),f=n(a);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(a)&&r(a),h(M)}else r(a);f=n(a)}if(f!==null)var mi=!0;else{var Qt=n(c);Qt!==null&&so(w,Qt.startTime-M),mi=!1}return mi}finally{f=null,v=F,x=!1}}var j=!1,P=null,C=-1,D=5,z=-1;function me(){return!(e.unstable_now()-zT||125X?(T.sortIndex=F,t(c,T),n(a)===null&&T===n(c)&&(g?(p(C),C=-1):g=!0,so(w,F-X))):(T.sortIndex=ne,t(a,T),y||x||(y=!0,oo(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}}}})(pd);md.exports=pd;var qp=md.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 Jp=O,Te=qp;function _(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),qo=Object.prototype.hasOwnProperty,Xp=/^[: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]*$/,pu={},hu={};function Gp(e){return qo.call(hu,e)?!0:qo.call(pu,e)?!1:Xp.test(e)?hu[e]=!0:(pu[e]=!0,!1)}function Yp(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 Zp(e,t,n,r){if(t===null||typeof t>"u"||Yp(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,o){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=o}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 sa=/[\-:]([a-z])/g;function aa(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-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(sa,aa);ae[t]=new ye(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(sa,aa);ae[t]=new ye(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(sa,aa);ae[t]=new ye(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ae[e]=new ye(e,1,!1,e.toLowerCase(),null,!1,!1)});ae.xlinkHref=new ye("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ae[e]=new ye(e,1,!1,e.toLowerCase(),null,!0,!0)});function ua(e,t,n,r){var i=ae.hasOwnProperty(t)?ae[t]:null;(i!==null?i.type!==0:r||!(2s||i[o]!==l[s]){var a=` +`+i[o].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=o&&0<=s);break}}}finally{mo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?vr(e):""}function eh(e){switch(e.tag){case 5:return vr(e.type);case 16:return vr("Lazy");case 13:return vr("Suspense");case 19:return vr("SuspenseList");case 0:case 2:case 15:return e=po(e.type,!1),e;case 11:return e=po(e.type.render,!1),e;case 1:return e=po(e.type,!0),e;default:return""}}function Yo(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 wn:return"Fragment";case xn:return"Portal";case Jo:return"Profiler";case ca:return"StrictMode";case Xo:return"Suspense";case Go:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case yd:return(e.displayName||"Context")+".Consumer";case vd:return(e._context.displayName||"Context")+".Provider";case da:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case fa:return t=e.displayName||null,t!==null?t:Yo(e.type)||"Memo";case wt:t=e._payload,e=e._init;try{return Yo(e(t))}catch{}}return null}function th(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 Yo(t);case 8:return t===ca?"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 bt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function xd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function nh(e){var t=xd(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(o){r=""+o,l.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 yi(e){e._valueTracker||(e._valueTracker=nh(e))}function wd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=xd(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Xi(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 Zo(e,t){var n=t.checked;return K({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function yu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=bt(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 Nd(e,t){t=t.checked,t!=null&&ua(e,"checked",t,!1)}function es(e,t){Nd(e,t);var n=bt(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")?ts(e,t.type,n):t.hasOwnProperty("defaultValue")&&ts(e,t.type,bt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function gu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function ts(e,t,n){(t!=="number"||Xi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var yr=Array.isArray;function An(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=gi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Mr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Nr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},rh=["Webkit","ms","Moz","O"];Object.keys(Nr).forEach(function(e){rh.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Nr[t]=Nr[e]})});function _d(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Nr.hasOwnProperty(e)&&Nr[e]?(""+t).trim():t+"px"}function jd(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=_d(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var ih=K({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function is(e,t){if(t){if(ih[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(_(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(_(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(_(61))}if(t.style!=null&&typeof t.style!="object")throw Error(_(62))}}function ls(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var os=null;function ma(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ss=null,Dn=null,In=null;function Nu(e){if(e=ii(e)){if(typeof ss!="function")throw Error(_(280));var t=e.stateNode;t&&(t=Dl(t),ss(e.stateNode,e.type,t))}}function Cd(e){Dn?In?In.push(e):In=[e]:Dn=e}function Od(){if(Dn){var e=Dn,t=In;if(In=Dn=null,Nu(e),t)for(e=0;e>>=0,e===0?32:31-(hh(e)/vh|0)|0}var xi=64,wi=4194304;function gr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function el(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,l=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~i;s!==0?r=gr(s):(l&=o,l!==0&&(r=gr(l)))}else o=n&~i,o!==0?r=gr(o):l!==0&&(r=gr(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,l=t&-t,i>=l||i===16&&(l&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ni(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ke(t),e[t]=n}function wh(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Er),Ru=" ",Tu=!1;function qd(e,t){switch(e){case"keyup":return qh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Jd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Nn=!1;function Xh(e,t){switch(e){case"compositionend":return Jd(t);case"keypress":return t.which!==32?null:(Tu=!0,Ru);case"textInput":return e=t.data,e===Ru&&Tu?null:e;default:return null}}function Gh(e,t){if(Nn)return e==="compositionend"||!Na&&qd(e,t)?(e=Qd(),Di=ga=Ct=null,Nn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Fu(n)}}function Zd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Zd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ef(){for(var e=window,t=Xi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Xi(e.document)}return t}function Sa(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function o0(e){var t=ef(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Zd(n.ownerDocument.documentElement,n)){if(r!==null&&Sa(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,l=Math.min(r.start,i);r=r.end===void 0?l:Math.min(r.end,i),!e.extend&&l>r&&(i=r,r=l,l=i),i=Au(n,l);var o=Au(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Sn=null,ms=null,_r=null,ps=!1;function Du(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ps||Sn==null||Sn!==Xi(r)||(r=Sn,"selectionStart"in r&&Sa(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),_r&&Ur(_r,r)||(_r=r,r=rl(ms,"onSelect"),0_n||(e.current=ws[_n],ws[_n]=null,_n--)}function B(e,t){_n++,ws[_n]=e.current,e.current=t}var Ut={},fe=Wt(Ut),Ne=Wt(!1),sn=Ut;function Wn(e,t){var n=e.type.contextTypes;if(!n)return Ut;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 Se(e){return e=e.childContextTypes,e!=null}function ll(){W(Ne),W(fe)}function Hu(e,t,n){if(fe.current!==Ut)throw Error(_(168));B(fe,t),B(Ne,n)}function cf(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,th(e)||"Unknown",i));return K({},n,r)}function ol(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ut,sn=fe.current,B(fe,e),B(Ne,Ne.current),!0}function Vu(e,t,n){var r=e.stateNode;if(!r)throw Error(_(169));n?(e=cf(e,t,sn),r.__reactInternalMemoizedMergedChildContext=e,W(Ne),W(fe),B(fe,e)):W(Ne),B(Ne,n)}var at=null,Il=!1,Oo=!1;function df(e){at===null?at=[e]:at.push(e)}function g0(e){Il=!0,df(e)}function Ht(){if(!Oo&&at!==null){Oo=!0;var e=0,t=U;try{var n=at;for(U=1;e>=o,i-=o,ut=1<<32-Ke(t)+i|n<C?(D=P,P=null):D=P.sibling;var z=v(p,P,h[C],w);if(z===null){P===null&&(P=D);break}e&&P&&z.alternate===null&&t(p,P),m=l(z,m,C),j===null?k=z:j.sibling=z,j=z,P=D}if(C===h.length)return n(p,P),H&&qt(p,C),k;if(P===null){for(;CC?(D=P,P=null):D=P.sibling;var me=v(p,P,z.value,w);if(me===null){P===null&&(P=D);break}e&&P&&me.alternate===null&&t(p,P),m=l(me,m,C),j===null?k=me:j.sibling=me,j=me,P=D}if(z.done)return n(p,P),H&&qt(p,C),k;if(P===null){for(;!z.done;C++,z=h.next())z=f(p,z.value,w),z!==null&&(m=l(z,m,C),j===null?k=z:j.sibling=z,j=z);return H&&qt(p,C),k}for(P=r(p,P);!z.done;C++,z=h.next())z=x(P,p,C,z.value,w),z!==null&&(e&&z.alternate!==null&&P.delete(z.key===null?C:z.key),m=l(z,m,C),j===null?k=z:j.sibling=z,j=z);return e&&P.forEach(function(lr){return t(p,lr)}),H&&qt(p,C),k}function N(p,m,h,w){if(typeof h=="object"&&h!==null&&h.type===wn&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case vi:e:{for(var k=h.key,j=m;j!==null;){if(j.key===k){if(k=h.type,k===wn){if(j.tag===7){n(p,j.sibling),m=i(j,h.props.children),m.return=p,p=m;break e}}else if(j.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===wt&&qu(k)===j.type){n(p,j.sibling),m=i(j,h.props),m.ref=fr(p,j,h),m.return=p,p=m;break e}n(p,j);break}else t(p,j);j=j.sibling}h.type===wn?(m=ln(h.props.children,p.mode,w,h.key),m.return=p,p=m):(w=Vi(h.type,h.key,h.props,null,p.mode,w),w.ref=fr(p,m,h),w.return=p,p=w)}return o(p);case xn:e:{for(j=h.key;m!==null;){if(m.key===j)if(m.tag===4&&m.stateNode.containerInfo===h.containerInfo&&m.stateNode.implementation===h.implementation){n(p,m.sibling),m=i(m,h.children||[]),m.return=p,p=m;break e}else{n(p,m);break}else t(p,m);m=m.sibling}m=Ao(h,p.mode,w),m.return=p,p=m}return o(p);case wt:return j=h._init,N(p,m,j(h._payload),w)}if(yr(h))return y(p,m,h,w);if(sr(h))return g(p,m,h,w);Ci(p,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,m!==null&&m.tag===6?(n(p,m.sibling),m=i(m,h),m.return=p,p=m):(n(p,m),m=Fo(h,p.mode,w),m.return=p,p=m),o(p)):n(p,m)}return N}var Vn=hf(!0),vf=hf(!1),ul=Wt(null),cl=null,On=null,ja=null;function Ca(){ja=On=cl=null}function Oa(e){var t=ul.current;W(ul),e._currentValue=t}function Es(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Un(e,t){cl=e,ja=On=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(we=!0),e.firstContext=null)}function Ue(e){var t=e._currentValue;if(ja!==e)if(e={context:e,memoizedValue:t,next:null},On===null){if(cl===null)throw Error(_(308));On=e,cl.dependencies={lanes:0,firstContext:e}}else On=On.next=e;return t}var en=null;function Pa(e){en===null?en=[e]:en.push(e)}function yf(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Pa(t)):(n.next=i.next,i.next=n),t.interleaved=n,pt(e,r)}function pt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Nt=!1;function Ra(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function gf(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function dt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Mt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,I&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,pt(e,n)}return i=r.interleaved,i===null?(t.next=t,Pa(r)):(t.next=i.next,i.next=t),r.interleaved=t,pt(e,n)}function bi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ha(e,n)}}function Ju(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,l=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};l===null?i=l=o:l=l.next=o,n=n.next}while(n!==null);l===null?i=l=t:l=l.next=t}else i=l=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:l,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function dl(e,t,n,r){var i=e.updateQueue;Nt=!1;var l=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var a=s,c=a.next;a.next=null,o===null?l=c:o.next=c,o=a;var d=e.alternate;d!==null&&(d=d.updateQueue,s=d.lastBaseUpdate,s!==o&&(s===null?d.firstBaseUpdate=c:s.next=c,d.lastBaseUpdate=a))}if(l!==null){var f=i.baseState;o=0,d=c=a=null,s=l;do{var v=s.lane,x=s.eventTime;if((r&v)===v){d!==null&&(d=d.next={eventTime:x,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var y=e,g=s;switch(v=t,x=n,g.tag){case 1:if(y=g.payload,typeof y=="function"){f=y.call(x,f,v);break e}f=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=g.payload,v=typeof y=="function"?y.call(x,f,v):y,v==null)break e;f=K({},f,v);break e;case 2:Nt=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,v=i.effects,v===null?i.effects=[s]:v.push(s))}else x={eventTime:x,lane:v,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(c=d=x,a=f):d=d.next=x,o|=v;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;v=s,s=v.next,v.next=null,i.lastBaseUpdate=v,i.shared.pending=null}}while(!0);if(d===null&&(a=f),i.baseState=a,i.firstBaseUpdate=c,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else l===null&&(i.shared.lanes=0);cn|=o,e.lanes=o,e.memoizedState=f}}function Xu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Ro.transition;Ro.transition={};try{e(!1),t()}finally{U=n,Ro.transition=r}}function Ff(){return Be().memoizedState}function S0(e,t,n){var r=At(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Af(e))Df(t,n);else if(n=yf(e,t,n,r),n!==null){var i=he();qe(n,e,r,i),If(n,t,r)}}function E0(e,t,n){var r=At(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Af(e))Df(t,i);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var o=t.lastRenderedState,s=l(o,n);if(i.hasEagerState=!0,i.eagerState=s,Xe(s,o)){var a=t.interleaved;a===null?(i.next=i,Pa(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=yf(e,t,i,r),n!==null&&(i=he(),qe(n,e,r,i),If(n,t,r))}}function Af(e){var t=e.alternate;return e===Q||t!==null&&t===Q}function Df(e,t){jr=ml=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function If(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ha(e,n)}}var pl={readContext:Ue,useCallback:ue,useContext:ue,useEffect:ue,useImperativeHandle:ue,useInsertionEffect:ue,useLayoutEffect:ue,useMemo:ue,useReducer:ue,useRef:ue,useState:ue,useDebugValue:ue,useDeferredValue:ue,useTransition:ue,useMutableSource:ue,useSyncExternalStore:ue,useId:ue,unstable_isNewReconciler:!1},k0={readContext:Ue,useCallback:function(e,t){return Ze().memoizedState=[e,t===void 0?null:t],e},useContext:Ue,useEffect:Yu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Bi(4194308,4,Rf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Bi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Bi(4,2,e,t)},useMemo:function(e,t){var n=Ze();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ze();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=S0.bind(null,Q,e),[r.memoizedState,e]},useRef:function(e){var t=Ze();return e={current:e},t.memoizedState=e},useState:Gu,useDebugValue:Ia,useDeferredValue:function(e){return Ze().memoizedState=e},useTransition:function(){var e=Gu(!1),t=e[0];return e=N0.bind(null,e[1]),Ze().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Q,i=Ze();if(H){if(n===void 0)throw Error(_(407));n=n()}else{if(n=t(),ie===null)throw Error(_(349));un&30||Sf(r,t,n)}i.memoizedState=n;var l={value:n,getSnapshot:t};return i.queue=l,Yu(kf.bind(null,r,l,e),[e]),r.flags|=2048,qr(9,Ef.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=Ze(),t=ie.identifierPrefix;if(H){var n=ct,r=ut;n=(r&~(1<<32-Ke(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Qr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[tt]=t,e[Wr]=r,qf(e,t,!1,!1),t.stateNode=e;e:{switch(o=ls(n,r),n){case"dialog":$("cancel",e),$("close",e),i=r;break;case"iframe":case"object":case"embed":$("load",e),i=r;break;case"video":case"audio":for(i=0;iqn&&(t.flags|=128,r=!0,mr(l,!1),t.lanes=4194304)}else{if(!r)if(e=fl(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),mr(l,!0),l.tail===null&&l.tailMode==="hidden"&&!o.alternate&&!H)return ce(t),null}else 2*G()-l.renderingStartTime>qn&&n!==1073741824&&(t.flags|=128,r=!0,mr(l,!1),t.lanes=4194304);l.isBackwards?(o.sibling=t.child,t.child=o):(n=l.last,n!==null?n.sibling=o:t.child=o,l.last=o)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=G(),t.sibling=null,n=V.current,B(V,r?n&1|2:n&1),t):(ce(t),null);case 22:case 23:return Ha(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?je&1073741824&&(ce(t),t.subtreeFlags&6&&(t.flags|=8192)):ce(t),null;case 24:return null;case 25:return null}throw Error(_(156,t.tag))}function L0(e,t){switch(ka(t),t.tag){case 1:return Se(t.type)&&ll(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Qn(),W(Ne),W(fe),za(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return La(t),null;case 13:if(W(V),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(_(340));Hn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return W(V),null;case 4:return Qn(),null;case 10:return Oa(t.type._context),null;case 22:case 23:return Ha(),null;case 24:return null;default:return null}}var Pi=!1,de=!1,z0=typeof WeakSet=="function"?WeakSet:Set,R=null;function Pn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){q(e,t,r)}else n.current=null}function Ls(e,t,n){try{n()}catch(r){q(e,t,r)}}var uc=!1;function M0(e,t){if(hs=tl,e=ef(),Sa(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var o=0,s=-1,a=-1,c=0,d=0,f=e,v=null;t:for(;;){for(var x;f!==n||i!==0&&f.nodeType!==3||(s=o+i),f!==l||r!==0&&f.nodeType!==3||(a=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(x=f.firstChild)!==null;)v=f,f=x;for(;;){if(f===e)break t;if(v===n&&++c===i&&(s=o),v===l&&++d===r&&(a=o),(x=f.nextSibling)!==null)break;f=v,v=f.parentNode}f=x}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(vs={focusedElem:e,selectionRange:n},tl=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var g=y.memoizedProps,N=y.memoizedState,p=t.stateNode,m=p.getSnapshotBeforeUpdate(t.elementType===t.type?g:We(t.type,g),N);p.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(_(163))}}catch(w){q(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return y=uc,uc=!1,y}function Cr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var l=i.destroy;i.destroy=void 0,l!==void 0&&Ls(t,n,l)}i=i.next}while(i!==r)}}function Bl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function zs(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Gf(e){var t=e.alternate;t!==null&&(e.alternate=null,Gf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[tt],delete t[Wr],delete t[xs],delete t[v0],delete t[y0])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Yf(e){return e.tag===5||e.tag===3||e.tag===4}function cc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Yf(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ms(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=il));else if(r!==4&&(e=e.child,e!==null))for(Ms(e,t,n),e=e.sibling;e!==null;)Ms(e,t,n),e=e.sibling}function Fs(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Fs(e,t,n),e=e.sibling;e!==null;)Fs(e,t,n),e=e.sibling}var oe=null,He=!1;function gt(e,t,n){for(n=n.child;n!==null;)Zf(e,t,n),n=n.sibling}function Zf(e,t,n){if(rt&&typeof rt.onCommitFiberUnmount=="function")try{rt.onCommitFiberUnmount(zl,n)}catch{}switch(n.tag){case 5:de||Pn(n,t);case 6:var r=oe,i=He;oe=null,gt(e,t,n),oe=r,He=i,oe!==null&&(He?(e=oe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):oe.removeChild(n.stateNode));break;case 18:oe!==null&&(He?(e=oe,n=n.stateNode,e.nodeType===8?Co(e.parentNode,n):e.nodeType===1&&Co(e,n),Ir(e)):Co(oe,n.stateNode));break;case 4:r=oe,i=He,oe=n.stateNode.containerInfo,He=!0,gt(e,t,n),oe=r,He=i;break;case 0:case 11:case 14:case 15:if(!de&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var l=i,o=l.destroy;l=l.tag,o!==void 0&&(l&2||l&4)&&Ls(n,t,o),i=i.next}while(i!==r)}gt(e,t,n);break;case 1:if(!de&&(Pn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){q(n,t,s)}gt(e,t,n);break;case 21:gt(e,t,n);break;case 22:n.mode&1?(de=(r=de)||n.memoizedState!==null,gt(e,t,n),de=r):gt(e,t,n);break;default:gt(e,t,n)}}function dc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new z0),t.forEach(function(r){var i=W0.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function $e(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=o),r&=~l}if(r=i,r=G()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*A0(r/1960))-r,10e?16:e,Ot===null)var r=!1;else{if(e=Ot,Ot=null,yl=0,I&6)throw Error(_(331));var i=I;for(I|=4,R=e.current;R!==null;){var l=R,o=l.child;if(R.flags&16){var s=l.deletions;if(s!==null){for(var a=0;aG()-$a?rn(e,0):Ba|=n),Ee(e,t)}function sm(e,t){t===0&&(e.mode&1?(t=wi,wi<<=1,!(wi&130023424)&&(wi=4194304)):t=1);var n=he();e=pt(e,t),e!==null&&(ni(e,t,n),Ee(e,n))}function $0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),sm(e,n)}function W0(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(_(314))}r!==null&&r.delete(t),sm(e,n)}var am;am=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ne.current)we=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return we=!1,R0(e,t,n);we=!!(e.flags&131072)}else we=!1,H&&t.flags&1048576&&ff(t,al,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;$i(e,t),e=t.pendingProps;var i=Wn(t,fe.current);Un(t,n),i=Fa(null,t,r,e,i,n);var l=Aa();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Se(r)?(l=!0,ol(t)):l=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Ra(t),i.updater=Ul,t.stateNode=i,i._reactInternals=t,_s(t,r,e,n),t=Os(null,t,r,!0,l,n)):(t.tag=0,H&&l&&Ea(t),pe(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch($i(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=V0(r),e=We(r,e),i){case 0:t=Cs(null,t,r,e,n);break e;case 1:t=oc(null,t,r,e,n);break e;case 11:t=ic(null,t,r,e,n);break e;case 14:t=lc(null,t,r,We(r.type,e),n);break e}throw Error(_(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),Cs(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),oc(e,t,r,i,n);case 3:e:{if(Vf(t),e===null)throw Error(_(387));r=t.pendingProps,l=t.memoizedState,i=l.element,gf(e,t),dl(t,r,null,n);var o=t.memoizedState;if(r=o.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){i=Kn(Error(_(423)),t),t=sc(e,t,r,n,i);break e}else if(r!==i){i=Kn(Error(_(424)),t),t=sc(e,t,r,n,i);break e}else for(Ce=zt(t.stateNode.containerInfo.firstChild),Pe=t,H=!0,Ve=null,n=vf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Hn(),r===i){t=ht(e,t,n);break e}pe(e,t,r,n)}t=t.child}return t;case 5:return xf(t),e===null&&Ss(t),r=t.type,i=t.pendingProps,l=e!==null?e.memoizedProps:null,o=i.children,ys(r,i)?o=null:l!==null&&ys(r,l)&&(t.flags|=32),Hf(e,t),pe(e,t,o,n),t.child;case 6:return e===null&&Ss(t),null;case 13:return Qf(e,t,n);case 4:return Ta(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Vn(t,null,r,n):pe(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),ic(e,t,r,i,n);case 7:return pe(e,t,t.pendingProps,n),t.child;case 8:return pe(e,t,t.pendingProps.children,n),t.child;case 12:return pe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,l=t.memoizedProps,o=i.value,B(ul,r._currentValue),r._currentValue=o,l!==null)if(Xe(l.value,o)){if(l.children===i.children&&!Ne.current){t=ht(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var s=l.dependencies;if(s!==null){o=l.child;for(var a=s.firstContext;a!==null;){if(a.context===r){if(l.tag===1){a=dt(-1,n&-n),a.tag=2;var c=l.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?a.next=a:(a.next=d.next,d.next=a),c.pending=a}}l.lanes|=n,a=l.alternate,a!==null&&(a.lanes|=n),Es(l.return,n,t),s.lanes|=n;break}a=a.next}}else if(l.tag===10)o=l.type===t.type?null:l.child;else if(l.tag===18){if(o=l.return,o===null)throw Error(_(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Es(o,n,t),o=l.sibling}else o=l.child;if(o!==null)o.return=l;else for(o=l;o!==null;){if(o===t){o=null;break}if(l=o.sibling,l!==null){l.return=o.return,o=l;break}o=o.return}l=o}pe(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Un(t,n),i=Ue(i),r=r(i),t.flags|=1,pe(e,t,r,n),t.child;case 14:return r=t.type,i=We(r,t.pendingProps),i=We(r.type,i),lc(e,t,r,i,n);case 15:return $f(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),$i(e,t),t.tag=1,Se(r)?(e=!0,ol(t)):e=!1,Un(t,n),bf(t,r,i),_s(t,r,i,n),Os(null,t,r,!0,e,n);case 19:return Kf(e,t,n);case 22:return Wf(e,t,n)}throw Error(_(156,t.tag))};function um(e,t){return Fd(e,t)}function H0(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ie(e,t,n,r){return new H0(e,t,n,r)}function Qa(e){return e=e.prototype,!(!e||!e.isReactComponent)}function V0(e){if(typeof e=="function")return Qa(e)?1:0;if(e!=null){if(e=e.$$typeof,e===da)return 11;if(e===fa)return 14}return 2}function Dt(e,t){var n=e.alternate;return n===null?(n=Ie(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Vi(e,t,n,r,i,l){var o=2;if(r=e,typeof e=="function")Qa(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case wn:return ln(n.children,i,l,t);case ca:o=8,i|=8;break;case Jo:return e=Ie(12,n,t,i|2),e.elementType=Jo,e.lanes=l,e;case Xo:return e=Ie(13,n,t,i),e.elementType=Xo,e.lanes=l,e;case Go:return e=Ie(19,n,t,i),e.elementType=Go,e.lanes=l,e;case gd:return Wl(n,i,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case vd:o=10;break e;case yd:o=9;break e;case da:o=11;break e;case fa:o=14;break e;case wt:o=16,r=null;break e}throw Error(_(130,e==null?e:typeof e,""))}return t=Ie(o,n,t,i),t.elementType=e,t.type=r,t.lanes=l,t}function ln(e,t,n,r){return e=Ie(7,e,r,t),e.lanes=n,e}function Wl(e,t,n,r){return e=Ie(22,e,r,t),e.elementType=gd,e.lanes=n,e.stateNode={isHidden:!1},e}function Fo(e,t,n){return e=Ie(6,e,null,t),e.lanes=n,e}function Ao(e,t,n){return t=Ie(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Q0(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vo(0),this.expirationTimes=vo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vo(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Ka(e,t,n,r,i,l,o,s,a){return e=new Q0(e,t,n,s,a),t===1?(t=1,l===!0&&(t|=8)):t=0,l=Ie(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ra(l),e}function K0(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(mm)}catch(e){console.error(e)}}mm(),fd.exports=Me;var Y0=fd.exports,pm,xc=Y0;pm=xc.createRoot,xc.hydrateRoot;var hm={exports:{}},vm={};/** + * @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. + */var oi=O;function Z0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ev=typeof Object.is=="function"?Object.is:Z0,tv=oi.useSyncExternalStore,nv=oi.useRef,rv=oi.useEffect,iv=oi.useMemo,lv=oi.useDebugValue;vm.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var l=nv(null);if(l.current===null){var o={hasValue:!1,value:null};l.current=o}else o=l.current;l=iv(function(){function a(x){if(!c){if(c=!0,d=x,x=r(x),i!==void 0&&o.hasValue){var y=o.value;if(i(y,x))return f=y}return f=x}if(y=f,ev(d,x))return y;var g=r(x);return i!==void 0&&i(y,g)?y:(d=x,f=g)}var c=!1,d,f,v=n===void 0?null:n;return[function(){return a(t())},v===null?void 0:function(){return a(v())}]},[t,n,r,i]);var s=tv(e,l[0],l[1]);return rv(function(){o.hasValue=!0,o.value=s},[s]),lv(s),s};hm.exports=vm;var ov=hm.exports,Oe="default"in Ko?E:Ko,wc=Symbol.for("react-redux-context"),Nc=typeof globalThis<"u"?globalThis:{};function sv(){if(!Oe.createContext)return{};const e=Nc[wc]??(Nc[wc]=new Map);let t=e.get(Oe.createContext);return t||(t=Oe.createContext(null),e.set(Oe.createContext,t)),t}var Bt=sv(),av=()=>{throw new Error("uSES not initialized!")};function Ga(e=Bt){return function(){return Oe.useContext(e)}}var ym=Ga(),gm=av,uv=e=>{gm=e},cv=(e,t)=>e===t;function dv(e=Bt){const t=e===Bt?ym:Ga(e),n=(r,i={})=>{const{equalityFn:l=cv,devModeChecks:o={}}=typeof i=="function"?{equalityFn:i}:i,{store:s,subscription:a,getServerState:c,stabilityCheck:d,identityFunctionCheck:f}=t();Oe.useRef(!0);const v=Oe.useCallback({[r.name](y){return r(y)}}[r.name],[r,d,o.stabilityCheck]),x=gm(a.addNestedSub,s.getState,c||s.getState,v,l);return Oe.useDebugValue(x),x};return Object.assign(n,{withTypes:()=>n}),n}var si=dv();function fv(e){e()}function mv(){let e=null,t=null;return{clear(){e=null,t=null},notify(){fv(()=>{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 Sc={notify(){},get:()=>[]};function pv(e,t){let n,r=Sc,i=0,l=!1;function o(g){d();const N=r.subscribe(g);let p=!1;return()=>{p||(p=!0,N(),f())}}function s(){r.notify()}function a(){y.onStateChange&&y.onStateChange()}function c(){return l}function d(){i++,n||(n=e.subscribe(a),r=mv())}function f(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=Sc)}function v(){l||(l=!0,d())}function x(){l&&(l=!1,f())}const y={addNestedSub:o,notifyNestedSubs:s,handleChangeWrapper:a,isSubscribed:c,trySubscribe:v,tryUnsubscribe:x,getListeners:()=>r};return y}var hv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",vv=typeof navigator<"u"&&navigator.product==="ReactNative",yv=hv||vv?Oe.useLayoutEffect:Oe.useEffect;function gv({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:l="once"}){const o=Oe.useMemo(()=>{const c=pv(e);return{store:e,subscription:c,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:l}},[e,r,i,l]),s=Oe.useMemo(()=>e.getState(),[e]);yv(()=>{const{subscription:c}=o;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),s!==e.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[o,s]);const a=t||Bt;return Oe.createElement(a.Provider,{value:o},n)}var xv=gv;function xm(e=Bt){const t=e===Bt?ym:Ga(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var wv=xm();function Nv(e=Bt){const t=e===Bt?wv:xm(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var Ya=Nv();uv(ov.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 Sv=typeof Symbol=="function"&&Symbol.observable||"@@observable",Ec=Sv,Do=()=>Math.random().toString(36).substring(7).split("").join("."),Ev={INIT:`@@redux/INIT${Do()}`,REPLACE:`@@redux/REPLACE${Do()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Do()}`},wl=Ev;function Za(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function wm(e,t,n){if(typeof e!="function")throw new Error(le(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(le(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(le(1));return n(wm)(e,t)}let r=e,i=t,l=new Map,o=l,s=0,a=!1;function c(){o===l&&(o=new Map,l.forEach((N,p)=>{o.set(p,N)}))}function d(){if(a)throw new Error(le(3));return i}function f(N){if(typeof N!="function")throw new Error(le(4));if(a)throw new Error(le(5));let p=!0;c();const m=s++;return o.set(m,N),function(){if(p){if(a)throw new Error(le(6));p=!1,c(),o.delete(m),l=null}}}function v(N){if(!Za(N))throw new Error(le(7));if(typeof N.type>"u")throw new Error(le(8));if(typeof N.type!="string")throw new Error(le(17));if(a)throw new Error(le(9));try{a=!0,i=r(i,N)}finally{a=!1}return(l=o).forEach(m=>{m()}),N}function x(N){if(typeof N!="function")throw new Error(le(10));r=N,v({type:wl.REPLACE})}function y(){const N=f;return{subscribe(p){if(typeof p!="object"||p===null)throw new Error(le(11));function m(){const w=p;w.next&&w.next(d())}return m(),{unsubscribe:N(m)}},[Ec](){return this}}}return v({type:wl.INIT}),{dispatch:v,subscribe:f,getState:d,replaceReducer:x,[Ec]:y}}function kv(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:wl.INIT})>"u")throw new Error(le(12));if(typeof n(void 0,{type:wl.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(le(13))})}function _v(e){const t=Object.keys(e),n={};for(let l=0;l"u")throw s&&s.type,new Error(le(14));c[f]=y,a=a||y!==x}return a=a||r.length!==Object.keys(o).length,a?c:o}}function Nl(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function jv(...e){return t=>(n,r)=>{const i=t(n,r);let l=()=>{throw new Error(le(15))};const o={getState:i.getState,dispatch:(a,...c)=>l(a,...c)},s=e.map(a=>a(o));return l=Nl(...s)(i.dispatch),{...i,dispatch:l}}}function Cv(e){return Za(e)&&"type"in e&&typeof e.type=="string"}var Nm=Symbol.for("immer-nothing"),kc=Symbol.for("immer-draftable"),Le=Symbol.for("immer-state");function Qe(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Jn=Object.getPrototypeOf;function fn(e){return!!e&&!!e[Le]}function vt(e){var t;return e?Sm(e)||Array.isArray(e)||!!e[kc]||!!((t=e.constructor)!=null&&t[kc])||Jl(e)||Xl(e):!1}var Ov=Object.prototype.constructor.toString();function Sm(e){if(!e||typeof e!="object")return!1;const t=Jn(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===Ov}function Sl(e,t){ql(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function ql(e){const t=e[Le];return t?t.type_:Array.isArray(e)?1:Jl(e)?2:Xl(e)?3:0}function Us(e,t){return ql(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Em(e,t,n){const r=ql(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function Pv(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Jl(e){return e instanceof Map}function Xl(e){return e instanceof Set}function Xt(e){return e.copy_||e.base_}function Bs(e,t){if(Jl(e))return new Map(e);if(Xl(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=Sm(e);if(t===!0||t==="class_only"&&!n){const r=Object.getOwnPropertyDescriptors(e);delete r[Le];let i=Reflect.ownKeys(r);for(let l=0;l1&&(e.set=e.add=e.clear=e.delete=Rv),Object.freeze(e),t&&Object.entries(e).forEach(([n,r])=>eu(r,!0))),e}function Rv(){Qe(2)}function Gl(e){return Object.isFrozen(e)}var Tv={};function mn(e){const t=Tv[e];return t||Qe(0,e),t}var Xr;function km(){return Xr}function Lv(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function _c(e,t){t&&(mn("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function $s(e){Ws(e),e.drafts_.forEach(zv),e.drafts_=null}function Ws(e){e===Xr&&(Xr=e.parent_)}function jc(e){return Xr=Lv(Xr,e)}function zv(e){const t=e[Le];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Cc(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[Le].modified_&&($s(t),Qe(4)),vt(e)&&(e=El(t,e),t.parent_||kl(t,e)),t.patches_&&mn("Patches").generateReplacementPatches_(n[Le].base_,e,t.patches_,t.inversePatches_)):e=El(t,n,[]),$s(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Nm?e:void 0}function El(e,t,n){if(Gl(t))return t;const r=t[Le];if(!r)return Sl(t,(i,l)=>Oc(e,r,t,i,l,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return kl(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const i=r.copy_;let l=i,o=!1;r.type_===3&&(l=new Set(i),i.clear(),o=!0),Sl(l,(s,a)=>Oc(e,r,i,s,a,n,o)),kl(e,i,!1),n&&e.patches_&&mn("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function Oc(e,t,n,r,i,l,o){if(fn(i)){const s=l&&t&&t.type_!==3&&!Us(t.assigned_,r)?l.concat(r):void 0,a=El(e,i,s);if(Em(n,r,a),fn(a))e.canAutoFreeze_=!1;else return}else o&&n.add(i);if(vt(i)&&!Gl(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;El(e,i),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,r)&&kl(e,i)}}function kl(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&eu(t,n)}function Mv(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:km(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,l=tu;n&&(i=[r],l=Gr);const{revoke:o,proxy:s}=Proxy.revocable(i,l);return r.draft_=s,r.revoke_=o,s}var tu={get(e,t){if(t===Le)return e;const n=Xt(e);if(!Us(n,t))return Fv(e,n,t);const r=n[t];return e.finalized_||!vt(r)?r:r===Io(e.base_,t)?(bo(e),e.copy_[t]=Vs(r,e)):r},has(e,t){return t in Xt(e)},ownKeys(e){return Reflect.ownKeys(Xt(e))},set(e,t,n){const r=_m(Xt(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const i=Io(Xt(e),t),l=i==null?void 0:i[Le];if(l&&l.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(Pv(n,i)&&(n!==void 0||Us(e.base_,t)))return!0;bo(e),Hs(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return Io(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,bo(e),Hs(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=Xt(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){Qe(11)},getPrototypeOf(e){return Jn(e.base_)},setPrototypeOf(){Qe(12)}},Gr={};Sl(tu,(e,t)=>{Gr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Gr.deleteProperty=function(e,t){return Gr.set.call(this,e,t,void 0)};Gr.set=function(e,t,n){return tu.set.call(this,e[0],t,n,e[0])};function Io(e,t){const n=e[Le];return(n?Xt(n):e)[t]}function Fv(e,t,n){var i;const r=_m(t,n);return r?"value"in r?r.value:(i=r.get)==null?void 0:i.call(e.draft_):void 0}function _m(e,t){if(!(t in e))return;let n=Jn(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Jn(n)}}function Hs(e){e.modified_||(e.modified_=!0,e.parent_&&Hs(e.parent_))}function bo(e){e.copy_||(e.copy_=Bs(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Av=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const l=n;n=t;const o=this;return function(a=l,...c){return o.produce(a,d=>n.call(this,d,...c))}}typeof n!="function"&&Qe(6),r!==void 0&&typeof r!="function"&&Qe(7);let i;if(vt(t)){const l=jc(this),o=Vs(t,void 0);let s=!0;try{i=n(o),s=!1}finally{s?$s(l):Ws(l)}return _c(l,r),Cc(i,l)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===Nm&&(i=void 0),this.autoFreeze_&&eu(i,!0),r){const l=[],o=[];mn("Patches").generateReplacementPatches_(t,i,l,o),r(l,o)}return i}else Qe(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(o,...s)=>this.produceWithPatches(o,a=>t(a,...s));let r,i;return[this.produce(t,n,(o,s)=>{r=o,i=s}),r,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){vt(e)||Qe(8),fn(e)&&(e=Dv(e));const t=jc(this),n=Vs(e,void 0);return n[Le].isManual_=!0,Ws(t),n}finishDraft(e,t){const n=e&&e[Le];(!n||!n.isManual_)&&Qe(9);const{scope_:r}=n;return _c(r,t),Cc(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const i=t[n];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}n>-1&&(t=t.slice(n+1));const r=mn("Patches").applyPatches_;return fn(e)?r(e,t):this.produce(e,i=>r(i,t))}};function Vs(e,t){const n=Jl(e)?mn("MapSet").proxyMap_(e,t):Xl(e)?mn("MapSet").proxySet_(e,t):Mv(e,t);return(t?t.scope_:km()).drafts_.push(n),n}function Dv(e){return fn(e)||Qe(10,e),jm(e)}function jm(e){if(!vt(e)||Gl(e))return e;const t=e[Le];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Bs(e,t.scope_.immer_.useStrictShallowCopy_)}else n=Bs(e,!0);return Sl(n,(r,i)=>{Em(n,r,jm(i))}),t&&(t.finalized_=!1),n}var ze=new Av,Cm=ze.produce;ze.produceWithPatches.bind(ze);ze.setAutoFreeze.bind(ze);ze.setUseStrictShallowCopy.bind(ze);ze.applyPatches.bind(ze);ze.createDraft.bind(ze);ze.finishDraft.bind(ze);function Om(e){return({dispatch:n,getState:r})=>i=>l=>typeof l=="function"?l(n,r,e):i(l)}var Iv=Om(),bv=Om,Uv=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Nl:Nl.apply(null,arguments)},Bv=e=>e&&typeof e.match=="function";function Rr(e,t){function n(...r){if(t){let i=t(...r);if(!i)throw new Error(Je(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:r[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=r=>Cv(r)&&r.type===e,n}var Pm=class wr extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,wr.prototype)}static get[Symbol.species](){return wr}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new wr(...t[0].concat(this)):new wr(...t.concat(this))}};function Pc(e){return vt(e)?Cm(e,()=>{}):e}function Rc(e,t,n){if(e.has(t)){let i=e.get(t);return n.update&&(i=n.update(i,t,e),e.set(t,i)),i}if(!n.insert)throw new Error(Je(10));const r=n.insert(t,e);return e.set(t,r),r}function $v(e){return typeof e=="boolean"}var Wv=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:i=!0,actionCreatorCheck:l=!0}=t??{};let o=new Pm;return n&&($v(n)?o.push(Iv):o.push(bv(n.extraArgument))),o},Hv="RTK_autoBatch",Rm=e=>t=>{setTimeout(t,e)},Vv=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Rm(10),Qv=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let i=!0,l=!1,o=!1;const s=new Set,a=e.type==="tick"?queueMicrotask:e.type==="raf"?Vv:e.type==="callback"?e.queueNotification:Rm(e.timeout),c=()=>{o=!1,l&&(l=!1,s.forEach(d=>d()))};return Object.assign({},r,{subscribe(d){const f=()=>i&&d(),v=r.subscribe(f);return s.add(d),()=>{v(),s.delete(d)}},dispatch(d){var f;try{return i=!((f=d==null?void 0:d.meta)!=null&&f[Hv]),l=!i,l&&(o||(o=!0,a(c))),r.dispatch(d)}finally{i=!0}}})},Kv=e=>function(n){const{autoBatch:r=!0}=n??{};let i=new Pm(e);return r&&i.push(Qv(typeof r=="object"?r:void 0)),i};function qv(e){const t=Wv(),{reducer:n=void 0,middleware:r,devTools:i=!0,preloadedState:l=void 0,enhancers:o=void 0}=e||{};let s;if(typeof n=="function")s=n;else if(Za(n))s=_v(n);else throw new Error(Je(1));let a;typeof r=="function"?a=r(t):a=t();let c=Nl;i&&(c=Uv({trace:!1,...typeof i=="object"&&i}));const d=jv(...a),f=Kv(d);let v=typeof o=="function"?o(f):f();const x=c(...v);return wm(s,l,x)}function Tm(e){const t={},n=[];let r;const i={addCase(l,o){const s=typeof l=="string"?l:l.type;if(!s)throw new Error(Je(28));if(s in t)throw new Error(Je(29));return t[s]=o,i},addMatcher(l,o){return n.push({matcher:l,reducer:o}),i},addDefaultCase(l){return r=l,i}};return e(i),[t,n,r]}function Jv(e){return typeof e=="function"}function Xv(e,t){let[n,r,i]=Tm(t),l;if(Jv(e))l=()=>Pc(e());else{const s=Pc(e);l=()=>s}function o(s=l(),a){let c=[n[a.type],...r.filter(({matcher:d})=>d(a)).map(({reducer:d})=>d)];return c.filter(d=>!!d).length===0&&(c=[i]),c.reduce((d,f)=>{if(f)if(fn(d)){const x=f(d,a);return x===void 0?d:x}else{if(vt(d))return Cm(d,v=>f(v,a));{const v=f(d,a);if(v===void 0){if(d===null)return d;throw new Error(Je(9))}return v}}return d},s)}return o.getInitialState=l,o}var Gv=(e,t)=>Bv(e)?e.match(t):e(t);function Yv(...e){return t=>e.some(n=>Gv(n,t))}var Zv="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",ey=(e=21)=>{let t="",n=e;for(;n--;)t+=Zv[Math.random()*64|0];return t},ty=["name","message","stack","code"],Uo=class{constructor(e,t){uo(this,"_type");this.payload=e,this.meta=t}},Tc=class{constructor(e,t){uo(this,"_type");this.payload=e,this.meta=t}},ny=e=>{if(typeof e=="object"&&e!==null){const t={};for(const n of ty)typeof e[n]=="string"&&(t[n]=e[n]);return t}return{message:String(e)}},nu=(()=>{function e(t,n,r){const i=Rr(t+"/fulfilled",(a,c,d,f)=>({payload:a,meta:{...f||{},arg:d,requestId:c,requestStatus:"fulfilled"}})),l=Rr(t+"/pending",(a,c,d)=>({payload:void 0,meta:{...d||{},arg:c,requestId:a,requestStatus:"pending"}})),o=Rr(t+"/rejected",(a,c,d,f,v)=>({payload:f,error:(r&&r.serializeError||ny)(a||"Rejected"),meta:{...v||{},arg:d,requestId:c,rejectedWithValue:!!f,requestStatus:"rejected",aborted:(a==null?void 0:a.name)==="AbortError",condition:(a==null?void 0:a.name)==="ConditionError"}}));function s(a){return(c,d,f)=>{const v=r!=null&&r.idGenerator?r.idGenerator(a):ey(),x=new AbortController;let y,g;function N(m){g=m,x.abort()}const p=async function(){var w,k;let m;try{let j=(w=r==null?void 0:r.condition)==null?void 0:w.call(r,a,{getState:d,extra:f});if(iy(j)&&(j=await j),j===!1||x.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const P=new Promise((C,D)=>{y=()=>{D({name:"AbortError",message:g||"Aborted"})},x.signal.addEventListener("abort",y)});c(l(v,a,(k=r==null?void 0:r.getPendingMeta)==null?void 0:k.call(r,{requestId:v,arg:a},{getState:d,extra:f}))),m=await Promise.race([P,Promise.resolve(n(a,{dispatch:c,getState:d,extra:f,requestId:v,signal:x.signal,abort:N,rejectWithValue:(C,D)=>new Uo(C,D),fulfillWithValue:(C,D)=>new Tc(C,D)})).then(C=>{if(C instanceof Uo)throw C;return C instanceof Tc?i(C.payload,v,a,C.meta):i(C,v,a)})])}catch(j){m=j instanceof Uo?o(null,v,a,j.payload,j.meta):o(j,v,a)}finally{y&&x.signal.removeEventListener("abort",y)}return r&&!r.dispatchConditionRejection&&o.match(m)&&m.meta.condition||c(m),m}();return Object.assign(p,{abort:N,requestId:v,arg:a,unwrap(){return p.then(ry)}})}}return Object.assign(s,{pending:l,rejected:o,fulfilled:i,settled:Yv(o,i),typePrefix:t})}return e.withTypes=()=>e,e})();function ry(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function iy(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var ly=Symbol.for("rtk-slice-createasyncthunk");function oy(e,t){return`${e}/${t}`}function sy({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[ly];return function(i){const{name:l,reducerPath:o=l}=i;if(!l)throw new Error(Je(11));typeof process<"u";const s=(typeof i.reducers=="function"?i.reducers(cy()):i.reducers)||{},a=Object.keys(s),c={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},d={addCase(h,w){const k=typeof h=="string"?h:h.type;if(!k)throw new Error(Je(12));if(k in c.sliceCaseReducersByType)throw new Error(Je(13));return c.sliceCaseReducersByType[k]=w,d},addMatcher(h,w){return c.sliceMatchers.push({matcher:h,reducer:w}),d},exposeAction(h,w){return c.actionCreators[h]=w,d},exposeCaseReducer(h,w){return c.sliceCaseReducersByName[h]=w,d}};a.forEach(h=>{const w=s[h],k={reducerName:h,type:oy(l,h),createNotation:typeof i.reducers=="function"};fy(w)?py(k,w,d,t):dy(k,w,d)});function f(){const[h={},w=[],k=void 0]=typeof i.extraReducers=="function"?Tm(i.extraReducers):[i.extraReducers],j={...h,...c.sliceCaseReducersByType};return Xv(i.initialState,P=>{for(let C in j)P.addCase(C,j[C]);for(let C of c.sliceMatchers)P.addMatcher(C.matcher,C.reducer);for(let C of w)P.addMatcher(C.matcher,C.reducer);k&&P.addDefaultCase(k)})}const v=h=>h,x=new Map;let y;function g(h,w){return y||(y=f()),y(h,w)}function N(){return y||(y=f()),y.getInitialState()}function p(h,w=!1){function k(P){let C=P[h];return typeof C>"u"&&w&&(C=N()),C}function j(P=v){const C=Rc(x,w,{insert:()=>new WeakMap});return Rc(C,P,{insert:()=>{const D={};for(const[z,me]of Object.entries(i.selectors??{}))D[z]=ay(me,P,N,w);return D}})}return{reducerPath:h,getSelectors:j,get selectors(){return j(k)},selectSlice:k}}const m={name:l,reducer:g,actions:c.actionCreators,caseReducers:c.sliceCaseReducersByName,getInitialState:N,...p(o),injectInto(h,{reducerPath:w,...k}={}){const j=w??o;return h.inject({reducerPath:j,reducer:g},k),{...m,...p(j,!0)}}};return m}}function ay(e,t,n,r){function i(l,...o){let s=t(l);return typeof s>"u"&&r&&(s=n()),e(s,...o)}return i.unwrapped=e,i}var uy=sy();function cy(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function dy({type:e,reducerName:t,createNotation:n},r,i){let l,o;if("reducer"in r){if(n&&!my(r))throw new Error(Je(17));l=r.reducer,o=r.prepare}else l=r;i.addCase(e,l).exposeCaseReducer(t,l).exposeAction(t,o?Rr(e,o):Rr(e))}function fy(e){return e._reducerDefinitionType==="asyncThunk"}function my(e){return e._reducerDefinitionType==="reducerWithPrepare"}function py({type:e,reducerName:t},n,r,i){if(!i)throw new Error(Je(18));const{payloadCreator:l,fulfilled:o,pending:s,rejected:a,settled:c,options:d}=n,f=i(e,l,d);r.exposeAction(t,f),o&&r.addCase(f.fulfilled,o),s&&r.addCase(f.pending,s),a&&r.addCase(f.rejected,a),c&&r.addMatcher(f.settled,c),r.exposeCaseReducer(t,{fulfilled:o||Li,pending:s||Li,rejected:a||Li,settled:c||Li})}function Li(){}function Je(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}function Lm(e,t){return function(){return e.apply(t,arguments)}}const{toString:hy}=Object.prototype,{getPrototypeOf:ru}=Object,Yl=(e=>t=>{const n=hy.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ge=e=>(e=e.toLowerCase(),t=>Yl(t)===e),Zl=e=>t=>typeof t===e,{isArray:er}=Array,Yr=Zl("undefined");function vy(e){return e!==null&&!Yr(e)&&e.constructor!==null&&!Yr(e.constructor)&&Re(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const zm=Ge("ArrayBuffer");function yy(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&zm(e.buffer),t}const gy=Zl("string"),Re=Zl("function"),Mm=Zl("number"),eo=e=>e!==null&&typeof e=="object",xy=e=>e===!0||e===!1,Qi=e=>{if(Yl(e)!=="object")return!1;const t=ru(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},wy=Ge("Date"),Ny=Ge("File"),Sy=Ge("Blob"),Ey=Ge("FileList"),ky=e=>eo(e)&&Re(e.pipe),_y=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Re(e.append)&&((t=Yl(e))==="formdata"||t==="object"&&Re(e.toString)&&e.toString()==="[object FormData]"))},jy=Ge("URLSearchParams"),[Cy,Oy,Py,Ry]=["ReadableStream","Request","Response","Headers"].map(Ge),Ty=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ai(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),er(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const nn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Am=e=>!Yr(e)&&e!==nn;function Qs(){const{caseless:e}=Am(this)&&this||{},t={},n=(r,i)=>{const l=e&&Fm(t,i)||i;Qi(t[l])&&Qi(r)?t[l]=Qs(t[l],r):Qi(r)?t[l]=Qs({},r):er(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r(ai(t,(i,l)=>{n&&Re(i)?e[l]=Lm(i,n):e[l]=i},{allOwnKeys:r}),e),zy=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),My=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Fy=(e,t,n,r)=>{let i,l,o;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),l=i.length;l-- >0;)o=i[l],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&ru(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Ay=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Dy=e=>{if(!e)return null;if(er(e))return e;let t=e.length;if(!Mm(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Iy=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ru(Uint8Array)),by=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const l=i.value;t.call(e,l[0],l[1])}},Uy=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},By=Ge("HTMLFormElement"),$y=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Lc=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Wy=Ge("RegExp"),Dm=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ai(n,(i,l)=>{let o;(o=t(i,l,e))!==!1&&(r[l]=o||i)}),Object.defineProperties(e,r)},Hy=e=>{Dm(e,(t,n)=>{if(Re(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Re(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Vy=(e,t)=>{const n={},r=i=>{i.forEach(l=>{n[l]=!0})};return er(e)?r(e):r(String(e).split(t)),n},Qy=()=>{},Ky=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Bo="abcdefghijklmnopqrstuvwxyz",zc="0123456789",Im={DIGIT:zc,ALPHA:Bo,ALPHA_DIGIT:Bo+Bo.toUpperCase()+zc},qy=(e=16,t=Im.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Jy(e){return!!(e&&Re(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Xy=e=>{const t=new Array(10),n=(r,i)=>{if(eo(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=er(r)?[]:{};return ai(r,(o,s)=>{const a=n(o,i+1);!Yr(a)&&(l[s]=a)}),t[i]=void 0,l}}return r};return n(e,0)},Gy=Ge("AsyncFunction"),Yy=e=>e&&(eo(e)||Re(e))&&Re(e.then)&&Re(e.catch),bm=((e,t)=>e?setImmediate:t?((n,r)=>(nn.addEventListener("message",({source:i,data:l})=>{i===nn&&l===n&&r.length&&r.shift()()},!1),i=>{r.push(i),nn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Re(nn.postMessage)),Zy=typeof queueMicrotask<"u"?queueMicrotask.bind(nn):typeof process<"u"&&process.nextTick||bm,S={isArray:er,isArrayBuffer:zm,isBuffer:vy,isFormData:_y,isArrayBufferView:yy,isString:gy,isNumber:Mm,isBoolean:xy,isObject:eo,isPlainObject:Qi,isReadableStream:Cy,isRequest:Oy,isResponse:Py,isHeaders:Ry,isUndefined:Yr,isDate:wy,isFile:Ny,isBlob:Sy,isRegExp:Wy,isFunction:Re,isStream:ky,isURLSearchParams:jy,isTypedArray:Iy,isFileList:Ey,forEach:ai,merge:Qs,extend:Ly,trim:Ty,stripBOM:zy,inherits:My,toFlatObject:Fy,kindOf:Yl,kindOfTest:Ge,endsWith:Ay,toArray:Dy,forEachEntry:by,matchAll:Uy,isHTMLForm:By,hasOwnProperty:Lc,hasOwnProp:Lc,reduceDescriptors:Dm,freezeMethods:Hy,toObjectSet:Vy,toCamelCase:$y,noop:Qy,toFiniteNumber:Ky,findKey:Fm,global:nn,isContextDefined:Am,ALPHABET:Im,generateString:qy,isSpecCompliantForm:Jy,toJSONObject:Xy,isAsyncFn:Gy,isThenable:Yy,setImmediate:bm,asap:Zy};function L(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}S.inherits(L,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:S.toJSONObject(this.config),code:this.code,status:this.status}}});const Um=L.prototype,Bm={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Bm[e]={value:e}});Object.defineProperties(L,Bm);Object.defineProperty(Um,"isAxiosError",{value:!0});L.from=(e,t,n,r,i,l)=>{const o=Object.create(Um);return S.toFlatObject(e,o,function(a){return a!==Error.prototype},s=>s!=="isAxiosError"),L.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,l&&Object.assign(o,l),o};const eg=null;function Ks(e){return S.isPlainObject(e)||S.isArray(e)}function $m(e){return S.endsWith(e,"[]")?e.slice(0,-2):e}function Mc(e,t,n){return e?e.concat(t).map(function(i,l){return i=$m(i),!n&&l?"["+i+"]":i}).join(n?".":""):t}function tg(e){return S.isArray(e)&&!e.some(Ks)}const ng=S.toFlatObject(S,{},null,function(t){return/^is[A-Z]/.test(t)});function to(e,t,n){if(!S.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=S.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,N){return!S.isUndefined(N[g])});const r=n.metaTokens,i=n.visitor||d,l=n.dots,o=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&S.isSpecCompliantForm(t);if(!S.isFunction(i))throw new TypeError("visitor must be a function");function c(y){if(y===null)return"";if(S.isDate(y))return y.toISOString();if(!a&&S.isBlob(y))throw new L("Blob is not supported. Use a Buffer instead.");return S.isArrayBuffer(y)||S.isTypedArray(y)?a&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function d(y,g,N){let p=y;if(y&&!N&&typeof y=="object"){if(S.endsWith(g,"{}"))g=r?g:g.slice(0,-2),y=JSON.stringify(y);else if(S.isArray(y)&&tg(y)||(S.isFileList(y)||S.endsWith(g,"[]"))&&(p=S.toArray(y)))return g=$m(g),p.forEach(function(h,w){!(S.isUndefined(h)||h===null)&&t.append(o===!0?Mc([g],w,l):o===null?g:g+"[]",c(h))}),!1}return Ks(y)?!0:(t.append(Mc(N,g,l),c(y)),!1)}const f=[],v=Object.assign(ng,{defaultVisitor:d,convertValue:c,isVisitable:Ks});function x(y,g){if(!S.isUndefined(y)){if(f.indexOf(y)!==-1)throw Error("Circular reference detected in "+g.join("."));f.push(y),S.forEach(y,function(p,m){(!(S.isUndefined(p)||p===null)&&i.call(t,p,S.isString(m)?m.trim():m,g,v))===!0&&x(p,g?g.concat(m):[m])}),f.pop()}}if(!S.isObject(e))throw new TypeError("data must be an object");return x(e),t}function Fc(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function iu(e,t){this._pairs=[],e&&to(e,this,t)}const Wm=iu.prototype;Wm.append=function(t,n){this._pairs.push([t,n])};Wm.toString=function(t){const n=t?function(r){return t.call(this,r,Fc)}:Fc;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function rg(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Hm(e,t,n){if(!t)return e;const r=n&&n.encode||rg,i=n&&n.serialize;let l;if(i?l=i(t,n):l=S.isURLSearchParams(t)?t.toString():new iu(t,n).toString(r),l){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class Ac{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){S.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Vm={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ig=typeof URLSearchParams<"u"?URLSearchParams:iu,lg=typeof FormData<"u"?FormData:null,og=typeof Blob<"u"?Blob:null,sg={isBrowser:!0,classes:{URLSearchParams:ig,FormData:lg,Blob:og},protocols:["http","https","file","blob","url","data"]},lu=typeof window<"u"&&typeof document<"u",qs=typeof navigator=="object"&&navigator||void 0,ag=lu&&(!qs||["ReactNative","NativeScript","NS"].indexOf(qs.product)<0),ug=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",cg=lu&&window.location.href||"http://localhost",dg=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:lu,hasStandardBrowserEnv:ag,hasStandardBrowserWebWorkerEnv:ug,navigator:qs,origin:cg},Symbol.toStringTag,{value:"Module"})),ke={...dg,...sg};function fg(e,t){return to(e,new ke.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,l){return ke.isNode&&S.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function mg(e){return S.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function pg(e){const t={},n=Object.keys(e);let r;const i=n.length;let l;for(r=0;r=n.length;return o=!o&&S.isArray(i)?i.length:o,a?(S.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!s):((!i[o]||!S.isObject(i[o]))&&(i[o]=[]),t(n,r,i[o],l)&&S.isArray(i[o])&&(i[o]=pg(i[o])),!s)}if(S.isFormData(e)&&S.isFunction(e.entries)){const n={};return S.forEachEntry(e,(r,i)=>{t(mg(r),i,n,0)}),n}return null}function hg(e,t,n){if(S.isString(e))try{return(t||JSON.parse)(e),S.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const ui={transitional:Vm,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,l=S.isObject(t);if(l&&S.isHTMLForm(t)&&(t=new FormData(t)),S.isFormData(t))return i?JSON.stringify(Qm(t)):t;if(S.isArrayBuffer(t)||S.isBuffer(t)||S.isStream(t)||S.isFile(t)||S.isBlob(t)||S.isReadableStream(t))return t;if(S.isArrayBufferView(t))return t.buffer;if(S.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(l){if(r.indexOf("application/x-www-form-urlencoded")>-1)return fg(t,this.formSerializer).toString();if((s=S.isFileList(t))||r.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return to(s?{"files[]":t}:t,a&&new a,this.formSerializer)}}return l||i?(n.setContentType("application/json",!1),hg(t)):t}],transformResponse:[function(t){const n=this.transitional||ui.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(S.isResponse(t)||S.isReadableStream(t))return t;if(t&&S.isString(t)&&(r&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(o)throw s.name==="SyntaxError"?L.from(s,L.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ke.classes.FormData,Blob:ke.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};S.forEach(["delete","get","head","post","put","patch"],e=>{ui.headers[e]={}});const vg=S.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),yg=e=>{const t={};let n,r,i;return e&&e.split(` +`).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||t[n]&&vg[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Dc=Symbol("internals");function hr(e){return e&&String(e).trim().toLowerCase()}function Ki(e){return e===!1||e==null?e:S.isArray(e)?e.map(Ki):String(e)}function gg(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 xg=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function $o(e,t,n,r,i){if(S.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!S.isString(t)){if(S.isString(r))return t.indexOf(r)!==-1;if(S.isRegExp(r))return r.test(t)}}function wg(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Ng(e,t){const n=S.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,l,o){return this[r].call(this,t,i,l,o)},configurable:!0})})}class _e{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function l(s,a,c){const d=hr(a);if(!d)throw new Error("header name must be a non-empty string");const f=S.findKey(i,d);(!f||i[f]===void 0||c===!0||c===void 0&&i[f]!==!1)&&(i[f||a]=Ki(s))}const o=(s,a)=>S.forEach(s,(c,d)=>l(c,d,a));if(S.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(S.isString(t)&&(t=t.trim())&&!xg(t))o(yg(t),n);else if(S.isHeaders(t))for(const[s,a]of t.entries())l(a,s,r);else t!=null&&l(n,t,r);return this}get(t,n){if(t=hr(t),t){const r=S.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return gg(i);if(S.isFunction(n))return n.call(this,i,r);if(S.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=hr(t),t){const r=S.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||$o(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function l(o){if(o=hr(o),o){const s=S.findKey(r,o);s&&(!n||$o(r,r[s],s,n))&&(delete r[s],i=!0)}}return S.isArray(t)?t.forEach(l):l(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const l=n[r];(!t||$o(this,this[l],l,t,!0))&&(delete this[l],i=!0)}return i}normalize(t){const n=this,r={};return S.forEach(this,(i,l)=>{const o=S.findKey(r,l);if(o){n[o]=Ki(i),delete n[l];return}const s=t?wg(l):String(l).trim();s!==l&&delete n[l],n[s]=Ki(i),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return S.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&S.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[Dc]=this[Dc]={accessors:{}}).accessors,i=this.prototype;function l(o){const s=hr(o);r[s]||(Ng(i,o),r[s]=!0)}return S.isArray(t)?t.forEach(l):l(t),this}}_e.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);S.reduceDescriptors(_e.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});S.freezeMethods(_e);function Wo(e,t){const n=this||ui,r=t||n,i=_e.from(r.headers);let l=r.data;return S.forEach(e,function(s){l=s.call(n,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function Km(e){return!!(e&&e.__CANCEL__)}function tr(e,t,n){L.call(this,e??"canceled",L.ERR_CANCELED,t,n),this.name="CanceledError"}S.inherits(tr,L,{__CANCEL__:!0});function qm(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 Sg(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Eg(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,l=0,o;return t=t!==void 0?t:1e3,function(a){const c=Date.now(),d=r[l];o||(o=c),n[i]=a,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-o{n=d,i=null,l&&(clearTimeout(l),l=null),e.apply(null,c)};return[(...c)=>{const d=Date.now(),f=d-n;f>=r?o(c,d):(i=c,l||(l=setTimeout(()=>{l=null,o(i)},r-f)))},()=>i&&o(i)]}const _l=(e,t,n=3)=>{let r=0;const i=Eg(50,250);return kg(l=>{const o=l.loaded,s=l.lengthComputable?l.total:void 0,a=o-r,c=i(a),d=o<=s;r=o;const f={loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:c||void 0,estimated:c&&s&&d?(s-o)/c:void 0,event:l,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(f)},n)},Ic=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},bc=e=>(...t)=>S.asap(()=>e(...t)),_g=ke.hasStandardBrowserEnv?function(){const t=ke.navigator&&/(msie|trident)/i.test(ke.navigator.userAgent),n=document.createElement("a");let r;function i(l){let o=l;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{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(o){const s=S.isString(o)?i(o):o;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}(),jg=ke.hasStandardBrowserEnv?{write(e,t,n,r,i,l){const o=[e+"="+encodeURIComponent(t)];S.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),S.isString(r)&&o.push("path="+r),S.isString(i)&&o.push("domain="+i),l===!0&&o.push("secure"),document.cookie=o.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 Cg(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Og(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Jm(e,t){return e&&!Cg(t)?Og(e,t):t}const Uc=e=>e instanceof _e?{...e}:e;function pn(e,t){t=t||{};const n={};function r(c,d,f){return S.isPlainObject(c)&&S.isPlainObject(d)?S.merge.call({caseless:f},c,d):S.isPlainObject(d)?S.merge({},d):S.isArray(d)?d.slice():d}function i(c,d,f){if(S.isUndefined(d)){if(!S.isUndefined(c))return r(void 0,c,f)}else return r(c,d,f)}function l(c,d){if(!S.isUndefined(d))return r(void 0,d)}function o(c,d){if(S.isUndefined(d)){if(!S.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function s(c,d,f){if(f in t)return r(c,d);if(f in e)return r(void 0,c)}const a={url:l,method:l,data:l,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(c,d)=>i(Uc(c),Uc(d),!0)};return S.forEach(Object.keys(Object.assign({},e,t)),function(d){const f=a[d]||i,v=f(e[d],t[d],d);S.isUndefined(v)&&f!==s||(n[d]=v)}),n}const Xm=e=>{const t=pn({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:o,auth:s}=t;t.headers=o=_e.from(o),t.url=Hm(Jm(t.baseURL,t.url),e.params,e.paramsSerializer),s&&o.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let a;if(S.isFormData(n)){if(ke.hasStandardBrowserEnv||ke.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((a=o.getContentType())!==!1){const[c,...d]=a?a.split(";").map(f=>f.trim()).filter(Boolean):[];o.setContentType([c||"multipart/form-data",...d].join("; "))}}if(ke.hasStandardBrowserEnv&&(r&&S.isFunction(r)&&(r=r(t)),r||r!==!1&&_g(t.url))){const c=i&&l&&jg.read(l);c&&o.set(i,c)}return t},Pg=typeof XMLHttpRequest<"u",Rg=Pg&&function(e){return new Promise(function(n,r){const i=Xm(e);let l=i.data;const o=_e.from(i.headers).normalize();let{responseType:s,onUploadProgress:a,onDownloadProgress:c}=i,d,f,v,x,y;function g(){x&&x(),y&&y(),i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let N=new XMLHttpRequest;N.open(i.method.toUpperCase(),i.url,!0),N.timeout=i.timeout;function p(){if(!N)return;const h=_e.from("getAllResponseHeaders"in N&&N.getAllResponseHeaders()),k={data:!s||s==="text"||s==="json"?N.responseText:N.response,status:N.status,statusText:N.statusText,headers:h,config:e,request:N};qm(function(P){n(P),g()},function(P){r(P),g()},k),N=null}"onloadend"in N?N.onloadend=p:N.onreadystatechange=function(){!N||N.readyState!==4||N.status===0&&!(N.responseURL&&N.responseURL.indexOf("file:")===0)||setTimeout(p)},N.onabort=function(){N&&(r(new L("Request aborted",L.ECONNABORTED,e,N)),N=null)},N.onerror=function(){r(new L("Network Error",L.ERR_NETWORK,e,N)),N=null},N.ontimeout=function(){let w=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const k=i.transitional||Vm;i.timeoutErrorMessage&&(w=i.timeoutErrorMessage),r(new L(w,k.clarifyTimeoutError?L.ETIMEDOUT:L.ECONNABORTED,e,N)),N=null},l===void 0&&o.setContentType(null),"setRequestHeader"in N&&S.forEach(o.toJSON(),function(w,k){N.setRequestHeader(k,w)}),S.isUndefined(i.withCredentials)||(N.withCredentials=!!i.withCredentials),s&&s!=="json"&&(N.responseType=i.responseType),c&&([v,y]=_l(c,!0),N.addEventListener("progress",v)),a&&N.upload&&([f,x]=_l(a),N.upload.addEventListener("progress",f),N.upload.addEventListener("loadend",x)),(i.cancelToken||i.signal)&&(d=h=>{N&&(r(!h||h.type?new tr(null,e,N):h),N.abort(),N=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const m=Sg(i.url);if(m&&ke.protocols.indexOf(m)===-1){r(new L("Unsupported protocol "+m+":",L.ERR_BAD_REQUEST,e));return}N.send(l||null)})},Tg=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const l=function(c){if(!i){i=!0,s();const d=c instanceof Error?c:this.reason;r.abort(d instanceof L?d:new tr(d instanceof Error?d.message:d))}};let o=t&&setTimeout(()=>{o=null,l(new L(`timeout ${t} of ms exceeded`,L.ETIMEDOUT))},t);const s=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(l):c.removeEventListener("abort",l)}),e=null)};e.forEach(c=>c.addEventListener("abort",l));const{signal:a}=r;return a.unsubscribe=()=>S.asap(s),a}},Lg=function*(e,t){let n=e.byteLength;if(!t||n{const i=zg(e,t);let l=0,o,s=a=>{o||(o=!0,r&&r(a))};return new ReadableStream({async pull(a){try{const{done:c,value:d}=await i.next();if(c){s(),a.close();return}let f=d.byteLength;if(n){let v=l+=f;n(v)}a.enqueue(new Uint8Array(d))}catch(c){throw s(c),c}},cancel(a){return s(a),i.return()}},{highWaterMark:2})},no=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Gm=no&&typeof ReadableStream=="function",Fg=no&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Ym=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Ag=Gm&&Ym(()=>{let e=!1;const t=new Request(ke.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),$c=64*1024,Js=Gm&&Ym(()=>S.isReadableStream(new Response("").body)),jl={stream:Js&&(e=>e.body)};no&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!jl[t]&&(jl[t]=S.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new L(`Response type '${t}' is not supported`,L.ERR_NOT_SUPPORT,r)})})})(new Response);const Dg=async e=>{if(e==null)return 0;if(S.isBlob(e))return e.size;if(S.isSpecCompliantForm(e))return(await new Request(ke.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(S.isArrayBufferView(e)||S.isArrayBuffer(e))return e.byteLength;if(S.isURLSearchParams(e)&&(e=e+""),S.isString(e))return(await Fg(e)).byteLength},Ig=async(e,t)=>{const n=S.toFiniteNumber(e.getContentLength());return n??Dg(t)},bg=no&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:l,timeout:o,onDownloadProgress:s,onUploadProgress:a,responseType:c,headers:d,withCredentials:f="same-origin",fetchOptions:v}=Xm(e);c=c?(c+"").toLowerCase():"text";let x=Tg([i,l&&l.toAbortSignal()],o),y;const g=x&&x.unsubscribe&&(()=>{x.unsubscribe()});let N;try{if(a&&Ag&&n!=="get"&&n!=="head"&&(N=await Ig(d,r))!==0){let k=new Request(t,{method:"POST",body:r,duplex:"half"}),j;if(S.isFormData(r)&&(j=k.headers.get("content-type"))&&d.setContentType(j),k.body){const[P,C]=Ic(N,_l(bc(a)));r=Bc(k.body,$c,P,C)}}S.isString(f)||(f=f?"include":"omit");const p="credentials"in Request.prototype;y=new Request(t,{...v,signal:x,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:p?f:void 0});let m=await fetch(y);const h=Js&&(c==="stream"||c==="response");if(Js&&(s||h&&g)){const k={};["status","statusText","headers"].forEach(D=>{k[D]=m[D]});const j=S.toFiniteNumber(m.headers.get("content-length")),[P,C]=s&&Ic(j,_l(bc(s),!0))||[];m=new Response(Bc(m.body,$c,P,()=>{C&&C(),g&&g()}),k)}c=c||"text";let w=await jl[S.findKey(jl,c)||"text"](m,e);return!h&&g&&g(),await new Promise((k,j)=>{qm(k,j,{data:w,headers:_e.from(m.headers),status:m.status,statusText:m.statusText,config:e,request:y})})}catch(p){throw g&&g(),p&&p.name==="TypeError"&&/fetch/i.test(p.message)?Object.assign(new L("Network Error",L.ERR_NETWORK,e,y),{cause:p.cause||p}):L.from(p,p&&p.code,e,y)}}),Xs={http:eg,xhr:Rg,fetch:bg};S.forEach(Xs,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Wc=e=>`- ${e}`,Ug=e=>S.isFunction(e)||e===null||e===!1,Zm={getAdapter:e=>{e=S.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let l=0;l`adapter ${s} `+(a===!1?"is not supported by the environment":"is not available in the build"));let o=t?l.length>1?`since : +`+l.map(Wc).join(` +`):" "+Wc(l[0]):"as no adapter specified";throw new L("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:Xs};function Ho(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new tr(null,e)}function Hc(e){return Ho(e),e.headers=_e.from(e.headers),e.data=Wo.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Zm.getAdapter(e.adapter||ui.adapter)(e).then(function(r){return Ho(e),r.data=Wo.call(e,e.transformResponse,r),r.headers=_e.from(r.headers),r},function(r){return Km(r)||(Ho(e),r&&r.response&&(r.response.data=Wo.call(e,e.transformResponse,r.response),r.response.headers=_e.from(r.response.headers))),Promise.reject(r)})}const ep="1.7.7",ou={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ou[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Vc={};ou.transitional=function(t,n,r){function i(l,o){return"[Axios v"+ep+"] Transitional option '"+l+"'"+o+(r?". "+r:"")}return(l,o,s)=>{if(t===!1)throw new L(i(o," has been removed"+(n?" in "+n:"")),L.ERR_DEPRECATED);return n&&!Vc[o]&&(Vc[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(l,o,s):!0}};function Bg(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],o=t[l];if(o){const s=e[l],a=s===void 0||o(s,l,e);if(a!==!0)throw new L("option "+l+" must be "+a,L.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new L("Unknown option "+l,L.ERR_BAD_OPTION)}}const Gs={assertOptions:Bg,validators:ou},xt=Gs.validators;class on{constructor(t){this.defaults=t,this.interceptors={request:new Ac,response:new Ac}}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=pn(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:l}=n;r!==void 0&&Gs.assertOptions(r,{silentJSONParsing:xt.transitional(xt.boolean),forcedJSONParsing:xt.transitional(xt.boolean),clarifyTimeoutError:xt.transitional(xt.boolean)},!1),i!=null&&(S.isFunction(i)?n.paramsSerializer={serialize:i}:Gs.assertOptions(i,{encode:xt.function,serialize:xt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=l&&S.merge(l.common,l[n.method]);l&&S.forEach(["delete","get","head","post","put","patch","common"],y=>{delete l[y]}),n.headers=_e.concat(o,l);const s=[];let a=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(a=a&&g.synchronous,s.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let d,f=0,v;if(!a){const y=[Hc.bind(this),void 0];for(y.unshift.apply(y,s),y.push.apply(y,c),v=y.length,d=Promise.resolve(n);f{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 o=new Promise(s=>{r.subscribe(s),l=s}).then(i);return o.cancel=function(){r.unsubscribe(l)},o},t(function(l,o,s){r.reason||(r.reason=new tr(l,o,s),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 su(function(i){t=i}),cancel:t}}}function $g(e){return function(n){return e.apply(null,n)}}function Wg(e){return S.isObject(e)&&e.isAxiosError===!0}const Ys={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,NetworkAuthenticationRequired:511};Object.entries(Ys).forEach(([e,t])=>{Ys[t]=e});function tp(e){const t=new on(e),n=Lm(on.prototype.request,t);return S.extend(n,on.prototype,t,{allOwnKeys:!0}),S.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return tp(pn(e,i))},n}const Z=tp(ui);Z.Axios=on;Z.CanceledError=tr;Z.CancelToken=su;Z.isCancel=Km;Z.VERSION=ep;Z.toFormData=to;Z.AxiosError=L;Z.Cancel=Z.CanceledError;Z.all=function(t){return Promise.all(t)};Z.spread=$g;Z.isAxiosError=Wg;Z.mergeConfig=pn;Z.AxiosHeaders=_e;Z.formToJSON=e=>Qm(S.isHTMLForm(e)?new FormData(e):e);Z.getAdapter=Zm.getAdapter;Z.HttpStatusCode=Ys;Z.default=Z;const Hg="http://67.225.129.127:3002",au=Z.create({baseURL:Hg});au.interceptors.request.use(e=>(localStorage.getItem("profile")&&(e.headers.Authorization=`Bearer ${JSON.parse(localStorage.getItem("profile")).token}`),e));const Vg=e=>au.post("/users/signup",e),Qg=e=>au.post("/users/signin",e),qi=nu("auth/login",async({formValue:e,navigate:t,toast:n},{rejectWithValue:r})=>{try{const i=await Qg(e);return n.success("Login Successfully"),t("/dashboard"),i.data}catch(i){return r(i.response.data)}}),Ji=nu("auth/register",async({formValue:e,navigate:t,toast:n},{rejectWithValue:r})=>{try{const i=await Vg(e);return n.success("Register Successfully"),t("/"),i.data}catch(i){return r(i.response.data)}}),Vo=nu("auth/updateUser",async({id:e,data:t},{rejectWithValue:n})=>{try{return(await(void 0)(t,e)).data}catch(r){return n(r.response.data)}}),np=uy({name:"auth",initialState:{user:null,error:"",loading:!1},reducers:{setUser:(e,t)=>{e.user=t.payload},setLogout:e=>{localStorage.clear(),e.user=null},setUserDetails:(e,t)=>{e.user=t.payload}},extraReducers:e=>{e.addCase(qi.pending,t=>{t.loading=!0}).addCase(qi.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.user=n.payload}).addCase(qi.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message}).addCase(Ji.pending,t=>{t.loading=!0}).addCase(Ji.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.user=n.payload}).addCase(Ji.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message}).addCase(Vo.pending,t=>{t.loading=!0}).addCase(Vo.fulfilled,(t,n)=>{t.loading=!1,t.user=n.payload}).addCase(Vo.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message})}}),{setUser:Hx,setLogout:Kg,setUserDetails:Vx}=np.actions,qg=np.reducer,Jg=qv({reducer:{auth:qg}});/** + * @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 + */function Zr(){return Zr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function rp(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Gg(){return Math.random().toString(36).substr(2,8)}function Kc(e,t){return{usr:e.state,key:e.key,idx:t}}function Zs(e,t,n,r){return n===void 0&&(n=null),Zr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?nr(t):t,{state:n,key:t&&t.key||r||Gg()})}function Cl(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 nr(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 Yg(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:l=!1}=r,o=i.history,s=Pt.Pop,a=null,c=d();c==null&&(c=0,o.replaceState(Zr({},o.state,{idx:c}),""));function d(){return(o.state||{idx:null}).idx}function f(){s=Pt.Pop;let N=d(),p=N==null?null:N-c;c=N,a&&a({action:s,location:g.location,delta:p})}function v(N,p){s=Pt.Push;let m=Zs(g.location,N,p);c=d()+1;let h=Kc(m,c),w=g.createHref(m);try{o.pushState(h,"",w)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;i.location.assign(w)}l&&a&&a({action:s,location:g.location,delta:1})}function x(N,p){s=Pt.Replace;let m=Zs(g.location,N,p);c=d();let h=Kc(m,c),w=g.createHref(m);o.replaceState(h,"",w),l&&a&&a({action:s,location:g.location,delta:0})}function y(N){let p=i.location.origin!=="null"?i.location.origin:i.location.href,m=typeof N=="string"?N:Cl(N);return m=m.replace(/ $/,"%20"),J(p,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,p)}let g={get action(){return s},get location(){return e(i,o)},listen(N){if(a)throw new Error("A history only accepts one active listener");return i.addEventListener(Qc,f),a=N,()=>{i.removeEventListener(Qc,f),a=null}},createHref(N){return t(i,N)},createURL:y,encodeLocation(N){let p=y(N);return{pathname:p.pathname,search:p.search,hash:p.hash}},push:v,replace:x,go(N){return o.go(N)}};return g}var qc;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(qc||(qc={}));function Zg(e,t,n){return n===void 0&&(n="/"),e1(e,t,n,!1)}function e1(e,t,n,r){let i=typeof t=="string"?nr(t):t,l=Xn(i.pathname||"/",n);if(l==null)return null;let o=ip(e);t1(o);let s=null;for(let a=0;s==null&&a{let a={relativePath:s===void 0?l.path||"":s,caseSensitive:l.caseSensitive===!0,childrenIndex:o,route:l};a.relativePath.startsWith("/")&&(J(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 c=It([r,a.relativePath]),d=n.concat(a);l.children&&l.children.length>0&&(J(l.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),ip(l.children,t,d,c)),!(l.path==null&&!l.index)&&t.push({path:c,score:a1(c,l.index),routesMeta:d})};return e.forEach((l,o)=>{var s;if(l.path===""||!((s=l.path)!=null&&s.includes("?")))i(l,o);else for(let a of lp(l.path))i(l,o,a)}),t}function lp(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),l=n.replace(/\?$/,"");if(r.length===0)return i?[l,""]:[l];let o=lp(r.join("/")),s=[];return s.push(...o.map(a=>a===""?l:[l,a].join("/"))),i&&s.push(...o),s.map(a=>e.startsWith("/")&&a===""?"/":a)}function t1(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:u1(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const n1=/^:[\w-]+$/,r1=3,i1=2,l1=1,o1=10,s1=-2,Jc=e=>e==="*";function a1(e,t){let n=e.split("/"),r=n.length;return n.some(Jc)&&(r+=s1),t&&(r+=i1),n.filter(i=>!Jc(i)).reduce((i,l)=>i+(n1.test(l)?r1:l===""?l1:o1),r)}function u1(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function c1(e,t,n){let{routesMeta:r}=e,i={},l="/",o=[];for(let s=0;s{let{paramName:v,isOptional:x}=d;if(v==="*"){let g=s[f]||"";o=l.slice(0,l.length-g.length).replace(/(.)\/+$/,"$1")}const y=s[f];return x&&!y?c[v]=void 0:c[v]=(y||"").replace(/%2F/g,"/"),c},{}),pathname:l,pathnameBase:o,pattern:e}}function d1(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),rp(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,a)=>(r.push({paramName:s,isOptional:a!=null}),a?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function f1(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return rp(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Xn(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function m1(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?nr(e):e;return{pathname:n?n.startsWith("/")?n:p1(n,t):t,search:y1(r),hash:g1(i)}}function p1(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Qo(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function h1(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function op(e,t){let n=h1(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function sp(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=nr(e):(i=Zr({},e),J(!i.pathname||!i.pathname.includes("?"),Qo("?","pathname","search",i)),J(!i.pathname||!i.pathname.includes("#"),Qo("#","pathname","hash",i)),J(!i.search||!i.search.includes("#"),Qo("#","search","hash",i)));let l=e===""||i.pathname==="",o=l?"/":i.pathname,s;if(o==null)s=n;else{let f=t.length-1;if(!r&&o.startsWith("..")){let v=o.split("/");for(;v[0]==="..";)v.shift(),f-=1;i.pathname=v.join("/")}s=f>=0?t[f]:"/"}let a=m1(i,s),c=o&&o!=="/"&&o.endsWith("/"),d=(l||o===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(c||d)&&(a.pathname+="/"),a}const It=e=>e.join("/").replace(/\/\/+/g,"/"),v1=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),y1=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,g1=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function x1(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const ap=["post","put","patch","delete"];new Set(ap);const w1=["get",...ap];new Set(w1);/** + * 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 + */function ei(){return ei=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),O.useCallback(function(c,d){if(d===void 0&&(d={}),!s.current)return;if(typeof c=="number"){r.go(c);return}let f=sp(c,JSON.parse(o),l,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:It([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,o,l,e])}function lo(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=O.useContext(Vt),{matches:i}=O.useContext(yn),{pathname:l}=di(),o=JSON.stringify(op(i,r.v7_relativeSplatPath));return O.useMemo(()=>sp(e,JSON.parse(o),l,n==="path"),[e,o,l,n])}function E1(e,t){return k1(e,t)}function k1(e,t,n,r){ci()||J(!1);let{navigator:i}=O.useContext(Vt),{matches:l}=O.useContext(yn),o=l[l.length-1],s=o?o.params:{};o&&o.pathname;let a=o?o.pathnameBase:"/";o&&o.route;let c=di(),d;if(t){var f;let N=typeof t=="string"?nr(t):t;a==="/"||(f=N.pathname)!=null&&f.startsWith(a)||J(!1),d=N}else d=c;let v=d.pathname||"/",x=v;if(a!=="/"){let N=a.replace(/^\//,"").split("/");x="/"+v.replace(/^\//,"").split("/").slice(N.length).join("/")}let y=Zg(e,{pathname:x}),g=P1(y&&y.map(N=>Object.assign({},N,{params:Object.assign({},s,N.params),pathname:It([a,i.encodeLocation?i.encodeLocation(N.pathname).pathname:N.pathname]),pathnameBase:N.pathnameBase==="/"?a:It([a,i.encodeLocation?i.encodeLocation(N.pathnameBase).pathname:N.pathnameBase])})),l,n,r);return t&&g?O.createElement(io.Provider,{value:{location:ei({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Pt.Pop}},g):g}function _1(){let e=z1(),t=x1(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 j1=O.createElement(_1,null);class C1 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(yn.Provider,{value:this.props.routeContext},O.createElement(cp.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function O1(e){let{routeContext:t,match:n,children:r}=e,i=O.useContext(ro);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),O.createElement(yn.Provider,{value:t},r)}function P1(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var l;if(!n)return null;if(n.errors)e=n.matches;else if((l=r)!=null&&l.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,s=(i=n)==null?void 0:i.errors;if(s!=null){let d=o.findIndex(f=>f.route.id&&(s==null?void 0:s[f.route.id])!==void 0);d>=0||J(!1),o=o.slice(0,Math.min(o.length,d+1))}let a=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?o=o.slice(0,c+1):o=[o[0]];break}}}return o.reduceRight((d,f,v)=>{let x,y=!1,g=null,N=null;n&&(x=s&&f.route.id?s[f.route.id]:void 0,g=f.route.errorElement||j1,a&&(c<0&&v===0?(y=!0,N=null):c===v&&(y=!0,N=f.route.hydrateFallbackElement||null)));let p=t.concat(o.slice(0,v+1)),m=()=>{let h;return x?h=g:y?h=N:f.route.Component?h=O.createElement(f.route.Component,null):f.route.element?h=f.route.element:h=d,O.createElement(O1,{match:f,routeContext:{outlet:d,matches:p,isDataRoute:n!=null},children:h})};return n&&(f.route.ErrorBoundary||f.route.errorElement||v===0)?O.createElement(C1,{location:n.location,revalidation:n.revalidation,component:g,error:x,children:m(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):m()},null)}var fp=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(fp||{}),Pl=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Pl||{});function R1(e){let t=O.useContext(ro);return t||J(!1),t}function T1(e){let t=O.useContext(up);return t||J(!1),t}function L1(e){let t=O.useContext(yn);return t||J(!1),t}function mp(e){let t=L1(),n=t.matches[t.matches.length-1];return n.route.id||J(!1),n.route.id}function z1(){var e;let t=O.useContext(cp),n=T1(Pl.UseRouteError),r=mp(Pl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function M1(){let{router:e}=R1(fp.UseNavigateStable),t=mp(Pl.UseNavigateStable),n=O.useRef(!1);return dp(()=>{n.current=!0}),O.useCallback(function(i,l){l===void 0&&(l={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,ei({fromRouteId:t},l)))},[e,t])}function Gt(e){J(!1)}function F1(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Pt.Pop,navigator:l,static:o=!1,future:s}=e;ci()&&J(!1);let a=t.replace(/^\/*/,"/"),c=O.useMemo(()=>({basename:a,navigator:l,static:o,future:ei({v7_relativeSplatPath:!1},s)}),[a,s,l,o]);typeof r=="string"&&(r=nr(r));let{pathname:d="/",search:f="",hash:v="",state:x=null,key:y="default"}=r,g=O.useMemo(()=>{let N=Xn(d,a);return N==null?null:{location:{pathname:N,search:f,hash:v,state:x,key:y},navigationType:i}},[a,d,f,v,x,y,i]);return g==null?null:O.createElement(Vt.Provider,{value:c},O.createElement(io.Provider,{children:n,value:g}))}function A1(e){let{children:t,location:n}=e;return E1(ea(t),n)}new Promise(()=>{});function ea(e,t){t===void 0&&(t=[]);let n=[];return O.Children.forEach(e,(r,i)=>{if(!O.isValidElement(r))return;let l=[...t,i];if(r.type===O.Fragment){n.push.apply(n,ea(r.props.children,l));return}r.type!==Gt&&J(!1),!r.props.index||!r.props.children||J(!1);let o={id:r.props.id||l.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=ea(r.props.children,l)),n.push(o)}),n}/** + * 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 + */function Rl(){return Rl=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function D1(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function I1(e,t){return e.button===0&&(!t||t==="_self")&&!D1(e)}const b1=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],U1=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],B1="6";try{window.__reactRouterVersion=B1}catch{}const $1=O.createContext({isTransitioning:!1}),W1="startTransition",Xc=Ko[W1];function H1(e){let{basename:t,children:n,future:r,window:i}=e,l=O.useRef();l.current==null&&(l.current=Xg({window:i,v5Compat:!0}));let o=l.current,[s,a]=O.useState({action:o.action,location:o.location}),{v7_startTransition:c}=r||{},d=O.useCallback(f=>{c&&Xc?Xc(()=>a(f)):a(f)},[a,c]);return O.useLayoutEffect(()=>o.listen(d),[o,d]),O.createElement(F1,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:o,future:r})}const V1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Q1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,K1=O.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:l,replace:o,state:s,target:a,to:c,preventScrollReset:d,unstable_viewTransition:f}=t,v=pp(t,b1),{basename:x}=O.useContext(Vt),y,g=!1;if(typeof c=="string"&&Q1.test(c)&&(y=c,V1))try{let h=new URL(window.location.href),w=c.startsWith("//")?new URL(h.protocol+c):new URL(c),k=Xn(w.pathname,x);w.origin===h.origin&&k!=null?c=k+w.search+w.hash:g=!0}catch{}let N=N1(c,{relative:i}),p=J1(c,{replace:o,state:s,target:a,preventScrollReset:d,relative:i,unstable_viewTransition:f});function m(h){r&&r(h),h.defaultPrevented||p(h)}return O.createElement("a",Rl({},v,{href:y||N,onClick:g||l?r:m,ref:n,target:a}))}),lt=O.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:l="",end:o=!1,style:s,to:a,unstable_viewTransition:c,children:d}=t,f=pp(t,U1),v=lo(a,{relative:f.relative}),x=di(),y=O.useContext(up),{navigator:g,basename:N}=O.useContext(Vt),p=y!=null&&X1(v)&&c===!0,m=g.encodeLocation?g.encodeLocation(v).pathname:v.pathname,h=x.pathname,w=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;i||(h=h.toLowerCase(),w=w?w.toLowerCase():null,m=m.toLowerCase()),w&&N&&(w=Xn(w,N)||w);const k=m!=="/"&&m.endsWith("/")?m.length-1:m.length;let j=h===m||!o&&h.startsWith(m)&&h.charAt(k)==="/",P=w!=null&&(w===m||!o&&w.startsWith(m)&&w.charAt(m.length)==="/"),C={isActive:j,isPending:P,isTransitioning:p},D=j?r:void 0,z;typeof l=="function"?z=l(C):z=[l,j?"active":null,P?"pending":null,p?"transitioning":null].filter(Boolean).join(" ");let me=typeof s=="function"?s(C):s;return O.createElement(K1,Rl({},f,{"aria-current":D,className:z,ref:n,style:me,to:a,unstable_viewTransition:c}),typeof d=="function"?d(C):d)});var ta;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ta||(ta={}));var Gc;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Gc||(Gc={}));function q1(e){let t=O.useContext(ro);return t||J(!1),t}function J1(e,t){let{target:n,replace:r,state:i,preventScrollReset:l,relative:o,unstable_viewTransition:s}=t===void 0?{}:t,a=fi(),c=di(),d=lo(e,{relative:o});return O.useCallback(f=>{if(I1(f,n)){f.preventDefault();let v=r!==void 0?r:Cl(c)===Cl(d);a(e,{replace:v,state:i,preventScrollReset:l,relative:o,unstable_viewTransition:s})}},[c,a,d,r,i,n,e,l,o,s])}function X1(e,t){t===void 0&&(t={});let n=O.useContext($1);n==null&&J(!1);let{basename:r}=q1(ta.useViewTransitionState),i=lo(e,{relative:t.relative});if(!n.isTransitioning)return!1;let l=Xn(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=Xn(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Ol(i.pathname,o)!=null||Ol(i.pathname,l)!=null}const rr=()=>{const e=new Date().getFullYear();return u.jsxs(u.Fragment,{children:[u.jsx("div",{className:"header_top_section",children:u.jsx("div",{className:"container",children:u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-sm-12",children:u.jsxs("div",{className:"header_top_main",children:[u.jsx("div",{className:"call_text",children:u.jsxs("a",{href:"#",children:[u.jsx("i",{className:"fa fa-phone","aria-hidden":"true"})," ","+01-40-114-6855"]})}),u.jsx("div",{className:"call_text_2",children:u.jsxs("a",{href:"#",children:[u.jsx("i",{className:"fa fa-envelope","aria-hidden":"true"})," ","support@estatesfunding.com"]})}),u.jsx("div",{className:"call_text_1",children:u.jsxs("a",{href:"#",children:[u.jsx("i",{className:"fa fa-map-marker","aria-hidden":"true"})," ","Mordern Tawon Mosco"]})})]})})})})}),u.jsx("div",{className:"copyright_section",children:u.jsx("div",{className:"container",children:u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-sm-12",children:u.jsxs("p",{className:"copyright_text",children:[e," All Rights Reserved."]})})})})})]})},G1="/assets/logo-Cb1x1exd.png",ir=()=>{var i,l;const{user:e}=si(o=>({...o.auth})),t=Ya(),n=fi(),r=()=>{t(Kg()),n("/")};return u.jsx(u.Fragment,{children:u.jsx("div",{className:"navbar navbar-expand-lg w-100",style:{backgroundColor:"#000000",position:"fixed",top:0,left:0,right:0,zIndex:1e3},children:u.jsxs("div",{className:"container-fluid d-flex align-items-center justify-content-between",children:[u.jsxs("div",{className:"d-flex align-items-center",children:[u.jsx("img",{src:G1,alt:"logo",width:"75",height:"75",className:"img-fluid"}),u.jsx("p",{style:{display:"inline-block",fontStyle:"italic",fontSize:"14px",color:"white",margin:"0 0 0 10px"}})]}),u.jsxs("div",{className:"collapse navbar-collapse",id:"navbarSupportedContent",children:[u.jsxs("ul",{className:"navbar-nav ml-auto",children:[u.jsx("li",{className:"nav-item active",children:u.jsx(lt,{to:"/",className:"nav-link",children:"Home"})}),u.jsx("li",{className:"nav-item",children:u.jsx(lt,{to:"/services",className:"nav-link",children:"Services"})}),u.jsx("li",{className:"nav-item",children:u.jsx(lt,{to:"/about",className:"nav-link",children:"About"})}),u.jsx("li",{className:"nav-item",children:u.jsx(lt,{to:"/projects",className:"nav-link",children:"Project"})}),u.jsx("li",{className:"nav-item",children:u.jsx(lt,{to:"/contact",className:"nav-link",children:"Contact Us"})})]}),(i=e==null?void 0:e.result)!=null&&i._id?u.jsx(lt,{to:"/dashboard",children:"Dashboard"}):u.jsx(lt,{to:"/register",className:"nav-link",children:"Register"}),(l=e==null?void 0:e.result)!=null&&l._id?u.jsx(lt,{to:"/login",children:u.jsx("p",{className:"header-text",onClick:r,children:"Logout"})}):u.jsx(lt,{to:"/login",className:"nav-link",children:"Login"})]})]})})})},Y1=()=>u.jsxs(u.Fragment,{children:[u.jsx(ir,{}),u.jsx("br",{})," ",u.jsx("br",{})," ",u.jsx("br",{})," ",u.jsx("br",{})," ",u.jsx("br",{}),u.jsxs("div",{children:[u.jsx("div",{className:"header_section",children:u.jsx("div",{className:"banner_section layout_padding",children:u.jsxs("div",{id:"my_slider",className:"carousel slide","data-ride":"carousel",children:[u.jsxs("div",{className:"carousel-inner",children:[u.jsx("div",{className:"carousel-item active",children:u.jsx("div",{className:"container",children:u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-sm-12",children:u.jsxs("div",{className:"banner_taital_main",children:[u.jsx("h1",{className:"banner_taital",children:"Reinventing real estate investment"}),u.jsxs("p",{className:"banner_text",children:["Owners/operators, and real estate investment firms to excel in what they do best: finding new opportunities"," "]}),u.jsxs("div",{className:"btn_main",children:[u.jsx("div",{className:"started_text active",children:u.jsx("a",{href:"#",children:"Contact US"})}),u.jsx("div",{className:"started_text",children:u.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),u.jsx("div",{className:"carousel-item",children:u.jsx("div",{className:"container",children:u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-sm-12",children:u.jsxs("div",{className:"banner_taital_main",children:[u.jsx("h1",{className:"banner_taital",children:"streamline investment management"}),u.jsxs("p",{className:"banner_text",children:["Best possible experience to our customers and their investors."," "]}),u.jsxs("div",{className:"btn_main",children:[u.jsx("div",{className:"started_text active",children:u.jsx("a",{href:"#",children:"Contact US"})}),u.jsx("div",{className:"started_text",children:u.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),u.jsx("div",{className:"carousel-item",children:u.jsx("div",{className:"container",children:u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-sm-12",children:u.jsxs("div",{className:"banner_taital_main",children:[u.jsx("h1",{className:"banner_taital",children:"Increase your efficiency and security"}),u.jsxs("p",{className:"banner_text",children:["All-in-one real estate investment management platform with 100% security tools"," "]}),u.jsxs("div",{className:"btn_main",children:[u.jsx("div",{className:"started_text active",children:u.jsx("a",{href:"#",children:"Contact US"})}),u.jsx("div",{className:"started_text",children:u.jsx("a",{href:"#",children:"About Us"})})]})]})})})})})]}),u.jsx("a",{className:"carousel-control-prev",href:"#my_slider",role:"button","data-slide":"prev",children:u.jsx("i",{className:"fa fa-angle-left"})}),u.jsx("a",{className:"carousel-control-next",href:"#my_slider",role:"button","data-slide":"next",children:u.jsx("i",{className:"fa fa-angle-right"})})]})})}),u.jsx("div",{className:"services_section layout_padding",children:u.jsxs("div",{className:"container-fluid",children:[u.jsx("div",{className:"row",children:u.jsxs("div",{className:"col-sm-12",children:[u.jsx("h1",{className:"services_taital",children:"Our Services"}),u.jsx("p",{className:"services_text_1",children:"your documents, always and immediately within reach"})]})}),u.jsx("div",{className:"services_section_2",children:u.jsxs("div",{className:"row",children:[u.jsx("div",{className:"col-lg-3 col-sm-6",children:u.jsxs("div",{className:"box_main active",children:[u.jsx("div",{className:"service_img",children:u.jsx("img",{src:"images/icon-1.png"})}),u.jsx("h4",{className:"development_text",children:"Dedication Services"}),u.jsx("p",{className:"services_text",children:"Real estate investing even on a very small scale remains a tried and true means of building and individual cash flow and wealth"}),u.jsx("div",{className:"readmore_bt",children:u.jsx("a",{href:"#",children:"Read More"})})]})}),u.jsx("div",{className:"col-lg-3 col-sm-6",children:u.jsxs("div",{className:"box_main",children:[u.jsx("div",{className:"service_img",children:u.jsx("img",{src:"images/icon-2.png"})}),u.jsx("h4",{className:"development_text",children:"Building work Reports"}),u.jsx("p",{className:"services_text",children:"Deliver all the reports your investors need. Eliminate manual work and human errors with automatic distribution and allocation"}),u.jsx("div",{className:"readmore_bt",children:u.jsx("a",{href:"#",children:"Read More"})})]})}),u.jsx("div",{className:"col-lg-3 col-sm-6",children:u.jsxs("div",{className:"box_main",children:[u.jsx("div",{className:"service_img",children:u.jsx("img",{src:"images/icon-3.png"})}),u.jsx("h4",{className:"development_text",children:"Reporting continuously"}),u.jsx("p",{className:"services_text",children:"Streamlining investor interactions, gaining complete visibility into your data, and using smart filters to create automatic workflows"}),u.jsx("div",{className:"readmore_bt",children:u.jsx("a",{href:"#",children:"Read More"})})]})}),u.jsx("div",{className:"col-lg-3 col-sm-6",children:u.jsxs("div",{className:"box_main",children:[u.jsx("div",{className:"service_img",children:u.jsx("img",{src:"images/icon-4.png"})}),u.jsx("h4",{className:"development_text",children:"Manage your investment "}),u.jsx("p",{className:"services_text",children:"We offer a comprehensive set of tools and services to fully facilitate all your real estate investment management needs"}),u.jsx("div",{className:"readmore_bt",children:u.jsx("a",{href:"#",children:"Read More"})})]})})]})})]})}),u.jsxs("div",{className:"projects_section layout_padding",children:[u.jsx("div",{className:"container",children:u.jsx("div",{className:"row",children:u.jsxs("div",{className:"col-md-12",children:[u.jsx("h1",{className:"projects_taital",children:"Projects"}),u.jsx("div",{className:"nav-tabs-navigation",children:u.jsx("div",{className:"nav-tabs-wrapper",children:u.jsxs("ul",{className:"nav ","data-tabs":"tabs",children:[u.jsx("li",{className:"nav-item",children:u.jsx("a",{className:"nav-link active",href:"#","data-toggle":"tab",children:"Category filter"})}),u.jsx("li",{className:"nav-item",children:u.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"All"})}),u.jsx("li",{className:"nav-item",children:u.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Paintingl"})}),u.jsx("li",{className:"nav-item",children:u.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Reconstructionl"})}),u.jsx("li",{className:"nav-item",children:u.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Repairsl"})}),u.jsx("li",{className:"nav-item",children:u.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Residentall"})})]})})})]})})}),u.jsx("div",{className:"projects_section_2 layout_padding",children:u.jsx("div",{className:"container",children:u.jsx("div",{className:"pets_section",children:u.jsx("div",{className:"pets_section_2",children:u.jsx("div",{id:"main_slider",className:"carousel slide","data-ride":"carousel",children:u.jsxs("div",{className:"carousel-inner",children:[u.jsx("div",{className:"carousel-item active",children:u.jsxs("div",{className:"row",children:[u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})}),u.jsx("div",{className:"carousel-item",children:u.jsxs("div",{className:"row",children:[u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})}),u.jsx("div",{className:"carousel-item",children:u.jsxs("div",{className:"row",children:[u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})})]})})})})})})]}),u.jsx(rr,{})]})]}),Z1=()=>u.jsxs(u.Fragment,{children:[u.jsx(ir,{}),u.jsxs("div",{className:"about_section layout_padding",children:[u.jsx("br",{})," ",u.jsx("br",{})," ",u.jsx("br",{}),u.jsx("div",{className:"container",children:u.jsxs("div",{className:"row",children:[u.jsxs("div",{className:"col-md-6",children:[u.jsx("h1",{className:"about_taital",children:"About Us"}),u.jsxs("p",{className:"about_text",children:["There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All"," "]}),u.jsx("div",{className:"read_bt_1",children:u.jsx("a",{href:"#",children:"Read More"})})]}),u.jsx("div",{className:"col-md-6",children:u.jsx("div",{className:"about_img",children:u.jsx("div",{className:"video_bt",children:u.jsx("div",{className:"play_icon",children:u.jsx("img",{src:"images/play-icon.png"})})})})})]})}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("br",{})]}),u.jsx(rr,{})]}),ex=()=>u.jsxs(u.Fragment,{children:[u.jsx(ir,{}),u.jsxs("div",{className:"contact_section layout_padding",children:[u.jsx("div",{className:"container",children:u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-md-12",children:u.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),u.jsx("div",{className:"container-fluid",children:u.jsx("div",{className:"contact_section_2",children:u.jsxs("div",{className:"row",children:[u.jsx("div",{className:"col-md-6",children:u.jsx("form",{action:!0,children:u.jsxs("div",{className:"mail_section_1",children:[u.jsx("input",{type:"text",className:"mail_text",placeholder:"Name",name:"Name"}),u.jsx("input",{type:"text",className:"mail_text",placeholder:"Phone Number",name:"Phone Number"}),u.jsx("input",{type:"text",className:"mail_text",placeholder:"Email",name:"Email"}),u.jsx("textarea",{className:"massage-bt",placeholder:"Massage",rows:5,id:"comment",name:"Massage",defaultValue:""}),u.jsx("div",{className:"send_bt",children:u.jsx("a",{href:"#",children:"SEND"})})]})})}),u.jsx("div",{className:"col-md-6 padding_left_15",children:u.jsx("div",{className:"contact_img",children:u.jsx("img",{src:"images/contact-img.png"})})})]})})})]}),u.jsx(rr,{})]}),uu=e=>typeof e=="number"&&!isNaN(e),Tr=e=>typeof e=="string",hp=e=>typeof e=="function",tx=e=>O.isValidElement(e)||Tr(e)||hp(e)||uu(e),nt=new Map;let na=[];const Yc=new Set,vp=()=>nt.size>0;function nx(e,t){var n;if(t)return!((n=nt.get(t))==null||!n.isToastActive(e));let r=!1;return nt.forEach(i=>{i.isToastActive(e)&&(r=!0)}),r}function rx(e,t){tx(e)&&(vp()||na.push({content:e,options:t}),nt.forEach(n=>{n.buildToast(e,t)}))}function Zc(e,t){nt.forEach(n=>{t!=null&&t!=null&&t.containerId?(t==null?void 0:t.containerId)===n.id&&n.toggle(e,t==null?void 0:t.id):n.toggle(e,t==null?void 0:t.id)})}let ix=1;const yp=()=>""+ix++;function lx(e){return e&&(Tr(e.toastId)||uu(e.toastId))?e.toastId:yp()}function Lr(e,t){return rx(e,t),t.toastId}function Tl(e,t){return{...t,type:t&&t.type||e,toastId:lx(t)}}function zi(e){return(t,n)=>Lr(t,Tl(e,n))}function b(e,t){return Lr(e,Tl("default",t))}b.loading=(e,t)=>Lr(e,Tl("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),b.promise=function(e,t,n){let r,{pending:i,error:l,success:o}=t;i&&(r=Tr(i)?b.loading(i,n):b.loading(i.render,{...n,...i}));const s={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},a=(d,f,v)=>{if(f==null)return void b.dismiss(r);const x={type:d,...s,...n,data:v},y=Tr(f)?{render:f}:f;return r?b.update(r,{...x,...y}):b(y.render,{...x,...y}),v},c=hp(e)?e():e;return c.then(d=>a("success",o,d)).catch(d=>a("error",l,d)),c},b.success=zi("success"),b.info=zi("info"),b.error=zi("error"),b.warning=zi("warning"),b.warn=b.warning,b.dark=(e,t)=>Lr(e,Tl("default",{theme:"dark",...t})),b.dismiss=function(e){(function(t){var n;if(vp()){if(t==null||Tr(n=t)||uu(n))nt.forEach(r=>{r.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const r=nt.get(t.containerId);r?r.removeToast(t.id):nt.forEach(i=>{i.removeToast(t.id)})}}else na=na.filter(r=>t!=null&&r.options.toastId!==t)})(e)},b.clearWaitingQueue=function(e){e===void 0&&(e={}),nt.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},b.isActive=nx,b.update=function(e,t){t===void 0&&(t={});const n=((r,i)=>{var l;let{containerId:o}=i;return(l=nt.get(o||1))==null?void 0:l.toasts.get(r)})(e,t);if(n){const{props:r,content:i}=n,l={delay:100,...r,...t,toastId:t.toastId||e,updateId:yp()};l.toastId!==e&&(l.staleId=e);const o=l.render||i;delete l.render,Lr(o,l)}},b.done=e=>{b.update(e,{progress:1})},b.onChange=function(e){return Yc.add(e),()=>{Yc.delete(e)}},b.play=e=>Zc(!0,e),b.pause=e=>Zc(!1,e);var st=function(){return st=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const[e,t]=O.useState(Rx),[n,r]=O.useState(!1),{loading:i,error:l}=si(g=>({...g.auth})),{email:o,password:s,firstName:a,lastName:c,confirmPassword:d}=e,f=Ya(),v=fi();O.useEffect(()=>{l&&b.error(l)},[l]),O.useEffect(()=>{r(o&&s&&a&&c&&d)},[o,s,a,c,d]);const x=g=>{if(g.preventDefault(),s!==d)return b.error("Password should match");n?f(Ji({formValue:e,navigate:v,toast:b})):b.error("Please fill in all fields and select all checkboxes")},y=g=>{let{name:N,value:p}=g.target;t({...e,[N]:p})};return u.jsxs(u.Fragment,{children:[u.jsx(ir,{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("section",{className:"card",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:u.jsx("div",{className:"container-fluid px-0",children:u.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[u.jsxs("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:[u.jsx("i",{className:"fa fa-dollar",style:{fontSize:"2.5rem",color:"#fda417"},"aria-hidden":"true"}),u.jsx("div",{className:"text-bg-primary",children:u.jsxs("div",{className:"px-4",children:[u.jsx("hr",{className:"border-primary-subtle mb-4"}),u.jsx("h2",{className:"h1 mb-4",children:"Empower your investors"}),u.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"}),u.jsx("div",{className:"text-endx",children:u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"currentColor",className:"bi bi-grip-horizontal",viewBox:"0 0 16 16",children:u.jsx("path",{d:"M2 8a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"})})})]})})]}),u.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:u.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:u.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"mb-4",children:[u.jsx("h2",{className:"h3",children:"Registration"}),u.jsx("h3",{className:"fs-6 fw-normal text-secondary m-0",children:"Enter your details to register"})]})})}),u.jsx("form",{onSubmit:x,children:u.jsxs("div",{className:"row gy-3 overflow-hidden",children:[u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-floating mb-3",children:[u.jsx("input",{type:"text",className:"form-control",value:a,name:"firstName",onChange:y,placeholder:"First Name",required:"required"}),u.jsx("label",{htmlFor:"firstName",className:"form-label",children:"First Name"})]})}),u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-floating mb-3",children:[u.jsx("input",{type:"text",className:"form-control",value:c,name:"lastName",onChange:y,placeholder:"Last Name",required:"required"}),u.jsx("label",{htmlFor:"lastName",className:"form-label",children:"Last Name"})]})}),u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-floating mb-3",children:[u.jsx("input",{type:"email",className:"form-control",value:o,name:"email",onChange:y,placeholder:"name@example.com",required:"required"}),u.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-floating mb-3",children:[u.jsx("input",{type:"password",className:"form-control",value:s,name:"password",onChange:y,placeholder:"Password",required:"required"}),u.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-floating mb-3",children:[u.jsx("input",{type:"password",className:"form-control",value:d,name:"confirmPassword",onChange:y,placeholder:"confirmPassword",required:"required"}),u.jsx("label",{htmlFor:"password",className:"form-label",children:"Retype Password"})]})}),u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-check",children:[u.jsx("input",{className:"form-check-input",type:"checkbox",name:"iAgree",id:"iAgree",required:!0}),u.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["I agree to the"," ",u.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"terms and conditions"})]})]})}),u.jsx("div",{className:"col-12",children:u.jsx("div",{className:"d-grid",children:u.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},children:[i&&u.jsx(gp.Bars,{}),"Sign up"]})})})]})}),u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-12",children:u.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:u.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",u.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"Sign in"})]})})})}),u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-12"})})]})})})]})})}),u.jsx(rr,{})]})},Lx={email:"",password:""},zx=()=>{const[e,t]=O.useState(Lx),{loading:n,error:r}=si(d=>({...d.auth})),{email:i,password:l}=e,o=Ya(),s=fi();O.useEffect(()=>{r&&b.error(r)},[r]);const a=d=>{d.preventDefault(),i&&l&&o(qi({formValue:e,navigate:s,toast:b}))},c=d=>{let{name:f,value:v}=d.target;t({...e,[f]:v})};return u.jsxs(u.Fragment,{children:[u.jsx(ir,{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("section",{className:"py-19 py-md-5 py-xl-8",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:u.jsx("div",{className:"container-fluid px-0",children:u.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[u.jsx("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:u.jsx("div",{className:"text-bg-primary",children:u.jsxs("div",{className:"px-4",children:[u.jsx("hr",{className:"border-primary-subtle mb-4"}),u.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"}),u.jsx("div",{className:"text-endx",children:u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"currentColor",className:"bi bi-grip-horizontal",viewBox:"0 0 16 16",children:u.jsx("path",{d:"M2 8a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"})})})]})})}),u.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:u.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:u.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-12",children:u.jsx("div",{className:"mb-4",children:u.jsx("h2",{className:"h3",children:"Please Login"})})})}),u.jsx("form",{method:"POST",children:u.jsxs("div",{className:"row gy-3 overflow-hidden",children:[u.jsx("div",{className:"col-12"}),u.jsx("div",{className:"col-12"}),u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-floating mb-3",children:[u.jsx("input",{type:"email",className:"form-control",id:"email",placeholder:"name@example.com",value:i,name:"email",onChange:c,required:!0}),u.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-floating mb-3",children:[u.jsx("input",{type:"password",className:"form-control",id:"password",placeholder:"Password",value:l,name:"password",onChange:c,required:!0}),u.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-check",children:[u.jsx("input",{className:"form-check-input",type:"checkbox",name:"iAgree",id:"iAgree",required:!0}),u.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["Remember me"," "]})]})}),u.jsx("div",{className:"col-12",children:u.jsx("div",{className:"d-grid",children:u.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",name:"signin",value:"Sign in",onClick:a,style:{backgroundColor:"#fda417",border:"#fda417"},children:[n&&u.jsx(gp.Bars,{}),"Sign In"]})})})]})}),u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-12",children:u.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:u.jsxs("p",{className:"m-0 text-secondary text-center",children:["Don't have an account?"," ",u.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"Register"})]})})})}),u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-12"})})]})})})]})})}),u.jsx(rr,{})]})},Mx=()=>{var t;const{user:e}=si(n=>({...n.auth}));return u.jsxs("div",{style:{display:"flex",flexDirection:"column",minHeight:"100vh"},children:[u.jsx(ir,{}),u.jsx("br",{})," ",u.jsx("br",{})," ",u.jsx("br",{})," ",u.jsx("br",{}),u.jsx("main",{style:{flex:1},children:u.jsx("section",{className:"py-19 py-md-5 py-xl-8",style:{backgroundColor:"#FFFFFF"},children:u.jsx("div",{className:"container-fluid px-0",children:u.jsxs("div",{className:"row gy-4 align-items-center justify-content-center ",children:[u.jsx("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:u.jsx("div",{className:"text-bg-primary",children:u.jsxs("div",{className:"px-4",children:[u.jsx("hr",{className:"border-primary-subtle mb-4"}),u.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"})]})})}),u.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:u.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:u.jsx("div",{className:"card-body p-3 p-md-4 p-xl-5",children:((t=e==null?void 0:e.result)==null?void 0:t._id)&&u.jsxs("div",{className:"form-group row",children:[u.jsxs("label",{htmlFor:"firstName",className:"col-sm-6 col-form-label",children:["First Name:"," ",u.jsx("span",{style:{color:"#067ADC"},children:e.result.firstName})]}),u.jsxs("label",{htmlFor:"lastName",className:"col-sm-6 col-form-label",children:["Last Name:"," ",u.jsx("span",{style:{color:"#067ADC"},children:e.result.lastName})]}),u.jsxs("label",{htmlFor:"email",className:"col-sm-6 col-form-label",children:["Email:"," ",u.jsx("span",{style:{color:"#067ADC"},children:e.result.email})]})]})})})})]})})})}),u.jsx(rr,{})]})};var xp={exports:{}},Fx="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Ax=Fx,Dx=Ax;function wp(){}function Np(){}Np.resetWarningCache=wp;var Ix=function(){function e(r,i,l,o,s,a){if(a!==Dx){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Np,resetWarningCache:wp};return n.PropTypes=n,n};xp.exports=Ix();var bx=xp.exports;const Ux=ed(bx),Bx=()=>{const[e,t]=O.useState(3),n=fi();return O.useEffect(()=>{const r=setInterval(()=>{t(i=>--i)},1e3);return e===0&&n("/login"),()=>clearInterval(r)},[e,n]),u.jsx("div",{style:{marginTop:"100px"},children:u.jsxs("h5",{children:["Redirecting you in ",e," seconds"]})})},Sp=({children:e})=>{const{user:t}=si(n=>({...n.auth}));return t?e:u.jsx(Bx,{})};Sp.propTypes={children:Ux.node.isRequired};const $x=()=>u.jsx(H1,{children:u.jsxs(A1,{children:[u.jsx(Gt,{path:"/",element:u.jsx(Y1,{})}),u.jsx(Gt,{path:"/about",element:u.jsx(Z1,{})}),u.jsx(Gt,{path:"/contact",element:u.jsx(ex,{})}),u.jsx(Gt,{path:"/register",element:u.jsx(Tx,{})}),u.jsx(Gt,{path:"/login",element:u.jsx(zx,{})}),u.jsx(Gt,{path:"/dashboard",element:u.jsx(Sp,{children:u.jsx(Mx,{})})})]})});pm(document.getElementById("root")).render(u.jsx(O.StrictMode,{children:u.jsx(xv,{store:Jg,children:u.jsx($x,{})})})); diff --git a/ef-ui/dist/assets/index-S1fS9cGv.js b/ef-ui/dist/assets/index-S1fS9cGv.js deleted file mode 100644 index 62426a0..0000000 --- a/ef-ui/dist/assets/index-S1fS9cGv.js +++ /dev/null @@ -1,80 +0,0 @@ -var jp=Object.defineProperty;var Cp=(e,t,n)=>t in e?jp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var fo=(e,t,n)=>Cp(e,typeof t!="symbol"?t+"":t,n);function Op(e,t){for(var n=0;nr[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 o of l.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).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 td(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var nd={exports:{}},Tl={},rd={exports:{}},A={};/** - * @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 ti=Symbol.for("react.element"),Pp=Symbol.for("react.portal"),Rp=Symbol.for("react.fragment"),Tp=Symbol.for("react.strict_mode"),Lp=Symbol.for("react.profiler"),zp=Symbol.for("react.provider"),Mp=Symbol.for("react.context"),Fp=Symbol.for("react.forward_ref"),Ap=Symbol.for("react.suspense"),Ip=Symbol.for("react.memo"),Dp=Symbol.for("react.lazy"),fu=Symbol.iterator;function bp(e){return e===null||typeof e!="object"?null:(e=fu&&e[fu]||e["@@iterator"],typeof e=="function"?e:null)}var id={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ld=Object.assign,od={};function Gn(e,t,n){this.props=e,this.context=t,this.refs=od,this.updater=n||id}Gn.prototype.isReactComponent={};Gn.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")};Gn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function sd(){}sd.prototype=Gn.prototype;function la(e,t,n){this.props=e,this.context=t,this.refs=od,this.updater=n||id}var oa=la.prototype=new sd;oa.constructor=la;ld(oa,Gn.prototype);oa.isPureReactComponent=!0;var mu=Array.isArray,ad=Object.prototype.hasOwnProperty,sa={current:null},ud={key:!0,ref:!0,__self:!0,__source:!0};function cd(e,t,n){var r,i={},l=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(l=""+t.key),t)ad.call(t,r)&&!ud.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1>>1,ne=T[X];if(0>>1;Xi(co,F))Qti(fi,co)?(T[X]=fi,T[Qt]=F,X=Qt):(T[X]=co,T[Vt]=F,X=Vt);else if(Qti(fi,F))T[X]=fi,T[Qt]=F,X=Qt;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 o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var a=[],c=[],d=1,f=null,v=3,x=!1,y=!1,g=!1,N=typeof setTimeout=="function"?setTimeout:null,p=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 h(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(a,M);else break;M=n(c)}}function w(T){if(g=!1,h(T),!y)if(n(a)!==null)y=!0,ao(k);else{var M=n(c);M!==null&&uo(w,M.startTime-T)}}function k(T,M){y=!1,g&&(g=!1,p(C),C=-1),x=!0;var F=v;try{for(h(M),f=n(a);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(a)&&r(a),h(M)}else r(a);f=n(a)}if(f!==null)var di=!0;else{var Vt=n(c);Vt!==null&&uo(w,Vt.startTime-M),di=!1}return di}finally{f=null,v=F,x=!1}}var j=!1,P=null,C=-1,I=5,z=-1;function me(){return!(e.unstable_now()-zT||125X?(T.sortIndex=F,t(c,T),n(a)===null&&T===n(c)&&(g?(p(C),C=-1):g=!0,uo(w,F-X))):(T.sortIndex=ne,t(a,T),y||x||(y=!0,ao(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}}}})(hd);pd.exports=hd;var Xp=pd.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 Gp=O,Te=Xp;function _(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Xo=Object.prototype.hasOwnProperty,Yp=/^[: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]*$/,hu={},vu={};function Zp(e){return Xo.call(vu,e)?!0:Xo.call(hu,e)?!1:Yp.test(e)?vu[e]=!0:(hu[e]=!0,!1)}function eh(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 th(e,t,n,r){if(t===null||typeof t>"u"||eh(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,o){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=o}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 ua=/[\-:]([a-z])/g;function ca(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-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ua,ca);ae[t]=new ye(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ua,ca);ae[t]=new ye(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ua,ca);ae[t]=new ye(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ae[e]=new ye(e,1,!1,e.toLowerCase(),null,!1,!1)});ae.xlinkHref=new ye("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ae[e]=new ye(e,1,!1,e.toLowerCase(),null,!0,!0)});function da(e,t,n,r){var i=ae.hasOwnProperty(t)?ae[t]:null;(i!==null?i.type!==0:r||!(2s||i[o]!==l[s]){var a=` -`+i[o].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=o&&0<=s);break}}}finally{ho=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?vr(e):""}function nh(e){switch(e.tag){case 5:return vr(e.type);case 16:return vr("Lazy");case 13:return vr("Suspense");case 19:return vr("SuspenseList");case 0:case 2:case 15:return e=vo(e.type,!1),e;case 11:return e=vo(e.type.render,!1),e;case 1:return e=vo(e.type,!0),e;default:return""}}function es(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 wn:return"Fragment";case xn:return"Portal";case Go:return"Profiler";case fa:return"StrictMode";case Yo:return"Suspense";case Zo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case gd:return(e.displayName||"Context")+".Consumer";case yd:return(e._context.displayName||"Context")+".Provider";case ma:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case pa:return t=e.displayName||null,t!==null?t:es(e.type)||"Memo";case xt:t=e._payload,e=e._init;try{return es(e(t))}catch{}}return null}function rh(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 es(t);case 8:return t===fa?"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 Dt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function wd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ih(e){var t=wd(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(o){r=""+o,l.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 hi(e){e._valueTracker||(e._valueTracker=ih(e))}function Nd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=wd(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ji(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 ts(e,t){var n=t.checked;return K({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function gu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Dt(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 Sd(e,t){t=t.checked,t!=null&&da(e,"checked",t,!1)}function ns(e,t){Sd(e,t);var n=Dt(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")?rs(e,t.type,n):t.hasOwnProperty("defaultValue")&&rs(e,t.type,Dt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function xu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function rs(e,t,n){(t!=="number"||Ji(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var yr=Array.isArray;function An(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=vi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Mr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Nr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},lh=["Webkit","ms","Moz","O"];Object.keys(Nr).forEach(function(e){lh.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Nr[t]=Nr[e]})});function jd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Nr.hasOwnProperty(e)&&Nr[e]?(""+t).trim():t+"px"}function Cd(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=jd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var oh=K({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function os(e,t){if(t){if(oh[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(_(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(_(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(_(61))}if(t.style!=null&&typeof t.style!="object")throw Error(_(62))}}function ss(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var as=null;function ha(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var us=null,In=null,Dn=null;function Su(e){if(e=ii(e)){if(typeof us!="function")throw Error(_(280));var t=e.stateNode;t&&(t=Al(t),us(e.stateNode,e.type,t))}}function Od(e){In?Dn?Dn.push(e):Dn=[e]:In=e}function Pd(){if(In){var e=In,t=Dn;if(Dn=In=null,Su(e),t)for(e=0;e>>=0,e===0?32:31-(yh(e)/gh|0)|0}var yi=64,gi=4194304;function gr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Zi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,l=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~i;s!==0?r=gr(s):(l&=o,l!==0&&(r=gr(l)))}else o=n&~i,o!==0?r=gr(o):l!==0&&(r=gr(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,l=t&-t,i>=l||i===16&&(l&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ni(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ke(t),e[t]=n}function Sh(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Er),Tu=" ",Lu=!1;function Jd(e,t){switch(e){case"keyup":return Xh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Xd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Nn=!1;function Yh(e,t){switch(e){case"compositionend":return Xd(t);case"keypress":return t.which!==32?null:(Lu=!0,Tu);case"textInput":return e=t.data,e===Tu&&Lu?null:e;default:return null}}function Zh(e,t){if(Nn)return e==="compositionend"||!Ea&&Jd(e,t)?(e=Kd(),Fi=wa=jt=null,Nn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Au(n)}}function ef(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ef(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function tf(){for(var e=window,t=Ji();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ji(e.document)}return t}function ka(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function a0(e){var t=tf(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ef(n.ownerDocument.documentElement,n)){if(r!==null&&ka(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,l=Math.min(r.start,i);r=r.end===void 0?l:Math.min(r.end,i),!e.extend&&l>r&&(i=r,r=l,l=i),i=Iu(n,l);var o=Iu(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Sn=null,hs=null,_r=null,vs=!1;function Du(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;vs||Sn==null||Sn!==Ji(r)||(r=Sn,"selectionStart"in r&&ka(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),_r&&Ur(_r,r)||(_r=r,r=nl(hs,"onSelect"),0_n||(e.current=Ss[_n],Ss[_n]=null,_n--)}function B(e,t){_n++,Ss[_n]=e.current,e.current=t}var bt={},fe=$t(bt),Ne=$t(!1),sn=bt;function Wn(e,t){var n=e.type.contextTypes;if(!n)return bt;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 Se(e){return e=e.childContextTypes,e!=null}function il(){W(Ne),W(fe)}function Vu(e,t,n){if(fe.current!==bt)throw Error(_(168));B(fe,t),B(Ne,n)}function df(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,rh(e)||"Unknown",i));return K({},n,r)}function ll(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||bt,sn=fe.current,B(fe,e),B(Ne,Ne.current),!0}function Qu(e,t,n){var r=e.stateNode;if(!r)throw Error(_(169));n?(e=df(e,t,sn),r.__reactInternalMemoizedMergedChildContext=e,W(Ne),W(fe),B(fe,e)):W(Ne),B(Ne,n)}var st=null,Il=!1,Ro=!1;function ff(e){st===null?st=[e]:st.push(e)}function w0(e){Il=!0,ff(e)}function Wt(){if(!Ro&&st!==null){Ro=!0;var e=0,t=U;try{var n=st;for(U=1;e>=o,i-=o,at=1<<32-Ke(t)+i|n<C?(I=P,P=null):I=P.sibling;var z=v(p,P,h[C],w);if(z===null){P===null&&(P=I);break}e&&P&&z.alternate===null&&t(p,P),m=l(z,m,C),j===null?k=z:j.sibling=z,j=z,P=I}if(C===h.length)return n(p,P),H&&qt(p,C),k;if(P===null){for(;CC?(I=P,P=null):I=P.sibling;var me=v(p,P,z.value,w);if(me===null){P===null&&(P=I);break}e&&P&&me.alternate===null&&t(p,P),m=l(me,m,C),j===null?k=me:j.sibling=me,j=me,P=I}if(z.done)return n(p,P),H&&qt(p,C),k;if(P===null){for(;!z.done;C++,z=h.next())z=f(p,z.value,w),z!==null&&(m=l(z,m,C),j===null?k=z:j.sibling=z,j=z);return H&&qt(p,C),k}for(P=r(p,P);!z.done;C++,z=h.next())z=x(P,p,C,z.value,w),z!==null&&(e&&z.alternate!==null&&P.delete(z.key===null?C:z.key),m=l(z,m,C),j===null?k=z:j.sibling=z,j=z);return e&&P.forEach(function(lr){return t(p,lr)}),H&&qt(p,C),k}function N(p,m,h,w){if(typeof h=="object"&&h!==null&&h.type===wn&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case pi:e:{for(var k=h.key,j=m;j!==null;){if(j.key===k){if(k=h.type,k===wn){if(j.tag===7){n(p,j.sibling),m=i(j,h.props.children),m.return=p,p=m;break e}}else if(j.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===xt&&Ju(k)===j.type){n(p,j.sibling),m=i(j,h.props),m.ref=fr(p,j,h),m.return=p,p=m;break e}n(p,j);break}else t(p,j);j=j.sibling}h.type===wn?(m=ln(h.props.children,p.mode,w,h.key),m.return=p,p=m):(w=Wi(h.type,h.key,h.props,null,p.mode,w),w.ref=fr(p,m,h),w.return=p,p=w)}return o(p);case xn:e:{for(j=h.key;m!==null;){if(m.key===j)if(m.tag===4&&m.stateNode.containerInfo===h.containerInfo&&m.stateNode.implementation===h.implementation){n(p,m.sibling),m=i(m,h.children||[]),m.return=p,p=m;break e}else{n(p,m);break}else t(p,m);m=m.sibling}m=Do(h,p.mode,w),m.return=p,p=m}return o(p);case xt:return j=h._init,N(p,m,j(h._payload),w)}if(yr(h))return y(p,m,h,w);if(sr(h))return g(p,m,h,w);_i(p,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,m!==null&&m.tag===6?(n(p,m.sibling),m=i(m,h),m.return=p,p=m):(n(p,m),m=Io(h,p.mode,w),m.return=p,p=m),o(p)):n(p,m)}return N}var Vn=vf(!0),yf=vf(!1),al=$t(null),ul=null,On=null,Oa=null;function Pa(){Oa=On=ul=null}function Ra(e){var t=al.current;W(al),e._currentValue=t}function _s(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Un(e,t){ul=e,Oa=On=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(we=!0),e.firstContext=null)}function Ue(e){var t=e._currentValue;if(Oa!==e)if(e={context:e,memoizedValue:t,next:null},On===null){if(ul===null)throw Error(_(308));On=e,ul.dependencies={lanes:0,firstContext:e}}else On=On.next=e;return t}var en=null;function Ta(e){en===null?en=[e]:en.push(e)}function gf(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Ta(t)):(n.next=i.next,i.next=n),t.interleaved=n,mt(e,r)}function mt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var wt=!1;function La(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function xf(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ct(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function zt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,D&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,mt(e,n)}return i=r.interleaved,i===null?(t.next=t,Ta(r)):(t.next=i.next,i.next=t),r.interleaved=t,mt(e,n)}function Ii(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ya(e,n)}}function Xu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,l=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};l===null?i=l=o:l=l.next=o,n=n.next}while(n!==null);l===null?i=l=t:l=l.next=t}else i=l=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:l,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function cl(e,t,n,r){var i=e.updateQueue;wt=!1;var l=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var a=s,c=a.next;a.next=null,o===null?l=c:o.next=c,o=a;var d=e.alternate;d!==null&&(d=d.updateQueue,s=d.lastBaseUpdate,s!==o&&(s===null?d.firstBaseUpdate=c:s.next=c,d.lastBaseUpdate=a))}if(l!==null){var f=i.baseState;o=0,d=c=a=null,s=l;do{var v=s.lane,x=s.eventTime;if((r&v)===v){d!==null&&(d=d.next={eventTime:x,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var y=e,g=s;switch(v=t,x=n,g.tag){case 1:if(y=g.payload,typeof y=="function"){f=y.call(x,f,v);break e}f=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=g.payload,v=typeof y=="function"?y.call(x,f,v):y,v==null)break e;f=K({},f,v);break e;case 2:wt=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,v=i.effects,v===null?i.effects=[s]:v.push(s))}else x={eventTime:x,lane:v,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(c=d=x,a=f):d=d.next=x,o|=v;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;v=s,s=v.next,v.next=null,i.lastBaseUpdate=v,i.shared.pending=null}}while(!0);if(d===null&&(a=f),i.baseState=a,i.firstBaseUpdate=c,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else l===null&&(i.shared.lanes=0);cn|=o,e.lanes=o,e.memoizedState=f}}function Gu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Lo.transition;Lo.transition={};try{e(!1),t()}finally{U=n,Lo.transition=r}}function Af(){return Be().memoizedState}function k0(e,t,n){var r=Ft(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},If(e))Df(t,n);else if(n=gf(e,t,n,r),n!==null){var i=he();qe(n,e,r,i),bf(n,t,r)}}function _0(e,t,n){var r=Ft(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(If(e))Df(t,i);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var o=t.lastRenderedState,s=l(o,n);if(i.hasEagerState=!0,i.eagerState=s,Xe(s,o)){var a=t.interleaved;a===null?(i.next=i,Ta(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=gf(e,t,i,r),n!==null&&(i=he(),qe(n,e,r,i),bf(n,t,r))}}function If(e){var t=e.alternate;return e===Q||t!==null&&t===Q}function Df(e,t){jr=fl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function bf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ya(e,n)}}var ml={readContext:Ue,useCallback:ue,useContext:ue,useEffect:ue,useImperativeHandle:ue,useInsertionEffect:ue,useLayoutEffect:ue,useMemo:ue,useReducer:ue,useRef:ue,useState:ue,useDebugValue:ue,useDeferredValue:ue,useTransition:ue,useMutableSource:ue,useSyncExternalStore:ue,useId:ue,unstable_isNewReconciler:!1},j0={readContext:Ue,useCallback:function(e,t){return Ze().memoizedState=[e,t===void 0?null:t],e},useContext:Ue,useEffect:Zu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,bi(4194308,4,Tf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return bi(4194308,4,e,t)},useInsertionEffect:function(e,t){return bi(4,2,e,t)},useMemo:function(e,t){var n=Ze();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ze();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=k0.bind(null,Q,e),[r.memoizedState,e]},useRef:function(e){var t=Ze();return e={current:e},t.memoizedState=e},useState:Yu,useDebugValue:Ua,useDeferredValue:function(e){return Ze().memoizedState=e},useTransition:function(){var e=Yu(!1),t=e[0];return e=E0.bind(null,e[1]),Ze().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Q,i=Ze();if(H){if(n===void 0)throw Error(_(407));n=n()}else{if(n=t(),ie===null)throw Error(_(349));un&30||Ef(r,t,n)}i.memoizedState=n;var l={value:n,getSnapshot:t};return i.queue=l,Zu(_f.bind(null,r,l,e),[e]),r.flags|=2048,qr(9,kf.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=Ze(),t=ie.identifierPrefix;if(H){var n=ut,r=at;n=(r&~(1<<32-Ke(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Qr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[tt]=t,e[Wr]=r,Jf(e,t,!1,!1),t.stateNode=e;e:{switch(o=ss(n,r),n){case"dialog":$("cancel",e),$("close",e),i=r;break;case"iframe":case"object":case"embed":$("load",e),i=r;break;case"video":case"audio":for(i=0;iqn&&(t.flags|=128,r=!0,mr(l,!1),t.lanes=4194304)}else{if(!r)if(e=dl(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),mr(l,!0),l.tail===null&&l.tailMode==="hidden"&&!o.alternate&&!H)return ce(t),null}else 2*G()-l.renderingStartTime>qn&&n!==1073741824&&(t.flags|=128,r=!0,mr(l,!1),t.lanes=4194304);l.isBackwards?(o.sibling=t.child,t.child=o):(n=l.last,n!==null?n.sibling=o:t.child=o,l.last=o)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=G(),t.sibling=null,n=V.current,B(V,r?n&1|2:n&1),t):(ce(t),null);case 22:case 23:return Qa(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?je&1073741824&&(ce(t),t.subtreeFlags&6&&(t.flags|=8192)):ce(t),null;case 24:return null;case 25:return null}throw Error(_(156,t.tag))}function M0(e,t){switch(ja(t),t.tag){case 1:return Se(t.type)&&il(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Qn(),W(Ne),W(fe),Fa(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ma(t),null;case 13:if(W(V),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(_(340));Hn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return W(V),null;case 4:return Qn(),null;case 10:return Ra(t.type._context),null;case 22:case 23:return Qa(),null;case 24:return null;default:return null}}var Ci=!1,de=!1,F0=typeof WeakSet=="function"?WeakSet:Set,R=null;function Pn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){q(e,t,r)}else n.current=null}function Ms(e,t,n){try{n()}catch(r){q(e,t,r)}}var cc=!1;function A0(e,t){if(ys=el,e=tf(),ka(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var o=0,s=-1,a=-1,c=0,d=0,f=e,v=null;t:for(;;){for(var x;f!==n||i!==0&&f.nodeType!==3||(s=o+i),f!==l||r!==0&&f.nodeType!==3||(a=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(x=f.firstChild)!==null;)v=f,f=x;for(;;){if(f===e)break t;if(v===n&&++c===i&&(s=o),v===l&&++d===r&&(a=o),(x=f.nextSibling)!==null)break;f=v,v=f.parentNode}f=x}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(gs={focusedElem:e,selectionRange:n},el=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var g=y.memoizedProps,N=y.memoizedState,p=t.stateNode,m=p.getSnapshotBeforeUpdate(t.elementType===t.type?g:We(t.type,g),N);p.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(_(163))}}catch(w){q(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return y=cc,cc=!1,y}function Cr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var l=i.destroy;i.destroy=void 0,l!==void 0&&Ms(t,n,l)}i=i.next}while(i!==r)}}function Ul(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Fs(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Yf(e){var t=e.alternate;t!==null&&(e.alternate=null,Yf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[tt],delete t[Wr],delete t[Ns],delete t[g0],delete t[x0])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Zf(e){return e.tag===5||e.tag===3||e.tag===4}function dc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Zf(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function As(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=rl));else if(r!==4&&(e=e.child,e!==null))for(As(e,t,n),e=e.sibling;e!==null;)As(e,t,n),e=e.sibling}function Is(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Is(e,t,n),e=e.sibling;e!==null;)Is(e,t,n),e=e.sibling}var oe=null,He=!1;function yt(e,t,n){for(n=n.child;n!==null;)em(e,t,n),n=n.sibling}function em(e,t,n){if(rt&&typeof rt.onCommitFiberUnmount=="function")try{rt.onCommitFiberUnmount(Ll,n)}catch{}switch(n.tag){case 5:de||Pn(n,t);case 6:var r=oe,i=He;oe=null,yt(e,t,n),oe=r,He=i,oe!==null&&(He?(e=oe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):oe.removeChild(n.stateNode));break;case 18:oe!==null&&(He?(e=oe,n=n.stateNode,e.nodeType===8?Po(e.parentNode,n):e.nodeType===1&&Po(e,n),Dr(e)):Po(oe,n.stateNode));break;case 4:r=oe,i=He,oe=n.stateNode.containerInfo,He=!0,yt(e,t,n),oe=r,He=i;break;case 0:case 11:case 14:case 15:if(!de&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var l=i,o=l.destroy;l=l.tag,o!==void 0&&(l&2||l&4)&&Ms(n,t,o),i=i.next}while(i!==r)}yt(e,t,n);break;case 1:if(!de&&(Pn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){q(n,t,s)}yt(e,t,n);break;case 21:yt(e,t,n);break;case 22:n.mode&1?(de=(r=de)||n.memoizedState!==null,yt(e,t,n),de=r):yt(e,t,n);break;default:yt(e,t,n)}}function fc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new F0),t.forEach(function(r){var i=V0.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function $e(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=o),r&=~l}if(r=i,r=G()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*D0(r/1960))-r,10e?16:e,Ct===null)var r=!1;else{if(e=Ct,Ct=null,vl=0,D&6)throw Error(_(331));var i=D;for(D|=4,R=e.current;R!==null;){var l=R,o=l.child;if(R.flags&16){var s=l.deletions;if(s!==null){for(var a=0;aG()-Ha?rn(e,0):Wa|=n),Ee(e,t)}function am(e,t){t===0&&(e.mode&1?(t=gi,gi<<=1,!(gi&130023424)&&(gi=4194304)):t=1);var n=he();e=mt(e,t),e!==null&&(ni(e,t,n),Ee(e,n))}function H0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),am(e,n)}function V0(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(_(314))}r!==null&&r.delete(t),am(e,n)}var um;um=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ne.current)we=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return we=!1,L0(e,t,n);we=!!(e.flags&131072)}else we=!1,H&&t.flags&1048576&&mf(t,sl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ui(e,t),e=t.pendingProps;var i=Wn(t,fe.current);Un(t,n),i=Ia(null,t,r,e,i,n);var l=Da();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Se(r)?(l=!0,ll(t)):l=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,La(t),i.updater=bl,t.stateNode=i,i._reactInternals=t,Cs(t,r,e,n),t=Rs(null,t,r,!0,l,n)):(t.tag=0,H&&l&&_a(t),pe(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ui(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=K0(r),e=We(r,e),i){case 0:t=Ps(null,t,r,e,n);break e;case 1:t=sc(null,t,r,e,n);break e;case 11:t=lc(null,t,r,e,n);break e;case 14:t=oc(null,t,r,We(r.type,e),n);break e}throw Error(_(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),Ps(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),sc(e,t,r,i,n);case 3:e:{if(Qf(t),e===null)throw Error(_(387));r=t.pendingProps,l=t.memoizedState,i=l.element,xf(e,t),cl(t,r,null,n);var o=t.memoizedState;if(r=o.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){i=Kn(Error(_(423)),t),t=ac(e,t,r,n,i);break e}else if(r!==i){i=Kn(Error(_(424)),t),t=ac(e,t,r,n,i);break e}else for(Ce=Lt(t.stateNode.containerInfo.firstChild),Pe=t,H=!0,Ve=null,n=yf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Hn(),r===i){t=pt(e,t,n);break e}pe(e,t,r,n)}t=t.child}return t;case 5:return wf(t),e===null&&ks(t),r=t.type,i=t.pendingProps,l=e!==null?e.memoizedProps:null,o=i.children,xs(r,i)?o=null:l!==null&&xs(r,l)&&(t.flags|=32),Vf(e,t),pe(e,t,o,n),t.child;case 6:return e===null&&ks(t),null;case 13:return Kf(e,t,n);case 4:return za(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Vn(t,null,r,n):pe(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),lc(e,t,r,i,n);case 7:return pe(e,t,t.pendingProps,n),t.child;case 8:return pe(e,t,t.pendingProps.children,n),t.child;case 12:return pe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,l=t.memoizedProps,o=i.value,B(al,r._currentValue),r._currentValue=o,l!==null)if(Xe(l.value,o)){if(l.children===i.children&&!Ne.current){t=pt(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var s=l.dependencies;if(s!==null){o=l.child;for(var a=s.firstContext;a!==null;){if(a.context===r){if(l.tag===1){a=ct(-1,n&-n),a.tag=2;var c=l.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?a.next=a:(a.next=d.next,d.next=a),c.pending=a}}l.lanes|=n,a=l.alternate,a!==null&&(a.lanes|=n),_s(l.return,n,t),s.lanes|=n;break}a=a.next}}else if(l.tag===10)o=l.type===t.type?null:l.child;else if(l.tag===18){if(o=l.return,o===null)throw Error(_(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),_s(o,n,t),o=l.sibling}else o=l.child;if(o!==null)o.return=l;else for(o=l;o!==null;){if(o===t){o=null;break}if(l=o.sibling,l!==null){l.return=o.return,o=l;break}o=o.return}l=o}pe(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Un(t,n),i=Ue(i),r=r(i),t.flags|=1,pe(e,t,r,n),t.child;case 14:return r=t.type,i=We(r,t.pendingProps),i=We(r.type,i),oc(e,t,r,i,n);case 15:return Wf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),Ui(e,t),t.tag=1,Se(r)?(e=!0,ll(t)):e=!1,Un(t,n),Uf(t,r,i),Cs(t,r,i,n),Rs(null,t,r,!0,e,n);case 19:return qf(e,t,n);case 22:return Hf(e,t,n)}throw Error(_(156,t.tag))};function cm(e,t){return Ad(e,t)}function Q0(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function De(e,t,n,r){return new Q0(e,t,n,r)}function qa(e){return e=e.prototype,!(!e||!e.isReactComponent)}function K0(e){if(typeof e=="function")return qa(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ma)return 11;if(e===pa)return 14}return 2}function At(e,t){var n=e.alternate;return n===null?(n=De(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Wi(e,t,n,r,i,l){var o=2;if(r=e,typeof e=="function")qa(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case wn:return ln(n.children,i,l,t);case fa:o=8,i|=8;break;case Go:return e=De(12,n,t,i|2),e.elementType=Go,e.lanes=l,e;case Yo:return e=De(13,n,t,i),e.elementType=Yo,e.lanes=l,e;case Zo:return e=De(19,n,t,i),e.elementType=Zo,e.lanes=l,e;case xd:return $l(n,i,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case yd:o=10;break e;case gd:o=9;break e;case ma:o=11;break e;case pa:o=14;break e;case xt:o=16,r=null;break e}throw Error(_(130,e==null?e:typeof e,""))}return t=De(o,n,t,i),t.elementType=e,t.type=r,t.lanes=l,t}function ln(e,t,n,r){return e=De(7,e,r,t),e.lanes=n,e}function $l(e,t,n,r){return e=De(22,e,r,t),e.elementType=xd,e.lanes=n,e.stateNode={isHidden:!1},e}function Io(e,t,n){return e=De(6,e,null,t),e.lanes=n,e}function Do(e,t,n){return t=De(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function q0(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=go(0),this.expirationTimes=go(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=go(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Ja(e,t,n,r,i,l,o,s,a){return e=new q0(e,t,n,s,a),t===1?(t=1,l===!0&&(t|=8)):t=0,l=De(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},La(l),e}function J0(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(pm)}catch(e){console.error(e)}}pm(),md.exports=Me;var ev=md.exports,hm,wc=ev;hm=wc.createRoot,wc.hydrateRoot;var vm={exports:{}},ym={};/** - * @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. - */var oi=O;function tv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var nv=typeof Object.is=="function"?Object.is:tv,rv=oi.useSyncExternalStore,iv=oi.useRef,lv=oi.useEffect,ov=oi.useMemo,sv=oi.useDebugValue;ym.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var l=iv(null);if(l.current===null){var o={hasValue:!1,value:null};l.current=o}else o=l.current;l=ov(function(){function a(x){if(!c){if(c=!0,d=x,x=r(x),i!==void 0&&o.hasValue){var y=o.value;if(i(y,x))return f=y}return f=x}if(y=f,nv(d,x))return y;var g=r(x);return i!==void 0&&i(y,g)?y:(d=x,f=g)}var c=!1,d,f,v=n===void 0?null:n;return[function(){return a(t())},v===null?void 0:function(){return a(v())}]},[t,n,r,i]);var s=rv(e,l[0],l[1]);return lv(function(){o.hasValue=!0,o.value=s},[s]),sv(s),s};vm.exports=ym;var av=vm.exports,Oe="default"in Jo?E:Jo,Nc=Symbol.for("react-redux-context"),Sc=typeof globalThis<"u"?globalThis:{};function uv(){if(!Oe.createContext)return{};const e=Sc[Nc]??(Sc[Nc]=new Map);let t=e.get(Oe.createContext);return t||(t=Oe.createContext(null),e.set(Oe.createContext,t)),t}var Ut=uv(),cv=()=>{throw new Error("uSES not initialized!")};function Za(e=Ut){return function(){return Oe.useContext(e)}}var gm=Za(),xm=cv,dv=e=>{xm=e},fv=(e,t)=>e===t;function mv(e=Ut){const t=e===Ut?gm:Za(e),n=(r,i={})=>{const{equalityFn:l=fv,devModeChecks:o={}}=typeof i=="function"?{equalityFn:i}:i,{store:s,subscription:a,getServerState:c,stabilityCheck:d,identityFunctionCheck:f}=t();Oe.useRef(!0);const v=Oe.useCallback({[r.name](y){return r(y)}}[r.name],[r,d,o.stabilityCheck]),x=xm(a.addNestedSub,s.getState,c||s.getState,v,l);return Oe.useDebugValue(x),x};return Object.assign(n,{withTypes:()=>n}),n}var Kl=mv();function pv(e){e()}function hv(){let e=null,t=null;return{clear(){e=null,t=null},notify(){pv(()=>{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 Ec={notify(){},get:()=>[]};function vv(e,t){let n,r=Ec,i=0,l=!1;function o(g){d();const N=r.subscribe(g);let p=!1;return()=>{p||(p=!0,N(),f())}}function s(){r.notify()}function a(){y.onStateChange&&y.onStateChange()}function c(){return l}function d(){i++,n||(n=e.subscribe(a),r=hv())}function f(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=Ec)}function v(){l||(l=!0,d())}function x(){l&&(l=!1,f())}const y={addNestedSub:o,notifyNestedSubs:s,handleChangeWrapper:a,isSubscribed:c,trySubscribe:v,tryUnsubscribe:x,getListeners:()=>r};return y}var yv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",gv=typeof navigator<"u"&&navigator.product==="ReactNative",xv=yv||gv?Oe.useLayoutEffect:Oe.useEffect;function wv({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:l="once"}){const o=Oe.useMemo(()=>{const c=vv(e);return{store:e,subscription:c,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:l}},[e,r,i,l]),s=Oe.useMemo(()=>e.getState(),[e]);xv(()=>{const{subscription:c}=o;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),s!==e.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[o,s]);const a=t||Ut;return Oe.createElement(a.Provider,{value:o},n)}var Nv=wv;function wm(e=Ut){const t=e===Ut?gm:Za(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var Sv=wm();function Ev(e=Ut){const t=e===Ut?Sv:wm(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var eu=Ev();dv(av.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 kv=typeof Symbol=="function"&&Symbol.observable||"@@observable",kc=kv,bo=()=>Math.random().toString(36).substring(7).split("").join("."),_v={INIT:`@@redux/INIT${bo()}`,REPLACE:`@@redux/REPLACE${bo()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${bo()}`},xl=_v;function tu(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Nm(e,t,n){if(typeof e!="function")throw new Error(le(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(le(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(le(1));return n(Nm)(e,t)}let r=e,i=t,l=new Map,o=l,s=0,a=!1;function c(){o===l&&(o=new Map,l.forEach((N,p)=>{o.set(p,N)}))}function d(){if(a)throw new Error(le(3));return i}function f(N){if(typeof N!="function")throw new Error(le(4));if(a)throw new Error(le(5));let p=!0;c();const m=s++;return o.set(m,N),function(){if(p){if(a)throw new Error(le(6));p=!1,c(),o.delete(m),l=null}}}function v(N){if(!tu(N))throw new Error(le(7));if(typeof N.type>"u")throw new Error(le(8));if(typeof N.type!="string")throw new Error(le(17));if(a)throw new Error(le(9));try{a=!0,i=r(i,N)}finally{a=!1}return(l=o).forEach(m=>{m()}),N}function x(N){if(typeof N!="function")throw new Error(le(10));r=N,v({type:xl.REPLACE})}function y(){const N=f;return{subscribe(p){if(typeof p!="object"||p===null)throw new Error(le(11));function m(){const w=p;w.next&&w.next(d())}return m(),{unsubscribe:N(m)}},[kc](){return this}}}return v({type:xl.INIT}),{dispatch:v,subscribe:f,getState:d,replaceReducer:x,[kc]:y}}function jv(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:xl.INIT})>"u")throw new Error(le(12));if(typeof n(void 0,{type:xl.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(le(13))})}function Cv(e){const t=Object.keys(e),n={};for(let l=0;l"u")throw s&&s.type,new Error(le(14));c[f]=y,a=a||y!==x}return a=a||r.length!==Object.keys(o).length,a?c:o}}function wl(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function Ov(...e){return t=>(n,r)=>{const i=t(n,r);let l=()=>{throw new Error(le(15))};const o={getState:i.getState,dispatch:(a,...c)=>l(a,...c)},s=e.map(a=>a(o));return l=wl(...s)(i.dispatch),{...i,dispatch:l}}}function Pv(e){return tu(e)&&"type"in e&&typeof e.type=="string"}var Sm=Symbol.for("immer-nothing"),_c=Symbol.for("immer-draftable"),Le=Symbol.for("immer-state");function Qe(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Jn=Object.getPrototypeOf;function fn(e){return!!e&&!!e[Le]}function ht(e){var t;return e?Em(e)||Array.isArray(e)||!!e[_c]||!!((t=e.constructor)!=null&&t[_c])||Jl(e)||Xl(e):!1}var Rv=Object.prototype.constructor.toString();function Em(e){if(!e||typeof e!="object")return!1;const t=Jn(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===Rv}function Nl(e,t){ql(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function ql(e){const t=e[Le];return t?t.type_:Array.isArray(e)?1:Jl(e)?2:Xl(e)?3:0}function $s(e,t){return ql(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function km(e,t,n){const r=ql(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function Tv(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Jl(e){return e instanceof Map}function Xl(e){return e instanceof Set}function Xt(e){return e.copy_||e.base_}function Ws(e,t){if(Jl(e))return new Map(e);if(Xl(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=Em(e);if(t===!0||t==="class_only"&&!n){const r=Object.getOwnPropertyDescriptors(e);delete r[Le];let i=Reflect.ownKeys(r);for(let l=0;l1&&(e.set=e.add=e.clear=e.delete=Lv),Object.freeze(e),t&&Object.entries(e).forEach(([n,r])=>nu(r,!0))),e}function Lv(){Qe(2)}function Gl(e){return Object.isFrozen(e)}var zv={};function mn(e){const t=zv[e];return t||Qe(0,e),t}var Xr;function _m(){return Xr}function Mv(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function jc(e,t){t&&(mn("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Hs(e){Vs(e),e.drafts_.forEach(Fv),e.drafts_=null}function Vs(e){e===Xr&&(Xr=e.parent_)}function Cc(e){return Xr=Mv(Xr,e)}function Fv(e){const t=e[Le];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Oc(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[Le].modified_&&(Hs(t),Qe(4)),ht(e)&&(e=Sl(t,e),t.parent_||El(t,e)),t.patches_&&mn("Patches").generateReplacementPatches_(n[Le].base_,e,t.patches_,t.inversePatches_)):e=Sl(t,n,[]),Hs(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Sm?e:void 0}function Sl(e,t,n){if(Gl(t))return t;const r=t[Le];if(!r)return Nl(t,(i,l)=>Pc(e,r,t,i,l,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return El(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const i=r.copy_;let l=i,o=!1;r.type_===3&&(l=new Set(i),i.clear(),o=!0),Nl(l,(s,a)=>Pc(e,r,i,s,a,n,o)),El(e,i,!1),n&&e.patches_&&mn("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function Pc(e,t,n,r,i,l,o){if(fn(i)){const s=l&&t&&t.type_!==3&&!$s(t.assigned_,r)?l.concat(r):void 0,a=Sl(e,i,s);if(km(n,r,a),fn(a))e.canAutoFreeze_=!1;else return}else o&&n.add(i);if(ht(i)&&!Gl(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Sl(e,i),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,r)&&El(e,i)}}function El(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&nu(t,n)}function Av(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:_m(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,l=ru;n&&(i=[r],l=Gr);const{revoke:o,proxy:s}=Proxy.revocable(i,l);return r.draft_=s,r.revoke_=o,s}var ru={get(e,t){if(t===Le)return e;const n=Xt(e);if(!$s(n,t))return Iv(e,n,t);const r=n[t];return e.finalized_||!ht(r)?r:r===Uo(e.base_,t)?(Bo(e),e.copy_[t]=Ks(r,e)):r},has(e,t){return t in Xt(e)},ownKeys(e){return Reflect.ownKeys(Xt(e))},set(e,t,n){const r=jm(Xt(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const i=Uo(Xt(e),t),l=i==null?void 0:i[Le];if(l&&l.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(Tv(n,i)&&(n!==void 0||$s(e.base_,t)))return!0;Bo(e),Qs(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return Uo(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Bo(e),Qs(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=Xt(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){Qe(11)},getPrototypeOf(e){return Jn(e.base_)},setPrototypeOf(){Qe(12)}},Gr={};Nl(ru,(e,t)=>{Gr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Gr.deleteProperty=function(e,t){return Gr.set.call(this,e,t,void 0)};Gr.set=function(e,t,n){return ru.set.call(this,e[0],t,n,e[0])};function Uo(e,t){const n=e[Le];return(n?Xt(n):e)[t]}function Iv(e,t,n){var i;const r=jm(t,n);return r?"value"in r?r.value:(i=r.get)==null?void 0:i.call(e.draft_):void 0}function jm(e,t){if(!(t in e))return;let n=Jn(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Jn(n)}}function Qs(e){e.modified_||(e.modified_=!0,e.parent_&&Qs(e.parent_))}function Bo(e){e.copy_||(e.copy_=Ws(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Dv=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const l=n;n=t;const o=this;return function(a=l,...c){return o.produce(a,d=>n.call(this,d,...c))}}typeof n!="function"&&Qe(6),r!==void 0&&typeof r!="function"&&Qe(7);let i;if(ht(t)){const l=Cc(this),o=Ks(t,void 0);let s=!0;try{i=n(o),s=!1}finally{s?Hs(l):Vs(l)}return jc(l,r),Oc(i,l)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===Sm&&(i=void 0),this.autoFreeze_&&nu(i,!0),r){const l=[],o=[];mn("Patches").generateReplacementPatches_(t,i,l,o),r(l,o)}return i}else Qe(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(o,...s)=>this.produceWithPatches(o,a=>t(a,...s));let r,i;return[this.produce(t,n,(o,s)=>{r=o,i=s}),r,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){ht(e)||Qe(8),fn(e)&&(e=bv(e));const t=Cc(this),n=Ks(e,void 0);return n[Le].isManual_=!0,Vs(t),n}finishDraft(e,t){const n=e&&e[Le];(!n||!n.isManual_)&&Qe(9);const{scope_:r}=n;return jc(r,t),Oc(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const i=t[n];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}n>-1&&(t=t.slice(n+1));const r=mn("Patches").applyPatches_;return fn(e)?r(e,t):this.produce(e,i=>r(i,t))}};function Ks(e,t){const n=Jl(e)?mn("MapSet").proxyMap_(e,t):Xl(e)?mn("MapSet").proxySet_(e,t):Av(e,t);return(t?t.scope_:_m()).drafts_.push(n),n}function bv(e){return fn(e)||Qe(10,e),Cm(e)}function Cm(e){if(!ht(e)||Gl(e))return e;const t=e[Le];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Ws(e,t.scope_.immer_.useStrictShallowCopy_)}else n=Ws(e,!0);return Nl(n,(r,i)=>{km(n,r,Cm(i))}),t&&(t.finalized_=!1),n}var ze=new Dv,Om=ze.produce;ze.produceWithPatches.bind(ze);ze.setAutoFreeze.bind(ze);ze.setUseStrictShallowCopy.bind(ze);ze.applyPatches.bind(ze);ze.createDraft.bind(ze);ze.finishDraft.bind(ze);function Pm(e){return({dispatch:n,getState:r})=>i=>l=>typeof l=="function"?l(n,r,e):i(l)}var Uv=Pm(),Bv=Pm,$v=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?wl:wl.apply(null,arguments)},Wv=e=>e&&typeof e.match=="function";function Rr(e,t){function n(...r){if(t){let i=t(...r);if(!i)throw new Error(Je(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:r[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=r=>Pv(r)&&r.type===e,n}var Rm=class wr extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,wr.prototype)}static get[Symbol.species](){return wr}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new wr(...t[0].concat(this)):new wr(...t.concat(this))}};function Rc(e){return ht(e)?Om(e,()=>{}):e}function Tc(e,t,n){if(e.has(t)){let i=e.get(t);return n.update&&(i=n.update(i,t,e),e.set(t,i)),i}if(!n.insert)throw new Error(Je(10));const r=n.insert(t,e);return e.set(t,r),r}function Hv(e){return typeof e=="boolean"}var Vv=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:i=!0,actionCreatorCheck:l=!0}=t??{};let o=new Rm;return n&&(Hv(n)?o.push(Uv):o.push(Bv(n.extraArgument))),o},Qv="RTK_autoBatch",Tm=e=>t=>{setTimeout(t,e)},Kv=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Tm(10),qv=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let i=!0,l=!1,o=!1;const s=new Set,a=e.type==="tick"?queueMicrotask:e.type==="raf"?Kv:e.type==="callback"?e.queueNotification:Tm(e.timeout),c=()=>{o=!1,l&&(l=!1,s.forEach(d=>d()))};return Object.assign({},r,{subscribe(d){const f=()=>i&&d(),v=r.subscribe(f);return s.add(d),()=>{v(),s.delete(d)}},dispatch(d){var f;try{return i=!((f=d==null?void 0:d.meta)!=null&&f[Qv]),l=!i,l&&(o||(o=!0,a(c))),r.dispatch(d)}finally{i=!0}}})},Jv=e=>function(n){const{autoBatch:r=!0}=n??{};let i=new Rm(e);return r&&i.push(qv(typeof r=="object"?r:void 0)),i};function Xv(e){const t=Vv(),{reducer:n=void 0,middleware:r,devTools:i=!0,preloadedState:l=void 0,enhancers:o=void 0}=e||{};let s;if(typeof n=="function")s=n;else if(tu(n))s=Cv(n);else throw new Error(Je(1));let a;typeof r=="function"?a=r(t):a=t();let c=wl;i&&(c=$v({trace:!1,...typeof i=="object"&&i}));const d=Ov(...a),f=Jv(d);let v=typeof o=="function"?o(f):f();const x=c(...v);return Nm(s,l,x)}function Lm(e){const t={},n=[];let r;const i={addCase(l,o){const s=typeof l=="string"?l:l.type;if(!s)throw new Error(Je(28));if(s in t)throw new Error(Je(29));return t[s]=o,i},addMatcher(l,o){return n.push({matcher:l,reducer:o}),i},addDefaultCase(l){return r=l,i}};return e(i),[t,n,r]}function Gv(e){return typeof e=="function"}function Yv(e,t){let[n,r,i]=Lm(t),l;if(Gv(e))l=()=>Rc(e());else{const s=Rc(e);l=()=>s}function o(s=l(),a){let c=[n[a.type],...r.filter(({matcher:d})=>d(a)).map(({reducer:d})=>d)];return c.filter(d=>!!d).length===0&&(c=[i]),c.reduce((d,f)=>{if(f)if(fn(d)){const x=f(d,a);return x===void 0?d:x}else{if(ht(d))return Om(d,v=>f(v,a));{const v=f(d,a);if(v===void 0){if(d===null)return d;throw new Error(Je(9))}return v}}return d},s)}return o.getInitialState=l,o}var Zv=(e,t)=>Wv(e)?e.match(t):e(t);function ey(...e){return t=>e.some(n=>Zv(n,t))}var ty="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",ny=(e=21)=>{let t="",n=e;for(;n--;)t+=ty[Math.random()*64|0];return t},ry=["name","message","stack","code"],$o=class{constructor(e,t){fo(this,"_type");this.payload=e,this.meta=t}},Lc=class{constructor(e,t){fo(this,"_type");this.payload=e,this.meta=t}},iy=e=>{if(typeof e=="object"&&e!==null){const t={};for(const n of ry)typeof e[n]=="string"&&(t[n]=e[n]);return t}return{message:String(e)}},Yl=(()=>{function e(t,n,r){const i=Rr(t+"/fulfilled",(a,c,d,f)=>({payload:a,meta:{...f||{},arg:d,requestId:c,requestStatus:"fulfilled"}})),l=Rr(t+"/pending",(a,c,d)=>({payload:void 0,meta:{...d||{},arg:c,requestId:a,requestStatus:"pending"}})),o=Rr(t+"/rejected",(a,c,d,f,v)=>({payload:f,error:(r&&r.serializeError||iy)(a||"Rejected"),meta:{...v||{},arg:d,requestId:c,rejectedWithValue:!!f,requestStatus:"rejected",aborted:(a==null?void 0:a.name)==="AbortError",condition:(a==null?void 0:a.name)==="ConditionError"}}));function s(a){return(c,d,f)=>{const v=r!=null&&r.idGenerator?r.idGenerator(a):ny(),x=new AbortController;let y,g;function N(m){g=m,x.abort()}const p=async function(){var w,k;let m;try{let j=(w=r==null?void 0:r.condition)==null?void 0:w.call(r,a,{getState:d,extra:f});if(oy(j)&&(j=await j),j===!1||x.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const P=new Promise((C,I)=>{y=()=>{I({name:"AbortError",message:g||"Aborted"})},x.signal.addEventListener("abort",y)});c(l(v,a,(k=r==null?void 0:r.getPendingMeta)==null?void 0:k.call(r,{requestId:v,arg:a},{getState:d,extra:f}))),m=await Promise.race([P,Promise.resolve(n(a,{dispatch:c,getState:d,extra:f,requestId:v,signal:x.signal,abort:N,rejectWithValue:(C,I)=>new $o(C,I),fulfillWithValue:(C,I)=>new Lc(C,I)})).then(C=>{if(C instanceof $o)throw C;return C instanceof Lc?i(C.payload,v,a,C.meta):i(C,v,a)})])}catch(j){m=j instanceof $o?o(null,v,a,j.payload,j.meta):o(j,v,a)}finally{y&&x.signal.removeEventListener("abort",y)}return r&&!r.dispatchConditionRejection&&o.match(m)&&m.meta.condition||c(m),m}();return Object.assign(p,{abort:N,requestId:v,arg:a,unwrap(){return p.then(ly)}})}}return Object.assign(s,{pending:l,rejected:o,fulfilled:i,settled:ey(o,i),typePrefix:t})}return e.withTypes=()=>e,e})();function ly(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function oy(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var sy=Symbol.for("rtk-slice-createasyncthunk");function ay(e,t){return`${e}/${t}`}function uy({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[sy];return function(i){const{name:l,reducerPath:o=l}=i;if(!l)throw new Error(Je(11));typeof process<"u";const s=(typeof i.reducers=="function"?i.reducers(dy()):i.reducers)||{},a=Object.keys(s),c={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},d={addCase(h,w){const k=typeof h=="string"?h:h.type;if(!k)throw new Error(Je(12));if(k in c.sliceCaseReducersByType)throw new Error(Je(13));return c.sliceCaseReducersByType[k]=w,d},addMatcher(h,w){return c.sliceMatchers.push({matcher:h,reducer:w}),d},exposeAction(h,w){return c.actionCreators[h]=w,d},exposeCaseReducer(h,w){return c.sliceCaseReducersByName[h]=w,d}};a.forEach(h=>{const w=s[h],k={reducerName:h,type:ay(l,h),createNotation:typeof i.reducers=="function"};my(w)?hy(k,w,d,t):fy(k,w,d)});function f(){const[h={},w=[],k=void 0]=typeof i.extraReducers=="function"?Lm(i.extraReducers):[i.extraReducers],j={...h,...c.sliceCaseReducersByType};return Yv(i.initialState,P=>{for(let C in j)P.addCase(C,j[C]);for(let C of c.sliceMatchers)P.addMatcher(C.matcher,C.reducer);for(let C of w)P.addMatcher(C.matcher,C.reducer);k&&P.addDefaultCase(k)})}const v=h=>h,x=new Map;let y;function g(h,w){return y||(y=f()),y(h,w)}function N(){return y||(y=f()),y.getInitialState()}function p(h,w=!1){function k(P){let C=P[h];return typeof C>"u"&&w&&(C=N()),C}function j(P=v){const C=Tc(x,w,{insert:()=>new WeakMap});return Tc(C,P,{insert:()=>{const I={};for(const[z,me]of Object.entries(i.selectors??{}))I[z]=cy(me,P,N,w);return I}})}return{reducerPath:h,getSelectors:j,get selectors(){return j(k)},selectSlice:k}}const m={name:l,reducer:g,actions:c.actionCreators,caseReducers:c.sliceCaseReducersByName,getInitialState:N,...p(o),injectInto(h,{reducerPath:w,...k}={}){const j=w??o;return h.inject({reducerPath:j,reducer:g},k),{...m,...p(j,!0)}}};return m}}function cy(e,t,n,r){function i(l,...o){let s=t(l);return typeof s>"u"&&r&&(s=n()),e(s,...o)}return i.unwrapped=e,i}var zm=uy();function dy(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function fy({type:e,reducerName:t,createNotation:n},r,i){let l,o;if("reducer"in r){if(n&&!py(r))throw new Error(Je(17));l=r.reducer,o=r.prepare}else l=r;i.addCase(e,l).exposeCaseReducer(t,l).exposeAction(t,o?Rr(e,o):Rr(e))}function my(e){return e._reducerDefinitionType==="asyncThunk"}function py(e){return e._reducerDefinitionType==="reducerWithPrepare"}function hy({type:e,reducerName:t},n,r,i){if(!i)throw new Error(Je(18));const{payloadCreator:l,fulfilled:o,pending:s,rejected:a,settled:c,options:d}=n,f=i(e,l,d);r.exposeAction(t,f),o&&r.addCase(f.fulfilled,o),s&&r.addCase(f.pending,s),a&&r.addCase(f.rejected,a),c&&r.addMatcher(f.settled,c),r.exposeCaseReducer(t,{fulfilled:o||Ri,pending:s||Ri,rejected:a||Ri,settled:c||Ri})}function Ri(){}function Je(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}function Mm(e,t){return function(){return e.apply(t,arguments)}}const{toString:vy}=Object.prototype,{getPrototypeOf:iu}=Object,Zl=(e=>t=>{const n=vy.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ge=e=>(e=e.toLowerCase(),t=>Zl(t)===e),eo=e=>t=>typeof t===e,{isArray:er}=Array,Yr=eo("undefined");function yy(e){return e!==null&&!Yr(e)&&e.constructor!==null&&!Yr(e.constructor)&&Re(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Fm=Ge("ArrayBuffer");function gy(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Fm(e.buffer),t}const xy=eo("string"),Re=eo("function"),Am=eo("number"),to=e=>e!==null&&typeof e=="object",wy=e=>e===!0||e===!1,Hi=e=>{if(Zl(e)!=="object")return!1;const t=iu(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Ny=Ge("Date"),Sy=Ge("File"),Ey=Ge("Blob"),ky=Ge("FileList"),_y=e=>to(e)&&Re(e.pipe),jy=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Re(e.append)&&((t=Zl(e))==="formdata"||t==="object"&&Re(e.toString)&&e.toString()==="[object FormData]"))},Cy=Ge("URLSearchParams"),[Oy,Py,Ry,Ty]=["ReadableStream","Request","Response","Headers"].map(Ge),Ly=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function si(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),er(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const nn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Dm=e=>!Yr(e)&&e!==nn;function qs(){const{caseless:e}=Dm(this)&&this||{},t={},n=(r,i)=>{const l=e&&Im(t,i)||i;Hi(t[l])&&Hi(r)?t[l]=qs(t[l],r):Hi(r)?t[l]=qs({},r):er(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r(si(t,(i,l)=>{n&&Re(i)?e[l]=Mm(i,n):e[l]=i},{allOwnKeys:r}),e),My=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Fy=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Ay=(e,t,n,r)=>{let i,l,o;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),l=i.length;l-- >0;)o=i[l],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&iu(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Iy=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Dy=e=>{if(!e)return null;if(er(e))return e;let t=e.length;if(!Am(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},by=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&iu(Uint8Array)),Uy=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const l=i.value;t.call(e,l[0],l[1])}},By=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},$y=Ge("HTMLFormElement"),Wy=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),zc=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Hy=Ge("RegExp"),bm=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};si(n,(i,l)=>{let o;(o=t(i,l,e))!==!1&&(r[l]=o||i)}),Object.defineProperties(e,r)},Vy=e=>{bm(e,(t,n)=>{if(Re(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Re(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Qy=(e,t)=>{const n={},r=i=>{i.forEach(l=>{n[l]=!0})};return er(e)?r(e):r(String(e).split(t)),n},Ky=()=>{},qy=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Wo="abcdefghijklmnopqrstuvwxyz",Mc="0123456789",Um={DIGIT:Mc,ALPHA:Wo,ALPHA_DIGIT:Wo+Wo.toUpperCase()+Mc},Jy=(e=16,t=Um.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Xy(e){return!!(e&&Re(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Gy=e=>{const t=new Array(10),n=(r,i)=>{if(to(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=er(r)?[]:{};return si(r,(o,s)=>{const a=n(o,i+1);!Yr(a)&&(l[s]=a)}),t[i]=void 0,l}}return r};return n(e,0)},Yy=Ge("AsyncFunction"),Zy=e=>e&&(to(e)||Re(e))&&Re(e.then)&&Re(e.catch),Bm=((e,t)=>e?setImmediate:t?((n,r)=>(nn.addEventListener("message",({source:i,data:l})=>{i===nn&&l===n&&r.length&&r.shift()()},!1),i=>{r.push(i),nn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Re(nn.postMessage)),eg=typeof queueMicrotask<"u"?queueMicrotask.bind(nn):typeof process<"u"&&process.nextTick||Bm,S={isArray:er,isArrayBuffer:Fm,isBuffer:yy,isFormData:jy,isArrayBufferView:gy,isString:xy,isNumber:Am,isBoolean:wy,isObject:to,isPlainObject:Hi,isReadableStream:Oy,isRequest:Py,isResponse:Ry,isHeaders:Ty,isUndefined:Yr,isDate:Ny,isFile:Sy,isBlob:Ey,isRegExp:Hy,isFunction:Re,isStream:_y,isURLSearchParams:Cy,isTypedArray:by,isFileList:ky,forEach:si,merge:qs,extend:zy,trim:Ly,stripBOM:My,inherits:Fy,toFlatObject:Ay,kindOf:Zl,kindOfTest:Ge,endsWith:Iy,toArray:Dy,forEachEntry:Uy,matchAll:By,isHTMLForm:$y,hasOwnProperty:zc,hasOwnProp:zc,reduceDescriptors:bm,freezeMethods:Vy,toObjectSet:Qy,toCamelCase:Wy,noop:Ky,toFiniteNumber:qy,findKey:Im,global:nn,isContextDefined:Dm,ALPHABET:Um,generateString:Jy,isSpecCompliantForm:Xy,toJSONObject:Gy,isAsyncFn:Yy,isThenable:Zy,setImmediate:Bm,asap:eg};function L(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}S.inherits(L,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:S.toJSONObject(this.config),code:this.code,status:this.status}}});const $m=L.prototype,Wm={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Wm[e]={value:e}});Object.defineProperties(L,Wm);Object.defineProperty($m,"isAxiosError",{value:!0});L.from=(e,t,n,r,i,l)=>{const o=Object.create($m);return S.toFlatObject(e,o,function(a){return a!==Error.prototype},s=>s!=="isAxiosError"),L.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,l&&Object.assign(o,l),o};const tg=null;function Js(e){return S.isPlainObject(e)||S.isArray(e)}function Hm(e){return S.endsWith(e,"[]")?e.slice(0,-2):e}function Fc(e,t,n){return e?e.concat(t).map(function(i,l){return i=Hm(i),!n&&l?"["+i+"]":i}).join(n?".":""):t}function ng(e){return S.isArray(e)&&!e.some(Js)}const rg=S.toFlatObject(S,{},null,function(t){return/^is[A-Z]/.test(t)});function no(e,t,n){if(!S.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=S.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,N){return!S.isUndefined(N[g])});const r=n.metaTokens,i=n.visitor||d,l=n.dots,o=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&S.isSpecCompliantForm(t);if(!S.isFunction(i))throw new TypeError("visitor must be a function");function c(y){if(y===null)return"";if(S.isDate(y))return y.toISOString();if(!a&&S.isBlob(y))throw new L("Blob is not supported. Use a Buffer instead.");return S.isArrayBuffer(y)||S.isTypedArray(y)?a&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function d(y,g,N){let p=y;if(y&&!N&&typeof y=="object"){if(S.endsWith(g,"{}"))g=r?g:g.slice(0,-2),y=JSON.stringify(y);else if(S.isArray(y)&&ng(y)||(S.isFileList(y)||S.endsWith(g,"[]"))&&(p=S.toArray(y)))return g=Hm(g),p.forEach(function(h,w){!(S.isUndefined(h)||h===null)&&t.append(o===!0?Fc([g],w,l):o===null?g:g+"[]",c(h))}),!1}return Js(y)?!0:(t.append(Fc(N,g,l),c(y)),!1)}const f=[],v=Object.assign(rg,{defaultVisitor:d,convertValue:c,isVisitable:Js});function x(y,g){if(!S.isUndefined(y)){if(f.indexOf(y)!==-1)throw Error("Circular reference detected in "+g.join("."));f.push(y),S.forEach(y,function(p,m){(!(S.isUndefined(p)||p===null)&&i.call(t,p,S.isString(m)?m.trim():m,g,v))===!0&&x(p,g?g.concat(m):[m])}),f.pop()}}if(!S.isObject(e))throw new TypeError("data must be an object");return x(e),t}function Ac(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function lu(e,t){this._pairs=[],e&&no(e,this,t)}const Vm=lu.prototype;Vm.append=function(t,n){this._pairs.push([t,n])};Vm.toString=function(t){const n=t?function(r){return t.call(this,r,Ac)}:Ac;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function ig(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Qm(e,t,n){if(!t)return e;const r=n&&n.encode||ig,i=n&&n.serialize;let l;if(i?l=i(t,n):l=S.isURLSearchParams(t)?t.toString():new lu(t,n).toString(r),l){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class Ic{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){S.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Km={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},lg=typeof URLSearchParams<"u"?URLSearchParams:lu,og=typeof FormData<"u"?FormData:null,sg=typeof Blob<"u"?Blob:null,ag={isBrowser:!0,classes:{URLSearchParams:lg,FormData:og,Blob:sg},protocols:["http","https","file","blob","url","data"]},ou=typeof window<"u"&&typeof document<"u",Xs=typeof navigator=="object"&&navigator||void 0,ug=ou&&(!Xs||["ReactNative","NativeScript","NS"].indexOf(Xs.product)<0),cg=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",dg=ou&&window.location.href||"http://localhost",fg=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ou,hasStandardBrowserEnv:ug,hasStandardBrowserWebWorkerEnv:cg,navigator:Xs,origin:dg},Symbol.toStringTag,{value:"Module"})),ke={...fg,...ag};function mg(e,t){return no(e,new ke.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,l){return ke.isNode&&S.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function pg(e){return S.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function hg(e){const t={},n=Object.keys(e);let r;const i=n.length;let l;for(r=0;r=n.length;return o=!o&&S.isArray(i)?i.length:o,a?(S.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!s):((!i[o]||!S.isObject(i[o]))&&(i[o]=[]),t(n,r,i[o],l)&&S.isArray(i[o])&&(i[o]=hg(i[o])),!s)}if(S.isFormData(e)&&S.isFunction(e.entries)){const n={};return S.forEachEntry(e,(r,i)=>{t(pg(r),i,n,0)}),n}return null}function vg(e,t,n){if(S.isString(e))try{return(t||JSON.parse)(e),S.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const ai={transitional:Km,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,l=S.isObject(t);if(l&&S.isHTMLForm(t)&&(t=new FormData(t)),S.isFormData(t))return i?JSON.stringify(qm(t)):t;if(S.isArrayBuffer(t)||S.isBuffer(t)||S.isStream(t)||S.isFile(t)||S.isBlob(t)||S.isReadableStream(t))return t;if(S.isArrayBufferView(t))return t.buffer;if(S.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(l){if(r.indexOf("application/x-www-form-urlencoded")>-1)return mg(t,this.formSerializer).toString();if((s=S.isFileList(t))||r.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return no(s?{"files[]":t}:t,a&&new a,this.formSerializer)}}return l||i?(n.setContentType("application/json",!1),vg(t)):t}],transformResponse:[function(t){const n=this.transitional||ai.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(S.isResponse(t)||S.isReadableStream(t))return t;if(t&&S.isString(t)&&(r&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(o)throw s.name==="SyntaxError"?L.from(s,L.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ke.classes.FormData,Blob:ke.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};S.forEach(["delete","get","head","post","put","patch"],e=>{ai.headers[e]={}});const yg=S.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),gg=e=>{const t={};let n,r,i;return e&&e.split(` -`).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||t[n]&&yg[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Dc=Symbol("internals");function hr(e){return e&&String(e).trim().toLowerCase()}function Vi(e){return e===!1||e==null?e:S.isArray(e)?e.map(Vi):String(e)}function xg(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 wg=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ho(e,t,n,r,i){if(S.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!S.isString(t)){if(S.isString(r))return t.indexOf(r)!==-1;if(S.isRegExp(r))return r.test(t)}}function Ng(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Sg(e,t){const n=S.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,l,o){return this[r].call(this,t,i,l,o)},configurable:!0})})}class _e{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function l(s,a,c){const d=hr(a);if(!d)throw new Error("header name must be a non-empty string");const f=S.findKey(i,d);(!f||i[f]===void 0||c===!0||c===void 0&&i[f]!==!1)&&(i[f||a]=Vi(s))}const o=(s,a)=>S.forEach(s,(c,d)=>l(c,d,a));if(S.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(S.isString(t)&&(t=t.trim())&&!wg(t))o(gg(t),n);else if(S.isHeaders(t))for(const[s,a]of t.entries())l(a,s,r);else t!=null&&l(n,t,r);return this}get(t,n){if(t=hr(t),t){const r=S.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return xg(i);if(S.isFunction(n))return n.call(this,i,r);if(S.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=hr(t),t){const r=S.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Ho(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function l(o){if(o=hr(o),o){const s=S.findKey(r,o);s&&(!n||Ho(r,r[s],s,n))&&(delete r[s],i=!0)}}return S.isArray(t)?t.forEach(l):l(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const l=n[r];(!t||Ho(this,this[l],l,t,!0))&&(delete this[l],i=!0)}return i}normalize(t){const n=this,r={};return S.forEach(this,(i,l)=>{const o=S.findKey(r,l);if(o){n[o]=Vi(i),delete n[l];return}const s=t?Ng(l):String(l).trim();s!==l&&delete n[l],n[s]=Vi(i),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return S.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&S.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[Dc]=this[Dc]={accessors:{}}).accessors,i=this.prototype;function l(o){const s=hr(o);r[s]||(Sg(i,o),r[s]=!0)}return S.isArray(t)?t.forEach(l):l(t),this}}_e.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);S.reduceDescriptors(_e.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});S.freezeMethods(_e);function Vo(e,t){const n=this||ai,r=t||n,i=_e.from(r.headers);let l=r.data;return S.forEach(e,function(s){l=s.call(n,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function Jm(e){return!!(e&&e.__CANCEL__)}function tr(e,t,n){L.call(this,e??"canceled",L.ERR_CANCELED,t,n),this.name="CanceledError"}S.inherits(tr,L,{__CANCEL__:!0});function Xm(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 Eg(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function kg(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,l=0,o;return t=t!==void 0?t:1e3,function(a){const c=Date.now(),d=r[l];o||(o=c),n[i]=a,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-o{n=d,i=null,l&&(clearTimeout(l),l=null),e.apply(null,c)};return[(...c)=>{const d=Date.now(),f=d-n;f>=r?o(c,d):(i=c,l||(l=setTimeout(()=>{l=null,o(i)},r-f)))},()=>i&&o(i)]}const kl=(e,t,n=3)=>{let r=0;const i=kg(50,250);return _g(l=>{const o=l.loaded,s=l.lengthComputable?l.total:void 0,a=o-r,c=i(a),d=o<=s;r=o;const f={loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:c||void 0,estimated:c&&s&&d?(s-o)/c:void 0,event:l,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(f)},n)},bc=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Uc=e=>(...t)=>S.asap(()=>e(...t)),jg=ke.hasStandardBrowserEnv?function(){const t=ke.navigator&&/(msie|trident)/i.test(ke.navigator.userAgent),n=document.createElement("a");let r;function i(l){let o=l;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{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(o){const s=S.isString(o)?i(o):o;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}(),Cg=ke.hasStandardBrowserEnv?{write(e,t,n,r,i,l){const o=[e+"="+encodeURIComponent(t)];S.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),S.isString(r)&&o.push("path="+r),S.isString(i)&&o.push("domain="+i),l===!0&&o.push("secure"),document.cookie=o.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 Og(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Pg(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Gm(e,t){return e&&!Og(t)?Pg(e,t):t}const Bc=e=>e instanceof _e?{...e}:e;function pn(e,t){t=t||{};const n={};function r(c,d,f){return S.isPlainObject(c)&&S.isPlainObject(d)?S.merge.call({caseless:f},c,d):S.isPlainObject(d)?S.merge({},d):S.isArray(d)?d.slice():d}function i(c,d,f){if(S.isUndefined(d)){if(!S.isUndefined(c))return r(void 0,c,f)}else return r(c,d,f)}function l(c,d){if(!S.isUndefined(d))return r(void 0,d)}function o(c,d){if(S.isUndefined(d)){if(!S.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function s(c,d,f){if(f in t)return r(c,d);if(f in e)return r(void 0,c)}const a={url:l,method:l,data:l,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(c,d)=>i(Bc(c),Bc(d),!0)};return S.forEach(Object.keys(Object.assign({},e,t)),function(d){const f=a[d]||i,v=f(e[d],t[d],d);S.isUndefined(v)&&f!==s||(n[d]=v)}),n}const Ym=e=>{const t=pn({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:o,auth:s}=t;t.headers=o=_e.from(o),t.url=Qm(Gm(t.baseURL,t.url),e.params,e.paramsSerializer),s&&o.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let a;if(S.isFormData(n)){if(ke.hasStandardBrowserEnv||ke.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((a=o.getContentType())!==!1){const[c,...d]=a?a.split(";").map(f=>f.trim()).filter(Boolean):[];o.setContentType([c||"multipart/form-data",...d].join("; "))}}if(ke.hasStandardBrowserEnv&&(r&&S.isFunction(r)&&(r=r(t)),r||r!==!1&&jg(t.url))){const c=i&&l&&Cg.read(l);c&&o.set(i,c)}return t},Rg=typeof XMLHttpRequest<"u",Tg=Rg&&function(e){return new Promise(function(n,r){const i=Ym(e);let l=i.data;const o=_e.from(i.headers).normalize();let{responseType:s,onUploadProgress:a,onDownloadProgress:c}=i,d,f,v,x,y;function g(){x&&x(),y&&y(),i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let N=new XMLHttpRequest;N.open(i.method.toUpperCase(),i.url,!0),N.timeout=i.timeout;function p(){if(!N)return;const h=_e.from("getAllResponseHeaders"in N&&N.getAllResponseHeaders()),k={data:!s||s==="text"||s==="json"?N.responseText:N.response,status:N.status,statusText:N.statusText,headers:h,config:e,request:N};Xm(function(P){n(P),g()},function(P){r(P),g()},k),N=null}"onloadend"in N?N.onloadend=p:N.onreadystatechange=function(){!N||N.readyState!==4||N.status===0&&!(N.responseURL&&N.responseURL.indexOf("file:")===0)||setTimeout(p)},N.onabort=function(){N&&(r(new L("Request aborted",L.ECONNABORTED,e,N)),N=null)},N.onerror=function(){r(new L("Network Error",L.ERR_NETWORK,e,N)),N=null},N.ontimeout=function(){let w=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const k=i.transitional||Km;i.timeoutErrorMessage&&(w=i.timeoutErrorMessage),r(new L(w,k.clarifyTimeoutError?L.ETIMEDOUT:L.ECONNABORTED,e,N)),N=null},l===void 0&&o.setContentType(null),"setRequestHeader"in N&&S.forEach(o.toJSON(),function(w,k){N.setRequestHeader(k,w)}),S.isUndefined(i.withCredentials)||(N.withCredentials=!!i.withCredentials),s&&s!=="json"&&(N.responseType=i.responseType),c&&([v,y]=kl(c,!0),N.addEventListener("progress",v)),a&&N.upload&&([f,x]=kl(a),N.upload.addEventListener("progress",f),N.upload.addEventListener("loadend",x)),(i.cancelToken||i.signal)&&(d=h=>{N&&(r(!h||h.type?new tr(null,e,N):h),N.abort(),N=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const m=Eg(i.url);if(m&&ke.protocols.indexOf(m)===-1){r(new L("Unsupported protocol "+m+":",L.ERR_BAD_REQUEST,e));return}N.send(l||null)})},Lg=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const l=function(c){if(!i){i=!0,s();const d=c instanceof Error?c:this.reason;r.abort(d instanceof L?d:new tr(d instanceof Error?d.message:d))}};let o=t&&setTimeout(()=>{o=null,l(new L(`timeout ${t} of ms exceeded`,L.ETIMEDOUT))},t);const s=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(l):c.removeEventListener("abort",l)}),e=null)};e.forEach(c=>c.addEventListener("abort",l));const{signal:a}=r;return a.unsubscribe=()=>S.asap(s),a}},zg=function*(e,t){let n=e.byteLength;if(!t||n{const i=Mg(e,t);let l=0,o,s=a=>{o||(o=!0,r&&r(a))};return new ReadableStream({async pull(a){try{const{done:c,value:d}=await i.next();if(c){s(),a.close();return}let f=d.byteLength;if(n){let v=l+=f;n(v)}a.enqueue(new Uint8Array(d))}catch(c){throw s(c),c}},cancel(a){return s(a),i.return()}},{highWaterMark:2})},ro=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Zm=ro&&typeof ReadableStream=="function",Ag=ro&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),ep=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Ig=Zm&&ep(()=>{let e=!1;const t=new Request(ke.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Wc=64*1024,Gs=Zm&&ep(()=>S.isReadableStream(new Response("").body)),_l={stream:Gs&&(e=>e.body)};ro&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!_l[t]&&(_l[t]=S.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new L(`Response type '${t}' is not supported`,L.ERR_NOT_SUPPORT,r)})})})(new Response);const Dg=async e=>{if(e==null)return 0;if(S.isBlob(e))return e.size;if(S.isSpecCompliantForm(e))return(await new Request(ke.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(S.isArrayBufferView(e)||S.isArrayBuffer(e))return e.byteLength;if(S.isURLSearchParams(e)&&(e=e+""),S.isString(e))return(await Ag(e)).byteLength},bg=async(e,t)=>{const n=S.toFiniteNumber(e.getContentLength());return n??Dg(t)},Ug=ro&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:l,timeout:o,onDownloadProgress:s,onUploadProgress:a,responseType:c,headers:d,withCredentials:f="same-origin",fetchOptions:v}=Ym(e);c=c?(c+"").toLowerCase():"text";let x=Lg([i,l&&l.toAbortSignal()],o),y;const g=x&&x.unsubscribe&&(()=>{x.unsubscribe()});let N;try{if(a&&Ig&&n!=="get"&&n!=="head"&&(N=await bg(d,r))!==0){let k=new Request(t,{method:"POST",body:r,duplex:"half"}),j;if(S.isFormData(r)&&(j=k.headers.get("content-type"))&&d.setContentType(j),k.body){const[P,C]=bc(N,kl(Uc(a)));r=$c(k.body,Wc,P,C)}}S.isString(f)||(f=f?"include":"omit");const p="credentials"in Request.prototype;y=new Request(t,{...v,signal:x,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:p?f:void 0});let m=await fetch(y);const h=Gs&&(c==="stream"||c==="response");if(Gs&&(s||h&&g)){const k={};["status","statusText","headers"].forEach(I=>{k[I]=m[I]});const j=S.toFiniteNumber(m.headers.get("content-length")),[P,C]=s&&bc(j,kl(Uc(s),!0))||[];m=new Response($c(m.body,Wc,P,()=>{C&&C(),g&&g()}),k)}c=c||"text";let w=await _l[S.findKey(_l,c)||"text"](m,e);return!h&&g&&g(),await new Promise((k,j)=>{Xm(k,j,{data:w,headers:_e.from(m.headers),status:m.status,statusText:m.statusText,config:e,request:y})})}catch(p){throw g&&g(),p&&p.name==="TypeError"&&/fetch/i.test(p.message)?Object.assign(new L("Network Error",L.ERR_NETWORK,e,y),{cause:p.cause||p}):L.from(p,p&&p.code,e,y)}}),Ys={http:tg,xhr:Tg,fetch:Ug};S.forEach(Ys,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Hc=e=>`- ${e}`,Bg=e=>S.isFunction(e)||e===null||e===!1,tp={getAdapter:e=>{e=S.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let l=0;l`adapter ${s} `+(a===!1?"is not supported by the environment":"is not available in the build"));let o=t?l.length>1?`since : -`+l.map(Hc).join(` -`):" "+Hc(l[0]):"as no adapter specified";throw new L("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:Ys};function Qo(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new tr(null,e)}function Vc(e){return Qo(e),e.headers=_e.from(e.headers),e.data=Vo.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),tp.getAdapter(e.adapter||ai.adapter)(e).then(function(r){return Qo(e),r.data=Vo.call(e,e.transformResponse,r),r.headers=_e.from(r.headers),r},function(r){return Jm(r)||(Qo(e),r&&r.response&&(r.response.data=Vo.call(e,e.transformResponse,r.response),r.response.headers=_e.from(r.response.headers))),Promise.reject(r)})}const np="1.7.7",su={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{su[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Qc={};su.transitional=function(t,n,r){function i(l,o){return"[Axios v"+np+"] Transitional option '"+l+"'"+o+(r?". "+r:"")}return(l,o,s)=>{if(t===!1)throw new L(i(o," has been removed"+(n?" in "+n:"")),L.ERR_DEPRECATED);return n&&!Qc[o]&&(Qc[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(l,o,s):!0}};function $g(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],o=t[l];if(o){const s=e[l],a=s===void 0||o(s,l,e);if(a!==!0)throw new L("option "+l+" must be "+a,L.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new L("Unknown option "+l,L.ERR_BAD_OPTION)}}const Zs={assertOptions:$g,validators:su},gt=Zs.validators;class on{constructor(t){this.defaults=t,this.interceptors={request:new Ic,response:new Ic}}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=pn(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:l}=n;r!==void 0&&Zs.assertOptions(r,{silentJSONParsing:gt.transitional(gt.boolean),forcedJSONParsing:gt.transitional(gt.boolean),clarifyTimeoutError:gt.transitional(gt.boolean)},!1),i!=null&&(S.isFunction(i)?n.paramsSerializer={serialize:i}:Zs.assertOptions(i,{encode:gt.function,serialize:gt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=l&&S.merge(l.common,l[n.method]);l&&S.forEach(["delete","get","head","post","put","patch","common"],y=>{delete l[y]}),n.headers=_e.concat(o,l);const s=[];let a=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(a=a&&g.synchronous,s.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let d,f=0,v;if(!a){const y=[Vc.bind(this),void 0];for(y.unshift.apply(y,s),y.push.apply(y,c),v=y.length,d=Promise.resolve(n);f{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 o=new Promise(s=>{r.subscribe(s),l=s}).then(i);return o.cancel=function(){r.unsubscribe(l)},o},t(function(l,o,s){r.reason||(r.reason=new tr(l,o,s),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 au(function(i){t=i}),cancel:t}}}function Wg(e){return function(n){return e.apply(null,n)}}function Hg(e){return S.isObject(e)&&e.isAxiosError===!0}const ea={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,NetworkAuthenticationRequired:511};Object.entries(ea).forEach(([e,t])=>{ea[t]=e});function rp(e){const t=new on(e),n=Mm(on.prototype.request,t);return S.extend(n,on.prototype,t,{allOwnKeys:!0}),S.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return rp(pn(e,i))},n}const Z=rp(ai);Z.Axios=on;Z.CanceledError=tr;Z.CancelToken=au;Z.isCancel=Jm;Z.VERSION=np;Z.toFormData=no;Z.AxiosError=L;Z.Cancel=Z.CanceledError;Z.all=function(t){return Promise.all(t)};Z.spread=Wg;Z.isAxiosError=Hg;Z.mergeConfig=pn;Z.AxiosHeaders=_e;Z.formToJSON=e=>qm(S.isHTMLForm(e)?new FormData(e):e);Z.getAdapter=tp.getAdapter;Z.HttpStatusCode=ea;Z.default=Z;const Vg="http://67.225.129.127:3002",uu=Z.create({baseURL:Vg});uu.interceptors.request.use(e=>(localStorage.getItem("profile")&&(e.headers.Authorization=`Bearer ${JSON.parse(localStorage.getItem("profile")).token}`),e));const Qg=e=>uu.post("/users/signup",e),Kg=e=>uu.post("/users/signin",e),Qi=Yl("auth/login",async({formValue:e,navigate:t,toast:n},{rejectWithValue:r})=>{try{const i=await Kg(e);return n.success("Login Successfully"),t("/dashboard"),i.data}catch(i){return r(i.response.data)}}),Ki=Yl("auth/register",async({formValue:e,navigate:t,toast:n},{rejectWithValue:r})=>{try{const i=await Qg(e);return n.success("Register Successfully"),t("/"),i.data}catch(i){return r(i.response.data)}}),Ko=Yl("auth/updateUser",async({id:e,data:t},{rejectWithValue:n})=>{try{return(await(void 0)(t,e)).data}catch(r){return n(r.response.data)}}),ip=zm({name:"auth",initialState:{user:null,error:"",loading:!1},reducers:{setUser:(e,t)=>{e.user=t.payload},setLogout:e=>{localStorage.clear(),e.user=null},setUserDetails:(e,t)=>{e.user=t.payload}},extraReducers:e=>{e.addCase(Qi.pending,t=>{t.loading=!0}).addCase(Qi.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.user=n.payload}).addCase(Qi.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message}).addCase(Ki.pending,t=>{t.loading=!0}).addCase(Ki.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.user=n.payload}).addCase(Ki.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message}).addCase(Ko.pending,t=>{t.loading=!0}).addCase(Ko.fulfilled,(t,n)=>{t.loading=!1,t.user=n.payload}).addCase(Ko.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message})}});ip.actions;const qg=ip.reducer,Jg=Xv({reducer:{auth:qg}});/** - * @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 - */function Zr(){return Zr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function lp(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Gg(){return Math.random().toString(36).substr(2,8)}function qc(e,t){return{usr:e.state,key:e.key,idx:t}}function ta(e,t,n,r){return n===void 0&&(n=null),Zr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?nr(t):t,{state:n,key:t&&t.key||r||Gg()})}function jl(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 nr(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 Yg(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:l=!1}=r,o=i.history,s=Ot.Pop,a=null,c=d();c==null&&(c=0,o.replaceState(Zr({},o.state,{idx:c}),""));function d(){return(o.state||{idx:null}).idx}function f(){s=Ot.Pop;let N=d(),p=N==null?null:N-c;c=N,a&&a({action:s,location:g.location,delta:p})}function v(N,p){s=Ot.Push;let m=ta(g.location,N,p);c=d()+1;let h=qc(m,c),w=g.createHref(m);try{o.pushState(h,"",w)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;i.location.assign(w)}l&&a&&a({action:s,location:g.location,delta:1})}function x(N,p){s=Ot.Replace;let m=ta(g.location,N,p);c=d();let h=qc(m,c),w=g.createHref(m);o.replaceState(h,"",w),l&&a&&a({action:s,location:g.location,delta:0})}function y(N){let p=i.location.origin!=="null"?i.location.origin:i.location.href,m=typeof N=="string"?N:jl(N);return m=m.replace(/ $/,"%20"),J(p,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,p)}let g={get action(){return s},get location(){return e(i,o)},listen(N){if(a)throw new Error("A history only accepts one active listener");return i.addEventListener(Kc,f),a=N,()=>{i.removeEventListener(Kc,f),a=null}},createHref(N){return t(i,N)},createURL:y,encodeLocation(N){let p=y(N);return{pathname:p.pathname,search:p.search,hash:p.hash}},push:v,replace:x,go(N){return o.go(N)}};return g}var Jc;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Jc||(Jc={}));function Zg(e,t,n){return n===void 0&&(n="/"),e1(e,t,n,!1)}function e1(e,t,n,r){let i=typeof t=="string"?nr(t):t,l=Xn(i.pathname||"/",n);if(l==null)return null;let o=op(e);t1(o);let s=null;for(let a=0;s==null&&a{let a={relativePath:s===void 0?l.path||"":s,caseSensitive:l.caseSensitive===!0,childrenIndex:o,route:l};a.relativePath.startsWith("/")&&(J(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 c=It([r,a.relativePath]),d=n.concat(a);l.children&&l.children.length>0&&(J(l.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),op(l.children,t,d,c)),!(l.path==null&&!l.index)&&t.push({path:c,score:a1(c,l.index),routesMeta:d})};return e.forEach((l,o)=>{var s;if(l.path===""||!((s=l.path)!=null&&s.includes("?")))i(l,o);else for(let a of sp(l.path))i(l,o,a)}),t}function sp(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),l=n.replace(/\?$/,"");if(r.length===0)return i?[l,""]:[l];let o=sp(r.join("/")),s=[];return s.push(...o.map(a=>a===""?l:[l,a].join("/"))),i&&s.push(...o),s.map(a=>e.startsWith("/")&&a===""?"/":a)}function t1(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:u1(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const n1=/^:[\w-]+$/,r1=3,i1=2,l1=1,o1=10,s1=-2,Xc=e=>e==="*";function a1(e,t){let n=e.split("/"),r=n.length;return n.some(Xc)&&(r+=s1),t&&(r+=i1),n.filter(i=>!Xc(i)).reduce((i,l)=>i+(n1.test(l)?r1:l===""?l1:o1),r)}function u1(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function c1(e,t,n){let{routesMeta:r}=e,i={},l="/",o=[];for(let s=0;s{let{paramName:v,isOptional:x}=d;if(v==="*"){let g=s[f]||"";o=l.slice(0,l.length-g.length).replace(/(.)\/+$/,"$1")}const y=s[f];return x&&!y?c[v]=void 0:c[v]=(y||"").replace(/%2F/g,"/"),c},{}),pathname:l,pathnameBase:o,pattern:e}}function d1(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),lp(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,a)=>(r.push({paramName:s,isOptional:a!=null}),a?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function f1(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return lp(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Xn(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function m1(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?nr(e):e;return{pathname:n?n.startsWith("/")?n:p1(n,t):t,search:y1(r),hash:g1(i)}}function p1(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function qo(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function h1(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function ap(e,t){let n=h1(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function up(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=nr(e):(i=Zr({},e),J(!i.pathname||!i.pathname.includes("?"),qo("?","pathname","search",i)),J(!i.pathname||!i.pathname.includes("#"),qo("#","pathname","hash",i)),J(!i.search||!i.search.includes("#"),qo("#","search","hash",i)));let l=e===""||i.pathname==="",o=l?"/":i.pathname,s;if(o==null)s=n;else{let f=t.length-1;if(!r&&o.startsWith("..")){let v=o.split("/");for(;v[0]==="..";)v.shift(),f-=1;i.pathname=v.join("/")}s=f>=0?t[f]:"/"}let a=m1(i,s),c=o&&o!=="/"&&o.endsWith("/"),d=(l||o===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(c||d)&&(a.pathname+="/"),a}const It=e=>e.join("/").replace(/\/\/+/g,"/"),v1=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),y1=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,g1=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function x1(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const cp=["post","put","patch","delete"];new Set(cp);const w1=["get",...cp];new Set(w1);/** - * 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 - */function ei(){return ei=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),O.useCallback(function(c,d){if(d===void 0&&(d={}),!s.current)return;if(typeof c=="number"){r.go(c);return}let f=up(c,JSON.parse(o),l,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:It([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,o,l,e])}function so(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=O.useContext(Ht),{matches:i}=O.useContext(yn),{pathname:l}=ci(),o=JSON.stringify(ap(i,r.v7_relativeSplatPath));return O.useMemo(()=>up(e,JSON.parse(o),l,n==="path"),[e,o,l,n])}function E1(e,t){return k1(e,t)}function k1(e,t,n,r){ui()||J(!1);let{navigator:i}=O.useContext(Ht),{matches:l}=O.useContext(yn),o=l[l.length-1],s=o?o.params:{};o&&o.pathname;let a=o?o.pathnameBase:"/";o&&o.route;let c=ci(),d;if(t){var f;let N=typeof t=="string"?nr(t):t;a==="/"||(f=N.pathname)!=null&&f.startsWith(a)||J(!1),d=N}else d=c;let v=d.pathname||"/",x=v;if(a!=="/"){let N=a.replace(/^\//,"").split("/");x="/"+v.replace(/^\//,"").split("/").slice(N.length).join("/")}let y=Zg(e,{pathname:x}),g=P1(y&&y.map(N=>Object.assign({},N,{params:Object.assign({},s,N.params),pathname:It([a,i.encodeLocation?i.encodeLocation(N.pathname).pathname:N.pathname]),pathnameBase:N.pathnameBase==="/"?a:It([a,i.encodeLocation?i.encodeLocation(N.pathnameBase).pathname:N.pathnameBase])})),l,n,r);return t&&g?O.createElement(lo.Provider,{value:{location:ei({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Ot.Pop}},g):g}function _1(){let e=z1(),t=x1(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 j1=O.createElement(_1,null);class C1 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(yn.Provider,{value:this.props.routeContext},O.createElement(fp.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function O1(e){let{routeContext:t,match:n,children:r}=e,i=O.useContext(io);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),O.createElement(yn.Provider,{value:t},r)}function P1(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var l;if(!n)return null;if(n.errors)e=n.matches;else if((l=r)!=null&&l.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,s=(i=n)==null?void 0:i.errors;if(s!=null){let d=o.findIndex(f=>f.route.id&&(s==null?void 0:s[f.route.id])!==void 0);d>=0||J(!1),o=o.slice(0,Math.min(o.length,d+1))}let a=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?o=o.slice(0,c+1):o=[o[0]];break}}}return o.reduceRight((d,f,v)=>{let x,y=!1,g=null,N=null;n&&(x=s&&f.route.id?s[f.route.id]:void 0,g=f.route.errorElement||j1,a&&(c<0&&v===0?(y=!0,N=null):c===v&&(y=!0,N=f.route.hydrateFallbackElement||null)));let p=t.concat(o.slice(0,v+1)),m=()=>{let h;return x?h=g:y?h=N:f.route.Component?h=O.createElement(f.route.Component,null):f.route.element?h=f.route.element:h=d,O.createElement(O1,{match:f,routeContext:{outlet:d,matches:p,isDataRoute:n!=null},children:h})};return n&&(f.route.ErrorBoundary||f.route.errorElement||v===0)?O.createElement(C1,{location:n.location,revalidation:n.revalidation,component:g,error:x,children:m(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):m()},null)}var pp=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(pp||{}),Ol=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Ol||{});function R1(e){let t=O.useContext(io);return t||J(!1),t}function T1(e){let t=O.useContext(dp);return t||J(!1),t}function L1(e){let t=O.useContext(yn);return t||J(!1),t}function hp(e){let t=L1(),n=t.matches[t.matches.length-1];return n.route.id||J(!1),n.route.id}function z1(){var e;let t=O.useContext(fp),n=T1(Ol.UseRouteError),r=hp(Ol.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function M1(){let{router:e}=R1(pp.UseNavigateStable),t=hp(Ol.UseNavigateStable),n=O.useRef(!1);return mp(()=>{n.current=!0}),O.useCallback(function(i,l){l===void 0&&(l={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,ei({fromRouteId:t},l)))},[e,t])}function Gt(e){J(!1)}function F1(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Ot.Pop,navigator:l,static:o=!1,future:s}=e;ui()&&J(!1);let a=t.replace(/^\/*/,"/"),c=O.useMemo(()=>({basename:a,navigator:l,static:o,future:ei({v7_relativeSplatPath:!1},s)}),[a,s,l,o]);typeof r=="string"&&(r=nr(r));let{pathname:d="/",search:f="",hash:v="",state:x=null,key:y="default"}=r,g=O.useMemo(()=>{let N=Xn(d,a);return N==null?null:{location:{pathname:N,search:f,hash:v,state:x,key:y},navigationType:i}},[a,d,f,v,x,y,i]);return g==null?null:O.createElement(Ht.Provider,{value:c},O.createElement(lo.Provider,{children:n,value:g}))}function A1(e){let{children:t,location:n}=e;return E1(na(t),n)}new Promise(()=>{});function na(e,t){t===void 0&&(t=[]);let n=[];return O.Children.forEach(e,(r,i)=>{if(!O.isValidElement(r))return;let l=[...t,i];if(r.type===O.Fragment){n.push.apply(n,na(r.props.children,l));return}r.type!==Gt&&J(!1),!r.props.index||!r.props.children||J(!1);let o={id:r.props.id||l.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=na(r.props.children,l)),n.push(o)}),n}/** - * 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 - */function Pl(){return Pl=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function I1(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function D1(e,t){return e.button===0&&(!t||t==="_self")&&!I1(e)}const b1=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],U1=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],B1="6";try{window.__reactRouterVersion=B1}catch{}const $1=O.createContext({isTransitioning:!1}),W1="startTransition",Gc=Jo[W1];function H1(e){let{basename:t,children:n,future:r,window:i}=e,l=O.useRef();l.current==null&&(l.current=Xg({window:i,v5Compat:!0}));let o=l.current,[s,a]=O.useState({action:o.action,location:o.location}),{v7_startTransition:c}=r||{},d=O.useCallback(f=>{c&&Gc?Gc(()=>a(f)):a(f)},[a,c]);return O.useLayoutEffect(()=>o.listen(d),[o,d]),O.createElement(F1,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:o,future:r})}const V1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Q1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,K1=O.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:l,replace:o,state:s,target:a,to:c,preventScrollReset:d,unstable_viewTransition:f}=t,v=vp(t,b1),{basename:x}=O.useContext(Ht),y,g=!1;if(typeof c=="string"&&Q1.test(c)&&(y=c,V1))try{let h=new URL(window.location.href),w=c.startsWith("//")?new URL(h.protocol+c):new URL(c),k=Xn(w.pathname,x);w.origin===h.origin&&k!=null?c=k+w.search+w.hash:g=!0}catch{}let N=N1(c,{relative:i}),p=J1(c,{replace:o,state:s,target:a,preventScrollReset:d,relative:i,unstable_viewTransition:f});function m(h){r&&r(h),h.defaultPrevented||p(h)}return O.createElement("a",Pl({},v,{href:y||N,onClick:g||l?r:m,ref:n,target:a}))}),Kt=O.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:l="",end:o=!1,style:s,to:a,unstable_viewTransition:c,children:d}=t,f=vp(t,U1),v=so(a,{relative:f.relative}),x=ci(),y=O.useContext(dp),{navigator:g,basename:N}=O.useContext(Ht),p=y!=null&&X1(v)&&c===!0,m=g.encodeLocation?g.encodeLocation(v).pathname:v.pathname,h=x.pathname,w=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;i||(h=h.toLowerCase(),w=w?w.toLowerCase():null,m=m.toLowerCase()),w&&N&&(w=Xn(w,N)||w);const k=m!=="/"&&m.endsWith("/")?m.length-1:m.length;let j=h===m||!o&&h.startsWith(m)&&h.charAt(k)==="/",P=w!=null&&(w===m||!o&&w.startsWith(m)&&w.charAt(m.length)==="/"),C={isActive:j,isPending:P,isTransitioning:p},I=j?r:void 0,z;typeof l=="function"?z=l(C):z=[l,j?"active":null,P?"pending":null,p?"transitioning":null].filter(Boolean).join(" ");let me=typeof s=="function"?s(C):s;return O.createElement(K1,Pl({},f,{"aria-current":I,className:z,ref:n,style:me,to:a,unstable_viewTransition:c}),typeof d=="function"?d(C):d)});var ra;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ra||(ra={}));var Yc;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Yc||(Yc={}));function q1(e){let t=O.useContext(io);return t||J(!1),t}function J1(e,t){let{target:n,replace:r,state:i,preventScrollReset:l,relative:o,unstable_viewTransition:s}=t===void 0?{}:t,a=oo(),c=ci(),d=so(e,{relative:o});return O.useCallback(f=>{if(D1(f,n)){f.preventDefault();let v=r!==void 0?r:jl(c)===jl(d);a(e,{replace:v,state:i,preventScrollReset:l,relative:o,unstable_viewTransition:s})}},[c,a,d,r,i,n,e,l,o,s])}function X1(e,t){t===void 0&&(t={});let n=O.useContext($1);n==null&&J(!1);let{basename:r}=q1(ra.useViewTransitionState),i=so(e,{relative:t.relative});if(!n.isTransitioning)return!1;let l=Xn(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=Xn(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Cl(i.pathname,o)!=null||Cl(i.pathname,l)!=null}const rr=()=>{const e=new Date().getFullYear();return u.jsxs(u.Fragment,{children:[u.jsx("div",{className:"header_top_section",children:u.jsx("div",{className:"container",children:u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-sm-12",children:u.jsxs("div",{className:"header_top_main",children:[u.jsx("div",{className:"call_text",children:u.jsxs("a",{href:"#",children:[u.jsx("i",{className:"fa fa-phone","aria-hidden":"true"})," ","+01-40-114-6855"]})}),u.jsx("div",{className:"call_text_2",children:u.jsxs("a",{href:"#",children:[u.jsx("i",{className:"fa fa-envelope","aria-hidden":"true"})," ","support@estatesfunding.com"]})}),u.jsx("div",{className:"call_text_1",children:u.jsxs("a",{href:"#",children:[u.jsx("i",{className:"fa fa-map-marker","aria-hidden":"true"})," ","Mordern Tawon Mosco"]})})]})})})})}),u.jsx("div",{className:"copyright_section",children:u.jsx("div",{className:"container",children:u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-sm-12",children:u.jsxs("p",{className:"copyright_text",children:[e," All Rights Reserved."]})})})})})]})},G1="/assets/logo-Cb1x1exd.png",ir=()=>u.jsx(u.Fragment,{children:u.jsx("div",{className:"container-fluid p-0 m-0",children:u.jsx("nav",{className:"navbar navbar-expand-lg w-100",style:{backgroundColor:"#000000",position:"fixed",top:0,left:0,right:0,zIndex:1e3},children:u.jsxs("div",{className:"container-fluid d-flex align-items-center justify-content-between",children:[u.jsxs("div",{className:"d-flex align-items-center",children:[u.jsx("img",{src:G1,alt:"logo",width:"75",height:"75",className:"img-fluid"}),u.jsx("p",{style:{display:"inline-block",fontStyle:"italic",fontSize:"14px",color:"white",margin:"0 0 0 10px"}})]}),u.jsxs("div",{className:"collapse navbar-collapse",id:"navbarSupportedContent",children:[u.jsxs("ul",{className:"navbar-nav ml-auto",children:[u.jsx("li",{className:"nav-item active",children:u.jsx(Kt,{to:"/",className:"nav-link",children:"Home"})}),u.jsx("li",{className:"nav-item",children:u.jsx(Kt,{to:"/services",className:"nav-link",children:"Services"})}),u.jsx("li",{className:"nav-item",children:u.jsx(Kt,{to:"/about",className:"nav-link",children:"About"})}),u.jsx("li",{className:"nav-item",children:u.jsx(Kt,{to:"/projects",className:"nav-link",children:"Project"})}),u.jsx("li",{className:"nav-item",children:u.jsx(Kt,{to:"/contact",className:"nav-link",children:"Contact Us"})})]}),u.jsxs("form",{className:"form-inline my-2 my-lg-0",children:[u.jsx("div",{className:"login_text",children:u.jsxs("ul",{children:[u.jsx("li",{children:u.jsx(Kt,{to:"/login",className:"nav-link",children:"Login"})}),u.jsx("li",{children:u.jsx("a",{href:"#",children:u.jsx("i",{className:"fa fa-user","aria-hidden":"true"})})})]})}),u.jsx("div",{className:"quote_btn",children:u.jsx(Kt,{to:"/register",className:"nav-link",children:"Register"})})]})]})]})})})}),Y1=()=>u.jsxs(u.Fragment,{children:[u.jsx(ir,{}),u.jsx("br",{})," ",u.jsx("br",{})," ",u.jsx("br",{})," ",u.jsx("br",{})," ",u.jsx("br",{}),u.jsxs("div",{children:[u.jsx("div",{className:"header_section",children:u.jsx("div",{className:"banner_section layout_padding",children:u.jsxs("div",{id:"my_slider",className:"carousel slide","data-ride":"carousel",children:[u.jsxs("div",{className:"carousel-inner",children:[u.jsx("div",{className:"carousel-item active",children:u.jsx("div",{className:"container",children:u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-sm-12",children:u.jsxs("div",{className:"banner_taital_main",children:[u.jsx("h1",{className:"banner_taital",children:"Reinventing real estate investment"}),u.jsxs("p",{className:"banner_text",children:["Owners/operators, and real estate investment firms to excel in what they do best: finding new opportunities"," "]}),u.jsxs("div",{className:"btn_main",children:[u.jsx("div",{className:"started_text active",children:u.jsx("a",{href:"#",children:"Contact US"})}),u.jsx("div",{className:"started_text",children:u.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),u.jsx("div",{className:"carousel-item",children:u.jsx("div",{className:"container",children:u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-sm-12",children:u.jsxs("div",{className:"banner_taital_main",children:[u.jsx("h1",{className:"banner_taital",children:"streamline investment management"}),u.jsxs("p",{className:"banner_text",children:["Best possible experience to our customers and their investors."," "]}),u.jsxs("div",{className:"btn_main",children:[u.jsx("div",{className:"started_text active",children:u.jsx("a",{href:"#",children:"Contact US"})}),u.jsx("div",{className:"started_text",children:u.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),u.jsx("div",{className:"carousel-item",children:u.jsx("div",{className:"container",children:u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-sm-12",children:u.jsxs("div",{className:"banner_taital_main",children:[u.jsx("h1",{className:"banner_taital",children:"Increase your efficiency and security"}),u.jsxs("p",{className:"banner_text",children:["All-in-one real estate investment management platform with 100% security tools"," "]}),u.jsxs("div",{className:"btn_main",children:[u.jsx("div",{className:"started_text active",children:u.jsx("a",{href:"#",children:"Contact US"})}),u.jsx("div",{className:"started_text",children:u.jsx("a",{href:"#",children:"About Us"})})]})]})})})})})]}),u.jsx("a",{className:"carousel-control-prev",href:"#my_slider",role:"button","data-slide":"prev",children:u.jsx("i",{className:"fa fa-angle-left"})}),u.jsx("a",{className:"carousel-control-next",href:"#my_slider",role:"button","data-slide":"next",children:u.jsx("i",{className:"fa fa-angle-right"})})]})})}),u.jsx("div",{className:"services_section layout_padding",children:u.jsxs("div",{className:"container-fluid",children:[u.jsx("div",{className:"row",children:u.jsxs("div",{className:"col-sm-12",children:[u.jsx("h1",{className:"services_taital",children:"Our Services"}),u.jsx("p",{className:"services_text_1",children:"your documents, always and immediately within reach"})]})}),u.jsx("div",{className:"services_section_2",children:u.jsxs("div",{className:"row",children:[u.jsx("div",{className:"col-lg-3 col-sm-6",children:u.jsxs("div",{className:"box_main active",children:[u.jsx("div",{className:"service_img",children:u.jsx("img",{src:"images/icon-1.png"})}),u.jsx("h4",{className:"development_text",children:"Dedication Services"}),u.jsx("p",{className:"services_text",children:"Real estate investing even on a very small scale remains a tried and true means of building and individual cash flow and wealth"}),u.jsx("div",{className:"readmore_bt",children:u.jsx("a",{href:"#",children:"Read More"})})]})}),u.jsx("div",{className:"col-lg-3 col-sm-6",children:u.jsxs("div",{className:"box_main",children:[u.jsx("div",{className:"service_img",children:u.jsx("img",{src:"images/icon-2.png"})}),u.jsx("h4",{className:"development_text",children:"Building work Reports"}),u.jsx("p",{className:"services_text",children:"Deliver all the reports your investors need. Eliminate manual work and human errors with automatic distribution and allocation"}),u.jsx("div",{className:"readmore_bt",children:u.jsx("a",{href:"#",children:"Read More"})})]})}),u.jsx("div",{className:"col-lg-3 col-sm-6",children:u.jsxs("div",{className:"box_main",children:[u.jsx("div",{className:"service_img",children:u.jsx("img",{src:"images/icon-3.png"})}),u.jsx("h4",{className:"development_text",children:"Reporting continuously"}),u.jsx("p",{className:"services_text",children:"Streamlining investor interactions, gaining complete visibility into your data, and using smart filters to create automatic workflows"}),u.jsx("div",{className:"readmore_bt",children:u.jsx("a",{href:"#",children:"Read More"})})]})}),u.jsx("div",{className:"col-lg-3 col-sm-6",children:u.jsxs("div",{className:"box_main",children:[u.jsx("div",{className:"service_img",children:u.jsx("img",{src:"images/icon-4.png"})}),u.jsx("h4",{className:"development_text",children:"Manage your investment "}),u.jsx("p",{className:"services_text",children:"We offer a comprehensive set of tools and services to fully facilitate all your real estate investment management needs"}),u.jsx("div",{className:"readmore_bt",children:u.jsx("a",{href:"#",children:"Read More"})})]})})]})})]})}),u.jsxs("div",{className:"projects_section layout_padding",children:[u.jsx("div",{className:"container",children:u.jsx("div",{className:"row",children:u.jsxs("div",{className:"col-md-12",children:[u.jsx("h1",{className:"projects_taital",children:"Projects"}),u.jsx("div",{className:"nav-tabs-navigation",children:u.jsx("div",{className:"nav-tabs-wrapper",children:u.jsxs("ul",{className:"nav ","data-tabs":"tabs",children:[u.jsx("li",{className:"nav-item",children:u.jsx("a",{className:"nav-link active",href:"#","data-toggle":"tab",children:"Category filter"})}),u.jsx("li",{className:"nav-item",children:u.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"All"})}),u.jsx("li",{className:"nav-item",children:u.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Paintingl"})}),u.jsx("li",{className:"nav-item",children:u.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Reconstructionl"})}),u.jsx("li",{className:"nav-item",children:u.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Repairsl"})}),u.jsx("li",{className:"nav-item",children:u.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Residentall"})})]})})})]})})}),u.jsx("div",{className:"projects_section_2 layout_padding",children:u.jsx("div",{className:"container",children:u.jsx("div",{className:"pets_section",children:u.jsx("div",{className:"pets_section_2",children:u.jsx("div",{id:"main_slider",className:"carousel slide","data-ride":"carousel",children:u.jsxs("div",{className:"carousel-inner",children:[u.jsx("div",{className:"carousel-item active",children:u.jsxs("div",{className:"row",children:[u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})}),u.jsx("div",{className:"carousel-item",children:u.jsxs("div",{className:"row",children:[u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})}),u.jsx("div",{className:"carousel-item",children:u.jsxs("div",{className:"row",children:[u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),u.jsxs("div",{className:"col-md-4",children:[u.jsxs("div",{className:"container_main",children:[u.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),u.jsx("div",{className:"overlay",children:u.jsx("div",{className:"text",children:u.jsx("h4",{className:"some_text",children:u.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),u.jsxs("div",{className:"project_main",children:[u.jsx("h2",{className:"work_text",children:"Home Work"}),u.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})})]})})})})})})]}),u.jsx(rr,{})]})]}),Z1=()=>u.jsxs(u.Fragment,{children:[u.jsx(ir,{}),u.jsxs("div",{className:"about_section layout_padding",children:[u.jsx("br",{})," ",u.jsx("br",{})," ",u.jsx("br",{}),u.jsx("div",{className:"container",children:u.jsxs("div",{className:"row",children:[u.jsxs("div",{className:"col-md-6",children:[u.jsx("h1",{className:"about_taital",children:"About Us"}),u.jsxs("p",{className:"about_text",children:["There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All"," "]}),u.jsx("div",{className:"read_bt_1",children:u.jsx("a",{href:"#",children:"Read More"})})]}),u.jsx("div",{className:"col-md-6",children:u.jsx("div",{className:"about_img",children:u.jsx("div",{className:"video_bt",children:u.jsx("div",{className:"play_icon",children:u.jsx("img",{src:"images/play-icon.png"})})})})})]})}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("br",{})]}),u.jsx(rr,{})]}),ex=()=>u.jsxs(u.Fragment,{children:[u.jsx(ir,{}),u.jsxs("div",{className:"contact_section layout_padding",children:[u.jsx("div",{className:"container",children:u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-md-12",children:u.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),u.jsx("div",{className:"container-fluid",children:u.jsx("div",{className:"contact_section_2",children:u.jsxs("div",{className:"row",children:[u.jsx("div",{className:"col-md-6",children:u.jsx("form",{action:!0,children:u.jsxs("div",{className:"mail_section_1",children:[u.jsx("input",{type:"text",className:"mail_text",placeholder:"Name",name:"Name"}),u.jsx("input",{type:"text",className:"mail_text",placeholder:"Phone Number",name:"Phone Number"}),u.jsx("input",{type:"text",className:"mail_text",placeholder:"Email",name:"Email"}),u.jsx("textarea",{className:"massage-bt",placeholder:"Massage",rows:5,id:"comment",name:"Massage",defaultValue:""}),u.jsx("div",{className:"send_bt",children:u.jsx("a",{href:"#",children:"SEND"})})]})})}),u.jsx("div",{className:"col-md-6 padding_left_15",children:u.jsx("div",{className:"contact_img",children:u.jsx("img",{src:"images/contact-img.png"})})})]})})})]}),u.jsx(rr,{})]}),cu=e=>typeof e=="number"&&!isNaN(e),Tr=e=>typeof e=="string",yp=e=>typeof e=="function",tx=e=>O.isValidElement(e)||Tr(e)||yp(e)||cu(e),nt=new Map;let ia=[];const Zc=new Set,gp=()=>nt.size>0;function nx(e,t){var n;if(t)return!((n=nt.get(t))==null||!n.isToastActive(e));let r=!1;return nt.forEach(i=>{i.isToastActive(e)&&(r=!0)}),r}function rx(e,t){tx(e)&&(gp()||ia.push({content:e,options:t}),nt.forEach(n=>{n.buildToast(e,t)}))}function ed(e,t){nt.forEach(n=>{t!=null&&t!=null&&t.containerId?(t==null?void 0:t.containerId)===n.id&&n.toggle(e,t==null?void 0:t.id):n.toggle(e,t==null?void 0:t.id)})}let ix=1;const xp=()=>""+ix++;function lx(e){return e&&(Tr(e.toastId)||cu(e.toastId))?e.toastId:xp()}function Lr(e,t){return rx(e,t),t.toastId}function Rl(e,t){return{...t,type:t&&t.type||e,toastId:lx(t)}}function Ti(e){return(t,n)=>Lr(t,Rl(e,n))}function b(e,t){return Lr(e,Rl("default",t))}b.loading=(e,t)=>Lr(e,Rl("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),b.promise=function(e,t,n){let r,{pending:i,error:l,success:o}=t;i&&(r=Tr(i)?b.loading(i,n):b.loading(i.render,{...n,...i}));const s={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},a=(d,f,v)=>{if(f==null)return void b.dismiss(r);const x={type:d,...s,...n,data:v},y=Tr(f)?{render:f}:f;return r?b.update(r,{...x,...y}):b(y.render,{...x,...y}),v},c=yp(e)?e():e;return c.then(d=>a("success",o,d)).catch(d=>a("error",l,d)),c},b.success=Ti("success"),b.info=Ti("info"),b.error=Ti("error"),b.warning=Ti("warning"),b.warn=b.warning,b.dark=(e,t)=>Lr(e,Rl("default",{theme:"dark",...t})),b.dismiss=function(e){(function(t){var n;if(gp()){if(t==null||Tr(n=t)||cu(n))nt.forEach(r=>{r.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const r=nt.get(t.containerId);r?r.removeToast(t.id):nt.forEach(i=>{i.removeToast(t.id)})}}else ia=ia.filter(r=>t!=null&&r.options.toastId!==t)})(e)},b.clearWaitingQueue=function(e){e===void 0&&(e={}),nt.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},b.isActive=nx,b.update=function(e,t){t===void 0&&(t={});const n=((r,i)=>{var l;let{containerId:o}=i;return(l=nt.get(o||1))==null?void 0:l.toasts.get(r)})(e,t);if(n){const{props:r,content:i}=n,l={delay:100,...r,...t,toastId:t.toastId||e,updateId:xp()};l.toastId!==e&&(l.staleId=e);const o=l.render||i;delete l.render,Lr(o,l)}},b.done=e=>{b.update(e,{progress:1})},b.onChange=function(e){return Zc.add(e),()=>{Zc.delete(e)}},b.play=e=>ed(!0,e),b.pause=e=>ed(!1,e);var ot=function(){return ot=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const[e,t]=O.useState(Rx),[n,r]=O.useState(!1),{loading:i,error:l}=Kl(g=>({...g.auth})),{email:o,password:s,firstName:a,lastName:c,confirmPassword:d}=e,f=eu(),v=oo();O.useEffect(()=>{l&&b.error(l)},[l]),O.useEffect(()=>{r(o&&s&&a&&c&&d)},[o,s,a,c,d]);const x=g=>{if(g.preventDefault(),s!==d)return b.error("Password should match");n?f(Ki({formValue:e,navigate:v,toast:b})):b.error("Please fill in all fields and select all checkboxes")},y=g=>{let{name:N,value:p}=g.target;t({...e,[N]:p})};return u.jsxs(u.Fragment,{children:[u.jsx(ir,{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("section",{className:"card",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:u.jsx("div",{className:"container-fluid px-0",children:u.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[u.jsxs("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:[u.jsx("i",{className:"fa fa-dollar",style:{fontSize:"2.5rem",color:"#fda417"},"aria-hidden":"true"}),u.jsx("div",{className:"text-bg-primary",children:u.jsxs("div",{className:"px-4",children:[u.jsx("hr",{className:"border-primary-subtle mb-4"}),u.jsx("h2",{className:"h1 mb-4",children:"Empower your investors"}),u.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"}),u.jsx("div",{className:"text-endx",children:u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"currentColor",className:"bi bi-grip-horizontal",viewBox:"0 0 16 16",children:u.jsx("path",{d:"M2 8a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"})})})]})})]}),u.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:u.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:u.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"mb-4",children:[u.jsx("h2",{className:"h3",children:"Registration"}),u.jsx("h3",{className:"fs-6 fw-normal text-secondary m-0",children:"Enter your details to register"})]})})}),u.jsx("form",{onSubmit:x,children:u.jsxs("div",{className:"row gy-3 overflow-hidden",children:[u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-floating mb-3",children:[u.jsx("input",{type:"text",className:"form-control",value:a,name:"firstName",onChange:y,placeholder:"First Name",required:"required"}),u.jsx("label",{htmlFor:"firstName",className:"form-label",children:"First Name"})]})}),u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-floating mb-3",children:[u.jsx("input",{type:"text",className:"form-control",value:c,name:"lastName",onChange:y,placeholder:"Last Name",required:"required"}),u.jsx("label",{htmlFor:"lastName",className:"form-label",children:"Last Name"})]})}),u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-floating mb-3",children:[u.jsx("input",{type:"email",className:"form-control",value:o,name:"email",onChange:y,placeholder:"name@example.com",required:"required"}),u.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-floating mb-3",children:[u.jsx("input",{type:"password",className:"form-control",value:s,name:"password",onChange:y,placeholder:"Password",required:"required"}),u.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-floating mb-3",children:[u.jsx("input",{type:"password",className:"form-control",value:d,name:"confirmPassword",onChange:y,placeholder:"confirmPassword",required:"required"}),u.jsx("label",{htmlFor:"password",className:"form-label",children:"Retype Password"})]})}),u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-check",children:[u.jsx("input",{className:"form-check-input",type:"checkbox",name:"iAgree",id:"iAgree",required:!0}),u.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["I agree to the"," ",u.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"terms and conditions"})]})]})}),u.jsx("div",{className:"col-12",children:u.jsx("div",{className:"d-grid",children:u.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},children:[i&&u.jsx(wp.Bars,{}),"Sign up"]})})})]})}),u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-12",children:u.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:u.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",u.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"Sign in"})]})})})}),u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-12"})})]})})})]})})}),u.jsx(rr,{})]})},Lx={email:"",password:""},zx=()=>{const[e,t]=O.useState(Lx),{loading:n,error:r}=Kl(d=>({...d.auth})),{email:i,password:l}=e,o=eu(),s=oo();O.useEffect(()=>{r&&b.error(r)},[r]);const a=d=>{d.preventDefault(),i&&l&&o(Qi({formValue:e,navigate:s,toast:b}))},c=d=>{let{name:f,value:v}=d.target;t({...e,[f]:v})};return u.jsxs(u.Fragment,{children:[u.jsx(ir,{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("br",{}),u.jsx("section",{className:"py-19 py-md-5 py-xl-8",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:u.jsx("div",{className:"container-fluid px-0",children:u.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[u.jsx("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:u.jsx("div",{className:"text-bg-primary",children:u.jsxs("div",{className:"px-4",children:[u.jsx("hr",{className:"border-primary-subtle mb-4"}),u.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"}),u.jsx("div",{className:"text-endx",children:u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"currentColor",className:"bi bi-grip-horizontal",viewBox:"0 0 16 16",children:u.jsx("path",{d:"M2 8a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"})})})]})})}),u.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:u.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:u.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-12",children:u.jsx("div",{className:"mb-4",children:u.jsx("h2",{className:"h3",children:"Please Login"})})})}),u.jsx("form",{method:"POST",children:u.jsxs("div",{className:"row gy-3 overflow-hidden",children:[u.jsx("div",{className:"col-12"}),u.jsx("div",{className:"col-12"}),u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-floating mb-3",children:[u.jsx("input",{type:"email",className:"form-control",id:"email",placeholder:"name@example.com",value:i,name:"email",onChange:c,required:!0}),u.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-floating mb-3",children:[u.jsx("input",{type:"password",className:"form-control",id:"password",placeholder:"Password",value:l,name:"password",onChange:c,required:!0}),u.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),u.jsx("div",{className:"col-12",children:u.jsxs("div",{className:"form-check",children:[u.jsx("input",{className:"form-check-input",type:"checkbox",name:"iAgree",id:"iAgree",required:!0}),u.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["Remember me"," "]})]})}),u.jsx("div",{className:"col-12",children:u.jsx("div",{className:"d-grid",children:u.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",name:"signin",value:"Sign in",onClick:a,style:{backgroundColor:"#fda417",border:"#fda417"},children:[n&&u.jsx(wp.Bars,{}),"Sign In"]})})})]})}),u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-12",children:u.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:u.jsxs("p",{className:"m-0 text-secondary text-center",children:["Don't have an account?"," ",u.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"Register"})]})})})}),u.jsx("div",{className:"row",children:u.jsx("div",{className:"col-12"})})]})})})]})})}),u.jsx(rr,{})]})},qi=Yl("user/showUser",async({id:e,data:t},{rejectWithValue:n})=>{try{const r=await(void 0)(t,e);return console.log("dsdsdsds22",r),r.data}catch(r){return n(r.response.data)}}),Mx=zm({name:"user",initialState:{users:[],error:"",loading:!1,verified:!1},reducers:{},extraReducers:e=>{e.addCase(qi.pending,t=>{t.loading=!0}).addCase(qi.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.users=Array.isArray(n.payload)?n.payload:[]}).addCase(qi.rejected,(t,n)=>{t.loading=!1,t.error=n.payload})}});Mx.reducer;const Fx=()=>{var r,i;const{user:e}=Kl(l=>({...l.auth})),t=eu(),n=(r=e==null?void 0:e.result)==null?void 0:r._id;return O.useEffect(()=>{n&&t(qi(n))},[n,t]),u.jsxs("div",{style:{display:"flex",flexDirection:"column",minHeight:"100vh"},children:[u.jsx(ir,{}),u.jsx("br",{})," ",u.jsx("br",{})," ",u.jsx("br",{})," ",u.jsx("br",{}),u.jsx("main",{style:{flex:1},children:u.jsx("section",{className:"py-19 py-md-5 py-xl-8",style:{backgroundColor:"#FFFFFF"},children:u.jsx("div",{className:"container-fluid px-0",children:u.jsxs("div",{className:"row gy-4 align-items-center justify-content-center ",children:[u.jsx("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:u.jsx("div",{className:"text-bg-primary",children:u.jsxs("div",{className:"px-4",children:[u.jsx("hr",{className:"border-primary-subtle mb-4"}),u.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"})]})})}),u.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:u.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:u.jsx("div",{className:"card-body p-3 p-md-4 p-xl-5",children:((i=e==null?void 0:e.result)==null?void 0:i._id)&&u.jsxs("div",{className:"form-group row",children:[u.jsxs("label",{htmlFor:"firstName",className:"col-sm-6 col-form-label",children:["First Name:"," ",u.jsx("span",{style:{color:"#067ADC"},children:e.result.firstName})]}),u.jsxs("label",{htmlFor:"lastName",className:"col-sm-6 col-form-label",children:["Last Name:"," ",u.jsx("span",{style:{color:"#067ADC"},children:e.result.lastName})]}),u.jsxs("label",{htmlFor:"email",className:"col-sm-6 col-form-label",children:["Email:"," ",u.jsx("span",{style:{color:"#067ADC"},children:e.result.email})]})]})})})})]})})})}),u.jsx(rr,{})]})};var Np={exports:{}},Ax="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Ix=Ax,Dx=Ix;function Sp(){}function Ep(){}Ep.resetWarningCache=Sp;var bx=function(){function e(r,i,l,o,s,a){if(a!==Dx){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Ep,resetWarningCache:Sp};return n.PropTypes=n,n};Np.exports=bx();var Ux=Np.exports;const Bx=td(Ux),$x=()=>{const[e,t]=O.useState(3),n=oo();return O.useEffect(()=>{const r=setInterval(()=>{t(i=>--i)},1e3);return e===0&&n("/login"),()=>clearInterval(r)},[e,n]),u.jsx("div",{style:{marginTop:"100px"},children:u.jsxs("h5",{children:["Redirecting you in ",e," seconds"]})})},kp=({children:e})=>{const{user:t}=Kl(n=>({...n.auth}));return t?e:u.jsx($x,{})};kp.propTypes={children:Bx.node.isRequired};const Wx=()=>u.jsx(H1,{children:u.jsxs(A1,{children:[u.jsx(Gt,{path:"/",element:u.jsx(Y1,{})}),u.jsx(Gt,{path:"/about",element:u.jsx(Z1,{})}),u.jsx(Gt,{path:"/contact",element:u.jsx(ex,{})}),u.jsx(Gt,{path:"/register",element:u.jsx(Tx,{})}),u.jsx(Gt,{path:"/login",element:u.jsx(zx,{})}),u.jsx(Gt,{path:"/dashboard",element:u.jsx(kp,{children:u.jsx(Fx,{})})})]})});hm(document.getElementById("root")).render(u.jsx(O.StrictMode,{children:u.jsx(Nv,{store:Jg,children:u.jsx(Wx,{})})})); diff --git a/ef-ui/dist/index.html b/ef-ui/dist/index.html index d3da723..1b09e21 100644 --- a/ef-ui/dist/index.html +++ b/ef-ui/dist/index.html @@ -27,7 +27,7 @@ - + diff --git a/ef-ui/src/components/Dashboard.jsx b/ef-ui/src/components/Dashboard.jsx index 46a4afa..3deb0c6 100644 --- a/ef-ui/src/components/Dashboard.jsx +++ b/ef-ui/src/components/Dashboard.jsx @@ -1,84 +1,77 @@ -import { useEffect } from "react"; import Footer from "./Footer"; import Navbar from "./Navbar"; -import { useDispatch, useSelector } from "react-redux"; -import { showUser } from "../redux/features/userSlice"; - +import { useSelector } from "react-redux"; const Dashboard = () => { - const { user } = useSelector((state) => ({ ...state.auth })); - const dispatch = useDispatch(); - const userId = user?.result?._id; + const { user } = useSelector((state) => ({ ...state.auth })); - useEffect(() => { - if (userId) { - dispatch(showUser(userId)); - } - }, [userId, dispatch]); - return ( - -
+ return ( - -



- +
-
- -
- -
- -
-
-
-
-
-

- A beautiful, easy-to-use, and secure Investor Portal that - gives your investors everything they may need -

-
-
-
-
-
+



+ +
+
-
- {user?.result?._id && ( -
- - - -
- )} -
-
-
-
-
-
-
-
-
- ); + + + +
+ +
+
+
+
+
+

+ A beautiful, easy-to-use, and secure Investor Portal that + gives your investors everything they may need +

+
+
+
+ + + +
+
+
+ {user?.result?._id && ( +
+ + + +
+ )} +
+
+
+
+
+ + +
+
+ ); }; export default Dashboard; diff --git a/ef-ui/src/components/Header.jsx b/ef-ui/src/components/Header.jsx deleted file mode 100644 index fb27d27..0000000 --- a/ef-ui/src/components/Header.jsx +++ /dev/null @@ -1,56 +0,0 @@ - -import { NavLink } from "react-router-dom"; - -const Header = () => { - return ( - <> - -
-