function fd(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 s of l)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(l){const s={};return l.integrity&&(s.integrity=l.integrity),l.referrerPolicy&&(s.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?s.credentials="include":l.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(l){if(l.ep)return;l.ep=!0;const s=n(l);fetch(l.href,s)}})();function pd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ta={exports:{}},Cl={},za={exports:{}},R={};/** * @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 hr=Symbol.for("react.element"),md=Symbol.for("react.portal"),hd=Symbol.for("react.fragment"),gd=Symbol.for("react.strict_mode"),vd=Symbol.for("react.profiler"),xd=Symbol.for("react.provider"),yd=Symbol.for("react.context"),wd=Symbol.for("react.forward_ref"),jd=Symbol.for("react.suspense"),Nd=Symbol.for("react.memo"),kd=Symbol.for("react.lazy"),fo=Symbol.iterator;function Sd(e){return e===null||typeof e!="object"?null:(e=fo&&e[fo]||e["@@iterator"],typeof e=="function"?e:null)}var La={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Fa=Object.assign,Oa={};function kn(e,t,n){this.props=e,this.context=t,this.refs=Oa,this.updater=n||La}kn.prototype.isReactComponent={};kn.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")};kn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ra(){}Ra.prototype=kn.prototype;function mi(e,t,n){this.props=e,this.context=t,this.refs=Oa,this.updater=n||La}var hi=mi.prototype=new Ra;hi.constructor=mi;Fa(hi,kn.prototype);hi.isPureReactComponent=!0;var po=Array.isArray,Ia=Object.prototype.hasOwnProperty,gi={current:null},ba={key:!0,ref:!0,__self:!0,__source:!0};function Da(e,t,n){var r,l={},s=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)Ia.call(t,r)&&!ba.hasOwnProperty(r)&&(l[r]=t[r]);var a=arguments.length-2;if(a===1)l.children=n;else if(1>>1,q=S[W];if(0>>1;Wl(J,F))Dl(Ye,J)?(S[W]=Ye,S[D]=F,W=D):(S[W]=J,S[T]=F,W=T);else if(Dl(Ye,F))S[W]=Ye,S[D]=F,W=D;else break e}}return z}function l(S,z){var F=S.sortIndex-z.sortIndex;return F!==0?F:S.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var u=[],c=[],g=1,p=null,h=3,w=!1,x=!1,j=!1,E=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(S){for(var z=n(c);z!==null;){if(z.callback===null)r(c);else if(z.startTime<=S)r(c),z.sortIndex=z.expirationTime,t(u,z);else break;z=n(c)}}function y(S){if(j=!1,m(S),!x)if(n(u)!==null)x=!0,Pn(k);else{var z=n(c);z!==null&&Mn(y,z.startTime-S)}}function k(S,z){x=!1,j&&(j=!1,f(_),_=-1),w=!0;var F=h;try{for(m(z),p=n(u);p!==null&&(!(p.expirationTime>z)||S&&!ve());){var W=p.callback;if(typeof W=="function"){p.callback=null,h=p.priorityLevel;var q=W(p.expirationTime<=z);z=e.unstable_now(),typeof q=="function"?p.callback=q:p===n(u)&&r(u),m(z)}else r(u);p=n(u)}if(p!==null)var Xt=!0;else{var T=n(c);T!==null&&Mn(y,T.startTime-z),Xt=!1}return Xt}finally{p=null,h=F,w=!1}}var P=!1,M=null,_=-1,$=5,O=-1;function ve(){return!(e.unstable_now()-O<$)}function Be(){if(M!==null){var S=e.unstable_now();O=S;var z=!0;try{z=M(!0,S)}finally{z?$e():(P=!1,M=null)}}else P=!1}var $e;if(typeof d=="function")$e=function(){d(Be)};else if(typeof MessageChannel<"u"){var Qt=new MessageChannel,Nr=Qt.port2;Qt.port1.onmessage=Be,$e=function(){Nr.postMessage(null)}}else $e=function(){E(Be,0)};function Pn(S){M=S,P||(P=!0,$e())}function Mn(S,z){_=E(function(){S(e.unstable_now())},z)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(S){S.callback=null},e.unstable_continueExecution=function(){x||w||(x=!0,Pn(k))},e.unstable_forceFrameRate=function(S){0>S||125W?(S.sortIndex=F,t(c,S),n(u)===null&&S===n(c)&&(j?(f(_),_=-1):j=!0,Mn(y,F-W))):(S.sortIndex=q,t(u,S),x||w||(x=!0,Pn(k))),S},e.unstable_shouldYield=ve,e.unstable_wrapCallback=function(S){var z=h;return function(){var F=h;h=z;try{return S.apply(this,arguments)}finally{h=F}}}})($a);Ba.exports=$a;var Id=Ba.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 bd=v,Ee=Id;function N(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"),xs=Object.prototype.hasOwnProperty,Dd=/^[: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]*$/,ho={},go={};function Ad(e){return xs.call(go,e)?!0:xs.call(ho,e)?!1:Dd.test(e)?go[e]=!0:(ho[e]=!0,!1)}function Ud(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 Vd(e,t,n,r){if(t===null||typeof t>"u"||Ud(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 ge(e,t,n,r,l,s,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=s,this.removeEmptyString=o}var ie={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ie[e]=new ge(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ie[t]=new ge(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ie[e]=new ge(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ie[e]=new ge(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){ie[e]=new ge(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ie[e]=new ge(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ie[e]=new ge(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ie[e]=new ge(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ie[e]=new ge(e,5,!1,e.toLowerCase(),null,!1,!1)});var xi=/[\-:]([a-z])/g;function yi(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(xi,yi);ie[t]=new ge(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(xi,yi);ie[t]=new ge(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(xi,yi);ie[t]=new ge(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ie[e]=new ge(e,1,!1,e.toLowerCase(),null,!1,!1)});ie.xlinkHref=new ge("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ie[e]=new ge(e,1,!1,e.toLowerCase(),null,!0,!0)});function wi(e,t,n,r){var l=ie.hasOwnProperty(t)?ie[t]:null;(l!==null?l.type!==0:r||!(2a||l[o]!==s[a]){var u=` `+l[o].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=o&&0<=a);break}}}finally{Ql=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?bn(e):""}function Wd(e){switch(e.tag){case 5:return bn(e.type);case 16:return bn("Lazy");case 13:return bn("Suspense");case 19:return bn("SuspenseList");case 0:case 2:case 15:return e=Xl(e.type,!1),e;case 11:return e=Xl(e.type.render,!1),e;case 1:return e=Xl(e.type,!0),e;default:return""}}function Ns(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 Yt:return"Fragment";case qt:return"Portal";case ys:return"Profiler";case ji:return"StrictMode";case ws:return"Suspense";case js:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Qa:return(e.displayName||"Context")+".Consumer";case Ga:return(e._context.displayName||"Context")+".Provider";case Ni:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ki:return t=e.displayName||null,t!==null?t:Ns(e.type)||"Memo";case ut:t=e._payload,e=e._init;try{return Ns(e(t))}catch{}}return null}function Bd(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 Ns(t);case 8:return t===ji?"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 Et(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ka(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function $d(e){var t=Ka(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,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,s.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 Er(e){e._valueTracker||(e._valueTracker=$d(e))}function qa(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ka(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Jr(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 ks(e,t){var n=t.checked;return Q({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function xo(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Et(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 Ya(e,t){t=t.checked,t!=null&&wi(e,"checked",t,!1)}function Ss(e,t){Ya(e,t);var n=Et(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")?Cs(e,t.type,n):t.hasOwnProperty("defaultValue")&&Cs(e,t.type,Et(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function yo(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 Cs(e,t,n){(t!=="number"||Jr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Dn=Array.isArray;function un(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=Pr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Yn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Vn={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},Hd=["Webkit","ms","Moz","O"];Object.keys(Vn).forEach(function(e){Hd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Vn[t]=Vn[e]})});function tu(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Vn.hasOwnProperty(e)&&Vn[e]?(""+t).trim():t+"px"}function nu(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=tu(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Gd=Q({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 Ms(e,t){if(t){if(Gd[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(N(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(N(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(N(61))}if(t.style!=null&&typeof t.style!="object")throw Error(N(62))}}function _s(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 Ts=null;function Si(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var zs=null,cn=null,dn=null;function No(e){if(e=xr(e)){if(typeof zs!="function")throw Error(N(280));var t=e.stateNode;t&&(t=Tl(t),zs(e.stateNode,e.type,t))}}function ru(e){cn?dn?dn.push(e):dn=[e]:cn=e}function lu(){if(cn){var e=cn,t=dn;if(dn=cn=null,No(e),t)for(e=0;e>>=0,e===0?32:31-(rf(e)/lf|0)|0}var Mr=64,_r=4194304;function An(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 rl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,s=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~l;a!==0?r=An(a):(s&=o,s!==0&&(r=An(s)))}else o=n&~l,o!==0?r=An(o):s!==0&&(r=An(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,s=t&-t,l>=s||l===16&&(s&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 gr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ue(t),e[t]=n}function uf(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=Bn),zo=" ",Lo=!1;function Su(e,t){switch(e){case"keyup":return bf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Cu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Zt=!1;function Af(e,t){switch(e){case"compositionend":return Cu(t);case"keypress":return t.which!==32?null:(Lo=!0,zo);case"textInput":return e=t.data,e===zo&&Lo?null:e;default:return null}}function Uf(e,t){if(Zt)return e==="compositionend"||!Li&&Su(e,t)?(e=Nu(),$r=_i=pt=null,Zt=!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=Io(n)}}function _u(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?_u(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Tu(){for(var e=window,t=Jr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Jr(e.document)}return t}function Fi(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 Kf(e){var t=Tu(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&_u(n.ownerDocument.documentElement,n)){if(r!==null&&Fi(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,s=Math.min(r.start,l);r=r.end===void 0?s:Math.min(r.end,l),!e.extend&&s>r&&(l=r,r=s,s=l),l=bo(n,s);var o=bo(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(),s>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,Jt=null,bs=null,Hn=null,Ds=!1;function Do(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ds||Jt==null||Jt!==Jr(r)||(r=Jt,"selectionStart"in r&&Fi(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}),Hn&&rr(Hn,r)||(Hn=r,r=il(bs,"onSelect"),0nn||(e.current=$s[nn],$s[nn]=null,nn--)}function A(e,t){nn++,$s[nn]=e.current,e.current=t}var Pt={},ce=_t(Pt),we=_t(!1),Dt=Pt;function gn(e,t){var n=e.type.contextTypes;if(!n)return Pt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},s;for(s in n)l[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function je(e){return e=e.childContextTypes,e!=null}function al(){V(we),V(ce)}function Ho(e,t,n){if(ce.current!==Pt)throw Error(N(168));A(ce,t),A(we,n)}function Au(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(N(108,Bd(e)||"Unknown",l));return Q({},n,r)}function ul(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Pt,Dt=ce.current,A(ce,e),A(we,we.current),!0}function Go(e,t,n){var r=e.stateNode;if(!r)throw Error(N(169));n?(e=Au(e,t,Dt),r.__reactInternalMemoizedMergedChildContext=e,V(we),V(ce),A(ce,e)):V(we),A(we,n)}var Je=null,zl=!1,as=!1;function Uu(e){Je===null?Je=[e]:Je.push(e)}function op(e){zl=!0,Uu(e)}function Tt(){if(!as&&Je!==null){as=!0;var e=0,t=b;try{var n=Je;for(b=1;e>=o,l-=o,et=1<<32-Ue(t)+l|n<_?($=M,M=null):$=M.sibling;var O=h(f,M,m[_],y);if(O===null){M===null&&(M=$);break}e&&M&&O.alternate===null&&t(f,M),d=s(O,d,_),P===null?k=O:P.sibling=O,P=O,M=$}if(_===m.length)return n(f,M),B&&zt(f,_),k;if(M===null){for(;__?($=M,M=null):$=M.sibling;var ve=h(f,M,O.value,y);if(ve===null){M===null&&(M=$);break}e&&M&&ve.alternate===null&&t(f,M),d=s(ve,d,_),P===null?k=ve:P.sibling=ve,P=ve,M=$}if(O.done)return n(f,M),B&&zt(f,_),k;if(M===null){for(;!O.done;_++,O=m.next())O=p(f,O.value,y),O!==null&&(d=s(O,d,_),P===null?k=O:P.sibling=O,P=O);return B&&zt(f,_),k}for(M=r(f,M);!O.done;_++,O=m.next())O=w(M,f,_,O.value,y),O!==null&&(e&&O.alternate!==null&&M.delete(O.key===null?_:O.key),d=s(O,d,_),P===null?k=O:P.sibling=O,P=O);return e&&M.forEach(function(Be){return t(f,Be)}),B&&zt(f,_),k}function E(f,d,m,y){if(typeof m=="object"&&m!==null&&m.type===Yt&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case Cr:e:{for(var k=m.key,P=d;P!==null;){if(P.key===k){if(k=m.type,k===Yt){if(P.tag===7){n(f,P.sibling),d=l(P,m.props.children),d.return=f,f=d;break e}}else if(P.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===ut&&Ko(k)===P.type){n(f,P.sibling),d=l(P,m.props),d.ref=On(f,P,m),d.return=f,f=d;break e}n(f,P);break}else t(f,P);P=P.sibling}m.type===Yt?(d=bt(m.props.children,f.mode,y,m.key),d.return=f,f=d):(y=Zr(m.type,m.key,m.props,null,f.mode,y),y.ref=On(f,d,m),y.return=f,f=y)}return o(f);case qt:e:{for(P=m.key;d!==null;){if(d.key===P)if(d.tag===4&&d.stateNode.containerInfo===m.containerInfo&&d.stateNode.implementation===m.implementation){n(f,d.sibling),d=l(d,m.children||[]),d.return=f,f=d;break e}else{n(f,d);break}else t(f,d);d=d.sibling}d=gs(m,f.mode,y),d.return=f,f=d}return o(f);case ut:return P=m._init,E(f,d,P(m._payload),y)}if(Dn(m))return x(f,d,m,y);if(_n(m))return j(f,d,m,y);Ir(f,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,d!==null&&d.tag===6?(n(f,d.sibling),d=l(d,m),d.return=f,f=d):(n(f,d),d=hs(m,f.mode,y),d.return=f,f=d),o(f)):n(f,d)}return E}var xn=$u(!0),Hu=$u(!1),fl=_t(null),pl=null,sn=null,bi=null;function Di(){bi=sn=pl=null}function Ai(e){var t=fl.current;V(fl),e._currentValue=t}function Qs(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 pn(e,t){pl=e,bi=sn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ye=!0),e.firstContext=null)}function Fe(e){var t=e._currentValue;if(bi!==e)if(e={context:e,memoizedValue:t,next:null},sn===null){if(pl===null)throw Error(N(308));sn=e,pl.dependencies={lanes:0,firstContext:e}}else sn=sn.next=e;return t}var Ot=null;function Ui(e){Ot===null?Ot=[e]:Ot.push(e)}function Gu(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Ui(t)):(n.next=l.next,l.next=n),t.interleaved=n,st(e,r)}function st(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 ct=!1;function Vi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Qu(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 nt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function jt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,I&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,st(e,n)}return l=r.interleaved,l===null?(t.next=t,Ui(r)):(t.next=l.next,l.next=t),r.interleaved=t,st(e,n)}function Gr(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,Ei(e,n)}}function qo(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,s=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};s===null?l=s=o:s=s.next=o,n=n.next}while(n!==null);s===null?l=s=t:s=s.next=t}else l=s=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ml(e,t,n,r){var l=e.updateQueue;ct=!1;var s=l.firstBaseUpdate,o=l.lastBaseUpdate,a=l.shared.pending;if(a!==null){l.shared.pending=null;var u=a,c=u.next;u.next=null,o===null?s=c:o.next=c,o=u;var g=e.alternate;g!==null&&(g=g.updateQueue,a=g.lastBaseUpdate,a!==o&&(a===null?g.firstBaseUpdate=c:a.next=c,g.lastBaseUpdate=u))}if(s!==null){var p=l.baseState;o=0,g=c=u=null,a=s;do{var h=a.lane,w=a.eventTime;if((r&h)===h){g!==null&&(g=g.next={eventTime:w,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,j=a;switch(h=t,w=n,j.tag){case 1:if(x=j.payload,typeof x=="function"){p=x.call(w,p,h);break e}p=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=j.payload,h=typeof x=="function"?x.call(w,p,h):x,h==null)break e;p=Q({},p,h);break e;case 2:ct=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=l.effects,h===null?l.effects=[a]:h.push(a))}else w={eventTime:w,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},g===null?(c=g=w,u=p):g=g.next=w,o|=h;if(a=a.next,a===null){if(a=l.shared.pending,a===null)break;h=a,a=h.next,h.next=null,l.lastBaseUpdate=h,l.shared.pending=null}}while(!0);if(g===null&&(u=p),l.baseState=u,l.firstBaseUpdate=c,l.lastBaseUpdate=g,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else s===null&&(l.shared.lanes=0);Vt|=o,e.lanes=o,e.memoizedState=p}}function Yo(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=cs.transition;cs.transition={};try{e(!1),t()}finally{b=n,cs.transition=r}}function cc(){return Oe().memoizedState}function dp(e,t,n){var r=kt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},dc(e))fc(t,n);else if(n=Gu(e,t,n,r),n!==null){var l=me();Ve(n,e,r,l),pc(n,t,r)}}function fp(e,t,n){var r=kt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(dc(e))fc(t,l);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,a=s(o,n);if(l.hasEagerState=!0,l.eagerState=a,We(a,o)){var u=t.interleaved;u===null?(l.next=l,Ui(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=Gu(e,t,l,r),n!==null&&(l=me(),Ve(n,e,r,l),pc(n,t,r))}}function dc(e){var t=e.alternate;return e===G||t!==null&&t===G}function fc(e,t){Gn=gl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function pc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ei(e,n)}}var vl={readContext:Fe,useCallback:oe,useContext:oe,useEffect:oe,useImperativeHandle:oe,useInsertionEffect:oe,useLayoutEffect:oe,useMemo:oe,useReducer:oe,useRef:oe,useState:oe,useDebugValue:oe,useDeferredValue:oe,useTransition:oe,useMutableSource:oe,useSyncExternalStore:oe,useId:oe,unstable_isNewReconciler:!1},pp={readContext:Fe,useCallback:function(e,t){return Qe().memoizedState=[e,t===void 0?null:t],e},useContext:Fe,useEffect:Jo,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Xr(4194308,4,sc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Xr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Xr(4,2,e,t)},useMemo:function(e,t){var n=Qe();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Qe();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=dp.bind(null,G,e),[r.memoizedState,e]},useRef:function(e){var t=Qe();return e={current:e},t.memoizedState=e},useState:Zo,useDebugValue:Ki,useDeferredValue:function(e){return Qe().memoizedState=e},useTransition:function(){var e=Zo(!1),t=e[0];return e=cp.bind(null,e[1]),Qe().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=G,l=Qe();if(B){if(n===void 0)throw Error(N(407));n=n()}else{if(n=t(),re===null)throw Error(N(349));Ut&30||Yu(r,t,n)}l.memoizedState=n;var s={value:n,getSnapshot:t};return l.queue=s,Jo(Ju.bind(null,r,s,e),[e]),r.flags|=2048,dr(9,Zu.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Qe(),t=re.identifierPrefix;if(B){var n=tt,r=et;n=(r&~(1<<32-Ue(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ur++,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[Xe]=t,e[ir]=r,kc(e,t,!1,!1),t.stateNode=e;e:{switch(o=_s(n,r),n){case"dialog":U("cancel",e),U("close",e),l=r;break;case"iframe":case"object":case"embed":U("load",e),l=r;break;case"video":case"audio":for(l=0;ljn&&(t.flags|=128,r=!0,Rn(s,!1),t.lanes=4194304)}else{if(!r)if(e=hl(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Rn(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!B)return ae(t),null}else 2*K()-s.renderingStartTime>jn&&n!==1073741824&&(t.flags|=128,r=!0,Rn(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(n=s.last,n!==null?n.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=K(),t.sibling=null,n=H.current,A(H,r?n&1|2:n&1),t):(ae(t),null);case 22:case 23:return to(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ke&1073741824&&(ae(t),t.subtreeFlags&6&&(t.flags|=8192)):ae(t),null;case 24:return null;case 25:return null}throw Error(N(156,t.tag))}function jp(e,t){switch(Ri(t),t.tag){case 1:return je(t.type)&&al(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return yn(),V(we),V(ce),$i(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Bi(t),null;case 13:if(V(H),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(N(340));vn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return V(H),null;case 4:return yn(),null;case 10:return Ai(t.type._context),null;case 22:case 23:return to(),null;case 24:return null;default:return null}}var Dr=!1,ue=!1,Np=typeof WeakSet=="function"?WeakSet:Set,C=null;function on(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){X(e,t,r)}else n.current=null}function ni(e,t,n){try{n()}catch(r){X(e,t,r)}}var ca=!1;function kp(e,t){if(As=ll,e=Tu(),Fi(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,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=0,a=-1,u=-1,c=0,g=0,p=e,h=null;t:for(;;){for(var w;p!==n||l!==0&&p.nodeType!==3||(a=o+l),p!==s||r!==0&&p.nodeType!==3||(u=o+r),p.nodeType===3&&(o+=p.nodeValue.length),(w=p.firstChild)!==null;)h=p,p=w;for(;;){if(p===e)break t;if(h===n&&++c===l&&(a=o),h===s&&++g===r&&(u=o),(w=p.nextSibling)!==null)break;p=h,h=p.parentNode}p=w}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Us={focusedElem:e,selectionRange:n},ll=!1,C=t;C!==null;)if(t=C,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,C=e;else for(;C!==null;){t=C;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var j=x.memoizedProps,E=x.memoizedState,f=t.stateNode,d=f.getSnapshotBeforeUpdate(t.elementType===t.type?j:be(t.type,j),E);f.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(N(163))}}catch(y){X(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,C=e;break}C=t.return}return x=ca,ca=!1,x}function Qn(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 s=l.destroy;l.destroy=void 0,s!==void 0&&ni(t,n,s)}l=l.next}while(l!==r)}}function Ol(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 ri(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 Ec(e){var t=e.alternate;t!==null&&(e.alternate=null,Ec(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Xe],delete t[ir],delete t[Bs],delete t[sp],delete t[ip])),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 Pc(e){return e.tag===5||e.tag===3||e.tag===4}function da(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Pc(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 li(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ol));else if(r!==4&&(e=e.child,e!==null))for(li(e,t,n),e=e.sibling;e!==null;)li(e,t,n),e=e.sibling}function si(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(si(e,t,n),e=e.sibling;e!==null;)si(e,t,n),e=e.sibling}var le=null,De=!1;function at(e,t,n){for(n=n.child;n!==null;)Mc(e,t,n),n=n.sibling}function Mc(e,t,n){if(Ke&&typeof Ke.onCommitFiberUnmount=="function")try{Ke.onCommitFiberUnmount(El,n)}catch{}switch(n.tag){case 5:ue||on(n,t);case 6:var r=le,l=De;le=null,at(e,t,n),le=r,De=l,le!==null&&(De?(e=le,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):le.removeChild(n.stateNode));break;case 18:le!==null&&(De?(e=le,n=n.stateNode,e.nodeType===8?os(e.parentNode,n):e.nodeType===1&&os(e,n),tr(e)):os(le,n.stateNode));break;case 4:r=le,l=De,le=n.stateNode.containerInfo,De=!0,at(e,t,n),le=r,De=l;break;case 0:case 11:case 14:case 15:if(!ue&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var s=l,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&ni(n,t,o),l=l.next}while(l!==r)}at(e,t,n);break;case 1:if(!ue&&(on(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){X(n,t,a)}at(e,t,n);break;case 21:at(e,t,n);break;case 22:n.mode&1?(ue=(r=ue)||n.memoizedState!==null,at(e,t,n),ue=r):at(e,t,n);break;default:at(e,t,n)}}function fa(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Np),t.forEach(function(r){var l=Lp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Re(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~s}if(r=l,r=K()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cp(r/1960))-r,10e?16:e,mt===null)var r=!1;else{if(e=mt,mt=null,wl=0,I&6)throw Error(N(331));var l=I;for(I|=4,C=e.current;C!==null;){var s=C,o=s.child;if(C.flags&16){var a=s.deletions;if(a!==null){for(var u=0;uK()-Ji?It(e,0):Zi|=n),Ne(e,t)}function Ic(e,t){t===0&&(e.mode&1?(t=_r,_r<<=1,!(_r&130023424)&&(_r=4194304)):t=1);var n=me();e=st(e,t),e!==null&&(gr(e,t,n),Ne(e,n))}function zp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ic(e,n)}function Lp(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(N(314))}r!==null&&r.delete(t),Ic(e,n)}var bc;bc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||we.current)ye=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ye=!1,yp(e,t,n);ye=!!(e.flags&131072)}else ye=!1,B&&t.flags&1048576&&Vu(t,dl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Kr(e,t),e=t.pendingProps;var l=gn(t,ce.current);pn(t,n),l=Gi(null,t,r,e,l,n);var s=Qi();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,je(r)?(s=!0,ul(t)):s=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Vi(t),l.updater=Fl,t.stateNode=l,l._reactInternals=t,Ks(t,r,e,n),t=Zs(null,t,r,!0,s,n)):(t.tag=0,B&&s&&Oi(t),fe(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Kr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Op(r),e=be(r,e),l){case 0:t=Ys(null,t,r,e,n);break e;case 1:t=oa(null,t,r,e,n);break e;case 11:t=sa(null,t,r,e,n);break e;case 14:t=ia(null,t,r,be(r.type,e),n);break e}throw Error(N(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:be(r,l),Ys(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:be(r,l),oa(e,t,r,l,n);case 3:e:{if(wc(t),e===null)throw Error(N(387));r=t.pendingProps,s=t.memoizedState,l=s.element,Qu(e,t),ml(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){l=wn(Error(N(423)),t),t=aa(e,t,r,n,l);break e}else if(r!==l){l=wn(Error(N(424)),t),t=aa(e,t,r,n,l);break e}else for(Se=wt(t.stateNode.containerInfo.firstChild),Ce=t,B=!0,Ae=null,n=Hu(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(vn(),r===l){t=it(e,t,n);break e}fe(e,t,r,n)}t=t.child}return t;case 5:return Xu(t),e===null&&Gs(t),r=t.type,l=t.pendingProps,s=e!==null?e.memoizedProps:null,o=l.children,Vs(r,l)?o=null:s!==null&&Vs(r,s)&&(t.flags|=32),yc(e,t),fe(e,t,o,n),t.child;case 6:return e===null&&Gs(t),null;case 13:return jc(e,t,n);case 4:return Wi(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=xn(t,null,r,n):fe(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:be(r,l),sa(e,t,r,l,n);case 7:return fe(e,t,t.pendingProps,n),t.child;case 8:return fe(e,t,t.pendingProps.children,n),t.child;case 12:return fe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,s=t.memoizedProps,o=l.value,A(fl,r._currentValue),r._currentValue=o,s!==null)if(We(s.value,o)){if(s.children===l.children&&!we.current){t=it(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){o=s.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(s.tag===1){u=nt(-1,n&-n),u.tag=2;var c=s.updateQueue;if(c!==null){c=c.shared;var g=c.pending;g===null?u.next=u:(u.next=g.next,g.next=u),c.pending=u}}s.lanes|=n,u=s.alternate,u!==null&&(u.lanes|=n),Qs(s.return,n,t),a.lanes|=n;break}u=u.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(N(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Qs(o,n,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}fe(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,pn(t,n),l=Fe(l),r=r(l),t.flags|=1,fe(e,t,r,n),t.child;case 14:return r=t.type,l=be(r,t.pendingProps),l=be(r.type,l),ia(e,t,r,l,n);case 15:return vc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:be(r,l),Kr(e,t),t.tag=1,je(r)?(e=!0,ul(t)):e=!1,pn(t,n),mc(t,r,l),Ks(t,r,l,n),Zs(null,t,r,!0,e,n);case 19:return Nc(e,t,n);case 22:return xc(e,t,n)}throw Error(N(156,t.tag))};function Dc(e,t){return du(e,t)}function Fp(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 ze(e,t,n,r){return new Fp(e,t,n,r)}function ro(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Op(e){if(typeof e=="function")return ro(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ni)return 11;if(e===ki)return 14}return 2}function St(e,t){var n=e.alternate;return n===null?(n=ze(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 Zr(e,t,n,r,l,s){var o=2;if(r=e,typeof e=="function")ro(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Yt:return bt(n.children,l,s,t);case ji:o=8,l|=8;break;case ys:return e=ze(12,n,t,l|2),e.elementType=ys,e.lanes=s,e;case ws:return e=ze(13,n,t,l),e.elementType=ws,e.lanes=s,e;case js:return e=ze(19,n,t,l),e.elementType=js,e.lanes=s,e;case Xa:return Il(n,l,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ga:o=10;break e;case Qa:o=9;break e;case Ni:o=11;break e;case ki:o=14;break e;case ut:o=16,r=null;break e}throw Error(N(130,e==null?e:typeof e,""))}return t=ze(o,n,t,l),t.elementType=e,t.type=r,t.lanes=s,t}function bt(e,t,n,r){return e=ze(7,e,r,t),e.lanes=n,e}function Il(e,t,n,r){return e=ze(22,e,r,t),e.elementType=Xa,e.lanes=n,e.stateNode={isHidden:!1},e}function hs(e,t,n){return e=ze(6,e,null,t),e.lanes=n,e}function gs(e,t,n){return t=ze(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Rp(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=ql(0),this.expirationTimes=ql(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ql(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function lo(e,t,n,r,l,s,o,a,u){return e=new Rp(e,t,n,a,u),t===1?(t=1,s===!0&&(t|=8)):t=0,s=ze(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Vi(s),e}function Ip(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Wc)}catch(e){console.error(e)}}Wc(),Wa.exports=Pe;var Vp=Wa.exports,Bc,wa=Vp;Bc=wa.createRoot,wa.hydrateRoot;/** * @remix-run/router v1.23.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 pr(){return pr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function $c(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Bp(){return Math.random().toString(36).substr(2,8)}function Na(e,t){return{usr:e.state,key:e.key,idx:t}}function ci(e,t,n,r){return n===void 0&&(n=null),pr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?En(t):t,{state:n,key:t&&t.key||r||Bp()})}function kl(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 En(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 $p(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:s=!1}=r,o=l.history,a=ht.Pop,u=null,c=g();c==null&&(c=0,o.replaceState(pr({},o.state,{idx:c}),""));function g(){return(o.state||{idx:null}).idx}function p(){a=ht.Pop;let E=g(),f=E==null?null:E-c;c=E,u&&u({action:a,location:j.location,delta:f})}function h(E,f){a=ht.Push;let d=ci(j.location,E,f);c=g()+1;let m=Na(d,c),y=j.createHref(d);try{o.pushState(m,"",y)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;l.location.assign(y)}s&&u&&u({action:a,location:j.location,delta:1})}function w(E,f){a=ht.Replace;let d=ci(j.location,E,f);c=g();let m=Na(d,c),y=j.createHref(d);o.replaceState(m,"",y),s&&u&&u({action:a,location:j.location,delta:0})}function x(E){let f=l.location.origin!=="null"?l.location.origin:l.location.href,d=typeof E=="string"?E:kl(E);return d=d.replace(/ $/,"%20"),Z(f,"No window.location.(origin|href) available to create URL for href: "+d),new URL(d,f)}let j={get action(){return a},get location(){return e(l,o)},listen(E){if(u)throw new Error("A history only accepts one active listener");return l.addEventListener(ja,p),u=E,()=>{l.removeEventListener(ja,p),u=null}},createHref(E){return t(l,E)},createURL:x,encodeLocation(E){let f=x(E);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:h,replace:w,go(E){return o.go(E)}};return j}var ka;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ka||(ka={}));function Hp(e,t,n){return n===void 0&&(n="/"),Gp(e,t,n,!1)}function Gp(e,t,n,r){let l=typeof t=="string"?En(t):t,s=ao(l.pathname||"/",n);if(s==null)return null;let o=Hc(e);Qp(o);let a=null;for(let u=0;a==null&&u{let u={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};u.relativePath.startsWith("/")&&(Z(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let c=Ct([r,u.relativePath]),g=n.concat(u);s.children&&s.children.length>0&&(Z(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),Hc(s.children,t,g,c)),!(s.path==null&&!s.index)&&t.push({path:c,score:em(c,s.index),routesMeta:g})};return e.forEach((s,o)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))l(s,o);else for(let u of Gc(s.path))l(s,o,u)}),t}function Gc(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return l?[s,""]:[s];let o=Gc(r.join("/")),a=[];return a.push(...o.map(u=>u===""?s:[s,u].join("/"))),l&&a.push(...o),a.map(u=>e.startsWith("/")&&u===""?"/":u)}function Qp(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:tm(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Xp=/^:[\w-]+$/,Kp=3,qp=2,Yp=1,Zp=10,Jp=-2,Sa=e=>e==="*";function em(e,t){let n=e.split("/"),r=n.length;return n.some(Sa)&&(r+=Jp),t&&(r+=qp),n.filter(l=>!Sa(l)).reduce((l,s)=>l+(Xp.test(s)?Kp:s===""?Yp:Zp),r)}function tm(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={},s="/",o=[];for(let a=0;a{let{paramName:h,isOptional:w}=g;if(h==="*"){let j=a[p]||"";o=s.slice(0,s.length-j.length).replace(/(.)\/+$/,"$1")}const x=a[p];return w&&!x?c[h]=void 0:c[h]=(x||"").replace(/%2F/g,"/"),c},{}),pathname:s,pathnameBase:o,pattern:e}}function rm(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),$c(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,a,u)=>(r.push({paramName:a,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 lm(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return $c(!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 ao(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 sm(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?En(e):e;return{pathname:n?n.startsWith("/")?n:im(n,t):t,search:um(r),hash:cm(l)}}function im(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 vs(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 om(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Qc(e,t){let n=om(e);return t?n.map((r,l)=>l===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Xc(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=En(e):(l=pr({},e),Z(!l.pathname||!l.pathname.includes("?"),vs("?","pathname","search",l)),Z(!l.pathname||!l.pathname.includes("#"),vs("#","pathname","hash",l)),Z(!l.search||!l.search.includes("#"),vs("#","search","hash",l)));let s=e===""||l.pathname==="",o=s?"/":l.pathname,a;if(o==null)a=n;else{let p=t.length-1;if(!r&&o.startsWith("..")){let h=o.split("/");for(;h[0]==="..";)h.shift(),p-=1;l.pathname=h.join("/")}a=p>=0?t[p]:"/"}let u=sm(l,a),c=o&&o!=="/"&&o.endsWith("/"),g=(s||o===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(c||g)&&(u.pathname+="/"),u}const Ct=e=>e.join("/").replace(/\/\/+/g,"/"),am=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),um=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,cm=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 Kc=["post","put","patch","delete"];new Set(Kc);const fm=["get",...Kc];new Set(fm);/** * React Router v6.30.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 mr(){return mr=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),v.useCallback(function(c,g){if(g===void 0&&(g={}),!a.current)return;if(typeof c=="number"){r.go(c);return}let p=Xc(c,JSON.parse(o),s,g.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:Ct([t,p.pathname])),(g.replace?r.replace:r.push)(p,g.state,g)},[t,r,o,s,e])}function Zc(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=v.useContext(Ht),{matches:l}=v.useContext(Gt),{pathname:s}=Wl(),o=JSON.stringify(Qc(l,r.v7_relativeSplatPath));return v.useMemo(()=>Xc(e,JSON.parse(o),s,n==="path"),[e,o,s,n])}function vm(e,t){return xm(e,t)}function xm(e,t,n,r){wr()||Z(!1);let{navigator:l,static:s}=v.useContext(Ht),{matches:o}=v.useContext(Gt),a=o[o.length-1],u=a?a.params:{};a&&a.pathname;let c=a?a.pathnameBase:"/";a&&a.route;let g=Wl(),p;if(t){var h;let f=typeof t=="string"?En(t):t;c==="/"||(h=f.pathname)!=null&&h.startsWith(c)||Z(!1),p=f}else p=g;let w=p.pathname||"/",x=w;if(c!=="/"){let f=c.replace(/^\//,"").split("/");x="/"+w.replace(/^\//,"").split("/").slice(f.length).join("/")}let j=!s&&n&&n.matches&&n.matches.length>0?n.matches:Hp(e,{pathname:x}),E=km(j&&j.map(f=>Object.assign({},f,{params:Object.assign({},u,f.params),pathname:Ct([c,l.encodeLocation?l.encodeLocation(f.pathname).pathname:f.pathname]),pathnameBase:f.pathnameBase==="/"?c:Ct([c,l.encodeLocation?l.encodeLocation(f.pathnameBase).pathname:f.pathnameBase])})),o,n,r);return t&&E?v.createElement(Vl.Provider,{value:{location:mr({pathname:"/",search:"",hash:"",state:null,key:"default"},p),navigationType:ht.Pop}},E):E}function ym(){let e=Pm(),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 v.createElement(v.Fragment,null,v.createElement("h2",null,"Unexpected Application Error!"),v.createElement("h3",{style:{fontStyle:"italic"}},t),n?v.createElement("pre",{style:l},n):null,null)}const wm=v.createElement(ym,null);class jm extends v.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?v.createElement(Gt.Provider,{value:this.props.routeContext},v.createElement(qc.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Nm(e){let{routeContext:t,match:n,children:r}=e,l=v.useContext(uo);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),v.createElement(Gt.Provider,{value:t},r)}function km(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,a=(l=n)==null?void 0:l.errors;if(a!=null){let g=o.findIndex(p=>p.route.id&&(a==null?void 0:a[p.route.id])!==void 0);g>=0||Z(!1),o=o.slice(0,Math.min(o.length,g+1))}let u=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let g=0;g=0?o=o.slice(0,c+1):o=[o[0]];break}}}return o.reduceRight((g,p,h)=>{let w,x=!1,j=null,E=null;n&&(w=a&&p.route.id?a[p.route.id]:void 0,j=p.route.errorElement||wm,u&&(c<0&&h===0?(x=!0,E=null):c===h&&(x=!0,E=p.route.hydrateFallbackElement||null)));let f=t.concat(o.slice(0,h+1)),d=()=>{let m;return w?m=j:x?m=E:p.route.Component?m=v.createElement(p.route.Component,null):p.route.element?m=p.route.element:m=g,v.createElement(Nm,{match:p,routeContext:{outlet:g,matches:f,isDataRoute:n!=null},children:m})};return n&&(p.route.ErrorBoundary||p.route.errorElement||h===0)?v.createElement(jm,{location:n.location,revalidation:n.revalidation,component:j,error:w,children:d(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):d()},null)}var Jc=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Jc||{}),Sl=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}(Sl||{});function Sm(e){let t=v.useContext(uo);return t||Z(!1),t}function Cm(e){let t=v.useContext(pm);return t||Z(!1),t}function Em(e){let t=v.useContext(Gt);return t||Z(!1),t}function ed(e){let t=Em(),n=t.matches[t.matches.length-1];return n.route.id||Z(!1),n.route.id}function Pm(){var e;let t=v.useContext(qc),n=Cm(Sl.UseRouteError),r=ed(Sl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Mm(){let{router:e}=Sm(Jc.UseNavigateStable),t=ed(Sl.UseNavigateStable),n=v.useRef(!1);return Yc(()=>{n.current=!0}),v.useCallback(function(l,s){s===void 0&&(s={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,mr({fromRouteId:t},s)))},[e,t])}function _m(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Ge(e){Z(!1)}function Tm(e){let{basename:t="/",children:n=null,location:r,navigationType:l=ht.Pop,navigator:s,static:o=!1,future:a}=e;wr()&&Z(!1);let u=t.replace(/^\/*/,"/"),c=v.useMemo(()=>({basename:u,navigator:s,static:o,future:mr({v7_relativeSplatPath:!1},a)}),[u,a,s,o]);typeof r=="string"&&(r=En(r));let{pathname:g="/",search:p="",hash:h="",state:w=null,key:x="default"}=r,j=v.useMemo(()=>{let E=ao(g,u);return E==null?null:{location:{pathname:E,search:p,hash:h,state:w,key:x},navigationType:l}},[u,g,p,h,w,x,l]);return j==null?null:v.createElement(Ht.Provider,{value:c},v.createElement(Vl.Provider,{children:n,value:j}))}function zm(e){let{children:t,location:n}=e;return vm(di(t),n)}new Promise(()=>{});function di(e,t){t===void 0&&(t=[]);let n=[];return v.Children.forEach(e,(r,l)=>{if(!v.isValidElement(r))return;let s=[...t,l];if(r.type===v.Fragment){n.push.apply(n,di(r.props.children,s));return}r.type!==Ge&&Z(!1),!r.props.index||!r.props.children||Z(!1);let o={id:r.props.id||s.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=di(r.props.children,s)),n.push(o)}),n}/** * React Router DOM v6.30.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 fi(){return fi=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[l]=e[l]);return n}function Fm(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Om(e,t){return e.button===0&&(!t||t==="_self")&&!Fm(e)}const Rm=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Im="6";try{window.__reactRouterVersion=Im}catch{}const bm="startTransition",Ea=_d[bm];function Dm(e){let{basename:t,children:n,future:r,window:l}=e,s=v.useRef();s.current==null&&(s.current=Wp({window:l,v5Compat:!0}));let o=s.current,[a,u]=v.useState({action:o.action,location:o.location}),{v7_startTransition:c}=r||{},g=v.useCallback(p=>{c&&Ea?Ea(()=>u(p)):u(p)},[u,c]);return v.useLayoutEffect(()=>o.listen(g),[o,g]),v.useEffect(()=>_m(r),[r]),v.createElement(Tm,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}const Am=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Um=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ie=v.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:s,replace:o,state:a,target:u,to:c,preventScrollReset:g,viewTransition:p}=t,h=Lm(t,Rm),{basename:w}=v.useContext(Ht),x,j=!1;if(typeof c=="string"&&Um.test(c)&&(x=c,Am))try{let m=new URL(window.location.href),y=c.startsWith("//")?new URL(m.protocol+c):new URL(c),k=ao(y.pathname,w);y.origin===m.origin&&k!=null?c=k+y.search+y.hash:j=!0}catch{}let E=mm(c,{relative:l}),f=Vm(c,{replace:o,state:a,target:u,preventScrollReset:g,relative:l,viewTransition:p});function d(m){r&&r(m),m.defaultPrevented||f(m)}return v.createElement("a",fi({},h,{href:x||E,onClick:j||s?r:d,ref:n,target:u}))});var Pa;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Pa||(Pa={}));var Ma;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ma||(Ma={}));function Vm(e,t){let{target:n,replace:r,state:l,preventScrollReset:s,relative:o,viewTransition:a}=t===void 0?{}:t,u=hm(),c=Wl(),g=Zc(e,{relative:o});return v.useCallback(p=>{if(Om(p,n)){p.preventDefault();let h=r!==void 0?r:kl(c)===kl(g);u(e,{replace:h,state:l,preventScrollReset:s,relative:o,viewTransition:a})}},[c,u,g,r,l,n,e,s,o,a])}/** * @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 Wm={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 Bm=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),L=(e,t)=>{const n=v.forwardRef(({color:r="currentColor",size:l=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:a="",children:u,...c},g)=>v.createElement("svg",{ref:g,...Wm,width:l,height:l,stroke:r,strokeWidth:o?Number(s)*24/Number(l):s,className:["lucide",`lucide-${Bm(e)}`,a].join(" "),...c},[...t.map(([p,h])=>v.createElement(p,h)),...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 td=L("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 $m=L("Archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);/** * @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 Hm=L("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 de=L("CheckCircle",[["path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14",key:"g774vq"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/** * @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 Gm=L("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** * @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 pi=L("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** * @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 Qm=L("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 Xm=L("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** * @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 Km=L("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 qm=L("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);/** * @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 Ym=L("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/** * @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 Zm=L("FileAudio",[["path",{d:"M17.5 22h.5a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3",key:"rslqgf"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M2 19a2 2 0 1 1 4 0v1a2 2 0 1 1-4 0v-4a6 6 0 0 1 12 0v4a2 2 0 1 1-4 0v-1a2 2 0 1 1 4 0",key:"9f7x3i"}]]);/** * @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 Jm=L("FileCode",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m10 13-2 2 2 2",key:"17smn8"}],["path",{d:"m14 17 2-2-2-2",key:"14mezr"}]]);/** * @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 eh=L("FileImage",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"10",cy:"12",r:"2",key:"737tya"}],["path",{d:"m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22",key:"wt3hpn"}]]);/** * @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 Bl=L("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/** * @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 th=L("FileType",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M9 13v-1h6v1",key:"1bb014"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"M11 18h2",key:"12mj7e"}]]);/** * @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 nd=L("FileVideo",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m10 11 5 3-5 3v-6Z",key:"7ntvm4"}]]);/** * @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 Nn=L("File",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]]);/** * @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 rd=L("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/** * @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 nh=L("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 rh=L("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/** * @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 ld=L("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/** * @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 lh=L("MapPin",[["path",{d:"M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z",key:"2oe9fu"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/** * @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 sh=L("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 sd=L("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/** * @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 ih=L("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 oh=L("Music",[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]]);/** * @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 ah=L("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/** * @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 uh=L("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/** * @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 ch=L("Rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]]);/** * @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 dh=L("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/** * @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 fh=L("Server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]);/** * @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 ph=L("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** * @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 co=L("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/** * @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 mh=L("Smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);/** * @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 hh=L("Star",[["polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2",key:"8f66p6"}]]);/** * @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 gh=L("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 id=L("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);/** * @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 vh=L("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/** * @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 _a=L("XCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/** * @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 od=L("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 ad=L("Zap",[["polygon",{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2",key:"45s27k"}]]),pe=({children:e,variant:t="primary",size:n="md",fullWidth:r=!1,isLoading:l=!1,disabled:s=!1,onClick:o,type:a="button"})=>{const u="font-medium rounded-lg transition-all duration-200 flex items-center justify-center",c={primary:"bg-blue-500 text-white hover:bg-blue-600 active:bg-blue-700",secondary:"bg-teal-500 text-white hover:bg-teal-600 active:bg-teal-700",outline:"bg-transparent border border-blue-500 text-blue-500 hover:bg-blue-50",ghost:"bg-transparent text-blue-500 hover:bg-blue-50"},g={sm:"text-sm px-3 py-1.5",md:"px-4 py-2",lg:"text-lg px-6 py-3"},p=r?"w-full":"",h=s||l?"opacity-60 cursor-not-allowed":"cursor-pointer";return i.jsx("button",{type:a,className:`${u} ${c[t]} ${g[n]} ${p} ${h}`,onClick:o,disabled:s||l,children:l?i.jsxs(i.Fragment,{children:[i.jsxs("svg",{className:"animate-spin -ml-1 mr-2 h-4 w-4 text-current",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[i.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),i.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Processing..."]}):e})},$l=({isOpen:e,onClose:t,title:n,children:r,persistent:l=!1})=>{const s=v.useRef(null);return v.useEffect(()=>{const o=u=>{!l&&u.key==="Escape"&&t()},a=u=>{!l&&s.current&&!s.current.contains(u.target)&&t()};return e&&(document.addEventListener("keydown",o),document.addEventListener("mousedown",a),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",o),document.removeEventListener("mousedown",a),document.body.style.overflow="auto"}},[e,t,l]),e?i.jsx("div",{className:"fixed inset-0 z-50 overflow-y-auto bg-black bg-opacity-50 flex items-center justify-center p-4",children:i.jsxs("div",{ref:s,className:"bg-white rounded-xl shadow-xl w-full max-w-md mx-auto transform transition-all opacity-100 scale-100",children:[i.jsxs("div",{className:"flex items-center justify-between px-6 py-4 border-b border-gray-100",children:[i.jsx("h3",{className:"text-lg font-medium",children:n}),i.jsx("button",{onClick:t,className:"text-red-500 hover:text-red-700 transition-colors p-1 rounded-full hover:bg-red-50",children:i.jsx(od,{size:24})})]}),i.jsx("div",{className:"px-6 py-4",children:r})]})}):null},gt=({id:e,label:t,placeholder:n,type:r="text",error:l,value:s,onChange:o,required:a=!1,className:u=""})=>i.jsxs("div",{className:`mb-4 ${u}`,children:[t&&i.jsxs("label",{htmlFor:e,className:"block text-sm font-medium text-gray-700 mb-1",children:[t," ",a&&i.jsx("span",{className:"text-red-500",children:"*"})]}),i.jsx("input",{id:e,type:r,placeholder:n,value:s,onChange:o,required:a,className:`w-full px-4 py-2 rounded-lg border ${l?"border-red-500 focus:ring-red-500":"border-gray-300 focus:ring-blue-500"} focus:border-transparent focus:outline-none focus:ring-2`}),l&&i.jsx("p",{className:"mt-1 text-sm text-red-500",children:l})]}),jr=({isOpen:e,onClose:t,onRegisterClick:n})=>{const[r,l]=v.useState(""),[s,o]=v.useState(""),[a,u]=v.useState(""),[c,g]=v.useState(!1),p=h=>{h.preventDefault(),g(!0),u(""),setTimeout(()=>{g(!1),u("Invalid email or password. Please try again.")},1500)};return i.jsx($l,{isOpen:e,onClose:t,title:"Log in to your account",persistent:!0,children:i.jsxs("form",{onSubmit:p,className:"bg-gradient-to-br from-blue-50 to-teal-50 p-6 rounded-lg",children:[a&&i.jsx("div",{className:"mb-4 p-3 bg-red-50 text-red-700 rounded-lg text-sm",children:a}),i.jsx(gt,{id:"email",label:"Email",type:"email",value:r,onChange:h=>l(h.target.value),required:!0}),i.jsx(gt,{id:"password",label:"Password",type:"password",value:s,onChange:h=>o(h.target.value),required:!0}),i.jsxs("div",{className:"flex justify-between items-center mb-6 text-sm",children:[i.jsxs("div",{className:"flex items-center",children:[i.jsx("input",{id:"remember",type:"checkbox",className:"h-4 w-4 text-blue-500 border-gray-300 rounded focus:ring-blue-500"}),i.jsx("label",{htmlFor:"remember",className:"ml-2 text-gray-700",children:"Remember me"})]}),i.jsx("a",{href:"#",className:"text-blue-500 hover:text-blue-700 transition-colors",children:"Forgot password?"})]}),i.jsx(pe,{type:"submit",fullWidth:!0,isLoading:c,disabled:c,children:"Log in"}),i.jsxs("div",{className:"mt-4 text-center text-sm text-gray-600",children:["Don't have an account?"," ",i.jsx("button",{type:"button",className:"text-blue-500 hover:text-blue-700 transition-colors",onClick:n,children:"Sign up"})]})]})})},ud=({isOpen:e,onClose:t,onLoginClick:n})=>{const[r,l]=v.useState(""),[s,o]=v.useState(""),[a,u]=v.useState(""),[c,g]=v.useState(""),[p,h]=v.useState({}),[w,x]=v.useState(!1),j=f=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(f),E=f=>{if(f.preventDefault(),h({}),!j(s)){h(d=>({...d,email:"Please enter a valid email address"}));return}x(!0),setTimeout(()=>{x(!1),h({inviteCode:"Invalid invite code. Registration requires a valid invitation."})},1500)};return i.jsx($l,{isOpen:e,onClose:t,title:"Create an account",persistent:!0,children:i.jsxs("form",{onSubmit:E,className:"bg-gradient-to-br from-blue-50 to-teal-50 p-6 rounded-lg",children:[p.general&&i.jsx("div",{className:"mb-4 p-3 bg-red-50 text-red-700 rounded-lg text-sm",children:p.general}),i.jsx(gt,{id:"name",label:"Full Name",value:r,onChange:f=>l(f.target.value),required:!0}),i.jsx(gt,{id:"email",label:"Email",type:"email",value:s,onChange:f=>o(f.target.value),error:p.email,required:!0}),i.jsx(gt,{id:"password",label:"Password",type:"password",value:a,onChange:f=>u(f.target.value),required:!0}),i.jsx(gt,{id:"inviteCode",label:"Invite Code",value:c,onChange:f=>g(f.target.value),error:p.inviteCode,required:!0}),i.jsxs("div",{className:"mb-6 text-sm text-gray-600",children:["By creating an account, you agree to our"," ",i.jsx(Ie,{to:"/terms",className:"text-blue-500 hover:text-blue-700 transition-colors",children:"Terms of Service"})," ","and"," ",i.jsx(Ie,{to:"/privacy",className:"text-blue-500 hover:text-blue-700 transition-colors",children:"Privacy Policy"}),"."]}),i.jsx(pe,{type:"submit",fullWidth:!0,isLoading:w,disabled:w,children:"Create Account"}),i.jsxs("div",{className:"mt-4 text-center text-sm text-gray-600",children:["Already have an account?"," ",i.jsx("button",{type:"button",className:"text-blue-500 hover:text-blue-700 transition-colors",onClick:n,children:"Log in"})]})]})})},xh=()=>{const[e,t]=v.useState(!1),[n,r]=v.useState(!1),[l,s]=v.useState(!1),[o,a]=v.useState(!1);return v.useEffect(()=>{const u=()=>{r(window.scrollY>10)};return window.addEventListener("scroll",u),()=>window.removeEventListener("scroll",u)},[]),i.jsxs(i.Fragment,{children:[i.jsxs("header",{className:`fixed w-full z-30 transition-all duration-300 ${n?"bg-white shadow-md py-2":"bg-transparent py-4"}`,children:[i.jsx("div",{className:"container mx-auto px-4",children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{className:"flex items-center",children:[i.jsx(Nn,{className:"h-8 w-8 text-blue-500 mr-2"}),i.jsx("span",{className:"text-xl font-bold bg-gradient-to-r from-blue-500 to-teal-400 bg-clip-text text-transparent",children:"ConvertMaster"})]}),i.jsxs("nav",{className:"hidden md:flex items-center space-x-8",children:[i.jsx("a",{href:"#features",className:"text-gray-700 hover:text-blue-500 transition-colors",children:"Features"}),i.jsx("a",{href:"#formats",className:"text-gray-700 hover:text-blue-500 transition-colors",children:"Supported Formats"}),i.jsx("a",{href:"#pricing",className:"text-gray-700 hover:text-blue-500 transition-colors",children:"Pricing"}),i.jsxs("div",{className:"flex space-x-2",children:[i.jsx(pe,{variant:"outline",size:"sm",onClick:()=>s(!0),children:"Log in"}),i.jsx(pe,{variant:"primary",size:"sm",onClick:()=>a(!0),children:"Sign up"})]})]}),i.jsx("button",{className:"md:hidden text-gray-700 hover:text-blue-500 transition-colors",onClick:()=>t(!e),children:e?i.jsx(od,{size:24}):i.jsx(sh,{size:24})})]})}),e&&i.jsx("div",{className:"md:hidden bg-white",children:i.jsxs("div",{className:"container mx-auto px-4 py-4 flex flex-col space-y-4",children:[i.jsx("a",{href:"#features",className:"text-gray-700 hover:text-blue-500 transition-colors py-2",onClick:()=>t(!1),children:"Features"}),i.jsx("a",{href:"#formats",className:"text-gray-700 hover:text-blue-500 transition-colors py-2",onClick:()=>t(!1),children:"Supported Formats"}),i.jsx("a",{href:"#pricing",className:"text-gray-700 hover:text-blue-500 transition-colors py-2",onClick:()=>t(!1),children:"Pricing"}),i.jsxs("div",{className:"flex flex-col space-y-2 pt-2",children:[i.jsx(pe,{onClick:()=>{t(!1),s(!0)},children:"Log in"}),i.jsx(pe,{variant:"secondary",onClick:()=>{t(!1),a(!0)},children:"Sign up"})]})]})})]}),i.jsx(jr,{isOpen:l,onClose:()=>s(!1),onRegisterClick:()=>{s(!1),a(!0)}}),i.jsx(ud,{isOpen:o,onClose:()=>a(!1),onLoginClick:()=>{a(!1),s(!0)}})]})},yh=()=>i.jsx("footer",{className:"bg-gray-900 text-white pt-12 pb-8",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8",children:[i.jsxs("div",{children:[i.jsxs("div",{className:"flex items-center mb-4",children:[i.jsx(Nn,{className:"h-6 w-6 text-blue-400 mr-2"}),i.jsx("span",{className:"text-xl font-bold bg-gradient-to-r from-blue-400 to-teal-300 bg-clip-text text-transparent",children:"ConvertMaster"})]}),i.jsx("p",{className:"text-gray-400 mb-4",children:"The ultimate tool for converting your files to any format you need. Fast, secure, and easy to use."}),i.jsxs("div",{className:"flex space-x-4",children:[i.jsx("a",{href:"#",className:"text-gray-400 hover:text-white transition-colors",children:i.jsx(gh,{size:20})}),i.jsx("a",{href:"#",className:"text-gray-400 hover:text-white transition-colors",children:i.jsx(Ym,{size:20})}),i.jsx("a",{href:"#",className:"text-gray-400 hover:text-white transition-colors",children:i.jsx(rh,{size:20})}),i.jsx("a",{href:"#",className:"text-gray-400 hover:text-white transition-colors",children:i.jsx(ld,{size:20})})]})]}),i.jsxs("div",{children:[i.jsx("h3",{className:"text-lg font-medium mb-4",children:"Quick Links"}),i.jsxs("ul",{className:"space-y-2",children:[i.jsx("li",{children:i.jsx(Ie,{to:"/",className:"text-gray-400 hover:text-white transition-colors",children:"Home"})}),i.jsx("li",{children:i.jsx(Ie,{to:"/features",className:"text-gray-400 hover:text-white transition-colors",children:"Features"})}),i.jsx("li",{children:i.jsx(Ie,{to:"/formats",className:"text-gray-400 hover:text-white transition-colors",children:"Supported Formats"})}),i.jsx("li",{children:i.jsx(Ie,{to:"/pricing",className:"text-gray-400 hover:text-white transition-colors",children:"Pricing"})})]})]}),i.jsxs("div",{children:[i.jsx("h3",{className:"text-lg font-medium mb-4",children:"Support"}),i.jsxs("ul",{className:"space-y-2",children:[i.jsx("li",{children:i.jsx(Ie,{to:"/help",className:"text-gray-400 hover:text-white transition-colors",children:"Help Center"})}),i.jsx("li",{children:i.jsx(Ie,{to:"/faq",className:"text-gray-400 hover:text-white transition-colors",children:"FAQs"})}),i.jsx("li",{children:i.jsx(Ie,{to:"/contact",className:"text-gray-400 hover:text-white transition-colors",children:"Contact Us"})}),i.jsx("li",{children:i.jsx(Ie,{to:"/privacy",className:"text-gray-400 hover:text-white transition-colors",children:"Privacy Policy"})}),i.jsx("li",{children:i.jsx(Ie,{to:"/terms",className:"text-gray-400 hover:text-white transition-colors",children:"Terms of Service"})})]})]}),i.jsxs("div",{children:[i.jsx("h3",{className:"text-lg font-medium mb-4",children:"Newsletter"}),i.jsx("p",{className:"text-gray-400 mb-4",children:"Subscribe to our newsletter for updates and tips."}),i.jsxs("form",{className:"flex",children:[i.jsx("input",{type:"email",placeholder:"Your email",className:"px-4 py-2 rounded-l-lg w-full focus:outline-none text-gray-800"}),i.jsx("button",{type:"submit",className:"bg-blue-500 text-white px-4 py-2 rounded-r-lg hover:bg-blue-600 transition-colors",children:"Subscribe"})]})]})]}),i.jsx("div",{className:"border-t border-gray-800 mt-8 pt-8 text-center text-gray-400",children:i.jsxs("p",{children:["© ",new Date().getFullYear()," ConvertMaster. All rights reserved."]})})]})}),wh=({onClose:e})=>{const[t,n]=v.useState(!1),[r,l]=v.useState(null),[s,o]=v.useState(""),[a,u]=v.useState(!1),[c,g]=v.useState(!1),[p,h]=v.useState(0),[w,x]=v.useState(0),[j,E]=v.useState(""),[f,d]=v.useState(""),[m,y]=v.useState(!1),[k,P]=v.useState(!1),[M,_]=v.useState(""),[$,O]=v.useState(!1),ve=v.useRef(null),Be=v.useRef(null),$e=v.useRef(null),Qt={video:["MP4","AVI","MOV","MKV","WEBM"],image:["JPG","PNG","WEBP","GIF","SVG"],document:["PDF","DOCX","PPTX","XLSX","TXT"],audio:["MP3","WAV","FLAC","OGG","M4A"]},Nr={video:["MP4","AVI","MOV","MKV","WEBM","GIF"],image:["JPG","PNG","WEBP","GIF","TIFF","BMP"],document:["PDF","DOCX","TXT","EPUB","HTML","RTF"],audio:["MP3","WAV","FLAC","OGG","AAC","M4A"]},Pn=T=>{var D;const J=((D=T.name.split(".").pop())==null?void 0:D.toUpperCase())||"";return Object.values(Qt).flat().includes(J)},Mn=T=>{var D;const J=((D=T.name.split(".").pop())==null?void 0:D.toUpperCase())||"";for(const[Ye,kr]of Object.entries(Qt))if(kr.includes(J))return Ye;return"unknown"},S=T=>{T.preventDefault(),T.stopPropagation(),T.type==="dragenter"||T.type==="dragover"?n(!0):T.type==="dragleave"&&n(!1)},z=T=>{T.preventDefault(),T.stopPropagation(),n(!1),T.dataTransfer.files&&T.dataTransfer.files[0]&&W(T.dataTransfer.files[0])},F=T=>{T.preventDefault(),T.target.files&&T.target.files[0]&&W(T.target.files[0])},W=T=>{var Ye;if(_(""),!Pn(T)){_("Unsupported file format. Please select a file with a supported format."),l(null),o(""),E(""),d("");return}l(T),o(T.name);const J=Mn(T),D=((Ye=T.name.split(".").pop())==null?void 0:Ye.toUpperCase())||"";if(J!=="unknown"){E(D);const kr=Nr[J].filter(dd=>dd!==D);kr.length>0&&d(kr[0])}else E(""),d("")},q=()=>{if(!r||!j||!f){_("Please select a file and conversion formats.");return}_(""),u(!0);let T=0;Be.current=setInterval(()=>{T+=Math.random()*5,T>=100&&(T=100,clearInterval(Be.current),h(100),setTimeout(()=>{g(!0),Xt()},500)),h(Math.min(T,100))},100)},Xt=()=>{const T=Math.floor(Math.random()*60)+1;let J=0;$e.current=setInterval(()=>{J+=100/T*.1,J>=100&&(J=100,clearInterval($e.current),setTimeout(()=>{g(!1),O(!0)},500)),x(Math.min(J,100))},100)};return v.useEffect(()=>()=>{Be.current&&clearInterval(Be.current),$e.current&&clearInterval($e.current)},[]),i.jsxs(i.Fragment,{children:[i.jsx($l,{isOpen:!0,onClose:e,title:"Convert Your File",children:!a&&!c?i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:`border-2 border-dashed rounded-lg p-6 mb-4 text-center transition-colors ${t?"border-blue-500 bg-blue-50":r?"border-green-500 bg-green-50":"border-gray-300 hover:border-gray-400"}`,onDragEnter:S,onDragOver:S,onDragLeave:S,onDrop:z,onClick:()=>{var T;return(T=ve.current)==null?void 0:T.click()},children:[i.jsx("input",{type:"file",className:"hidden",ref:ve,onChange:F}),r?i.jsxs("div",{className:"flex flex-col items-center",children:[i.jsx(de,{className:"h-12 w-12 text-green-500 mb-3"}),i.jsxs("p",{className:"font-medium mb-1",children:["File selected: ",s]}),i.jsx("p",{className:"text-sm text-gray-500",children:"Click to change file"})]}):i.jsxs("div",{className:"flex flex-col items-center",children:[i.jsx(id,{className:"h-12 w-12 text-gray-400 mb-3"}),i.jsx("p",{className:"font-medium mb-1",children:"Drag & drop your file here"}),i.jsx("p",{className:"text-sm text-gray-500",children:"or click to browse"})]})]}),r&&i.jsxs("div",{className:"space-y-3 mb-4",children:[i.jsxs("div",{children:[i.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Input Format"}),i.jsxs("div",{className:"relative",children:[i.jsxs("button",{type:"button",className:"w-full flex items-center justify-between bg-white border border-gray-300 rounded-md px-4 py-2 text-left text-sm focus:outline-none focus:ring-2 focus:ring-blue-500",onClick:()=>y(!m),children:[j||"Select input format",i.jsx(pi,{className:"h-4 w-4 text-gray-500"})]}),m&&i.jsx("div",{className:"absolute z-10 mt-1 w-full rounded-md bg-white shadow-lg max-h-48 overflow-auto",children:i.jsx("div",{className:"py-1",children:Object.entries(Qt).flatMap(([T,J])=>J.map(D=>i.jsx("button",{className:`block w-full text-left px-4 py-2 text-sm hover:bg-gray-100 ${j===D?"bg-blue-50 text-blue-700":"text-gray-700"}`,onClick:()=>{E(D),y(!1)},children:D},D)))})})]})]}),i.jsxs("div",{children:[i.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Output Format"}),i.jsxs("div",{className:"relative",children:[i.jsxs("button",{type:"button",className:"w-full flex items-center justify-between bg-white border border-gray-300 rounded-md px-4 py-2 text-left text-sm focus:outline-none focus:ring-2 focus:ring-blue-500",onClick:()=>P(!k),children:[f||"Select output format",i.jsx(pi,{className:"h-4 w-4 text-gray-500"})]}),k&&i.jsx("div",{className:"absolute z-10 mt-1 w-full rounded-md bg-white shadow-lg max-h-48 overflow-auto",children:i.jsx("div",{className:"py-1",children:Object.entries(Nr).flatMap(([T,J])=>J.filter(D=>D!==j).map(D=>i.jsx("button",{className:`block w-full text-left px-4 py-2 text-sm hover:bg-gray-100 ${f===D?"bg-blue-50 text-blue-700":"text-gray-700"}`,onClick:()=>{d(D),P(!1)},children:D},D)))})})]})]})]}),M&&i.jsxs("div",{className:"mb-4 p-3 bg-red-50 text-red-700 rounded-lg text-sm flex items-center",children:[i.jsx(td,{className:"h-5 w-5 mr-2 flex-shrink-0"}),M]}),i.jsxs("div",{className:"flex justify-end space-x-3",children:[i.jsx(pe,{variant:"outline",onClick:e,children:"Cancel"}),i.jsx(pe,{disabled:!r||!j||!f,onClick:q,children:"Convert Now"})]})]}):i.jsxs("div",{className:"py-4",children:[a&&!c&&i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"flex items-center mb-2",children:[i.jsx(Nn,{className:"h-5 w-5 text-blue-500 mr-2"}),i.jsxs("span",{className:"font-medium",children:["Uploading ",s]})]}),i.jsx("div",{className:"w-full bg-gray-200 rounded-full h-2.5 mb-4",children:i.jsx("div",{className:"bg-blue-500 h-2.5 rounded-full transition-all duration-300",style:{width:`${p}%`}})}),i.jsxs("p",{className:"text-sm text-gray-500 text-center",children:["Uploading file... ",Math.round(p),"%"]})]}),c&&i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"flex items-center mb-2",children:[i.jsx(Nn,{className:"h-5 w-5 text-teal-500 mr-2"}),i.jsxs("span",{className:"font-medium",children:["Converting ",s," from ",j," to ",f]})]}),i.jsx("div",{className:"w-full bg-gray-200 rounded-full h-2.5 mb-4",children:i.jsx("div",{className:"bg-teal-500 h-2.5 rounded-full transition-all duration-300",style:{width:`${w}%`}})}),i.jsxs("p",{className:"text-sm text-gray-500 text-center",children:["Converting file... ",Math.round(w),"%"]}),i.jsx("p",{className:"text-xs text-gray-400 text-center mt-2",children:"This may take several minutes depending on the file size and format."})]})]})}),$&&i.jsx(ud,{isOpen:!0,onClose:()=>{O(!1),e()},onLoginClick:()=>{O(!1),e()}})]})},jh=()=>{const[e,t]=v.useState(!1),[n,r]=v.useState(!1);return i.jsxs("div",{className:"relative min-h-screen flex items-center pt-16 pb-16",children:[i.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-blue-50 to-teal-50 -z-10"}),i.jsxs("div",{className:"absolute inset-0 overflow-hidden -z-10",children:[i.jsx("div",{className:"absolute -top-40 -right-40 w-80 h-80 bg-blue-400 rounded-full opacity-10 blur-3xl"}),i.jsx("div",{className:"absolute top-40 -left-20 w-60 h-60 bg-teal-400 rounded-full opacity-10 blur-3xl"}),i.jsx("div",{className:"absolute bottom-40 right-20 w-40 h-40 bg-indigo-400 rounded-full opacity-10 blur-3xl"})]}),i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsxs("div",{className:"max-w-4xl mx-auto text-center mb-12",children:[i.jsx("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold mb-6 bg-gradient-to-r from-blue-600 to-teal-500 bg-clip-text text-transparent",children:"Convert Any File Format with Ease"}),i.jsx("p",{className:"text-xl text-gray-600 mb-8",children:"Fast, secure, and high-quality file conversion for all your needs. Support for videos, images, documents, and more - all in one place."}),i.jsxs("div",{className:"flex flex-col sm:flex-row justify-center gap-4",children:[i.jsxs(pe,{size:"lg",onClick:()=>t(!0),children:[i.jsx(id,{className:"mr-2 h-5 w-5"}),"Convert Files Now"]}),i.jsxs(pe,{variant:"outline",size:"lg",onClick:()=>r(!0),children:[i.jsx(th,{className:"mr-2 h-5 w-5"}),"View Supported Formats"]})]})]}),i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 max-w-4xl mx-auto",children:[i.jsxs("div",{className:"bg-white rounded-xl p-6 shadow-md hover:shadow-lg transition-shadow",children:[i.jsx("div",{className:"w-12 h-12 bg-blue-100 text-blue-600 rounded-full flex items-center justify-center mb-4",children:i.jsx(Nn,{size:24})}),i.jsx("h3",{className:"text-lg font-semibold mb-2",children:"Any File Format"}),i.jsx("p",{className:"text-gray-600",children:"Convert between hundreds of different file formats with perfect quality."})]}),i.jsxs("div",{className:"bg-white rounded-xl p-6 shadow-md hover:shadow-lg transition-shadow",children:[i.jsx("div",{className:"w-12 h-12 bg-green-100 text-green-600 rounded-full flex items-center justify-center mb-4",children:i.jsx(de,{size:24})}),i.jsx("h3",{className:"text-lg font-semibold mb-2",children:"High Quality"}),i.jsx("p",{className:"text-gray-600",children:"Industry-leading conversion algorithms to maintain quality and accuracy."})]}),i.jsxs("div",{className:"bg-white rounded-xl p-6 shadow-md hover:shadow-lg transition-shadow",children:[i.jsx("div",{className:"w-12 h-12 bg-orange-100 text-orange-600 rounded-full flex items-center justify-center mb-4",children:i.jsx(td,{size:24})}),i.jsx("h3",{className:"text-lg font-semibold mb-2",children:"100% Secure"}),i.jsx("p",{className:"text-gray-600",children:"Your files are encrypted and automatically deleted after conversion."})]})]})]}),e&&i.jsx(wh,{onClose:()=>t(!1)}),i.jsx(jr,{isOpen:n,onClose:()=>r(!1),onRegisterClick:()=>r(!1)})]})},Nh=()=>{const[e,t]=v.useState(!1);return i.jsxs("section",{id:"features",className:"py-16 bg-white",children:[i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h2",{className:"text-3xl font-bold mb-4",children:"Why Choose ConvertMaster?"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"We offer the most advanced file conversion platform with features that set us apart from the competition."})]}),i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-10",children:[i.jsxs("div",{className:"p-6 bg-gray-50 rounded-xl transition-all duration-300 hover:shadow-md hover:transform hover:-translate-y-1",children:[i.jsx("div",{className:"w-12 h-12 bg-blue-100 text-blue-600 rounded-full flex items-center justify-center mb-4",children:i.jsx(ad,{size:24})}),i.jsx("h3",{className:"text-xl font-semibold mb-2",children:"Lightning Fast"}),i.jsx("p",{className:"text-gray-600",children:"Our optimized conversion engine processes your files at incredible speeds, saving you valuable time."})]}),i.jsxs("div",{className:"p-6 bg-gray-50 rounded-xl transition-all duration-300 hover:shadow-md hover:transform hover:-translate-y-1",children:[i.jsx("div",{className:"w-12 h-12 bg-green-100 text-green-600 rounded-full flex items-center justify-center mb-4",children:i.jsx(co,{size:24})}),i.jsx("h3",{className:"text-xl font-semibold mb-2",children:"Privacy First"}),i.jsx("p",{className:"text-gray-600",children:"Your files are encrypted during transit and automatically deleted after conversion to ensure privacy."})]}),i.jsxs("div",{className:"p-6 bg-gray-50 rounded-xl transition-all duration-300 hover:shadow-md hover:transform hover:-translate-y-1",children:[i.jsx("div",{className:"w-12 h-12 bg-purple-100 text-purple-600 rounded-full flex items-center justify-center mb-4",children:i.jsx(mh,{size:24})}),i.jsx("h3",{className:"text-xl font-semibold mb-2",children:"Mobile Friendly"}),i.jsx("p",{className:"text-gray-600",children:"Convert your files on any device with our fully responsive and user-friendly interface."})]}),i.jsxs("div",{className:"p-6 bg-gray-50 rounded-xl transition-all duration-300 hover:shadow-md hover:transform hover:-translate-y-1",children:[i.jsx("div",{className:"w-12 h-12 bg-yellow-100 text-yellow-600 rounded-full flex items-center justify-center mb-4",children:i.jsx(uh,{size:24})}),i.jsx("h3",{className:"text-xl font-semibold mb-2",children:"Batch Processing"}),i.jsx("p",{className:"text-gray-600",children:"Convert multiple files at once with our powerful batch processing feature for maximum efficiency."})]}),i.jsxs("div",{className:"p-6 bg-gray-50 rounded-xl transition-all duration-300 hover:shadow-md hover:transform hover:-translate-y-1",children:[i.jsx("div",{className:"w-12 h-12 bg-red-100 text-red-600 rounded-full flex items-center justify-center mb-4",children:i.jsx(fh,{size:24})}),i.jsx("h3",{className:"text-xl font-semibold mb-2",children:"Cloud Processing"}),i.jsx("p",{className:"text-gray-600",children:"All conversions happen in our cloud servers, without using your device's resources or battery."})]}),i.jsxs("div",{className:"p-6 bg-gray-50 rounded-xl transition-all duration-300 hover:shadow-md hover:transform hover:-translate-y-1",children:[i.jsx("div",{className:"w-12 h-12 bg-indigo-100 text-indigo-600 rounded-full flex items-center justify-center mb-4",children:i.jsx(rd,{size:24})}),i.jsx("h3",{className:"text-xl font-semibold mb-2",children:"Global Access"}),i.jsx("p",{className:"text-gray-600",children:"Access your converted files from anywhere with our cloud storage and sharing options."})]})]}),i.jsxs("div",{className:"mt-20 text-center",children:[i.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-8",children:"Ready to Get Started?"}),i.jsx("button",{onClick:()=>t(!0),className:"bg-blue-600 text-white px-8 py-3 rounded-lg font-semibold hover:bg-blue-700 transition-colors duration-300",children:"Sign Up Free"})]})]}),i.jsx(jr,{isOpen:e,onClose:()=>t(!1),onRegisterClick:()=>t(!1)})]})},kh=()=>{const[e,t]=v.useState("video"),n=[{id:"video",label:"Video",icon:i.jsx(nd,{size:20})},{id:"image",label:"Image",icon:i.jsx(eh,{size:20})},{id:"document",label:"Document",icon:i.jsx(Bl,{size:20})},{id:"audio",label:"Audio",icon:i.jsx(Zm,{size:20})},{id:"other",label:"Other",icon:i.jsx(Jm,{size:20})}],r={video:[{from:"MP4",to:["AVI","MOV","MKV","WMV","WEBM","FLV"]},{from:"AVI",to:["MP4","MOV","MKV","WMV","WEBM"]},{from:"MOV",to:["MP4","AVI","MKV","WMV","WEBM"]},{from:"MKV",to:["MP4","AVI","MOV","WMV","WEBM"]},{from:"WEBM",to:["MP4","AVI","MOV","MKV","WMV"]}],image:[{from:"JPG",to:["PNG","WEBP","GIF","TIFF","BMP","SVG"]},{from:"PNG",to:["JPG","WEBP","GIF","TIFF","BMP"]},{from:"WEBP",to:["JPG","PNG","GIF","TIFF","BMP"]},{from:"GIF",to:["JPG","PNG","WEBP","MP4"]},{from:"SVG",to:["PNG","JPG","WEBP"]}],document:[{from:"PDF",to:["DOCX","DOC","TXT","EPUB","HTML","RTF"]},{from:"DOCX",to:["PDF","DOC","TXT","RTF","HTML"]},{from:"PPTX",to:["PDF","PPT","JPG","PNG"]},{from:"XLSX",to:["PDF","XLS","CSV","TXT","HTML"]},{from:"EPUB",to:["PDF","MOBI","TXT","HTML"]}],audio:[{from:"MP3",to:["WAV","OGG","FLAC","AAC","M4A"]},{from:"WAV",to:["MP3","OGG","FLAC","AAC","M4A"]},{from:"FLAC",to:["MP3","WAV","OGG","AAC","M4A"]},{from:"OGG",to:["MP3","WAV","FLAC","AAC"]},{from:"M4A",to:["MP3","WAV","FLAC","OGG"]}],other:[{from:"ZIP",to:["RAR","7Z","TAR","GZ"]},{from:"JSON",to:["XML","CSV","YAML","TXT"]},{from:"HTML",to:["PDF","TXT","DOCX","PNG","JPG"]},{from:"SRT",to:["VTT","TXT","CSV"]},{from:"STL",to:["OBJ","FBX","GLTF","USDZ"]}]};return i.jsx("section",{id:"formats",className:"py-16 bg-gradient-to-br from-gray-50 to-gray-100",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h2",{className:"text-3xl font-bold mb-4",children:"Supported File Formats"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Convert between hundreds of file formats with just a few clicks. Here are some of the most popular conversion options."})]}),i.jsxs("div",{className:"max-w-5xl mx-auto",children:[i.jsx("div",{className:"flex flex-wrap justify-center mb-8",children:n.map(l=>i.jsxs("button",{onClick:()=>t(l.id),className:`flex items-center px-6 py-3 m-2 rounded-lg transition-all ${e===l.id?"bg-blue-500 text-white shadow-md":"bg-white text-gray-700 hover:bg-gray-100"}`,children:[i.jsx("span",{className:"mr-2",children:l.icon}),l.label]},l.id))}),i.jsx("div",{className:"bg-white rounded-xl shadow-md overflow-hidden",children:i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 divide-y md:divide-y-0 md:divide-x divide-gray-200",children:r[e].map((l,s)=>i.jsxs("div",{className:"p-6",children:[i.jsxs("div",{className:"flex items-center mb-4",children:[i.jsx(Nn,{className:"mr-2 text-blue-500",size:24}),i.jsx("h3",{className:"text-lg font-semibold",children:l.from})]}),i.jsxs("div",{children:[i.jsx("p",{className:"text-sm text-gray-500 mb-2",children:"Convert to:"}),i.jsx("div",{className:"flex flex-wrap gap-2",children:l.to.map(o=>i.jsx("span",{className:"bg-gray-100 text-gray-800 text-xs font-medium px-2.5 py-1 rounded",children:o},o))})]})]},s))})}),i.jsx("div",{className:"text-center mt-8 text-gray-600",children:i.jsxs("p",{children:["Can't find the format you need? ",i.jsx("a",{href:"#",className:"text-blue-500 hover:underline",children:"View our full list of supported formats"})]})})]})]})})},cd=({isOpen:e,onClose:t})=>{const[n,r]=v.useState(""),[l,s]=v.useState(""),[o,a]=v.useState(!1),[u,c]=v.useState(null),[g,p]=v.useState(!1),h=x=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(x),w=x=>{if(x.preventDefault(),c(null),!n.trim()){c("Please enter your name");return}if(!h(l)){c("Please enter a valid email address");return}a(!0),setTimeout(()=>{a(!1),p(!0)},1500)};return i.jsx($l,{isOpen:e,onClose:t,title:"Contact Sales Team",persistent:!0,children:g?i.jsxs("div",{className:"text-center py-8 bg-gradient-to-br from-blue-50 to-teal-50 rounded-lg",children:[i.jsx("div",{className:"animate-bounce mb-6",children:i.jsx(ih,{className:"w-12 h-12 text-blue-500 mx-auto"})}),i.jsx("h3",{className:"text-lg font-semibold mb-2",children:"Connecting to Sales Team"}),i.jsx("p",{className:"text-gray-600",children:"Please wait while we connect you with our sales representative..."}),i.jsx("div",{className:"mt-6",children:i.jsxs("div",{className:"flex items-center justify-center space-x-2",children:[i.jsx("div",{className:"w-2 h-2 bg-blue-500 rounded-full animate-pulse",style:{animationDelay:"0s"}}),i.jsx("div",{className:"w-2 h-2 bg-blue-500 rounded-full animate-pulse",style:{animationDelay:"0.2s"}}),i.jsx("div",{className:"w-2 h-2 bg-blue-500 rounded-full animate-pulse",style:{animationDelay:"0.4s"}})]})})]}):i.jsxs("form",{onSubmit:w,className:"bg-gradient-to-br from-blue-50 to-teal-50 p-6 rounded-lg",children:[u&&i.jsx("div",{className:"mb-4 p-3 bg-red-50 text-red-700 rounded-lg text-sm",children:u}),i.jsx(gt,{id:"name",label:"Full Name",value:n,onChange:x=>r(x.target.value),required:!0}),i.jsx(gt,{id:"email",label:"Work Email",type:"email",value:l,onChange:x=>s(x.target.value),required:!0}),i.jsx(pe,{type:"submit",fullWidth:!0,isLoading:o,disabled:o,children:"Start Chat"})]})})},Sh=()=>{const[e,t]=v.useState(!1),[n,r]=v.useState(!1),l=s=>{s==="Business"?t(!0):r(!0)};return i.jsxs("section",{id:"pricing",className:"py-16 bg-white",children:[i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h2",{className:"text-3xl font-bold mb-4",children:"Simple, Transparent Pricing"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Choose the plan that works for your needs. All plans include our core features."})]}),i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 max-w-5xl mx-auto",children:[i.jsxs("div",{className:"bg-white border border-gray-200 rounded-xl shadow-sm overflow-hidden transition-all hover:shadow-md",children:[i.jsxs("div",{className:"p-6 border-b border-gray-200",children:[i.jsx("h3",{className:"text-xl font-bold mb-2",children:"Free"}),i.jsxs("div",{className:"mb-4",children:[i.jsx("span",{className:"text-4xl font-bold",children:"$0"}),i.jsx("span",{className:"text-gray-500",children:"/month"})]}),i.jsx("p",{className:"text-gray-600",children:"Perfect for occasional use and basic conversions."})]}),i.jsxs("div",{className:"p-6",children:[i.jsxs("ul",{className:"space-y-4",children:[i.jsxs("li",{className:"flex items-start",children:[i.jsx(de,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{children:"5 conversions per day"})]}),i.jsxs("li",{className:"flex items-start",children:[i.jsx(de,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{children:"Files up to 100MB"})]}),i.jsxs("li",{className:"flex items-start",children:[i.jsx(de,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{children:"Basic conversion options"})]}),i.jsxs("li",{className:"flex items-start",children:[i.jsx(_a,{className:"h-5 w-5 text-gray-400 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{className:"text-gray-500",children:"No batch processing"})]}),i.jsxs("li",{className:"flex items-start",children:[i.jsx(_a,{className:"h-5 w-5 text-gray-400 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{className:"text-gray-500",children:"Standard quality"})]})]}),i.jsx(pe,{variant:"outline",fullWidth:!0,className:"mt-6",onClick:()=>l("Free"),children:"Sign Up Free"})]})]}),i.jsxs("div",{className:"bg-white border-2 border-blue-500 rounded-xl shadow-md overflow-hidden transform scale-105 z-10",children:[i.jsx("div",{className:"bg-blue-500 text-white text-center py-1 text-sm font-medium",children:"MOST POPULAR"}),i.jsxs("div",{className:"p-6 border-b border-gray-200",children:[i.jsx("h3",{className:"text-xl font-bold mb-2",children:"Pro"}),i.jsxs("div",{className:"mb-4",children:[i.jsx("span",{className:"text-4xl font-bold",children:"$9.99"}),i.jsx("span",{className:"text-gray-500",children:"/month"})]}),i.jsx("p",{className:"text-gray-600",children:"For professionals who need regular conversions."})]}),i.jsxs("div",{className:"p-6",children:[i.jsxs("ul",{className:"space-y-4",children:[i.jsxs("li",{className:"flex items-start",children:[i.jsx(de,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{children:"Unlimited conversions"})]}),i.jsxs("li",{className:"flex items-start",children:[i.jsx(de,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{children:"Files up to 2GB"})]}),i.jsxs("li",{className:"flex items-start",children:[i.jsx(de,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{children:"Advanced conversion options"})]}),i.jsxs("li",{className:"flex items-start",children:[i.jsx(de,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{children:"Batch processing (up to 10 files)"})]}),i.jsxs("li",{className:"flex items-start",children:[i.jsx(de,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{children:"High quality output"})]})]}),i.jsx(pe,{fullWidth:!0,className:"mt-6",onClick:()=>l("Pro"),children:"Get Started"})]})]}),i.jsxs("div",{className:"bg-white border border-gray-200 rounded-xl shadow-sm overflow-hidden transition-all hover:shadow-md",children:[i.jsxs("div",{className:"p-6 border-b border-gray-200",children:[i.jsx("h3",{className:"text-xl font-bold mb-2",children:"Business"}),i.jsxs("div",{className:"mb-4",children:[i.jsx("span",{className:"text-4xl font-bold",children:"$29.99"}),i.jsx("span",{className:"text-gray-500",children:"/month"})]}),i.jsx("p",{className:"text-gray-600",children:"For teams and businesses with high-volume needs."})]}),i.jsxs("div",{className:"p-6",children:[i.jsxs("ul",{className:"space-y-4",children:[i.jsxs("li",{className:"flex items-start",children:[i.jsx(de,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{children:"Unlimited conversions"})]}),i.jsxs("li",{className:"flex items-start",children:[i.jsx(de,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{children:"Files up to 10GB"})]}),i.jsxs("li",{className:"flex items-start",children:[i.jsx(de,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{children:"Premium conversion options"})]}),i.jsxs("li",{className:"flex items-start",children:[i.jsx(de,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{children:"Unlimited batch processing"})]}),i.jsxs("li",{className:"flex items-start",children:[i.jsx(de,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{children:"Premium quality with lossless option"})]})]}),i.jsx(pe,{variant:"secondary",fullWidth:!0,className:"mt-6",onClick:()=>l("Business"),children:"Contact Sales"})]})]})]}),i.jsxs("div",{className:"text-center mt-12 max-w-xl mx-auto",children:[i.jsx("h3",{className:"text-xl font-semibold mb-4",children:"Enterprise Solutions"}),i.jsx("p",{className:"text-gray-600 mb-6",children:"Need a custom solution for your organization? We offer tailored plans with dedicated support, API access, and more."}),i.jsx(pe,{variant:"outline",onClick:()=>t(!0),children:"Contact Our Sales Team"})]})]}),i.jsx(cd,{isOpen:e,onClose:()=>t(!1)}),i.jsx(jr,{isOpen:n,onClose:()=>r(!1),onRegisterClick:()=>r(!1)})]})},Ch=[{id:1,name:"Sarah Johnson",role:"Marketing Director",company:"CreativeCloud Inc.",avatar:"https://images.pexels.com/photos/415829/pexels-photo-415829.jpeg?auto=compress&cs=tinysrgb&w=150",quote:"ConvertMaster has been a game-changer for our team. We can quickly convert files for our clients without compromising on quality. The batch processing feature saves us hours every week!",rating:5},{id:2,name:"David Chen",role:"Video Editor",company:"FrameWorks Studios",avatar:"https://images.pexels.com/photos/2379004/pexels-photo-2379004.jpeg?auto=compress&cs=tinysrgb&w=150",quote:"I work with different video formats daily, and ConvertMaster handles everything I throw at it. The conversion quality is top-notch, and the speed is impressive even with large files.",rating:5},{id:3,name:"Emma Rodriguez",role:"Graphic Designer",company:"Artistry Design Co.",avatar:"https://images.pexels.com/photos/2169434/pexels-photo-2169434.jpeg?auto=compress&cs=tinysrgb&w=150",quote:"As a designer, I need reliable tools that don't compromise quality. ConvertMaster converts my design files perfectly every time. The intuitive interface makes it easy to use.",rating:4}],Eh=()=>i.jsx("section",{className:"py-16 bg-gray-50",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h2",{className:"text-3xl font-bold mb-4",children:"What Our Users Say"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Thousands of professionals and businesses trust ConvertMaster for their file conversion needs."})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 max-w-5xl mx-auto",children:Ch.map(e=>i.jsxs("div",{className:"bg-white rounded-xl shadow-md p-6 transition-all duration-300 hover:shadow-lg",children:[i.jsx("div",{className:"flex items-center mb-4",children:[...Array(5)].map((t,n)=>i.jsx(hh,{size:16,className:ni.jsxs("div",{className:"w-full",children:[i.jsx(jh,{}),i.jsx(Nh,{}),i.jsx(kh,{}),i.jsx(Sh,{}),i.jsx(Eh,{})]}),Mh=()=>{const e=[{icon:i.jsx(ad,{className:"w-8 h-8 text-blue-500"}),title:"Lightning Fast",description:"Process your files at incredible speeds with our optimized engine"},{icon:i.jsx(co,{className:"w-8 h-8 text-blue-500"}),title:"Secure Processing",description:"Enterprise-grade security for all your sensitive documents"},{icon:i.jsx(ch,{className:"w-8 h-8 text-blue-500"}),title:"Advanced Features",description:"Access powerful tools and customization options"},{icon:i.jsx(rd,{className:"w-8 h-8 text-blue-500"}),title:"Global Access",description:"Access your files from anywhere in the world"},{icon:i.jsx(Xm,{className:"w-8 h-8 text-blue-500"}),title:"24/7 Availability",description:"Our services are available round the clock"},{icon:i.jsx(Km,{className:"w-8 h-8 text-blue-500"}),title:"API Integration",description:"Seamlessly integrate with your existing workflow"}];return i.jsxs("div",{className:"container mx-auto px-4 py-16",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h1",{className:"text-4xl font-bold text-gray-900 mb-4",children:"Powerful Features for Your Needs"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",children:"Discover all the powerful features that make our platform the perfect choice for your document processing needs."})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:e.map((t,n)=>i.jsxs("div",{className:"bg-white rounded-xl shadow-lg p-8 hover:shadow-xl transition-shadow duration-300",children:[i.jsx("div",{className:"mb-4",children:t.icon}),i.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:t.title}),i.jsx("p",{className:"text-gray-600",children:t.description})]},n))}),i.jsxs("div",{className:"mt-20 text-center",children:[i.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-8",children:"Ready to Get Started?"}),i.jsx("button",{className:"bg-blue-600 text-white px-8 py-3 rounded-lg font-semibold hover:bg-blue-700 transition-colors duration-300",children:"Try it Free"})]})]})},_h=()=>{const e=[{icon:i.jsx(Bl,{className:"w-12 h-12 text-blue-500"}),title:"Documents",formats:["PDF","DOC","DOCX","TXT","RTF","ODT"],description:"Support for all major document formats"},{icon:i.jsx(nh,{className:"w-12 h-12 text-green-500"}),title:"Images",formats:["JPG","PNG","SVG","WebP","TIFF","GIF"],description:"Handle various image formats with ease"},{icon:i.jsx(nd,{className:"w-12 h-12 text-purple-500"}),title:"Videos",formats:["MP4","AVI","MOV","WMV","MKV","WebM"],description:"Process popular video formats"},{icon:i.jsx(oh,{className:"w-12 h-12 text-red-500"}),title:"Audio",formats:["MP3","WAV","AAC","FLAC","OGG","M4A"],description:"Support for common audio formats"},{icon:i.jsx(qm,{className:"w-12 h-12 text-yellow-500"}),title:"Data Files",formats:["CSV","XML","JSON","XLS","XLSX","SQL"],description:"Work with various data formats"},{icon:i.jsx($m,{className:"w-12 h-12 text-gray-500"}),title:"Archives",formats:["ZIP","RAR","7Z","TAR","GZ","ISO"],description:"Handle compressed file formats"}];return i.jsxs("div",{className:"container mx-auto px-4 py-16",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h1",{className:"text-4xl font-bold text-gray-900 mb-4",children:"Supported File Formats"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",children:"Our platform supports a wide range of file formats to meet all your processing needs."})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:e.map((t,n)=>i.jsxs("div",{className:"bg-white rounded-xl shadow-lg p-8 hover:shadow-xl transition-shadow duration-300",children:[i.jsx("div",{className:"flex justify-center mb-6",children:t.icon}),i.jsx("h3",{className:"text-2xl font-semibold text-gray-900 mb-4 text-center",children:t.title}),i.jsx("p",{className:"text-gray-600 mb-4 text-center",children:t.description}),i.jsx("div",{className:"flex flex-wrap justify-center gap-2",children:t.formats.map((r,l)=>i.jsx("span",{className:"bg-gray-100 text-gray-800 px-3 py-1 rounded-full text-sm font-medium",children:r},l))})]},n))})]})},Th=()=>{const[e,t]=v.useState(!1),[n,r]=v.useState(!1),l=[{name:"Basic",price:"Free",description:"Perfect for getting started",features:["Up to 100 files per month","Basic file formats","Standard processing speed","Email support","1GB storage"]},{name:"Pro",price:"$29",description:"For growing businesses",features:["Up to 1000 files per month","Advanced file formats","Priority processing","Priority support","10GB storage","API access"],popular:!0},{name:"Enterprise",price:"Custom",description:"For large organizations",features:["Unlimited files","All file formats","Maximum processing speed","24/7 dedicated support","Unlimited storage","Custom API integration","SLA guarantee"]}],s=o=>{o==="Enterprise"?t(!0):r(!0)};return i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"container mx-auto px-4 py-16",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h1",{className:"text-4xl font-bold text-gray-900 mb-4",children:"Simple, Transparent Pricing"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",children:"Choose the plan that best fits your needs. All plans include our core features."})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 max-w-7xl mx-auto",children:l.map((o,a)=>i.jsxs("div",{className:`relative bg-white rounded-2xl shadow-lg p-8 ${o.popular?"ring-2 ring-blue-500":""}`,children:[o.popular&&i.jsx("span",{className:"absolute top-0 right-8 -translate-y-1/2 bg-blue-500 text-white px-3 py-1 rounded-full text-sm font-medium",children:"Most Popular"}),i.jsxs("div",{className:"text-center mb-8",children:[i.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-2",children:o.name}),i.jsxs("div",{className:"flex items-baseline justify-center mb-2",children:[i.jsx("span",{className:"text-4xl font-bold text-gray-900",children:o.price}),o.price!=="Custom"&&i.jsx("span",{className:"text-gray-600 ml-2",children:"/month"})]}),i.jsx("p",{className:"text-gray-600",children:o.description})]}),i.jsx("ul",{className:"space-y-4 mb-8",children:o.features.map((u,c)=>i.jsxs("li",{className:"flex items-center",children:[i.jsx(Gm,{className:"w-5 h-5 text-green-500 mr-3"}),i.jsx("span",{className:"text-gray-700",children:u})]},c))}),i.jsx("button",{className:`w-full py-3 px-6 rounded-lg font-semibold transition-colors duration-300 ${o.popular?"bg-blue-600 text-white hover:bg-blue-700":"bg-gray-100 text-gray-900 hover:bg-gray-200"}`,onClick:()=>s(o.name),children:o.name==="Basic"?"Sign Up Free":o.name==="Enterprise"?"Contact Sales":"Get Started"})]},a))}),i.jsxs("div",{className:"mt-20 text-center bg-gray-50 rounded-xl p-8 max-w-3xl mx-auto",children:[i.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Need a Custom Solution?"}),i.jsx("p",{className:"text-gray-600 mb-6",children:"Contact our sales team for a customized plan that meets your specific requirements."}),i.jsx("button",{className:"bg-gray-900 text-white px-8 py-3 rounded-lg font-semibold hover:bg-gray-800 transition-colors duration-300",onClick:()=>t(!0),children:"Contact Sales"})]})]}),i.jsx(cd,{isOpen:e,onClose:()=>t(!1)}),i.jsx(jr,{isOpen:n,onClose:()=>r(!1),onRegisterClick:()=>r(!1)})]})},zh=()=>{const e=[{icon:i.jsx(Hm,{className:"w-8 h-8 text-blue-500"}),title:"Getting Started",description:"Learn the basics of our platform",articles:["Quick Start Guide","Platform Overview","Account Setup"]},{icon:i.jsx(Bl,{className:"w-8 h-8 text-green-500"}),title:"File Processing",description:"Everything about handling files",articles:["Supported Formats","Processing Options","Batch Processing"]},{icon:i.jsx(ph,{className:"w-8 h-8 text-purple-500"}),title:"Account Settings",description:"Manage your account and preferences",articles:["Profile Settings","Billing & Subscriptions","API Keys"]},{icon:i.jsx(vh,{className:"w-8 h-8 text-orange-500"}),title:"Team Management",description:"Collaborate with your team",articles:["Adding Team Members","Role Management","Team Permissions"]}];return i.jsxs("div",{className:"container mx-auto px-4 py-16",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h1",{className:"text-4xl font-bold text-gray-900 mb-4",children:"How can we help you?"}),i.jsxs("div",{className:"max-w-2xl mx-auto relative",children:[i.jsx(dh,{className:"absolute left-4 top-1/2 transform -translate-y-1/2 text-gray-400 w-5 h-5"}),i.jsx("input",{type:"text",placeholder:"Search for help articles...",className:"w-full pl-12 pr-4 py-3 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"})]})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 mb-16",children:e.map((t,n)=>i.jsxs("div",{className:"bg-white rounded-xl shadow-lg p-8 hover:shadow-xl transition-shadow duration-300",children:[i.jsxs("div",{className:"flex items-center mb-6",children:[t.icon,i.jsx("h3",{className:"text-xl font-semibold text-gray-900 ml-4",children:t.title})]}),i.jsx("p",{className:"text-gray-600 mb-6",children:t.description}),i.jsx("ul",{className:"space-y-3",children:t.articles.map((r,l)=>i.jsx("li",{children:i.jsxs("a",{href:"#",className:"text-blue-600 hover:text-blue-800 flex items-center",children:[i.jsx("span",{className:"mr-2",children:"→"}),r]})},l))})]},n))}),i.jsx("div",{className:"bg-blue-50 rounded-xl p-8 text-center",children:i.jsxs("div",{className:"max-w-2xl mx-auto",children:[i.jsx(sd,{className:"w-12 h-12 text-blue-500 mx-auto mb-4"}),i.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Still need help?"}),i.jsx("p",{className:"text-gray-600 mb-6",children:"Our support team is available 24/7 to assist you with any questions or issues you may have."}),i.jsx("button",{className:"bg-blue-600 text-white px-8 py-3 rounded-lg font-semibold hover:bg-blue-700 transition-colors duration-300",children:"Contact Support"})]})})]})},Lh=()=>{const[e,t]=Ua.useState(null),n=[{question:"What file formats do you support?",answer:"We support a wide range of file formats including PDF, DOC, DOCX, JPG, PNG, MP4, and many more. Check our Formats page for a complete list of supported file types."},{question:"How secure is my data?",answer:"We take security seriously. All files are encrypted during transfer and storage. We use enterprise-grade security measures and regularly undergo security audits to ensure your data is protected."},{question:"What are the pricing plans?",answer:"We offer flexible pricing plans starting from our free tier up to enterprise solutions. Visit our Pricing page to find the plan that best suits your needs."},{question:"How fast is the processing speed?",answer:"Processing speed depends on the file size and type, but most files are processed within seconds. Premium plans get priority processing for even faster results."},{question:"Do you offer API access?",answer:"Yes, we provide API access for Pro and Enterprise plans. This allows you to integrate our services directly into your workflow."},{question:"What kind of support do you offer?",answer:"We offer email support for all users. Pro plans get priority support, while Enterprise plans receive 24/7 dedicated support with guaranteed response times."},{question:"Can I try before I buy?",answer:"Yes! We offer a free tier that lets you test our core features. You can upgrade to a paid plan anytime to access more features and higher usage limits."},{question:"How do I get started?",answer:"Getting started is easy! Simply sign up for a free account, verify your email, and you can begin processing files immediately."}];return i.jsxs("div",{className:"container mx-auto px-4 py-16",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h1",{className:"text-4xl font-bold text-gray-900 mb-4",children:"Frequently Asked Questions"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",children:"Find answers to common questions about our services."})]}),i.jsx("div",{className:"max-w-3xl mx-auto",children:n.map((r,l)=>i.jsxs("div",{className:"mb-4",children:[i.jsxs("button",{className:"w-full flex items-center justify-between p-6 bg-white rounded-lg shadow-sm hover:shadow-md transition-shadow duration-200",onClick:()=>t(e===l?null:l),children:[i.jsx("span",{className:"text-lg font-semibold text-gray-900 text-left",children:r.question}),e===l?i.jsx(Qm,{className:"w-5 h-5 text-gray-500"}):i.jsx(pi,{className:"w-5 h-5 text-gray-500"})]}),e===l&&i.jsx("div",{className:"p-6 bg-gray-50 rounded-b-lg",children:i.jsx("p",{className:"text-gray-700",children:r.answer})})]},l))}),i.jsxs("div",{className:"mt-16 text-center",children:[i.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Still have questions?"}),i.jsx("p",{className:"text-gray-600 mb-8",children:"Can't find the answer you're looking for? Please chat to our friendly team."}),i.jsx("button",{className:"bg-blue-600 text-white px-8 py-3 rounded-lg font-semibold hover:bg-blue-700 transition-colors duration-300",children:"Get in Touch"})]})]})},Fh=()=>{const e=window.location.hostname;return e==="localhost"||e==="127.0.0.1"?"convertmaster.com":e},Oh=(e="support")=>{const t=Fh();return`${e}@${t}`},Rh=()=>{const e=[{icon:i.jsx(ld,{className:"w-6 h-6 text-blue-500"}),title:"Email",description:"Our friendly team is here to help.",contact:Oh()},{icon:i.jsx(ah,{className:"w-6 h-6 text-green-500"}),title:"Phone",description:"Mon-Fri from 8am to 5pm.",contact:"+1 (855) 123-4567"},{icon:i.jsx(lh,{className:"w-6 h-6 text-red-500"}),title:"Office",description:"Come say hello at our office.",contact:"100 Tech Street, Silicon Valley, CA 94025"}];return i.jsxs("div",{className:"container mx-auto px-4 py-16",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h1",{className:"text-4xl font-bold text-gray-900 mb-4",children:"Get in Touch"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",children:"We'd love to hear from you. Please fill out this form or use our contact information below."})]}),i.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-16 max-w-7xl mx-auto",children:[i.jsxs("div",{className:"bg-white rounded-xl shadow-lg p-8",children:[i.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-6",children:"Send us a Message"}),i.jsxs("form",{className:"space-y-6",children:[i.jsxs("div",{children:[i.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Your Name"}),i.jsx("input",{type:"text",className:"w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent",placeholder:"John Doe"})]}),i.jsxs("div",{children:[i.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Email Address"}),i.jsx("input",{type:"email",className:"w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent",placeholder:"john@example.com"})]}),i.jsxs("div",{children:[i.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Subject"}),i.jsx("input",{type:"text",className:"w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent",placeholder:"How can we help?"})]}),i.jsxs("div",{children:[i.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Message"}),i.jsx("textarea",{rows:4,className:"w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent",placeholder:"Your message..."})]}),i.jsx("button",{type:"submit",className:"w-full bg-blue-600 text-white px-6 py-3 rounded-lg font-semibold hover:bg-blue-700 transition-colors duration-300",children:"Send Message"})]})]}),i.jsxs("div",{children:[i.jsx("div",{className:"grid grid-cols-1 gap-8 mb-12",children:e.map((t,n)=>i.jsxs("div",{className:"flex items-start p-6 bg-white rounded-xl shadow-lg hover:shadow-xl transition-shadow duration-300",children:[i.jsx("div",{className:"flex-shrink-0",children:t.icon}),i.jsxs("div",{className:"ml-4",children:[i.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:t.title}),i.jsx("p",{className:"text-gray-600 mb-1",children:t.description}),i.jsx("p",{className:"text-blue-600 font-medium",children:t.contact})]})]},n))}),i.jsxs("div",{className:"bg-gray-50 rounded-xl p-8",children:[i.jsxs("div",{className:"flex items-center mb-6",children:[i.jsx(sd,{className:"w-6 h-6 text-blue-500 mr-3"}),i.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:"Live Chat"})]}),i.jsx("p",{className:"text-gray-600 mb-4",children:"Our live chat is available 24/7 for quick responses to your questions."}),i.jsx("button",{className:"w-full bg-gray-900 text-white px-6 py-3 rounded-lg font-semibold hover:bg-gray-800 transition-colors duration-300",children:"Start Chat"})]})]})]})]})},Ih=()=>{const e=[{title:"Information We Collect",content:`We collect information that you provide directly to us, including: • Account information (name, email, password) • Usage data and preferences • Payment information when you subscribe • Files and content you upload for processing`},{title:"How We Use Your Information",content:`We use the information we collect to: • Provide and maintain our services • Process your file conversions • Send you important updates and notifications • Improve our services and develop new features • Protect against fraud and abuse`},{title:"Data Security",content:`We implement appropriate technical and organizational measures to protect your data: • End-to-end encryption for file transfers • Secure data storage with regular backups • Regular security audits and updates • Access controls and authentication measures`},{title:"Data Sharing",content:`We do not sell your personal information. We may share your information only: • With your consent • With service providers who assist our operations • To comply with legal obligations • In connection with a business transfer or merger`},{title:"Your Rights",content:`You have the right to: • Access your personal information • Correct inaccurate data • Request deletion of your data • Object to processing of your data • Export your data in a portable format`},{title:"Cookie Policy",content:`We use cookies and similar technologies to: • Keep you logged in • Remember your preferences • Analyze site usage • Improve our services You can control cookie settings in your browser.`}];return i.jsxs("div",{className:"container mx-auto px-4 py-16",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx(co,{className:"w-16 h-16 text-blue-500 mx-auto mb-4"}),i.jsx("h1",{className:"text-4xl font-bold text-gray-900 mb-4",children:"Privacy Policy"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",children:"We take your privacy seriously. This policy explains how we collect, use, and protect your personal information."}),i.jsx("p",{className:"text-gray-500 mt-2",children:"Last updated: January 1, 2025"})]}),i.jsxs("div",{className:"max-w-4xl mx-auto",children:[e.map((t,n)=>i.jsxs("div",{className:"mb-12",children:[i.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:t.title}),i.jsx("div",{className:"bg-white rounded-xl shadow-lg p-6",children:i.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:t.content})})]},n)),i.jsxs("div",{className:"mt-16 bg-gray-50 rounded-xl p-8 text-center",children:[i.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Questions About Our Privacy Policy?"}),i.jsx("p",{className:"text-gray-600 mb-6",children:"If you have any questions about our privacy practices or would like to exercise your rights, please contact our privacy team."}),i.jsx("button",{className:"bg-blue-600 text-white px-8 py-3 rounded-lg font-semibold hover:bg-blue-700 transition-colors duration-300",children:"Contact Privacy Team"})]})]})]})},bh=()=>{const e=[{title:"Acceptance of Terms",content:"By accessing and using our services, you agree to be bound by these Terms of Service and all applicable laws and regulations. If you do not agree with any of these terms, you are prohibited from using or accessing our services."},{title:"Use License",content:"We grant you a limited, non-exclusive, non-transferable license to access and use our services for your personal or business purposes, subject to these terms and conditions. This license is subject to your continued compliance with these terms."},{title:"User Obligations",content:`You agree to: • Provide accurate account information • Maintain the security of your account • Use the services in compliance with all laws • Not engage in any unauthorized or harmful activities • Not infringe on others' intellectual property rights`},{title:"Service Availability",content:"We strive to maintain high availability of our services, but we do not guarantee uninterrupted access. We reserve the right to modify, suspend, or discontinue any part of our services at any time without notice."},{title:"Payment Terms",content:`For paid services: • Payments are due in advance • All fees are non-refundable unless required by law • We may change pricing with 30 days notice • You are responsible for all applicable taxes`},{title:"Intellectual Property",content:"All content, features, and functionality of our services are owned by us and protected by international copyright, trademark, and other intellectual property laws."},{title:"Limitation of Liability",content:"We shall not be liable for any indirect, incidental, special, consequential, or punitive damages resulting from your use or inability to use our services."},{title:"Termination",content:"We may terminate or suspend your account and access to our services immediately, without prior notice, for conduct that we believe violates these terms or is harmful to other users, us, or third parties."}];return i.jsxs("div",{className:"container mx-auto px-4 py-16",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx(Bl,{className:"w-16 h-16 text-blue-500 mx-auto mb-4"}),i.jsx("h1",{className:"text-4xl font-bold text-gray-900 mb-4",children:"Terms of Service"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",children:"Please read these terms carefully before using our services."}),i.jsx("p",{className:"text-gray-500 mt-2",children:"Last updated: January 1, 2025"})]}),i.jsxs("div",{className:"max-w-4xl mx-auto",children:[e.map((t,n)=>i.jsxs("div",{className:"mb-12",children:[i.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:t.title}),i.jsx("div",{className:"bg-white rounded-xl shadow-lg p-6",children:i.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:t.content})})]},n)),i.jsxs("div",{className:"mt-16 bg-gray-50 rounded-xl p-8 text-center",children:[i.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Questions About Our Terms?"}),i.jsx("p",{className:"text-gray-600 mb-6",children:"If you have any questions about our terms of service, please contact our legal team."}),i.jsx("button",{className:"bg-blue-600 text-white px-8 py-3 rounded-lg font-semibold hover:bg-blue-700 transition-colors duration-300",children:"Contact Legal Team"})]})]})]})};function Dh(){return i.jsx(Dm,{children:i.jsxs("div",{className:"min-h-screen bg-gray-50 flex flex-col",children:[i.jsx(xh,{}),i.jsx("main",{className:"flex-grow",children:i.jsxs(zm,{children:[i.jsx(Ge,{path:"/",element:i.jsx(Ph,{})}),i.jsx(Ge,{path:"/features",element:i.jsx(Mh,{})}),i.jsx(Ge,{path:"/formats",element:i.jsx(_h,{})}),i.jsx(Ge,{path:"/pricing",element:i.jsx(Th,{})}),i.jsx(Ge,{path:"/help",element:i.jsx(zh,{})}),i.jsx(Ge,{path:"/faq",element:i.jsx(Lh,{})}),i.jsx(Ge,{path:"/contact",element:i.jsx(Rh,{})}),i.jsx(Ge,{path:"/privacy",element:i.jsx(Ih,{})}),i.jsx(Ge,{path:"/terms",element:i.jsx(bh,{})})]})}),i.jsx(yh,{})]})})}Bc(document.getElementById("root")).render(i.jsx(v.StrictMode,{children:i.jsx(Dh,{})}));