(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();function ic(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Qu={exports:{}},tl={},Wu={exports:{}},M={};/** * @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 Gn=Symbol.for("react.element"),oc=Symbol.for("react.portal"),uc=Symbol.for("react.fragment"),sc=Symbol.for("react.strict_mode"),ac=Symbol.for("react.profiler"),cc=Symbol.for("react.provider"),dc=Symbol.for("react.context"),fc=Symbol.for("react.forward_ref"),pc=Symbol.for("react.suspense"),mc=Symbol.for("react.memo"),hc=Symbol.for("react.lazy"),Ro=Symbol.iterator;function vc(e){return e===null||typeof e!="object"?null:(e=Ro&&e[Ro]||e["@@iterator"],typeof e=="function"?e:null)}var Ku={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Yu=Object.assign,Zu={};function on(e,t,n){this.props=e,this.context=t,this.refs=Zu,this.updater=n||Ku}on.prototype.isReactComponent={};on.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")};on.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Gu(){}Gu.prototype=on.prototype;function Ai(e,t,n){this.props=e,this.context=t,this.refs=Zu,this.updater=n||Ku}var Fi=Ai.prototype=new Gu;Fi.constructor=Ai;Yu(Fi,on.prototype);Fi.isPureReactComponent=!0;var Io=Array.isArray,Xu=Object.prototype.hasOwnProperty,$i={current:null},Ju={key:!0,ref:!0,__self:!0,__source:!0};function qu(e,t,n){var r,l={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)Xu.call(t,r)&&!Ju.hasOwnProperty(r)&&(l[r]=t[r]);var u=arguments.length-2;if(u===1)l.children=n;else if(1>>1,J=E[K];if(0>>1;Kl(xl,P))ytl(tr,xl)?(E[K]=tr,E[yt]=P,K=yt):(E[K]=xl,E[gt]=P,K=gt);else if(ytl(tr,P))E[K]=tr,E[yt]=P,K=yt;else break e}}return z}function l(E,z){var P=E.sortIndex-z.sortIndex;return P!==0?P:E.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,u=o.now();e.unstable_now=function(){return o.now()-u}}var s=[],c=[],v=1,h=null,m=3,x=!1,k=!1,w=!1,L=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function f(E){for(var z=n(c);z!==null;){if(z.callback===null)r(c);else if(z.startTime<=E)r(c),z.sortIndex=z.expirationTime,t(s,z);else break;z=n(c)}}function g(E){if(w=!1,f(E),!k)if(n(s)!==null)k=!0,gl(N);else{var z=n(c);z!==null&&yl(g,z.startTime-E)}}function N(E,z){k=!1,w&&(w=!1,d(_),_=-1),x=!0;var P=m;try{for(f(z),h=n(s);h!==null&&(!(h.expirationTime>z)||E&&!ze());){var K=h.callback;if(typeof K=="function"){h.callback=null,m=h.priorityLevel;var J=K(h.expirationTime<=z);z=e.unstable_now(),typeof J=="function"?h.callback=J:h===n(s)&&r(s),f(z)}else r(s);h=n(s)}if(h!==null)var er=!0;else{var gt=n(c);gt!==null&&yl(g,gt.startTime-z),er=!1}return er}finally{h=null,m=P,x=!1}}var j=!1,C=null,_=-1,W=5,T=-1;function ze(){return!(e.unstable_now()-TE||125K?(E.sortIndex=P,t(c,E),n(s)===null&&E===n(c)&&(w?(d(_),_=-1):w=!0,yl(g,P-K))):(E.sortIndex=J,t(s,E),k||x||(k=!0,gl(N))),E},e.unstable_shouldYield=ze,e.unstable_wrapCallback=function(E){var z=m;return function(){var P=m;m=z;try{return E.apply(this,arguments)}finally{m=P}}}})(rs);ns.exports=rs;var zc=ns.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 Pc=Q,xe=zc;function y(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"),Kl=Object.prototype.hasOwnProperty,Mc=/^[: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]*$/,Oo={},Ao={};function Lc(e){return Kl.call(Ao,e)?!0:Kl.call(Oo,e)?!1:Mc.test(e)?Ao[e]=!0:(Oo[e]=!0,!1)}function Tc(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 Uc(e,t,n,r){if(t===null||typeof t>"u"||Tc(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 ce(e,t,n,r,l,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var ne={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ne[e]=new ce(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ne[t]=new ce(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ne[e]=new ce(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ne[e]=new ce(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){ne[e]=new ce(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ne[e]=new ce(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ne[e]=new ce(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ne[e]=new ce(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ne[e]=new ce(e,5,!1,e.toLowerCase(),null,!1,!1)});var Hi=/[\-:]([a-z])/g;function Bi(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(Hi,Bi);ne[t]=new ce(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(Hi,Bi);ne[t]=new ce(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(Hi,Bi);ne[t]=new ce(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ne[e]=new ce(e,1,!1,e.toLowerCase(),null,!1,!1)});ne.xlinkHref=new ce("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ne[e]=new ce(e,1,!1,e.toLowerCase(),null,!0,!0)});function Qi(e,t,n,r){var l=ne.hasOwnProperty(t)?ne[t]:null;(l!==null?l.type!==0:r||!(2u||l[o]!==i[u]){var s=` `+l[o].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=o&&0<=u);break}}}finally{Sl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?xn(e):""}function Rc(e){switch(e.tag){case 5:return xn(e.type);case 16:return xn("Lazy");case 13:return xn("Suspense");case 19:return xn("SuspenseList");case 0:case 2:case 15:return e=Nl(e.type,!1),e;case 11:return e=Nl(e.type.render,!1),e;case 1:return e=Nl(e.type,!0),e;default:return""}}function Xl(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 It:return"Fragment";case Rt:return"Portal";case Yl:return"Profiler";case Wi:return"StrictMode";case Zl:return"Suspense";case Gl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case os:return(e.displayName||"Context")+".Consumer";case is:return(e._context.displayName||"Context")+".Provider";case Ki:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Yi:return t=e.displayName||null,t!==null?t:Xl(e.type)||"Memo";case qe:t=e._payload,e=e._init;try{return Xl(e(t))}catch{}}return null}function Ic(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 Xl(t);case 8:return t===Wi?"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 ft(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ss(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Dc(e){var t=ss(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function lr(e){e._valueTracker||(e._valueTracker=Dc(e))}function as(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ss(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Lr(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 Jl(e,t){var n=t.checked;return H({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function $o(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ft(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 cs(e,t){t=t.checked,t!=null&&Qi(e,"checked",t,!1)}function ql(e,t){cs(e,t);var n=ft(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")?bl(e,t.type,n):t.hasOwnProperty("defaultValue")&&bl(e,t.type,ft(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Vo(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 bl(e,t,n){(t!=="number"||Lr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var wn=Array.isArray;function Kt(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=ir.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Un(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Nn={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},Oc=["Webkit","ms","Moz","O"];Object.keys(Nn).forEach(function(e){Oc.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Nn[t]=Nn[e]})});function ms(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Nn.hasOwnProperty(e)&&Nn[e]?(""+t).trim():t+"px"}function hs(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=ms(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Ac=H({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 ni(e,t){if(t){if(Ac[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(y(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(y(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(y(61))}if(t.style!=null&&typeof t.style!="object")throw Error(y(62))}}function ri(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 li=null;function Zi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ii=null,Yt=null,Zt=null;function Qo(e){if(e=qn(e)){if(typeof ii!="function")throw Error(y(280));var t=e.stateNode;t&&(t=ol(t),ii(e.stateNode,e.type,t))}}function vs(e){Yt?Zt?Zt.push(e):Zt=[e]:Yt=e}function gs(){if(Yt){var e=Yt,t=Zt;if(Zt=Yt=null,Qo(e),t)for(e=0;e>>=0,e===0?32:31-(Gc(e)/Xc|0)|0}var or=64,ur=4194304;function kn(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 Ir(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var u=o&~l;u!==0?r=kn(u):(i&=o,i!==0&&(r=kn(i)))}else o=n&~l,o!==0?r=kn(o):i!==0&&(r=kn(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Xn(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 ed(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=jn),bo=" ",eu=!1;function Os(e,t){switch(e){case"keyup":return zd.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function As(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Dt=!1;function Md(e,t){switch(e){case"compositionend":return As(t);case"keypress":return t.which!==32?null:(eu=!0,bo);case"textInput":return e=t.data,e===bo&&eu?null:e;default:return null}}function Ld(e,t){if(Dt)return e==="compositionend"||!no&&Os(e,t)?(e=Is(),Sr=bi=nt=null,Dt=!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=lu(n)}}function Hs(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Hs(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Bs(){for(var e=window,t=Lr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Lr(e.document)}return t}function ro(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 $d(e){var t=Bs(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Hs(n.ownerDocument.documentElement,n)){if(r!==null&&ro(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=iu(n,i);var o=iu(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Ot=null,di=null,_n=null,fi=!1;function ou(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;fi||Ot==null||Ot!==Lr(r)||(r=Ot,"selectionStart"in r&&ro(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}),_n&&Fn(_n,r)||(_n=r,r=Ar(di,"onSelect"),0$t||(e.current=yi[$t],yi[$t]=null,$t--)}function I(e,t){$t++,yi[$t]=e.current,e.current=t}var pt={},oe=ht(pt),pe=ht(!1),Ct=pt;function bt(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={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function me(e){return e=e.childContextTypes,e!=null}function $r(){O(pe),O(oe)}function pu(e,t,n){if(oe.current!==pt)throw Error(y(168));I(oe,t),I(pe,n)}function qs(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(y(108,Ic(e)||"Unknown",l));return H({},n,r)}function Vr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||pt,Ct=oe.current,I(oe,e),I(pe,pe.current),!0}function mu(e,t,n){var r=e.stateNode;if(!r)throw Error(y(169));n?(e=qs(e,t,Ct),r.__reactInternalMemoizedMergedChildContext=e,O(pe),O(oe),I(oe,e)):O(pe),I(pe,n)}var He=null,ul=!1,Ol=!1;function bs(e){He===null?He=[e]:He.push(e)}function qd(e){ul=!0,bs(e)}function vt(){if(!Ol&&He!==null){Ol=!0;var e=0,t=R;try{var n=He;for(R=1;e>=o,l-=o,Be=1<<32-Ue(t)+l|n<_?(W=C,C=null):W=C.sibling;var T=m(d,C,f[_],g);if(T===null){C===null&&(C=W);break}e&&C&&T.alternate===null&&t(d,C),a=i(T,a,_),j===null?N=T:j.sibling=T,j=T,C=W}if(_===f.length)return n(d,C),A&&xt(d,_),N;if(C===null){for(;__?(W=C,C=null):W=C.sibling;var ze=m(d,C,T.value,g);if(ze===null){C===null&&(C=W);break}e&&C&&ze.alternate===null&&t(d,C),a=i(ze,a,_),j===null?N=ze:j.sibling=ze,j=ze,C=W}if(T.done)return n(d,C),A&&xt(d,_),N;if(C===null){for(;!T.done;_++,T=f.next())T=h(d,T.value,g),T!==null&&(a=i(T,a,_),j===null?N=T:j.sibling=T,j=T);return A&&xt(d,_),N}for(C=r(d,C);!T.done;_++,T=f.next())T=x(C,d,_,T.value,g),T!==null&&(e&&T.alternate!==null&&C.delete(T.key===null?_:T.key),a=i(T,a,_),j===null?N=T:j.sibling=T,j=T);return e&&C.forEach(function(an){return t(d,an)}),A&&xt(d,_),N}function L(d,a,f,g){if(typeof f=="object"&&f!==null&&f.type===It&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case rr:e:{for(var N=f.key,j=a;j!==null;){if(j.key===N){if(N=f.type,N===It){if(j.tag===7){n(d,j.sibling),a=l(j,f.props.children),a.return=d,d=a;break e}}else if(j.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===qe&&gu(N)===j.type){n(d,j.sibling),a=l(j,f.props),a.ref=vn(d,j,f),a.return=d,d=a;break e}n(d,j);break}else t(d,j);j=j.sibling}f.type===It?(a=jt(f.props.children,d.mode,g,f.key),a.return=d,d=a):(g=Mr(f.type,f.key,f.props,null,d.mode,g),g.ref=vn(d,a,f),g.return=d,d=g)}return o(d);case Rt:e:{for(j=f.key;a!==null;){if(a.key===j)if(a.tag===4&&a.stateNode.containerInfo===f.containerInfo&&a.stateNode.implementation===f.implementation){n(d,a.sibling),a=l(a,f.children||[]),a.return=d,d=a;break e}else{n(d,a);break}else t(d,a);a=a.sibling}a=Wl(f,d.mode,g),a.return=d,d=a}return o(d);case qe:return j=f._init,L(d,a,j(f._payload),g)}if(wn(f))return k(d,a,f,g);if(dn(f))return w(d,a,f,g);mr(d,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,a!==null&&a.tag===6?(n(d,a.sibling),a=l(a,f),a.return=d,d=a):(n(d,a),a=Ql(f,d.mode,g),a.return=d,d=a),o(d)):n(d,a)}return L}var tn=ra(!0),la=ra(!1),Qr=ht(null),Wr=null,Bt=null,uo=null;function so(){uo=Bt=Wr=null}function ao(e){var t=Qr.current;O(Qr),e._currentValue=t}function ki(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 Xt(e,t){Wr=e,uo=Bt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(fe=!0),e.firstContext=null)}function Ce(e){var t=e._currentValue;if(uo!==e)if(e={context:e,memoizedValue:t,next:null},Bt===null){if(Wr===null)throw Error(y(308));Bt=e,Wr.dependencies={lanes:0,firstContext:e}}else Bt=Bt.next=e;return t}var St=null;function co(e){St===null?St=[e]:St.push(e)}function ia(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,co(t)):(n.next=l.next,l.next=n),t.interleaved=n,Ze(e,r)}function Ze(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 be=!1;function fo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function oa(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 We(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function st(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,U&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Ze(e,n)}return l=r.interleaved,l===null?(t.next=t,co(r)):(t.next=l.next,l.next=t),r.interleaved=t,Ze(e,n)}function Er(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,Xi(e,n)}}function yu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Kr(e,t,n,r){var l=e.updateQueue;be=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var s=u,c=s.next;s.next=null,o===null?i=c:o.next=c,o=s;var v=e.alternate;v!==null&&(v=v.updateQueue,u=v.lastBaseUpdate,u!==o&&(u===null?v.firstBaseUpdate=c:u.next=c,v.lastBaseUpdate=s))}if(i!==null){var h=l.baseState;o=0,v=c=s=null,u=i;do{var m=u.lane,x=u.eventTime;if((r&m)===m){v!==null&&(v=v.next={eventTime:x,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var k=e,w=u;switch(m=t,x=n,w.tag){case 1:if(k=w.payload,typeof k=="function"){h=k.call(x,h,m);break e}h=k;break e;case 3:k.flags=k.flags&-65537|128;case 0:if(k=w.payload,m=typeof k=="function"?k.call(x,h,m):k,m==null)break e;h=H({},h,m);break e;case 2:be=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,m=l.effects,m===null?l.effects=[u]:m.push(u))}else x={eventTime:x,lane:m,tag:u.tag,payload:u.payload,callback:u.callback,next:null},v===null?(c=v=x,s=h):v=v.next=x,o|=m;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;m=u,u=m.next,m.next=null,l.lastBaseUpdate=m,l.shared.pending=null}}while(!0);if(v===null&&(s=h),l.baseState=s,l.firstBaseUpdate=c,l.lastBaseUpdate=v,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);Pt|=o,e.lanes=o,e.memoizedState=h}}function xu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Fl.transition;Fl.transition={};try{e(!1),t()}finally{R=n,Fl.transition=r}}function Na(){return _e().memoizedState}function nf(e,t,n){var r=ct(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ea(e))ja(t,n);else if(n=ia(e,t,n,r),n!==null){var l=se();Re(n,e,r,l),Ca(n,t,r)}}function rf(e,t,n){var r=ct(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ea(e))ja(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,u=i(o,n);if(l.hasEagerState=!0,l.eagerState=u,Ie(u,o)){var s=t.interleaved;s===null?(l.next=l,co(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=ia(e,t,l,r),n!==null&&(l=se(),Re(n,e,r,l),Ca(n,t,r))}}function Ea(e){var t=e.alternate;return e===V||t!==null&&t===V}function ja(e,t){zn=Zr=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ca(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Xi(e,n)}}var Gr={readContext:Ce,useCallback:re,useContext:re,useEffect:re,useImperativeHandle:re,useInsertionEffect:re,useLayoutEffect:re,useMemo:re,useReducer:re,useRef:re,useState:re,useDebugValue:re,useDeferredValue:re,useTransition:re,useMutableSource:re,useSyncExternalStore:re,useId:re,unstable_isNewReconciler:!1},lf={readContext:Ce,useCallback:function(e,t){return Oe().memoizedState=[e,t===void 0?null:t],e},useContext:Ce,useEffect:ku,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Cr(4194308,4,ya.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Cr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Cr(4,2,e,t)},useMemo:function(e,t){var n=Oe();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Oe();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=nf.bind(null,V,e),[r.memoizedState,e]},useRef:function(e){var t=Oe();return e={current:e},t.memoizedState=e},useState:wu,useDebugValue:wo,useDeferredValue:function(e){return Oe().memoizedState=e},useTransition:function(){var e=wu(!1),t=e[0];return e=tf.bind(null,e[1]),Oe().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=V,l=Oe();if(A){if(n===void 0)throw Error(y(407));n=n()}else{if(n=t(),b===null)throw Error(y(349));zt&30||ca(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,ku(fa.bind(null,r,i,e),[e]),r.flags|=2048,Yn(9,da.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Oe(),t=b.identifierPrefix;if(A){var n=Qe,r=Be;n=(r&~(1<<32-Ue(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Wn++,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[Ae]=t,e[Hn]=r,Da(e,t,!1,!1),t.stateNode=e;e:{switch(o=ri(n,r),n){case"dialog":D("cancel",e),D("close",e),l=r;break;case"iframe":case"object":case"embed":D("load",e),l=r;break;case"video":case"audio":for(l=0;lln&&(t.flags|=128,r=!0,gn(i,!1),t.lanes=4194304)}else{if(!r)if(e=Yr(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),gn(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!A)return le(t),null}else 2*Y()-i.renderingStartTime>ln&&n!==1073741824&&(t.flags|=128,r=!0,gn(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Y(),t.sibling=null,n=$.current,I($,r?n&1|2:n&1),t):(le(t),null);case 22:case 23:return Co(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ve&1073741824&&(le(t),t.subtreeFlags&6&&(t.flags|=8192)):le(t),null;case 24:return null;case 25:return null}throw Error(y(156,t.tag))}function pf(e,t){switch(io(t),t.tag){case 1:return me(t.type)&&$r(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return nn(),O(pe),O(oe),ho(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return mo(t),null;case 13:if(O($),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(y(340));en()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return O($),null;case 4:return nn(),null;case 10:return ao(t.type._context),null;case 22:case 23:return Co(),null;case 24:return null;default:return null}}var vr=!1,ie=!1,mf=typeof WeakSet=="function"?WeakSet:Set,S=null;function Qt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){B(e,t,r)}else n.current=null}function Mi(e,t,n){try{n()}catch(r){B(e,t,r)}}var Tu=!1;function hf(e,t){if(pi=Dr,e=Bs(),ro(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,u=-1,s=-1,c=0,v=0,h=e,m=null;t:for(;;){for(var x;h!==n||l!==0&&h.nodeType!==3||(u=o+l),h!==i||r!==0&&h.nodeType!==3||(s=o+r),h.nodeType===3&&(o+=h.nodeValue.length),(x=h.firstChild)!==null;)m=h,h=x;for(;;){if(h===e)break t;if(m===n&&++c===l&&(u=o),m===i&&++v===r&&(s=o),(x=h.nextSibling)!==null)break;h=m,m=h.parentNode}h=x}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(mi={focusedElem:e,selectionRange:n},Dr=!1,S=t;S!==null;)if(t=S,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,S=e;else for(;S!==null;){t=S;try{var k=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(k!==null){var w=k.memoizedProps,L=k.memoizedState,d=t.stateNode,a=d.getSnapshotBeforeUpdate(t.elementType===t.type?w:Me(t.type,w),L);d.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var f=t.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(y(163))}}catch(g){B(t,t.return,g)}if(e=t.sibling,e!==null){e.return=t.return,S=e;break}S=t.return}return k=Tu,Tu=!1,k}function Pn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&Mi(t,n,i)}l=l.next}while(l!==r)}}function cl(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 Li(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 Fa(e){var t=e.alternate;t!==null&&(e.alternate=null,Fa(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ae],delete t[Hn],delete t[gi],delete t[Xd],delete t[Jd])),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 $a(e){return e.tag===5||e.tag===3||e.tag===4}function Uu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||$a(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 Ti(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=Fr));else if(r!==4&&(e=e.child,e!==null))for(Ti(e,t,n),e=e.sibling;e!==null;)Ti(e,t,n),e=e.sibling}function Ui(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(Ui(e,t,n),e=e.sibling;e!==null;)Ui(e,t,n),e=e.sibling}var ee=null,Le=!1;function Je(e,t,n){for(n=n.child;n!==null;)Va(e,t,n),n=n.sibling}function Va(e,t,n){if(Fe&&typeof Fe.onCommitFiberUnmount=="function")try{Fe.onCommitFiberUnmount(nl,n)}catch{}switch(n.tag){case 5:ie||Qt(n,t);case 6:var r=ee,l=Le;ee=null,Je(e,t,n),ee=r,Le=l,ee!==null&&(Le?(e=ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ee.removeChild(n.stateNode));break;case 18:ee!==null&&(Le?(e=ee,n=n.stateNode,e.nodeType===8?Dl(e.parentNode,n):e.nodeType===1&&Dl(e,n),On(e)):Dl(ee,n.stateNode));break;case 4:r=ee,l=Le,ee=n.stateNode.containerInfo,Le=!0,Je(e,t,n),ee=r,Le=l;break;case 0:case 11:case 14:case 15:if(!ie&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&Mi(n,t,o),l=l.next}while(l!==r)}Je(e,t,n);break;case 1:if(!ie&&(Qt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){B(n,t,u)}Je(e,t,n);break;case 21:Je(e,t,n);break;case 22:n.mode&1?(ie=(r=ie)||n.memoizedState!==null,Je(e,t,n),ie=r):Je(e,t,n);break;default:Je(e,t,n)}}function Ru(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new mf),t.forEach(function(r){var l=Ef.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Pe(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~i}if(r=l,r=Y()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*gf(r/1960))-r,10e?16:e,rt===null)var r=!1;else{if(e=rt,rt=null,qr=0,U&6)throw Error(y(331));var l=U;for(U|=4,S=e.current;S!==null;){var i=S,o=i.child;if(S.flags&16){var u=i.deletions;if(u!==null){for(var s=0;sY()-Eo?Et(e,0):No|=n),he(e,t)}function Ga(e,t){t===0&&(e.mode&1?(t=ur,ur<<=1,!(ur&130023424)&&(ur=4194304)):t=1);var n=se();e=Ze(e,t),e!==null&&(Xn(e,t,n),he(e,n))}function Nf(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ga(e,n)}function Ef(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(y(314))}r!==null&&r.delete(t),Ga(e,n)}var Xa;Xa=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||pe.current)fe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return fe=!1,df(e,t,n);fe=!!(e.flags&131072)}else fe=!1,A&&t.flags&1048576&&ea(t,Br,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;_r(e,t),e=t.pendingProps;var l=bt(t,oe.current);Xt(t,n),l=go(null,t,r,e,l,n);var i=yo();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,me(r)?(i=!0,Vr(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,fo(t),l.updater=al,t.stateNode=l,l._reactInternals=t,Ni(t,r,e,n),t=Ci(null,t,r,!0,i,n)):(t.tag=0,A&&i&&lo(t),ue(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(_r(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Cf(r),e=Me(r,e),l){case 0:t=ji(null,t,r,e,n);break e;case 1:t=Pu(null,t,r,e,n);break e;case 11:t=_u(null,t,r,e,n);break e;case 14:t=zu(null,t,r,Me(r.type,e),n);break e}throw Error(y(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Me(r,l),ji(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Me(r,l),Pu(e,t,r,l,n);case 3:e:{if(Ua(t),e===null)throw Error(y(387));r=t.pendingProps,i=t.memoizedState,l=i.element,oa(e,t),Kr(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=rn(Error(y(423)),t),t=Mu(e,t,r,n,l);break e}else if(r!==l){l=rn(Error(y(424)),t),t=Mu(e,t,r,n,l);break e}else for(ge=ut(t.stateNode.containerInfo.firstChild),ye=t,A=!0,Te=null,n=la(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(en(),r===l){t=Ge(e,t,n);break e}ue(e,t,r,n)}t=t.child}return t;case 5:return ua(t),e===null&&wi(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,hi(r,l)?o=null:i!==null&&hi(r,i)&&(t.flags|=32),Ta(e,t),ue(e,t,o,n),t.child;case 6:return e===null&&wi(t),null;case 13:return Ra(e,t,n);case 4:return po(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=tn(t,null,r,n):ue(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Me(r,l),_u(e,t,r,l,n);case 7:return ue(e,t,t.pendingProps,n),t.child;case 8:return ue(e,t,t.pendingProps.children,n),t.child;case 12:return ue(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,I(Qr,r._currentValue),r._currentValue=o,i!==null)if(Ie(i.value,o)){if(i.children===l.children&&!pe.current){t=Ge(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){o=i.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=We(-1,n&-n),s.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var v=c.pending;v===null?s.next=s:(s.next=v.next,v.next=s),c.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),ki(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(y(341));o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),ki(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}ue(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Xt(t,n),l=Ce(l),r=r(l),t.flags|=1,ue(e,t,r,n),t.child;case 14:return r=t.type,l=Me(r,t.pendingProps),l=Me(r.type,l),zu(e,t,r,l,n);case 15:return Ma(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Me(r,l),_r(e,t),t.tag=1,me(r)?(e=!0,Vr(t)):e=!1,Xt(t,n),_a(t,r,l),Ni(t,r,l,n),Ci(null,t,r,!0,e,n);case 19:return Ia(e,t,n);case 22:return La(e,t,n)}throw Error(y(156,t.tag))};function Ja(e,t){return Es(e,t)}function jf(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 Ee(e,t,n,r){return new jf(e,t,n,r)}function zo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Cf(e){if(typeof e=="function")return zo(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ki)return 11;if(e===Yi)return 14}return 2}function dt(e,t){var n=e.alternate;return n===null?(n=Ee(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 Mr(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")zo(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case It:return jt(n.children,l,i,t);case Wi:o=8,l|=8;break;case Yl:return e=Ee(12,n,t,l|2),e.elementType=Yl,e.lanes=i,e;case Zl:return e=Ee(13,n,t,l),e.elementType=Zl,e.lanes=i,e;case Gl:return e=Ee(19,n,t,l),e.elementType=Gl,e.lanes=i,e;case us:return fl(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case is:o=10;break e;case os:o=9;break e;case Ki:o=11;break e;case Yi:o=14;break e;case qe:o=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return t=Ee(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function jt(e,t,n,r){return e=Ee(7,e,r,t),e.lanes=n,e}function fl(e,t,n,r){return e=Ee(22,e,r,t),e.elementType=us,e.lanes=n,e.stateNode={isHidden:!1},e}function Ql(e,t,n){return e=Ee(6,e,null,t),e.lanes=n,e}function Wl(e,t,n){return t=Ee(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function _f(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=jl(0),this.expirationTimes=jl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=jl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Po(e,t,n,r,l,i,o,u,s){return e=new _f(e,t,n,u,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ee(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},fo(i),e}function zf(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(tc)}catch(e){console.error(e)}}tc(),ts.exports=we;var Uf=ts.exports,nc,Hu=Uf;nc=Hu.createRoot,Hu.hydrateRoot;/** * @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 Rf={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 If=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),F=(e,t)=>{const n=Q.forwardRef(({color:r="currentColor",size:l=24,strokeWidth:i=2,absoluteStrokeWidth:o,className:u="",children:s,...c},v)=>Q.createElement("svg",{ref:v,...Rf,width:l,height:l,stroke:r,strokeWidth:o?Number(i)*24/Number(l):i,className:["lucide",`lucide-${If(e)}`,u].join(" "),...c},[...t.map(([h,m])=>Q.createElement(h,m)),...Array.isArray(s)?s:[s]]));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 Df=F("AlertTriangle",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z",key:"c3ski4"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Of=F("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 Af=F("Bell",[["path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9",key:"1qo2s2"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}]]);/** * @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 Ff=F("BookOpen",[["path",{d:"M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z",key:"vv98re"}],["path",{d:"M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z",key:"1cyq3y"}]]);/** * @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 $f=F("Clapperboard",[["path",{d:"M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z",key:"1tn4o7"}],["path",{d:"m6.2 5.3 3.1 3.9",key:"iuk76l"}],["path",{d:"m12.4 3.4 3.1 4",key:"6hsd6n"}],["path",{d:"M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z",key:"ltgou9"}]]);/** * @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 Vf=F("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 Hf=F("Compass",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polygon",{points:"16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76",key:"m9r19z"}]]);/** * @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 Bf=F("Dices",[["rect",{width:"12",height:"12",x:"2",y:"10",rx:"2",ry:"2",key:"6agr2n"}],["path",{d:"m17.92 14 3.5-3.5a2.24 2.24 0 0 0 0-3l-5-4.92a2.24 2.24 0 0 0-3 0L10 6",key:"1o487t"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"M10 14h.01",key:"ssrbsk"}],["path",{d:"M15 6h.01",key:"cblpky"}],["path",{d:"M18 9h.01",key:"2061c0"}]]);/** * @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 Qf=F("Flame",[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]]);/** * @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 Wf=F("Gamepad2",[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]]);/** * @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 Kf=F("Home",[["path",{d:"m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"y5dka4"}],["polyline",{points:"9 22 9 12 15 12 15 22",key:"e2us08"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Yf=F("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);/** * @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 Zf=F("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 Gf=F("MousePointer2",[["path",{d:"m4 4 7.07 17 2.51-7.39L21 11.07z",key:"1vqm48"}]]);/** * @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 Xf=F("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 Jf=F("Newspaper",[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const qf=F("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 Bu=F("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 bf=F("ShieldAlert",[["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"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]);/** * @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 ep=F("Sparkles",[["path",{d:"m12 3-1.912 5.813a2 2 0 0 1-1.275 1.275L3 12l5.813 1.912a2 2 0 0 1 1.275 1.275L12 21l1.912-5.813a2 2 0 0 1 1.275-1.275L21 12l-5.813-1.912a2 2 0 0 1-1.275-1.275L12 3Z",key:"17u4zn"}],["path",{d:"M5 3v4",key:"bklmnn"}],["path",{d:"M19 17v4",key:"iiml17"}],["path",{d:"M3 5h4",key:"nem4j1"}],["path",{d:"M17 19h4",key:"lbex7p"}]]);/** * @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 tp=F("ThumbsUp",[["path",{d:"M7 10v12",key:"1qc93n"}],["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2h0a3.13 3.13 0 0 1 3 3.88Z",key:"y3tblf"}]]);/** * @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 np=F("Trophy",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]]);/** * @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 rp=F("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 lp=F("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]),ip=({onClick:e})=>p.jsxs("a",{href:"/",className:"flex items-center group",onClick:t=>{t.preventDefault(),e()},children:[p.jsx("div",{className:"flex items-center justify-center mr-2",children:p.jsxs("div",{className:"relative",children:[p.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-purple-600 to-blue-600 rounded-lg blur group-hover:blur-xl transition-all duration-300"}),p.jsx("div",{className:"relative bg-gradient-to-r from-purple-600 to-blue-600 text-white p-2 rounded-lg transform group-hover:scale-110 transition-all duration-300",children:p.jsx($f,{size:22})})]})}),p.jsx("div",{children:p.jsx("h1",{className:"text-xl font-bold bg-gradient-to-r from-purple-400 to-blue-400 bg-clip-text text-transparent",children:"Видеоландия"})})]}),op=({setShowModal:e})=>p.jsx("header",{className:"sticky top-0 z-10 bg-white/5 backdrop-blur-xl border-b border-white/10",children:p.jsxs("div",{className:"flex items-center justify-between px-4 py-2",children:[p.jsxs("div",{className:"flex items-center",children:[p.jsx("button",{className:"p-2 mr-2 rounded-xl hover:bg-white/10 transition-all hover:scale-110",onClick:t=>{t.preventDefault(),e(!0)},children:p.jsx(Zf,{size:22,className:"text-gray-200"})}),p.jsx(ip,{onClick:()=>e(!0)})]}),p.jsx("div",{className:"hidden md:flex items-center flex-1 max-w-xl mx-4",children:p.jsxs("div",{className:"relative w-full group",children:[p.jsx("input",{type:"text",placeholder:"Найти видео...",className:"w-full bg-white/5 border border-white/10 rounded-xl py-2 px-4 pl-10 outline-none focus:border-purple-500 transition-all group-hover:border-white/20 text-white placeholder-gray-400",onClick:t=>{t.preventDefault(),e(!0)}}),p.jsx(Bu,{size:18,className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"}),p.jsx("button",{className:"absolute right-2 top-1/2 transform -translate-y-1/2 bg-gradient-to-r from-purple-600 to-blue-600 text-white px-4 py-1 rounded-lg opacity-0 group-hover:opacity-100 transition-all duration-300 hover:shadow-lg hover:scale-105",onClick:t=>{t.preventDefault(),e(!0)},children:p.jsx(ep,{size:16})})]})}),p.jsxs("div",{className:"flex items-center space-x-2",children:[p.jsx("button",{className:"p-2 rounded-xl hover:bg-white/10 md:mr-2 transition-all hover:scale-110",onClick:t=>{t.preventDefault(),e(!0)},children:p.jsx(Bu,{size:22,className:"md:hidden text-gray-200"})}),p.jsx("button",{className:"p-2 rounded-xl hover:bg-white/10 transition-all hover:scale-110",onClick:t=>{t.preventDefault(),e(!0)},children:p.jsx(rp,{size:22,className:"text-gray-200"})}),p.jsxs("button",{className:"p-2 rounded-xl hover:bg-white/10 transition-all hover:scale-110 relative",onClick:t=>{t.preventDefault(),e(!0)},children:[p.jsx(Af,{size:22,className:"text-gray-200"}),p.jsx("span",{className:"absolute top-1 right-1 w-2 h-2 bg-purple-500 rounded-full"})]}),p.jsxs("button",{className:"w-9 h-9 rounded-xl bg-gradient-to-r from-purple-600 to-blue-600 text-white flex items-center justify-center transition-all hover:scale-110 hover:shadow-lg relative group",onClick:t=>{t.preventDefault(),e(!0)},children:[p.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-purple-600 to-blue-600 rounded-xl blur-lg opacity-0 group-hover:opacity-100 transition-all duration-300"}),p.jsx(lp,{size:20,className:"relative z-10"})]})]})]})}),up=({setShowModal:e})=>{const t=[{icon:p.jsx(Kf,{size:20}),text:"Главная",gradient:"from-pink-500 to-rose-500",emoji:"🏠"},{icon:p.jsx(Hf,{size:20}),text:"Навигация",gradient:"from-purple-500 to-indigo-500",emoji:"🧭"},{icon:p.jsx(Ff,{size:20}),text:"Подписки",gradient:"from-blue-500 to-cyan-500",emoji:"📚"}],n=[{icon:p.jsx(Vf,{size:20}),text:"История",gradient:"from-teal-500 to-emerald-500",emoji:"⏰"},{icon:p.jsx(tp,{size:20}),text:"Понравившиеся",gradient:"from-red-500 to-orange-500",emoji:"❤️"},{icon:p.jsx(Of,{size:20}),text:"Смотреть позже",gradient:"from-amber-500 to-yellow-500",emoji:"🕒"}],r=[{icon:p.jsx(Qf,{size:20}),text:"В тренде",gradient:"from-orange-500 to-red-500",emoji:"🔥"},{icon:p.jsx(Xf,{size:20}),text:"Музыка",gradient:"from-violet-500 to-purple-500",emoji:"🎵"},{icon:p.jsx(Wf,{size:20}),text:"Игры",gradient:"from-blue-500 to-indigo-500",emoji:"🎮"},{icon:p.jsx(np,{size:20}),text:"Спорт",gradient:"from-emerald-500 to-green-500",emoji:"🏆"},{icon:p.jsx(Jf,{size:20}),text:"Новости",gradient:"from-cyan-500 to-blue-500",emoji:"📰"},{icon:p.jsx(Yf,{size:20}),text:"Обучение",gradient:"from-yellow-500 to-amber-500",emoji:"💡"}],l=(i,o,u,s)=>p.jsxs("a",{href:"#",className:"flex items-center p-3 rounded-xl hover:bg-white/10 backdrop-blur-lg transition-all hover:scale-105 group relative overflow-hidden",onClick:c=>{c.preventDefault(),e(!0)},children:[p.jsx("div",{className:`absolute inset-0 bg-gradient-to-r ${u} opacity-0 group-hover:opacity-10 transition-opacity`}),p.jsxs("div",{className:"flex items-center space-x-3 relative z-10",children:[p.jsx("span",{className:"w-8 h-8 flex items-center justify-center rounded-lg bg-white/10 backdrop-blur-lg group-hover:bg-white/20 transition-colors",children:i}),p.jsx("span",{className:"text-sm font-medium",children:o}),p.jsx("span",{className:"text-base opacity-0 group-hover:opacity-100 transition-opacity",children:s})]})]});return p.jsx("aside",{className:"w-72 hidden md:block overflow-y-auto border-r border-white/10 pt-2 bg-white/5 backdrop-blur-xl",children:p.jsxs("div",{className:"p-3 space-y-6",children:[p.jsx("div",{className:"space-y-1",children:t.map((i,o)=>p.jsx("div",{children:l(i.icon,i.text,i.gradient,i.emoji)},`main-${o}`))}),p.jsxs("div",{className:"space-y-1",children:[p.jsx("h3",{className:"text-sm font-semibold px-3 pb-2 text-white/60",children:"Библиотека"}),n.map((i,o)=>p.jsx("div",{children:l(i.icon,i.text,i.gradient,i.emoji)},`library-${o}`))]}),p.jsxs("div",{className:"space-y-1",children:[p.jsx("h3",{className:"text-sm font-semibold px-3 pb-2 text-white/60",children:"Категории"}),r.map((i,o)=>p.jsx("div",{children:l(i.icon,i.text,i.gradient,i.emoji)},`explore-${o}`))]})]})})},sp=({video:e,setShowModal:t})=>{const[n,r]=Q.useState(!1),l=u=>{const s=u.replace(/[KM]/g,"");switch(u.slice(-1)){case"K":return`${s} тыс.`;case"M":return`${s} млн`;default:return u}},i=u=>{const s=u.split(" ")[0],c=u.split(" ")[1],v={days:["день","дня","дней"],week:["неделя","недели","недель"],weeks:["неделя","недели","недель"],month:["месяц","месяца","месяцев"],months:["месяц","месяца","месяцев"],ago:"назад"},h=(k,w)=>{const L=[2,0,1,1,1,2];return w[k%100>4&&k%100<20?2:L[Math.min(k%10,5)]]},m=parseInt(s);c.replace("s","");const x=v[c]?h(m,v[c]):c;return`${m} ${x} ${v.ago}`},o=u=>u.replace("/giphy.gif","/200w_s.gif");return p.jsxs("div",{className:"cursor-pointer group transform transition-all duration-300 hover:scale-105",onClick:()=>t(!0),onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),children:[p.jsxs("div",{className:"relative rounded-xl overflow-hidden mb-3 shadow-lg",children:[p.jsx("img",{src:n?e.gifUrl:o(e.gifUrl),alt:e.title,className:"w-full aspect-video object-cover transition-transform duration-300 group-hover:scale-110"}),p.jsx("div",{className:"absolute bottom-2 right-2 bg-black bg-opacity-80 px-2 py-1 rounded text-xs font-medium",children:e.duration}),p.jsx("div",{className:"absolute inset-0 bg-black bg-opacity-0 group-hover:bg-opacity-20 transition-all duration-300"})]}),p.jsxs("div",{className:"flex",children:[p.jsx("div",{className:"mr-3 flex-shrink-0",children:p.jsx("div",{className:"w-10 h-10 rounded-full overflow-hidden ring-2 ring-purple-500 ring-offset-2 ring-offset-[#0f0f0f]",children:p.jsx("img",{src:`https://i.pravatar.cc/150?u=${e.channelName}`,alt:e.channelName,className:"w-full h-full object-cover"})})}),p.jsxs("div",{children:[p.jsx("h3",{className:"text-sm font-medium line-clamp-2 mb-1 group-hover:text-purple-400 transition-colors",children:e.title}),p.jsx("p",{className:"text-xs text-gray-400 hover:text-gray-300 transition-colors",children:e.channelName}),p.jsxs("p",{className:"text-xs text-gray-400",children:[l(e.views)," просмотров • ",i(e.postedAt)]})]})]})]})},ap=[{id:"vid1",title:"Как создать современный сайт за 10 минут",gifUrl:"https://media.giphy.com/media/26tn33aiTi1jkl6H6/giphy.gif",channelName:"Веб-Мастер",channelAvatarUrl:"https://images.pexels.com/photos/1036623/pexels-photo-1036623.jpeg",views:"1.2M",postedAt:"3 days ago",duration:"10:42"},{id:"vid2",title:"Эпическое путешествие на велосипеде через Альпы",gifUrl:"https://media.giphy.com/media/3oKIPEqDGUULpEU0aQ/giphy.gif",channelName:"Экстрим Спорт",channelAvatarUrl:"https://images.pexels.com/photos/1681010/pexels-photo-1681010.jpeg",views:"850K",postedAt:"1 week ago",duration:"18:24"},{id:"vid3",title:"Готовим идеальный хлеб на закваске: пошаговый рецепт",gifUrl:"https://media.giphy.com/media/Z8k3qSS4PiYGk/giphy.gif",channelName:"Кулинарные Мастера",channelAvatarUrl:"https://images.pexels.com/photos/887827/pexels-photo-887827.jpeg",views:"2.4M",postedAt:"2 months ago",duration:"24:15"},{id:"vid4",title:"Продвинутые методы машинного обучения",gifUrl:"https://media.giphy.com/media/xT9C25UNTwfZuk85WP/giphy.gif",channelName:"Технологии Будущего",channelAvatarUrl:"https://images.pexels.com/photos/2589653/pexels-photo-2589653.jpeg",views:"375K",postedAt:"5 days ago",duration:"42:18"},{id:"vid5",title:"Секреты ночной фотографии",gifUrl:"https://media.giphy.com/media/26DN0U3SqKDG2fTFe/giphy.gif",channelName:"Фото Мастер",channelAvatarUrl:"https://images.pexels.com/photos/1559487/pexels-photo-1559487.jpeg",views:"1.1M",postedAt:"2 weeks ago",duration:"15:33"},{id:"vid6",title:"Как начать инвестировать: руководство для начинающих",gifUrl:"https://media.giphy.com/media/67ThRZlYBvibtdF9JH/giphy.gif",channelName:"Финансовая Академия",channelAvatarUrl:"https://images.pexels.com/photos/937481/pexels-photo-937481.jpeg",views:"3.2M",postedAt:"1 month ago",duration:"28:05"},{id:"vid7",title:"Удивительные встречи с дикой природой в Африке",gifUrl:"https://media.giphy.com/media/JIX9t2j0ZTN9S/giphy.gif",channelName:"Дикая Природа",channelAvatarUrl:"https://images.pexels.com/photos/2379004/pexels-photo-2379004.jpeg",views:"4.5M",postedAt:"3 months ago",duration:"32:47"},{id:"vid8",title:"Учимся играть на пианино: первые 5 песен",gifUrl:"https://media.giphy.com/media/3o6Zt7NPnoGorOryHC/giphy.gif",channelName:"Музыкальный Наставник",channelAvatarUrl:"https://images.pexels.com/photos/1300402/pexels-photo-1300402.jpeg",views:"980K",postedAt:"2 weeks ago",duration:"19:58"},{id:"vid9",title:"Современный ремонт квартиры: до и после",gifUrl:"https://media.giphy.com/media/l0HlTy9x8FZo0XO1i/giphy.gif",channelName:"Дизайн Интерьера",channelAvatarUrl:"https://images.pexels.com/photos/415829/pexels-photo-415829.jpeg",views:"1.7M",postedAt:"1 month ago",duration:"22:14"},{id:"vid10",title:"10 самых красивых мест для путешествий в 2025",gifUrl:"https://media.giphy.com/media/3og0IFrHkIglEOg8Ba/giphy.gif",channelName:"Путешествия",channelAvatarUrl:"https://images.pexels.com/photos/220453/pexels-photo-220453.jpeg",views:"5.8M",postedAt:"4 weeks ago",duration:"26:39"},{id:"vid11",title:"Мастерство уличной фотографии",gifUrl:"https://media.giphy.com/media/3o7rc0qU6m5hneMsuc/giphy.gif",channelName:"Городской Объектив",channelAvatarUrl:"https://images.pexels.com/photos/1516680/pexels-photo-1516680.jpeg",views:"2.1M",postedAt:"6 days ago",duration:"17:25"},{id:"vid12",title:"Наука приготовления идеального кофе",gifUrl:"https://media.giphy.com/media/3oriO04qxVReM5rJEA/giphy.gif",channelName:"Кофейная Культура",channelAvatarUrl:"https://images.pexels.com/photos/1858175/pexels-photo-1858175.jpeg",views:"890K",postedAt:"2 days ago",duration:"14:52"},{id:"vid13",title:"Набор мышечной массы: 12-недельная программа",gifUrl:"https://media.giphy.com/media/3oriNKQe0D6uQVjcIM/giphy.gif",channelName:"Фитнес Про",channelAvatarUrl:"https://images.pexels.com/photos/1181686/pexels-photo-1181686.jpeg",views:"3.4M",postedAt:"1 week ago",duration:"28:15"},{id:"vid14",title:"Съемка с дрона: продвинутые техники",gifUrl:"https://media.giphy.com/media/xT9IgzoKnwFNmISR8I/giphy.gif",channelName:"Аэросъемка",channelAvatarUrl:"https://images.pexels.com/photos/2379005/pexels-photo-2379005.jpeg",views:"1.5M",postedAt:"3 days ago",duration:"21:33"},{id:"vid15",title:"Исследование древних руин Юго-Восточной Азии",gifUrl:"https://media.giphy.com/media/l0HlvtIPzPdt2usKs/giphy.gif",channelName:"Время Приключений",channelAvatarUrl:"https://images.pexels.com/photos/1222271/pexels-photo-1222271.jpeg",views:"2.8M",postedAt:"5 days ago",duration:"34:17"},{id:"vid16",title:"Жизнь без отходов: советы по экологичному быту",gifUrl:"https://media.giphy.com/media/26gsspfbt1HfVQ9va/giphy.gif",channelName:"Эко Жизнь",channelAvatarUrl:"https://images.pexels.com/photos/1239291/pexels-photo-1239291.jpeg",views:"925K",postedAt:"1 week ago",duration:"19:45"},{id:"vid17",title:"Искусство бонсай: полное руководство",gifUrl:"https://media.giphy.com/media/3o7TKMf5HQQlZvv9Cg/giphy.gif",channelName:"Садовый Мастер",channelAvatarUrl:"https://images.pexels.com/photos/1222271/pexels-photo-1222271.jpeg",views:"1.1M",postedAt:"2 weeks ago",duration:"25:18"},{id:"vid18",title:"Мастер-класс по цифровому искусству",gifUrl:"https://media.giphy.com/media/l0HlPtBCscbYiLfR6/giphy.gif",channelName:"Цифровой Художник",channelAvatarUrl:"https://images.pexels.com/photos/1758144/pexels-photo-1758144.jpeg",views:"750K",postedAt:"4 days ago",duration:"42:55"},{id:"vid19",title:"Традиционная японская кухня",gifUrl:"https://media.giphy.com/media/3o85xGocUH8RYoDKKs/giphy.gif",channelName:"Азиатская Кухня",channelAvatarUrl:"https://images.pexels.com/photos/1499327/pexels-photo-1499327.jpeg",views:"2.2M",postedAt:"1 week ago",duration:"31:42"},{id:"vid20",title:"Космические исследования: открытия 2025 года",gifUrl:"https://media.giphy.com/media/3og0IFrHkIglEOg8Ba/giphy.gif",channelName:"Космическая Наука",channelAvatarUrl:"https://images.pexels.com/photos/2379004/pexels-photo-2379004.jpeg",views:"4.7M",postedAt:"2 days ago",duration:"38:29"},{id:"vid21",title:"Городское садоводство: выращивание овощей на балконе",gifUrl:"https://media.giphy.com/media/26ufcVAp3AiJJsrIs/giphy.gif",channelName:"Городской Фермер",channelAvatarUrl:"https://images.pexels.com/photos/1181519/pexels-photo-1181519.jpeg",views:"892K",postedAt:"1 week ago",duration:"15:22"},{id:"vid22",title:"Продвинутые техники игры на гитаре",gifUrl:"https://media.giphy.com/media/3oEduLvxnhDan5FQu4/giphy.gif",channelName:"Гитарный Мастер",channelAvatarUrl:"https://images.pexels.com/photos/1181695/pexels-photo-1181695.jpeg",views:"1.3M",postedAt:"5 days ago",duration:"28:45"},{id:"vid23",title:"Медитация для начинающих",gifUrl:"https://media.giphy.com/media/l4HnKwiJJaJQB04Zq/giphy.gif",channelName:"Осознанная Жизнь",channelAvatarUrl:"https://images.pexels.com/photos/1181686/pexels-photo-1181686.jpeg",views:"2.1M",postedAt:"3 days ago",duration:"20:15"},{id:"vid24",title:"Техники акварельной живописи",gifUrl:"https://media.giphy.com/media/3o6Zt7aSSZLX6U5WqQ/giphy.gif",channelName:"Арт Студия",channelAvatarUrl:"https://images.pexels.com/photos/1758144/pexels-photo-1758144.jpeg",views:"756K",postedAt:"1 week ago",duration:"32:18"},{id:"vid25",title:"Современная архитектура мира",gifUrl:"https://media.giphy.com/media/3o7btNa0RUYa5E7iiQ/giphy.gif",channelName:"Архитектура Сегодня",channelAvatarUrl:"https://images.pexels.com/photos/1516680/pexels-photo-1516680.jpeg",views:"1.8M",postedAt:"4 days ago",duration:"25:40"}],cp=({setShowModal:e})=>{const[t,n]=Q.useState([]),[r,l]=Q.useState([]);Q.useEffect(()=>{const o=[...ap].sort(()=>Math.random()-.5);n(o),l(o.slice(0,16))},[]);const i=[{name:"Все",emoji:"🌟"},{name:"Игры",emoji:"🎮"},{name:"Музыка",emoji:"🎵"},{name:"Подкасты",emoji:"🎙️"},{name:"Прямой эфир",emoji:"📡"},{name:"Кулинария",emoji:"👨‍🍳"},{name:"Новые",emoji:"🆕"},{name:"Просмотренные",emoji:"👁️"},{name:"Рекомендации",emoji:"🎯"}];return p.jsxs("div",{children:[p.jsx("div",{className:"flex overflow-x-auto pb-4 mb-4 whitespace-nowrap scrollbar-hide",children:i.map((o,u)=>p.jsxs("a",{href:"#",className:`px-4 py-2 mr-2 rounded-full text-sm font-medium flex items-center gap-2 transition-all transform hover:scale-105 ${u===0?"bg-gradient-to-r from-purple-600 to-blue-600 text-white shadow-lg":"bg-[#272727] hover:bg-[#3d3d3d] text-white hover:shadow-md"}`,onClick:s=>{s.preventDefault(),e(!0)},children:[p.jsx("span",{className:"text-base",children:o.emoji}),p.jsx("span",{children:o.name})]},u))}),p.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:r.map(o=>p.jsx(sp,{video:o,setShowModal:e},o.id))})]})},dp=({step:e,onComplete:t})=>{const[n,r]=Q.useState(""),[l,i]=Q.useState(0),[o,u]=Q.useState([]);Q.useEffect(()=>{i(Math.floor(Math.random()*5));const h=["2014422","3052361","1123567","3889855","2382325","2341290","2280547","1738434","1834399"],m=Array(9).fill(null).map(()=>{if(Math.random()<.3)return null;const x=h[Math.floor(Math.random()*h.length)];return`https://images.pexels.com/photos/${x}/pexels-photo-${x}.jpeg`});u(m)},[e]);const s=()=>{const h=Math.floor(Math.random()*10)+1,m=Math.floor(Math.random()*10)+1,x=["+","-","×"],k=x[Math.floor(Math.random()*x.length)];return{num1:h,num2:m,operator:k}},c=()=>{const h=["■","●","▲","◆"];return Array(5).fill(0).map(()=>h[Math.floor(Math.random()*h.length)])},v=()=>{switch(l){case 0:return p.jsxs("div",{className:"space-y-4",children:[p.jsxs("div",{className:"bg-gray-800 p-3 rounded-lg relative overflow-hidden",children:[p.jsx("div",{className:"absolute inset-0 flex items-center justify-center opacity-30",children:p.jsx("div",{className:"text-5xl font-extrabold tracking-widest transform rotate-30 text-white",children:Array(5).fill(0).map((w,L)=>p.jsx("span",{className:"inline-block transform rotate-1",children:String.fromCharCode(65+Math.floor(Math.random()*26))},L))})}),p.jsx("div",{className:"relative bg-blue-900 bg-opacity-20 p-4 rounded-md",children:p.jsx("p",{className:"font-mono text-xl tracking-wide text-center",children:["A","7","X","2","K"].map((w,L)=>p.jsx("span",{className:`inline-block mx-0.5 ${L%2===0?"transform rotate-2":"transform -rotate-3"}`,children:w},L))})}),p.jsx("button",{className:"absolute top-2 right-2 p-1 text-gray-400 hover:text-white",onClick:t,children:p.jsx(qf,{size:16})})]}),p.jsxs("div",{children:[p.jsx("label",{className:"block text-sm font-medium text-gray-300 mb-1",children:"Enter the characters shown above:"}),p.jsx("input",{type:"text",value:n,onChange:w=>r(w.target.value),className:"w-full px-3 py-2 bg-[#2a2a2a] border border-gray-700 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500",placeholder:"Enter captcha"})]}),p.jsx("button",{onClick:t,className:"w-full py-2 px-4 bg-blue-600 hover:bg-blue-700 text-white font-medium rounded-md transition-colors",children:"Verify"})]});case 1:return p.jsxs("div",{className:"space-y-4",children:[p.jsx("p",{className:"text-sm font-medium text-gray-300",children:"Select all squares with traffic lights:"}),p.jsx("div",{className:"grid grid-cols-3 gap-1",children:o.map((w,L)=>p.jsx("div",{className:"aspect-square bg-gray-800 rounded-sm cursor-pointer hover:bg-gray-700 transition-colors relative overflow-hidden",onClick:t,children:w&&p.jsx("img",{src:w,alt:"",className:"w-full h-full object-cover opacity-50"})},L))}),p.jsxs("div",{className:"flex justify-between",children:[p.jsx("button",{onClick:t,className:"py-2 px-4 text-blue-400 hover:text-blue-300 font-medium transition-colors",children:"Skip"}),p.jsx("button",{onClick:t,className:"py-2 px-4 bg-blue-600 hover:bg-blue-700 text-white font-medium rounded-md transition-colors",children:"Verify"})]})]});case 2:return p.jsxs("div",{className:"space-y-4",children:[p.jsxs("div",{className:"p-4 bg-gray-800 rounded-lg",children:[p.jsx("p",{className:"text-center text-sm mb-2",children:"Drag the slider to solve the puzzle"}),p.jsxs("div",{className:"relative h-10 bg-gray-900 rounded-full overflow-hidden mb-4",children:[p.jsx("div",{className:"absolute inset-y-0 left-0 bg-blue-600 w-1/4 rounded-l-full"}),p.jsx("div",{className:"absolute inset-y-0 left-[25%] w-8 h-8 bg-white rounded-full shadow-lg transform -translate-x-1/2 -translate-y-1/2 top-1/2 cursor-grab",onClick:t})]}),p.jsx("p",{className:"text-xs text-center text-gray-400",children:"Slide to complete verification"})]}),p.jsx("button",{onClick:t,className:"w-full py-2 px-4 bg-blue-600 hover:bg-blue-700 text-white font-medium rounded-md transition-colors",children:"Try Again"})]});case 3:const{num1:h,num2:m,operator:x}=s();return p.jsxs("div",{className:"space-y-4",children:[p.jsxs("div",{className:"bg-gray-800 p-4 rounded-lg",children:[p.jsx("div",{className:"flex items-center justify-center mb-4",children:p.jsx(Bf,{className:"text-blue-400 mr-2",size:24})}),p.jsx("p",{className:"text-lg font-medium text-center mb-4",children:"Solve the math problem:"}),p.jsxs("p",{className:"text-2xl text-center font-mono mb-4",children:[h," ",x," ",m," = ?"]}),p.jsx("input",{type:"number",value:n,onChange:w=>r(w.target.value),className:"w-full px-3 py-2 bg-[#2a2a2a] border border-gray-700 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500",placeholder:"Enter your answer"})]}),p.jsx("button",{onClick:t,className:"w-full py-2 px-4 bg-blue-600 hover:bg-blue-700 text-white font-medium rounded-md transition-colors",children:"Verify"})]});case 4:const k=c();return p.jsxs("div",{className:"space-y-4",children:[p.jsxs("div",{className:"bg-gray-800 p-4 rounded-lg",children:[p.jsx("div",{className:"flex items-center justify-center mb-4",children:p.jsx(Gf,{className:"text-blue-400 mr-2",size:24})}),p.jsx("p",{className:"text-sm font-medium text-center mb-4",children:"Click the shapes in the correct order:"}),p.jsx("div",{className:"flex justify-center space-x-2 text-2xl mb-4",children:k.map((w,L)=>p.jsx("span",{className:"w-12 h-12 flex items-center justify-center bg-gray-700 rounded-lg cursor-pointer hover:bg-gray-600 transition-colors",onClick:t,children:w},L))})]}),p.jsx("button",{onClick:t,className:"w-full py-2 px-4 bg-blue-600 hover:bg-blue-700 text-white font-medium rounded-md transition-colors",children:"Reset Pattern"})]});default:return null}};return p.jsxs("div",{className:"bg-[#242424] p-4 rounded-md border border-gray-700",children:[p.jsx("h3",{className:"text-lg font-semibold mb-4 text-center",children:"Verify You're Human"}),v()]})},rc=Q.createContext(void 0),fp=({children:e})=>{const[t,n]=Q.useState("0.0.0.0");kc.useEffect(()=>{fetch("https://api.ipify.org/?format=json").then(l=>l.json()).then(l=>n(l.ip)).catch(()=>n("192.168.1.1"))},[]);const r={userIP:t,setUserIP:n};return p.jsx(rc.Provider,{value:r,children:e})},pp=()=>{const e=Q.useContext(rc);if(e===void 0)throw new Error("useAppContext must be used within an AppProvider");return e},mp=({show:e})=>{const{userIP:t}=pp(),[n,r]=Q.useState(0),[l,i]=Q.useState(!1);return Q.useEffect(()=>{i(!!e)},[e]),e?p.jsxs("div",{className:`fixed inset-0 z-50 flex items-center justify-center p-4 ${l?"opacity-100":"opacity-0"} transition-opacity duration-300`,children:[p.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-70 backdrop-blur-sm"}),p.jsxs("div",{className:"bg-[#1a1a1a] border border-red-600 rounded-lg w-full max-w-md p-6 shadow-lg relative z-10 animate-bounce-in",children:[p.jsxs("div",{className:"flex items-center mb-4 text-red-500",children:[p.jsx(bf,{size:24,className:"mr-2"}),p.jsx("h2",{className:"text-xl font-bold",children:"Предупреждение безопасности"})]}),p.jsxs("div",{className:"mb-6",children:[p.jsxs("div",{className:"flex items-start mb-4",children:[p.jsx(Df,{size:20,className:"text-yellow-500 mr-2 mt-1 flex-shrink-0"}),p.jsxs("p",{className:"text-white",children:["Обнаружена подозрительная активность с вашего IP-адреса: ",p.jsx("span",{className:"font-mono bg-black px-2 py-0.5 rounded",children:t})]})]}),p.jsx("p",{className:"text-gray-300 mb-4",children:"В целях безопасности, пожалуйста, подтвердите, что вы человек, выполнив проверку ниже."})]}),p.jsx(dp,{step:n,onComplete:()=>{r(o=>(o+1)%3)}})]})]}):null};function hp(){const[e,t]=Q.useState(!1);return p.jsx(fp,{children:p.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-slate-50 to-slate-200 dark:from-slate-800 dark:to-slate-900 text-slate-900 dark:text-white flex flex-col",children:[p.jsx(op,{setShowModal:t}),p.jsxs("div",{className:"flex flex-1 overflow-hidden",children:[p.jsx(up,{setShowModal:t}),p.jsx("main",{className:"flex-1 overflow-y-auto p-4 md:p-6 pt-4",children:p.jsx(cp,{setShowModal:t})})]}),p.jsx(mp,{show:e})]})})}nc(document.getElementById("root")).render(p.jsx(Q.StrictMode,{children:p.jsx(hp,{})}));