const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Home-DT9xgmmB.js","assets/proxy-CSDrDOQ6.js","assets/users-BmJA6T-g.js","assets/star-DBf-izIT.js","assets/wifi-B6l3gpzm.js","assets/shield-CO1ZxyRH.js","assets/terminal-XxSrqEZA.js","assets/About-6acGKBnd.js","assets/Features-vD7Hwkmy.js","assets/Download-DwEEsqsb.js","assets/check-DuEcDcyK.js","assets/map-pin-Dh5sOFp6.js","assets/Developers-DqgLJRF5.js","assets/Donate-BuPUDU4-.js","assets/Gallery-BoBiz_-4.js"])))=>i.map(i=>d[i]); var hu=e=>{throw TypeError(e)};var Ui=(e,t,n)=>t.has(e)||hu("Cannot "+n);var S=(e,t,n)=>(Ui(e,t,"read from private field"),n?n.call(e):t.get(e)),$=(e,t,n)=>t.has(e)?hu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),L=(e,t,n,r)=>(Ui(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),fe=(e,t,n)=>(Ui(e,t,"access private method"),n);var hl=(e,t,n,r)=>({set _(l){L(e,t,l,n)},get _(){return S(e,t,r)}});function Ad(e,t){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();function Ud(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ja={exports:{}},wi={},ec={exports:{}},I={};/** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var ll=Symbol.for("react.element"),$d=Symbol.for("react.portal"),Bd=Symbol.for("react.fragment"),Qd=Symbol.for("react.strict_mode"),Vd=Symbol.for("react.profiler"),Hd=Symbol.for("react.provider"),Wd=Symbol.for("react.context"),Kd=Symbol.for("react.forward_ref"),Gd=Symbol.for("react.suspense"),bd=Symbol.for("react.memo"),qd=Symbol.for("react.lazy"),mu=Symbol.iterator;function Yd(e){return e===null||typeof e!="object"?null:(e=mu&&e[mu]||e["@@iterator"],typeof e=="function"?e:null)}var tc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},nc=Object.assign,rc={};function sr(e,t,n){this.props=e,this.context=t,this.refs=rc,this.updater=n||tc}sr.prototype.isReactComponent={};sr.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")};sr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function lc(){}lc.prototype=sr.prototype;function hs(e,t,n){this.props=e,this.context=t,this.refs=rc,this.updater=n||tc}var ms=hs.prototype=new lc;ms.constructor=hs;nc(ms,sr.prototype);ms.isPureReactComponent=!0;var yu=Array.isArray,ic=Object.prototype.hasOwnProperty,ys={current:null},oc={key:!0,ref:!0,__self:!0,__source:!0};function sc(e,t,n){var r,l={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)ic.call(t,r)&&!oc.hasOwnProperty(r)&&(l[r]=t[r]);var s=arguments.length-2;if(s===1)l.children=n;else if(1>>1,ie=R[U];if(0>>1;Ul(Ai,T))enl(pl,Ai)?(R[U]=pl,R[en]=T,U=en):(R[U]=Ai,R[Jt]=T,U=Jt);else if(enl(pl,T))R[U]=pl,R[en]=T,U=en;else break e}}return O}function l(R,O){var T=R.sortIndex-O.sortIndex;return T!==0?T:R.id-O.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var u=[],a=[],h=1,f=null,m=3,v=!1,w=!1,y=!1,x=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(R){for(var O=n(a);O!==null;){if(O.callback===null)r(a);else if(O.startTime<=R)r(a),O.sortIndex=O.expirationTime,t(u,O);else break;O=n(a)}}function g(R){if(y=!1,p(R),!w)if(n(u)!==null)w=!0,xt(C);else{var O=n(a);O!==null&&Cn(g,O.startTime-R)}}function C(R,O){w=!1,y&&(y=!1,d(_),_=-1),v=!0;var T=m;try{for(p(O),f=n(u);f!==null&&(!(f.expirationTime>O)||R&&!ge());){var U=f.callback;if(typeof U=="function"){f.callback=null,m=f.priorityLevel;var ie=U(f.expirationTime<=O);O=e.unstable_now(),typeof ie=="function"?f.callback=ie:f===n(u)&&r(u),p(O)}else r(u);f=n(u)}if(f!==null)var dl=!0;else{var Jt=n(a);Jt!==null&&Cn(g,Jt.startTime-O),dl=!1}return dl}finally{f=null,m=T,v=!1}}var N=!1,j=null,_=-1,D=5,F=-1;function ge(){return!(e.unstable_now()-FR||125U?(R.sortIndex=T,t(a,R),n(u)===null&&R===n(a)&&(y?(d(_),_=-1):y=!0,Cn(g,T-U))):(R.sortIndex=ie,t(u,R),w||v||(w=!0,xt(C))),R},e.unstable_shouldYield=ge,e.unstable_wrapCallback=function(R){var O=m;return function(){var T=m;m=O;try{return R.apply(this,arguments)}finally{m=T}}}})(dc);fc.exports=dc;var ap=fc.exports;/** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var cp=P,Te=ap;function E(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"),go=Object.prototype.hasOwnProperty,fp=/^[: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={},wu={};function dp(e){return go.call(wu,e)?!0:go.call(vu,e)?!1:fp.test(e)?wu[e]=!0:(vu[e]=!0,!1)}function pp(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 hp(e,t,n,r){if(t===null||typeof t>"u"||pp(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 Ee(e,t,n,r,l,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var ce={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ce[e]=new Ee(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ce[t]=new Ee(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ce[e]=new Ee(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ce[e]=new Ee(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){ce[e]=new Ee(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ce[e]=new Ee(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ce[e]=new Ee(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ce[e]=new Ee(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ce[e]=new Ee(e,5,!1,e.toLowerCase(),null,!1,!1)});var vs=/[\-:]([a-z])/g;function ws(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(vs,ws);ce[t]=new Ee(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(vs,ws);ce[t]=new Ee(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(vs,ws);ce[t]=new Ee(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ce[e]=new Ee(e,1,!1,e.toLowerCase(),null,!1,!1)});ce.xlinkHref=new Ee("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ce[e]=new Ee(e,1,!1,e.toLowerCase(),null,!0,!0)});function xs(e,t,n,r){var l=ce.hasOwnProperty(t)?ce[t]:null;(l!==null?l.type!==0:r||!(2s||l[o]!==i[s]){var u=` `+l[o].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=o&&0<=s);break}}}finally{Qi=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Sr(e):""}function mp(e){switch(e.tag){case 5:return Sr(e.type);case 16:return Sr("Lazy");case 13:return Sr("Suspense");case 19:return Sr("SuspenseList");case 0:case 2:case 15:return e=Vi(e.type,!1),e;case 11:return e=Vi(e.type.render,!1),e;case 1:return e=Vi(e.type,!0),e;default:return""}}function So(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 Nn:return"Fragment";case _n:return"Portal";case vo:return"Profiler";case Ss:return"StrictMode";case wo:return"Suspense";case xo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case mc:return(e.displayName||"Context")+".Consumer";case hc:return(e._context.displayName||"Context")+".Provider";case ks:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Es:return t=e.displayName||null,t!==null?t:So(e.type)||"Memo";case _t:t=e._payload,e=e._init;try{return So(e(t))}catch{}}return null}function yp(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 So(t);case 8:return t===Ss?"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 Gt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function gc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function gp(e){var t=gc(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function gl(e){e._valueTracker||(e._valueTracker=gp(e))}function vc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=gc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Kl(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 ko(e,t){var n=t.checked;return Y({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Su(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Gt(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 wc(e,t){t=t.checked,t!=null&&xs(e,"checked",t,!1)}function Eo(e,t){wc(e,t);var n=Gt(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")?Co(e,t.type,n):t.hasOwnProperty("defaultValue")&&Co(e,t.type,Gt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ku(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 Co(e,t,n){(t!=="number"||Kl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var kr=Array.isArray;function An(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=vl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ir(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Pr={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},vp=["Webkit","ms","Moz","O"];Object.keys(Pr).forEach(function(e){vp.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Pr[t]=Pr[e]})});function Ec(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Pr.hasOwnProperty(e)&&Pr[e]?(""+t).trim():t+"px"}function Cc(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Ec(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var wp=Y({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 No(e,t){if(t){if(wp[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(E(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(E(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(E(61))}if(t.style!=null&&typeof t.style!="object")throw Error(E(62))}}function Ro(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 zo=null;function Cs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var jo=null,Un=null,$n=null;function Pu(e){if(e=sl(e)){if(typeof jo!="function")throw Error(E(280));var t=e.stateNode;t&&(t=Ci(t),jo(e.stateNode,e.type,t))}}function Pc(e){Un?$n?$n.push(e):$n=[e]:Un=e}function _c(){if(Un){var e=Un,t=$n;if($n=Un=null,Pu(e),t)for(e=0;e>>=0,e===0?32:31-(jp(e)/Op|0)|0}var wl=64,xl=4194304;function Er(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 Yl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~l;s!==0?r=Er(s):(i&=o,i!==0&&(r=Er(i)))}else o=n&~l,o!==0?r=Er(o):i!==0&&(r=Er(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&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 il(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-qe(t),e[t]=n}function Fp(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=Nr),Mu=" ",Fu=!1;function Kc(e,t){switch(e){case"keyup":return ah.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Rn=!1;function fh(e,t){switch(e){case"compositionend":return Gc(t);case"keypress":return t.which!==32?null:(Fu=!0,Mu);case"textInput":return e=t.data,e===Mu&&Fu?null:e;default:return null}}function dh(e,t){if(Rn)return e==="compositionend"||!Ts&&Kc(e,t)?(e=Hc(),Dl=zs=Ft=null,Rn=!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=Uu(n)}}function Xc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Xc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Zc(){for(var e=window,t=Kl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Kl(e.document)}return t}function Ls(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 Sh(e){var t=Zc(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Xc(n.ownerDocument.documentElement,n)){if(r!==null&&Ls(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 l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=$u(n,i);var o=$u(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>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,zn=null,Io=null,zr=null,Do=!1;function Bu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Do||zn==null||zn!==Kl(r)||(r=zn,"selectionStart"in r&&Ls(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}),zr&&Qr(zr,r)||(zr=r,r=Jl(Io,"onSelect"),0Tn||(e.current=Vo[Tn],Vo[Tn]=null,Tn--)}function V(e,t){Tn++,Vo[Tn]=e.current,e.current=t}var bt={},ye=Yt(bt),_e=Yt(!1),pn=bt;function tr(e,t){var n=e.type.contextTypes;if(!n)return bt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Ne(e){return e=e.childContextTypes,e!=null}function ti(){K(_e),K(ye)}function bu(e,t,n){if(ye.current!==bt)throw Error(E(168));V(ye,t),V(_e,n)}function uf(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(E(108,yp(e)||"Unknown",l));return Y({},n,r)}function ni(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||bt,pn=ye.current,V(ye,e),V(_e,_e.current),!0}function qu(e,t,n){var r=e.stateNode;if(!r)throw Error(E(169));n?(e=uf(e,t,pn),r.__reactInternalMemoizedMergedChildContext=e,K(_e),K(ye),V(ye,e)):K(_e),V(_e,n)}var at=null,Pi=!1,ro=!1;function af(e){at===null?at=[e]:at.push(e)}function Lh(e){Pi=!0,af(e)}function Xt(){if(!ro&&at!==null){ro=!0;var e=0,t=Q;try{var n=at;for(Q=1;e>=o,l-=o,ft=1<<32-qe(t)+l|n<_?(D=j,j=null):D=j.sibling;var F=m(d,j,p[_],g);if(F===null){j===null&&(j=D);break}e&&j&&F.alternate===null&&t(d,j),c=i(F,c,_),N===null?C=F:N.sibling=F,N=F,j=D}if(_===p.length)return n(d,j),G&&tn(d,_),C;if(j===null){for(;__?(D=j,j=null):D=j.sibling;var ge=m(d,j,F.value,g);if(ge===null){j===null&&(j=D);break}e&&j&&ge.alternate===null&&t(d,j),c=i(ge,c,_),N===null?C=ge:N.sibling=ge,N=ge,j=D}if(F.done)return n(d,j),G&&tn(d,_),C;if(j===null){for(;!F.done;_++,F=p.next())F=f(d,F.value,g),F!==null&&(c=i(F,c,_),N===null?C=F:N.sibling=F,N=F);return G&&tn(d,_),C}for(j=r(d,j);!F.done;_++,F=p.next())F=v(j,d,_,F.value,g),F!==null&&(e&&F.alternate!==null&&j.delete(F.key===null?_:F.key),c=i(F,c,_),N===null?C=F:N.sibling=F,N=F);return e&&j.forEach(function(B){return t(d,B)}),G&&tn(d,_),C}function x(d,c,p,g){if(typeof p=="object"&&p!==null&&p.type===Nn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case yl:e:{for(var C=p.key,N=c;N!==null;){if(N.key===C){if(C=p.type,C===Nn){if(N.tag===7){n(d,N.sibling),c=l(N,p.props.children),c.return=d,d=c;break e}}else if(N.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===_t&&Zu(C)===N.type){n(d,N.sibling),c=l(N,p.props),c.ref=yr(d,N,p),c.return=d,d=c;break e}n(d,N);break}else t(d,N);N=N.sibling}p.type===Nn?(c=dn(p.props.children,d.mode,g,p.key),c.return=d,d=c):(g=Wl(p.type,p.key,p.props,null,d.mode,g),g.ref=yr(d,c,p),g.return=d,d=g)}return o(d);case _n:e:{for(N=p.key;c!==null;){if(c.key===N)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){n(d,c.sibling),c=l(c,p.children||[]),c.return=d,d=c;break e}else{n(d,c);break}else t(d,c);c=c.sibling}c=fo(p,d.mode,g),c.return=d,d=c}return o(d);case _t:return N=p._init,x(d,c,N(p._payload),g)}if(kr(p))return w(d,c,p,g);if(fr(p))return y(d,c,p,g);Nl(d,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(n(d,c.sibling),c=l(c,p),c.return=d,d=c):(n(d,c),c=co(p,d.mode,g),c.return=d,d=c),o(d)):n(d,c)}return x}var rr=pf(!0),hf=pf(!1),ii=Yt(null),oi=null,Fn=null,Ds=null;function As(){Ds=Fn=oi=null}function Us(e){var t=ii.current;K(ii),e._currentValue=t}function Ko(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 Qn(e,t){oi=e,Ds=Fn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Pe=!0),e.firstContext=null)}function $e(e){var t=e._currentValue;if(Ds!==e)if(e={context:e,memoizedValue:t,next:null},Fn===null){if(oi===null)throw Error(E(308));Fn=e,oi.dependencies={lanes:0,firstContext:e}}else Fn=Fn.next=e;return t}var ln=null;function $s(e){ln===null?ln=[e]:ln.push(e)}function mf(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,$s(t)):(n.next=l.next,l.next=n),t.interleaved=n,yt(e,r)}function yt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Nt=!1;function Bs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function yf(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 pt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Qt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,A&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,yt(e,n)}return l=r.interleaved,l===null?(t.next=t,$s(r)):(t.next=l.next,l.next=t),r.interleaved=t,yt(e,n)}function Ul(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,_s(e,n)}}function Ju(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=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};i===null?l=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,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 si(e,t,n,r){var l=e.updateQueue;Nt=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,s=l.shared.pending;if(s!==null){l.shared.pending=null;var u=s,a=u.next;u.next=null,o===null?i=a:o.next=a,o=u;var h=e.alternate;h!==null&&(h=h.updateQueue,s=h.lastBaseUpdate,s!==o&&(s===null?h.firstBaseUpdate=a:s.next=a,h.lastBaseUpdate=u))}if(i!==null){var f=l.baseState;o=0,h=a=u=null,s=i;do{var m=s.lane,v=s.eventTime;if((r&m)===m){h!==null&&(h=h.next={eventTime:v,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var w=e,y=s;switch(m=t,v=n,y.tag){case 1:if(w=y.payload,typeof w=="function"){f=w.call(v,f,m);break e}f=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=y.payload,m=typeof w=="function"?w.call(v,f,m):w,m==null)break e;f=Y({},f,m);break e;case 2:Nt=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,m=l.effects,m===null?l.effects=[s]:m.push(s))}else v={eventTime:v,lane:m,tag:s.tag,payload:s.payload,callback:s.callback,next:null},h===null?(a=h=v,u=f):h=h.next=v,o|=m;if(s=s.next,s===null){if(s=l.shared.pending,s===null)break;m=s,s=m.next,m.next=null,l.lastBaseUpdate=m,l.shared.pending=null}}while(!0);if(h===null&&(u=f),l.baseState=u,l.firstBaseUpdate=a,l.lastBaseUpdate=h,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);yn|=o,e.lanes=o,e.memoizedState=f}}function ea(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=io.transition;io.transition={};try{e(!1),t()}finally{Q=n,io.transition=r}}function Lf(){return Be().memoizedState}function Dh(e,t,n){var r=Ht(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Mf(e))Ff(t,n);else if(n=mf(e,t,n,r),n!==null){var l=Se();Ye(n,e,r,l),If(n,t,r)}}function Ah(e,t,n){var r=Ht(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Mf(e))Ff(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,s=i(o,n);if(l.hasEagerState=!0,l.eagerState=s,Xe(s,o)){var u=t.interleaved;u===null?(l.next=l,$s(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=mf(e,t,l,r),n!==null&&(l=Se(),Ye(n,e,r,l),If(n,t,r))}}function Mf(e){var t=e.alternate;return e===q||t!==null&&t===q}function Ff(e,t){jr=ai=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function If(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,_s(e,n)}}var ci={readContext:$e,useCallback:de,useContext:de,useEffect:de,useImperativeHandle:de,useInsertionEffect:de,useLayoutEffect:de,useMemo:de,useReducer:de,useRef:de,useState:de,useDebugValue:de,useDeferredValue:de,useTransition:de,useMutableSource:de,useSyncExternalStore:de,useId:de,unstable_isNewReconciler:!1},Uh={readContext:$e,useCallback:function(e,t){return Je().memoizedState=[e,t===void 0?null:t],e},useContext:$e,useEffect:na,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Bl(4194308,4,Rf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Bl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Bl(4,2,e,t)},useMemo:function(e,t){var n=Je();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Je();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=Dh.bind(null,q,e),[r.memoizedState,e]},useRef:function(e){var t=Je();return e={current:e},t.memoizedState=e},useState:ta,useDebugValue:qs,useDeferredValue:function(e){return Je().memoizedState=e},useTransition:function(){var e=ta(!1),t=e[0];return e=Ih.bind(null,e[1]),Je().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=q,l=Je();if(G){if(n===void 0)throw Error(E(407));n=n()}else{if(n=t(),se===null)throw Error(E(349));mn&30||xf(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,na(kf.bind(null,r,i,e),[e]),r.flags|=2048,Yr(9,Sf.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Je(),t=se.identifierPrefix;if(G){var n=dt,r=ft;n=(r&~(1<<32-qe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=br++,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[rt]=t,e[Wr]=r,Kf(e,t,!1,!1),t.stateNode=e;e:{switch(o=Ro(n,r),n){case"dialog":W("cancel",e),W("close",e),l=r;break;case"iframe":case"object":case"embed":W("load",e),l=r;break;case"video":case"audio":for(l=0;lor&&(t.flags|=128,r=!0,gr(i,!1),t.lanes=4194304)}else{if(!r)if(e=ui(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),gr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!G)return pe(t),null}else 2*J()-i.renderingStartTime>or&&n!==1073741824&&(t.flags|=128,r=!0,gr(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=J(),t.sibling=null,n=b.current,V(b,r?n&1|2:n&1),t):(pe(t),null);case 22:case 23:return tu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ze&1073741824&&(pe(t),t.subtreeFlags&6&&(t.flags|=8192)):pe(t),null;case 24:return null;case 25:return null}throw Error(E(156,t.tag))}function Gh(e,t){switch(Fs(t),t.tag){case 1:return Ne(t.type)&&ti(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return lr(),K(_e),K(ye),Hs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Vs(t),null;case 13:if(K(b),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(E(340));nr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return K(b),null;case 4:return lr(),null;case 10:return Us(t.type._context),null;case 22:case 23:return tu(),null;case 24:return null;default:return null}}var zl=!1,me=!1,bh=typeof WeakSet=="function"?WeakSet:Set,z=null;function In(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Z(e,t,r)}else n.current=null}function ts(e,t,n){try{n()}catch(r){Z(e,t,r)}}var pa=!1;function qh(e,t){if(Ao=Xl,e=Zc(),Ls(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 l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,s=-1,u=-1,a=0,h=0,f=e,m=null;t:for(;;){for(var v;f!==n||l!==0&&f.nodeType!==3||(s=o+l),f!==i||r!==0&&f.nodeType!==3||(u=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(v=f.firstChild)!==null;)m=f,f=v;for(;;){if(f===e)break t;if(m===n&&++a===l&&(s=o),m===i&&++h===r&&(u=o),(v=f.nextSibling)!==null)break;f=m,m=f.parentNode}f=v}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Uo={focusedElem:e,selectionRange:n},Xl=!1,z=t;z!==null;)if(t=z,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,z=e;else for(;z!==null;){t=z;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var y=w.memoizedProps,x=w.memoizedState,d=t.stateNode,c=d.getSnapshotBeforeUpdate(t.elementType===t.type?y:Ve(t.type,y),x);d.__reactInternalSnapshotBeforeUpdate=c}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(E(163))}}catch(g){Z(t,t.return,g)}if(e=t.sibling,e!==null){e.return=t.return,z=e;break}z=t.return}return w=pa,pa=!1,w}function Or(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&ts(t,n,i)}l=l.next}while(l!==r)}}function Ri(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 ns(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 qf(e){var t=e.alternate;t!==null&&(e.alternate=null,qf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[rt],delete t[Wr],delete t[Qo],delete t[Oh],delete t[Th])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Yf(e){return e.tag===5||e.tag===3||e.tag===4}function ha(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Yf(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function rs(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=ei));else if(r!==4&&(e=e.child,e!==null))for(rs(e,t,n),e=e.sibling;e!==null;)rs(e,t,n),e=e.sibling}function ls(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(ls(e,t,n),e=e.sibling;e!==null;)ls(e,t,n),e=e.sibling}var ue=null,Ge=!1;function St(e,t,n){for(n=n.child;n!==null;)Xf(e,t,n),n=n.sibling}function Xf(e,t,n){if(lt&&typeof lt.onCommitFiberUnmount=="function")try{lt.onCommitFiberUnmount(xi,n)}catch{}switch(n.tag){case 5:me||In(n,t);case 6:var r=ue,l=Ge;ue=null,St(e,t,n),ue=r,Ge=l,ue!==null&&(Ge?(e=ue,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ue.removeChild(n.stateNode));break;case 18:ue!==null&&(Ge?(e=ue,n=n.stateNode,e.nodeType===8?no(e.parentNode,n):e.nodeType===1&&no(e,n),$r(e)):no(ue,n.stateNode));break;case 4:r=ue,l=Ge,ue=n.stateNode.containerInfo,Ge=!0,St(e,t,n),ue=r,Ge=l;break;case 0:case 11:case 14:case 15:if(!me&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&ts(n,t,o),l=l.next}while(l!==r)}St(e,t,n);break;case 1:if(!me&&(In(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Z(n,t,s)}St(e,t,n);break;case 21:St(e,t,n);break;case 22:n.mode&1?(me=(r=me)||n.memoizedState!==null,St(e,t,n),me=r):St(e,t,n);break;default:St(e,t,n)}}function ma(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new bh),t.forEach(function(r){var l=lm.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Qe(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~i}if(r=l,r=J()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Xh(r/1960))-r,10e?16:e,It===null)var r=!1;else{if(e=It,It=null,pi=0,A&6)throw Error(E(331));var l=A;for(A|=4,z=e.current;z!==null;){var i=z,o=i.child;if(z.flags&16){var s=i.deletions;if(s!==null){for(var u=0;uJ()-Js?fn(e,0):Zs|=n),Re(e,t)}function id(e,t){t===0&&(e.mode&1?(t=xl,xl<<=1,!(xl&130023424)&&(xl=4194304)):t=1);var n=Se();e=yt(e,t),e!==null&&(il(e,t,n),Re(e,n))}function rm(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),id(e,n)}function lm(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(E(314))}r!==null&&r.delete(t),id(e,n)}var od;od=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||_e.current)Pe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Pe=!1,Wh(e,t,n);Pe=!!(e.flags&131072)}else Pe=!1,G&&t.flags&1048576&&cf(t,li,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ql(e,t),e=t.pendingProps;var l=tr(t,ye.current);Qn(t,n),l=Ks(null,t,r,e,l,n);var i=Gs();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ne(r)?(i=!0,ni(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Bs(t),l.updater=Ni,t.stateNode=l,l._reactInternals=t,bo(t,r,e,n),t=Xo(null,t,r,!0,i,n)):(t.tag=0,G&&i&&Ms(t),we(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ql(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=om(r),e=Ve(r,e),l){case 0:t=Yo(null,t,r,e,n);break e;case 1:t=ca(null,t,r,e,n);break e;case 11:t=ua(null,t,r,e,n);break e;case 14:t=aa(null,t,r,Ve(r.type,e),n);break e}throw Error(E(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ve(r,l),Yo(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ve(r,l),ca(e,t,r,l,n);case 3:e:{if(Vf(t),e===null)throw Error(E(387));r=t.pendingProps,i=t.memoizedState,l=i.element,yf(e,t),si(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=ir(Error(E(423)),t),t=fa(e,t,r,n,l);break e}else if(r!==l){l=ir(Error(E(424)),t),t=fa(e,t,r,n,l);break e}else for(je=Bt(t.stateNode.containerInfo.firstChild),Oe=t,G=!0,be=null,n=hf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(nr(),r===l){t=gt(e,t,n);break e}we(e,t,r,n)}t=t.child}return t;case 5:return gf(t),e===null&&Wo(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,$o(r,l)?o=null:i!==null&&$o(r,i)&&(t.flags|=32),Qf(e,t),we(e,t,o,n),t.child;case 6:return e===null&&Wo(t),null;case 13:return Hf(e,t,n);case 4:return Qs(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=rr(t,null,r,n):we(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ve(r,l),ua(e,t,r,l,n);case 7:return we(e,t,t.pendingProps,n),t.child;case 8:return we(e,t,t.pendingProps.children,n),t.child;case 12:return we(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,V(ii,r._currentValue),r._currentValue=o,i!==null)if(Xe(i.value,o)){if(i.children===l.children&&!_e.current){t=gt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){o=i.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(i.tag===1){u=pt(-1,n&-n),u.tag=2;var a=i.updateQueue;if(a!==null){a=a.shared;var h=a.pending;h===null?u.next=u:(u.next=h.next,h.next=u),a.pending=u}}i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Ko(i.return,n,t),s.lanes|=n;break}u=u.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(E(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Ko(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}we(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Qn(t,n),l=$e(l),r=r(l),t.flags|=1,we(e,t,r,n),t.child;case 14:return r=t.type,l=Ve(r,t.pendingProps),l=Ve(r.type,l),aa(e,t,r,l,n);case 15:return $f(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ve(r,l),Ql(e,t),t.tag=1,Ne(r)?(e=!0,ni(t)):e=!1,Qn(t,n),Df(t,r,l),bo(t,r,l,n),Xo(null,t,r,!0,e,n);case 19:return Wf(e,t,n);case 22:return Bf(e,t,n)}throw Error(E(156,t.tag))};function sd(e,t){return Lc(e,t)}function im(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 Ae(e,t,n,r){return new im(e,t,n,r)}function ru(e){return e=e.prototype,!(!e||!e.isReactComponent)}function om(e){if(typeof e=="function")return ru(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ks)return 11;if(e===Es)return 14}return 2}function Wt(e,t){var n=e.alternate;return n===null?(n=Ae(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 Wl(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")ru(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Nn:return dn(n.children,l,i,t);case Ss:o=8,l|=8;break;case vo:return e=Ae(12,n,t,l|2),e.elementType=vo,e.lanes=i,e;case wo:return e=Ae(13,n,t,l),e.elementType=wo,e.lanes=i,e;case xo:return e=Ae(19,n,t,l),e.elementType=xo,e.lanes=i,e;case yc:return ji(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case hc:o=10;break e;case mc:o=9;break e;case ks:o=11;break e;case Es:o=14;break e;case _t:o=16,r=null;break e}throw Error(E(130,e==null?e:typeof e,""))}return t=Ae(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function dn(e,t,n,r){return e=Ae(7,e,r,t),e.lanes=n,e}function ji(e,t,n,r){return e=Ae(22,e,r,t),e.elementType=yc,e.lanes=n,e.stateNode={isHidden:!1},e}function co(e,t,n){return e=Ae(6,e,null,t),e.lanes=n,e}function fo(e,t,n){return t=Ae(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function sm(e,t,n,r,l){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=Wi(0),this.expirationTimes=Wi(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wi(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function lu(e,t,n,r,l,i,o,s,u){return e=new sm(e,t,n,s,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ae(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Bs(i),e}function um(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(fd)}catch(e){console.error(e)}}fd(),cc.exports=Le;var dm=cc.exports,dd,Ea=dm;dd=Ea.createRoot,Ea.hydrateRoot;/** * @remix-run/router v1.21.0 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function Zr(){return Zr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function uu(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function hm(){return Math.random().toString(36).substr(2,8)}function Pa(e,t){return{usr:e.state,key:e.key,idx:t}}function as(e,t,n,r){return n===void 0&&(n=null),Zr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?xn(t):t,{state:n,key:t&&t.key||r||hm()})}function yi(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 xn(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 mm(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:i=!1}=r,o=l.history,s=Dt.Pop,u=null,a=h();a==null&&(a=0,o.replaceState(Zr({},o.state,{idx:a}),""));function h(){return(o.state||{idx:null}).idx}function f(){s=Dt.Pop;let x=h(),d=x==null?null:x-a;a=x,u&&u({action:s,location:y.location,delta:d})}function m(x,d){s=Dt.Push;let c=as(y.location,x,d);n(c,x),a=h()+1;let p=Pa(c,a),g=y.createHref(c);try{o.pushState(p,"",g)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;l.location.assign(g)}i&&u&&u({action:s,location:y.location,delta:1})}function v(x,d){s=Dt.Replace;let c=as(y.location,x,d);n(c,x),a=h();let p=Pa(c,a),g=y.createHref(c);o.replaceState(p,"",g),i&&u&&u({action:s,location:y.location,delta:0})}function w(x){let d=l.location.origin!=="null"?l.location.origin:l.location.href,c=typeof x=="string"?x:yi(x);return c=c.replace(/ $/,"%20"),te(d,"No window.location.(origin|href) available to create URL for href: "+c),new URL(c,d)}let y={get action(){return s},get location(){return e(l,o)},listen(x){if(u)throw new Error("A history only accepts one active listener");return l.addEventListener(Ca,f),u=x,()=>{l.removeEventListener(Ca,f),u=null}},createHref(x){return t(l,x)},createURL:w,encodeLocation(x){let d=w(x);return{pathname:d.pathname,search:d.search,hash:d.hash}},push:m,replace:v,go(x){return o.go(x)}};return y}var _a;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(_a||(_a={}));function ym(e,t,n){return n===void 0&&(n="/"),gm(e,t,n)}function gm(e,t,n,r){let l=typeof t=="string"?xn(t):t,i=au(l.pathname||"/",n);if(i==null)return null;let o=pd(e);vm(o);let s=null;for(let u=0;s==null&&u{let u={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};u.relativePath.startsWith("/")&&(te(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 a=Kt([r,u.relativePath]),h=n.concat(u);i.children&&i.children.length>0&&(te(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+a+'".')),pd(i.children,t,h,a)),!(i.path==null&&!i.index)&&t.push({path:a,score:Pm(a,i.index),routesMeta:h})};return e.forEach((i,o)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))l(i,o);else for(let u of hd(i.path))l(i,o,u)}),t}function hd(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return l?[i,""]:[i];let o=hd(r.join("/")),s=[];return s.push(...o.map(u=>u===""?i:[i,u].join("/"))),l&&s.push(...o),s.map(u=>e.startsWith("/")&&u===""?"/":u)}function vm(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:_m(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const wm=/^:[\w-]+$/,xm=3,Sm=2,km=1,Em=10,Cm=-2,Na=e=>e==="*";function Pm(e,t){let n=e.split("/"),r=n.length;return n.some(Na)&&(r+=Cm),t&&(r+=Sm),n.filter(l=>!Na(l)).reduce((l,i)=>l+(wm.test(i)?xm:i===""?km:Em),r)}function _m(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function Nm(e,t,n){let{routesMeta:r}=e,l={},i="/",o=[];for(let s=0;s{let{paramName:m,isOptional:v}=h;if(m==="*"){let y=s[f]||"";o=i.slice(0,i.length-y.length).replace(/(.)\/+$/,"$1")}const w=s[f];return v&&!w?a[m]=void 0:a[m]=(w||"").replace(/%2F/g,"/"),a},{}),pathname:i,pathnameBase:o,pattern:e}}function zm(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),uu(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=[],l="^"+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:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function jm(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return uu(!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 au(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 Om(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?xn(e):e;return{pathname:n?n.startsWith("/")?n:Tm(n,t):t,search:Fm(r),hash:Im(l)}}function Tm(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function po(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 Lm(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function md(e,t){let n=Lm(e);return t?n.map((r,l)=>l===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function yd(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=xn(e):(l=Zr({},e),te(!l.pathname||!l.pathname.includes("?"),po("?","pathname","search",l)),te(!l.pathname||!l.pathname.includes("#"),po("#","pathname","hash",l)),te(!l.search||!l.search.includes("#"),po("#","search","hash",l)));let i=e===""||l.pathname==="",o=i?"/":l.pathname,s;if(o==null)s=n;else{let f=t.length-1;if(!r&&o.startsWith("..")){let m=o.split("/");for(;m[0]==="..";)m.shift(),f-=1;l.pathname=m.join("/")}s=f>=0?t[f]:"/"}let u=Om(l,s),a=o&&o!=="/"&&o.endsWith("/"),h=(i||o===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(a||h)&&(u.pathname+="/"),u}const Kt=e=>e.join("/").replace(/\/\/+/g,"/"),Mm=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Fm=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Im=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Dm(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const gd=["post","put","patch","delete"];new Set(gd);const Am=["get",...gd];new Set(Am);/** * React Router v6.28.1 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function Jr(){return Jr=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),P.useCallback(function(a,h){if(h===void 0&&(h={}),!s.current)return;if(typeof a=="number"){r.go(a);return}let f=yd(a,JSON.parse(o),i,h.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:Kt([t,f.pathname])),(h.replace?r.replace:r.push)(f,h.state,h)},[t,r,o,i,e])}function xd(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=P.useContext(Sn),{matches:l}=P.useContext(kn),{pathname:i}=cl(),o=JSON.stringify(md(l,r.v7_relativeSplatPath));return P.useMemo(()=>yd(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function Vm(e,t){return Hm(e,t)}function Hm(e,t,n,r){al()||te(!1);let{navigator:l}=P.useContext(Sn),{matches:i}=P.useContext(kn),o=i[i.length-1],s=o?o.params:{};o&&o.pathname;let u=o?o.pathnameBase:"/";o&&o.route;let a=cl(),h;if(t){var f;let x=typeof t=="string"?xn(t):t;u==="/"||(f=x.pathname)!=null&&f.startsWith(u)||te(!1),h=x}else h=a;let m=h.pathname||"/",v=m;if(u!=="/"){let x=u.replace(/^\//,"").split("/");v="/"+m.replace(/^\//,"").split("/").slice(x.length).join("/")}let w=ym(e,{pathname:v}),y=qm(w&&w.map(x=>Object.assign({},x,{params:Object.assign({},s,x.params),pathname:Kt([u,l.encodeLocation?l.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?u:Kt([u,l.encodeLocation?l.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),i,n,r);return t&&y?P.createElement(Fi.Provider,{value:{location:Jr({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:Dt.Pop}},y):y}function Wm(){let e=Jm(),t=Dm(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};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:l},n):null,null)}const Km=P.createElement(Wm,null);class Gm 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(kn.Provider,{value:this.props.routeContext},P.createElement(vd.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function bm(e){let{routeContext:t,match:n,children:r}=e,l=P.useContext(cu);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),P.createElement(kn.Provider,{value:t},r)}function qm(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,s=(l=n)==null?void 0:l.errors;if(s!=null){let h=o.findIndex(f=>f.route.id&&(s==null?void 0:s[f.route.id])!==void 0);h>=0||te(!1),o=o.slice(0,Math.min(o.length,h+1))}let u=!1,a=-1;if(n&&r&&r.v7_partialHydration)for(let h=0;h=0?o=o.slice(0,a+1):o=[o[0]];break}}}return o.reduceRight((h,f,m)=>{let v,w=!1,y=null,x=null;n&&(v=s&&f.route.id?s[f.route.id]:void 0,y=f.route.errorElement||Km,u&&(a<0&&m===0?(w=!0,x=null):a===m&&(w=!0,x=f.route.hydrateFallbackElement||null)));let d=t.concat(o.slice(0,m+1)),c=()=>{let p;return v?p=y:w?p=x:f.route.Component?p=P.createElement(f.route.Component,null):f.route.element?p=f.route.element:p=h,P.createElement(bm,{match:f,routeContext:{outlet:h,matches:d,isDataRoute:n!=null},children:p})};return n&&(f.route.ErrorBoundary||f.route.errorElement||m===0)?P.createElement(Gm,{location:n.location,revalidation:n.revalidation,component:y,error:v,children:c(),routeContext:{outlet:null,matches:d,isDataRoute:!0}}):c()},null)}var Sd=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Sd||{}),gi=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}(gi||{});function Ym(e){let t=P.useContext(cu);return t||te(!1),t}function Xm(e){let t=P.useContext(Um);return t||te(!1),t}function Zm(e){let t=P.useContext(kn);return t||te(!1),t}function kd(e){let t=Zm(),n=t.matches[t.matches.length-1];return n.route.id||te(!1),n.route.id}function Jm(){var e;let t=P.useContext(vd),n=Xm(gi.UseRouteError),r=kd(gi.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function ey(){let{router:e}=Ym(Sd.UseNavigateStable),t=kd(gi.UseNavigateStable),n=P.useRef(!1);return wd(()=>{n.current=!0}),P.useCallback(function(l,i){i===void 0&&(i={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,Jr({fromRouteId:t},i)))},[e,t])}const Ra={};function ty(e,t){Ra[t]||(Ra[t]=!0,console.warn(t))}const za=(e,t,n)=>ty(e,"⚠️ React Router Future Flag Warning: "+t+". "+("You can use the `"+e+"` future flag to opt-in early. ")+("For more information, see "+n+"."));function ny(e,t){(e==null?void 0:e.v7_startTransition)===void 0&&za("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),(e==null?void 0:e.v7_relativeSplatPath)===void 0&&za("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath")}function Ct(e){te(!1)}function ry(e){let{basename:t="/",children:n=null,location:r,navigationType:l=Dt.Pop,navigator:i,static:o=!1,future:s}=e;al()&&te(!1);let u=t.replace(/^\/*/,"/"),a=P.useMemo(()=>({basename:u,navigator:i,static:o,future:Jr({v7_relativeSplatPath:!1},s)}),[u,s,i,o]);typeof r=="string"&&(r=xn(r));let{pathname:h="/",search:f="",hash:m="",state:v=null,key:w="default"}=r,y=P.useMemo(()=>{let x=au(h,u);return x==null?null:{location:{pathname:x,search:f,hash:m,state:v,key:w},navigationType:l}},[u,h,f,m,v,w,l]);return y==null?null:P.createElement(Sn.Provider,{value:a},P.createElement(Fi.Provider,{children:n,value:y}))}function ly(e){let{children:t,location:n}=e;return Vm(cs(t),n)}new Promise(()=>{});function cs(e,t){t===void 0&&(t=[]);let n=[];return P.Children.forEach(e,(r,l)=>{if(!P.isValidElement(r))return;let i=[...t,l];if(r.type===P.Fragment){n.push.apply(n,cs(r.props.children,i));return}r.type!==Ct&&te(!1),!r.props.index||!r.props.children||te(!1);let o={id:r.props.id||i.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=cs(r.props.children,i)),n.push(o)}),n}/** * React Router DOM v6.28.1 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function fs(){return fs=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[l]=e[l]);return n}function oy(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function sy(e,t){return e.button===0&&(!t||t==="_self")&&!oy(e)}const uy=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],ay="6";try{window.__reactRouterVersion=ay}catch{}const cy="startTransition",ja=np[cy];function fy(e){let{basename:t,children:n,future:r,window:l}=e,i=P.useRef();i.current==null&&(i.current=pm({window:l,v5Compat:!0}));let o=i.current,[s,u]=P.useState({action:o.action,location:o.location}),{v7_startTransition:a}=r||{},h=P.useCallback(f=>{a&&ja?ja(()=>u(f)):u(f)},[u,a]);return P.useLayoutEffect(()=>o.listen(h),[o,h]),P.useEffect(()=>ny(r),[r]),P.createElement(ry,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:o,future:r})}const dy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",py=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Mr=P.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:i,replace:o,state:s,target:u,to:a,preventScrollReset:h,viewTransition:f}=t,m=iy(t,uy),{basename:v}=P.useContext(Sn),w,y=!1;if(typeof a=="string"&&py.test(a)&&(w=a,dy))try{let p=new URL(window.location.href),g=a.startsWith("//")?new URL(p.protocol+a):new URL(a),C=au(g.pathname,v);g.origin===p.origin&&C!=null?a=C+g.search+g.hash:y=!0}catch{}let x=$m(a,{relative:l}),d=hy(a,{replace:o,state:s,target:u,preventScrollReset:h,relative:l,viewTransition:f});function c(p){r&&r(p),p.defaultPrevented||d(p)}return P.createElement("a",fs({},m,{href:w||x,onClick:y||i?r:c,ref:n,target:u}))});var Oa;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Oa||(Oa={}));var Ta;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ta||(Ta={}));function hy(e,t){let{target:n,replace:r,state:l,preventScrollReset:i,relative:o,viewTransition:s}=t===void 0?{}:t,u=Bm(),a=cl(),h=xd(e,{relative:o});return P.useCallback(f=>{if(sy(f,n)){f.preventDefault();let m=r!==void 0?r:yi(a)===yi(h);u(e,{replace:m,state:l,preventScrollReset:i,relative:o,viewTransition:s})}},[a,u,h,r,l,n,e,i,o,s])}var Ii=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Di=typeof window>"u"||"Deno"in globalThis;function He(){}function my(e,t){return typeof e=="function"?e(t):e}function yy(e){return typeof e=="number"&&e>=0&&e!==1/0}function gy(e,t){return Math.max(e+(t||0)-Date.now(),0)}function La(e,t){return typeof e=="function"?e(t):e}function vy(e,t){return typeof e=="function"?e(t):e}function Ma(e,t){const{type:n="all",exact:r,fetchStatus:l,predicate:i,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==fu(o,t.options))return!1}else if(!tl(t.queryKey,o))return!1}if(n!=="all"){const u=t.isActive();if(n==="active"&&!u||n==="inactive"&&u)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||l&&l!==t.state.fetchStatus||i&&!i(t))}function Fa(e,t){const{exact:n,status:r,predicate:l,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(el(t.options.mutationKey)!==el(i))return!1}else if(!tl(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||l&&!l(t))}function fu(e,t){return((t==null?void 0:t.queryKeyHashFn)||el)(e)}function el(e){return JSON.stringify(e,(t,n)=>ds(n)?Object.keys(n).sort().reduce((r,l)=>(r[l]=n[l],r),{}):n)}function tl(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!tl(e[n],t[n])):!1}function Ed(e,t){if(e===t)return e;const n=Ia(e)&&Ia(t);if(n||ds(e)&&ds(t)){const r=n?e:Object.keys(e),l=r.length,i=n?t:Object.keys(t),o=i.length,s=n?[]:{};let u=0;for(let a=0;a{setTimeout(t,e)})}function xy(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Ed(e,t):t}function Sy(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function ky(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var du=Symbol();function Cd(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===du?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var sn,jt,Wn,Wa,Ey=(Wa=class extends Ii{constructor(){super();$(this,sn);$(this,jt);$(this,Wn);L(this,Wn,t=>{if(!Di&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){S(this,jt)||this.setEventListener(S(this,Wn))}onUnsubscribe(){var t;this.hasListeners()||((t=S(this,jt))==null||t.call(this),L(this,jt,void 0))}setEventListener(t){var n;L(this,Wn,t),(n=S(this,jt))==null||n.call(this),L(this,jt,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){S(this,sn)!==t&&(L(this,sn,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof S(this,sn)=="boolean"?S(this,sn):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},sn=new WeakMap,jt=new WeakMap,Wn=new WeakMap,Wa),Pd=new Ey,Kn,Ot,Gn,Ka,Cy=(Ka=class extends Ii{constructor(){super();$(this,Kn,!0);$(this,Ot);$(this,Gn);L(this,Gn,t=>{if(!Di&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){S(this,Ot)||this.setEventListener(S(this,Gn))}onUnsubscribe(){var t;this.hasListeners()||((t=S(this,Ot))==null||t.call(this),L(this,Ot,void 0))}setEventListener(t){var n;L(this,Gn,t),(n=S(this,Ot))==null||n.call(this),L(this,Ot,t(this.setOnline.bind(this)))}setOnline(t){S(this,Kn)!==t&&(L(this,Kn,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return S(this,Kn)}},Kn=new WeakMap,Ot=new WeakMap,Gn=new WeakMap,Ka),vi=new Cy;function Py(){let e,t;const n=new Promise((l,i)=>{e=l,t=i});n.status="pending",n.catch(()=>{});function r(l){Object.assign(n,l),delete n.resolve,delete n.reject}return n.resolve=l=>{r({status:"fulfilled",value:l}),e(l)},n.reject=l=>{r({status:"rejected",reason:l}),t(l)},n}function _y(e){return Math.min(1e3*2**e,3e4)}function _d(e){return(e??"online")==="online"?vi.isOnline():!0}var Nd=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function ho(e){return e instanceof Nd}function Rd(e){let t=!1,n=0,r=!1,l;const i=Py(),o=y=>{var x;r||(m(new Nd(y)),(x=e.abort)==null||x.call(e))},s=()=>{t=!0},u=()=>{t=!1},a=()=>Pd.isFocused()&&(e.networkMode==="always"||vi.isOnline())&&e.canRun(),h=()=>_d(e.networkMode)&&e.canRun(),f=y=>{var x;r||(r=!0,(x=e.onSuccess)==null||x.call(e,y),l==null||l(),i.resolve(y))},m=y=>{var x;r||(r=!0,(x=e.onError)==null||x.call(e,y),l==null||l(),i.reject(y))},v=()=>new Promise(y=>{var x;l=d=>{(r||a())&&y(d)},(x=e.onPause)==null||x.call(e)}).then(()=>{var y;l=void 0,r||(y=e.onContinue)==null||y.call(e)}),w=()=>{if(r)return;let y;const x=n===0?e.initialPromise:void 0;try{y=x??e.fn()}catch(d){y=Promise.reject(d)}Promise.resolve(y).then(f).catch(d=>{var N;if(r)return;const c=e.retry??(Di?0:3),p=e.retryDelay??_y,g=typeof p=="function"?p(n,d):p,C=c===!0||typeof c=="number"&&na()?void 0:v()).then(()=>{t?m(d):w()})})};return{promise:i,cancel:o,continue:()=>(l==null||l(),i),cancelRetry:s,continueRetry:u,canStart:h,start:()=>(h()?w():v().then(w),i)}}function Ny(){let e=[],t=0,n=s=>{s()},r=s=>{s()},l=s=>setTimeout(s,0);const i=s=>{t?e.push(s):l(()=>{n(s)})},o=()=>{const s=e;e=[],s.length&&l(()=>{r(()=>{s.forEach(u=>{n(u)})})})};return{batch:s=>{let u;t++;try{u=s()}finally{t--,t||o()}return u},batchCalls:s=>(...u)=>{i(()=>{s(...u)})},schedule:i,setNotifyFunction:s=>{n=s},setBatchNotifyFunction:s=>{r=s},setScheduler:s=>{l=s}}}var xe=Ny(),un,Ga,zd=(Ga=class{constructor(){$(this,un)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),yy(this.gcTime)&&L(this,un,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Di?1/0:5*60*1e3))}clearGcTimeout(){S(this,un)&&(clearTimeout(S(this,un)),L(this,un,void 0))}},un=new WeakMap,Ga),bn,qn,Fe,he,nl,an,We,st,ba,Ry=(ba=class extends zd{constructor(t){super();$(this,We);$(this,bn);$(this,qn);$(this,Fe);$(this,he);$(this,nl);$(this,an);L(this,an,!1),L(this,nl,t.defaultOptions),this.setOptions(t.options),this.observers=[],L(this,Fe,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,L(this,bn,jy(this.options)),this.state=t.state??S(this,bn),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=S(this,he))==null?void 0:t.promise}setOptions(t){this.options={...S(this,nl),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&S(this,Fe).remove(this)}setData(t,n){const r=xy(this.state.data,t,this.options);return fe(this,We,st).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){fe(this,We,st).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,l;const n=(r=S(this,he))==null?void 0:r.promise;return(l=S(this,he))==null||l.cancel(t),n?n.then(He).catch(He):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(S(this,bn))}isActive(){return this.observers.some(t=>vy(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===du||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!gy(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=S(this,he))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=S(this,he))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),S(this,Fe).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(S(this,he)&&(S(this,an)?S(this,he).cancel({revert:!0}):S(this,he).cancelRetry()),this.scheduleGc()),S(this,Fe).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||fe(this,We,st).call(this,{type:"invalidate"})}fetch(t,n){var u,a,h;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(S(this,he))return S(this,he).continueRetry(),S(this,he).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(m=>m.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,l=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(L(this,an,!0),r.signal)})},i=()=>{const f=Cd(this.options,n),m={queryKey:this.queryKey,meta:this.meta};return l(m),L(this,an,!1),this.options.persister?this.options.persister(f,m,this):f(m)},o={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:i};l(o),(u=this.options.behavior)==null||u.onFetch(o,this),L(this,qn,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((a=o.fetchOptions)==null?void 0:a.meta))&&fe(this,We,st).call(this,{type:"fetch",meta:(h=o.fetchOptions)==null?void 0:h.meta});const s=f=>{var m,v,w,y;ho(f)&&f.silent||fe(this,We,st).call(this,{type:"error",error:f}),ho(f)||((v=(m=S(this,Fe).config).onError)==null||v.call(m,f,this),(y=(w=S(this,Fe).config).onSettled)==null||y.call(w,this.state.data,f,this)),this.scheduleGc()};return L(this,he,Rd({initialPromise:n==null?void 0:n.initialPromise,fn:o.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var m,v,w,y;if(f===void 0){s(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(x){s(x);return}(v=(m=S(this,Fe).config).onSuccess)==null||v.call(m,f,this),(y=(w=S(this,Fe).config).onSettled)==null||y.call(w,f,this.state.error,this),this.scheduleGc()},onError:s,onFail:(f,m)=>{fe(this,We,st).call(this,{type:"failed",failureCount:f,error:m})},onPause:()=>{fe(this,We,st).call(this,{type:"pause"})},onContinue:()=>{fe(this,We,st).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),S(this,he).start()}},bn=new WeakMap,qn=new WeakMap,Fe=new WeakMap,he=new WeakMap,nl=new WeakMap,an=new WeakMap,We=new WeakSet,st=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...zy(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const l=t.error;return ho(l)&&l.revert&&S(this,qn)?{...S(this,qn),fetchStatus:"idle"}:{...r,error:l,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),xe.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),S(this,Fe).notify({query:this,type:"updated",action:t})})},ba);function zy(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:_d(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function jy(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var et,qa,Oy=(qa=class extends Ii{constructor(t={}){super();$(this,et);this.config=t,L(this,et,new Map)}build(t,n,r){const l=n.queryKey,i=n.queryHash??fu(l,n);let o=this.get(i);return o||(o=new Ry({cache:this,queryKey:l,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(l)}),this.add(o)),o}add(t){S(this,et).has(t.queryHash)||(S(this,et).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=S(this,et).get(t.queryHash);n&&(t.destroy(),n===t&&S(this,et).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){xe.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return S(this,et).get(t)}getAll(){return[...S(this,et).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Ma(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Ma(t,r)):n}notify(t){xe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){xe.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){xe.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},et=new WeakMap,qa),tt,ve,cn,nt,Pt,Ya,Ty=(Ya=class extends zd{constructor(t){super();$(this,nt);$(this,tt);$(this,ve);$(this,cn);this.mutationId=t.mutationId,L(this,ve,t.mutationCache),L(this,tt,[]),this.state=t.state||Ly(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){S(this,tt).includes(t)||(S(this,tt).push(t),this.clearGcTimeout(),S(this,ve).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){L(this,tt,S(this,tt).filter(n=>n!==t)),this.scheduleGc(),S(this,ve).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){S(this,tt).length||(this.state.status==="pending"?this.scheduleGc():S(this,ve).remove(this))}continue(){var t;return((t=S(this,cn))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var l,i,o,s,u,a,h,f,m,v,w,y,x,d,c,p,g,C,N,j;L(this,cn,Rd({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(_,D)=>{fe(this,nt,Pt).call(this,{type:"failed",failureCount:_,error:D})},onPause:()=>{fe(this,nt,Pt).call(this,{type:"pause"})},onContinue:()=>{fe(this,nt,Pt).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>S(this,ve).canRun(this)}));const n=this.state.status==="pending",r=!S(this,cn).canStart();try{if(!n){fe(this,nt,Pt).call(this,{type:"pending",variables:t,isPaused:r}),await((i=(l=S(this,ve).config).onMutate)==null?void 0:i.call(l,t,this));const D=await((s=(o=this.options).onMutate)==null?void 0:s.call(o,t));D!==this.state.context&&fe(this,nt,Pt).call(this,{type:"pending",context:D,variables:t,isPaused:r})}const _=await S(this,cn).start();return await((a=(u=S(this,ve).config).onSuccess)==null?void 0:a.call(u,_,t,this.state.context,this)),await((f=(h=this.options).onSuccess)==null?void 0:f.call(h,_,t,this.state.context)),await((v=(m=S(this,ve).config).onSettled)==null?void 0:v.call(m,_,null,this.state.variables,this.state.context,this)),await((y=(w=this.options).onSettled)==null?void 0:y.call(w,_,null,t,this.state.context)),fe(this,nt,Pt).call(this,{type:"success",data:_}),_}catch(_){try{throw await((d=(x=S(this,ve).config).onError)==null?void 0:d.call(x,_,t,this.state.context,this)),await((p=(c=this.options).onError)==null?void 0:p.call(c,_,t,this.state.context)),await((C=(g=S(this,ve).config).onSettled)==null?void 0:C.call(g,void 0,_,this.state.variables,this.state.context,this)),await((j=(N=this.options).onSettled)==null?void 0:j.call(N,void 0,_,t,this.state.context)),_}finally{fe(this,nt,Pt).call(this,{type:"error",error:_})}}finally{S(this,ve).runNext(this)}}},tt=new WeakMap,ve=new WeakMap,cn=new WeakMap,nt=new WeakSet,Pt=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),xe.batch(()=>{S(this,tt).forEach(r=>{r.onMutationUpdate(t)}),S(this,ve).notify({mutation:this,type:"updated",action:t})})},Ya);function Ly(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ct,Ke,rl,Xa,My=(Xa=class extends Ii{constructor(t={}){super();$(this,ct);$(this,Ke);$(this,rl);this.config=t,L(this,ct,new Set),L(this,Ke,new Map),L(this,rl,0)}build(t,n,r){const l=new Ty({mutationCache:this,mutationId:++hl(this,rl)._,options:t.defaultMutationOptions(n),state:r});return this.add(l),l}add(t){S(this,ct).add(t);const n=Tl(t);if(typeof n=="string"){const r=S(this,Ke).get(n);r?r.push(t):S(this,Ke).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(S(this,ct).delete(t)){const n=Tl(t);if(typeof n=="string"){const r=S(this,Ke).get(n);if(r)if(r.length>1){const l=r.indexOf(t);l!==-1&&r.splice(l,1)}else r[0]===t&&S(this,Ke).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Tl(t);if(typeof n=="string"){const r=S(this,Ke).get(n),l=r==null?void 0:r.find(i=>i.state.status==="pending");return!l||l===t}else return!0}runNext(t){var r;const n=Tl(t);if(typeof n=="string"){const l=(r=S(this,Ke).get(n))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(l==null?void 0:l.continue())??Promise.resolve()}else return Promise.resolve()}clear(){xe.batch(()=>{S(this,ct).forEach(t=>{this.notify({type:"removed",mutation:t})}),S(this,ct).clear(),S(this,Ke).clear()})}getAll(){return Array.from(S(this,ct))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Fa(n,r))}findAll(t={}){return this.getAll().filter(n=>Fa(t,n))}notify(t){xe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return xe.batch(()=>Promise.all(t.map(n=>n.continue().catch(He))))}},ct=new WeakMap,Ke=new WeakMap,rl=new WeakMap,Xa);function Tl(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Aa(e){return{onFetch:(t,n)=>{var h,f,m,v,w;const r=t.options,l=(m=(f=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:f.fetchMore)==null?void 0:m.direction,i=((v=t.state.data)==null?void 0:v.pages)||[],o=((w=t.state.data)==null?void 0:w.pageParams)||[];let s={pages:[],pageParams:[]},u=0;const a=async()=>{let y=!1;const x=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(t.signal.aborted?y=!0:t.signal.addEventListener("abort",()=>{y=!0}),t.signal)})},d=Cd(t.options,t.fetchOptions),c=async(p,g,C)=>{if(y)return Promise.reject();if(g==null&&p.pages.length)return Promise.resolve(p);const N={queryKey:t.queryKey,pageParam:g,direction:C?"backward":"forward",meta:t.options.meta};x(N);const j=await d(N),{maxPages:_}=t.options,D=C?ky:Sy;return{pages:D(p.pages,j,_),pageParams:D(p.pageParams,g,_)}};if(l&&i.length){const p=l==="backward",g=p?Fy:Ua,C={pages:i,pageParams:o},N=g(r,C);s=await c(C,N,p)}else{const p=e??i.length;do{const g=u===0?o[0]??r.initialPageParam:Ua(r,s);if(u>0&&g==null)break;s=await c(s,g),u++}while(u{var y,x;return(x=(y=t.options).persister)==null?void 0:x.call(y,a,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=a}}}function Ua(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Fy(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var X,Tt,Lt,Yn,Xn,Mt,Zn,Jn,Za,Iy=(Za=class{constructor(e={}){$(this,X);$(this,Tt);$(this,Lt);$(this,Yn);$(this,Xn);$(this,Mt);$(this,Zn);$(this,Jn);L(this,X,e.queryCache||new Oy),L(this,Tt,e.mutationCache||new My),L(this,Lt,e.defaultOptions||{}),L(this,Yn,new Map),L(this,Xn,new Map),L(this,Mt,0)}mount(){hl(this,Mt)._++,S(this,Mt)===1&&(L(this,Zn,Pd.subscribe(async e=>{e&&(await this.resumePausedMutations(),S(this,X).onFocus())})),L(this,Jn,vi.subscribe(async e=>{e&&(await this.resumePausedMutations(),S(this,X).onOnline())})))}unmount(){var e,t;hl(this,Mt)._--,S(this,Mt)===0&&((e=S(this,Zn))==null||e.call(this),L(this,Zn,void 0),(t=S(this,Jn))==null||t.call(this),L(this,Jn,void 0))}isFetching(e){return S(this,X).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return S(this,Tt).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=S(this,X).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=S(this,X).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(La(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return S(this,X).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),l=S(this,X).get(r.queryHash),i=l==null?void 0:l.state.data,o=my(t,i);if(o!==void 0)return S(this,X).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return xe.batch(()=>S(this,X).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=S(this,X).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=S(this,X);xe.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=S(this,X),r={type:"active",...e};return xe.batch(()=>(n.findAll(e).forEach(l=>{l.reset()}),this.refetchQueries(r,t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=xe.batch(()=>S(this,X).findAll(e).map(l=>l.cancel(n)));return Promise.all(r).then(He).catch(He)}invalidateQueries(e,t={}){return xe.batch(()=>{if(S(this,X).findAll(e).forEach(r=>{r.invalidate()}),(e==null?void 0:e.refetchType)==="none")return Promise.resolve();const n={...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"};return this.refetchQueries(n,t)})}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=xe.batch(()=>S(this,X).findAll(e).filter(l=>!l.isDisabled()).map(l=>{let i=l.fetch(void 0,n);return n.throwOnError||(i=i.catch(He)),l.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(He)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=S(this,X).build(this,t);return n.isStaleByTime(La(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(He).catch(He)}fetchInfiniteQuery(e){return e.behavior=Aa(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(He).catch(He)}ensureInfiniteQueryData(e){return e.behavior=Aa(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return vi.isOnline()?S(this,Tt).resumePausedMutations():Promise.resolve()}getQueryCache(){return S(this,X)}getMutationCache(){return S(this,Tt)}getDefaultOptions(){return S(this,Lt)}setDefaultOptions(e){L(this,Lt,e)}setQueryDefaults(e,t){S(this,Yn).set(el(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...S(this,Yn).values()],n={};return t.forEach(r=>{tl(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){S(this,Xn).set(el(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...S(this,Xn).values()];let n={};return t.forEach(r=>{tl(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...S(this,Lt).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=fu(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===du&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...S(this,Lt).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){S(this,X).clear(),S(this,Tt).clear()}},X=new WeakMap,Tt=new WeakMap,Lt=new WeakMap,Yn=new WeakMap,Xn=new WeakMap,Mt=new WeakMap,Zn=new WeakMap,Jn=new WeakMap,Za),jd=P.createContext(void 0),uv=e=>{const t=P.useContext(jd);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Dy=({client:e,children:t})=>(P.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),k.jsx(jd.Provider,{value:e,children:t}));const Ay=P.createContext(null),mo={didCatch:!1,error:null};let Uy=class extends P.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=mo}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){const{error:t}=this.state;if(t!==null){for(var n,r,l=arguments.length,i=new Array(l),o=0;o0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((n,r)=>!Object.is(n,t[r]))}/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */var By={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Qy=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),le=(e,t)=>{const n=P.forwardRef(({color:r="currentColor",size:l=24,strokeWidth:i=2,absoluteStrokeWidth:o,className:s="",children:u,...a},h)=>P.createElement("svg",{ref:h,...By,width:l,height:l,stroke:r,strokeWidth:o?Number(i)*24/Number(l):i,className:["lucide",`lucide-${Qy(e)}`,s].join(" "),...a},[...t.map(([f,m])=>P.createElement(f,m)),...Array.isArray(u)?u:[u]]));return n.displayName=`${e}`,n};/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Vy=le("AlertCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Hy=le("Book",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20",key:"t4utmx"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Wy=le("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ky=le("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Gy=le("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const by=le("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const qy=le("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Yy=le("HelpCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Xy=le("Home",[["path",{d:"m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"y5dka4"}],["polyline",{points:"9 22 9 12 15 12 15 22",key:"e2us08"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Zy=le("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Jy=le("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const eg=le("Loader2",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const tg=le("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ng=le("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const rg=le("Newspaper",[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const lg=le("PanelsTopLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ig=le("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const og=le("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const sg=le("Youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]]);function ug({error:e}){return k.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-50",children:k.jsxs("div",{className:"max-w-md w-full p-6 bg-white/80 backdrop-blur-lg rounded-lg shadow-lg",children:[k.jsx("div",{className:"flex items-center justify-center text-red-500 mb-4",children:k.jsx(Vy,{size:48})}),k.jsx("h2",{className:"text-2xl font-bold text-gray-900 text-center mb-4",children:"Something went wrong"}),k.jsx("pre",{className:"text-sm bg-gray-100 p-4 rounded overflow-auto",children:e.message}),k.jsx("button",{onClick:()=>window.location.reload(),className:"mt-4 w-full bg-cornflower-blue text-white py-2 px-4 rounded hover:bg-blue-600 transition-colors",children:"Try again"})]})})}function ag({children:e}){return k.jsx(Uy,{FallbackComponent:ug,children:e})}function Od(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(t=0;t{const t=pg(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const s=o.split(pu);return s[0]===""&&s.length!==1&&s.shift(),Td(s,t)||dg(o)},getConflictingClassGroupIds:(o,s)=>{const u=n[o]||[];return s&&r[o]?[...u,...r[o]]:u}}},Td=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),l=r?Td(e.slice(1),r):void 0;if(l)return l;if(t.validators.length===0)return;const i=e.join(pu);return(o=t.validators.find(({validator:s})=>s(i)))==null?void 0:o.classGroupId},$a=/^\[(.+)\]$/,dg=e=>{if($a.test(e)){const t=$a.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},pg=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return mg(Object.entries(e.classGroups),n).forEach(([i,o])=>{ps(o,r,i,t)}),r},ps=(e,t,n,r)=>{e.forEach(l=>{if(typeof l=="string"){const i=l===""?t:Ba(t,l);i.classGroupId=n;return}if(typeof l=="function"){if(hg(l)){ps(l(r),t,n,r);return}t.validators.push({validator:l,classGroupId:n});return}Object.entries(l).forEach(([i,o])=>{ps(o,Ba(t,i),n,r)})})},Ba=(e,t)=>{let n=e;return t.split(pu).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},hg=e=>e.isThemeGetter,mg=(e,t)=>t?e.map(([n,r])=>{const l=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([o,s])=>[t+o,s])):i);return[n,l]}):e,yg=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const l=(i,o)=>{n.set(i,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let o=n.get(i);if(o!==void 0)return o;if((o=r.get(i))!==void 0)return l(i,o),o},set(i,o){n.has(i)?n.set(i,o):l(i,o)}}},Ld="!",gg=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,l=t[0],i=t.length,o=s=>{const u=[];let a=0,h=0,f;for(let x=0;xh?f-h:void 0;return{modifiers:u,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:y}};return n?s=>n({className:s,parseClassName:o}):o},vg=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},wg=e=>({cache:yg(e.cacheSize),parseClassName:gg(e),...fg(e)}),xg=/\s+/,Sg=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:l}=t,i=[],o=e.trim().split(xg);let s="";for(let u=o.length-1;u>=0;u-=1){const a=o[u],{modifiers:h,hasImportantModifier:f,baseClassName:m,maybePostfixModifierPosition:v}=n(a);let w=!!v,y=r(w?m.substring(0,v):m);if(!y){if(!w){s=a+(s.length>0?" "+s:s);continue}if(y=r(m),!y){s=a+(s.length>0?" "+s:s);continue}w=!1}const x=vg(h).join(":"),d=f?x+Ld:x,c=d+y;if(i.includes(c))continue;i.push(c);const p=l(y,w);for(let g=0;g0?" "+s:s)}return s};function kg(){let e=0,t,n,r="";for(;e{if(typeof e=="string")return e;let t,n="";for(let r=0;rf(h),e());return n=wg(a),r=n.cache.get,l=n.cache.set,i=s,s(u)}function s(u){const a=r(u);if(a)return a;const h=Sg(u,n);return l(u,h),h}return function(){return i(kg.apply(null,arguments))}}const H=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Fd=/^\[(?:([a-z-]+):)?(.+)\]$/i,Cg=/^\d+\/\d+$/,Pg=new Set(["px","full","screen"]),_g=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ng=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Rg=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,zg=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,jg=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ot=e=>Hn(e)||Pg.has(e)||Cg.test(e),kt=e=>cr(e,"length",Ag),Hn=e=>!!e&&!Number.isNaN(Number(e)),yo=e=>cr(e,"number",Hn),wr=e=>!!e&&Number.isInteger(Number(e)),Og=e=>e.endsWith("%")&&Hn(e.slice(0,-1)),M=e=>Fd.test(e),Et=e=>_g.test(e),Tg=new Set(["length","size","percentage"]),Lg=e=>cr(e,Tg,Id),Mg=e=>cr(e,"position",Id),Fg=new Set(["image","url"]),Ig=e=>cr(e,Fg,$g),Dg=e=>cr(e,"",Ug),xr=()=>!0,cr=(e,t,n)=>{const r=Fd.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},Ag=e=>Ng.test(e)&&!Rg.test(e),Id=()=>!1,Ug=e=>zg.test(e),$g=e=>jg.test(e),Bg=()=>{const e=H("colors"),t=H("spacing"),n=H("blur"),r=H("brightness"),l=H("borderColor"),i=H("borderRadius"),o=H("borderSpacing"),s=H("borderWidth"),u=H("contrast"),a=H("grayscale"),h=H("hueRotate"),f=H("invert"),m=H("gap"),v=H("gradientColorStops"),w=H("gradientColorStopPositions"),y=H("inset"),x=H("margin"),d=H("opacity"),c=H("padding"),p=H("saturate"),g=H("scale"),C=H("sepia"),N=H("skew"),j=H("space"),_=H("translate"),D=()=>["auto","contain","none"],F=()=>["auto","hidden","clip","visible","scroll"],ge=()=>["auto",M,t],B=()=>[M,t],wt=()=>["",ot,kt],Zt=()=>["auto",Hn,M],fl=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],xt=()=>["solid","dashed","dotted","double","none"],Cn=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],R=()=>["start","end","center","between","around","evenly","stretch"],O=()=>["","0",M],T=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[Hn,M];return{cacheSize:500,separator:":",theme:{colors:[xr],spacing:[ot,kt],blur:["none","",Et,M],brightness:U(),borderColor:[e],borderRadius:["none","","full",Et,M],borderSpacing:B(),borderWidth:wt(),contrast:U(),grayscale:O(),hueRotate:U(),invert:O(),gap:B(),gradientColorStops:[e],gradientColorStopPositions:[Og,kt],inset:ge(),margin:ge(),opacity:U(),padding:B(),saturate:U(),scale:U(),sepia:O(),skew:U(),space:B(),translate:B()},classGroups:{aspect:[{aspect:["auto","square","video",M]}],container:["container"],columns:[{columns:[Et]}],"break-after":[{"break-after":T()}],"break-before":[{"break-before":T()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...fl(),M]}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",wr,M]}],basis:[{basis:ge()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",M]}],grow:[{grow:O()}],shrink:[{shrink:O()}],order:[{order:["first","last","none",wr,M]}],"grid-cols":[{"grid-cols":[xr]}],"col-start-end":[{col:["auto",{span:["full",wr,M]},M]}],"col-start":[{"col-start":Zt()}],"col-end":[{"col-end":Zt()}],"grid-rows":[{"grid-rows":[xr]}],"row-start-end":[{row:["auto",{span:[wr,M]},M]}],"row-start":[{"row-start":Zt()}],"row-end":[{"row-end":Zt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",M]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",M]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...R()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...R(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...R(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[c]}],px:[{px:[c]}],py:[{py:[c]}],ps:[{ps:[c]}],pe:[{pe:[c]}],pt:[{pt:[c]}],pr:[{pr:[c]}],pb:[{pb:[c]}],pl:[{pl:[c]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",M,t]}],"min-w":[{"min-w":[M,t,"min","max","fit"]}],"max-w":[{"max-w":[M,t,"none","full","min","max","fit","prose",{screen:[Et]},Et]}],h:[{h:[M,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[M,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[M,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[M,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Et,kt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",yo]}],"font-family":[{font:[xr]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",M]}],"line-clamp":[{"line-clamp":["none",Hn,yo]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ot,M]}],"list-image":[{"list-image":["none",M]}],"list-style-type":[{list:["none","disc","decimal",M]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[d]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[d]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...xt(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",ot,kt]}],"underline-offset":[{"underline-offset":["auto",ot,M]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:B()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",M]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",M]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[d]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...fl(),Mg]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Lg]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ig]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[d]}],"border-style":[{border:[...xt(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[d]}],"divide-style":[{divide:xt()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-s":[{"border-s":[l]}],"border-color-e":[{"border-e":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...xt()]}],"outline-offset":[{"outline-offset":[ot,M]}],"outline-w":[{outline:[ot,kt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:wt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[d]}],"ring-offset-w":[{"ring-offset":[ot,kt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Et,Dg]}],"shadow-color":[{shadow:[xr]}],opacity:[{opacity:[d]}],"mix-blend":[{"mix-blend":[...Cn(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Cn()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",Et,M]}],grayscale:[{grayscale:[a]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[f]}],saturate:[{saturate:[p]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[a]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[d]}],"backdrop-saturate":[{"backdrop-saturate":[p]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",M]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",M]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",M]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[g]}],"scale-x":[{"scale-x":[g]}],"scale-y":[{"scale-y":[g]}],rotate:[{rotate:[wr,M]}],"translate-x":[{"translate-x":[_]}],"translate-y":[{"translate-y":[_]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",M]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",M]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":B()}],"scroll-mx":[{"scroll-mx":B()}],"scroll-my":[{"scroll-my":B()}],"scroll-ms":[{"scroll-ms":B()}],"scroll-me":[{"scroll-me":B()}],"scroll-mt":[{"scroll-mt":B()}],"scroll-mr":[{"scroll-mr":B()}],"scroll-mb":[{"scroll-mb":B()}],"scroll-ml":[{"scroll-ml":B()}],"scroll-p":[{"scroll-p":B()}],"scroll-px":[{"scroll-px":B()}],"scroll-py":[{"scroll-py":B()}],"scroll-ps":[{"scroll-ps":B()}],"scroll-pe":[{"scroll-pe":B()}],"scroll-pt":[{"scroll-pt":B()}],"scroll-pr":[{"scroll-pr":B()}],"scroll-pb":[{"scroll-pb":B()}],"scroll-pl":[{"scroll-pl":B()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",M]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[ot,kt,yo]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},Qg=Eg(Bg);function Qa(...e){return Qg(cg(e))}function cv(e){return new Date(e).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"})}function fv(e){return`${e} Mbps`}const Va=[{name:"Home",href:"/",icon:Xy},{name:"About",href:"/about",icon:Jy},{name:"Features",href:"/features",icon:lg},{name:"Gallery",href:"/gallery",icon:Zy},{name:"Download",href:"/download",icon:Gy},{name:"Developers",href:"/developers",icon:Ky},{name:"Donate",href:"/donate",icon:qy}];function Vg(){return k.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:"32",height:"32",children:[k.jsx("path",{fill:"#6495ed",fillRule:"evenodd",d:"m112.8 111.5q25.7 27 1.7 53.9-21.4 20.9-41.9 22.9c8.6-7.4 11-19.8 5.8-29.9q-26.1-27.2-39.2-47.7-15.1-39.6 40.9-53.8 9.4-15.5 91.4-55.6c15.4-4.4 31.8 2.8 38.9 17.2 7 14.4 2.8 31.8-10.2 41.3l-112.8 7.1q-1.9 20.7 25.4 44.6zm-35.5-43.4c-11.4 3.4-26.3 9.6-30.2 20.4-2 5.8-0.9 12.1 1.1 17.7 10.5 16.1 24.2 31.5 37.5 45.3l1 1.1 0.7 1.3c2.8 5.5 4 11.5 3.7 17.4 6-3.7 11.4-8.2 16.2-12.8 12.4-14.2 11.3-26.2-1.5-39.8-14.4-12.7-29.3-30.2-28.5-50.6zm124.1-45.1c-4.8-9.8-15.8-14.9-26.4-12.3-20.9 10.3-42.3 21.1-62.1 33.2-3.7 2.2-12.5 7.7-18.6 12.5l102.1-6.4c7.4-6.8 9.5-17.8 5-27z"}),k.jsx("path",{fill:"#6495ed",fillRule:"evenodd",d:"m143.8 144.3q-25.7-26.9-1.8-53.9 21.5-20.8 42-22.8c-8.6 7.4-11 19.7-5.9 29.8q26.2 27.2 39.3 47.8 15 39.6-40.9 53.7-9.4 15.5-91.5 55.7c-15.4 4.4-31.7-2.9-38.8-17.3-7-14.4-2.8-31.7 10.1-41.3l112.8-7.1q2-20.7-25.3-44.6zm35.5 43.5c11.4-3.4 26.3-9.6 30.2-20.5 2-5.7 0.9-12-1.2-17.6-10.4-16.1-24.2-31.5-37.4-45.4l-1.1-1-0.6-1.3c-2.8-5.5-4-11.5-3.8-17.4-5.9 3.6-11.4 8.2-16.1 12.8-12.5 14.1-11.3 26.2 1.4 39.7 14.5 12.7 29.4 30.3 28.6 50.7zm-124.1 45.1c4.8 9.7 15.8 14.8 26.3 12.2 20.9-10.2 42.3-21 62.2-33.1 3.7-2.2 12.5-7.7 18.5-12.6l-102 6.5c-7.4 6.8-9.5 17.8-5 27z"})]})}function Hg(){const[e,t]=P.useState(!1),n=cl();return k.jsxs("nav",{className:"fixed w-full z-50 bg-white/80 backdrop-blur-lg border-b border-gray-200 transition-all duration-300",children:[k.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:k.jsxs("div",{className:"flex justify-between h-16",children:[k.jsx("div",{className:"flex",children:k.jsxs(Mr,{to:"/",className:"flex-shrink-0 flex items-center",children:[k.jsx(Vg,{}),k.jsx("span",{className:"ml-2 text-xl font-bold text-cornflower-blue transition-all duration-300 hover:text-blue-700",children:"Snigdha OS"})]})}),k.jsx("div",{className:"hidden sm:flex sm:items-center sm:space-x-8",children:Va.map(r=>k.jsxs(Mr,{to:r.href,className:Qa("px-3 py-2 rounded-md text-sm font-medium transition-colors duration-300 flex items-center gap-2",n.pathname===r.href?"text-cornflower-blue":"text-gray-600 hover:text-cornflower-blue"),children:[k.jsx(r.icon,{className:"h-4 w-4"}),r.name]},r.name))}),k.jsx("div",{className:"flex items-center sm:hidden",children:k.jsx("button",{onClick:()=>t(!e),className:"inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 transition-all duration-300",children:e?k.jsx(og,{className:"h-6 w-6"}):k.jsx(tg,{className:"h-6 w-6"})})})]})}),e&&k.jsx("div",{className:`sm:hidden bg-white/90 backdrop-blur-lg overflow-hidden transition-all duration-300 ease-in-out ${e?"max-h-96":"max-h-0"}`,children:k.jsx("div",{className:"px-2 pt-2 pb-3 space-y-1",children:Va.map(r=>k.jsxs(Mr,{to:r.href,className:Qa("block px-3 py-2 rounded-md text-base font-medium flex items-center gap-2 transition-colors duration-300",n.pathname===r.href?"text-cornflower-blue bg-blue-50":"text-gray-600 hover:text-cornflower-blue hover:bg-blue-50"),onClick:()=>t(!1),children:[k.jsx(r.icon,{className:"h-4 w-4"}),r.name]},r.name))})})]})}const Ll={main:[{name:"Gallery",href:"/gallery"},{name:"Developers",href:"/developers"},{name:"Donate",href:"/donate"}],resources:[{name:"Documentation",href:"/docs",icon:Hy},{name:"Blog",href:"/blog",icon:rg},{name:"Support",href:"/support",icon:Yy}],community:[{name:"Community",href:"/community",icon:ng},{name:"GitHub",href:"https://github.com/Snigdha-OS",icon:by},{name:"Twitter",href:"https://twitter.com/SnigdhaOS",icon:ig},{name:"YouTube",href:"https://youtube.com",icon:sg}]};function Wg(){const e=new Date().getFullYear();return k.jsx("footer",{className:"bg-gray-900 text-gray-300",children:k.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12",children:[k.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8",children:[k.jsxs("div",{className:"space-y-4",children:[k.jsx("h3",{className:"text-xl font-bold text-white",children:"Snigdha OS"}),k.jsx("p",{className:"text-sm leading-6",children:"The most advanced penetration testing distribution, designed for security professionals and enthusiasts."}),k.jsx("div",{className:"flex space-x-4",children:Ll.community.map(t=>k.jsx("a",{href:t.href,className:"hover:text-white transition transform hover:scale-110",target:"_blank",rel:"noopener noreferrer",children:t.icon&&k.jsx(t.icon,{className:"h-5 w-5"})},t.name))})]}),k.jsxs("div",{children:[k.jsx("h3",{className:"text-sm font-semibold text-white uppercase tracking-wider mb-4",children:"Navigation"}),k.jsx("ul",{className:"space-y-3",children:Ll.main.map(t=>k.jsx("li",{children:k.jsx(Mr,{to:t.href,className:"hover:text-white transition transform hover:scale-105",children:t.name})},t.name))})]}),k.jsxs("div",{children:[k.jsx("h3",{className:"text-sm font-semibold text-white uppercase tracking-wider mb-4",children:"Resources"}),k.jsx("ul",{className:"space-y-3",children:Ll.resources.map(t=>k.jsx("li",{children:k.jsxs(Mr,{to:t.href,className:"flex items-center gap-2 hover:text-white transition transform hover:scale-105",children:[t.icon&&k.jsx(t.icon,{className:"h-4 w-4"}),t.name]})},t.name))})]}),k.jsxs("div",{children:[k.jsx("h3",{className:"text-sm font-semibold text-white uppercase tracking-wider mb-4",children:"Community"}),k.jsx("ul",{className:"space-y-3",children:Ll.community.map(t=>k.jsx("li",{children:k.jsxs("a",{href:t.href,className:"flex items-center gap-2 hover:text-white transition transform hover:scale-105",target:"_blank",rel:"noopener noreferrer",children:[t.icon&&k.jsx(t.icon,{className:"h-4 w-4"}),t.name]})},t.name))})]})]}),k.jsxs("div",{className:"mt-12 pt-8 border-t border-gray-800 text-sm text-center",children:[k.jsxs("p",{children:["© ",e," Snigdha OS - All rights reserved. Powered by"," ",k.jsx("b",{className:"text-cornflower-blue",children:"Tonmoy Infrastructure™"})]}),k.jsxs("p",{children:["Developed with ❤️ by"," ",k.jsx("b",{className:"text-cornflower-blue",children:k.jsx("u",{children:"Snigdha OS Open Source Team."})})]}),k.jsx("button",{onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"mt-4 p-2 bg-cornflower-blue rounded-full text-white shadow-md hover:shadow-lg transition",children:k.jsx(Wy,{className:"h-5 w-5"})})]})]})})}const Kg="modulepreload",Gg=function(e){return"/"+e},Ha={},En=function(t,n,r){let l=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),s=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));l=Promise.allSettled(n.map(u=>{if(u=Gg(u),u in Ha)return;Ha[u]=!0;const a=u.endsWith(".css"),h=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${h}`))return;const f=document.createElement("link");if(f.rel=a?"stylesheet":Kg,a||(f.as="script"),f.crossOrigin="",f.href=u,s&&f.setAttribute("nonce",s),document.head.appendChild(f),a)return new Promise((m,v)=>{f.addEventListener("load",m),f.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${u}`)))})}))}function i(o){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o}return l.then(o=>{for(const s of o||[])s.status==="rejected"&&i(s.reason);return t().catch(i)})},bg=P.lazy(()=>En(()=>import("./assets/Home-DT9xgmmB.js"),__vite__mapDeps([0,1,2,3,4,5,6]))),qg=P.lazy(()=>En(()=>import("./assets/About-6acGKBnd.js"),__vite__mapDeps([7,1,2,5]))),Yg=P.lazy(()=>En(()=>import("./assets/Features-vD7Hwkmy.js"),__vite__mapDeps([8,1,6]))),Xg=P.lazy(()=>En(()=>import("./assets/Download-DwEEsqsb.js"),__vite__mapDeps([9,1,10,5,4,11]))),Zg=P.lazy(()=>En(()=>import("./assets/Developers-DqgLJRF5.js"),__vite__mapDeps([12,1,11,2,3]))),Jg=P.lazy(()=>En(()=>import("./assets/Donate-BuPUDU4-.js"),__vite__mapDeps([13,1,10,2,3]))),ev=P.lazy(()=>En(()=>import("./assets/Gallery-BoBiz_-4.js"),__vite__mapDeps([14,1])));function tv(){return k.jsx("div",{className:"min-h-[50vh] flex items-center justify-center",children:k.jsx(eg,{className:"h-8 w-8 animate-spin text-cornflower-blue"})})}function nv(){return k.jsx(P.Suspense,{fallback:k.jsx(tv,{}),children:k.jsxs(ly,{children:[k.jsx(Ct,{path:"/",element:k.jsx(bg,{})}),k.jsx(Ct,{path:"/about",element:k.jsx(qg,{})}),k.jsx(Ct,{path:"/features",element:k.jsx(Yg,{})}),k.jsx(Ct,{path:"/download",element:k.jsx(Xg,{})}),k.jsx(Ct,{path:"/developers",element:k.jsx(Zg,{})}),k.jsx(Ct,{path:"/donate",element:k.jsx(Jg,{})}),k.jsx(Ct,{path:"/gallery",element:k.jsx(ev,{})})]})})}const rv=new Iy({defaultOptions:{queries:{staleTime:1e3*60*5,retry:1}}});function lv(){return k.jsx(ag,{children:k.jsx(Dy,{client:rv,children:k.jsxs(fy,{children:[" ",k.jsxs("div",{className:"min-h-screen bg-gray-50 font-fira-sans flex flex-col",children:[k.jsx(Hg,{}),k.jsx("main",{className:"flex-grow pt-16",children:k.jsx(nv,{})}),k.jsx(Wg,{})]})]})})})}const Dd=document.getElementById("root");if(!Dd)throw new Error("Root element not found");const iv=dd(Dd);iv.render(k.jsx(P.StrictMode,{children:k.jsx(lv,{})}));export{Hy as B,Gy as D,by as G,qy as H,Mr as L,ng as M,Ii as S,og as X,cg as a,eg as b,le as c,vy as d,La as e,fv as f,yy as g,Pd as h,Di as i,k as j,zy as k,xy as l,xe as m,He as n,Ed as o,Py as p,cv as q,P as r,sv as s,gy as t,uv as u};