diff --git a/assets/index-6f264e33.css b/assets/index-542dad1b.css similarity index 68% rename from assets/index-6f264e33.css rename to assets/index-542dad1b.css index ce8809ea..ff790d4c 100644 --- a/assets/index-6f264e33.css +++ b/assets/index-542dad1b.css @@ -1 +1 @@ -@charset "UTF-8";body{font-family:DejaVu Sans Mono,monospace;margin:100;padding:0}.wrapper{width:100%;min-height:100vh;display:flex;flex-direction:column;overflow:hidden}.wrapper .content-wrapper{width:100%;display:flex;flex-direction:column;padding:50px 10%}@media screen and (max-width: 700px){.wrapper .content-wrapper{padding:50px 25px}}@media screen and (max-width: 420px){.wrapper .content-wrapper{padding:50px 0}}.wrapper .content-wrapper .top-panel-wrapper{display:flex;width:100%;justify-content:space-between;margin-bottom:25px}@media screen and (max-width: 700px){.wrapper .content-wrapper .top-panel-wrapper{flex-direction:column;align-items:center;gap:25px}}@media screen and (max-width: 420px){.wrapper .content-wrapper .top-panel-wrapper{padding:0 25px;justify-content:center}}*,*:before,*:after{box-sizing:border-box}ul[class],ol[class]{padding:0}body,h1,h2,h3,h4,p,pre,ul[class],ol[class],li,figure,figcaption,blockquote,dl,dd{margin:0}body{min-height:100vh;scroll-behavior:smooth;line-height:1.5}ul[class],ol[class]{list-style:none}a:not([class]){text-decoration-skip-ink:auto}img{max-width:100%;display:block}article>*+*{margin-top:1em}input,button,textarea,select{font:inherit}p,span{font-family:inherit}@media (prefers-reduced-motion: reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.header-wrapper{width:100%;padding:5px 10%;display:flex;justify-content:space-between;align-items:center;gap:20px;background:#fff;box-shadow:0 4px 30px -10px #0003}.header-wrapper img{width:60px;height:60px}.breadcrumbs-wrapper{margin-bottom:50px;display:flex}@media screen and (max-width: 520px){.breadcrumbs-wrapper{margin-bottom:25px;justify-content:center}}.breadcrumbs-wrapper .breadcrumbs{border-radius:15px;box-shadow:0 4px 30px -10px #0003;width:fit-content;background:#fff;padding:10px 24px;display:flex}@media screen and (max-width: 520px){.breadcrumbs-wrapper .breadcrumbs{padding:10px 12px}}.breadcrumbs-wrapper .breadcrumbs .crumb{display:flex;align-items:center}.breadcrumbs-wrapper .breadcrumbs .crumb:last-child:after{display:none}.breadcrumbs-wrapper .breadcrumbs .crumb .home-icon{color:#4169e1;margin-right:10px;font-size:20px}@media screen and (max-width: 479px){.breadcrumbs-wrapper .breadcrumbs .crumb .home-icon{margin-right:5px}}.breadcrumbs-wrapper .breadcrumbs .crumb .chevron-icon{color:#4169e1}.breadcrumbs-wrapper .breadcrumbs .crumb a{font-size:20px;text-decoration:none;display:flex;align-items:center;color:#4169e1;padding:0 10px}@media screen and (max-width: 479px){.breadcrumbs-wrapper .breadcrumbs .crumb a{font-size:16px;padding:0 5px}}.cards-list-wrapper{width:100%;background:#fff;box-shadow:0 4px 30px -10px #0003;border-radius:15px}.cards-list-wrapper .top{width:100%;border-bottom:2px solid #1c6758;padding:20px;display:flex;justify-content:space-between;align-items:center}.cards-list-wrapper .top .search-form{display:flex;gap:15px}@media screen and (max-width: 700px){.cards-list-wrapper .top .search-form{flex-direction:column;gap:25px}}@media screen and (max-width: 700px){.cards-list-wrapper .top{flex-direction:column;gap:25px}}.cards-list-wrapper .bottom{width:100%;padding:20px;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,.15fr));grid-column-gap:25px;grid-row-gap:25px;justify-content:center}.search-bar-wrapper{display:flex;align-items:center;gap:25px}@media screen and (max-width: 420px){.search-bar-wrapper{gap:15px}}.search-bar-wrapper input{outline:none;padding:8px 16px;font-size:16px;border-radius:15px;transition:all .3s ease}.search-bar-wrapper input:focus{border-color:#4169e1}.search-bar-wrapper button{padding:8px 16px;border-radius:15px;outline:none;border:none;cursor:pointer;background:#4169E1;color:#fff;transition:all .3s ease}.search-bar-wrapper button:hover{transform:scale(1.1)}@media screen and (max-width: 420px){.search-bar-wrapper button{padding:8px;height:35px}}.card-wrapper{background:#B0C4DE;cursor:pointer;color:#fff;border:1px solid;border-radius:20px;overflow:hidden;box-shadow:2px 2px 2px 1px #4169e1;transition:transform .2s ease-in-out;box-sizing:border-box;transition:all .3s ease;display:flex;flex-direction:column}.card-wrapper:hover{transform:scale(1.05)}.card-wrapper .preview{width:100%;display:flex;justify-content:center;margin-bottom:10px}.card-wrapper .preview img{width:80%;height:200px}.card-wrapper .card-content{width:100%;padding:10px;height:100%;display:flex;flex-direction:column;justify-content:space-between;gap:15px}.card-wrapper .card-content .content-top,.card-wrapper .card-content .content-bottom{width:100%;display:flex;justify-content:center}.card-wrapper .card-content .content-bottom a{padding:8px 16px;background:#fff;border-radius:8px;text-decoration:none;color:#000;transition:all .3s ease}.card-wrapper .card-content .content-bottom a:hover{transform:scale(1.1)}.page-details-wrapper{display:flex;width:100%;background:#fff;border-radius:15px;position:relative;box-shadow:0 4px 30px -10px #0003;padding:20px 20px 75px}@media screen and (max-width: 700px){.page-details-wrapper{flex-direction:column}}@media screen and (max-width: 420px){.page-details-wrapper{border-radius:0}}.page-details-wrapper .return-link{position:absolute;right:30px;bottom:20px;font-size:18px;text-decoration:none;color:#000;transition:all .3s ease}.page-details-wrapper .return-link:hover{color:#1c6758}.page-details-wrapper .left{margin-right:25px;min-width:300px}@media screen and (max-width: 700px){.page-details-wrapper .left{margin-right:0}}.page-details-wrapper .left img{width:300px;height:250px;border-radius:15px}.page-details-wrapper .right .info-container{display:flex;flex-direction:column}.page-details-wrapper .right .info-container .name{font-size:24px} +@charset "UTF-8";body{font-family:DejaVu Sans Mono,monospace;margin:100;padding:0}.wrapper{width:100%;min-height:100vh;display:flex;flex-direction:column;overflow:hidden}.wrapper .content-wrapper{width:100%;display:flex;flex-direction:column;padding:50px 10%}@media screen and (max-width: 700px){.wrapper .content-wrapper{padding:50px 25px}}@media screen and (max-width: 420px){.wrapper .content-wrapper{padding:50px 0}}.wrapper .content-wrapper .top-panel-wrapper{display:flex;width:100%;justify-content:space-between;margin-bottom:25px}@media screen and (max-width: 700px){.wrapper .content-wrapper .top-panel-wrapper{flex-direction:column;align-items:center;gap:25px}}@media screen and (max-width: 420px){.wrapper .content-wrapper .top-panel-wrapper{padding:0 25px;justify-content:center}}*,*:before,*:after{box-sizing:border-box}ul[class],ol[class]{padding:0}body,h1,h2,h3,h4,p,pre,ul[class],ol[class],li,figure,figcaption,blockquote,dl,dd{margin:0}body{min-height:100vh;scroll-behavior:smooth;line-height:1.5}ul[class],ol[class]{list-style:none}a:not([class]){text-decoration-skip-ink:auto}img{max-width:100%;display:block}article>*+*{margin-top:1em}input,button,textarea,select{font:inherit}p,span{font-family:inherit}@media (prefers-reduced-motion: reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.header-wrapper{width:100%;padding:5px 10%;display:flex;justify-content:space-between;align-items:center;gap:20px;background:#fff;box-shadow:0 4px 30px -10px #0003}.header-wrapper img{width:60px;height:60px}.breadcrumbs-wrapper{margin-bottom:50px;display:flex}@media screen and (max-width: 520px){.breadcrumbs-wrapper{margin-bottom:25px;justify-content:center}}.breadcrumbs-wrapper .breadcrumbs{border-radius:15px;box-shadow:0 4px 30px -10px #0003;width:fit-content;background:#fff;padding:10px 24px;display:flex}@media screen and (max-width: 520px){.breadcrumbs-wrapper .breadcrumbs{padding:10px 12px}}.breadcrumbs-wrapper .breadcrumbs .crumb{display:flex;align-items:center}.breadcrumbs-wrapper .breadcrumbs .crumb:last-child:after{display:none}.breadcrumbs-wrapper .breadcrumbs .crumb .home-icon{color:#4169e1;margin-right:10px;font-size:20px}@media screen and (max-width: 479px){.breadcrumbs-wrapper .breadcrumbs .crumb .home-icon{margin-right:5px}}.breadcrumbs-wrapper .breadcrumbs .crumb .chevron-icon{color:#4169e1}.breadcrumbs-wrapper .breadcrumbs .crumb a{font-size:20px;text-decoration:none;display:flex;align-items:center;color:#4169e1;padding:0 10px}@media screen and (max-width: 479px){.breadcrumbs-wrapper .breadcrumbs .crumb a{font-size:16px;padding:0 5px}}.cards-list-wrapper{width:100%;background:#fff;box-shadow:0 4px 30px -10px #0003;border-radius:15px}.cards-list-wrapper .top{width:100%;border-bottom:2px solid #1c6758;padding:20px;display:flex;justify-content:space-between;align-items:center}.cards-list-wrapper .top .search-form{display:flex;gap:15px}@media screen and (max-width: 700px){.cards-list-wrapper .top .search-form{flex-direction:column;gap:25px}}@media screen and (max-width: 700px){.cards-list-wrapper .top{flex-direction:column;gap:25px}}.cards-list-wrapper .bottom{width:100%;padding:20px;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,.15fr));grid-column-gap:25px;grid-row-gap:25px;justify-content:center}.search-bar-wrapper{display:flex;align-items:center;gap:25px}@media screen and (max-width: 420px){.search-bar-wrapper{gap:15px}}.search-bar-wrapper input{outline:none;padding:8px 16px;font-size:16px;border-radius:15px;transition:all .3s ease}.search-bar-wrapper input:focus{border-color:#4169e1}.search-bar-wrapper button{padding:8px 16px;border-radius:15px;outline:none;border:none;cursor:pointer;background:#4169E1;color:#fff;transition:all .3s ease}.search-bar-wrapper button:hover{transform:scale(1.1)}@media screen and (max-width: 420px){.search-bar-wrapper button{padding:8px;height:35px}}.card-wrapper{background:white;cursor:pointer;color:#fff;border:1px solid;border-radius:20px;overflow:hidden;box-shadow:2px 2px 2px 1px #4169e1;transition:transform .2s ease-in-out;box-sizing:border-box;transition:all .3s ease;display:flex;flex-direction:column}.card-wrapper:hover{transform:scale(1.05)}.card-wrapper .preview{width:100%;display:flex;justify-content:center;margin-bottom:10px}.card-wrapper .preview img{width:80%;height:200px}.card-wrapper .card-content{width:100%;padding:10px;height:100%;display:flex;flex-direction:column;justify-content:space-between;gap:15px}.card-wrapper .card-content .content-top,.card-wrapper .card-content .content-bottom{width:100%;display:flex;justify-content:center}.card-wrapper .card-content .content-bottom a{padding:8px 16px;background:#fff;border-radius:8px;text-decoration:none;color:#000;transition:all .3s ease}.card-wrapper .card-content .content-bottom a:hover{transform:scale(1.1)}.page-details-wrapper{display:flex;width:100%;background:#fff;border-radius:15px;position:relative;box-shadow:0 4px 30px -10px #0003;padding:20px 20px 75px}@media screen and (max-width: 700px){.page-details-wrapper{flex-direction:column}}@media screen and (max-width: 420px){.page-details-wrapper{border-radius:0}}.page-details-wrapper .return-link{position:absolute;right:30px;bottom:20px;font-size:18px;text-decoration:none;color:#000;transition:all .3s ease}.page-details-wrapper .return-link:hover{color:#1c6758}.page-details-wrapper .left{margin-right:25px;min-width:300px}@media screen and (max-width: 700px){.page-details-wrapper .left{margin-right:0}}.page-details-wrapper .left img{width:300px;height:250px;border-radius:15px}.page-details-wrapper .right .info-container{display:flex;flex-direction:column}.page-details-wrapper .right .info-container .name{font-size:24px} diff --git a/assets/index-e8be64bf.js b/assets/index-599475d0.js similarity index 97% rename from assets/index-e8be64bf.js rename to assets/index-599475d0.js index bbbef110..b969887d 100644 --- a/assets/index-e8be64bf.js +++ b/assets/index-599475d0.js @@ -37,7 +37,7 @@ function bc(e,t){for(var n=0;n")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=u);break}}}finally{Fl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ln(e):""}function zf(e){switch(e.tag){case 5:return Ln(e.type);case 16:return Ln("Lazy");case 13:return Ln("Suspense");case 19:return Ln("SuspenseList");case 0:case 2:case 15:return e=$l(e.type,!1),e;case 11:return e=$l(e.type.render,!1),e;case 1:return e=$l(e.type,!0),e;default:return""}}function vo(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 Bt:return"Fragment";case $t:return"Portal";case po:return"Profiler";case hi:return"StrictMode";case ho:return"Suspense";case mo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Vs:return(e.displayName||"Context")+".Consumer";case Bs:return(e._context.displayName||"Context")+".Provider";case mi:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case vi:return t=e.displayName||null,t!==null?t:vo(e.type)||"Memo";case et:t=e._payload,e=e._init;try{return vo(e(t))}catch{}}return null}function Rf(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 vo(t);case 8:return t===hi?"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 yt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ws(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Tf(e){var t=Ws(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,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function mr(e){e._valueTracker||(e._valueTracker=Tf(e))}function Hs(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ws(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Wr(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 yo(e,t){var n=t.checked;return A({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function hu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=yt(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 Qs(e,t){t=t.checked,t!=null&&pi(e,"checked",t,!1)}function go(e,t){Qs(e,t);var n=yt(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")?wo(e,t.type,n):t.hasOwnProperty("defaultValue")&&wo(e,t.type,yt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function mu(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 wo(e,t,n){(t!=="number"||Wr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var zn=Array.isArray;function Zt(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=vr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Wn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var jn={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},jf=["Webkit","ms","Moz","O"];Object.keys(jn).forEach(function(e){jf.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),jn[t]=jn[e]})});function Gs(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||jn.hasOwnProperty(e)&&jn[e]?(""+t).trim():t+"px"}function Js(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Gs(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Of=A({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 xo(e,t){if(t){if(Of[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(g(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(g(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(g(61))}if(t.style!=null&&typeof t.style!="object")throw Error(g(62))}}function Eo(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 Co=null;function yi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var _o=null,qt=null,bt=null;function gu(e){if(e=ar(e)){if(typeof _o!="function")throw Error(g(280));var t=e.stateNode;t&&(t=kl(t),_o(e.stateNode,e.type,t))}}function Zs(e){qt?bt?bt.push(e):bt=[e]:qt=e}function qs(){if(qt){var e=qt,t=bt;if(bt=qt=null,gu(e),t)for(e=0;e>>=0,e===0?32:31-(Hf(e)/Qf|0)|0}var yr=64,gr=4194304;function Rn(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 Yr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var u=i&~l;u!==0?r=Rn(u):(o&=i,o!==0&&(r=Rn(o)))}else i=n&~l,i!==0?r=Rn(i):o!==0&&(r=Rn(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&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 ur(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Oe(t),e[t]=n}function Gf(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=Mn),Nu=String.fromCharCode(32),Lu=!1;function ga(e,t){switch(e){case"keyup":return Ed.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wa(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Vt=!1;function _d(e,t){switch(e){case"compositionend":return wa(t);case"keypress":return t.which!==32?null:(Lu=!0,Nu);case"textInput":return e=t.data,e===Nu&&Lu?null:e;default:return null}}function Pd(e,t){if(Vt)return e==="compositionend"||!_i&&ga(e,t)?(e=va(),Or=xi=lt=null,Vt=!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=ju(n)}}function Ea(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ea(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ca(){for(var e=window,t=Wr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Wr(e.document)}return t}function Pi(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 Id(e){var t=Ca(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ea(n.ownerDocument.documentElement,n)){if(r!==null&&Pi(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,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=Ou(n,o);var i=Ou(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.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,At=null,To=null,Dn=null,jo=!1;function Mu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;jo||At==null||At!==Wr(r)||(r=At,"selectionStart"in r&&Pi(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}),Dn&&Gn(Dn,r)||(Dn=r,r=Jr(To,"onSelect"),0Qt||(e.current=Fo[Qt],Fo[Qt]=null,Qt--)}function D(e,t){Qt++,Fo[Qt]=e.current,e.current=t}var gt={},ie=St(gt),pe=St(!1),Tt=gt;function ln(e,t){var n=e.type.contextTypes;if(!n)return gt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function he(e){return e=e.childContextTypes,e!=null}function qr(){F(pe),F(ie)}function Vu(e,t,n){if(ie.current!==gt)throw Error(g(168));D(ie,t),D(pe,n)}function Oa(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(g(108,Rf(e)||"Unknown",l));return A({},n,r)}function br(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||gt,Tt=ie.current,D(ie,e),D(pe,pe.current),!0}function Au(e,t,n){var r=e.stateNode;if(!r)throw Error(g(169));n?(e=Oa(e,t,Tt),r.__reactInternalMemoizedMergedChildContext=e,F(pe),F(ie),D(ie,e)):F(pe),D(pe,n)}var Ae=null,xl=!1,bl=!1;function Ma(e){Ae===null?Ae=[e]:Ae.push(e)}function Yd(e){xl=!0,Ma(e)}function kt(){if(!bl&&Ae!==null){bl=!0;var e=0,t=I;try{var n=Ae;for(I=1;e>=i,l-=i,We=1<<32-Oe(t)+l|n<L?(H=N,N=null):H=N.sibling;var O=h(f,N,d[L],v);if(O===null){N===null&&(N=H);break}e&&N&&O.alternate===null&&t(f,N),c=o(O,c,L),P===null?x=O:P.sibling=O,P=O,N=H}if(L===d.length)return n(f,N),$&&Ct(f,L),x;if(N===null){for(;LL?(H=N,N=null):H=N.sibling;var Le=h(f,N,O.value,v);if(Le===null){N===null&&(N=H);break}e&&N&&Le.alternate===null&&t(f,N),c=o(Le,c,L),P===null?x=Le:P.sibling=Le,P=Le,N=H}if(O.done)return n(f,N),$&&Ct(f,L),x;if(N===null){for(;!O.done;L++,O=d.next())O=m(f,O.value,v),O!==null&&(c=o(O,c,L),P===null?x=O:P.sibling=O,P=O);return $&&Ct(f,L),x}for(N=r(f,N);!O.done;L++,O=d.next())O=S(N,f,L,O.value,v),O!==null&&(e&&O.alternate!==null&&N.delete(O.key===null?L:O.key),c=o(O,c,L),P===null?x=O:P.sibling=O,P=O);return e&&N.forEach(function(gn){return t(f,gn)}),$&&Ct(f,L),x}function z(f,c,d,v){if(typeof d=="object"&&d!==null&&d.type===Bt&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case hr:e:{for(var x=d.key,P=c;P!==null;){if(P.key===x){if(x=d.type,x===Bt){if(P.tag===7){n(f,P.sibling),c=l(P,d.props.children),c.return=f,f=c;break e}}else if(P.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===et&&Gu(x)===P.type){n(f,P.sibling),c=l(P,d.props),c.ref=_n(f,P,d),c.return=f,f=c;break e}n(f,P);break}else t(f,P);P=P.sibling}d.type===Bt?(c=Rt(d.props.children,f.mode,v,d.key),c.return=f,f=c):(v=Vr(d.type,d.key,d.props,null,f.mode,v),v.ref=_n(f,c,d),v.return=f,f=v)}return i(f);case $t:e:{for(P=d.key;c!==null;){if(c.key===P)if(c.tag===4&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(f,c.sibling),c=l(c,d.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=uo(d,f.mode,v),c.return=f,f=c}return i(f);case et:return P=d._init,z(f,c,P(d._payload),v)}if(zn(d))return w(f,c,d,v);if(Sn(d))return y(f,c,d,v);_r(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,c!==null&&c.tag===6?(n(f,c.sibling),c=l(c,d),c.return=f,f=c):(n(f,c),c=io(d,f.mode,v),c.return=f,f=c),i(f)):n(f,c)}return z}var un=Aa(!0),Wa=Aa(!1),cr={},Be=St(cr),bn=St(cr),er=St(cr);function Lt(e){if(e===cr)throw Error(g(174));return e}function Ii(e,t){switch(D(er,t),D(bn,e),D(Be,cr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ko(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ko(t,e)}F(Be),D(Be,t)}function sn(){F(Be),F(bn),F(er)}function Ha(e){Lt(er.current);var t=Lt(Be.current),n=ko(t,e.type);t!==n&&(D(bn,e),D(Be,n))}function Di(e){bn.current===e&&(F(Be),F(bn))}var B=St(0);function ol(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var eo=[];function Ui(){for(var e=0;en?n:4,e(!0);var r=to.transition;to.transition={};try{e(!1),t()}finally{I=n,to.transition=r}}function ic(){return Ne().memoizedState}function Zd(e,t,n){var r=pt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},uc(e))sc(t,n);else if(n=Fa(e,t,n,r),n!==null){var l=se();Me(n,e,r,l),ac(n,t,r)}}function qd(e,t,n){var r=pt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(uc(e))sc(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,u=o(i,n);if(l.hasEagerState=!0,l.eagerState=u,Ie(u,i)){var s=t.interleaved;s===null?(l.next=l,Oi(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=Fa(e,t,l,r),n!==null&&(l=se(),Me(n,e,r,l),ac(n,t,r))}}function uc(e){var t=e.alternate;return e===V||t!==null&&t===V}function sc(e,t){Un=il=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ac(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,wi(e,n)}}var ul={readContext:Pe,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},bd={readContext:Pe,useCallback:function(e,t){return Ue().memoizedState=[e,t===void 0?null:t],e},useContext:Pe,useEffect:Zu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ur(4194308,4,tc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ur(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ur(4,2,e,t)},useMemo:function(e,t){var n=Ue();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ue();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=Zd.bind(null,V,e),[r.memoizedState,e]},useRef:function(e){var t=Ue();return e={current:e},t.memoizedState=e},useState:Ju,useDebugValue:Ai,useDeferredValue:function(e){return Ue().memoizedState=e},useTransition:function(){var e=Ju(!1),t=e[0];return e=Jd.bind(null,e[1]),Ue().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=V,l=Ue();if($){if(n===void 0)throw Error(g(407));n=n()}else{if(n=t(),b===null)throw Error(g(349));Ot&30||Ya(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,Zu(Ga.bind(null,r,o,e),[e]),r.flags|=2048,rr(9,Xa.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ue(),t=b.identifierPrefix;if($){var n=He,r=We;n=(r&~(1<<32-Oe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=tr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Fe]=t,e[qn]=r,gc(e,t,!1,!1),t.stateNode=e;e:{switch(i=Eo(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;lcn&&(t.flags|=128,r=!0,Pn(o,!1),t.lanes=4194304)}else{if(!r)if(e=ol(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Pn(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!$)return le(t),null}else 2*K()-o.renderingStartTime>cn&&n!==1073741824&&(t.flags|=128,r=!0,Pn(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=K(),t.sibling=null,n=B.current,D(B,r?n&1|2:n&1),t):(le(t),null);case 22:case 23:return Xi(),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(g(156,t.tag))}function up(e,t){switch(Li(t),t.tag){case 1:return he(t.type)&&qr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return sn(),F(pe),F(ie),Ui(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Di(t),null;case 13:if(F(B),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(g(340));on()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return F(B),null;case 4:return sn(),null;case 10:return ji(t.type._context),null;case 22:case 23:return Xi(),null;case 24:return null;default:return null}}var Nr=!1,oe=!1,sp=typeof WeakSet=="function"?WeakSet:Set,E=null;function Gt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){W(e,t,r)}else n.current=null}function Jo(e,t,n){try{n()}catch(r){W(e,t,r)}}var is=!1;function ap(e,t){if(Oo=Xr,e=Ca(),Pi(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,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,u=-1,s=-1,a=0,p=0,m=e,h=null;t:for(;;){for(var S;m!==n||l!==0&&m.nodeType!==3||(u=i+l),m!==o||r!==0&&m.nodeType!==3||(s=i+r),m.nodeType===3&&(i+=m.nodeValue.length),(S=m.firstChild)!==null;)h=m,m=S;for(;;){if(m===e)break t;if(h===n&&++a===l&&(u=i),h===o&&++p===r&&(s=i),(S=m.nextSibling)!==null)break;m=h,h=m.parentNode}m=S}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Mo={focusedElem:e,selectionRange:n},Xr=!1,E=t;E!==null;)if(t=E,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,E=e;else for(;E!==null;){t=E;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var y=w.memoizedProps,z=w.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?y:Re(t.type,y),z);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(g(163))}}catch(v){W(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,E=e;break}E=t.return}return w=is,is=!1,w}function Fn(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 o=l.destroy;l.destroy=void 0,o!==void 0&&Jo(t,n,o)}l=l.next}while(l!==r)}}function _l(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 Zo(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 kc(e){var t=e.alternate;t!==null&&(e.alternate=null,kc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Fe],delete t[qn],delete t[Uo],delete t[Qd],delete t[Kd])),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 xc(e){return e.tag===5||e.tag===3||e.tag===4}function us(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||xc(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 qo(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=Zr));else if(r!==4&&(e=e.child,e!==null))for(qo(e,t,n),e=e.sibling;e!==null;)qo(e,t,n),e=e.sibling}function bo(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(bo(e,t,n),e=e.sibling;e!==null;)bo(e,t,n),e=e.sibling}var ee=null,Te=!1;function be(e,t,n){for(n=n.child;n!==null;)Ec(e,t,n),n=n.sibling}function Ec(e,t,n){if($e&&typeof $e.onCommitFiberUnmount=="function")try{$e.onCommitFiberUnmount(yl,n)}catch{}switch(n.tag){case 5:oe||Gt(n,t);case 6:var r=ee,l=Te;ee=null,be(e,t,n),ee=r,Te=l,ee!==null&&(Te?(e=ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ee.removeChild(n.stateNode));break;case 18:ee!==null&&(Te?(e=ee,n=n.stateNode,e.nodeType===8?ql(e.parentNode,n):e.nodeType===1&&ql(e,n),Yn(e)):ql(ee,n.stateNode));break;case 4:r=ee,l=Te,ee=n.stateNode.containerInfo,Te=!0,be(e,t,n),ee=r,Te=l;break;case 0:case 11:case 14:case 15:if(!oe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&Jo(n,t,i),l=l.next}while(l!==r)}be(e,t,n);break;case 1:if(!oe&&(Gt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){W(n,t,u)}be(e,t,n);break;case 21:be(e,t,n);break;case 22:n.mode&1?(oe=(r=oe)||n.memoizedState!==null,be(e,t,n),oe=r):be(e,t,n);break;default:be(e,t,n)}}function ss(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new sp),t.forEach(function(r){var l=gp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function ze(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}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*fp(r/1960))-r,10e?16:e,ot===null)var r=!1;else{if(e=ot,ot=null,cl=0,M&6)throw Error(g(331));var l=M;for(M|=4,E=e.current;E!==null;){var o=E,i=o.child;if(E.flags&16){var u=o.deletions;if(u!==null){for(var s=0;sK()-Ki?zt(e,0):Qi|=n),me(e,t)}function Tc(e,t){t===0&&(e.mode&1?(t=gr,gr<<=1,!(gr&130023424)&&(gr=4194304)):t=1);var n=se();e=Ge(e,t),e!==null&&(ur(e,t,n),me(e,n))}function yp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Tc(e,n)}function gp(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(g(314))}r!==null&&r.delete(t),Tc(e,n)}var jc;jc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||pe.current)de=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return de=!1,op(e,t,n);de=!!(e.flags&131072)}else de=!1,$&&t.flags&1048576&&Ia(t,tl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Fr(e,t),e=t.pendingProps;var l=ln(t,ie.current);tn(t,n),l=$i(null,t,r,e,l,n);var o=Bi();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,he(r)?(o=!0,br(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Mi(t),l.updater=El,t.stateNode=l,l._reactInternals=t,Wo(t,r,e,n),t=Ko(null,t,r,!0,o,n)):(t.tag=0,$&&o&&Ni(t),ue(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Fr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Sp(r),e=Re(r,e),l){case 0:t=Qo(null,t,r,e,n);break e;case 1:t=rs(null,t,r,e,n);break e;case 11:t=ts(null,t,r,e,n);break e;case 14:t=ns(null,t,r,Re(r.type,e),n);break e}throw Error(g(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),Qo(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),rs(e,t,r,l,n);case 3:e:{if(mc(t),e===null)throw Error(g(387));r=t.pendingProps,o=t.memoizedState,l=o.element,$a(e,t),ll(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=an(Error(g(423)),t),t=ls(e,t,r,n,l);break e}else if(r!==l){l=an(Error(g(424)),t),t=ls(e,t,r,n,l);break e}else for(ye=ct(t.stateNode.containerInfo.firstChild),ge=t,$=!0,je=null,n=Wa(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(on(),r===l){t=Je(e,t,n);break e}ue(e,t,r,n)}t=t.child}return t;case 5:return Ha(t),e===null&&Bo(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,Io(r,l)?i=null:o!==null&&Io(r,o)&&(t.flags|=32),hc(e,t),ue(e,t,i,n),t.child;case 6:return e===null&&Bo(t),null;case 13:return vc(e,t,n);case 4:return Ii(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=un(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:Re(r,l),ts(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,o=t.memoizedProps,i=l.value,D(nl,r._currentValue),r._currentValue=i,o!==null)if(Ie(o.value,i)){if(o.children===l.children&&!pe.current){t=Je(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var u=o.dependencies;if(u!==null){i=o.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=Ke(-1,n&-n),s.tag=2;var a=o.updateQueue;if(a!==null){a=a.shared;var p=a.pending;p===null?s.next=s:(s.next=p.next,p.next=s),a.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Vo(o.return,n,t),u.lanes|=n;break}s=s.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(g(341));i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Vo(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}ue(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,tn(t,n),l=Pe(l),r=r(l),t.flags|=1,ue(e,t,r,n),t.child;case 14:return r=t.type,l=Re(r,t.pendingProps),l=Re(r.type,l),ns(e,t,r,l,n);case 15:return dc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),Fr(e,t),t.tag=1,he(r)?(e=!0,br(t)):e=!1,tn(t,n),Va(t,r,l),Wo(t,r,l,n),Ko(null,t,r,!0,e,n);case 19:return yc(e,t,n);case 22:return pc(e,t,n)}throw Error(g(156,t.tag))};function Oc(e,t){return oa(e,t)}function wp(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 Ce(e,t,n,r){return new wp(e,t,n,r)}function Ji(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Sp(e){if(typeof e=="function")return Ji(e)?1:0;if(e!=null){if(e=e.$$typeof,e===mi)return 11;if(e===vi)return 14}return 2}function ht(e,t){var n=e.alternate;return n===null?(n=Ce(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 Vr(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")Ji(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Bt:return Rt(n.children,l,o,t);case hi:i=8,l|=8;break;case po:return e=Ce(12,n,t,l|2),e.elementType=po,e.lanes=o,e;case ho:return e=Ce(13,n,t,l),e.elementType=ho,e.lanes=o,e;case mo:return e=Ce(19,n,t,l),e.elementType=mo,e.lanes=o,e;case As:return Nl(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Bs:i=10;break e;case Vs:i=9;break e;case mi:i=11;break e;case vi:i=14;break e;case et:i=16,r=null;break e}throw Error(g(130,e==null?e:typeof e,""))}return t=Ce(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function Rt(e,t,n,r){return e=Ce(7,e,r,t),e.lanes=n,e}function Nl(e,t,n,r){return e=Ce(22,e,r,t),e.elementType=As,e.lanes=n,e.stateNode={isHidden:!1},e}function io(e,t,n){return e=Ce(6,e,null,t),e.lanes=n,e}function uo(e,t,n){return t=Ce(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function kp(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=Vl(0),this.expirationTimes=Vl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Zi(e,t,n,r,l,o,i,u,s){return e=new kp(e,t,n,u,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ce(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mi(o),e}function xp(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Uc)}catch(e){console.error(e)}}Uc(),Is.exports=Se;var Np=Is.exports,vs=Np;co.createRoot=vs.createRoot,co.hydrateRoot=vs.hydrateRoot;const Lp="/bmstu/assets/logo-1c7d9f8c.png",zp=()=>_.jsx("div",{className:"header-wrapper",children:_.jsx("img",{src:Lp,alt:""})});/** +`+o.stack}return{value:e,source:t,stack:l,digest:null}}function lo(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ho(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var np=typeof WeakMap=="function"?WeakMap:Map;function cc(e,t,n){n=Ke(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){al||(al=!0,ei=r),Ho(e,t)},n}function fc(e,t,n){n=Ke(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){Ho(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Ho(e,t),typeof r!="function"&&(dt===null?dt=new Set([this]):dt.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function qu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new np;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=vp.bind(null,e,t,n),t.then(e,e))}function bu(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function es(e,t,n,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Ke(-1,1),t.tag=2,ft(n,t,1))),n.lanes|=1),e)}var rp=Ze.ReactCurrentOwner,de=!1;function ue(e,t,n,r){t.child=e===null?Wa(t,null,n,r):un(t,e.child,n,r)}function ts(e,t,n,r,l){n=n.render;var o=t.ref;return tn(t,l),r=$i(e,t,n,r,o,l),n=Bi(),e!==null&&!de?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Je(e,t,l)):($&&n&&Ni(t),t.flags|=1,ue(e,t,r,l),t.child)}function ns(e,t,n,r,l){if(e===null){var o=n.type;return typeof o=="function"&&!Ji(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,dc(e,t,o,r,l)):(e=Vr(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&l)){var i=o.memoizedProps;if(n=n.compare,n=n!==null?n:Gn,n(i,r)&&e.ref===t.ref)return Je(e,t,l)}return t.flags|=1,e=ht(o,r),e.ref=t.ref,e.return=t,t.child=e}function dc(e,t,n,r,l){if(e!==null){var o=e.memoizedProps;if(Gn(o,r)&&e.ref===t.ref)if(de=!1,t.pendingProps=r=o,(e.lanes&l)!==0)e.flags&131072&&(de=!0);else return t.lanes=e.lanes,Je(e,t,l)}return Qo(e,t,n,r,l)}function pc(e,t,n){var r=t.pendingProps,l=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},D(Jt,ve),ve|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,D(Jt,ve),ve|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,D(Jt,ve),ve|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,D(Jt,ve),ve|=r;return ue(e,t,l,n),t.child}function hc(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Qo(e,t,n,r,l){var o=he(n)?Tt:ie.current;return o=ln(t,o),tn(t,l),n=$i(e,t,n,r,o,l),r=Bi(),e!==null&&!de?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Je(e,t,l)):($&&r&&Ni(t),t.flags|=1,ue(e,t,n,l),t.child)}function rs(e,t,n,r,l){if(he(n)){var o=!0;br(t)}else o=!1;if(tn(t,l),t.stateNode===null)Fr(e,t),Va(t,n,r),Wo(t,n,r,l),r=!0;else if(e===null){var i=t.stateNode,u=t.memoizedProps;i.props=u;var s=i.context,a=n.contextType;typeof a=="object"&&a!==null?a=Pe(a):(a=he(n)?Tt:ie.current,a=ln(t,a));var p=n.getDerivedStateFromProps,m=typeof p=="function"||typeof i.getSnapshotBeforeUpdate=="function";m||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(u!==r||s!==a)&&Xu(t,i,r,a),tt=!1;var h=t.memoizedState;i.state=h,ll(t,r,i,l),s=t.memoizedState,u!==r||h!==s||pe.current||tt?(typeof p=="function"&&(Ao(t,n,p,r),s=t.memoizedState),(u=tt||Yu(t,n,u,r,h,s,a))?(m||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=a,r=u):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,$a(e,t),u=t.memoizedProps,a=t.type===t.elementType?u:Re(t.type,u),i.props=a,m=t.pendingProps,h=i.context,s=n.contextType,typeof s=="object"&&s!==null?s=Pe(s):(s=he(n)?Tt:ie.current,s=ln(t,s));var S=n.getDerivedStateFromProps;(p=typeof S=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(u!==m||h!==s)&&Xu(t,i,r,s),tt=!1,h=t.memoizedState,i.state=h,ll(t,r,i,l);var w=t.memoizedState;u!==m||h!==w||pe.current||tt?(typeof S=="function"&&(Ao(t,n,S,r),w=t.memoizedState),(a=tt||Yu(t,n,a,r,h,w,s)||!1)?(p||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,w,s),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,w,s)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),i.props=r,i.state=w,i.context=s,r=a):(typeof i.componentDidUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Ko(e,t,n,r,o,l)}function Ko(e,t,n,r,l,o){hc(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return l&&Au(t,n,!1),Je(e,t,o);r=t.stateNode,rp.current=t;var u=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=un(t,e.child,null,o),t.child=un(t,null,u,o)):ue(e,t,u,o),t.memoizedState=r.state,l&&Au(t,n,!0),t.child}function mc(e){var t=e.stateNode;t.pendingContext?Vu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Vu(e,t.context,!1),Ii(e,t.containerInfo)}function ls(e,t,n,r,l){return on(),zi(l),t.flags|=256,ue(e,t,n,r),t.child}var Yo={dehydrated:null,treeContext:null,retryLane:0};function Xo(e){return{baseLanes:e,cachePool:null,transitions:null}}function vc(e,t,n){var r=t.pendingProps,l=B.current,o=!1,i=(t.flags&128)!==0,u;if((u=i)||(u=e!==null&&e.memoizedState===null?!1:(l&2)!==0),u?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),D(B,l&1),e===null)return Bo(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=r.children,e=r.fallback,o?(r=t.mode,o=t.child,i={mode:"hidden",children:i},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=i):o=Nl(i,r,0,null),e=Rt(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Xo(n),t.memoizedState=Yo,e):Wi(t,i));if(l=e.memoizedState,l!==null&&(u=l.dehydrated,u!==null))return lp(e,t,i,r,u,l,n);if(o){o=r.fallback,i=t.mode,l=e.child,u=l.sibling;var s={mode:"hidden",children:r.children};return!(i&1)&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=s,t.deletions=null):(r=ht(l,s),r.subtreeFlags=l.subtreeFlags&14680064),u!==null?o=ht(u,o):(o=Rt(o,i,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,i=e.child.memoizedState,i=i===null?Xo(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},o.memoizedState=i,o.childLanes=e.childLanes&~n,t.memoizedState=Yo,r}return o=e.child,e=o.sibling,r=ht(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Wi(e,t){return t=Nl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Pr(e,t,n,r){return r!==null&&zi(r),un(t,e.child,null,n),e=Wi(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function lp(e,t,n,r,l,o,i){if(n)return t.flags&256?(t.flags&=-257,r=lo(Error(g(422))),Pr(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,l=t.mode,r=Nl({mode:"visible",children:r.children},l,0,null),o=Rt(o,l,i,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&un(t,e.child,null,i),t.child.memoizedState=Xo(i),t.memoizedState=Yo,o);if(!(t.mode&1))return Pr(e,t,i,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var u=r.dgst;return r=u,o=Error(g(419)),r=lo(o,r,void 0),Pr(e,t,i,r)}if(u=(i&e.childLanes)!==0,de||u){if(r=b,r!==null){switch(i&-i){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|i)?0:l,l!==0&&l!==o.retryLane&&(o.retryLane=l,Ge(e,l),Me(r,e,l,-1))}return Gi(),r=lo(Error(g(421))),Pr(e,t,i,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=yp.bind(null,e),l._reactRetry=t,null):(e=o.treeContext,ye=ct(l.nextSibling),ge=t,$=!0,je=null,e!==null&&(xe[Ee++]=We,xe[Ee++]=He,xe[Ee++]=jt,We=e.id,He=e.overflow,jt=t),t=Wi(t,r.children),t.flags|=4096,t)}function os(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Vo(e.return,t,n)}function oo(e,t,n,r,l){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=l)}function yc(e,t,n){var r=t.pendingProps,l=r.revealOrder,o=r.tail;if(ue(e,t,r.children,n),r=B.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&os(e,n,t);else if(e.tag===19)os(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(D(B,r),!(t.mode&1))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&ol(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),oo(t,!1,l,n,o);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&ol(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}oo(t,!0,n,null,o);break;case"together":oo(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Fr(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Je(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Mt|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(g(153));if(t.child!==null){for(e=t.child,n=ht(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ht(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function op(e,t,n){switch(t.tag){case 3:mc(t),on();break;case 5:Ha(t);break;case 1:he(t.type)&&br(t);break;case 4:Ii(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;D(nl,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(D(B,B.current&1),t.flags|=128,null):n&t.child.childLanes?vc(e,t,n):(D(B,B.current&1),e=Je(e,t,n),e!==null?e.sibling:null);D(B,B.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return yc(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),D(B,B.current),r)break;return null;case 22:case 23:return t.lanes=0,pc(e,t,n)}return Je(e,t,n)}var gc,Go,wc,Sc;gc=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Go=function(){};wc=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,Lt(Be.current);var o=null;switch(n){case"input":l=yo(e,l),r=yo(e,r),o=[];break;case"select":l=A({},l,{value:void 0}),r=A({},r,{value:void 0}),o=[];break;case"textarea":l=So(e,l),r=So(e,r),o=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Zr)}xo(n,r);var i;n=null;for(a in l)if(!r.hasOwnProperty(a)&&l.hasOwnProperty(a)&&l[a]!=null)if(a==="style"){var u=l[a];for(i in u)u.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else a!=="dangerouslySetInnerHTML"&&a!=="children"&&a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(An.hasOwnProperty(a)?o||(o=[]):(o=o||[]).push(a,null));for(a in r){var s=r[a];if(u=l!=null?l[a]:void 0,r.hasOwnProperty(a)&&s!==u&&(s!=null||u!=null))if(a==="style")if(u){for(i in u)!u.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&u[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(o||(o=[]),o.push(a,n)),n=s;else a==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,u=u?u.__html:void 0,s!=null&&u!==s&&(o=o||[]).push(a,s)):a==="children"?typeof s!="string"&&typeof s!="number"||(o=o||[]).push(a,""+s):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&(An.hasOwnProperty(a)?(s!=null&&a==="onScroll"&&U("scroll",e),o||u===s||(o=[])):(o=o||[]).push(a,s))}n&&(o=o||[]).push("style",n);var a=o;(t.updateQueue=a)&&(t.flags|=4)}};Sc=function(e,t,n,r){n!==r&&(t.flags|=4)};function Pn(e,t){if(!$)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function le(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function ip(e,t,n){var r=t.pendingProps;switch(Li(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return le(t),null;case 1:return he(t.type)&&qr(),le(t),null;case 3:return r=t.stateNode,sn(),F(pe),F(ie),Ui(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Cr(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,je!==null&&(ri(je),je=null))),Go(e,t),le(t),null;case 5:Di(t);var l=Lt(er.current);if(n=t.type,e!==null&&t.stateNode!=null)wc(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(g(166));return le(t),null}if(e=Lt(Be.current),Cr(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Fe]=t,r[qn]=o,e=(t.mode&1)!==0,n){case"dialog":U("cancel",r),U("close",r);break;case"iframe":case"object":case"embed":U("load",r);break;case"video":case"audio":for(l=0;l<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Fe]=t,e[qn]=r,gc(e,t,!1,!1),t.stateNode=e;e:{switch(i=Eo(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;lcn&&(t.flags|=128,r=!0,Pn(o,!1),t.lanes=4194304)}else{if(!r)if(e=ol(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Pn(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!$)return le(t),null}else 2*K()-o.renderingStartTime>cn&&n!==1073741824&&(t.flags|=128,r=!0,Pn(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=K(),t.sibling=null,n=B.current,D(B,r?n&1|2:n&1),t):(le(t),null);case 22:case 23:return Xi(),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(g(156,t.tag))}function up(e,t){switch(Li(t),t.tag){case 1:return he(t.type)&&qr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return sn(),F(pe),F(ie),Ui(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Di(t),null;case 13:if(F(B),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(g(340));on()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return F(B),null;case 4:return sn(),null;case 10:return ji(t.type._context),null;case 22:case 23:return Xi(),null;case 24:return null;default:return null}}var Nr=!1,oe=!1,sp=typeof WeakSet=="function"?WeakSet:Set,E=null;function Gt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){W(e,t,r)}else n.current=null}function Jo(e,t,n){try{n()}catch(r){W(e,t,r)}}var is=!1;function ap(e,t){if(Oo=Xr,e=Ca(),Pi(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,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,u=-1,s=-1,a=0,p=0,m=e,h=null;t:for(;;){for(var S;m!==n||l!==0&&m.nodeType!==3||(u=i+l),m!==o||r!==0&&m.nodeType!==3||(s=i+r),m.nodeType===3&&(i+=m.nodeValue.length),(S=m.firstChild)!==null;)h=m,m=S;for(;;){if(m===e)break t;if(h===n&&++a===l&&(u=i),h===o&&++p===r&&(s=i),(S=m.nextSibling)!==null)break;m=h,h=m.parentNode}m=S}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Mo={focusedElem:e,selectionRange:n},Xr=!1,E=t;E!==null;)if(t=E,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,E=e;else for(;E!==null;){t=E;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var y=w.memoizedProps,z=w.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?y:Re(t.type,y),z);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(g(163))}}catch(v){W(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,E=e;break}E=t.return}return w=is,is=!1,w}function Fn(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 o=l.destroy;l.destroy=void 0,o!==void 0&&Jo(t,n,o)}l=l.next}while(l!==r)}}function _l(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 Zo(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 kc(e){var t=e.alternate;t!==null&&(e.alternate=null,kc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Fe],delete t[qn],delete t[Uo],delete t[Qd],delete t[Kd])),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 xc(e){return e.tag===5||e.tag===3||e.tag===4}function us(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||xc(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 qo(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=Zr));else if(r!==4&&(e=e.child,e!==null))for(qo(e,t,n),e=e.sibling;e!==null;)qo(e,t,n),e=e.sibling}function bo(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(bo(e,t,n),e=e.sibling;e!==null;)bo(e,t,n),e=e.sibling}var ee=null,Te=!1;function be(e,t,n){for(n=n.child;n!==null;)Ec(e,t,n),n=n.sibling}function Ec(e,t,n){if($e&&typeof $e.onCommitFiberUnmount=="function")try{$e.onCommitFiberUnmount(yl,n)}catch{}switch(n.tag){case 5:oe||Gt(n,t);case 6:var r=ee,l=Te;ee=null,be(e,t,n),ee=r,Te=l,ee!==null&&(Te?(e=ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ee.removeChild(n.stateNode));break;case 18:ee!==null&&(Te?(e=ee,n=n.stateNode,e.nodeType===8?ql(e.parentNode,n):e.nodeType===1&&ql(e,n),Yn(e)):ql(ee,n.stateNode));break;case 4:r=ee,l=Te,ee=n.stateNode.containerInfo,Te=!0,be(e,t,n),ee=r,Te=l;break;case 0:case 11:case 14:case 15:if(!oe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&Jo(n,t,i),l=l.next}while(l!==r)}be(e,t,n);break;case 1:if(!oe&&(Gt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){W(n,t,u)}be(e,t,n);break;case 21:be(e,t,n);break;case 22:n.mode&1?(oe=(r=oe)||n.memoizedState!==null,be(e,t,n),oe=r):be(e,t,n);break;default:be(e,t,n)}}function ss(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new sp),t.forEach(function(r){var l=gp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function ze(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}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*fp(r/1960))-r,10e?16:e,ot===null)var r=!1;else{if(e=ot,ot=null,cl=0,M&6)throw Error(g(331));var l=M;for(M|=4,E=e.current;E!==null;){var o=E,i=o.child;if(E.flags&16){var u=o.deletions;if(u!==null){for(var s=0;sK()-Ki?zt(e,0):Qi|=n),me(e,t)}function Tc(e,t){t===0&&(e.mode&1?(t=gr,gr<<=1,!(gr&130023424)&&(gr=4194304)):t=1);var n=se();e=Ge(e,t),e!==null&&(ur(e,t,n),me(e,n))}function yp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Tc(e,n)}function gp(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(g(314))}r!==null&&r.delete(t),Tc(e,n)}var jc;jc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||pe.current)de=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return de=!1,op(e,t,n);de=!!(e.flags&131072)}else de=!1,$&&t.flags&1048576&&Ia(t,tl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Fr(e,t),e=t.pendingProps;var l=ln(t,ie.current);tn(t,n),l=$i(null,t,r,e,l,n);var o=Bi();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,he(r)?(o=!0,br(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Mi(t),l.updater=El,t.stateNode=l,l._reactInternals=t,Wo(t,r,e,n),t=Ko(null,t,r,!0,o,n)):(t.tag=0,$&&o&&Ni(t),ue(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Fr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Sp(r),e=Re(r,e),l){case 0:t=Qo(null,t,r,e,n);break e;case 1:t=rs(null,t,r,e,n);break e;case 11:t=ts(null,t,r,e,n);break e;case 14:t=ns(null,t,r,Re(r.type,e),n);break e}throw Error(g(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),Qo(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),rs(e,t,r,l,n);case 3:e:{if(mc(t),e===null)throw Error(g(387));r=t.pendingProps,o=t.memoizedState,l=o.element,$a(e,t),ll(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=an(Error(g(423)),t),t=ls(e,t,r,n,l);break e}else if(r!==l){l=an(Error(g(424)),t),t=ls(e,t,r,n,l);break e}else for(ye=ct(t.stateNode.containerInfo.firstChild),ge=t,$=!0,je=null,n=Wa(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(on(),r===l){t=Je(e,t,n);break e}ue(e,t,r,n)}t=t.child}return t;case 5:return Ha(t),e===null&&Bo(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,Io(r,l)?i=null:o!==null&&Io(r,o)&&(t.flags|=32),hc(e,t),ue(e,t,i,n),t.child;case 6:return e===null&&Bo(t),null;case 13:return vc(e,t,n);case 4:return Ii(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=un(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:Re(r,l),ts(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,o=t.memoizedProps,i=l.value,D(nl,r._currentValue),r._currentValue=i,o!==null)if(Ie(o.value,i)){if(o.children===l.children&&!pe.current){t=Je(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var u=o.dependencies;if(u!==null){i=o.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=Ke(-1,n&-n),s.tag=2;var a=o.updateQueue;if(a!==null){a=a.shared;var p=a.pending;p===null?s.next=s:(s.next=p.next,p.next=s),a.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Vo(o.return,n,t),u.lanes|=n;break}s=s.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(g(341));i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Vo(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}ue(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,tn(t,n),l=Pe(l),r=r(l),t.flags|=1,ue(e,t,r,n),t.child;case 14:return r=t.type,l=Re(r,t.pendingProps),l=Re(r.type,l),ns(e,t,r,l,n);case 15:return dc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),Fr(e,t),t.tag=1,he(r)?(e=!0,br(t)):e=!1,tn(t,n),Va(t,r,l),Wo(t,r,l,n),Ko(null,t,r,!0,e,n);case 19:return yc(e,t,n);case 22:return pc(e,t,n)}throw Error(g(156,t.tag))};function Oc(e,t){return oa(e,t)}function wp(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 Ce(e,t,n,r){return new wp(e,t,n,r)}function Ji(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Sp(e){if(typeof e=="function")return Ji(e)?1:0;if(e!=null){if(e=e.$$typeof,e===mi)return 11;if(e===vi)return 14}return 2}function ht(e,t){var n=e.alternate;return n===null?(n=Ce(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 Vr(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")Ji(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Bt:return Rt(n.children,l,o,t);case hi:i=8,l|=8;break;case po:return e=Ce(12,n,t,l|2),e.elementType=po,e.lanes=o,e;case ho:return e=Ce(13,n,t,l),e.elementType=ho,e.lanes=o,e;case mo:return e=Ce(19,n,t,l),e.elementType=mo,e.lanes=o,e;case As:return Nl(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Bs:i=10;break e;case Vs:i=9;break e;case mi:i=11;break e;case vi:i=14;break e;case et:i=16,r=null;break e}throw Error(g(130,e==null?e:typeof e,""))}return t=Ce(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function Rt(e,t,n,r){return e=Ce(7,e,r,t),e.lanes=n,e}function Nl(e,t,n,r){return e=Ce(22,e,r,t),e.elementType=As,e.lanes=n,e.stateNode={isHidden:!1},e}function io(e,t,n){return e=Ce(6,e,null,t),e.lanes=n,e}function uo(e,t,n){return t=Ce(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function kp(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=Vl(0),this.expirationTimes=Vl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Zi(e,t,n,r,l,o,i,u,s){return e=new kp(e,t,n,u,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ce(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mi(o),e}function xp(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Uc)}catch(e){console.error(e)}}Uc(),Is.exports=Se;var Np=Is.exports,vs=Np;co.createRoot=vs.createRoot,co.hydrateRoot=vs.hydrateRoot;const Lp="/bmstu-permits-front/assets/logo-1c7d9f8c.png",zp=()=>_.jsx("div",{className:"header-wrapper",children:_.jsx("img",{src:Lp,alt:""})});/** * @remix-run/router v1.10.0 * * Copyright (c) Remix Software Inc. @@ -64,4 +64,4 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function ii(){return ii=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[l]=e[l]);return n}function kh(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function xh(e,t){return e.button===0&&(!t||t==="_self")&&!kh(e)}const Eh=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Ch="startTransition",ks=yf[Ch];function _h(e){let{basename:t,children:n,future:r,window:l}=e,o=k.useRef();o.current==null&&(o.current=Rp({window:l,v5Compat:!0}));let i=o.current,[u,s]=k.useState({action:i.action,location:i.location}),{v7_startTransition:a}=r||{},p=k.useCallback(m=>{a&&ks?ks(()=>s(m)):s(m)},[s,a]);return k.useLayoutEffect(()=>i.listen(p),[i,p]),k.createElement(gh,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:i})}const Ph=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Nh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Vn=k.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:o,replace:i,state:u,target:s,to:a,preventScrollReset:p,unstable_viewTransition:m}=t,h=Sh(t,Eh),{basename:S}=k.useContext(mn),w,y=!1;if(typeof a=="string"&&Nh.test(a)&&(w=a,Ph))try{let d=new URL(window.location.href),v=a.startsWith("//")?new URL(d.protocol+a):new URL(a),x=nu(v.pathname,S);v.origin===d.origin&&x!=null?a=x+v.search+v.hash:y=!0}catch{}let z=nh(a,{relative:l}),f=Lh(a,{replace:i,state:u,target:s,preventScrollReset:p,relative:l,unstable_viewTransition:m});function c(d){r&&r(d),d.defaultPrevented||f(d)}return k.createElement("a",ii({},h,{href:w||z,onClick:y||o?r:c,ref:n,target:s}))});var xs;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(xs||(xs={}));var Es;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Es||(Es={}));function Lh(e,t){let{target:n,replace:r,state:l,preventScrollReset:o,relative:i,unstable_viewTransition:u}=t===void 0?{}:t,s=Wc(),a=yn(),p=Hc(e,{relative:i});return k.useCallback(m=>{if(xh(m,n)){m.preventDefault();let h=r!==void 0?r:pl(a)===pl(p);s(e,{replace:h,state:l,preventScrollReset:o,relative:i,unstable_viewTransition:u})}},[a,s,p,r,l,n,e,o,i,u])}var Yc={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Cs=Qe.createContext&&Qe.createContext(Yc),vt=globalThis&&globalThis.__assign||function(){return vt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const n=yn();let r="";const l=n.pathname.split("/").filter(o=>o!=="").map(o=>{if(r+=`/${o}`,o=="buildings")return _.jsxs("div",{className:"crumb",children:[_.jsx(Vn,{to:r,onClick:()=>t(void 0),children:"Корпуса"}),_.jsx(ao,{className:"chevron-icon"})]},o);if(r.match(new RegExp("buildings/(d*)")))return _.jsxs("div",{className:"crumb",children:[_.jsx(Vn,{to:r,children:e==null?void 0:e.name}),_.jsx(ao,{className:"chevron-icon"})]},o)});return _.jsx("div",{className:"breadcrumbs-wrapper",children:_.jsxs("div",{className:"breadcrumbs",children:[_.jsxs("div",{className:"crumb",children:[_.jsx(Vn,{to:"/",children:_.jsx(Th,{className:"home-icon"})}),_.jsx(ao,{className:"chevron-icon"})]}),l]})})};const Mh=({query:e,setQuery:t})=>{const n=r=>{t(r)};return _.jsxs("div",{className:"search-bar-wrapper",children:[_.jsx("input",{type:"text",placeholder:"Поиск...",name:"query",autoComplete:"off",value:e,onChange:r=>n(r.target.value)}),_.jsx("button",{type:"submit",children:_.jsx(jh,{className:"search-icon"})})]})};const Gc="/bmstu/assets/mock-32cbd58f.png",Ih=({building:e,isMock:t})=>{const n=`http://127.0.0.1:8001/api/buildings/${e.id}/image/`;return _.jsxs("div",{className:"card-wrapper",children:[_.jsx("div",{className:"preview",children:_.jsx("img",{src:t?Gc:n})}),_.jsxs("div",{className:"card-content",children:[_.jsx("div",{className:"content-top",children:_.jsxs("h3",{className:"title",children:[" ",e.name," "]})}),_.jsx("div",{className:"content-bottom",children:_.jsx(Vn,{to:`/buildings/${e.id}`,children:"Подробнее"})})]})]})},Jc=1e3,Zc=[{id:1,name:"Главное здание",location:"2-я Бауманская ул., 5, стр. 4.",open_hours:"9:00",close_hours:"18:00",status:1,image:""},{id:2,name:"Учебно-лабораторный корпус",location:"Рубцовская наб., 2/18",open_hours:"9:00",close_hours:"17:30",status:1,image:""},{id:3,name:"Энергомашиностроительный корпус",location:"Лефортовская наб., 1",open_hours:"9:00",close_hours:"17:30",status:1,image:""},{id:4,name:"Специальное машиностроение",location:"Госпитальный пер., 10",open_hours:"9:00",close_hours:"18:00",status:1,image:""}],Dh=()=>{const[e,t]=k.useState([]),[n,r]=k.useState(""),[l,o]=k.useState(!1),i=async()=>{try{const p=await fetch(`http://127.0.0.1:8001/api/buildings/search/?&query=${n}`,{method:"GET",signal:AbortSignal.timeout(Jc)});if(!p.ok){u();return}const h=(await p.json()).buildings;t(h),o(!1)}catch{u()}},u=()=>{o(!0),t(Zc.filter(p=>p.name.toLowerCase().includes(n.toLowerCase())))};k.useEffect(()=>{i()},[]);const s=e.map(p=>_.jsx(Ih,{building:p,isMock:l},p.id)),a=async p=>{p.preventDefault(),await i()};return _.jsxs("div",{className:"cards-list-wrapper",children:[_.jsxs("form",{className:"top",onSubmit:a,children:[_.jsx("h2",{children:"Корпуса МГТУ им.Н.Э.Баумана"}),_.jsx(Mh,{query:n,setQuery:r})]}),_.jsx("div",{className:"bottom",children:s})]})};const Uh=({selectedBuilding:e,setSelectedBuilding:t})=>{const{id:n}=lh();if(n==null)return;const[r,l]=k.useState(!1),o=async()=>{try{const u=await fetch(`http://127.0.0.1:8001/api/buildings/${n}`,{method:"GET",signal:AbortSignal.timeout(Jc)});if(!u.ok){i();return}const s=await u.json();t(s),l(!1)}catch{i()}},i=()=>{t(Zc.find(u=>(u==null?void 0:u.id)==parseInt(n))),l(!0)};return k.useEffect(()=>{o()},[]),_.jsxs("div",{className:"page-details-wrapper",children:[_.jsx(Vn,{className:"return-link",to:"/",children:"Назад"}),_.jsx("div",{className:"left",children:_.jsx("img",{src:r?Gc:e==null?void 0:e.image})}),_.jsx("div",{className:"right",children:_.jsxs("div",{className:"info-container",children:[_.jsx("h2",{children:e==null?void 0:e.name})," ",_.jsx("br",{}),_.jsxs("span",{children:["Адрес: ",e==null?void 0:e.location]}),_.jsx("br",{}),_.jsxs("span",{children:["Режим работы: С ",e==null?void 0:e.open_hours," до ",e==null?void 0:e.close_hours]})]})})]})};function Fh(){const[e,t]=k.useState(void 0);return _.jsx("div",{className:"App",children:_.jsxs("div",{className:"wrapper",children:[_.jsx(zp,{}),_.jsx("div",{className:"content-wrapper",children:_.jsxs(_h,{basename:"/bmstu",children:[_.jsx(Oh,{selectedBuilding:e,setSelectedBuilding:t}),_.jsxs(wh,{children:[_.jsx(Ar,{path:"/",element:_.jsx(yh,{to:"/buildings",replace:!0})}),_.jsx(Ar,{path:"/buildings",element:_.jsx(Dh,{})}),_.jsx(Ar,{path:"/buildings/:id",element:_.jsx(Uh,{selectedBuilding:e,setSelectedBuilding:t})})]})]})})]})})}co.createRoot(document.getElementById("root")).render(_.jsx(Qe.StrictMode,{children:_.jsx(Fh,{})})); + */function ii(){return ii=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[l]=e[l]);return n}function kh(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function xh(e,t){return e.button===0&&(!t||t==="_self")&&!kh(e)}const Eh=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Ch="startTransition",ks=yf[Ch];function _h(e){let{basename:t,children:n,future:r,window:l}=e,o=k.useRef();o.current==null&&(o.current=Rp({window:l,v5Compat:!0}));let i=o.current,[u,s]=k.useState({action:i.action,location:i.location}),{v7_startTransition:a}=r||{},p=k.useCallback(m=>{a&&ks?ks(()=>s(m)):s(m)},[s,a]);return k.useLayoutEffect(()=>i.listen(p),[i,p]),k.createElement(gh,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:i})}const Ph=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Nh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Vn=k.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:o,replace:i,state:u,target:s,to:a,preventScrollReset:p,unstable_viewTransition:m}=t,h=Sh(t,Eh),{basename:S}=k.useContext(mn),w,y=!1;if(typeof a=="string"&&Nh.test(a)&&(w=a,Ph))try{let d=new URL(window.location.href),v=a.startsWith("//")?new URL(d.protocol+a):new URL(a),x=nu(v.pathname,S);v.origin===d.origin&&x!=null?a=x+v.search+v.hash:y=!0}catch{}let z=nh(a,{relative:l}),f=Lh(a,{replace:i,state:u,target:s,preventScrollReset:p,relative:l,unstable_viewTransition:m});function c(d){r&&r(d),d.defaultPrevented||f(d)}return k.createElement("a",ii({},h,{href:w||z,onClick:y||o?r:c,ref:n,target:s}))});var xs;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(xs||(xs={}));var Es;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Es||(Es={}));function Lh(e,t){let{target:n,replace:r,state:l,preventScrollReset:o,relative:i,unstable_viewTransition:u}=t===void 0?{}:t,s=Wc(),a=yn(),p=Hc(e,{relative:i});return k.useCallback(m=>{if(xh(m,n)){m.preventDefault();let h=r!==void 0?r:pl(a)===pl(p);s(e,{replace:h,state:l,preventScrollReset:o,relative:i,unstable_viewTransition:u})}},[a,s,p,r,l,n,e,o,i,u])}var Yc={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Cs=Qe.createContext&&Qe.createContext(Yc),vt=globalThis&&globalThis.__assign||function(){return vt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const n=yn();let r="";const l=n.pathname.split("/").filter(o=>o!=="").map(o=>{if(r+=`/${o}`,o=="buildings")return _.jsxs("div",{className:"crumb",children:[_.jsx(Vn,{to:r,onClick:()=>t(void 0),children:"Корпуса"}),_.jsx(ao,{className:"chevron-icon"})]},o);if(r.match(new RegExp("buildings/(d*)")))return _.jsxs("div",{className:"crumb",children:[_.jsx(Vn,{to:r,children:e==null?void 0:e.name}),_.jsx(ao,{className:"chevron-icon"})]},o)});return _.jsx("div",{className:"breadcrumbs-wrapper",children:_.jsxs("div",{className:"breadcrumbs",children:[_.jsxs("div",{className:"crumb",children:[_.jsx(Vn,{to:"/",children:_.jsx(Th,{className:"home-icon"})}),_.jsx(ao,{className:"chevron-icon"})]}),l]})})};const Mh=({query:e,setQuery:t})=>{const n=r=>{t(r)};return _.jsxs("div",{className:"search-bar-wrapper",children:[_.jsx("input",{type:"text",placeholder:"Поиск...",name:"query",autoComplete:"off",value:e,onChange:r=>n(r.target.value)}),_.jsx("button",{type:"submit",children:_.jsx(jh,{className:"search-icon"})})]})};const Gc="/bmstu-permits-front/assets/mock-32cbd58f.png",Ih=({building:e,isMock:t})=>{const n=`http://127.0.0.1:8001/api/buildings/${e.id}/image/`;return _.jsxs("div",{className:"card-wrapper",children:[_.jsx("div",{className:"preview",children:_.jsx("img",{src:t?Gc:n})}),_.jsxs("div",{className:"card-content",children:[_.jsx("div",{className:"content-top",children:_.jsxs("h3",{className:"title",children:[" ",e.name," "]})}),_.jsx("div",{className:"content-bottom",children:_.jsx(Vn,{to:`/buildings/${e.id}`,children:"Подробнее"})})]})]})},Jc=1e3,Zc=[{id:1,name:"Главное здание",location:"2-я Бауманская ул., 5, стр. 4.",open_hours:"9:00",close_hours:"18:00",status:1,image:""},{id:2,name:"Учебно-лабораторный корпус",location:"Рубцовская наб., 2/18",open_hours:"9:00",close_hours:"17:30",status:1,image:""},{id:3,name:"Энергомашиностроительный корпус",location:"Лефортовская наб., 1",open_hours:"9:00",close_hours:"17:30",status:1,image:""},{id:4,name:"Специальное машиностроение",location:"Госпитальный пер., 10",open_hours:"9:00",close_hours:"18:00",status:1,image:""}],Dh=()=>{const[e,t]=k.useState([]),[n,r]=k.useState(""),[l,o]=k.useState(!1),i=async()=>{try{const p=await fetch(`http://127.0.0.1:8001/api/buildings/search/?&query=${n}`,{method:"GET",signal:AbortSignal.timeout(Jc)});if(!p.ok){u();return}const h=(await p.json()).buildings;t(h),o(!1)}catch{u()}},u=()=>{o(!0),t(Zc.filter(p=>p.name.toLowerCase().includes(n.toLowerCase())))};k.useEffect(()=>{i()},[]);const s=e.map(p=>_.jsx(Ih,{building:p,isMock:l},p.id)),a=async p=>{p.preventDefault(),await i()};return _.jsxs("div",{className:"cards-list-wrapper",children:[_.jsxs("form",{className:"top",onSubmit:a,children:[_.jsx("h2",{children:"Корпуса МГТУ им.Н.Э.Баумана"}),_.jsx(Mh,{query:n,setQuery:r})]}),_.jsx("div",{className:"bottom",children:s})]})};const Uh=({selectedBuilding:e,setSelectedBuilding:t})=>{const{id:n}=lh();if(n==null)return;const[r,l]=k.useState(!1),o=async()=>{try{const u=await fetch(`http://127.0.0.1:8001/api/buildings/${n}`,{method:"GET",signal:AbortSignal.timeout(Jc)});if(!u.ok){i();return}const s=await u.json();t(s),l(!1)}catch{i()}},i=()=>{t(Zc.find(u=>(u==null?void 0:u.id)==parseInt(n))),l(!0)};return k.useEffect(()=>{o()},[]),_.jsxs("div",{className:"page-details-wrapper",children:[_.jsx(Vn,{className:"return-link",to:"/",children:"Назад"}),_.jsx("div",{className:"left",children:_.jsx("img",{src:r?Gc:e==null?void 0:e.image})}),_.jsx("div",{className:"right",children:_.jsxs("div",{className:"info-container",children:[_.jsx("h2",{children:e==null?void 0:e.name})," ",_.jsx("br",{}),_.jsxs("span",{children:["Адрес: ",e==null?void 0:e.location]}),_.jsx("br",{}),_.jsxs("span",{children:["Режим работы: С ",e==null?void 0:e.open_hours," до ",e==null?void 0:e.close_hours]})]})})]})};function Fh(){const[e,t]=k.useState(void 0);return _.jsx("div",{className:"App",children:_.jsxs("div",{className:"wrapper",children:[_.jsx(zp,{}),_.jsx("div",{className:"content-wrapper",children:_.jsxs(_h,{basename:"/bmstu",children:[_.jsx(Oh,{selectedBuilding:e,setSelectedBuilding:t}),_.jsxs(wh,{children:[_.jsx(Ar,{path:"/",element:_.jsx(yh,{to:"/buildings",replace:!0})}),_.jsx(Ar,{path:"/buildings",element:_.jsx(Dh,{})}),_.jsx(Ar,{path:"/buildings/:id",element:_.jsx(Uh,{selectedBuilding:e,setSelectedBuilding:t})})]})]})})]})})}co.createRoot(document.getElementById("root")).render(_.jsx(Qe.StrictMode,{children:_.jsx(Fh,{})})); diff --git a/index.html b/index.html index f232fa81..38604cc1 100644 --- a/index.html +++ b/index.html @@ -2,11 +2,11 @@ - + Vite + React + TS - - + +