diff --git a/ef-api/controllers/user.js b/ef-api/controllers/user.js index c14b37f..e186fb0 100644 --- a/ef-api/controllers/user.js +++ b/ef-api/controllers/user.js @@ -42,7 +42,6 @@ export const signup = async (req, res) => { const url = `Click on the link ${process.env.RETURN_URL}/users/${result._id}/verify/${token}`; await sendEmail(result.email, "Verify Email", url); - console.log("url", url); // Send the user info and token back to the client res.status(201).json({ result, token }); diff --git a/ef-api/utils/sendEmail.js b/ef-api/utils/sendEmail.js index 9522a75..887b923 100644 --- a/ef-api/utils/sendEmail.js +++ b/ef-api/utils/sendEmail.js @@ -32,7 +32,7 @@ export const sendEmail = async (email, subject, text) => { text: text, }); - console.log("Email sent successfully"); + // console.log("Email sent successfully"); } catch (error) { console.log("Email not sent!"); console.error(error); diff --git a/ef-ui/dist/assets/index-DbUVEFXC.js b/ef-ui/dist/assets/index-DZjp67OJ.js similarity index 80% rename from ef-ui/dist/assets/index-DbUVEFXC.js rename to ef-ui/dist/assets/index-DZjp67OJ.js index ea1ecc1..5cdbd6d 100644 --- a/ef-ui/dist/assets/index-DbUVEFXC.js +++ b/ef-ui/dist/assets/index-DZjp67OJ.js @@ -6,7 +6,7 @@ var Cp=Object.defineProperty;var Op=(e,t,n)=>t in e?Cp(e,t,{enumerable:!0,config * * 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"),Rp=Symbol.for("react.portal"),Tp=Symbol.for("react.fragment"),Lp=Symbol.for("react.strict_mode"),Mp=Symbol.for("react.profiler"),zp=Symbol.for("react.provider"),Fp=Symbol.for("react.context"),Ap=Symbol.for("react.forward_ref"),Dp=Symbol.for("react.suspense"),bp=Symbol.for("react.memo"),Ip=Symbol.for("react.lazy"),mu=Symbol.iterator;function Up(e){return e===null||typeof e!="object"?null:(e=mu&&e[mu]||e["@@iterator"],typeof e=="function"?e:null)}var ld={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},od=Object.assign,sd={};function Zn(e,t,n){this.props=e,this.context=t,this.refs=sd,this.updater=n||ld}Zn.prototype.isReactComponent={};Zn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Zn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ad(){}ad.prototype=Zn.prototype;function aa(e,t,n){this.props=e,this.context=t,this.refs=sd,this.updater=n||ld}var ua=aa.prototype=new ad;ua.constructor=aa;od(ua,Zn.prototype);ua.isPureReactComponent=!0;var pu=Array.isArray,ud=Object.prototype.hasOwnProperty,ca={current:null},cd={key:!0,ref:!0,__self:!0,__source:!0};function dd(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)ud.call(t,r)&&!cd.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1t in e?Cp(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Vp=P,Qp=Symbol.for("react.element"),Kp=Symbol.for("react.fragment"),qp=Object.prototype.hasOwnProperty,Jp=Vp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Xp={key:!0,ref:!0,__self:!0,__source:!0};function md(e,t,n){var r,i={},l=null,o=null;n!==void 0&&(l=""+n),t.key!==void 0&&(l=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)qp.call(t,r)&&!Xp.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Qp,type:e,key:l,ref:o,props:i,_owner:Jp.current}}zl.Fragment=Kp;zl.jsx=md;zl.jsxs=md;rd.exports=zl;var a=rd.exports,pd={exports:{}},ze={},hd={exports:{}},vd={};/** + */var Vp=P,Qp=Symbol.for("react.element"),Kp=Symbol.for("react.fragment"),qp=Object.prototype.hasOwnProperty,Jp=Vp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Xp={key:!0,ref:!0,__self:!0,__source:!0};function md(e,t,n){var r,i={},l=null,o=null;n!==void 0&&(l=""+n),t.key!==void 0&&(l=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)qp.call(t,r)&&!Xp.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Qp,type:e,key:l,ref:o,props:i,_owner:Jp.current}}zl.Fragment=Kp;zl.jsx=md;zl.jsxs=md;rd.exports=zl;var u=rd.exports,pd={exports:{}},ze={},hd={exports:{}},vd={};/** * @license React * scheduler.production.min.js * @@ -22,7 +22,7 @@ var Cp=Object.defineProperty;var Op=(e,t,n)=>t in e?Cp(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(e){function t(T,z){var F=T.length;T.push(z);e:for(;0>>1,ne=T[X];if(0>>1;Xi(mo,F))Jti(hi,mo)?(T[X]=hi,T[Jt]=F,X=Jt):(T[X]=mo,T[qt]=F,X=qt);else if(Jti(hi,F))T[X]=hi,T[Jt]=F,X=Jt;else break e}}return z}function i(T,z){var F=T.sortIndex-z.sortIndex;return F!==0?F:T.id-z.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 u=[],c=[],d=1,f=null,v=3,g=!1,y=!1,w=!1,N=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(T){for(var z=n(c);z!==null;){if(z.callback===null)r(c);else if(z.startTime<=T)r(c),z.sortIndex=z.expirationTime,t(u,z);else break;z=n(c)}}function x(T){if(w=!1,p(T),!y)if(n(u)!==null)y=!0,co(E);else{var z=n(c);z!==null&&fo(x,z.startTime-T)}}function E(T,z){y=!1,w&&(w=!1,h(C),C=-1),g=!0;var F=v;try{for(p(z),f=n(u);f!==null&&(!(f.expirationTime>z)||T&&!me());){var X=f.callback;if(typeof X=="function"){f.callback=null,v=f.priorityLevel;var ne=X(f.expirationTime<=z);z=e.unstable_now(),typeof ne=="function"?f.callback=ne:f===n(u)&&r(u),p(z)}else r(u);f=n(u)}if(f!==null)var pi=!0;else{var qt=n(c);qt!==null&&fo(x,qt.startTime-z),pi=!1}return pi}finally{f=null,v=F,g=!1}}var _=!1,O=null,C=-1,A=5,L=-1;function me(){return!(e.unstable_now()-LT||125X?(T.sortIndex=F,t(c,T),n(u)===null&&T===n(c)&&(w?(h(C),C=-1):w=!0,fo(x,F-X))):(T.sortIndex=ne,t(u,T),y||g||(y=!0,co(E))),T},e.unstable_shouldYield=me,e.unstable_wrapCallback=function(T){var z=v;return function(){var F=v;v=z;try{return T.apply(this,arguments)}finally{v=F}}}})(vd);hd.exports=vd;var Gp=hd.exports;/** + */(function(e){function t(T,z){var F=T.length;T.push(z);e:for(;0>>1,ne=T[X];if(0>>1;Xi(mo,F))Jti(hi,mo)?(T[X]=hi,T[Jt]=F,X=Jt):(T[X]=mo,T[qt]=F,X=qt);else if(Jti(hi,F))T[X]=hi,T[Jt]=F,X=Jt;else break e}}return z}function i(T,z){var F=T.sortIndex-z.sortIndex;return F!==0?F:T.id-z.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,g=!1,y=!1,w=!1,N=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(T){for(var z=n(c);z!==null;){if(z.callback===null)r(c);else if(z.startTime<=T)r(c),z.sortIndex=z.expirationTime,t(a,z);else break;z=n(c)}}function x(T){if(w=!1,p(T),!y)if(n(a)!==null)y=!0,co(E);else{var z=n(c);z!==null&&fo(x,z.startTime-T)}}function E(T,z){y=!1,w&&(w=!1,h(C),C=-1),g=!0;var F=v;try{for(p(z),f=n(a);f!==null&&(!(f.expirationTime>z)||T&&!me());){var X=f.callback;if(typeof X=="function"){f.callback=null,v=f.priorityLevel;var ne=X(f.expirationTime<=z);z=e.unstable_now(),typeof ne=="function"?f.callback=ne:f===n(a)&&r(a),p(z)}else r(a);f=n(a)}if(f!==null)var pi=!0;else{var qt=n(c);qt!==null&&fo(x,qt.startTime-z),pi=!1}return pi}finally{f=null,v=F,g=!1}}var _=!1,O=null,C=-1,A=5,L=-1;function me(){return!(e.unstable_now()-LT||125X?(T.sortIndex=F,t(c,T),n(a)===null&&T===n(c)&&(w?(h(C),C=-1):w=!0,fo(x,F-X))):(T.sortIndex=ne,t(a,T),y||g||(y=!0,co(E))),T},e.unstable_shouldYield=me,e.unstable_wrapCallback=function(T){var z=v;return function(){var F=v;v=z;try{return T.apply(this,arguments)}finally{v=F}}}})(vd);hd.exports=vd;var Gp=hd.exports;/** * @license React * react-dom.production.min.js * @@ -33,11 +33,11 @@ var Cp=Object.defineProperty;var Op=(e,t,n)=>t in e?Cp(e,t,{enumerable:!0,config */var Yp=P,Te=Gp;function j(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"),Zo=Object.prototype.hasOwnProperty,Zp=/^[: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]*$/,vu={},yu={};function eh(e){return Zo.call(yu,e)?!0:Zo.call(vu,e)?!1:Zp.test(e)?yu[e]=!0:(vu[e]=!0,!1)}function th(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 nh(e,t,n,r){if(t===null||typeof t>"u"||th(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 fa=/[\-:]([a-z])/g;function ma(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(fa,ma);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(fa,ma);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(fa,ma);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 pa(e,t,n,r){var i=ae.hasOwnProperty(t)?ae[t]:null;(i!==null?i.type!==0:r||!(2s||i[o]!==l[s]){var u=` -`+i[o].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=o&&0<=s);break}}}finally{yo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?vr(e):""}function rh(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=go(e.type,!1),e;case 11:return e=go(e.type.render,!1),e;case 1:return e=go(e.type,!0),e;default:return""}}function rs(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 Sn:return"Fragment";case Nn:return"Portal";case es:return"Profiler";case ha:return"StrictMode";case ts:return"Suspense";case ns:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case xd:return(e.displayName||"Context")+".Consumer";case gd:return(e._context.displayName||"Context")+".Provider";case va:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ya:return t=e.displayName||null,t!==null?t:rs(e.type)||"Memo";case Nt:t=e._payload,e=e._init;try{return rs(e(t))}catch{}}return null}function ih(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 rs(t);case 8:return t===ha?"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 Ut(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Nd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function lh(e){var t=Nd(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 gi(e){e._valueTracker||(e._valueTracker=lh(e))}function Sd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Nd(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Yi(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 is(e,t){var n=t.checked;return K({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function xu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ut(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 kd(e,t){t=t.checked,t!=null&&pa(e,"checked",t,!1)}function ls(e,t){kd(e,t);var n=Ut(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")?os(e,t.type,n):t.hasOwnProperty("defaultValue")&&os(e,t.type,Ut(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function wu(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 os(e,t,n){(t!=="number"||Yi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var yr=Array.isArray;function bn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=xi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function zr(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},oh=["Webkit","ms","Moz","O"];Object.keys(Nr).forEach(function(e){oh.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Nr[t]=Nr[e]})});function Cd(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 Od(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Cd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var sh=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 us(e,t){if(t){if(sh[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(j(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(j(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(j(61))}if(t.style!=null&&typeof t.style!="object")throw Error(j(62))}}function cs(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 ds=null;function ga(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var fs=null,In=null,Un=null;function ku(e){if(e=ii(e)){if(typeof fs!="function")throw Error(j(280));var t=e.stateNode;t&&(t=Il(t),fs(e.stateNode,e.type,t))}}function Pd(e){In?Un?Un.push(e):Un=[e]:In=e}function Rd(){if(In){var e=In,t=Un;if(Un=In=null,ku(e),t)for(e=0;e>>=0,e===0?32:31-(gh(e)/xh|0)|0}var wi=64,Ni=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 nl(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 kh(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=kr),Lu=" ",Mu=!1;function Xd(e,t){switch(e){case"keyup":return Gh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var kn=!1;function Zh(e,t){switch(e){case"compositionend":return Gd(t);case"keypress":return t.which!==32?null:(Mu=!0,Lu);case"textInput":return e=t.data,e===Lu&&Mu?null:e;default:return null}}function ev(e,t){if(kn)return e==="compositionend"||!ja&&Xd(e,t)?(e=qd(),bi=ka=Ot=null,kn=!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=Du(n)}}function tf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?tf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function nf(){for(var e=window,t=Yi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Yi(e.document)}return t}function Ca(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 uv(e){var t=nf(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&tf(n.ownerDocument.documentElement,n)){if(r!==null&&Ca(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=bu(n,l);var o=bu(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,En=null,gs=null,_r=null,xs=!1;function Iu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;xs||En==null||En!==Yi(r)||(r=En,"selectionStart"in r&&Ca(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=ll(gs,"onSelect"),0Cn||(e.current=_s[Cn],_s[Cn]=null,Cn--)}function B(e,t){Cn++,_s[Cn]=e.current,e.current=t}var Bt={},fe=Ht(Bt),Ne=Ht(!1),an=Bt;function Vn(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 sl(){W(Ne),W(fe)}function Qu(e,t,n){if(fe.current!==Bt)throw Error(j(168));B(fe,t),B(Ne,n)}function ff(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(j(108,ih(e)||"Unknown",i));return K({},n,r)}function al(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Bt,an=fe.current,B(fe,e),B(Ne,Ne.current),!0}function Ku(e,t,n){var r=e.stateNode;if(!r)throw Error(j(169));n?(e=ff(e,t,an),r.__reactInternalMemoizedMergedChildContext=e,W(Ne),W(fe),B(fe,e)):W(Ne),B(Ne,n)}var at=null,Ul=!1,Lo=!1;function mf(e){at===null?at=[e]:at.push(e)}function Nv(e){Ul=!0,mf(e)}function Vt(){if(!Lo&&at!==null){Lo=!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?(A=O,O=null):A=O.sibling;var L=v(h,O,p[C],x);if(L===null){O===null&&(O=A);break}e&&O&&L.alternate===null&&t(h,O),m=l(L,m,C),_===null?E=L:_.sibling=L,_=L,O=A}if(C===p.length)return n(h,O),H&&Xt(h,C),E;if(O===null){for(;CC?(A=O,O=null):A=O.sibling;var me=v(h,O,L.value,x);if(me===null){O===null&&(O=A);break}e&&O&&me.alternate===null&&t(h,O),m=l(me,m,C),_===null?E=me:_.sibling=me,_=me,O=A}if(L.done)return n(h,O),H&&Xt(h,C),E;if(O===null){for(;!L.done;C++,L=p.next())L=f(h,L.value,x),L!==null&&(m=l(L,m,C),_===null?E=L:_.sibling=L,_=L);return H&&Xt(h,C),E}for(O=r(h,O);!L.done;C++,L=p.next())L=g(O,h,C,L.value,x),L!==null&&(e&&L.alternate!==null&&O.delete(L.key===null?C:L.key),m=l(L,m,C),_===null?E=L:_.sibling=L,_=L);return e&&O.forEach(function(lr){return t(h,lr)}),H&&Xt(h,C),E}function N(h,m,p,x){if(typeof p=="object"&&p!==null&&p.type===Sn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case yi:e:{for(var E=p.key,_=m;_!==null;){if(_.key===E){if(E=p.type,E===Sn){if(_.tag===7){n(h,_.sibling),m=i(_,p.props.children),m.return=h,h=m;break e}}else if(_.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Nt&&Xu(E)===_.type){n(h,_.sibling),m=i(_,p.props),m.ref=fr(h,_,p),m.return=h,h=m;break e}n(h,_);break}else t(h,_);_=_.sibling}p.type===Sn?(m=on(p.props.children,h.mode,x,p.key),m.return=h,h=m):(x=Qi(p.type,p.key,p.props,null,h.mode,x),x.ref=fr(h,m,p),x.return=h,h=x)}return o(h);case Nn:e:{for(_=p.key;m!==null;){if(m.key===_)if(m.tag===4&&m.stateNode.containerInfo===p.containerInfo&&m.stateNode.implementation===p.implementation){n(h,m.sibling),m=i(m,p.children||[]),m.return=h,h=m;break e}else{n(h,m);break}else t(h,m);m=m.sibling}m=Uo(p,h.mode,x),m.return=h,h=m}return o(h);case Nt:return _=p._init,N(h,m,_(p._payload),x)}if(yr(p))return y(h,m,p,x);if(sr(p))return w(h,m,p,x);Oi(h,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,m!==null&&m.tag===6?(n(h,m.sibling),m=i(m,p),m.return=h,h=m):(n(h,m),m=Io(p,h.mode,x),m.return=h,h=m),o(h)):n(h,m)}return N}var Kn=yf(!0),gf=yf(!1),dl=Ht(null),fl=null,Rn=null,Ta=null;function La(){Ta=Rn=fl=null}function Ma(e){var t=dl.current;W(dl),e._currentValue=t}function Os(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 $n(e,t){fl=e,Ta=Rn=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(Ta!==e)if(e={context:e,memoizedValue:t,next:null},Rn===null){if(fl===null)throw Error(j(308));Rn=e,fl.dependencies={lanes:0,firstContext:e}}else Rn=Rn.next=e;return t}var tn=null;function za(e){tn===null?tn=[e]:tn.push(e)}function xf(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,za(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 St=!1;function Fa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function wf(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 Ft(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,b&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,za(r)):(t.next=i.next,i.next=t),r.interleaved=t,pt(e,n)}function Ui(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,wa(e,n)}}function Gu(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 ml(e,t,n,r){var i=e.updateQueue;St=!1;var l=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var u=s,c=u.next;u.next=null,o===null?l=c:o.next=c,o=u;var d=e.alternate;d!==null&&(d=d.updateQueue,s=d.lastBaseUpdate,s!==o&&(s===null?d.firstBaseUpdate=c:s.next=c,d.lastBaseUpdate=u))}if(l!==null){var f=i.baseState;o=0,d=c=u=null,s=l;do{var v=s.lane,g=s.eventTime;if((r&v)===v){d!==null&&(d=d.next={eventTime:g,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var y=e,w=s;switch(v=t,g=n,w.tag){case 1:if(y=w.payload,typeof y=="function"){f=y.call(g,f,v);break e}f=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=w.payload,v=typeof y=="function"?y.call(g,f,v):y,v==null)break e;f=K({},f,v);break e;case 2:St=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,v=i.effects,v===null?i.effects=[s]:v.push(s))}else g={eventTime:g,lane:v,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(c=d=g,u=f):d=d.next=g,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&&(u=f),i.baseState=u,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);dn|=o,e.lanes=o,e.memoizedState=f}}function Yu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=zo.transition;zo.transition={};try{e(!1),t()}finally{U=n,zo.transition=r}}function Df(){return Be().memoizedState}function _v(e,t,n){var r=Dt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},bf(e))If(t,n);else if(n=xf(e,t,n,r),n!==null){var i=he();qe(n,e,r,i),Uf(n,t,r)}}function jv(e,t,n){var r=Dt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(bf(e))If(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 u=t.interleaved;u===null?(i.next=i,za(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=xf(e,t,i,r),n!==null&&(i=he(),qe(n,e,r,i),Uf(n,t,r))}}function bf(e){var t=e.alternate;return e===Q||t!==null&&t===Q}function If(e,t){jr=hl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Uf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,wa(e,n)}}var vl={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},Cv={readContext:Ue,useCallback:function(e,t){return et().memoizedState=[e,t===void 0?null:t],e},useContext:Ue,useEffect:ec,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,$i(4194308,4,Lf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $i(4194308,4,e,t)},useInsertionEffect:function(e,t){return $i(4,2,e,t)},useMemo:function(e,t){var n=et();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=et();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=_v.bind(null,Q,e),[r.memoizedState,e]},useRef:function(e){var t=et();return e={current:e},t.memoizedState=e},useState:Zu,useDebugValue:Wa,useDeferredValue:function(e){return et().memoizedState=e},useTransition:function(){var e=Zu(!1),t=e[0];return e=Ev.bind(null,e[1]),et().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Q,i=et();if(H){if(n===void 0)throw Error(j(407));n=n()}else{if(n=t(),ie===null)throw Error(j(349));cn&30||Ef(r,t,n)}i.memoizedState=n;var l={value:n,getSnapshot:t};return i.queue=l,ec(jf.bind(null,r,l,e),[e]),r.flags|=2048,qr(9,_f.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=et(),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++,0s||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{yo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?vr(e):""}function rh(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=go(e.type,!1),e;case 11:return e=go(e.type.render,!1),e;case 1:return e=go(e.type,!0),e;default:return""}}function rs(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 Sn:return"Fragment";case Nn:return"Portal";case es:return"Profiler";case ha:return"StrictMode";case ts:return"Suspense";case ns:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case xd:return(e.displayName||"Context")+".Consumer";case gd:return(e._context.displayName||"Context")+".Provider";case va:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ya:return t=e.displayName||null,t!==null?t:rs(e.type)||"Memo";case Nt:t=e._payload,e=e._init;try{return rs(e(t))}catch{}}return null}function ih(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 rs(t);case 8:return t===ha?"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 Ut(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Nd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function lh(e){var t=Nd(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 gi(e){e._valueTracker||(e._valueTracker=lh(e))}function Sd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Nd(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Yi(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 is(e,t){var n=t.checked;return K({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function xu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ut(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 kd(e,t){t=t.checked,t!=null&&pa(e,"checked",t,!1)}function ls(e,t){kd(e,t);var n=Ut(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")?os(e,t.type,n):t.hasOwnProperty("defaultValue")&&os(e,t.type,Ut(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function wu(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 os(e,t,n){(t!=="number"||Yi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var yr=Array.isArray;function In(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=xi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function zr(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},oh=["Webkit","ms","Moz","O"];Object.keys(Nr).forEach(function(e){oh.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Nr[t]=Nr[e]})});function Cd(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 Od(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Cd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var sh=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 us(e,t){if(t){if(sh[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(j(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(j(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(j(61))}if(t.style!=null&&typeof t.style!="object")throw Error(j(62))}}function cs(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 ds=null;function ga(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var fs=null,bn=null,Un=null;function ku(e){if(e=ii(e)){if(typeof fs!="function")throw Error(j(280));var t=e.stateNode;t&&(t=bl(t),fs(e.stateNode,e.type,t))}}function Pd(e){bn?Un?Un.push(e):Un=[e]:bn=e}function Rd(){if(bn){var e=bn,t=Un;if(Un=bn=null,ku(e),t)for(e=0;e>>=0,e===0?32:31-(gh(e)/xh|0)|0}var wi=64,Ni=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 nl(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 kh(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=kr),Lu=" ",Mu=!1;function Xd(e,t){switch(e){case"keyup":return Gh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var kn=!1;function Zh(e,t){switch(e){case"compositionend":return Gd(t);case"keypress":return t.which!==32?null:(Mu=!0,Lu);case"textInput":return e=t.data,e===Lu&&Mu?null:e;default:return null}}function ev(e,t){if(kn)return e==="compositionend"||!ja&&Xd(e,t)?(e=qd(),Ii=ka=Ot=null,kn=!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=Du(n)}}function tf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?tf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function nf(){for(var e=window,t=Yi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Yi(e.document)}return t}function Ca(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 uv(e){var t=nf(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&tf(n.ownerDocument.documentElement,n)){if(r!==null&&Ca(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,En=null,gs=null,_r=null,xs=!1;function bu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;xs||En==null||En!==Yi(r)||(r=En,"selectionStart"in r&&Ca(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=ll(gs,"onSelect"),0Cn||(e.current=_s[Cn],_s[Cn]=null,Cn--)}function B(e,t){Cn++,_s[Cn]=e.current,e.current=t}var Bt={},fe=Ht(Bt),Ne=Ht(!1),an=Bt;function Vn(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 sl(){W(Ne),W(fe)}function Qu(e,t,n){if(fe.current!==Bt)throw Error(j(168));B(fe,t),B(Ne,n)}function ff(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(j(108,ih(e)||"Unknown",i));return K({},n,r)}function al(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Bt,an=fe.current,B(fe,e),B(Ne,Ne.current),!0}function Ku(e,t,n){var r=e.stateNode;if(!r)throw Error(j(169));n?(e=ff(e,t,an),r.__reactInternalMemoizedMergedChildContext=e,W(Ne),W(fe),B(fe,e)):W(Ne),B(Ne,n)}var at=null,Ul=!1,Lo=!1;function mf(e){at===null?at=[e]:at.push(e)}function Nv(e){Ul=!0,mf(e)}function Vt(){if(!Lo&&at!==null){Lo=!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?(A=O,O=null):A=O.sibling;var L=v(h,O,p[C],x);if(L===null){O===null&&(O=A);break}e&&O&&L.alternate===null&&t(h,O),m=l(L,m,C),_===null?E=L:_.sibling=L,_=L,O=A}if(C===p.length)return n(h,O),H&&Xt(h,C),E;if(O===null){for(;CC?(A=O,O=null):A=O.sibling;var me=v(h,O,L.value,x);if(me===null){O===null&&(O=A);break}e&&O&&me.alternate===null&&t(h,O),m=l(me,m,C),_===null?E=me:_.sibling=me,_=me,O=A}if(L.done)return n(h,O),H&&Xt(h,C),E;if(O===null){for(;!L.done;C++,L=p.next())L=f(h,L.value,x),L!==null&&(m=l(L,m,C),_===null?E=L:_.sibling=L,_=L);return H&&Xt(h,C),E}for(O=r(h,O);!L.done;C++,L=p.next())L=g(O,h,C,L.value,x),L!==null&&(e&&L.alternate!==null&&O.delete(L.key===null?C:L.key),m=l(L,m,C),_===null?E=L:_.sibling=L,_=L);return e&&O.forEach(function(lr){return t(h,lr)}),H&&Xt(h,C),E}function N(h,m,p,x){if(typeof p=="object"&&p!==null&&p.type===Sn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case yi:e:{for(var E=p.key,_=m;_!==null;){if(_.key===E){if(E=p.type,E===Sn){if(_.tag===7){n(h,_.sibling),m=i(_,p.props.children),m.return=h,h=m;break e}}else if(_.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Nt&&Xu(E)===_.type){n(h,_.sibling),m=i(_,p.props),m.ref=fr(h,_,p),m.return=h,h=m;break e}n(h,_);break}else t(h,_);_=_.sibling}p.type===Sn?(m=on(p.props.children,h.mode,x,p.key),m.return=h,h=m):(x=Qi(p.type,p.key,p.props,null,h.mode,x),x.ref=fr(h,m,p),x.return=h,h=x)}return o(h);case Nn:e:{for(_=p.key;m!==null;){if(m.key===_)if(m.tag===4&&m.stateNode.containerInfo===p.containerInfo&&m.stateNode.implementation===p.implementation){n(h,m.sibling),m=i(m,p.children||[]),m.return=h,h=m;break e}else{n(h,m);break}else t(h,m);m=m.sibling}m=Uo(p,h.mode,x),m.return=h,h=m}return o(h);case Nt:return _=p._init,N(h,m,_(p._payload),x)}if(yr(p))return y(h,m,p,x);if(sr(p))return w(h,m,p,x);Oi(h,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,m!==null&&m.tag===6?(n(h,m.sibling),m=i(m,p),m.return=h,h=m):(n(h,m),m=bo(p,h.mode,x),m.return=h,h=m),o(h)):n(h,m)}return N}var Kn=yf(!0),gf=yf(!1),dl=Ht(null),fl=null,Rn=null,Ta=null;function La(){Ta=Rn=fl=null}function Ma(e){var t=dl.current;W(dl),e._currentValue=t}function Os(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 $n(e,t){fl=e,Ta=Rn=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(Ta!==e)if(e={context:e,memoizedValue:t,next:null},Rn===null){if(fl===null)throw Error(j(308));Rn=e,fl.dependencies={lanes:0,firstContext:e}}else Rn=Rn.next=e;return t}var tn=null;function za(e){tn===null?tn=[e]:tn.push(e)}function xf(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,za(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 St=!1;function Fa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function wf(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 Ft(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,za(r)):(t.next=i.next,i.next=t),r.interleaved=t,pt(e,n)}function Ui(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,wa(e,n)}}function Gu(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 ml(e,t,n,r){var i=e.updateQueue;St=!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,g=s.eventTime;if((r&v)===v){d!==null&&(d=d.next={eventTime:g,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var y=e,w=s;switch(v=t,g=n,w.tag){case 1:if(y=w.payload,typeof y=="function"){f=y.call(g,f,v);break e}f=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=w.payload,v=typeof y=="function"?y.call(g,f,v):y,v==null)break e;f=K({},f,v);break e;case 2:St=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,v=i.effects,v===null?i.effects=[s]:v.push(s))}else g={eventTime:g,lane:v,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(c=d=g,a=f):d=d.next=g,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);dn|=o,e.lanes=o,e.memoizedState=f}}function Yu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=zo.transition;zo.transition={};try{e(!1),t()}finally{U=n,zo.transition=r}}function Df(){return Be().memoizedState}function _v(e,t,n){var r=Dt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},If(e))bf(t,n);else if(n=xf(e,t,n,r),n!==null){var i=he();qe(n,e,r,i),Uf(n,t,r)}}function jv(e,t,n){var r=Dt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(If(e))bf(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,za(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=xf(e,t,i,r),n!==null&&(i=he(),qe(n,e,r,i),Uf(n,t,r))}}function If(e){var t=e.alternate;return e===Q||t!==null&&t===Q}function bf(e,t){jr=hl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Uf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,wa(e,n)}}var vl={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},Cv={readContext:Ue,useCallback:function(e,t){return et().memoizedState=[e,t===void 0?null:t],e},useContext:Ue,useEffect:ec,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,$i(4194308,4,Lf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $i(4194308,4,e,t)},useInsertionEffect:function(e,t){return $i(4,2,e,t)},useMemo:function(e,t){var n=et();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=et();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=_v.bind(null,Q,e),[r.memoizedState,e]},useRef:function(e){var t=et();return e={current:e},t.memoizedState=e},useState:Zu,useDebugValue:Wa,useDeferredValue:function(e){return et().memoizedState=e},useTransition:function(){var e=Zu(!1),t=e[0];return e=Ev.bind(null,e[1]),et().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Q,i=et();if(H){if(n===void 0)throw Error(j(407));n=n()}else{if(n=t(),ie===null)throw Error(j(349));cn&30||Ef(r,t,n)}i.memoizedState=n;var l={value:n,getSnapshot:t};return i.queue=l,ec(jf.bind(null,r,l,e),[e]),r.flags|=2048,qr(9,_f.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=et(),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[nt]=t,e[Wr]=r,Xf(e,t,!1,!1),t.stateNode=e;e:{switch(o=cs(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;iXn&&(t.flags|=128,r=!0,mr(l,!1),t.lanes=4194304)}else{if(!r)if(e=pl(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>Xn&&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 Ja(),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(j(156,t.tag))}function Fv(e,t){switch(Pa(t),t.tag){case 1:return Se(t.type)&&sl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return qn(),W(Ne),W(fe),ba(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Da(t),null;case 13:if(W(V),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(j(340));Qn()}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 Ma(t.type._context),null;case 22:case 23:return Ja(),null;case 24:return null;default:return null}}var Ri=!1,de=!1,Av=typeof WeakSet=="function"?WeakSet:Set,R=null;function Tn(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 Ds(e,t,n){try{n()}catch(r){q(e,t,r)}}var dc=!1;function Dv(e,t){if(ws=rl,e=nf(),Ca(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,u=-1,c=0,d=0,f=e,v=null;t:for(;;){for(var g;f!==n||i!==0&&f.nodeType!==3||(s=o+i),f!==l||r!==0&&f.nodeType!==3||(u=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(g=f.firstChild)!==null;)v=f,f=g;for(;;){if(f===e)break t;if(v===n&&++c===i&&(s=o),v===l&&++d===r&&(u=o),(g=f.nextSibling)!==null)break;f=v,v=f.parentNode}f=g}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ns={focusedElem:e,selectionRange:n},rl=!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 w=y.memoizedProps,N=y.memoizedState,h=t.stateNode,m=h.getSnapshotBeforeUpdate(t.elementType===t.type?w:We(t.type,w),N);h.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(j(163))}}catch(x){q(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return y=dc,dc=!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&&Ds(t,n,l)}i=i.next}while(i!==r)}}function Wl(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 bs(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 Zf(e){var t=e.alternate;t!==null&&(e.alternate=null,Zf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[nt],delete t[Wr],delete t[Es],delete t[xv],delete t[wv])),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 em(e){return e.tag===5||e.tag===3||e.tag===4}function fc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||em(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 Is(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=ol));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}function Us(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(Us(e,t,n),e=e.sibling;e!==null;)Us(e,t,n),e=e.sibling}var oe=null,He=!1;function gt(e,t,n){for(n=n.child;n!==null;)tm(e,t,n),n=n.sibling}function tm(e,t,n){if(it&&typeof it.onCommitFiberUnmount=="function")try{it.onCommitFiberUnmount(Fl,n)}catch{}switch(n.tag){case 5:de||Tn(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?To(e.parentNode,n):e.nodeType===1&&To(e,n),br(e)):To(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)&&Ds(n,t,o),i=i.next}while(i!==r)}gt(e,t,n);break;case 1:if(!de&&(Tn(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 mc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Av),t.forEach(function(r){var i=Qv.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*Iv(r/1960))-r,10e?16:e,Pt===null)var r=!1;else{if(e=Pt,Pt=null,xl=0,b&6)throw Error(j(331));var i=b;for(b|=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 u=0;uG()-Ka?ln(e,0):Qa|=n),ke(e,t)}function um(e,t){t===0&&(e.mode&1?(t=Ni,Ni<<=1,!(Ni&130023424)&&(Ni=4194304)):t=1);var n=he();e=pt(e,t),e!==null&&(ni(e,t,n),ke(e,n))}function Vv(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),um(e,n)}function Qv(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(j(314))}r!==null&&r.delete(t),um(e,n)}var cm;cm=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,Mv(e,t,n);we=!!(e.flags&131072)}else we=!1,H&&t.flags&1048576&&pf(t,cl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Wi(e,t),e=t.pendingProps;var i=Vn(t,fe.current);$n(t,n),i=Ua(null,t,r,e,i,n);var l=Ba();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,al(t)):l=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Fa(t),i.updater=$l,t.stateNode=i,i._reactInternals=t,Rs(t,r,e,n),t=Ms(null,t,r,!0,l,n)):(t.tag=0,H&&l&&Oa(t),pe(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Wi(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=qv(r),e=We(r,e),i){case 0:t=Ls(null,t,r,e,n);break e;case 1:t=ac(null,t,r,e,n);break e;case 11:t=oc(null,t,r,e,n);break e;case 14:t=sc(null,t,r,We(r.type,e),n);break e}throw Error(j(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),Ls(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),ac(e,t,r,i,n);case 3:e:{if(Kf(t),e===null)throw Error(j(387));r=t.pendingProps,l=t.memoizedState,i=l.element,wf(e,t),ml(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=Jn(Error(j(423)),t),t=uc(e,t,r,n,i);break e}else if(r!==i){i=Jn(Error(j(424)),t),t=uc(e,t,r,n,i);break e}else for(Ce=zt(t.stateNode.containerInfo.firstChild),Pe=t,H=!0,Ve=null,n=gf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Qn(),r===i){t=ht(e,t,n);break e}pe(e,t,r,n)}t=t.child}return t;case 5:return Nf(t),e===null&&Cs(t),r=t.type,i=t.pendingProps,l=e!==null?e.memoizedProps:null,o=i.children,Ss(r,i)?o=null:l!==null&&Ss(r,l)&&(t.flags|=32),Qf(e,t),pe(e,t,o,n),t.child;case 6:return e===null&&Cs(t),null;case 13:return qf(e,t,n);case 4:return Aa(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Kn(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),oc(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(dl,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 u=s.firstContext;u!==null;){if(u.context===r){if(l.tag===1){u=dt(-1,n&-n),u.tag=2;var c=l.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),Os(l.return,n,t),s.lanes|=n;break}u=u.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(j(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Os(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,$n(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),sc(e,t,r,i,n);case 15:return Hf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),Wi(e,t),t.tag=1,Se(r)?(e=!0,al(t)):e=!1,$n(t,n),Bf(t,r,i),Rs(t,r,i,n),Ms(null,t,r,!0,e,n);case 19:return Jf(e,t,n);case 22:return Vf(e,t,n)}throw Error(j(156,t.tag))};function dm(e,t){return Dd(e,t)}function Kv(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 be(e,t,n,r){return new Kv(e,t,n,r)}function Ga(e){return e=e.prototype,!(!e||!e.isReactComponent)}function qv(e){if(typeof e=="function")return Ga(e)?1:0;if(e!=null){if(e=e.$$typeof,e===va)return 11;if(e===ya)return 14}return 2}function bt(e,t){var n=e.alternate;return n===null?(n=be(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 Qi(e,t,n,r,i,l){var o=2;if(r=e,typeof e=="function")Ga(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Sn:return on(n.children,i,l,t);case ha:o=8,i|=8;break;case es:return e=be(12,n,t,i|2),e.elementType=es,e.lanes=l,e;case ts:return e=be(13,n,t,i),e.elementType=ts,e.lanes=l,e;case ns:return e=be(19,n,t,i),e.elementType=ns,e.lanes=l,e;case wd:return Vl(n,i,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case gd:o=10;break e;case xd:o=9;break e;case va:o=11;break e;case ya:o=14;break e;case Nt:o=16,r=null;break e}throw Error(j(130,e==null?e:typeof e,""))}return t=be(o,n,t,i),t.elementType=e,t.type=r,t.lanes=l,t}function on(e,t,n,r){return e=be(7,e,r,t),e.lanes=n,e}function Vl(e,t,n,r){return e=be(22,e,r,t),e.elementType=wd,e.lanes=n,e.stateNode={isHidden:!1},e}function Io(e,t,n){return e=be(6,e,null,t),e.lanes=n,e}function Uo(e,t,n){return t=be(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Jv(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=wo(0),this.expirationTimes=wo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=wo(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Ya(e,t,n,r,i,l,o,s,u){return e=new Jv(e,t,n,s,u),t===1?(t=1,l===!0&&(t|=8)):t=0,l=be(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fa(l),e}function Xv(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(hm)}catch(e){console.error(e)}}hm(),pd.exports=ze;var ty=pd.exports,vm,Nc=ty;vm=Nc.createRoot,Nc.hydrateRoot;var ym={exports:{}},gm={};/** +`+l.stack}return{value:e,source:t,stack:i,digest:null}}function Do(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ts(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Rv=typeof WeakMap=="function"?WeakMap:Map;function $f(e,t,n){n=dt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){gl||(gl=!0,Bs=r),Ts(e,t)},n}function Wf(e,t,n){n=dt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Ts(e,t)}}var l=e.stateNode;return l!==null&&typeof l.componentDidCatch=="function"&&(n.callback=function(){Ts(e,t),typeof r!="function"&&(At===null?At=new Set([this]):At.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function rc(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Rv;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Hv.bind(null,e,t,n),t.then(e,e))}function ic(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function lc(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=dt(-1,1),t.tag=2,Ft(n,t,1))),n.lanes|=1),e)}var Tv=yt.ReactCurrentOwner,we=!1;function pe(e,t,n,r){t.child=e===null?gf(t,null,n,r):Kn(t,e.child,n,r)}function oc(e,t,n,r,i){n=n.render;var l=t.ref;return $n(t,i),r=Ua(e,t,n,r,l,i),n=Ba(),e!==null&&!we?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ht(e,t,i)):(H&&n&&Oa(t),t.flags|=1,pe(e,t,r,i),t.child)}function sc(e,t,n,r,i){if(e===null){var l=n.type;return typeof l=="function"&&!Ga(l)&&l.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=l,Hf(e,t,l,r,i)):(e=Qi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(l=e.child,!(e.lanes&i)){var o=l.memoizedProps;if(n=n.compare,n=n!==null?n:Ur,n(o,r)&&e.ref===t.ref)return ht(e,t,i)}return t.flags|=1,e=It(l,r),e.ref=t.ref,e.return=t,t.child=e}function Hf(e,t,n,r,i){if(e!==null){var l=e.memoizedProps;if(Ur(l,r)&&e.ref===t.ref)if(we=!1,t.pendingProps=r=l,(e.lanes&i)!==0)e.flags&131072&&(we=!0);else return t.lanes=e.lanes,ht(e,t,i)}return Ls(e,t,n,r,i)}function Vf(e,t,n){var r=t.pendingProps,i=r.children,l=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},B(Ln,je),je|=n;else{if(!(n&1073741824))return e=l!==null?l.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,B(Ln,je),je|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=l!==null?l.baseLanes:n,B(Ln,je),je|=r}else l!==null?(r=l.baseLanes|n,t.memoizedState=null):r=n,B(Ln,je),je|=r;return pe(e,t,i,n),t.child}function Qf(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ls(e,t,n,r,i){var l=Se(n)?an:fe.current;return l=Vn(t,l),$n(t,i),n=Ua(e,t,n,r,l,i),r=Ba(),e!==null&&!we?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ht(e,t,i)):(H&&r&&Oa(t),t.flags|=1,pe(e,t,n,i),t.child)}function ac(e,t,n,r,i){if(Se(n)){var l=!0;al(t)}else l=!1;if($n(t,i),t.stateNode===null)Wi(e,t),Bf(t,n,r),Rs(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,s=t.memoizedProps;o.props=s;var a=o.context,c=n.contextType;typeof c=="object"&&c!==null?c=Ue(c):(c=Se(n)?an:fe.current,c=Vn(t,c));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof o.getSnapshotBeforeUpdate=="function";f||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==r||a!==c)&&nc(t,o,r,c),St=!1;var v=t.memoizedState;o.state=v,ml(t,r,o,i),a=t.memoizedState,s!==r||v!==a||Ne.current||St?(typeof d=="function"&&(Ps(t,n,d,r),a=t.memoizedState),(s=St||tc(t,n,s,r,v,a,c))?(f||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),o.props=r,o.state=a,o.context=c,r=s):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,wf(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:We(t.type,s),o.props=c,f=t.pendingProps,v=o.context,a=n.contextType,typeof a=="object"&&a!==null?a=Ue(a):(a=Se(n)?an:fe.current,a=Vn(t,a));var g=n.getDerivedStateFromProps;(d=typeof g=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==f||v!==a)&&nc(t,o,r,a),St=!1,v=t.memoizedState,o.state=v,ml(t,r,o,i);var y=t.memoizedState;s!==f||v!==y||Ne.current||St?(typeof g=="function"&&(Ps(t,n,g,r),y=t.memoizedState),(c=St||tc(t,n,c,r,v,y,a)||!1)?(d||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,y,a),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,y,a)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&v===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),o.props=r,o.state=y,o.context=a,r=c):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&v===e.memoizedState||(t.flags|=1024),r=!1)}return Ms(e,t,n,r,l,i)}function Ms(e,t,n,r,i,l){Qf(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return i&&Ku(t,n,!1),ht(e,t,l);r=t.stateNode,Tv.current=t;var s=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Kn(t,e.child,null,l),t.child=Kn(t,null,s,l)):pe(e,t,s,l),t.memoizedState=r.state,i&&Ku(t,n,!0),t.child}function Kf(e){var t=e.stateNode;t.pendingContext?Qu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Qu(e,t.context,!1),Aa(e,t.containerInfo)}function uc(e,t,n,r,i){return Qn(),Ra(i),t.flags|=256,pe(e,t,n,r),t.child}var zs={dehydrated:null,treeContext:null,retryLane:0};function Fs(e){return{baseLanes:e,cachePool:null,transitions:null}}function qf(e,t,n){var r=t.pendingProps,i=V.current,l=!1,o=(t.flags&128)!==0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!==0),s?(l=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),B(V,i&1),e===null)return Cs(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,l?(r=t.mode,l=t.child,o={mode:"hidden",children:o},!(r&1)&&l!==null?(l.childLanes=0,l.pendingProps=o):l=Vl(o,r,0,null),e=on(e,r,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Fs(n),t.memoizedState=zs,e):Ha(t,o));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return Lv(e,t,o,r,s,i,n);if(l){l=r.fallback,o=t.mode,i=e.child,s=i.sibling;var a={mode:"hidden",children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=It(i,a),r.subtreeFlags=i.subtreeFlags&14680064),s!==null?l=It(s,l):(l=on(l,o,n,null),l.flags|=2),l.return=t,r.return=t,r.sibling=l,t.child=r,r=l,l=t.child,o=e.child.memoizedState,o=o===null?Fs(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},l.memoizedState=o,l.childLanes=e.childLanes&~n,t.memoizedState=zs,r}return l=e.child,e=l.sibling,r=It(l,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Ha(e,t){return t=Vl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Pi(e,t,n,r){return r!==null&&Ra(r),Kn(t,e.child,null,n),e=Ha(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Lv(e,t,n,r,i,l,o){if(n)return t.flags&256?(t.flags&=-257,r=Do(Error(j(422))),Pi(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(l=r.fallback,i=t.mode,r=Vl({mode:"visible",children:r.children},i,0,null),l=on(l,i,o,null),l.flags|=2,r.return=t,l.return=t,r.sibling=l,t.child=r,t.mode&1&&Kn(t,e.child,null,o),t.child.memoizedState=Fs(o),t.memoizedState=zs,l);if(!(t.mode&1))return Pi(e,t,o,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var s=r.dgst;return r=s,l=Error(j(419)),r=Do(l,r,void 0),Pi(e,t,o,r)}if(s=(o&e.childLanes)!==0,we||s){if(r=ie,r!==null){switch(o&-o){case 4:i=2;break;case 16:i=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|o)?0:i,i!==0&&i!==l.retryLane&&(l.retryLane=i,pt(e,i),qe(r,e,i,-1))}return Xa(),r=Do(Error(j(421))),Pi(e,t,o,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Vv.bind(null,e),i._reactRetry=t,null):(e=l.treeContext,Ce=zt(i.nextSibling),Pe=t,H=!0,Ve=null,e!==null&&(Ae[De++]=ut,Ae[De++]=ct,Ae[De++]=un,ut=e.id,ct=e.overflow,un=t),t=Ha(t,r.children),t.flags|=4096,t)}function cc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Os(e.return,t,n)}function Io(e,t,n,r,i){var l=e.memoizedState;l===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(l.isBackwards=t,l.rendering=null,l.renderingStartTime=0,l.last=r,l.tail=n,l.tailMode=i)}function Jf(e,t,n){var r=t.pendingProps,i=r.revealOrder,l=r.tail;if(pe(e,t,r.children,n),r=V.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&cc(e,n,t);else if(e.tag===19)cc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(B(V,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&pl(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Io(t,!1,i,n,l);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&pl(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Io(t,!0,n,null,l);break;case"together":Io(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Wi(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ht(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),dn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(j(153));if(t.child!==null){for(e=t.child,n=It(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=It(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Mv(e,t,n){switch(t.tag){case 3:Kf(t),Qn();break;case 5:Nf(t);break;case 1:Se(t.type)&&al(t);break;case 4:Aa(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;B(dl,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(B(V,V.current&1),t.flags|=128,null):n&t.child.childLanes?qf(e,t,n):(B(V,V.current&1),e=ht(e,t,n),e!==null?e.sibling:null);B(V,V.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Jf(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),B(V,V.current),r)break;return null;case 22:case 23:return t.lanes=0,Vf(e,t,n)}return ht(e,t,n)}var Xf,As,Gf,Yf;Xf=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};As=function(){};Gf=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,nn(lt.current);var l=null;switch(n){case"input":i=is(e,i),r=is(e,r),l=[];break;case"select":i=K({},i,{value:void 0}),r=K({},r,{value:void 0}),l=[];break;case"textarea":i=ss(e,i),r=ss(e,r),l=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=ol)}us(n,r);var o;n=null;for(c in i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var s=i[c];for(o in s)s.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Mr.hasOwnProperty(c)?l||(l=[]):(l=l||[]).push(c,null));for(c in r){var a=r[c];if(s=i!=null?i[c]:void 0,r.hasOwnProperty(c)&&a!==s&&(a!=null||s!=null))if(c==="style")if(s){for(o in s)!s.hasOwnProperty(o)||a&&a.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in a)a.hasOwnProperty(o)&&s[o]!==a[o]&&(n||(n={}),n[o]=a[o])}else n||(l||(l=[]),l.push(c,n)),n=a;else c==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,s=s?s.__html:void 0,a!=null&&s!==a&&(l=l||[]).push(c,a)):c==="children"?typeof a!="string"&&typeof a!="number"||(l=l||[]).push(c,""+a):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Mr.hasOwnProperty(c)?(a!=null&&c==="onScroll"&&$("scroll",e),l||s===a||(l=[])):(l=l||[]).push(c,a))}n&&(l=l||[]).push("style",n);var c=l;(t.updateQueue=c)&&(t.flags|=4)}};Yf=function(e,t,n,r){n!==r&&(t.flags|=4)};function mr(e,t){if(!H)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ce(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function zv(e,t,n){var r=t.pendingProps;switch(Pa(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ce(t),null;case 1:return Se(t.type)&&sl(),ce(t),null;case 3:return r=t.stateNode,qn(),W(Ne),W(fe),Ia(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ci(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ve!==null&&(Hs(Ve),Ve=null))),As(e,t),ce(t),null;case 5:Da(t);var i=nn(Vr.current);if(n=t.type,e!==null&&t.stateNode!=null)Gf(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(j(166));return ce(t),null}if(e=nn(lt.current),Ci(t)){r=t.stateNode,n=t.type;var l=t.memoizedProps;switch(r[nt]=t,r[Wr]=l,e=(t.mode&1)!==0,n){case"dialog":$("cancel",r),$("close",r);break;case"iframe":case"object":case"embed":$("load",r);break;case"video":case"audio":for(i=0;i<\/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[nt]=t,e[Wr]=r,Xf(e,t,!1,!1),t.stateNode=e;e:{switch(o=cs(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;iXn&&(t.flags|=128,r=!0,mr(l,!1),t.lanes=4194304)}else{if(!r)if(e=pl(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>Xn&&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 Ja(),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(j(156,t.tag))}function Fv(e,t){switch(Pa(t),t.tag){case 1:return Se(t.type)&&sl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return qn(),W(Ne),W(fe),Ia(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Da(t),null;case 13:if(W(V),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(j(340));Qn()}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 Ma(t.type._context),null;case 22:case 23:return Ja(),null;case 24:return null;default:return null}}var Ri=!1,de=!1,Av=typeof WeakSet=="function"?WeakSet:Set,R=null;function Tn(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 Ds(e,t,n){try{n()}catch(r){q(e,t,r)}}var dc=!1;function Dv(e,t){if(ws=rl,e=nf(),Ca(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 g;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),(g=f.firstChild)!==null;)v=f,f=g;for(;;){if(f===e)break t;if(v===n&&++c===i&&(s=o),v===l&&++d===r&&(a=o),(g=f.nextSibling)!==null)break;f=v,v=f.parentNode}f=g}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ns={focusedElem:e,selectionRange:n},rl=!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 w=y.memoizedProps,N=y.memoizedState,h=t.stateNode,m=h.getSnapshotBeforeUpdate(t.elementType===t.type?w:We(t.type,w),N);h.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(j(163))}}catch(x){q(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return y=dc,dc=!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&&Ds(t,n,l)}i=i.next}while(i!==r)}}function Wl(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 Is(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 Zf(e){var t=e.alternate;t!==null&&(e.alternate=null,Zf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[nt],delete t[Wr],delete t[Es],delete t[xv],delete t[wv])),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 em(e){return e.tag===5||e.tag===3||e.tag===4}function fc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||em(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 bs(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=ol));else if(r!==4&&(e=e.child,e!==null))for(bs(e,t,n),e=e.sibling;e!==null;)bs(e,t,n),e=e.sibling}function Us(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(Us(e,t,n),e=e.sibling;e!==null;)Us(e,t,n),e=e.sibling}var oe=null,He=!1;function gt(e,t,n){for(n=n.child;n!==null;)tm(e,t,n),n=n.sibling}function tm(e,t,n){if(it&&typeof it.onCommitFiberUnmount=="function")try{it.onCommitFiberUnmount(Fl,n)}catch{}switch(n.tag){case 5:de||Tn(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?To(e.parentNode,n):e.nodeType===1&&To(e,n),Ir(e)):To(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)&&Ds(n,t,o),i=i.next}while(i!==r)}gt(e,t,n);break;case 1:if(!de&&(Tn(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 mc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Av),t.forEach(function(r){var i=Qv.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*bv(r/1960))-r,10e?16:e,Pt===null)var r=!1;else{if(e=Pt,Pt=null,xl=0,I&6)throw Error(j(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()-Ka?ln(e,0):Qa|=n),ke(e,t)}function um(e,t){t===0&&(e.mode&1?(t=Ni,Ni<<=1,!(Ni&130023424)&&(Ni=4194304)):t=1);var n=he();e=pt(e,t),e!==null&&(ni(e,t,n),ke(e,n))}function Vv(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),um(e,n)}function Qv(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(j(314))}r!==null&&r.delete(t),um(e,n)}var cm;cm=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,Mv(e,t,n);we=!!(e.flags&131072)}else we=!1,H&&t.flags&1048576&&pf(t,cl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Wi(e,t),e=t.pendingProps;var i=Vn(t,fe.current);$n(t,n),i=Ua(null,t,r,e,i,n);var l=Ba();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,al(t)):l=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Fa(t),i.updater=$l,t.stateNode=i,i._reactInternals=t,Rs(t,r,e,n),t=Ms(null,t,r,!0,l,n)):(t.tag=0,H&&l&&Oa(t),pe(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Wi(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=qv(r),e=We(r,e),i){case 0:t=Ls(null,t,r,e,n);break e;case 1:t=ac(null,t,r,e,n);break e;case 11:t=oc(null,t,r,e,n);break e;case 14:t=sc(null,t,r,We(r.type,e),n);break e}throw Error(j(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),Ls(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),ac(e,t,r,i,n);case 3:e:{if(Kf(t),e===null)throw Error(j(387));r=t.pendingProps,l=t.memoizedState,i=l.element,wf(e,t),ml(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=Jn(Error(j(423)),t),t=uc(e,t,r,n,i);break e}else if(r!==i){i=Jn(Error(j(424)),t),t=uc(e,t,r,n,i);break e}else for(Ce=zt(t.stateNode.containerInfo.firstChild),Pe=t,H=!0,Ve=null,n=gf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Qn(),r===i){t=ht(e,t,n);break e}pe(e,t,r,n)}t=t.child}return t;case 5:return Nf(t),e===null&&Cs(t),r=t.type,i=t.pendingProps,l=e!==null?e.memoizedProps:null,o=i.children,Ss(r,i)?o=null:l!==null&&Ss(r,l)&&(t.flags|=32),Qf(e,t),pe(e,t,o,n),t.child;case 6:return e===null&&Cs(t),null;case 13:return qf(e,t,n);case 4:return Aa(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Kn(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),oc(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(dl,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),Os(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(j(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Os(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,$n(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),sc(e,t,r,i,n);case 15:return Hf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),Wi(e,t),t.tag=1,Se(r)?(e=!0,al(t)):e=!1,$n(t,n),Bf(t,r,i),Rs(t,r,i,n),Ms(null,t,r,!0,e,n);case 19:return Jf(e,t,n);case 22:return Vf(e,t,n)}throw Error(j(156,t.tag))};function dm(e,t){return Dd(e,t)}function Kv(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 Kv(e,t,n,r)}function Ga(e){return e=e.prototype,!(!e||!e.isReactComponent)}function qv(e){if(typeof e=="function")return Ga(e)?1:0;if(e!=null){if(e=e.$$typeof,e===va)return 11;if(e===ya)return 14}return 2}function It(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 Qi(e,t,n,r,i,l){var o=2;if(r=e,typeof e=="function")Ga(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Sn:return on(n.children,i,l,t);case ha:o=8,i|=8;break;case es:return e=Ie(12,n,t,i|2),e.elementType=es,e.lanes=l,e;case ts:return e=Ie(13,n,t,i),e.elementType=ts,e.lanes=l,e;case ns:return e=Ie(19,n,t,i),e.elementType=ns,e.lanes=l,e;case wd:return Vl(n,i,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case gd:o=10;break e;case xd:o=9;break e;case va:o=11;break e;case ya:o=14;break e;case Nt:o=16,r=null;break e}throw Error(j(130,e==null?e:typeof e,""))}return t=Ie(o,n,t,i),t.elementType=e,t.type=r,t.lanes=l,t}function on(e,t,n,r){return e=Ie(7,e,r,t),e.lanes=n,e}function Vl(e,t,n,r){return e=Ie(22,e,r,t),e.elementType=wd,e.lanes=n,e.stateNode={isHidden:!1},e}function bo(e,t,n){return e=Ie(6,e,null,t),e.lanes=n,e}function Uo(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 Jv(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=wo(0),this.expirationTimes=wo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=wo(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Ya(e,t,n,r,i,l,o,s,a){return e=new Jv(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},Fa(l),e}function Xv(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(hm)}catch(e){console.error(e)}}hm(),pd.exports=ze;var ty=pd.exports,vm,Nc=ty;vm=Nc.createRoot,Nc.hydrateRoot;var ym={exports:{}},gm={};/** * @license React * use-sync-external-store-with-selector.production.min.js * @@ -45,12 +45,12 @@ Error generating stack: `+l.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var oi=P;function ny(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ry=typeof Object.is=="function"?Object.is:ny,iy=oi.useSyncExternalStore,ly=oi.useRef,oy=oi.useEffect,sy=oi.useMemo,ay=oi.useDebugValue;gm.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var l=ly(null);if(l.current===null){var o={hasValue:!1,value:null};l.current=o}else o=l.current;l=sy(function(){function u(g){if(!c){if(c=!0,d=g,g=r(g),i!==void 0&&o.hasValue){var y=o.value;if(i(y,g))return f=y}return f=g}if(y=f,ry(d,g))return y;var w=r(g);return i!==void 0&&i(y,w)?y:(d=g,f=w)}var c=!1,d,f,v=n===void 0?null:n;return[function(){return u(t())},v===null?void 0:function(){return u(v())}]},[t,n,r,i]);var s=iy(e,l[0],l[1]);return oy(function(){o.hasValue=!0,o.value=s},[s]),ay(s),s};ym.exports=gm;var uy=ym.exports,Oe="default"in Yo?k:Yo,Sc=Symbol.for("react-redux-context"),kc=typeof globalThis<"u"?globalThis:{};function cy(){if(!Oe.createContext)return{};const e=kc[Sc]??(kc[Sc]=new Map);let t=e.get(Oe.createContext);return t||(t=Oe.createContext(null),e.set(Oe.createContext,t)),t}var $t=cy(),dy=()=>{throw new Error("uSES not initialized!")};function nu(e=$t){return function(){return Oe.useContext(e)}}var xm=nu(),wm=dy,fy=e=>{wm=e},my=(e,t)=>e===t;function py(e=$t){const t=e===$t?xm:nu(e),n=(r,i={})=>{const{equalityFn:l=my,devModeChecks:o={}}=typeof i=="function"?{equalityFn:i}:i,{store:s,subscription:u,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]),g=wm(u.addNestedSub,s.getState,c||s.getState,v,l);return Oe.useDebugValue(g),g};return Object.assign(n,{withTypes:()=>n}),n}var si=py();function hy(e){e()}function vy(){let e=null,t=null;return{clear(){e=null,t=null},notify(){hy(()=>{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 yy(e,t){let n,r=Ec,i=0,l=!1;function o(w){d();const N=r.subscribe(w);let h=!1;return()=>{h||(h=!0,N(),f())}}function s(){r.notify()}function u(){y.onStateChange&&y.onStateChange()}function c(){return l}function d(){i++,n||(n=e.subscribe(u),r=vy())}function f(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=Ec)}function v(){l||(l=!0,d())}function g(){l&&(l=!1,f())}const y={addNestedSub:o,notifyNestedSubs:s,handleChangeWrapper:u,isSubscribed:c,trySubscribe:v,tryUnsubscribe:g,getListeners:()=>r};return y}var gy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",xy=typeof navigator<"u"&&navigator.product==="ReactNative",wy=gy||xy?Oe.useLayoutEffect:Oe.useEffect;function Ny({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:l="once"}){const o=Oe.useMemo(()=>{const c=yy(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]);wy(()=>{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 u=t||$t;return Oe.createElement(u.Provider,{value:o},n)}var Sy=Ny;function Nm(e=$t){const t=e===$t?xm:nu(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var ky=Nm();function Ey(e=$t){const t=e===$t?ky:Nm(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var Xl=Ey();fy(uy.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 _y=typeof Symbol=="function"&&Symbol.observable||"@@observable",_c=_y,Bo=()=>Math.random().toString(36).substring(7).split("").join("."),jy={INIT:`@@redux/INIT${Bo()}`,REPLACE:`@@redux/REPLACE${Bo()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Bo()}`},Sl=jy;function ru(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 Sm(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(Sm)(e,t)}let r=e,i=t,l=new Map,o=l,s=0,u=!1;function c(){o===l&&(o=new Map,l.forEach((N,h)=>{o.set(h,N)}))}function d(){if(u)throw new Error(le(3));return i}function f(N){if(typeof N!="function")throw new Error(le(4));if(u)throw new Error(le(5));let h=!0;c();const m=s++;return o.set(m,N),function(){if(h){if(u)throw new Error(le(6));h=!1,c(),o.delete(m),l=null}}}function v(N){if(!ru(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(u)throw new Error(le(9));try{u=!0,i=r(i,N)}finally{u=!1}return(l=o).forEach(m=>{m()}),N}function g(N){if(typeof N!="function")throw new Error(le(10));r=N,v({type:Sl.REPLACE})}function y(){const N=f;return{subscribe(h){if(typeof h!="object"||h===null)throw new Error(le(11));function m(){const x=h;x.next&&x.next(d())}return m(),{unsubscribe:N(m)}},[_c](){return this}}}return v({type:Sl.INIT}),{dispatch:v,subscribe:f,getState:d,replaceReducer:g,[_c]:y}}function Cy(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:Sl.INIT})>"u")throw new Error(le(12));if(typeof n(void 0,{type:Sl.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(le(13))})}function Oy(e){const t=Object.keys(e),n={};for(let l=0;l"u")throw s&&s.type,new Error(le(14));c[f]=y,u=u||y!==g}return u=u||r.length!==Object.keys(o).length,u?c:o}}function kl(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function Py(...e){return t=>(n,r)=>{const i=t(n,r);let l=()=>{throw new Error(le(15))};const o={getState:i.getState,dispatch:(u,...c)=>l(u,...c)},s=e.map(u=>u(o));return l=kl(...s)(i.dispatch),{...i,dispatch:l}}}function Ry(e){return ru(e)&&"type"in e&&typeof e.type=="string"}var km=Symbol.for("immer-nothing"),jc=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 Gn=Object.getPrototypeOf;function mn(e){return!!e&&!!e[Le]}function vt(e){var t;return e?Em(e)||Array.isArray(e)||!!e[jc]||!!((t=e.constructor)!=null&&t[jc])||Yl(e)||Zl(e):!1}var Ty=Object.prototype.constructor.toString();function Em(e){if(!e||typeof e!="object")return!1;const t=Gn(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)===Ty}function El(e,t){Gl(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function Gl(e){const t=e[Le];return t?t.type_:Array.isArray(e)?1:Yl(e)?2:Zl(e)?3:0}function Vs(e,t){return Gl(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function _m(e,t,n){const r=Gl(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function Ly(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Yl(e){return e instanceof Map}function Zl(e){return e instanceof Set}function Yt(e){return e.copy_||e.base_}function Qs(e,t){if(Yl(e))return new Map(e);if(Zl(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=My),Object.freeze(e),t&&Object.entries(e).forEach(([n,r])=>iu(r,!0))),e}function My(){Qe(2)}function eo(e){return Object.isFrozen(e)}var zy={};function pn(e){const t=zy[e];return t||Qe(0,e),t}var Xr;function jm(){return Xr}function Fy(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Cc(e,t){t&&(pn("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Ks(e){qs(e),e.drafts_.forEach(Ay),e.drafts_=null}function qs(e){e===Xr&&(Xr=e.parent_)}function Oc(e){return Xr=Fy(Xr,e)}function Ay(e){const t=e[Le];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Pc(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[Le].modified_&&(Ks(t),Qe(4)),vt(e)&&(e=_l(t,e),t.parent_||jl(t,e)),t.patches_&&pn("Patches").generateReplacementPatches_(n[Le].base_,e,t.patches_,t.inversePatches_)):e=_l(t,n,[]),Ks(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==km?e:void 0}function _l(e,t,n){if(eo(t))return t;const r=t[Le];if(!r)return El(t,(i,l)=>Rc(e,r,t,i,l,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return jl(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),El(l,(s,u)=>Rc(e,r,i,s,u,n,o)),jl(e,i,!1),n&&e.patches_&&pn("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function Rc(e,t,n,r,i,l,o){if(mn(i)){const s=l&&t&&t.type_!==3&&!Vs(t.assigned_,r)?l.concat(r):void 0,u=_l(e,i,s);if(_m(n,r,u),mn(u))e.canAutoFreeze_=!1;else return}else o&&n.add(i);if(vt(i)&&!eo(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;_l(e,i),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,r)&&jl(e,i)}}function jl(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&iu(t,n)}function Dy(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:jm(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,l=lu;n&&(i=[r],l=Gr);const{revoke:o,proxy:s}=Proxy.revocable(i,l);return r.draft_=s,r.revoke_=o,s}var lu={get(e,t){if(t===Le)return e;const n=Yt(e);if(!Vs(n,t))return by(e,n,t);const r=n[t];return e.finalized_||!vt(r)?r:r===$o(e.base_,t)?(Wo(e),e.copy_[t]=Xs(r,e)):r},has(e,t){return t in Yt(e)},ownKeys(e){return Reflect.ownKeys(Yt(e))},set(e,t,n){const r=Cm(Yt(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const i=$o(Yt(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(Ly(n,i)&&(n!==void 0||Vs(e.base_,t)))return!0;Wo(e),Js(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 $o(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Wo(e),Js(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=Yt(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 Gn(e.base_)},setPrototypeOf(){Qe(12)}},Gr={};El(lu,(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 lu.set.call(this,e[0],t,n,e[0])};function $o(e,t){const n=e[Le];return(n?Yt(n):e)[t]}function by(e,t,n){var i;const r=Cm(t,n);return r?"value"in r?r.value:(i=r.get)==null?void 0:i.call(e.draft_):void 0}function Cm(e,t){if(!(t in e))return;let n=Gn(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Gn(n)}}function Js(e){e.modified_||(e.modified_=!0,e.parent_&&Js(e.parent_))}function Wo(e){e.copy_||(e.copy_=Qs(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Iy=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(u=l,...c){return o.produce(u,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=Oc(this),o=Xs(t,void 0);let s=!0;try{i=n(o),s=!1}finally{s?Ks(l):qs(l)}return Cc(l,r),Pc(i,l)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===km&&(i=void 0),this.autoFreeze_&&iu(i,!0),r){const l=[],o=[];pn("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,u=>t(u,...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),mn(e)&&(e=Uy(e));const t=Oc(this),n=Xs(e,void 0);return n[Le].isManual_=!0,qs(t),n}finishDraft(e,t){const n=e&&e[Le];(!n||!n.isManual_)&&Qe(9);const{scope_:r}=n;return Cc(r,t),Pc(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=pn("Patches").applyPatches_;return mn(e)?r(e,t):this.produce(e,i=>r(i,t))}};function Xs(e,t){const n=Yl(e)?pn("MapSet").proxyMap_(e,t):Zl(e)?pn("MapSet").proxySet_(e,t):Dy(e,t);return(t?t.scope_:jm()).drafts_.push(n),n}function Uy(e){return mn(e)||Qe(10,e),Om(e)}function Om(e){if(!vt(e)||eo(e))return e;const t=e[Le];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Qs(e,t.scope_.immer_.useStrictShallowCopy_)}else n=Qs(e,!0);return El(n,(r,i)=>{_m(n,r,Om(i))}),t&&(t.finalized_=!1),n}var Me=new Iy,Pm=Me.produce;Me.produceWithPatches.bind(Me);Me.setAutoFreeze.bind(Me);Me.setUseStrictShallowCopy.bind(Me);Me.applyPatches.bind(Me);Me.createDraft.bind(Me);Me.finishDraft.bind(Me);function Rm(e){return({dispatch:n,getState:r})=>i=>l=>typeof l=="function"?l(n,r,e):i(l)}var By=Rm(),$y=Rm,Wy=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?kl:kl.apply(null,arguments)},Hy=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=>Ry(r)&&r.type===e,n}var Tm=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 Tc(e){return vt(e)?Pm(e,()=>{}):e}function Lc(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 Vy(e){return typeof e=="boolean"}var Qy=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:i=!0,actionCreatorCheck:l=!0}=t??{};let o=new Tm;return n&&(Vy(n)?o.push(By):o.push($y(n.extraArgument))),o},Ky="RTK_autoBatch",Lm=e=>t=>{setTimeout(t,e)},qy=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Lm(10),Jy=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let i=!0,l=!1,o=!1;const s=new Set,u=e.type==="tick"?queueMicrotask:e.type==="raf"?qy:e.type==="callback"?e.queueNotification:Lm(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[Ky]),l=!i,l&&(o||(o=!0,u(c))),r.dispatch(d)}finally{i=!0}}})},Xy=e=>function(n){const{autoBatch:r=!0}=n??{};let i=new Tm(e);return r&&i.push(Jy(typeof r=="object"?r:void 0)),i};function Gy(e){const t=Qy(),{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(ru(n))s=Oy(n);else throw new Error(Je(1));let u;typeof r=="function"?u=r(t):u=t();let c=kl;i&&(c=Wy({trace:!1,...typeof i=="object"&&i}));const d=Py(...u),f=Xy(d);let v=typeof o=="function"?o(f):f();const g=c(...v);return Sm(s,l,g)}function Mm(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 Yy(e){return typeof e=="function"}function Zy(e,t){let[n,r,i]=Mm(t),l;if(Yy(e))l=()=>Tc(e());else{const s=Tc(e);l=()=>s}function o(s=l(),u){let c=[n[u.type],...r.filter(({matcher:d})=>d(u)).map(({reducer:d})=>d)];return c.filter(d=>!!d).length===0&&(c=[i]),c.reduce((d,f)=>{if(f)if(mn(d)){const g=f(d,u);return g===void 0?d:g}else{if(vt(d))return Pm(d,v=>f(v,u));{const v=f(d,u);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 e0=(e,t)=>Hy(e)?e.match(t):e(t);function t0(...e){return t=>e.some(n=>e0(n,t))}var n0="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",r0=(e=21)=>{let t="",n=e;for(;n--;)t+=n0[Math.random()*64|0];return t},i0=["name","message","stack","code"],Ho=class{constructor(e,t){po(this,"_type");this.payload=e,this.meta=t}},Mc=class{constructor(e,t){po(this,"_type");this.payload=e,this.meta=t}},l0=e=>{if(typeof e=="object"&&e!==null){const t={};for(const n of i0)typeof e[n]=="string"&&(t[n]=e[n]);return t}return{message:String(e)}},ai=(()=>{function e(t,n,r){const i=Rr(t+"/fulfilled",(u,c,d,f)=>({payload:u,meta:{...f||{},arg:d,requestId:c,requestStatus:"fulfilled"}})),l=Rr(t+"/pending",(u,c,d)=>({payload:void 0,meta:{...d||{},arg:c,requestId:u,requestStatus:"pending"}})),o=Rr(t+"/rejected",(u,c,d,f,v)=>({payload:f,error:(r&&r.serializeError||l0)(u||"Rejected"),meta:{...v||{},arg:d,requestId:c,rejectedWithValue:!!f,requestStatus:"rejected",aborted:(u==null?void 0:u.name)==="AbortError",condition:(u==null?void 0:u.name)==="ConditionError"}}));function s(u){return(c,d,f)=>{const v=r!=null&&r.idGenerator?r.idGenerator(u):r0(),g=new AbortController;let y,w;function N(m){w=m,g.abort()}const h=async function(){var x,E;let m;try{let _=(x=r==null?void 0:r.condition)==null?void 0:x.call(r,u,{getState:d,extra:f});if(s0(_)&&(_=await _),_===!1||g.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const O=new Promise((C,A)=>{y=()=>{A({name:"AbortError",message:w||"Aborted"})},g.signal.addEventListener("abort",y)});c(l(v,u,(E=r==null?void 0:r.getPendingMeta)==null?void 0:E.call(r,{requestId:v,arg:u},{getState:d,extra:f}))),m=await Promise.race([O,Promise.resolve(n(u,{dispatch:c,getState:d,extra:f,requestId:v,signal:g.signal,abort:N,rejectWithValue:(C,A)=>new Ho(C,A),fulfillWithValue:(C,A)=>new Mc(C,A)})).then(C=>{if(C instanceof Ho)throw C;return C instanceof Mc?i(C.payload,v,u,C.meta):i(C,v,u)})])}catch(_){m=_ instanceof Ho?o(null,v,u,_.payload,_.meta):o(_,v,u)}finally{y&&g.signal.removeEventListener("abort",y)}return r&&!r.dispatchConditionRejection&&o.match(m)&&m.meta.condition||c(m),m}();return Object.assign(h,{abort:N,requestId:v,arg:u,unwrap(){return h.then(o0)}})}}return Object.assign(s,{pending:l,rejected:o,fulfilled:i,settled:t0(o,i),typePrefix:t})}return e.withTypes=()=>e,e})();function o0(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function s0(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var a0=Symbol.for("rtk-slice-createasyncthunk");function u0(e,t){return`${e}/${t}`}function c0({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[a0];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(f0()):i.reducers)||{},u=Object.keys(s),c={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},d={addCase(p,x){const E=typeof p=="string"?p:p.type;if(!E)throw new Error(Je(12));if(E in c.sliceCaseReducersByType)throw new Error(Je(13));return c.sliceCaseReducersByType[E]=x,d},addMatcher(p,x){return c.sliceMatchers.push({matcher:p,reducer:x}),d},exposeAction(p,x){return c.actionCreators[p]=x,d},exposeCaseReducer(p,x){return c.sliceCaseReducersByName[p]=x,d}};u.forEach(p=>{const x=s[p],E={reducerName:p,type:u0(l,p),createNotation:typeof i.reducers=="function"};p0(x)?v0(E,x,d,t):m0(E,x,d)});function f(){const[p={},x=[],E=void 0]=typeof i.extraReducers=="function"?Mm(i.extraReducers):[i.extraReducers],_={...p,...c.sliceCaseReducersByType};return Zy(i.initialState,O=>{for(let C in _)O.addCase(C,_[C]);for(let C of c.sliceMatchers)O.addMatcher(C.matcher,C.reducer);for(let C of x)O.addMatcher(C.matcher,C.reducer);E&&O.addDefaultCase(E)})}const v=p=>p,g=new Map;let y;function w(p,x){return y||(y=f()),y(p,x)}function N(){return y||(y=f()),y.getInitialState()}function h(p,x=!1){function E(O){let C=O[p];return typeof C>"u"&&x&&(C=N()),C}function _(O=v){const C=Lc(g,x,{insert:()=>new WeakMap});return Lc(C,O,{insert:()=>{const A={};for(const[L,me]of Object.entries(i.selectors??{}))A[L]=d0(me,O,N,x);return A}})}return{reducerPath:p,getSelectors:_,get selectors(){return _(E)},selectSlice:E}}const m={name:l,reducer:w,actions:c.actionCreators,caseReducers:c.sliceCaseReducersByName,getInitialState:N,...h(o),injectInto(p,{reducerPath:x,...E}={}){const _=x??o;return p.inject({reducerPath:_,reducer:w},E),{...m,...h(_,!0)}}};return m}}function d0(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=c0();function f0(){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 m0({type:e,reducerName:t,createNotation:n},r,i){let l,o;if("reducer"in r){if(n&&!h0(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 p0(e){return e._reducerDefinitionType==="asyncThunk"}function h0(e){return e._reducerDefinitionType==="reducerWithPrepare"}function v0({type:e,reducerName:t},n,r,i){if(!i)throw new Error(Je(18));const{payloadCreator:l,fulfilled:o,pending:s,rejected:u,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),u&&r.addCase(f.rejected,u),c&&r.addMatcher(f.settled,c),r.exposeCaseReducer(t,{fulfilled:o||Mi,pending:s||Mi,rejected:u||Mi,settled:c||Mi})}function Mi(){}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 Fm(e,t){return function(){return e.apply(t,arguments)}}const{toString:y0}=Object.prototype,{getPrototypeOf:ou}=Object,to=(e=>t=>{const n=y0.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ge=e=>(e=e.toLowerCase(),t=>to(t)===e),no=e=>t=>typeof t===e,{isArray:nr}=Array,Yr=no("undefined");function g0(e){return e!==null&&!Yr(e)&&e.constructor!==null&&!Yr(e.constructor)&&Re(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Am=Ge("ArrayBuffer");function x0(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Am(e.buffer),t}const w0=no("string"),Re=no("function"),Dm=no("number"),ro=e=>e!==null&&typeof e=="object",N0=e=>e===!0||e===!1,Ki=e=>{if(to(e)!=="object")return!1;const t=ou(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},S0=Ge("Date"),k0=Ge("File"),E0=Ge("Blob"),_0=Ge("FileList"),j0=e=>ro(e)&&Re(e.pipe),C0=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Re(e.append)&&((t=to(e))==="formdata"||t==="object"&&Re(e.toString)&&e.toString()==="[object FormData]"))},O0=Ge("URLSearchParams"),[P0,R0,T0,L0]=["ReadableStream","Request","Response","Headers"].map(Ge),M0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ui(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),nr(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const rn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Im=e=>!Yr(e)&&e!==rn;function Gs(){const{caseless:e}=Im(this)&&this||{},t={},n=(r,i)=>{const l=e&&bm(t,i)||i;Ki(t[l])&&Ki(r)?t[l]=Gs(t[l],r):Ki(r)?t[l]=Gs({},r):nr(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r(ui(t,(i,l)=>{n&&Re(i)?e[l]=Fm(i,n):e[l]=i},{allOwnKeys:r}),e),F0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),A0=(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)},D0=(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&&ou(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},b0=(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},I0=e=>{if(!e)return null;if(nr(e))return e;let t=e.length;if(!Dm(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},U0=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ou(Uint8Array)),B0=(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])}},$0=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},W0=Ge("HTMLFormElement"),H0=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),V0=Ge("RegExp"),Um=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ui(n,(i,l)=>{let o;(o=t(i,l,e))!==!1&&(r[l]=o||i)}),Object.defineProperties(e,r)},Q0=e=>{Um(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+"'")})}})},K0=(e,t)=>{const n={},r=i=>{i.forEach(l=>{n[l]=!0})};return nr(e)?r(e):r(String(e).split(t)),n},q0=()=>{},J0=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Vo="abcdefghijklmnopqrstuvwxyz",Fc="0123456789",Bm={DIGIT:Fc,ALPHA:Vo,ALPHA_DIGIT:Vo+Vo.toUpperCase()+Fc},X0=(e=16,t=Bm.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function G0(e){return!!(e&&Re(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Y0=e=>{const t=new Array(10),n=(r,i)=>{if(ro(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=nr(r)?[]:{};return ui(r,(o,s)=>{const u=n(o,i+1);!Yr(u)&&(l[s]=u)}),t[i]=void 0,l}}return r};return n(e,0)},Z0=Ge("AsyncFunction"),eg=e=>e&&(ro(e)||Re(e))&&Re(e.then)&&Re(e.catch),$m=((e,t)=>e?setImmediate:t?((n,r)=>(rn.addEventListener("message",({source:i,data:l})=>{i===rn&&l===n&&r.length&&r.shift()()},!1),i=>{r.push(i),rn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Re(rn.postMessage)),tg=typeof queueMicrotask<"u"?queueMicrotask.bind(rn):typeof process<"u"&&process.nextTick||$m,S={isArray:nr,isArrayBuffer:Am,isBuffer:g0,isFormData:C0,isArrayBufferView:x0,isString:w0,isNumber:Dm,isBoolean:N0,isObject:ro,isPlainObject:Ki,isReadableStream:P0,isRequest:R0,isResponse:T0,isHeaders:L0,isUndefined:Yr,isDate:S0,isFile:k0,isBlob:E0,isRegExp:V0,isFunction:Re,isStream:j0,isURLSearchParams:O0,isTypedArray:U0,isFileList:_0,forEach:ui,merge:Gs,extend:z0,trim:M0,stripBOM:F0,inherits:A0,toFlatObject:D0,kindOf:to,kindOfTest:Ge,endsWith:b0,toArray:I0,forEachEntry:B0,matchAll:$0,isHTMLForm:W0,hasOwnProperty:zc,hasOwnProp:zc,reduceDescriptors:Um,freezeMethods:Q0,toObjectSet:K0,toCamelCase:H0,noop:q0,toFiniteNumber:J0,findKey:bm,global:rn,isContextDefined:Im,ALPHABET:Bm,generateString:X0,isSpecCompliantForm:G0,toJSONObject:Y0,isAsyncFn:Z0,isThenable:eg,setImmediate:$m,asap:tg};function M(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(M,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 Wm=M.prototype,Hm={};["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=>{Hm[e]={value:e}});Object.defineProperties(M,Hm);Object.defineProperty(Wm,"isAxiosError",{value:!0});M.from=(e,t,n,r,i,l)=>{const o=Object.create(Wm);return S.toFlatObject(e,o,function(u){return u!==Error.prototype},s=>s!=="isAxiosError"),M.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,l&&Object.assign(o,l),o};const ng=null;function Ys(e){return S.isPlainObject(e)||S.isArray(e)}function Vm(e){return S.endsWith(e,"[]")?e.slice(0,-2):e}function Ac(e,t,n){return e?e.concat(t).map(function(i,l){return i=Vm(i),!n&&l?"["+i+"]":i}).join(n?".":""):t}function rg(e){return S.isArray(e)&&!e.some(Ys)}const ig=S.toFlatObject(S,{},null,function(t){return/^is[A-Z]/.test(t)});function io(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(w,N){return!S.isUndefined(N[w])});const r=n.metaTokens,i=n.visitor||d,l=n.dots,o=n.indexes,u=(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(!u&&S.isBlob(y))throw new M("Blob is not supported. Use a Buffer instead.");return S.isArrayBuffer(y)||S.isTypedArray(y)?u&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function d(y,w,N){let h=y;if(y&&!N&&typeof y=="object"){if(S.endsWith(w,"{}"))w=r?w:w.slice(0,-2),y=JSON.stringify(y);else if(S.isArray(y)&&rg(y)||(S.isFileList(y)||S.endsWith(w,"[]"))&&(h=S.toArray(y)))return w=Vm(w),h.forEach(function(p,x){!(S.isUndefined(p)||p===null)&&t.append(o===!0?Ac([w],x,l):o===null?w:w+"[]",c(p))}),!1}return Ys(y)?!0:(t.append(Ac(N,w,l),c(y)),!1)}const f=[],v=Object.assign(ig,{defaultVisitor:d,convertValue:c,isVisitable:Ys});function g(y,w){if(!S.isUndefined(y)){if(f.indexOf(y)!==-1)throw Error("Circular reference detected in "+w.join("."));f.push(y),S.forEach(y,function(h,m){(!(S.isUndefined(h)||h===null)&&i.call(t,h,S.isString(m)?m.trim():m,w,v))===!0&&g(h,w?w.concat(m):[m])}),f.pop()}}if(!S.isObject(e))throw new TypeError("data must be an object");return g(e),t}function Dc(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function su(e,t){this._pairs=[],e&&io(e,this,t)}const Qm=su.prototype;Qm.append=function(t,n){this._pairs.push([t,n])};Qm.toString=function(t){const n=t?function(r){return t.call(this,r,Dc)}:Dc;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function lg(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Km(e,t,n){if(!t)return e;const r=n&&n.encode||lg,i=n&&n.serialize;let l;if(i?l=i(t,n):l=S.isURLSearchParams(t)?t.toString():new su(t,n).toString(r),l){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class bc{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 qm={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},og=typeof URLSearchParams<"u"?URLSearchParams:su,sg=typeof FormData<"u"?FormData:null,ag=typeof Blob<"u"?Blob:null,ug={isBrowser:!0,classes:{URLSearchParams:og,FormData:sg,Blob:ag},protocols:["http","https","file","blob","url","data"]},au=typeof window<"u"&&typeof document<"u",Zs=typeof navigator=="object"&&navigator||void 0,cg=au&&(!Zs||["ReactNative","NativeScript","NS"].indexOf(Zs.product)<0),dg=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",fg=au&&window.location.href||"http://localhost",mg=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:au,hasStandardBrowserEnv:cg,hasStandardBrowserWebWorkerEnv:dg,navigator:Zs,origin:fg},Symbol.toStringTag,{value:"Module"})),Ee={...mg,...ug};function pg(e,t){return io(e,new Ee.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,l){return Ee.isNode&&S.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function hg(e){return S.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function vg(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,u?(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]=vg(i[o])),!s)}if(S.isFormData(e)&&S.isFunction(e.entries)){const n={};return S.forEachEntry(e,(r,i)=>{t(hg(r),i,n,0)}),n}return null}function yg(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 ci={transitional:qm,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(Jm(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 pg(t,this.formSerializer).toString();if((s=S.isFileList(t))||r.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return io(s?{"files[]":t}:t,u&&new u,this.formSerializer)}}return l||i?(n.setContentType("application/json",!1),yg(t)):t}],transformResponse:[function(t){const n=this.transitional||ci.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"?M.from(s,M.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:Ee.classes.FormData,Blob:Ee.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=>{ci.headers[e]={}});const gg=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"]),xg=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]&&gg[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Ic=Symbol("internals");function hr(e){return e&&String(e).trim().toLowerCase()}function qi(e){return e===!1||e==null?e:S.isArray(e)?e.map(qi):String(e)}function wg(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 Ng=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Qo(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 Sg(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function kg(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,u,c){const d=hr(u);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||u]=qi(s))}const o=(s,u)=>S.forEach(s,(c,d)=>l(c,d,u));if(S.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(S.isString(t)&&(t=t.trim())&&!Ng(t))o(xg(t),n);else if(S.isHeaders(t))for(const[s,u]of t.entries())l(u,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 wg(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||Qo(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||Qo(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||Qo(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]=qi(i),delete n[l];return}const s=t?Sg(l):String(l).trim();s!==l&&delete n[l],n[s]=qi(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[Ic]=this[Ic]={accessors:{}}).accessors,i=this.prototype;function l(o){const s=hr(o);r[s]||(kg(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 Ko(e,t){const n=this||ci,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 Xm(e){return!!(e&&e.__CANCEL__)}function rr(e,t,n){M.call(this,e??"canceled",M.ERR_CANCELED,t,n),this.name="CanceledError"}S.inherits(rr,M,{__CANCEL__:!0});function Gm(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new M("Request failed with status code "+n.status,[M.ERR_BAD_REQUEST,M.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 _g(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(u){const c=Date.now(),d=r[l];o||(o=c),n[i]=u,r[i]=c;let f=l,v=0;for(;f!==i;)v+=n[f++],f=f%e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),c-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 Cl=(e,t,n=3)=>{let r=0;const i=_g(50,250);return jg(l=>{const o=l.loaded,s=l.lengthComputable?l.total:void 0,u=o-r,c=i(u),d=o<=s;r=o;const f={loaded:o,total:s,progress:s?o/s:void 0,bytes:u,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)},Uc=(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)),Cg=Ee.hasStandardBrowserEnv?function(){const t=Ee.navigator&&/(msie|trident)/i.test(Ee.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}}(),Og=Ee.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 Pg(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Rg(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ym(e,t){return e&&!Pg(t)?Rg(e,t):t}const $c=e=>e instanceof _e?{...e}:e;function hn(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 u={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($c(c),$c(d),!0)};return S.forEach(Object.keys(Object.assign({},e,t)),function(d){const f=u[d]||i,v=f(e[d],t[d],d);S.isUndefined(v)&&f!==s||(n[d]=v)}),n}const Zm=e=>{const t=hn({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:o,auth:s}=t;t.headers=o=_e.from(o),t.url=Km(Ym(t.baseURL,t.url),e.params,e.paramsSerializer),s&&o.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let u;if(S.isFormData(n)){if(Ee.hasStandardBrowserEnv||Ee.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((u=o.getContentType())!==!1){const[c,...d]=u?u.split(";").map(f=>f.trim()).filter(Boolean):[];o.setContentType([c||"multipart/form-data",...d].join("; "))}}if(Ee.hasStandardBrowserEnv&&(r&&S.isFunction(r)&&(r=r(t)),r||r!==!1&&Cg(t.url))){const c=i&&l&&Og.read(l);c&&o.set(i,c)}return t},Tg=typeof XMLHttpRequest<"u",Lg=Tg&&function(e){return new Promise(function(n,r){const i=Zm(e);let l=i.data;const o=_e.from(i.headers).normalize();let{responseType:s,onUploadProgress:u,onDownloadProgress:c}=i,d,f,v,g,y;function w(){g&&g(),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 h(){if(!N)return;const p=_e.from("getAllResponseHeaders"in N&&N.getAllResponseHeaders()),E={data:!s||s==="text"||s==="json"?N.responseText:N.response,status:N.status,statusText:N.statusText,headers:p,config:e,request:N};Gm(function(O){n(O),w()},function(O){r(O),w()},E),N=null}"onloadend"in N?N.onloadend=h:N.onreadystatechange=function(){!N||N.readyState!==4||N.status===0&&!(N.responseURL&&N.responseURL.indexOf("file:")===0)||setTimeout(h)},N.onabort=function(){N&&(r(new M("Request aborted",M.ECONNABORTED,e,N)),N=null)},N.onerror=function(){r(new M("Network Error",M.ERR_NETWORK,e,N)),N=null},N.ontimeout=function(){let x=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const E=i.transitional||qm;i.timeoutErrorMessage&&(x=i.timeoutErrorMessage),r(new M(x,E.clarifyTimeoutError?M.ETIMEDOUT:M.ECONNABORTED,e,N)),N=null},l===void 0&&o.setContentType(null),"setRequestHeader"in N&&S.forEach(o.toJSON(),function(x,E){N.setRequestHeader(E,x)}),S.isUndefined(i.withCredentials)||(N.withCredentials=!!i.withCredentials),s&&s!=="json"&&(N.responseType=i.responseType),c&&([v,y]=Cl(c,!0),N.addEventListener("progress",v)),u&&N.upload&&([f,g]=Cl(u),N.upload.addEventListener("progress",f),N.upload.addEventListener("loadend",g)),(i.cancelToken||i.signal)&&(d=p=>{N&&(r(!p||p.type?new rr(null,e,N):p),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&&Ee.protocols.indexOf(m)===-1){r(new M("Unsupported protocol "+m+":",M.ERR_BAD_REQUEST,e));return}N.send(l||null)})},Mg=(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 M?d:new rr(d instanceof Error?d.message:d))}};let o=t&&setTimeout(()=>{o=null,l(new M(`timeout ${t} of ms exceeded`,M.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:u}=r;return u.unsubscribe=()=>S.asap(s),u}},zg=function*(e,t){let n=e.byteLength;if(!t||n{const i=Fg(e,t);let l=0,o,s=u=>{o||(o=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:c,value:d}=await i.next();if(c){s(),u.close();return}let f=d.byteLength;if(n){let v=l+=f;n(v)}u.enqueue(new Uint8Array(d))}catch(c){throw s(c),c}},cancel(u){return s(u),i.return()}},{highWaterMark:2})},lo=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ep=lo&&typeof ReadableStream=="function",Dg=lo&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),tp=(e,...t)=>{try{return!!e(...t)}catch{return!1}},bg=ep&&tp(()=>{let e=!1;const t=new Request(Ee.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Hc=64*1024,ea=ep&&tp(()=>S.isReadableStream(new Response("").body)),Ol={stream:ea&&(e=>e.body)};lo&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Ol[t]&&(Ol[t]=S.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new M(`Response type '${t}' is not supported`,M.ERR_NOT_SUPPORT,r)})})})(new Response);const Ig=async e=>{if(e==null)return 0;if(S.isBlob(e))return e.size;if(S.isSpecCompliantForm(e))return(await new Request(Ee.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 Dg(e)).byteLength},Ug=async(e,t)=>{const n=S.toFiniteNumber(e.getContentLength());return n??Ig(t)},Bg=lo&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:l,timeout:o,onDownloadProgress:s,onUploadProgress:u,responseType:c,headers:d,withCredentials:f="same-origin",fetchOptions:v}=Zm(e);c=c?(c+"").toLowerCase():"text";let g=Mg([i,l&&l.toAbortSignal()],o),y;const w=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let N;try{if(u&&bg&&n!=="get"&&n!=="head"&&(N=await Ug(d,r))!==0){let E=new Request(t,{method:"POST",body:r,duplex:"half"}),_;if(S.isFormData(r)&&(_=E.headers.get("content-type"))&&d.setContentType(_),E.body){const[O,C]=Uc(N,Cl(Bc(u)));r=Wc(E.body,Hc,O,C)}}S.isString(f)||(f=f?"include":"omit");const h="credentials"in Request.prototype;y=new Request(t,{...v,signal:g,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:h?f:void 0});let m=await fetch(y);const p=ea&&(c==="stream"||c==="response");if(ea&&(s||p&&w)){const E={};["status","statusText","headers"].forEach(A=>{E[A]=m[A]});const _=S.toFiniteNumber(m.headers.get("content-length")),[O,C]=s&&Uc(_,Cl(Bc(s),!0))||[];m=new Response(Wc(m.body,Hc,O,()=>{C&&C(),w&&w()}),E)}c=c||"text";let x=await Ol[S.findKey(Ol,c)||"text"](m,e);return!p&&w&&w(),await new Promise((E,_)=>{Gm(E,_,{data:x,headers:_e.from(m.headers),status:m.status,statusText:m.statusText,config:e,request:y})})}catch(h){throw w&&w(),h&&h.name==="TypeError"&&/fetch/i.test(h.message)?Object.assign(new M("Network Error",M.ERR_NETWORK,e,y),{cause:h.cause||h}):M.from(h,h&&h.code,e,y)}}),ta={http:ng,xhr:Lg,fetch:Bg};S.forEach(ta,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Vc=e=>`- ${e}`,$g=e=>S.isFunction(e)||e===null||e===!1,np={getAdapter:e=>{e=S.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let l=0;l`adapter ${s} `+(u===!1?"is not supported by the environment":"is not available in the build"));let o=t?l.length>1?`since : + */var oi=P;function ny(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ry=typeof Object.is=="function"?Object.is:ny,iy=oi.useSyncExternalStore,ly=oi.useRef,oy=oi.useEffect,sy=oi.useMemo,ay=oi.useDebugValue;gm.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var l=ly(null);if(l.current===null){var o={hasValue:!1,value:null};l.current=o}else o=l.current;l=sy(function(){function a(g){if(!c){if(c=!0,d=g,g=r(g),i!==void 0&&o.hasValue){var y=o.value;if(i(y,g))return f=y}return f=g}if(y=f,ry(d,g))return y;var w=r(g);return i!==void 0&&i(y,w)?y:(d=g,f=w)}var c=!1,d,f,v=n===void 0?null:n;return[function(){return a(t())},v===null?void 0:function(){return a(v())}]},[t,n,r,i]);var s=iy(e,l[0],l[1]);return oy(function(){o.hasValue=!0,o.value=s},[s]),ay(s),s};ym.exports=gm;var uy=ym.exports,Oe="default"in Yo?k:Yo,Sc=Symbol.for("react-redux-context"),kc=typeof globalThis<"u"?globalThis:{};function cy(){if(!Oe.createContext)return{};const e=kc[Sc]??(kc[Sc]=new Map);let t=e.get(Oe.createContext);return t||(t=Oe.createContext(null),e.set(Oe.createContext,t)),t}var $t=cy(),dy=()=>{throw new Error("uSES not initialized!")};function nu(e=$t){return function(){return Oe.useContext(e)}}var xm=nu(),wm=dy,fy=e=>{wm=e},my=(e,t)=>e===t;function py(e=$t){const t=e===$t?xm:nu(e),n=(r,i={})=>{const{equalityFn:l=my,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]),g=wm(a.addNestedSub,s.getState,c||s.getState,v,l);return Oe.useDebugValue(g),g};return Object.assign(n,{withTypes:()=>n}),n}var si=py();function hy(e){e()}function vy(){let e=null,t=null;return{clear(){e=null,t=null},notify(){hy(()=>{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 yy(e,t){let n,r=Ec,i=0,l=!1;function o(w){d();const N=r.subscribe(w);let h=!1;return()=>{h||(h=!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=vy())}function f(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=Ec)}function v(){l||(l=!0,d())}function g(){l&&(l=!1,f())}const y={addNestedSub:o,notifyNestedSubs:s,handleChangeWrapper:a,isSubscribed:c,trySubscribe:v,tryUnsubscribe:g,getListeners:()=>r};return y}var gy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",xy=typeof navigator<"u"&&navigator.product==="ReactNative",wy=gy||xy?Oe.useLayoutEffect:Oe.useEffect;function Ny({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:l="once"}){const o=Oe.useMemo(()=>{const c=yy(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]);wy(()=>{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||$t;return Oe.createElement(a.Provider,{value:o},n)}var Sy=Ny;function Nm(e=$t){const t=e===$t?xm:nu(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var ky=Nm();function Ey(e=$t){const t=e===$t?ky:Nm(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var Xl=Ey();fy(uy.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 _y=typeof Symbol=="function"&&Symbol.observable||"@@observable",_c=_y,Bo=()=>Math.random().toString(36).substring(7).split("").join("."),jy={INIT:`@@redux/INIT${Bo()}`,REPLACE:`@@redux/REPLACE${Bo()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Bo()}`},Sl=jy;function ru(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 Sm(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(Sm)(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,h)=>{o.set(h,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 h=!0;c();const m=s++;return o.set(m,N),function(){if(h){if(a)throw new Error(le(6));h=!1,c(),o.delete(m),l=null}}}function v(N){if(!ru(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 g(N){if(typeof N!="function")throw new Error(le(10));r=N,v({type:Sl.REPLACE})}function y(){const N=f;return{subscribe(h){if(typeof h!="object"||h===null)throw new Error(le(11));function m(){const x=h;x.next&&x.next(d())}return m(),{unsubscribe:N(m)}},[_c](){return this}}}return v({type:Sl.INIT}),{dispatch:v,subscribe:f,getState:d,replaceReducer:g,[_c]:y}}function Cy(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:Sl.INIT})>"u")throw new Error(le(12));if(typeof n(void 0,{type:Sl.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(le(13))})}function Oy(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!==g}return a=a||r.length!==Object.keys(o).length,a?c:o}}function kl(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function Py(...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=kl(...s)(i.dispatch),{...i,dispatch:l}}}function Ry(e){return ru(e)&&"type"in e&&typeof e.type=="string"}var km=Symbol.for("immer-nothing"),jc=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 Gn=Object.getPrototypeOf;function mn(e){return!!e&&!!e[Le]}function vt(e){var t;return e?Em(e)||Array.isArray(e)||!!e[jc]||!!((t=e.constructor)!=null&&t[jc])||Yl(e)||Zl(e):!1}var Ty=Object.prototype.constructor.toString();function Em(e){if(!e||typeof e!="object")return!1;const t=Gn(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)===Ty}function El(e,t){Gl(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function Gl(e){const t=e[Le];return t?t.type_:Array.isArray(e)?1:Yl(e)?2:Zl(e)?3:0}function Vs(e,t){return Gl(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function _m(e,t,n){const r=Gl(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function Ly(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Yl(e){return e instanceof Map}function Zl(e){return e instanceof Set}function Yt(e){return e.copy_||e.base_}function Qs(e,t){if(Yl(e))return new Map(e);if(Zl(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=My),Object.freeze(e),t&&Object.entries(e).forEach(([n,r])=>iu(r,!0))),e}function My(){Qe(2)}function eo(e){return Object.isFrozen(e)}var zy={};function pn(e){const t=zy[e];return t||Qe(0,e),t}var Xr;function jm(){return Xr}function Fy(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Cc(e,t){t&&(pn("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Ks(e){qs(e),e.drafts_.forEach(Ay),e.drafts_=null}function qs(e){e===Xr&&(Xr=e.parent_)}function Oc(e){return Xr=Fy(Xr,e)}function Ay(e){const t=e[Le];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Pc(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[Le].modified_&&(Ks(t),Qe(4)),vt(e)&&(e=_l(t,e),t.parent_||jl(t,e)),t.patches_&&pn("Patches").generateReplacementPatches_(n[Le].base_,e,t.patches_,t.inversePatches_)):e=_l(t,n,[]),Ks(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==km?e:void 0}function _l(e,t,n){if(eo(t))return t;const r=t[Le];if(!r)return El(t,(i,l)=>Rc(e,r,t,i,l,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return jl(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),El(l,(s,a)=>Rc(e,r,i,s,a,n,o)),jl(e,i,!1),n&&e.patches_&&pn("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function Rc(e,t,n,r,i,l,o){if(mn(i)){const s=l&&t&&t.type_!==3&&!Vs(t.assigned_,r)?l.concat(r):void 0,a=_l(e,i,s);if(_m(n,r,a),mn(a))e.canAutoFreeze_=!1;else return}else o&&n.add(i);if(vt(i)&&!eo(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;_l(e,i),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,r)&&jl(e,i)}}function jl(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&iu(t,n)}function Dy(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:jm(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,l=lu;n&&(i=[r],l=Gr);const{revoke:o,proxy:s}=Proxy.revocable(i,l);return r.draft_=s,r.revoke_=o,s}var lu={get(e,t){if(t===Le)return e;const n=Yt(e);if(!Vs(n,t))return Iy(e,n,t);const r=n[t];return e.finalized_||!vt(r)?r:r===$o(e.base_,t)?(Wo(e),e.copy_[t]=Xs(r,e)):r},has(e,t){return t in Yt(e)},ownKeys(e){return Reflect.ownKeys(Yt(e))},set(e,t,n){const r=Cm(Yt(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const i=$o(Yt(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(Ly(n,i)&&(n!==void 0||Vs(e.base_,t)))return!0;Wo(e),Js(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 $o(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Wo(e),Js(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=Yt(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 Gn(e.base_)},setPrototypeOf(){Qe(12)}},Gr={};El(lu,(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 lu.set.call(this,e[0],t,n,e[0])};function $o(e,t){const n=e[Le];return(n?Yt(n):e)[t]}function Iy(e,t,n){var i;const r=Cm(t,n);return r?"value"in r?r.value:(i=r.get)==null?void 0:i.call(e.draft_):void 0}function Cm(e,t){if(!(t in e))return;let n=Gn(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Gn(n)}}function Js(e){e.modified_||(e.modified_=!0,e.parent_&&Js(e.parent_))}function Wo(e){e.copy_||(e.copy_=Qs(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var by=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=Oc(this),o=Xs(t,void 0);let s=!0;try{i=n(o),s=!1}finally{s?Ks(l):qs(l)}return Cc(l,r),Pc(i,l)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===km&&(i=void 0),this.autoFreeze_&&iu(i,!0),r){const l=[],o=[];pn("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),mn(e)&&(e=Uy(e));const t=Oc(this),n=Xs(e,void 0);return n[Le].isManual_=!0,qs(t),n}finishDraft(e,t){const n=e&&e[Le];(!n||!n.isManual_)&&Qe(9);const{scope_:r}=n;return Cc(r,t),Pc(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=pn("Patches").applyPatches_;return mn(e)?r(e,t):this.produce(e,i=>r(i,t))}};function Xs(e,t){const n=Yl(e)?pn("MapSet").proxyMap_(e,t):Zl(e)?pn("MapSet").proxySet_(e,t):Dy(e,t);return(t?t.scope_:jm()).drafts_.push(n),n}function Uy(e){return mn(e)||Qe(10,e),Om(e)}function Om(e){if(!vt(e)||eo(e))return e;const t=e[Le];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Qs(e,t.scope_.immer_.useStrictShallowCopy_)}else n=Qs(e,!0);return El(n,(r,i)=>{_m(n,r,Om(i))}),t&&(t.finalized_=!1),n}var Me=new by,Pm=Me.produce;Me.produceWithPatches.bind(Me);Me.setAutoFreeze.bind(Me);Me.setUseStrictShallowCopy.bind(Me);Me.applyPatches.bind(Me);Me.createDraft.bind(Me);Me.finishDraft.bind(Me);function Rm(e){return({dispatch:n,getState:r})=>i=>l=>typeof l=="function"?l(n,r,e):i(l)}var By=Rm(),$y=Rm,Wy=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?kl:kl.apply(null,arguments)},Hy=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=>Ry(r)&&r.type===e,n}var Tm=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 Tc(e){return vt(e)?Pm(e,()=>{}):e}function Lc(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 Vy(e){return typeof e=="boolean"}var Qy=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:i=!0,actionCreatorCheck:l=!0}=t??{};let o=new Tm;return n&&(Vy(n)?o.push(By):o.push($y(n.extraArgument))),o},Ky="RTK_autoBatch",Lm=e=>t=>{setTimeout(t,e)},qy=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Lm(10),Jy=(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"?qy:e.type==="callback"?e.queueNotification:Lm(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[Ky]),l=!i,l&&(o||(o=!0,a(c))),r.dispatch(d)}finally{i=!0}}})},Xy=e=>function(n){const{autoBatch:r=!0}=n??{};let i=new Tm(e);return r&&i.push(Jy(typeof r=="object"?r:void 0)),i};function Gy(e){const t=Qy(),{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(ru(n))s=Oy(n);else throw new Error(Je(1));let a;typeof r=="function"?a=r(t):a=t();let c=kl;i&&(c=Wy({trace:!1,...typeof i=="object"&&i}));const d=Py(...a),f=Xy(d);let v=typeof o=="function"?o(f):f();const g=c(...v);return Sm(s,l,g)}function Mm(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 Yy(e){return typeof e=="function"}function Zy(e,t){let[n,r,i]=Mm(t),l;if(Yy(e))l=()=>Tc(e());else{const s=Tc(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(mn(d)){const g=f(d,a);return g===void 0?d:g}else{if(vt(d))return Pm(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 e0=(e,t)=>Hy(e)?e.match(t):e(t);function t0(...e){return t=>e.some(n=>e0(n,t))}var n0="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",r0=(e=21)=>{let t="",n=e;for(;n--;)t+=n0[Math.random()*64|0];return t},i0=["name","message","stack","code"],Ho=class{constructor(e,t){po(this,"_type");this.payload=e,this.meta=t}},Mc=class{constructor(e,t){po(this,"_type");this.payload=e,this.meta=t}},l0=e=>{if(typeof e=="object"&&e!==null){const t={};for(const n of i0)typeof e[n]=="string"&&(t[n]=e[n]);return t}return{message:String(e)}},ai=(()=>{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||l0)(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):r0(),g=new AbortController;let y,w;function N(m){w=m,g.abort()}const h=async function(){var x,E;let m;try{let _=(x=r==null?void 0:r.condition)==null?void 0:x.call(r,a,{getState:d,extra:f});if(s0(_)&&(_=await _),_===!1||g.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const O=new Promise((C,A)=>{y=()=>{A({name:"AbortError",message:w||"Aborted"})},g.signal.addEventListener("abort",y)});c(l(v,a,(E=r==null?void 0:r.getPendingMeta)==null?void 0:E.call(r,{requestId:v,arg:a},{getState:d,extra:f}))),m=await Promise.race([O,Promise.resolve(n(a,{dispatch:c,getState:d,extra:f,requestId:v,signal:g.signal,abort:N,rejectWithValue:(C,A)=>new Ho(C,A),fulfillWithValue:(C,A)=>new Mc(C,A)})).then(C=>{if(C instanceof Ho)throw C;return C instanceof Mc?i(C.payload,v,a,C.meta):i(C,v,a)})])}catch(_){m=_ instanceof Ho?o(null,v,a,_.payload,_.meta):o(_,v,a)}finally{y&&g.signal.removeEventListener("abort",y)}return r&&!r.dispatchConditionRejection&&o.match(m)&&m.meta.condition||c(m),m}();return Object.assign(h,{abort:N,requestId:v,arg:a,unwrap(){return h.then(o0)}})}}return Object.assign(s,{pending:l,rejected:o,fulfilled:i,settled:t0(o,i),typePrefix:t})}return e.withTypes=()=>e,e})();function o0(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function s0(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var a0=Symbol.for("rtk-slice-createasyncthunk");function u0(e,t){return`${e}/${t}`}function c0({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[a0];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(f0()):i.reducers)||{},a=Object.keys(s),c={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},d={addCase(p,x){const E=typeof p=="string"?p:p.type;if(!E)throw new Error(Je(12));if(E in c.sliceCaseReducersByType)throw new Error(Je(13));return c.sliceCaseReducersByType[E]=x,d},addMatcher(p,x){return c.sliceMatchers.push({matcher:p,reducer:x}),d},exposeAction(p,x){return c.actionCreators[p]=x,d},exposeCaseReducer(p,x){return c.sliceCaseReducersByName[p]=x,d}};a.forEach(p=>{const x=s[p],E={reducerName:p,type:u0(l,p),createNotation:typeof i.reducers=="function"};p0(x)?v0(E,x,d,t):m0(E,x,d)});function f(){const[p={},x=[],E=void 0]=typeof i.extraReducers=="function"?Mm(i.extraReducers):[i.extraReducers],_={...p,...c.sliceCaseReducersByType};return Zy(i.initialState,O=>{for(let C in _)O.addCase(C,_[C]);for(let C of c.sliceMatchers)O.addMatcher(C.matcher,C.reducer);for(let C of x)O.addMatcher(C.matcher,C.reducer);E&&O.addDefaultCase(E)})}const v=p=>p,g=new Map;let y;function w(p,x){return y||(y=f()),y(p,x)}function N(){return y||(y=f()),y.getInitialState()}function h(p,x=!1){function E(O){let C=O[p];return typeof C>"u"&&x&&(C=N()),C}function _(O=v){const C=Lc(g,x,{insert:()=>new WeakMap});return Lc(C,O,{insert:()=>{const A={};for(const[L,me]of Object.entries(i.selectors??{}))A[L]=d0(me,O,N,x);return A}})}return{reducerPath:p,getSelectors:_,get selectors(){return _(E)},selectSlice:E}}const m={name:l,reducer:w,actions:c.actionCreators,caseReducers:c.sliceCaseReducersByName,getInitialState:N,...h(o),injectInto(p,{reducerPath:x,...E}={}){const _=x??o;return p.inject({reducerPath:_,reducer:w},E),{...m,...h(_,!0)}}};return m}}function d0(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=c0();function f0(){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 m0({type:e,reducerName:t,createNotation:n},r,i){let l,o;if("reducer"in r){if(n&&!h0(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 p0(e){return e._reducerDefinitionType==="asyncThunk"}function h0(e){return e._reducerDefinitionType==="reducerWithPrepare"}function v0({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||Mi,pending:s||Mi,rejected:a||Mi,settled:c||Mi})}function Mi(){}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 Fm(e,t){return function(){return e.apply(t,arguments)}}const{toString:y0}=Object.prototype,{getPrototypeOf:ou}=Object,to=(e=>t=>{const n=y0.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ge=e=>(e=e.toLowerCase(),t=>to(t)===e),no=e=>t=>typeof t===e,{isArray:nr}=Array,Yr=no("undefined");function g0(e){return e!==null&&!Yr(e)&&e.constructor!==null&&!Yr(e.constructor)&&Re(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Am=Ge("ArrayBuffer");function x0(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Am(e.buffer),t}const w0=no("string"),Re=no("function"),Dm=no("number"),ro=e=>e!==null&&typeof e=="object",N0=e=>e===!0||e===!1,Ki=e=>{if(to(e)!=="object")return!1;const t=ou(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},S0=Ge("Date"),k0=Ge("File"),E0=Ge("Blob"),_0=Ge("FileList"),j0=e=>ro(e)&&Re(e.pipe),C0=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Re(e.append)&&((t=to(e))==="formdata"||t==="object"&&Re(e.toString)&&e.toString()==="[object FormData]"))},O0=Ge("URLSearchParams"),[P0,R0,T0,L0]=["ReadableStream","Request","Response","Headers"].map(Ge),M0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ui(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),nr(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const rn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,bm=e=>!Yr(e)&&e!==rn;function Gs(){const{caseless:e}=bm(this)&&this||{},t={},n=(r,i)=>{const l=e&&Im(t,i)||i;Ki(t[l])&&Ki(r)?t[l]=Gs(t[l],r):Ki(r)?t[l]=Gs({},r):nr(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r(ui(t,(i,l)=>{n&&Re(i)?e[l]=Fm(i,n):e[l]=i},{allOwnKeys:r}),e),F0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),A0=(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)},D0=(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&&ou(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},I0=(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},b0=e=>{if(!e)return null;if(nr(e))return e;let t=e.length;if(!Dm(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},U0=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ou(Uint8Array)),B0=(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])}},$0=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},W0=Ge("HTMLFormElement"),H0=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),V0=Ge("RegExp"),Um=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ui(n,(i,l)=>{let o;(o=t(i,l,e))!==!1&&(r[l]=o||i)}),Object.defineProperties(e,r)},Q0=e=>{Um(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+"'")})}})},K0=(e,t)=>{const n={},r=i=>{i.forEach(l=>{n[l]=!0})};return nr(e)?r(e):r(String(e).split(t)),n},q0=()=>{},J0=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Vo="abcdefghijklmnopqrstuvwxyz",Fc="0123456789",Bm={DIGIT:Fc,ALPHA:Vo,ALPHA_DIGIT:Vo+Vo.toUpperCase()+Fc},X0=(e=16,t=Bm.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function G0(e){return!!(e&&Re(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Y0=e=>{const t=new Array(10),n=(r,i)=>{if(ro(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=nr(r)?[]:{};return ui(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)},Z0=Ge("AsyncFunction"),eg=e=>e&&(ro(e)||Re(e))&&Re(e.then)&&Re(e.catch),$m=((e,t)=>e?setImmediate:t?((n,r)=>(rn.addEventListener("message",({source:i,data:l})=>{i===rn&&l===n&&r.length&&r.shift()()},!1),i=>{r.push(i),rn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Re(rn.postMessage)),tg=typeof queueMicrotask<"u"?queueMicrotask.bind(rn):typeof process<"u"&&process.nextTick||$m,S={isArray:nr,isArrayBuffer:Am,isBuffer:g0,isFormData:C0,isArrayBufferView:x0,isString:w0,isNumber:Dm,isBoolean:N0,isObject:ro,isPlainObject:Ki,isReadableStream:P0,isRequest:R0,isResponse:T0,isHeaders:L0,isUndefined:Yr,isDate:S0,isFile:k0,isBlob:E0,isRegExp:V0,isFunction:Re,isStream:j0,isURLSearchParams:O0,isTypedArray:U0,isFileList:_0,forEach:ui,merge:Gs,extend:z0,trim:M0,stripBOM:F0,inherits:A0,toFlatObject:D0,kindOf:to,kindOfTest:Ge,endsWith:I0,toArray:b0,forEachEntry:B0,matchAll:$0,isHTMLForm:W0,hasOwnProperty:zc,hasOwnProp:zc,reduceDescriptors:Um,freezeMethods:Q0,toObjectSet:K0,toCamelCase:H0,noop:q0,toFiniteNumber:J0,findKey:Im,global:rn,isContextDefined:bm,ALPHABET:Bm,generateString:X0,isSpecCompliantForm:G0,toJSONObject:Y0,isAsyncFn:Z0,isThenable:eg,setImmediate:$m,asap:tg};function M(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(M,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 Wm=M.prototype,Hm={};["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=>{Hm[e]={value:e}});Object.defineProperties(M,Hm);Object.defineProperty(Wm,"isAxiosError",{value:!0});M.from=(e,t,n,r,i,l)=>{const o=Object.create(Wm);return S.toFlatObject(e,o,function(a){return a!==Error.prototype},s=>s!=="isAxiosError"),M.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,l&&Object.assign(o,l),o};const ng=null;function Ys(e){return S.isPlainObject(e)||S.isArray(e)}function Vm(e){return S.endsWith(e,"[]")?e.slice(0,-2):e}function Ac(e,t,n){return e?e.concat(t).map(function(i,l){return i=Vm(i),!n&&l?"["+i+"]":i}).join(n?".":""):t}function rg(e){return S.isArray(e)&&!e.some(Ys)}const ig=S.toFlatObject(S,{},null,function(t){return/^is[A-Z]/.test(t)});function io(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(w,N){return!S.isUndefined(N[w])});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 M("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,w,N){let h=y;if(y&&!N&&typeof y=="object"){if(S.endsWith(w,"{}"))w=r?w:w.slice(0,-2),y=JSON.stringify(y);else if(S.isArray(y)&&rg(y)||(S.isFileList(y)||S.endsWith(w,"[]"))&&(h=S.toArray(y)))return w=Vm(w),h.forEach(function(p,x){!(S.isUndefined(p)||p===null)&&t.append(o===!0?Ac([w],x,l):o===null?w:w+"[]",c(p))}),!1}return Ys(y)?!0:(t.append(Ac(N,w,l),c(y)),!1)}const f=[],v=Object.assign(ig,{defaultVisitor:d,convertValue:c,isVisitable:Ys});function g(y,w){if(!S.isUndefined(y)){if(f.indexOf(y)!==-1)throw Error("Circular reference detected in "+w.join("."));f.push(y),S.forEach(y,function(h,m){(!(S.isUndefined(h)||h===null)&&i.call(t,h,S.isString(m)?m.trim():m,w,v))===!0&&g(h,w?w.concat(m):[m])}),f.pop()}}if(!S.isObject(e))throw new TypeError("data must be an object");return g(e),t}function Dc(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function su(e,t){this._pairs=[],e&&io(e,this,t)}const Qm=su.prototype;Qm.append=function(t,n){this._pairs.push([t,n])};Qm.toString=function(t){const n=t?function(r){return t.call(this,r,Dc)}:Dc;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function lg(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Km(e,t,n){if(!t)return e;const r=n&&n.encode||lg,i=n&&n.serialize;let l;if(i?l=i(t,n):l=S.isURLSearchParams(t)?t.toString():new su(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 qm={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},og=typeof URLSearchParams<"u"?URLSearchParams:su,sg=typeof FormData<"u"?FormData:null,ag=typeof Blob<"u"?Blob:null,ug={isBrowser:!0,classes:{URLSearchParams:og,FormData:sg,Blob:ag},protocols:["http","https","file","blob","url","data"]},au=typeof window<"u"&&typeof document<"u",Zs=typeof navigator=="object"&&navigator||void 0,cg=au&&(!Zs||["ReactNative","NativeScript","NS"].indexOf(Zs.product)<0),dg=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",fg=au&&window.location.href||"http://localhost",mg=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:au,hasStandardBrowserEnv:cg,hasStandardBrowserWebWorkerEnv:dg,navigator:Zs,origin:fg},Symbol.toStringTag,{value:"Module"})),Ee={...mg,...ug};function pg(e,t){return io(e,new Ee.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,l){return Ee.isNode&&S.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function hg(e){return S.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function vg(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]=vg(i[o])),!s)}if(S.isFormData(e)&&S.isFunction(e.entries)){const n={};return S.forEachEntry(e,(r,i)=>{t(hg(r),i,n,0)}),n}return null}function yg(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 ci={transitional:qm,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(Jm(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 pg(t,this.formSerializer).toString();if((s=S.isFileList(t))||r.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return io(s?{"files[]":t}:t,a&&new a,this.formSerializer)}}return l||i?(n.setContentType("application/json",!1),yg(t)):t}],transformResponse:[function(t){const n=this.transitional||ci.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"?M.from(s,M.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:Ee.classes.FormData,Blob:Ee.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=>{ci.headers[e]={}});const gg=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"]),xg=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]&&gg[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},bc=Symbol("internals");function hr(e){return e&&String(e).trim().toLowerCase()}function qi(e){return e===!1||e==null?e:S.isArray(e)?e.map(qi):String(e)}function wg(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 Ng=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Qo(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 Sg(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function kg(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]=qi(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())&&!Ng(t))o(xg(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 wg(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||Qo(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||Qo(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||Qo(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]=qi(i),delete n[l];return}const s=t?Sg(l):String(l).trim();s!==l&&delete n[l],n[s]=qi(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[bc]=this[bc]={accessors:{}}).accessors,i=this.prototype;function l(o){const s=hr(o);r[s]||(kg(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 Ko(e,t){const n=this||ci,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 Xm(e){return!!(e&&e.__CANCEL__)}function rr(e,t,n){M.call(this,e??"canceled",M.ERR_CANCELED,t,n),this.name="CanceledError"}S.inherits(rr,M,{__CANCEL__:!0});function Gm(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new M("Request failed with status code "+n.status,[M.ERR_BAD_REQUEST,M.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 _g(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 Cl=(e,t,n=3)=>{let r=0;const i=_g(50,250);return jg(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)},Uc=(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)),Cg=Ee.hasStandardBrowserEnv?function(){const t=Ee.navigator&&/(msie|trident)/i.test(Ee.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}}(),Og=Ee.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 Pg(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Rg(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ym(e,t){return e&&!Pg(t)?Rg(e,t):t}const $c=e=>e instanceof _e?{...e}:e;function hn(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($c(c),$c(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 Zm=e=>{const t=hn({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:o,auth:s}=t;t.headers=o=_e.from(o),t.url=Km(Ym(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(Ee.hasStandardBrowserEnv||Ee.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(Ee.hasStandardBrowserEnv&&(r&&S.isFunction(r)&&(r=r(t)),r||r!==!1&&Cg(t.url))){const c=i&&l&&Og.read(l);c&&o.set(i,c)}return t},Tg=typeof XMLHttpRequest<"u",Lg=Tg&&function(e){return new Promise(function(n,r){const i=Zm(e);let l=i.data;const o=_e.from(i.headers).normalize();let{responseType:s,onUploadProgress:a,onDownloadProgress:c}=i,d,f,v,g,y;function w(){g&&g(),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 h(){if(!N)return;const p=_e.from("getAllResponseHeaders"in N&&N.getAllResponseHeaders()),E={data:!s||s==="text"||s==="json"?N.responseText:N.response,status:N.status,statusText:N.statusText,headers:p,config:e,request:N};Gm(function(O){n(O),w()},function(O){r(O),w()},E),N=null}"onloadend"in N?N.onloadend=h:N.onreadystatechange=function(){!N||N.readyState!==4||N.status===0&&!(N.responseURL&&N.responseURL.indexOf("file:")===0)||setTimeout(h)},N.onabort=function(){N&&(r(new M("Request aborted",M.ECONNABORTED,e,N)),N=null)},N.onerror=function(){r(new M("Network Error",M.ERR_NETWORK,e,N)),N=null},N.ontimeout=function(){let x=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const E=i.transitional||qm;i.timeoutErrorMessage&&(x=i.timeoutErrorMessage),r(new M(x,E.clarifyTimeoutError?M.ETIMEDOUT:M.ECONNABORTED,e,N)),N=null},l===void 0&&o.setContentType(null),"setRequestHeader"in N&&S.forEach(o.toJSON(),function(x,E){N.setRequestHeader(E,x)}),S.isUndefined(i.withCredentials)||(N.withCredentials=!!i.withCredentials),s&&s!=="json"&&(N.responseType=i.responseType),c&&([v,y]=Cl(c,!0),N.addEventListener("progress",v)),a&&N.upload&&([f,g]=Cl(a),N.upload.addEventListener("progress",f),N.upload.addEventListener("loadend",g)),(i.cancelToken||i.signal)&&(d=p=>{N&&(r(!p||p.type?new rr(null,e,N):p),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&&Ee.protocols.indexOf(m)===-1){r(new M("Unsupported protocol "+m+":",M.ERR_BAD_REQUEST,e));return}N.send(l||null)})},Mg=(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 M?d:new rr(d instanceof Error?d.message:d))}};let o=t&&setTimeout(()=>{o=null,l(new M(`timeout ${t} of ms exceeded`,M.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=Fg(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})},lo=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ep=lo&&typeof ReadableStream=="function",Dg=lo&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),tp=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Ig=ep&&tp(()=>{let e=!1;const t=new Request(Ee.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Hc=64*1024,ea=ep&&tp(()=>S.isReadableStream(new Response("").body)),Ol={stream:ea&&(e=>e.body)};lo&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Ol[t]&&(Ol[t]=S.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new M(`Response type '${t}' is not supported`,M.ERR_NOT_SUPPORT,r)})})})(new Response);const bg=async e=>{if(e==null)return 0;if(S.isBlob(e))return e.size;if(S.isSpecCompliantForm(e))return(await new Request(Ee.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 Dg(e)).byteLength},Ug=async(e,t)=>{const n=S.toFiniteNumber(e.getContentLength());return n??bg(t)},Bg=lo&&(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}=Zm(e);c=c?(c+"").toLowerCase():"text";let g=Mg([i,l&&l.toAbortSignal()],o),y;const w=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let N;try{if(a&&Ig&&n!=="get"&&n!=="head"&&(N=await Ug(d,r))!==0){let E=new Request(t,{method:"POST",body:r,duplex:"half"}),_;if(S.isFormData(r)&&(_=E.headers.get("content-type"))&&d.setContentType(_),E.body){const[O,C]=Uc(N,Cl(Bc(a)));r=Wc(E.body,Hc,O,C)}}S.isString(f)||(f=f?"include":"omit");const h="credentials"in Request.prototype;y=new Request(t,{...v,signal:g,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:h?f:void 0});let m=await fetch(y);const p=ea&&(c==="stream"||c==="response");if(ea&&(s||p&&w)){const E={};["status","statusText","headers"].forEach(A=>{E[A]=m[A]});const _=S.toFiniteNumber(m.headers.get("content-length")),[O,C]=s&&Uc(_,Cl(Bc(s),!0))||[];m=new Response(Wc(m.body,Hc,O,()=>{C&&C(),w&&w()}),E)}c=c||"text";let x=await Ol[S.findKey(Ol,c)||"text"](m,e);return!p&&w&&w(),await new Promise((E,_)=>{Gm(E,_,{data:x,headers:_e.from(m.headers),status:m.status,statusText:m.statusText,config:e,request:y})})}catch(h){throw w&&w(),h&&h.name==="TypeError"&&/fetch/i.test(h.message)?Object.assign(new M("Network Error",M.ERR_NETWORK,e,y),{cause:h.cause||h}):M.from(h,h&&h.code,e,y)}}),ta={http:ng,xhr:Lg,fetch:Bg};S.forEach(ta,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Vc=e=>`- ${e}`,$g=e=>S.isFunction(e)||e===null||e===!1,np={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(Vc).join(` -`):" "+Vc(l[0]):"as no adapter specified";throw new M("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:ta};function qo(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new rr(null,e)}function Qc(e){return qo(e),e.headers=_e.from(e.headers),e.data=Ko.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),np.getAdapter(e.adapter||ci.adapter)(e).then(function(r){return qo(e),r.data=Ko.call(e,e.transformResponse,r),r.headers=_e.from(r.headers),r},function(r){return Xm(r)||(qo(e),r&&r.response&&(r.response.data=Ko.call(e,e.transformResponse,r.response),r.response.headers=_e.from(r.response.headers))),Promise.reject(r)})}const rp="1.7.7",uu={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{uu[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Kc={};uu.transitional=function(t,n,r){function i(l,o){return"[Axios v"+rp+"] Transitional option '"+l+"'"+o+(r?". "+r:"")}return(l,o,s)=>{if(t===!1)throw new M(i(o," has been removed"+(n?" in "+n:"")),M.ERR_DEPRECATED);return n&&!Kc[o]&&(Kc[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 Wg(e,t,n){if(typeof e!="object")throw new M("options must be an object",M.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],u=s===void 0||o(s,l,e);if(u!==!0)throw new M("option "+l+" must be "+u,M.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new M("Unknown option "+l,M.ERR_BAD_OPTION)}}const na={assertOptions:Wg,validators:uu},xt=na.validators;class sn{constructor(t){this.defaults=t,this.interceptors={request:new bc,response:new bc}}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=hn(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:l}=n;r!==void 0&&na.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}:na.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 u=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(n)===!1||(u=u&&w.synchronous,s.unshift(w.fulfilled,w.rejected))});const c=[];this.interceptors.response.forEach(function(w){c.push(w.fulfilled,w.rejected)});let d,f=0,v;if(!u){const y=[Qc.bind(this),void 0];for(y.unshift.apply(y,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 rr(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 cu(function(i){t=i}),cancel:t}}}function Hg(e){return function(n){return e.apply(null,n)}}function Vg(e){return S.isObject(e)&&e.isAxiosError===!0}const ra={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(ra).forEach(([e,t])=>{ra[t]=e});function ip(e){const t=new sn(e),n=Fm(sn.prototype.request,t);return S.extend(n,sn.prototype,t,{allOwnKeys:!0}),S.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return ip(hn(e,i))},n}const Z=ip(ci);Z.Axios=sn;Z.CanceledError=rr;Z.CancelToken=cu;Z.isCancel=Xm;Z.VERSION=rp;Z.toFormData=io;Z.AxiosError=M;Z.Cancel=Z.CanceledError;Z.all=function(t){return Promise.all(t)};Z.spread=Hg;Z.isAxiosError=Vg;Z.mergeConfig=hn;Z.AxiosHeaders=_e;Z.formToJSON=e=>Jm(S.isHTMLForm(e)?new FormData(e):e);Z.getAdapter=np.getAdapter;Z.HttpStatusCode=ra;Z.default=Z;const Qg="http://67.225.129.127:3002",oo=Z.create({baseURL:Qg});oo.interceptors.request.use(e=>(localStorage.getItem("profile")&&(e.headers.Authorization=`Bearer ${JSON.parse(localStorage.getItem("profile")).token}`),e));const Kg=e=>oo.post("/users/signup",e),qg=e=>oo.post("/users/signin",e),Jg=(e,t,n)=>oo.get(`/users/${e}/verify/${t}`,n),Ji=ai("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)}}),Xi=ai("auth/register",async({formValue:e,navigate:t,toast:n},{rejectWithValue:r})=>{try{const i=await Kg(e);return n.success("Register Successfully"),t("/"),i.data}catch(i){return r(i.response.data)}}),Jo=ai("auth/updateUser",async({id:e,data:t},{rejectWithValue:n})=>{try{return(await(void 0)(t,e)).data}catch(r){return n(r.response.data)}}),lp=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(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(Xi.pending,t=>{t.loading=!0}).addCase(Xi.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.user=n.payload}).addCase(Xi.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message}).addCase(Jo.pending,t=>{t.loading=!0}).addCase(Jo.fulfilled,(t,n)=>{t.loading=!1,t.user=n.payload}).addCase(Jo.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message})}}),{setUser:Gx,setLogout:Xg,setUserDetails:Yx}=lp.actions,Gg=lp.reducer,Xo=ai("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)}}),Gi=ai("user/verifyEmail",async({id:e,token:t,data:n},{rejectWithValue:r})=>{try{return(await Jg(e,t,n)).data.message}catch{return r("Error verifying email")}}),Yg=zm({name:"user",initialState:{users:[],error:"",loading:!1,verified:!1},reducers:{},extraReducers:e=>{e.addCase(Xo.pending,t=>{t.loading=!0}).addCase(Xo.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.users=Array.isArray(n.payload)?n.payload:[]}).addCase(Xo.rejected,(t,n)=>{t.loading=!1,t.error=n.payload}).addCase(Gi.pending,t=>{t.loading=!0,t.error=null}).addCase(Gi.fulfilled,(t,n)=>{t.loading=!1,t.verified=n.payload==="Email verified successfully"}).addCase(Gi.rejected,(t,n)=>{t.loading=!1,t.error=n.error.message})}}),Zg=Yg.reducer,e1=Gy({reducer:{auth:Gg,user:Zg}});/** +`):" "+Vc(l[0]):"as no adapter specified";throw new M("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:ta};function qo(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new rr(null,e)}function Qc(e){return qo(e),e.headers=_e.from(e.headers),e.data=Ko.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),np.getAdapter(e.adapter||ci.adapter)(e).then(function(r){return qo(e),r.data=Ko.call(e,e.transformResponse,r),r.headers=_e.from(r.headers),r},function(r){return Xm(r)||(qo(e),r&&r.response&&(r.response.data=Ko.call(e,e.transformResponse,r.response),r.response.headers=_e.from(r.response.headers))),Promise.reject(r)})}const rp="1.7.7",uu={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{uu[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Kc={};uu.transitional=function(t,n,r){function i(l,o){return"[Axios v"+rp+"] Transitional option '"+l+"'"+o+(r?". "+r:"")}return(l,o,s)=>{if(t===!1)throw new M(i(o," has been removed"+(n?" in "+n:"")),M.ERR_DEPRECATED);return n&&!Kc[o]&&(Kc[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 Wg(e,t,n){if(typeof e!="object")throw new M("options must be an object",M.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 M("option "+l+" must be "+a,M.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new M("Unknown option "+l,M.ERR_BAD_OPTION)}}const na={assertOptions:Wg,validators:uu},xt=na.validators;class sn{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=hn(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:l}=n;r!==void 0&&na.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}:na.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(w){typeof w.runWhen=="function"&&w.runWhen(n)===!1||(a=a&&w.synchronous,s.unshift(w.fulfilled,w.rejected))});const c=[];this.interceptors.response.forEach(function(w){c.push(w.fulfilled,w.rejected)});let d,f=0,v;if(!a){const y=[Qc.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 rr(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 cu(function(i){t=i}),cancel:t}}}function Hg(e){return function(n){return e.apply(null,n)}}function Vg(e){return S.isObject(e)&&e.isAxiosError===!0}const ra={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(ra).forEach(([e,t])=>{ra[t]=e});function ip(e){const t=new sn(e),n=Fm(sn.prototype.request,t);return S.extend(n,sn.prototype,t,{allOwnKeys:!0}),S.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return ip(hn(e,i))},n}const Z=ip(ci);Z.Axios=sn;Z.CanceledError=rr;Z.CancelToken=cu;Z.isCancel=Xm;Z.VERSION=rp;Z.toFormData=io;Z.AxiosError=M;Z.Cancel=Z.CanceledError;Z.all=function(t){return Promise.all(t)};Z.spread=Hg;Z.isAxiosError=Vg;Z.mergeConfig=hn;Z.AxiosHeaders=_e;Z.formToJSON=e=>Jm(S.isHTMLForm(e)?new FormData(e):e);Z.getAdapter=np.getAdapter;Z.HttpStatusCode=ra;Z.default=Z;const Qg="http://67.225.129.127:3002",oo=Z.create({baseURL:Qg});oo.interceptors.request.use(e=>(localStorage.getItem("profile")&&(e.headers.Authorization=`Bearer ${JSON.parse(localStorage.getItem("profile")).token}`),e));const Kg=e=>oo.post("/users/signup",e),qg=e=>oo.post("/users/signin",e),Jg=(e,t,n)=>oo.get(`/users/${e}/verify/${t}`,n),Ji=ai("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)}}),Xi=ai("auth/register",async({formValue:e,navigate:t,toast:n},{rejectWithValue:r})=>{try{const i=await Kg(e);return n.success("Register Successfully"),t("/"),i.data}catch(i){return r(i.response.data)}}),Jo=ai("auth/updateUser",async({id:e,data:t},{rejectWithValue:n})=>{try{return(await(void 0)(t,e)).data}catch(r){return n(r.response.data)}}),lp=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(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(Xi.pending,t=>{t.loading=!0}).addCase(Xi.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.user=n.payload}).addCase(Xi.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message}).addCase(Jo.pending,t=>{t.loading=!0}).addCase(Jo.fulfilled,(t,n)=>{t.loading=!1,t.user=n.payload}).addCase(Jo.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message})}}),{setUser:Gx,setLogout:Xg,setUserDetails:Yx}=lp.actions,Gg=lp.reducer,Xo=ai("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)}}),Gi=ai("user/verifyEmail",async({id:e,token:t,data:n},{rejectWithValue:r})=>{try{return(await Jg(e,t,n)).data.message}catch{return r("Error verifying email")}}),Yg=zm({name:"user",initialState:{users:[],error:"",loading:!1,verified:!1},reducers:{},extraReducers:e=>{e.addCase(Xo.pending,t=>{t.loading=!0}).addCase(Xo.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.users=Array.isArray(n.payload)?n.payload:[]}).addCase(Xo.rejected,(t,n)=>{t.loading=!1,t.error=n.payload}).addCase(Gi.pending,t=>{t.loading=!0,t.error=null}).addCase(Gi.fulfilled,(t,n)=>{t.loading=!1,t.verified=n.payload==="Email verified successfully"}).addCase(Gi.rejected,(t,n)=>{t.loading=!1,t.error=n.error.message})}}),Zg=Yg.reducer,e1=Gy({reducer:{auth:Gg,user:Zg}});/** * @remix-run/router v1.19.1 * * Copyright (c) Remix Software Inc. @@ -59,7 +59,7 @@ Error generating stack: `+l.message+` * 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 op(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function n1(){return Math.random().toString(36).substr(2,8)}function Jc(e,t){return{usr:e.state,key:e.key,idx:t}}function ia(e,t,n,r){return n===void 0&&(n=null),Zr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ir(t):t,{state:n,key:t&&t.key||r||n1()})}function Pl(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 ir(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 r1(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:l=!1}=r,o=i.history,s=Rt.Pop,u=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=Rt.Pop;let N=d(),h=N==null?null:N-c;c=N,u&&u({action:s,location:w.location,delta:h})}function v(N,h){s=Rt.Push;let m=ia(w.location,N,h);c=d()+1;let p=Jc(m,c),x=w.createHref(m);try{o.pushState(p,"",x)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;i.location.assign(x)}l&&u&&u({action:s,location:w.location,delta:1})}function g(N,h){s=Rt.Replace;let m=ia(w.location,N,h);c=d();let p=Jc(m,c),x=w.createHref(m);o.replaceState(p,"",x),l&&u&&u({action:s,location:w.location,delta:0})}function y(N){let h=i.location.origin!=="null"?i.location.origin:i.location.href,m=typeof N=="string"?N:Pl(N);return m=m.replace(/ $/,"%20"),J(h,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,h)}let w={get action(){return s},get location(){return e(i,o)},listen(N){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(qc,f),u=N,()=>{i.removeEventListener(qc,f),u=null}},createHref(N){return t(i,N)},createURL:y,encodeLocation(N){let h=y(N);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:v,replace:g,go(N){return o.go(N)}};return w}var Xc;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Xc||(Xc={}));function i1(e,t,n){return n===void 0&&(n="/"),l1(e,t,n,!1)}function l1(e,t,n,r){let i=typeof t=="string"?ir(t):t,l=Yn(i.pathname||"/",n);if(l==null)return null;let o=sp(e);o1(o);let s=null;for(let u=0;s==null&&u{let u={relativePath:s===void 0?l.path||"":s,caseSensitive:l.caseSensitive===!0,childrenIndex:o,route:l};u.relativePath.startsWith("/")&&(J(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let c=It([r,u.relativePath]),d=n.concat(u);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+'".')),sp(l.children,t,d,c)),!(l.path==null&&!l.index)&&t.push({path:c,score:m1(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 u of ap(l.path))i(l,o,u)}),t}function ap(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=ap(r.join("/")),s=[];return s.push(...o.map(u=>u===""?l:[l,u].join("/"))),i&&s.push(...o),s.map(u=>e.startsWith("/")&&u===""?"/":u)}function o1(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:p1(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const s1=/^:[\w-]+$/,a1=3,u1=2,c1=1,d1=10,f1=-2,Gc=e=>e==="*";function m1(e,t){let n=e.split("/"),r=n.length;return n.some(Gc)&&(r+=f1),t&&(r+=u1),n.filter(i=>!Gc(i)).reduce((i,l)=>i+(s1.test(l)?a1:l===""?c1:d1),r)}function p1(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 h1(e,t,n){let{routesMeta:r}=e,i={},l="/",o=[];for(let s=0;s{let{paramName:v,isOptional:g}=d;if(v==="*"){let w=s[f]||"";o=l.slice(0,l.length-w.length).replace(/(.)\/+$/,"$1")}const y=s[f];return g&&!y?c[v]=void 0:c[v]=(y||"").replace(/%2F/g,"/"),c},{}),pathname:l,pathnameBase:o,pattern:e}}function v1(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),op(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,u)=>(r.push({paramName:s,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function y1(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return op(!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 Yn(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 g1(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?ir(e):e;return{pathname:n?n.startsWith("/")?n:x1(n,t):t,search:S1(r),hash:k1(i)}}function x1(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 Go(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 w1(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function up(e,t){let n=w1(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function cp(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=ir(e):(i=Zr({},e),J(!i.pathname||!i.pathname.includes("?"),Go("?","pathname","search",i)),J(!i.pathname||!i.pathname.includes("#"),Go("#","pathname","hash",i)),J(!i.search||!i.search.includes("#"),Go("#","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 u=g1(i,s),c=o&&o!=="/"&&o.endsWith("/"),d=(l||o===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(c||d)&&(u.pathname+="/"),u}const It=e=>e.join("/").replace(/\/\/+/g,"/"),N1=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),S1=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,k1=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function E1(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const dp=["post","put","patch","delete"];new Set(dp);const _1=["get",...dp];new Set(_1);/** + */function Zr(){return Zr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function op(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function n1(){return Math.random().toString(36).substr(2,8)}function Jc(e,t){return{usr:e.state,key:e.key,idx:t}}function ia(e,t,n,r){return n===void 0&&(n=null),Zr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ir(t):t,{state:n,key:t&&t.key||r||n1()})}function Pl(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 ir(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 r1(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:l=!1}=r,o=i.history,s=Rt.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=Rt.Pop;let N=d(),h=N==null?null:N-c;c=N,a&&a({action:s,location:w.location,delta:h})}function v(N,h){s=Rt.Push;let m=ia(w.location,N,h);c=d()+1;let p=Jc(m,c),x=w.createHref(m);try{o.pushState(p,"",x)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;i.location.assign(x)}l&&a&&a({action:s,location:w.location,delta:1})}function g(N,h){s=Rt.Replace;let m=ia(w.location,N,h);c=d();let p=Jc(m,c),x=w.createHref(m);o.replaceState(p,"",x),l&&a&&a({action:s,location:w.location,delta:0})}function y(N){let h=i.location.origin!=="null"?i.location.origin:i.location.href,m=typeof N=="string"?N:Pl(N);return m=m.replace(/ $/,"%20"),J(h,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,h)}let w={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 h=y(N);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:v,replace:g,go(N){return o.go(N)}};return w}var Xc;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Xc||(Xc={}));function i1(e,t,n){return n===void 0&&(n="/"),l1(e,t,n,!1)}function l1(e,t,n,r){let i=typeof t=="string"?ir(t):t,l=Yn(i.pathname||"/",n);if(l==null)return null;let o=sp(e);o1(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=bt([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+'".')),sp(l.children,t,d,c)),!(l.path==null&&!l.index)&&t.push({path:c,score:m1(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 ap(l.path))i(l,o,a)}),t}function ap(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=ap(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 o1(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:p1(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const s1=/^:[\w-]+$/,a1=3,u1=2,c1=1,d1=10,f1=-2,Gc=e=>e==="*";function m1(e,t){let n=e.split("/"),r=n.length;return n.some(Gc)&&(r+=f1),t&&(r+=u1),n.filter(i=>!Gc(i)).reduce((i,l)=>i+(s1.test(l)?a1:l===""?c1:d1),r)}function p1(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 h1(e,t,n){let{routesMeta:r}=e,i={},l="/",o=[];for(let s=0;s{let{paramName:v,isOptional:g}=d;if(v==="*"){let w=s[f]||"";o=l.slice(0,l.length-w.length).replace(/(.)\/+$/,"$1")}const y=s[f];return g&&!y?c[v]=void 0:c[v]=(y||"").replace(/%2F/g,"/"),c},{}),pathname:l,pathnameBase:o,pattern:e}}function v1(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),op(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 y1(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return op(!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 Yn(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 g1(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?ir(e):e;return{pathname:n?n.startsWith("/")?n:x1(n,t):t,search:S1(r),hash:k1(i)}}function x1(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 Go(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 w1(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function up(e,t){let n=w1(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function cp(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=ir(e):(i=Zr({},e),J(!i.pathname||!i.pathname.includes("?"),Go("?","pathname","search",i)),J(!i.pathname||!i.pathname.includes("#"),Go("#","pathname","hash",i)),J(!i.search||!i.search.includes("#"),Go("#","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=g1(i,s),c=o&&o!=="/"&&o.endsWith("/"),d=(l||o===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(c||d)&&(a.pathname+="/"),a}const bt=e=>e.join("/").replace(/\/\/+/g,"/"),N1=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),S1=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,k1=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function E1(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const dp=["post","put","patch","delete"];new Set(dp);const _1=["get",...dp];new Set(_1);/** * React Router v6.26.1 * * Copyright (c) Remix Software Inc. @@ -68,7 +68,7 @@ Error generating stack: `+l.message+` * 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}),P.useCallback(function(c,d){if(d===void 0&&(d={}),!s.current)return;if(typeof c=="number"){r.go(c);return}let f=cp(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 O1(){let{matches:e}=P.useContext(Kt),t=e[e.length-1];return t?t.params:{}}function uo(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=P.useContext(Qt),{matches:i}=P.useContext(Kt),{pathname:l}=fi(),o=JSON.stringify(up(i,r.v7_relativeSplatPath));return P.useMemo(()=>cp(e,JSON.parse(o),l,n==="path"),[e,o,l,n])}function P1(e,t){return R1(e,t)}function R1(e,t,n,r){di()||J(!1);let{navigator:i}=P.useContext(Qt),{matches:l}=P.useContext(Kt),o=l[l.length-1],s=o?o.params:{};o&&o.pathname;let u=o?o.pathnameBase:"/";o&&o.route;let c=fi(),d;if(t){var f;let N=typeof t=="string"?ir(t):t;u==="/"||(f=N.pathname)!=null&&f.startsWith(u)||J(!1),d=N}else d=c;let v=d.pathname||"/",g=v;if(u!=="/"){let N=u.replace(/^\//,"").split("/");g="/"+v.replace(/^\//,"").split("/").slice(N.length).join("/")}let y=i1(e,{pathname:g}),w=F1(y&&y.map(N=>Object.assign({},N,{params:Object.assign({},s,N.params),pathname:It([u,i.encodeLocation?i.encodeLocation(N.pathname).pathname:N.pathname]),pathnameBase:N.pathnameBase==="/"?u:It([u,i.encodeLocation?i.encodeLocation(N.pathnameBase).pathname:N.pathnameBase])})),l,n,r);return t&&w?P.createElement(ao.Provider,{value:{location:ei({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Rt.Pop}},w):w}function T1(){let e=I1(),t=E1(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 P.createElement(P.Fragment,null,P.createElement("h2",null,"Unexpected Application Error!"),P.createElement("h3",{style:{fontStyle:"italic"}},t),n?P.createElement("pre",{style:i},n):null,null)}const L1=P.createElement(T1,null);class M1 extends P.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?P.createElement(Kt.Provider,{value:this.props.routeContext},P.createElement(mp.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function z1(e){let{routeContext:t,match:n,children:r}=e,i=P.useContext(so);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),P.createElement(Kt.Provider,{value:t},r)}function F1(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 u=!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 g,y=!1,w=null,N=null;n&&(g=s&&f.route.id?s[f.route.id]:void 0,w=f.route.errorElement||L1,u&&(c<0&&v===0?(y=!0,N=null):c===v&&(y=!0,N=f.route.hydrateFallbackElement||null)));let h=t.concat(o.slice(0,v+1)),m=()=>{let p;return g?p=w:y?p=N:f.route.Component?p=P.createElement(f.route.Component,null):f.route.element?p=f.route.element:p=d,P.createElement(z1,{match:f,routeContext:{outlet:d,matches:h,isDataRoute:n!=null},children:p})};return n&&(f.route.ErrorBoundary||f.route.errorElement||v===0)?P.createElement(M1,{location:n.location,revalidation:n.revalidation,component:w,error:g,children:m(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):m()},null)}var hp=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(hp||{}),Tl=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}(Tl||{});function A1(e){let t=P.useContext(so);return t||J(!1),t}function D1(e){let t=P.useContext(fp);return t||J(!1),t}function b1(e){let t=P.useContext(Kt);return t||J(!1),t}function vp(e){let t=b1(),n=t.matches[t.matches.length-1];return n.route.id||J(!1),n.route.id}function I1(){var e;let t=P.useContext(mp),n=D1(Tl.UseRouteError),r=vp(Tl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function U1(){let{router:e}=A1(hp.UseNavigateStable),t=vp(Tl.UseNavigateStable),n=P.useRef(!1);return pp(()=>{n.current=!0}),P.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 wt(e){J(!1)}function B1(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Rt.Pop,navigator:l,static:o=!1,future:s}=e;di()&&J(!1);let u=t.replace(/^\/*/,"/"),c=P.useMemo(()=>({basename:u,navigator:l,static:o,future:ei({v7_relativeSplatPath:!1},s)}),[u,s,l,o]);typeof r=="string"&&(r=ir(r));let{pathname:d="/",search:f="",hash:v="",state:g=null,key:y="default"}=r,w=P.useMemo(()=>{let N=Yn(d,u);return N==null?null:{location:{pathname:N,search:f,hash:v,state:g,key:y},navigationType:i}},[u,d,f,v,g,y,i]);return w==null?null:P.createElement(Qt.Provider,{value:c},P.createElement(ao.Provider,{children:n,value:w}))}function $1(e){let{children:t,location:n}=e;return P1(la(t),n)}new Promise(()=>{});function la(e,t){t===void 0&&(t=[]);let n=[];return P.Children.forEach(e,(r,i)=>{if(!P.isValidElement(r))return;let l=[...t,i];if(r.type===P.Fragment){n.push.apply(n,la(r.props.children,l));return}r.type!==wt&&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=la(r.props.children,l)),n.push(o)}),n}/** + */function ei(){return ei=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),P.useCallback(function(c,d){if(d===void 0&&(d={}),!s.current)return;if(typeof c=="number"){r.go(c);return}let f=cp(c,JSON.parse(o),l,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:bt([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,o,l,e])}function O1(){let{matches:e}=P.useContext(Kt),t=e[e.length-1];return t?t.params:{}}function uo(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=P.useContext(Qt),{matches:i}=P.useContext(Kt),{pathname:l}=fi(),o=JSON.stringify(up(i,r.v7_relativeSplatPath));return P.useMemo(()=>cp(e,JSON.parse(o),l,n==="path"),[e,o,l,n])}function P1(e,t){return R1(e,t)}function R1(e,t,n,r){di()||J(!1);let{navigator:i}=P.useContext(Qt),{matches:l}=P.useContext(Kt),o=l[l.length-1],s=o?o.params:{};o&&o.pathname;let a=o?o.pathnameBase:"/";o&&o.route;let c=fi(),d;if(t){var f;let N=typeof t=="string"?ir(t):t;a==="/"||(f=N.pathname)!=null&&f.startsWith(a)||J(!1),d=N}else d=c;let v=d.pathname||"/",g=v;if(a!=="/"){let N=a.replace(/^\//,"").split("/");g="/"+v.replace(/^\//,"").split("/").slice(N.length).join("/")}let y=i1(e,{pathname:g}),w=F1(y&&y.map(N=>Object.assign({},N,{params:Object.assign({},s,N.params),pathname:bt([a,i.encodeLocation?i.encodeLocation(N.pathname).pathname:N.pathname]),pathnameBase:N.pathnameBase==="/"?a:bt([a,i.encodeLocation?i.encodeLocation(N.pathnameBase).pathname:N.pathnameBase])})),l,n,r);return t&&w?P.createElement(ao.Provider,{value:{location:ei({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Rt.Pop}},w):w}function T1(){let e=b1(),t=E1(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 P.createElement(P.Fragment,null,P.createElement("h2",null,"Unexpected Application Error!"),P.createElement("h3",{style:{fontStyle:"italic"}},t),n?P.createElement("pre",{style:i},n):null,null)}const L1=P.createElement(T1,null);class M1 extends P.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?P.createElement(Kt.Provider,{value:this.props.routeContext},P.createElement(mp.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function z1(e){let{routeContext:t,match:n,children:r}=e,i=P.useContext(so);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),P.createElement(Kt.Provider,{value:t},r)}function F1(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 g,y=!1,w=null,N=null;n&&(g=s&&f.route.id?s[f.route.id]:void 0,w=f.route.errorElement||L1,a&&(c<0&&v===0?(y=!0,N=null):c===v&&(y=!0,N=f.route.hydrateFallbackElement||null)));let h=t.concat(o.slice(0,v+1)),m=()=>{let p;return g?p=w:y?p=N:f.route.Component?p=P.createElement(f.route.Component,null):f.route.element?p=f.route.element:p=d,P.createElement(z1,{match:f,routeContext:{outlet:d,matches:h,isDataRoute:n!=null},children:p})};return n&&(f.route.ErrorBoundary||f.route.errorElement||v===0)?P.createElement(M1,{location:n.location,revalidation:n.revalidation,component:w,error:g,children:m(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):m()},null)}var hp=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(hp||{}),Tl=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}(Tl||{});function A1(e){let t=P.useContext(so);return t||J(!1),t}function D1(e){let t=P.useContext(fp);return t||J(!1),t}function I1(e){let t=P.useContext(Kt);return t||J(!1),t}function vp(e){let t=I1(),n=t.matches[t.matches.length-1];return n.route.id||J(!1),n.route.id}function b1(){var e;let t=P.useContext(mp),n=D1(Tl.UseRouteError),r=vp(Tl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function U1(){let{router:e}=A1(hp.UseNavigateStable),t=vp(Tl.UseNavigateStable),n=P.useRef(!1);return pp(()=>{n.current=!0}),P.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 wt(e){J(!1)}function B1(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Rt.Pop,navigator:l,static:o=!1,future:s}=e;di()&&J(!1);let a=t.replace(/^\/*/,"/"),c=P.useMemo(()=>({basename:a,navigator:l,static:o,future:ei({v7_relativeSplatPath:!1},s)}),[a,s,l,o]);typeof r=="string"&&(r=ir(r));let{pathname:d="/",search:f="",hash:v="",state:g=null,key:y="default"}=r,w=P.useMemo(()=>{let N=Yn(d,a);return N==null?null:{location:{pathname:N,search:f,hash:v,state:g,key:y},navigationType:i}},[a,d,f,v,g,y,i]);return w==null?null:P.createElement(Qt.Provider,{value:c},P.createElement(ao.Provider,{children:n,value:w}))}function $1(e){let{children:t,location:n}=e;return P1(la(t),n)}new Promise(()=>{});function la(e,t){t===void 0&&(t=[]);let n=[];return P.Children.forEach(e,(r,i)=>{if(!P.isValidElement(r))return;let l=[...t,i];if(r.type===P.Fragment){n.push.apply(n,la(r.props.children,l));return}r.type!==wt&&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=la(r.props.children,l)),n.push(o)}),n}/** * React Router DOM v6.26.1 * * Copyright (c) Remix Software Inc. @@ -77,4 +77,4 @@ Error generating stack: `+l.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Ll(){return Ll=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function W1(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function H1(e,t){return e.button===0&&(!t||t==="_self")&&!W1(e)}const V1=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Q1=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],K1="6";try{window.__reactRouterVersion=K1}catch{}const q1=P.createContext({isTransitioning:!1}),J1="startTransition",Yc=Yo[J1];function X1(e){let{basename:t,children:n,future:r,window:i}=e,l=P.useRef();l.current==null&&(l.current=t1({window:i,v5Compat:!0}));let o=l.current,[s,u]=P.useState({action:o.action,location:o.location}),{v7_startTransition:c}=r||{},d=P.useCallback(f=>{c&&Yc?Yc(()=>u(f)):u(f)},[u,c]);return P.useLayoutEffect(()=>o.listen(d),[o,d]),P.createElement(B1,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:o,future:r})}const G1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Y1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Z1=P.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:l,replace:o,state:s,target:u,to:c,preventScrollReset:d,unstable_viewTransition:f}=t,v=yp(t,V1),{basename:g}=P.useContext(Qt),y,w=!1;if(typeof c=="string"&&Y1.test(c)&&(y=c,G1))try{let p=new URL(window.location.href),x=c.startsWith("//")?new URL(p.protocol+c):new URL(c),E=Yn(x.pathname,g);x.origin===p.origin&&E!=null?c=E+x.search+x.hash:w=!0}catch{}let N=j1(c,{relative:i}),h=tx(c,{replace:o,state:s,target:u,preventScrollReset:d,relative:i,unstable_viewTransition:f});function m(p){r&&r(p),p.defaultPrevented||h(p)}return P.createElement("a",Ll({},v,{href:y||N,onClick:w||l?r:m,ref:n,target:u}))}),Ze=P.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:l="",end:o=!1,style:s,to:u,unstable_viewTransition:c,children:d}=t,f=yp(t,Q1),v=uo(u,{relative:f.relative}),g=fi(),y=P.useContext(fp),{navigator:w,basename:N}=P.useContext(Qt),h=y!=null&&nx(v)&&c===!0,m=w.encodeLocation?w.encodeLocation(v).pathname:v.pathname,p=g.pathname,x=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;i||(p=p.toLowerCase(),x=x?x.toLowerCase():null,m=m.toLowerCase()),x&&N&&(x=Yn(x,N)||x);const E=m!=="/"&&m.endsWith("/")?m.length-1:m.length;let _=p===m||!o&&p.startsWith(m)&&p.charAt(E)==="/",O=x!=null&&(x===m||!o&&x.startsWith(m)&&x.charAt(m.length)==="/"),C={isActive:_,isPending:O,isTransitioning:h},A=_?r:void 0,L;typeof l=="function"?L=l(C):L=[l,_?"active":null,O?"pending":null,h?"transitioning":null].filter(Boolean).join(" ");let me=typeof s=="function"?s(C):s;return P.createElement(Z1,Ll({},f,{"aria-current":A,className:L,ref:n,style:me,to:u,unstable_viewTransition:c}),typeof d=="function"?d(C):d)});var oa;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(oa||(oa={}));var Zc;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Zc||(Zc={}));function ex(e){let t=P.useContext(so);return t||J(!1),t}function tx(e,t){let{target:n,replace:r,state:i,preventScrollReset:l,relative:o,unstable_viewTransition:s}=t===void 0?{}:t,u=mi(),c=fi(),d=uo(e,{relative:o});return P.useCallback(f=>{if(H1(f,n)){f.preventDefault();let v=r!==void 0?r:Pl(c)===Pl(d);u(e,{replace:v,state:i,preventScrollReset:l,relative:o,unstable_viewTransition:s})}},[c,u,d,r,i,n,e,l,o,s])}function nx(e,t){t===void 0&&(t={});let n=P.useContext(q1);n==null&&J(!1);let{basename:r}=ex(oa.useViewTransitionState),i=uo(e,{relative:t.relative});if(!n.isTransitioning)return!1;let l=Yn(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=Yn(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Rl(i.pathname,o)!=null||Rl(i.pathname,l)!=null}const gn=()=>{const e=new Date().getFullYear();return a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"header_top_section",children:a.jsx("div",{className:"container",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-sm-12",children:a.jsxs("div",{className:"header_top_main",children:[a.jsx("div",{className:"call_text",children:a.jsxs("a",{href:"#",children:[a.jsx("i",{className:"fa fa-phone","aria-hidden":"true"})," ","+01-40-114-6855"]})}),a.jsx("div",{className:"call_text_2",children:a.jsxs("a",{href:"#",children:[a.jsx("i",{className:"fa fa-envelope","aria-hidden":"true"})," ","support@estatesfunding.com"]})}),a.jsx("div",{className:"call_text_1",children:a.jsxs("a",{href:"#",children:[a.jsx("i",{className:"fa fa-map-marker","aria-hidden":"true"})," ","Mordern Tawon Mosco"]})})]})})})})}),a.jsx("div",{className:"copyright_section",children:a.jsx("div",{className:"container",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-sm-12",children:a.jsxs("p",{className:"copyright_text",children:[e," All Rights Reserved."]})})})})})]})},rx="/assets/logo-Cb1x1exd.png",xn=()=>{var i,l;const{user:e}=si(o=>({...o.auth})),t=Xl(),n=mi(),r=()=>{t(Xg()),n("/")};return a.jsx(a.Fragment,{children:a.jsx("div",{className:"navbar navbar-expand-lg w-100",style:{backgroundColor:"#000000",position:"fixed",top:0,left:0,right:0,zIndex:1e3},children:a.jsxs("div",{className:"container-fluid d-flex align-items-center justify-content-between",children:[a.jsxs("div",{className:"d-flex align-items-center",children:[a.jsx("img",{src:rx,alt:"logo",width:"75",height:"75",className:"img-fluid"}),a.jsx("p",{style:{display:"inline-block",fontStyle:"italic",fontSize:"14px",color:"white",margin:"0 0 0 10px"}})]}),a.jsxs("div",{className:"collapse navbar-collapse",id:"navbarSupportedContent",children:[a.jsxs("ul",{className:"navbar-nav ml-auto",children:[a.jsx("li",{className:"nav-item active",children:a.jsx(Ze,{to:"/",className:"nav-link",children:"Home"})}),a.jsx("li",{className:"nav-item",children:a.jsx(Ze,{to:"/services",className:"nav-link",children:"Services"})}),a.jsx("li",{className:"nav-item",children:a.jsx(Ze,{to:"/about",className:"nav-link",children:"About"})}),a.jsx("li",{className:"nav-item",children:a.jsx(Ze,{to:"/projects",className:"nav-link",children:"Project"})}),a.jsx("li",{className:"nav-item",children:a.jsx(Ze,{to:"/contact",className:"nav-link",children:"Contact Us"})})]}),(i=e==null?void 0:e.result)!=null&&i._id?a.jsx(Ze,{to:"/dashboard",children:"Dashboard"}):a.jsx(Ze,{to:"/register",className:"nav-link",children:"Register"}),(l=e==null?void 0:e.result)!=null&&l._id?a.jsx(Ze,{to:"/login",children:a.jsx("p",{className:"header-text",onClick:r,children:"Logout"})}):a.jsx(Ze,{to:"/login",className:"nav-link",children:"Login"})]})]})})})},ix=()=>a.jsxs(a.Fragment,{children:[a.jsx(xn,{}),a.jsx("br",{})," ",a.jsx("br",{})," ",a.jsx("br",{})," ",a.jsx("br",{})," ",a.jsx("br",{}),a.jsxs("div",{children:[a.jsx("div",{className:"header_section",children:a.jsx("div",{className:"banner_section layout_padding",children:a.jsxs("div",{id:"my_slider",className:"carousel slide","data-ride":"carousel",children:[a.jsxs("div",{className:"carousel-inner",children:[a.jsx("div",{className:"carousel-item active",children:a.jsx("div",{className:"container",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-sm-12",children:a.jsxs("div",{className:"banner_taital_main",children:[a.jsx("h1",{className:"banner_taital",children:"Reinventing real estate investment"}),a.jsxs("p",{className:"banner_text",children:["Owners/operators, and real estate investment firms to excel in what they do best: finding new opportunities"," "]}),a.jsxs("div",{className:"btn_main",children:[a.jsx("div",{className:"started_text active",children:a.jsx("a",{href:"#",children:"Contact US"})}),a.jsx("div",{className:"started_text",children:a.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),a.jsx("div",{className:"carousel-item",children:a.jsx("div",{className:"container",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-sm-12",children:a.jsxs("div",{className:"banner_taital_main",children:[a.jsx("h1",{className:"banner_taital",children:"streamline investment management"}),a.jsxs("p",{className:"banner_text",children:["Best possible experience to our customers and their investors."," "]}),a.jsxs("div",{className:"btn_main",children:[a.jsx("div",{className:"started_text active",children:a.jsx("a",{href:"#",children:"Contact US"})}),a.jsx("div",{className:"started_text",children:a.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),a.jsx("div",{className:"carousel-item",children:a.jsx("div",{className:"container",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-sm-12",children:a.jsxs("div",{className:"banner_taital_main",children:[a.jsx("h1",{className:"banner_taital",children:"Increase your efficiency and security"}),a.jsxs("p",{className:"banner_text",children:["All-in-one real estate investment management platform with 100% security tools"," "]}),a.jsxs("div",{className:"btn_main",children:[a.jsx("div",{className:"started_text active",children:a.jsx("a",{href:"#",children:"Contact US"})}),a.jsx("div",{className:"started_text",children:a.jsx("a",{href:"#",children:"About Us"})})]})]})})})})})]}),a.jsx("a",{className:"carousel-control-prev",href:"#my_slider",role:"button","data-slide":"prev",children:a.jsx("i",{className:"fa fa-angle-left"})}),a.jsx("a",{className:"carousel-control-next",href:"#my_slider",role:"button","data-slide":"next",children:a.jsx("i",{className:"fa fa-angle-right"})})]})})}),a.jsx("div",{className:"services_section layout_padding",children:a.jsxs("div",{className:"container-fluid",children:[a.jsx("div",{className:"row",children:a.jsxs("div",{className:"col-sm-12",children:[a.jsx("h1",{className:"services_taital",children:"Our Services"}),a.jsx("p",{className:"services_text_1",children:"your documents, always and immediately within reach"})]})}),a.jsx("div",{className:"services_section_2",children:a.jsxs("div",{className:"row",children:[a.jsx("div",{className:"col-lg-3 col-sm-6",children:a.jsxs("div",{className:"box_main active",children:[a.jsx("div",{className:"service_img",children:a.jsx("img",{src:"images/icon-1.png"})}),a.jsx("h4",{className:"development_text",children:"Dedication Services"}),a.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"}),a.jsx("div",{className:"readmore_bt",children:a.jsx("a",{href:"#",children:"Read More"})})]})}),a.jsx("div",{className:"col-lg-3 col-sm-6",children:a.jsxs("div",{className:"box_main",children:[a.jsx("div",{className:"service_img",children:a.jsx("img",{src:"images/icon-2.png"})}),a.jsx("h4",{className:"development_text",children:"Building work Reports"}),a.jsx("p",{className:"services_text",children:"Deliver all the reports your investors need. Eliminate manual work and human errors with automatic distribution and allocation"}),a.jsx("div",{className:"readmore_bt",children:a.jsx("a",{href:"#",children:"Read More"})})]})}),a.jsx("div",{className:"col-lg-3 col-sm-6",children:a.jsxs("div",{className:"box_main",children:[a.jsx("div",{className:"service_img",children:a.jsx("img",{src:"images/icon-3.png"})}),a.jsx("h4",{className:"development_text",children:"Reporting continuously"}),a.jsx("p",{className:"services_text",children:"Streamlining investor interactions, gaining complete visibility into your data, and using smart filters to create automatic workflows"}),a.jsx("div",{className:"readmore_bt",children:a.jsx("a",{href:"#",children:"Read More"})})]})}),a.jsx("div",{className:"col-lg-3 col-sm-6",children:a.jsxs("div",{className:"box_main",children:[a.jsx("div",{className:"service_img",children:a.jsx("img",{src:"images/icon-4.png"})}),a.jsx("h4",{className:"development_text",children:"Manage your investment "}),a.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"}),a.jsx("div",{className:"readmore_bt",children:a.jsx("a",{href:"#",children:"Read More"})})]})})]})})]})}),a.jsxs("div",{className:"projects_section layout_padding",children:[a.jsx("div",{className:"container",children:a.jsx("div",{className:"row",children:a.jsxs("div",{className:"col-md-12",children:[a.jsx("h1",{className:"projects_taital",children:"Projects"}),a.jsx("div",{className:"nav-tabs-navigation",children:a.jsx("div",{className:"nav-tabs-wrapper",children:a.jsxs("ul",{className:"nav ","data-tabs":"tabs",children:[a.jsx("li",{className:"nav-item",children:a.jsx("a",{className:"nav-link active",href:"#","data-toggle":"tab",children:"Category filter"})}),a.jsx("li",{className:"nav-item",children:a.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"All"})}),a.jsx("li",{className:"nav-item",children:a.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Paintingl"})}),a.jsx("li",{className:"nav-item",children:a.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Reconstructionl"})}),a.jsx("li",{className:"nav-item",children:a.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Repairsl"})}),a.jsx("li",{className:"nav-item",children:a.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Residentall"})})]})})})]})})}),a.jsx("div",{className:"projects_section_2 layout_padding",children:a.jsx("div",{className:"container",children:a.jsx("div",{className:"pets_section",children:a.jsx("div",{className:"pets_section_2",children:a.jsx("div",{id:"main_slider",className:"carousel slide","data-ride":"carousel",children:a.jsxs("div",{className:"carousel-inner",children:[a.jsx("div",{className:"carousel-item active",children:a.jsxs("div",{className:"row",children:[a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.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"})]})]}),a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.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"})]})]}),a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.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"})]})]})]})}),a.jsx("div",{className:"carousel-item",children:a.jsxs("div",{className:"row",children:[a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.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"})]})]}),a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.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"})]})]}),a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.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"})]})]})]})}),a.jsx("div",{className:"carousel-item",children:a.jsxs("div",{className:"row",children:[a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.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"})]})]}),a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.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"})]})]}),a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.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"})]})]})]})})]})})})})})})]}),a.jsx(gn,{})]})]}),lx=()=>a.jsxs(a.Fragment,{children:[a.jsx(xn,{}),a.jsxs("div",{className:"about_section layout_padding",children:[a.jsx("br",{})," ",a.jsx("br",{})," ",a.jsx("br",{}),a.jsx("div",{className:"container",children:a.jsxs("div",{className:"row",children:[a.jsxs("div",{className:"col-md-6",children:[a.jsx("h1",{className:"about_taital",children:"About Us"}),a.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"," "]}),a.jsx("div",{className:"read_bt_1",children:a.jsx("a",{href:"#",children:"Read More"})})]}),a.jsx("div",{className:"col-md-6",children:a.jsx("div",{className:"about_img",children:a.jsx("div",{className:"video_bt",children:a.jsx("div",{className:"play_icon",children:a.jsx("img",{src:"images/play-icon.png"})})})})})]})}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{})]}),a.jsx(gn,{})]}),ox=()=>a.jsxs(a.Fragment,{children:[a.jsx(xn,{}),a.jsxs("div",{className:"contact_section layout_padding",children:[a.jsx("div",{className:"container",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-md-12",children:a.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),a.jsx("div",{className:"container-fluid",children:a.jsx("div",{className:"contact_section_2",children:a.jsxs("div",{className:"row",children:[a.jsx("div",{className:"col-md-6",children:a.jsx("form",{action:!0,children:a.jsxs("div",{className:"mail_section_1",children:[a.jsx("input",{type:"text",className:"mail_text",placeholder:"Name",name:"Name"}),a.jsx("input",{type:"text",className:"mail_text",placeholder:"Phone Number",name:"Phone Number"}),a.jsx("input",{type:"text",className:"mail_text",placeholder:"Email",name:"Email"}),a.jsx("textarea",{className:"massage-bt",placeholder:"Massage",rows:5,id:"comment",name:"Massage",defaultValue:""}),a.jsx("div",{className:"send_bt",children:a.jsx("a",{href:"#",children:"SEND"})})]})})}),a.jsx("div",{className:"col-md-6 padding_left_15",children:a.jsx("div",{className:"contact_img",children:a.jsx("img",{src:"images/contact-img.png"})})})]})})})]}),a.jsx(gn,{})]}),du=e=>typeof e=="number"&&!isNaN(e),Tr=e=>typeof e=="string",gp=e=>typeof e=="function",sx=e=>P.isValidElement(e)||Tr(e)||gp(e)||du(e),rt=new Map;let sa=[];const ed=new Set,xp=()=>rt.size>0;function ax(e,t){var n;if(t)return!((n=rt.get(t))==null||!n.isToastActive(e));let r=!1;return rt.forEach(i=>{i.isToastActive(e)&&(r=!0)}),r}function ux(e,t){sx(e)&&(xp()||sa.push({content:e,options:t}),rt.forEach(n=>{n.buildToast(e,t)}))}function td(e,t){rt.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 cx=1;const wp=()=>""+cx++;function dx(e){return e&&(Tr(e.toastId)||du(e.toastId))?e.toastId:wp()}function Lr(e,t){return ux(e,t),t.toastId}function Ml(e,t){return{...t,type:t&&t.type||e,toastId:dx(t)}}function zi(e){return(t,n)=>Lr(t,Ml(e,n))}function I(e,t){return Lr(e,Ml("default",t))}I.loading=(e,t)=>Lr(e,Ml("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),I.promise=function(e,t,n){let r,{pending:i,error:l,success:o}=t;i&&(r=Tr(i)?I.loading(i,n):I.loading(i.render,{...n,...i}));const s={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},u=(d,f,v)=>{if(f==null)return void I.dismiss(r);const g={type:d,...s,...n,data:v},y=Tr(f)?{render:f}:f;return r?I.update(r,{...g,...y}):I(y.render,{...g,...y}),v},c=gp(e)?e():e;return c.then(d=>u("success",o,d)).catch(d=>u("error",l,d)),c},I.success=zi("success"),I.info=zi("info"),I.error=zi("error"),I.warning=zi("warning"),I.warn=I.warning,I.dark=(e,t)=>Lr(e,Ml("default",{theme:"dark",...t})),I.dismiss=function(e){(function(t){var n;if(xp()){if(t==null||Tr(n=t)||du(n))rt.forEach(r=>{r.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const r=rt.get(t.containerId);r?r.removeToast(t.id):rt.forEach(i=>{i.removeToast(t.id)})}}else sa=sa.filter(r=>t!=null&&r.options.toastId!==t)})(e)},I.clearWaitingQueue=function(e){e===void 0&&(e={}),rt.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},I.isActive=ax,I.update=function(e,t){t===void 0&&(t={});const n=((r,i)=>{var l;let{containerId:o}=i;return(l=rt.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:wp()};l.toastId!==e&&(l.staleId=e);const o=l.render||i;delete l.render,Lr(o,l)}},I.done=e=>{I.update(e,{progress:1})},I.onChange=function(e){return ed.add(e),()=>{ed.delete(e)}},I.play=e=>td(!0,e),I.pause=e=>td(!1,e);var st=function(){return st=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const[e,t]=P.useState(Ax),[n,r]=P.useState(!1),{loading:i,error:l}=si(E=>({...E.auth})),{title:o,email:s,password:u,firstName:c,middleName:d,lastName:f,confirmPassword:v,termsconditions:g,userType:y}=e,w=Xl(),N=mi();P.useEffect(()=>{l&&I.error(l)},[l]),P.useEffect(()=>{r(o!=="None"&&s&&u&&c&&d&&f&&v&&g&&y!=="")},[o,s,u,c,d,f,v,g,y]);const h=E=>{if(E.preventDefault(),u!==v)return I.error("Password should match");n?w(Xi({formValue:e,navigate:N,toast:I})):I.error("Please fill in all fields and select all checkboxes")},m=E=>E.charAt(0).toUpperCase()+E.slice(1),p=E=>{const{name:_,value:O,type:C,checked:A}=E.target;t(C==="checkbox"?L=>({...L,[_]:A}):L=>({...L,[_]:_==="email"||_==="password"||_==="confirmPassword"?O:m(O)}))},x=E=>{t(_=>({..._,userType:E.target.value}))};return a.jsxs(a.Fragment,{children:[a.jsx(xn,{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("section",{className:"card",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:a.jsx("div",{className:"container-fluid px-0",children:a.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[a.jsx("div",{className:"col-12 col-md-0 col-xl-20 text-center text-md-start"}),a.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:a.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:a.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"mb-4",children:[a.jsx("h2",{className:"h3",children:"Registration"}),a.jsx("h3",{style:{color:"red"},children:'All fields are mandatory to enable "Sign up"'}),a.jsx("hr",{})]})})}),a.jsx("form",{onSubmit:h,children:a.jsxs("div",{className:"row gy-3 overflow-hidden",children:[a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsxs("label",{className:"form-label",children:["Please select the role. ",a.jsx("br",{}),a.jsx("br",{})]}),a.jsxs("div",{className:"form-check form-check-inline",children:[a.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Lender",checked:y==="Lender",onChange:x,required:!0}),a.jsx("label",{className:"form-check-label",children:"Lender"})]}),a.jsxs("div",{className:"form-check form-check-inline",children:[a.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Borrower",checked:y==="Borrower",onChange:x,required:!0}),a.jsxs("label",{className:"form-check-label",children:["Borrower"," "]}),a.jsx("br",{}),a.jsx("br",{})]})]})}),a.jsxs("div",{className:"col-12",children:[a.jsxs("select",{className:"form-floating mb-3 form-control","aria-label":"Default select example",name:"title",value:o,onChange:p,children:[a.jsx("option",{value:"None",children:"Please Select Title"}),a.jsx("option",{value:"Dr",children:"Dr"}),a.jsx("option",{value:"Prof",children:"Prof"}),a.jsx("option",{value:"Mr",children:"Mr"}),a.jsx("option",{value:"Miss",children:"Miss"})]}),a.jsx("br",{})]}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsx("input",{type:"text",className:"form-control",value:c,name:"firstName",onChange:p,placeholder:"First Name",required:"required"}),a.jsx("label",{htmlFor:"firstName",className:"form-label",children:"First Name"})]})}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsx("input",{type:"text",className:"form-control",value:d,name:"middleName",onChange:p,placeholder:"Middle Name",required:"required"}),a.jsx("label",{htmlFor:"middleName",className:"form-label",children:"Middle Name"})]})}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsx("input",{type:"text",className:"form-control",value:f,name:"lastName",onChange:p,placeholder:"Last Name",required:"required"}),a.jsx("label",{htmlFor:"lastName",className:"form-label",children:"Last Name"})]})}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsx("input",{type:"email",className:"form-control",value:s,name:"email",onChange:p,placeholder:"name@example.com",required:"required"}),a.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsx("input",{type:"password",className:"form-control",value:u,name:"password",onChange:p,placeholder:"Password",required:"required"}),a.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsx("input",{type:"password",className:"form-control",value:v,name:"confirmPassword",onChange:p,placeholder:"confirmPassword",required:"required"}),a.jsx("label",{htmlFor:"password",className:"form-label",children:"Retype Password"})]})}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-check",children:[a.jsx("input",{className:"form-check-input",type:"checkbox",id:"termsconditions",value:g,name:"termsconditions",checked:g,onChange:p,required:!0}),a.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["I agree to the"," ",a.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"terms and conditions"})]})]})}),a.jsx("div",{className:"col-12",children:a.jsx("div",{className:"d-grid",children:a.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},disabled:!n||i,children:[i&&a.jsx(Np.Bars,{}),"Sign up"]})})})]})}),a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-12",children:a.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:a.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",a.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"Sign in"})]})})})}),a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-12"})})]})})})]})})}),a.jsx(gn,{})]})},bx={email:"",password:""},Ix=()=>{const[e,t]=P.useState(bx),{loading:n,error:r}=si(d=>({...d.auth})),{email:i,password:l}=e,o=Xl(),s=mi();P.useEffect(()=>{r&&I.error(r)},[r]);const u=d=>{d.preventDefault(),i&&l&&o(Ji({formValue:e,navigate:s,toast:I}))},c=d=>{let{name:f,value:v}=d.target;t({...e,[f]:v})};return a.jsxs(a.Fragment,{children:[a.jsx(xn,{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("section",{className:"py-19 py-md-5 py-xl-8",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:a.jsx("div",{className:"container-fluid px-0",children:a.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[a.jsx("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:a.jsx("div",{className:"text-bg-primary",children:a.jsxs("div",{className:"px-4",children:[a.jsx("hr",{className:"border-primary-subtle mb-4"}),a.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"}),a.jsx("div",{className:"text-endx",children:a.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:a.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"})})})]})})}),a.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:a.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:a.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-12",children:a.jsx("div",{className:"mb-4",children:a.jsx("h2",{className:"h3",children:"Please Login"})})})}),a.jsx("form",{method:"POST",children:a.jsxs("div",{className:"row gy-3 overflow-hidden",children:[a.jsx("div",{className:"col-12"}),a.jsx("div",{className:"col-12"}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsx("input",{type:"email",className:"form-control",id:"email",placeholder:"name@example.com",value:i,name:"email",onChange:c,required:!0}),a.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsx("input",{type:"password",className:"form-control",id:"password",placeholder:"Password",value:l,name:"password",onChange:c,required:!0}),a.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-check",children:[a.jsx("input",{className:"form-check-input",type:"checkbox",name:"iAgree",id:"iAgree",required:!0}),a.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["Remember me"," "]})]})}),a.jsx("div",{className:"col-12",children:a.jsx("div",{className:"d-grid",children:a.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",name:"signin",value:"Sign in",onClick:u,style:{backgroundColor:"#fda417",border:"#fda417"},children:[n&&a.jsx(Np.Bars,{}),"Sign In"]})})})]})}),a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-12",children:a.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:a.jsxs("p",{className:"m-0 text-secondary text-center",children:["Don't have an account?"," ",a.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"Register"})]})})})}),a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-12"})})]})})})]})})}),a.jsx(gn,{})]})},Ux=()=>{var t;const{user:e}=si(n=>({...n.auth}));return a.jsxs("div",{style:{display:"flex",flexDirection:"column",minHeight:"100vh"},children:[a.jsx(xn,{}),a.jsx("br",{})," ",a.jsx("br",{})," ",a.jsx("br",{})," ",a.jsx("br",{}),a.jsx("main",{style:{flex:1},children:a.jsx("section",{className:"py-19 py-md-5 py-xl-8",style:{backgroundColor:"#FFFFFF"},children:a.jsx("div",{className:"container-fluid px-0",children:a.jsxs("div",{className:"row gy-4 align-items-center justify-content-center ",children:[a.jsx("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:a.jsx("div",{className:"text-bg-primary",children:a.jsxs("div",{className:"px-4",children:[a.jsx("hr",{className:"border-primary-subtle mb-4"}),a.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"})]})})}),a.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:a.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:a.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)&&a.jsxs("div",{className:"form-group row",children:[a.jsxs("label",{htmlFor:"firstName",className:"col-sm-6 col-form-label",children:["First Name:"," ",a.jsx("span",{style:{color:"#067ADC"},children:e.result.firstName})]}),a.jsxs("label",{htmlFor:"middleName",className:"col-sm-6 col-form-label",children:["Middle Name:"," ",a.jsx("span",{style:{color:"#067ADC"},children:e.result.middleName})]}),a.jsxs("label",{htmlFor:"lastName",className:"col-sm-6 col-form-label",children:["Last Name:"," ",a.jsx("span",{style:{color:"#067ADC"},children:e.result.lastName})]}),a.jsxs("label",{htmlFor:"email",className:"col-sm-6 col-form-label",children:["Email:"," ",a.jsx("span",{style:{color:"#067ADC"},children:e.result.email})]})]})})})})]})})})}),a.jsx(gn,{})]})};var Sp={exports:{}},Bx="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",$x=Bx,Wx=$x;function kp(){}function Ep(){}Ep.resetWarningCache=kp;var Hx=function(){function e(r,i,l,o,s,u){if(u!==Wx){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:kp};return n.PropTypes=n,n};Sp.exports=Hx();var Vx=Sp.exports;const Qx=nd(Vx),Kx=()=>{const[e,t]=P.useState(3),n=mi();return P.useEffect(()=>{const r=setInterval(()=>{t(i=>--i)},1e3);return e===0&&n("/login"),()=>clearInterval(r)},[e,n]),a.jsx("div",{style:{marginTop:"100px"},children:a.jsxs("h5",{children:["Redirecting you in ",e," seconds"]})})},_p=({children:e})=>{const{user:t}=si(n=>({...n.auth}));return t?e:a.jsx(Kx,{})};_p.propTypes={children:Qx.node.isRequired};const qx=()=>{const e=Xl(),{id:t,token:n}=O1();return P.useEffect(()=>{e(Gi({id:t,token:n}))},[e,t,n]),a.jsxs(a.Fragment,{children:[a.jsx(xn,{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("p",{className:"lead mb-5",children:"Email verified successfully !!!"}),a.jsx("p",{className:"card-title text-center",children:a.jsxs(Ze,{to:"/login",className:"glightbox play-btn mb-4",children:[" ","Please",a.jsx("span",{style:{color:"#F74B02"},children:" login "})," "," ","to access ..."]})}),a.jsx(gn,{})]})},Jx=()=>a.jsx(X1,{children:a.jsxs($1,{children:[a.jsx(wt,{path:"/",element:a.jsx(ix,{})}),a.jsx(wt,{path:"/about",element:a.jsx(lx,{})}),a.jsx(wt,{path:"/contact",element:a.jsx(ox,{})}),a.jsx(wt,{path:"/register",element:a.jsx(Dx,{})}),a.jsx(wt,{path:"/login",element:a.jsx(Ix,{})}),a.jsx(wt,{path:"/dashboard",element:a.jsx(_p,{children:a.jsx(Ux,{})})}),a.jsx(wt,{path:"/users/:id/verify/:token",element:a.jsx(qx,{})})]})});vm(document.getElementById("root")).render(a.jsx(P.StrictMode,{children:a.jsx(Sy,{store:e1,children:a.jsx(Jx,{})})})); + */function Ll(){return Ll=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function W1(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function H1(e,t){return e.button===0&&(!t||t==="_self")&&!W1(e)}const V1=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Q1=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],K1="6";try{window.__reactRouterVersion=K1}catch{}const q1=P.createContext({isTransitioning:!1}),J1="startTransition",Yc=Yo[J1];function X1(e){let{basename:t,children:n,future:r,window:i}=e,l=P.useRef();l.current==null&&(l.current=t1({window:i,v5Compat:!0}));let o=l.current,[s,a]=P.useState({action:o.action,location:o.location}),{v7_startTransition:c}=r||{},d=P.useCallback(f=>{c&&Yc?Yc(()=>a(f)):a(f)},[a,c]);return P.useLayoutEffect(()=>o.listen(d),[o,d]),P.createElement(B1,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:o,future:r})}const G1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Y1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Z1=P.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=yp(t,V1),{basename:g}=P.useContext(Qt),y,w=!1;if(typeof c=="string"&&Y1.test(c)&&(y=c,G1))try{let p=new URL(window.location.href),x=c.startsWith("//")?new URL(p.protocol+c):new URL(c),E=Yn(x.pathname,g);x.origin===p.origin&&E!=null?c=E+x.search+x.hash:w=!0}catch{}let N=j1(c,{relative:i}),h=tx(c,{replace:o,state:s,target:a,preventScrollReset:d,relative:i,unstable_viewTransition:f});function m(p){r&&r(p),p.defaultPrevented||h(p)}return P.createElement("a",Ll({},v,{href:y||N,onClick:w||l?r:m,ref:n,target:a}))}),Ze=P.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=yp(t,Q1),v=uo(a,{relative:f.relative}),g=fi(),y=P.useContext(fp),{navigator:w,basename:N}=P.useContext(Qt),h=y!=null&&nx(v)&&c===!0,m=w.encodeLocation?w.encodeLocation(v).pathname:v.pathname,p=g.pathname,x=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;i||(p=p.toLowerCase(),x=x?x.toLowerCase():null,m=m.toLowerCase()),x&&N&&(x=Yn(x,N)||x);const E=m!=="/"&&m.endsWith("/")?m.length-1:m.length;let _=p===m||!o&&p.startsWith(m)&&p.charAt(E)==="/",O=x!=null&&(x===m||!o&&x.startsWith(m)&&x.charAt(m.length)==="/"),C={isActive:_,isPending:O,isTransitioning:h},A=_?r:void 0,L;typeof l=="function"?L=l(C):L=[l,_?"active":null,O?"pending":null,h?"transitioning":null].filter(Boolean).join(" ");let me=typeof s=="function"?s(C):s;return P.createElement(Z1,Ll({},f,{"aria-current":A,className:L,ref:n,style:me,to:a,unstable_viewTransition:c}),typeof d=="function"?d(C):d)});var oa;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(oa||(oa={}));var Zc;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Zc||(Zc={}));function ex(e){let t=P.useContext(so);return t||J(!1),t}function tx(e,t){let{target:n,replace:r,state:i,preventScrollReset:l,relative:o,unstable_viewTransition:s}=t===void 0?{}:t,a=mi(),c=fi(),d=uo(e,{relative:o});return P.useCallback(f=>{if(H1(f,n)){f.preventDefault();let v=r!==void 0?r:Pl(c)===Pl(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 nx(e,t){t===void 0&&(t={});let n=P.useContext(q1);n==null&&J(!1);let{basename:r}=ex(oa.useViewTransitionState),i=uo(e,{relative:t.relative});if(!n.isTransitioning)return!1;let l=Yn(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=Yn(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Rl(i.pathname,o)!=null||Rl(i.pathname,l)!=null}const gn=()=>{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."]})})})})})]})},rx="/assets/logo-Cb1x1exd.png",xn=()=>{var i,l;const{user:e}=si(o=>({...o.auth})),t=Xl(),n=mi(),r=()=>{t(Xg()),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:rx,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(Ze,{to:"/",className:"nav-link",children:"Home"})}),u.jsx("li",{className:"nav-item",children:u.jsx(Ze,{to:"/services",className:"nav-link",children:"Services"})}),u.jsx("li",{className:"nav-item",children:u.jsx(Ze,{to:"/about",className:"nav-link",children:"About"})}),u.jsx("li",{className:"nav-item",children:u.jsx(Ze,{to:"/projects",className:"nav-link",children:"Project"})}),u.jsx("li",{className:"nav-item",children:u.jsx(Ze,{to:"/contact",className:"nav-link",children:"Contact Us"})})]}),(i=e==null?void 0:e.result)!=null&&i._id?u.jsx(Ze,{to:"/dashboard",children:"Dashboard"}):u.jsx(Ze,{to:"/register",className:"nav-link",children:"Register"}),(l=e==null?void 0:e.result)!=null&&l._id?u.jsx(Ze,{to:"/login",children:u.jsx("p",{className:"header-text",onClick:r,children:"Logout"})}):u.jsx(Ze,{to:"/login",className:"nav-link",children:"Login"})]})]})})})},ix=()=>u.jsxs(u.Fragment,{children:[u.jsx(xn,{}),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(gn,{})]})]}),lx=()=>u.jsxs(u.Fragment,{children:[u.jsx(xn,{}),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(gn,{})]}),ox=()=>u.jsxs(u.Fragment,{children:[u.jsx(xn,{}),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(gn,{})]}),du=e=>typeof e=="number"&&!isNaN(e),Tr=e=>typeof e=="string",gp=e=>typeof e=="function",sx=e=>P.isValidElement(e)||Tr(e)||gp(e)||du(e),rt=new Map;let sa=[];const ed=new Set,xp=()=>rt.size>0;function ax(e,t){var n;if(t)return!((n=rt.get(t))==null||!n.isToastActive(e));let r=!1;return rt.forEach(i=>{i.isToastActive(e)&&(r=!0)}),r}function ux(e,t){sx(e)&&(xp()||sa.push({content:e,options:t}),rt.forEach(n=>{n.buildToast(e,t)}))}function td(e,t){rt.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 cx=1;const wp=()=>""+cx++;function dx(e){return e&&(Tr(e.toastId)||du(e.toastId))?e.toastId:wp()}function Lr(e,t){return ux(e,t),t.toastId}function Ml(e,t){return{...t,type:t&&t.type||e,toastId:dx(t)}}function zi(e){return(t,n)=>Lr(t,Ml(e,n))}function b(e,t){return Lr(e,Ml("default",t))}b.loading=(e,t)=>Lr(e,Ml("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 g={type:d,...s,...n,data:v},y=Tr(f)?{render:f}:f;return r?b.update(r,{...g,...y}):b(y.render,{...g,...y}),v},c=gp(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,Ml("default",{theme:"dark",...t})),b.dismiss=function(e){(function(t){var n;if(xp()){if(t==null||Tr(n=t)||du(n))rt.forEach(r=>{r.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const r=rt.get(t.containerId);r?r.removeToast(t.id):rt.forEach(i=>{i.removeToast(t.id)})}}else sa=sa.filter(r=>t!=null&&r.options.toastId!==t)})(e)},b.clearWaitingQueue=function(e){e===void 0&&(e={}),rt.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},b.isActive=ax,b.update=function(e,t){t===void 0&&(t={});const n=((r,i)=>{var l;let{containerId:o}=i;return(l=rt.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:wp()};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 ed.add(e),()=>{ed.delete(e)}},b.play=e=>td(!0,e),b.pause=e=>td(!1,e);var st=function(){return st=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const[e,t]=P.useState(Ax),[n,r]=P.useState(!1),{loading:i,error:l}=si(E=>({...E.auth})),{title:o,email:s,password:a,firstName:c,middleName:d,lastName:f,confirmPassword:v,termsconditions:g,userType:y}=e,w=Xl(),N=mi();P.useEffect(()=>{l&&b.error(l)},[l]),P.useEffect(()=>{r(o!=="None"&&s&&a&&c&&d&&f&&v&&g&&y!=="")},[o,s,a,c,d,f,v,g,y]);const h=E=>{if(E.preventDefault(),a!==v)return b.error("Password should match");n?w(Xi({formValue:e,navigate:N,toast:b})):b.error("Please fill in all fields and select all checkboxes")},m=E=>E.charAt(0).toUpperCase()+E.slice(1),p=E=>{const{name:_,value:O,type:C,checked:A}=E.target;t(C==="checkbox"?L=>({...L,[_]:A}):L=>({...L,[_]:_==="email"||_==="password"||_==="confirmPassword"?O:m(O)}))},x=E=>{t(_=>({..._,userType:E.target.value}))};return u.jsxs(u.Fragment,{children:[u.jsx(xn,{}),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.jsx("div",{className:"col-12 col-md-0 col-xl-20 text-center text-md-start"}),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",{style:{color:"red"},children:'All fields are mandatory to enable "Sign up"'}),u.jsx("hr",{})]})})}),u.jsx("form",{onSubmit:h,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.jsxs("label",{className:"form-label",children:["Please select the role. ",u.jsx("br",{}),u.jsx("br",{})]}),u.jsxs("div",{className:"form-check form-check-inline",children:[u.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Lender",checked:y==="Lender",onChange:x,required:!0}),u.jsx("label",{className:"form-check-label",children:"Lender"})]}),u.jsxs("div",{className:"form-check form-check-inline",children:[u.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Borrower",checked:y==="Borrower",onChange:x,required:!0}),u.jsxs("label",{className:"form-check-label",children:["Borrower"," "]}),u.jsx("br",{}),u.jsx("br",{})]})]})}),u.jsxs("div",{className:"col-12",children:[u.jsxs("select",{className:"form-floating mb-3 form-control","aria-label":"Default select example",name:"title",value:o,onChange:p,children:[u.jsx("option",{value:"None",children:"Please Select Title"}),u.jsx("option",{value:"Dr",children:"Dr"}),u.jsx("option",{value:"Prof",children:"Prof"}),u.jsx("option",{value:"Mr",children:"Mr"}),u.jsx("option",{value:"Miss",children:"Miss"})]}),u.jsx("br",{})]}),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:"firstName",onChange:p,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:d,name:"middleName",onChange:p,placeholder:"Middle Name",required:"required"}),u.jsx("label",{htmlFor:"middleName",className:"form-label",children:"Middle 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:f,name:"lastName",onChange:p,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:s,name:"email",onChange:p,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:a,name:"password",onChange:p,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:v,name:"confirmPassword",onChange:p,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",id:"termsconditions",value:g,name:"termsconditions",checked:g,onChange:p,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"},disabled:!n||i,children:[i&&u.jsx(Np.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(gn,{})]})},Ix={email:"",password:""},bx=()=>{const[e,t]=P.useState(Ix),{loading:n,error:r}=si(d=>({...d.auth})),{email:i,password:l}=e,o=Xl(),s=mi();P.useEffect(()=>{r&&b.error(r)},[r]);const a=d=>{d.preventDefault(),i&&l&&o(Ji({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(xn,{}),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(Np.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(gn,{})]})},Ux=()=>{var t;const{user:e}=si(n=>({...n.auth}));return u.jsxs("div",{style:{display:"flex",flexDirection:"column",minHeight:"100vh"},children:[u.jsx(xn,{}),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:"middleName",className:"col-sm-6 col-form-label",children:["Middle Name:"," ",u.jsx("span",{style:{color:"#067ADC"},children:e.result.middleName})]}),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(gn,{})]})};var Sp={exports:{}},Bx="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",$x=Bx,Wx=$x;function kp(){}function Ep(){}Ep.resetWarningCache=kp;var Hx=function(){function e(r,i,l,o,s,a){if(a!==Wx){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:kp};return n.PropTypes=n,n};Sp.exports=Hx();var Vx=Sp.exports;const Qx=nd(Vx),Kx=()=>{const[e,t]=P.useState(3),n=mi();return P.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"]})})},_p=({children:e})=>{const{user:t}=si(n=>({...n.auth}));return t?e:u.jsx(Kx,{})};_p.propTypes={children:Qx.node.isRequired};const qx=()=>{const e=Xl(),{id:t,token:n}=O1();return P.useEffect(()=>{e(Gi({id:t,token:n}))},[e,t,n]),u.jsxs(u.Fragment,{children:[u.jsx(xn,{}),u.jsx("p",{className:"card-title text-center",children:u.jsxs(Ze,{to:"/login",className:"glightbox play-btn mb-4",children:[" ","Email verified successfully !!! Please",u.jsx("span",{style:{color:"#F74B02"},children:" login "})," "," ","to access ..."]})}),u.jsx("br",{})," ",u.jsx("br",{}),u.jsx(gn,{})]})},Jx=()=>u.jsx(X1,{children:u.jsxs($1,{children:[u.jsx(wt,{path:"/",element:u.jsx(ix,{})}),u.jsx(wt,{path:"/about",element:u.jsx(lx,{})}),u.jsx(wt,{path:"/contact",element:u.jsx(ox,{})}),u.jsx(wt,{path:"/register",element:u.jsx(Dx,{})}),u.jsx(wt,{path:"/login",element:u.jsx(bx,{})}),u.jsx(wt,{path:"/dashboard",element:u.jsx(_p,{children:u.jsx(Ux,{})})}),u.jsx(wt,{path:"/users/:id/verify/:token",element:u.jsx(qx,{})})]})});vm(document.getElementById("root")).render(u.jsx(P.StrictMode,{children:u.jsx(Sy,{store:e1,children:u.jsx(Jx,{})})})); diff --git a/ef-ui/dist/index.html b/ef-ui/dist/index.html index a3b06d6..1e59257 100644 --- a/ef-ui/dist/index.html +++ b/ef-ui/dist/index.html @@ -27,7 +27,7 @@ - + diff --git a/ef-ui/src/components/EmailVerify.jsx b/ef-ui/src/components/EmailVerify.jsx index 8adff2d..4dd8a28 100644 --- a/ef-ui/src/components/EmailVerify.jsx +++ b/ef-ui/src/components/EmailVerify.jsx @@ -17,26 +17,23 @@ const VerifyUser = () => { return ( <> - -
-
-
-
-
-
-

Email verified successfully !!!

+ -

- - {" "} - Please - login {" "} - to access ... - -

+ +

+ + {" "} + Email verified successfully !!! Please + login {" "} + to access ... + +

+ +