diff --git a/assets/index-BkNuAwud.css b/assets/index-BkNuAwud.css deleted file mode 100644 index eefc3f1..0000000 --- a/assets/index-BkNuAwud.css +++ /dev/null @@ -1 +0,0 @@ -._container__not-found_3itec_1{background:url(../../img/pngeg.png) no-repeat;background-size:100% 100%;height:100vh;width:100%;min-width:850px;min-height:800px}._not-found_3itec_10{margin:0 auto;padding-top:120px;text-align:center;max-width:700px;line-height:normal;font-weight:700;color:#333}._not-found__title_3itec_20{margin:24px 0 8px;padding:0;font-size:114px;text-shadow:0 0 .6px #333333,0 0 .1em #525288,0 0 .1em rgba(243,243,247,.64)}._not-found__text_3itec_27{margin:0 0 72px;padding:0;text-transform:uppercase;font-size:30px;color:#333}._not-found__description_3itec_36{margin:0 0 36px;padding:0;font-size:18px;color:#333}._not-found__button_3itec_44{background-color:#333;color:#fff;padding:12px 32px;max-width:300px;display:block;margin:0 auto;text-transform:uppercase;font-size:18px;border:1px solid rgba(151,150,150,.8);box-shadow:0 0 4px 1px #726b9e;cursor:pointer;border-radius:8px}._not-found__button_3itec_44:hover{background-color:#777}._not-found__button_3itec_44:active{background-color:#222}[data-scroll-lock] ._wrapper_1ti56_1{margin-right:var(--scrollbar-compensation)}._wrapper_1ti56_1{min-height:100vh;display:flex;flex-direction:column}main{flex-grow:1}._footer_1l3o9_1{text-align:center;padding:20px 0 30px}._container_nmmjj_1{width:100%;max-width:1358px;margin:0 auto;padding:0 40px;min-width:430px;overflow:clip}@media (max-width: 1279px){._container_nmmjj_1{padding:0 32px}}@media (max-width: 1023px){._container_nmmjj_1{padding:0 24px}}@media (max-width: 767px){._container_nmmjj_1{padding:0 20px}}._header_5og79_1{padding:20px 0;margin-bottom:40px}._header__flex_5og79_5{display:flex;align-items:center;justify-content:space-between}._btn-transp_10wk3_1{padding:12px 24px 13px;background-image:-o-radial-gradient(100% 100%,circle,transparent 0,#0db9f0 0,#0db9f0 1px,transparent 1px),-o-linear-gradient(left,#0db9f0,#e85ce9),-o-radial-gradient(0 100%,circle,transparent 0,#e85ce9 0,#e85ce9 1px,transparent 1px),-o-linear-gradient(top,#e85ce9,#e95de9),-o-radial-gradient(0 0,circle,transparent 0,#e95de9 0,#e95de9 1px,transparent 1px),-o-linear-gradient(right,#e95de9,#0cb9f0),-o-radial-gradient(100% 0,circle,transparent 0,#0cb9f0 0,#0cb9f0 1px,transparent 1px),-o-linear-gradient(bottom,#0cb9f0,#0db9f0);background-image:radial-gradient(circle at 100% 100%,transparent 0,#0db9f0 0,#0db9f0 1px,transparent 1px),linear-gradient(to right,#0db9f0,#e85ce9),radial-gradient(circle at 0 100%,transparent 0,#e85ce9 0,#e85ce9 1px,transparent 1px),linear-gradient(to bottom,#e85ce9,#e95de9),radial-gradient(circle at 0 0,transparent 0,#e95de9 0,#e95de9 1px,transparent 1px),linear-gradient(to left,#e95de9,#0cb9f0),radial-gradient(circle at 100% 0,transparent 0,#0cb9f0 0,#0cb9f0 1px,transparent 1px),linear-gradient(to top,#0cb9f0,#0db9f0);background-size:1px 1px,calc(100% - 2px) 1px,1px 1px,1px calc(100% - 2px);background-position:top left,top center,top right,center right,bottom right,bottom center,bottom left,center left;background-repeat:no-repeat;position:relative;-webkit-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease;min-width:126px;text-wrap:nowrap;text-transform:none;background-color:inherit;color:inherit;text-transform:uppercase;font-weight:600;font-size:14px;cursor:pointer;border:none}._btn-transp_10wk3_1:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:-webkit-gradient(linear,left top,right top,from(#0cbaf1),to(#e95ce9));background:-o-linear-gradient(left,#0cbaf1 0,#e95ce9 100%);background:linear-gradient(90deg,#0cbaf1 0,#e95ce9);opacity:0;-webkit-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease}._btn-transp_10wk3_1:hover:before{opacity:1}._btn-transp__text_10wk3_41{position:relative}._btn-transp_10wk3_1:disabled{pointer-events:none;opacity:.5}._socials_8asvr_1{list-style:none;display:flex;gap:20px}._socials__link_8asvr_6{position:relative}._socials__link_8asvr_6:hover ._socials__icon_8asvr_9{transform:scale(1.1) translate(-50%,-50%)}._socials__icon_8asvr_9{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);transition:transform .3s ease}._btn-transp_6d3xu_1{padding:9px 24px;background-image:-o-radial-gradient(100% 100%,circle,transparent 0,#0db9f0 0,#0db9f0 1px,transparent 1px),-o-linear-gradient(left,#0db9f0,#e85ce9),-o-radial-gradient(0 100%,circle,transparent 0,#e85ce9 0,#e85ce9 1px,transparent 1px),-o-linear-gradient(top,#e85ce9,#e95de9),-o-radial-gradient(0 0,circle,transparent 0,#e95de9 0,#e95de9 1px,transparent 1px),-o-linear-gradient(right,#e95de9,#0cb9f0),-o-radial-gradient(100% 0,circle,transparent 0,#0cb9f0 0,#0cb9f0 1px,transparent 1px),-o-linear-gradient(bottom,#0cb9f0,#0db9f0);background-image:radial-gradient(circle at 100% 100%,transparent 0,#0db9f0 0,#0db9f0 1px,transparent 1px),linear-gradient(to right,#0db9f0,#e85ce9),radial-gradient(circle at 0 100%,transparent 0,#e85ce9 0,#e85ce9 1px,transparent 1px),linear-gradient(to bottom,#e85ce9,#e95de9),radial-gradient(circle at 0 0,transparent 0,#e95de9 0,#e95de9 1px,transparent 1px),linear-gradient(to left,#e95de9,#0cb9f0),radial-gradient(circle at 100% 0,transparent 0,#0cb9f0 0,#0cb9f0 1px,transparent 1px),linear-gradient(to top,#0cb9f0,#0db9f0);background-size:1px 1px,calc(100% - 2px) 1px,1px 1px,1px calc(100% - 2px);background-position:top left,top center,top right,center right,bottom right,bottom center,bottom left,center left;background-repeat:no-repeat;position:relative;-webkit-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease;min-width:126px;text-wrap:nowrap;text-transform:none;text-align:center;font-weight:600;font-size:14px;cursor:pointer}._btn-transp_6d3xu_1:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:-webkit-gradient(linear,left top,right top,from(#0cbaf1),to(#e95ce9));background:-o-linear-gradient(left,#0cbaf1 0,#e95ce9 100%);background:linear-gradient(90deg,#0cbaf1 0,#e95ce9);opacity:0;-webkit-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease}._btn-transp_6d3xu_1:hover:before{opacity:1}._btn-transp__text_6d3xu_38{position:relative}._welcome-page_kpjid_1{margin-top:220px;margin-right:100px;padding:0 100px;text-transform:uppercase;font-weight:500;font-size:20px;line-height:28px}@media (max-width: 767px){._welcome-page_kpjid_1{padding:0 40px}}._welcome-page__text_kpjid_15{margin-bottom:40px}._welcome-page__text_kpjid_15 span{text-transform:capitalize;font-size:48px;line-height:64px;font-weight:600;display:inline-block}._post-list_192ep_1{list-style:none;margin:40px 0 80px;padding:10px 0;display:grid;grid-template-columns:repeat(5,1fr);column-gap:20px;row-gap:30px;align-items:start}@media (max-width: 1023px){._post-list_192ep_1{grid-template-columns:repeat(4,1fr)}}@media (max-width: 767px){._post-list_192ep_1{grid-template-columns:repeat(2,1fr)}}._post-list__item_192ep_21{transition:transform .3s ease;height:200px}._post-list__item_192ep_21:hover{transform:scale(1.05);box-shadow:0 0 6px 2px #ffffffb3}._post-list__link_192ep_29{width:100%;height:100%;position:relative;display:block}._post-list__img_192ep_35{width:100%;height:100%;object-fit:cover;background-color:#fff}._post-list__title_192ep_41{position:absolute;bottom:0;right:0;left:0;max-height:fit-content;background-color:#00000080;margin:0;padding:8px 4px;font-weight:600;font-size:16px;line-height:24px}.pagination{max-width:700px;margin:0 auto}.pagination ul{display:flex;list-style:none;gap:4px;justify-content:space-between;align-items:center;padding:10px 6px}.pagination ul li{cursor:pointer;border-radius:4px}.pagination ul li a{padding:2px 8px;border-radius:4px;transition:color .3s ease,background-color .3s ease}.pagination ul li a:hover{background-color:#ffffff80;color:#000}.pagination ul .selected{pointer-events:none}.pagination ul .selected a{background-color:#ffffffb3;color:#000;pointer-events:none}.pagination ul .break,.pagination ul .disabled{pointer-events:none}.pagination ul .disabled a{color:#ffffffb3;opacity:.5}._el_5hwtd_1{display:flex;align-items:center;justify-content:center;min-height:100vh;text-align:center;background:linear-gradient(0deg,#fff 0,#d1d1d1)}._container_5hwtd_10{position:relative;width:100%;display:flex;justify-content:center}._wrapper_5hwtd_17{position:absolute;top:-35px;transform:scale(1.5)}._loader_5hwtd_23{height:25px;width:1px;position:absolute;animation:_rotate_5hwtd_1 3.5s linear infinite}._loader_5hwtd_23 ._dot_5hwtd_30{position:relative;top:30px;height:7px;width:7px;background:#333;border-radius:50%}._text_5hwtd_39{position:absolute;bottom:-85px;font-size:25px;font-weight:400;font-family:Poppins,sans-serif;color:#333}@keyframes _rotate_5hwtd_1{30%{transform:rotate(220deg)}40%{transform:rotate(450deg);opacity:1}75%{transform:rotate(720deg);opacity:1}76%{opacity:0}to{opacity:0;transform:rotate(0)}}._loader_5hwtd_23:nth-child(1){animation-delay:.15s}._loader_5hwtd_23:nth-child(2){animation-delay:.3s}._loader_5hwtd_23:nth-child(3){animation-delay:.45s}._loader_5hwtd_23:nth-child(4){animation-delay:.6s}._loader_5hwtd_23:nth-child(5){animation-delay:.75s}._loader_5hwtd_23:nth-child(6){animation-delay:.9s}._modal_mvcbj_1{width:100vw;height:100vh;min-width:430px;background-color:#00000080;position:fixed;top:0;left:0;z-index:1001;display:flex;align-items:center;justify-content:center;transform:scale(0);pointer-events:none;-ms-overflow-style:none;scrollbar-width:none;visibility:hidden;opacity:0}@media (max-width: 767px){._modal_mvcbj_1{background-color:#000}}._modal--active_mvcbj_25{transform:scale(1);visibility:visible;opacity:1;pointer-events:auto}._modal__desktop_mvcbj_31{max-width:64.8%;width:100%;height:100%;max-height:66%}@media (max-width: 1023px){._modal__desktop_mvcbj_31{max-width:80%}}._modal__wrapper_mvcbj_42{position:relative;padding:60px 24px;border-radius:24px;background-color:#000;height:100%}@media (max-width: 767px){._modal__wrapper_mvcbj_42{width:100%;height:100%;padding:0;border-radius:0}}._modal__content_mvcbj_57{width:100%;height:100%}@media (max-width: 767px){._modal__content_mvcbj_57{width:100%;height:100%;padding:0;border-radius:0;display:flex;flex-direction:column}}._modal_mvcbj_1 ._btn_mvcbj_71{position:absolute;top:32px;right:40px;transition:transform .3s ease;width:24px;height:24px;background-color:#000;border:none;border-radius:8px;cursor:pointer}._modal_mvcbj_1 ._btn_mvcbj_71:hover{transform:scale(1.1)}@media (max-width: 767px){._modal_mvcbj_1 ._btn_mvcbj_71{top:-20px;right:0}}._modal_mvcbj_1 ._btn_mvcbj_71:after,._modal_mvcbj_1 ._btn_mvcbj_71:before{content:"";position:absolute;width:24px;height:2px;top:50%;left:0;background-color:#fff;transform:rotate(45deg);transition:transform .3s ease}@media (max-width: 767px){._modal_mvcbj_1 ._btn_mvcbj_71:after,._modal_mvcbj_1 ._btn_mvcbj_71:before{width:18px;height:1px}}._modal_mvcbj_1 ._btn_mvcbj_71:after{transform:rotate(-45deg)}._modal__form_mvcbj_112{display:flex;flex-direction:column;gap:20px;width:100%}._modal__field_mvcbj_118{margin-bottom:20px}._modal__field_mvcbj_118 textarea{width:100%;padding:12px 10px;line-height:28px;font-size:14px}._modal__field--desc_mvcbj_127 textarea{width:100%;min-height:200px}._modal__title_mvcbj_131{display:block;font-weight:600;text-transform:uppercase;margin-bottom:20px}._modal__btn_mvcbj_137{margin-left:auto;display:flex;align-items:center;gap:10px}._post_p085p_1{display:grid;grid-template-columns:repeat(2,1fr);column-gap:40px;padding:40px 0}@media (max-width: 767px){._post_p085p_1{display:flex;flex-direction:column;gap:20px}}._post__btns_p085p_14{margin-top:40px;display:flex;align-items:center;justify-content:flex-end;gap:10px}._post_p085p_1 img{width:100%;height:auto;object-fit:cover}._post__title_p085p_26{margin:0 0 24px;padding:0;font-size:24px;line-height:32px}._post__text_p085p_33{margin-bottom:30px;text-align:justify}._post__author_p085p_37{text-align:right;display:block}._post-update_6cdu0_1{display:flex;flex-direction:column;gap:20px;width:100%}._post-update__field_6cdu0_7 textarea{width:100%;padding:12px 10px;line-height:28px;font-size:14px}._post-update__field--desc_6cdu0_13 textarea{width:100%;min-height:200px}._post-update__title_6cdu0_17{display:block;font-weight:600;text-transform:uppercase}._post-update__btn_6cdu0_22{margin-left:auto;display:flex;align-items:center;gap:10px}/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{margin:.67em 0;font-size:2em}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-size:1em;font-family:monospace,monospace}a{background-color:transparent}abbr[title]{text-decoration:underline;text-decoration:underline dotted;border-bottom:none}b,strong{font-weight:bolder}code,kbd,samp{font-size:1em;font-family:monospace,monospace}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{margin:0;font-size:100%;line-height:1.15;font-family:inherit}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{display:table;box-sizing:border-box;max-width:100%;padding:0;color:inherit;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}@font-face{font-family:Open Sans;font-weight:400;font-style:normal;font-display:swap;src:url(../fonts/open-sans.woff2) format("woff2"),url(../fonts/open-sans.woff) format("woff")}@font-face{font-family:Open Sans;font-weight:600;font-style:normal;font-display:swap;src:url(../fonts/open-sans-600.woff2) format("woff2"),url(../fonts/open-sans-600.woff) format("woff")}@font-face{font-family:Open Sans;font-weight:700;font-style:normal;font-display:swap;src:url(../fonts/open-sans-700.woff2) format("woff2"),url(../fonts/open-sans-700.woff) format("woff")}:root{--foreground-rgb: 255, 255, 255;--background-start-rgb: 24, 24, 27;--background-end-rgb: 24, 24, 27}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;padding:0;min-height:100vh}html{font-style:normal;font-weight:400;font-size:16px;line-height:24px;font-family:Open Sans,Arial,sans-serif;color:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}body{width:100%;height:100%;background:linear-gradient(to bottom,transparent,rgb(var(--background-end-rgb))) rgb(var(--background-start-rgb))}a{color:#fff;text-decoration:none;display:inline-block}img,video{display:block;max-width:100%;height:auto}textarea{resize:none}input:-webkit-autofill{box-shadow:inset 0 0 0 1000px #fff;-webkit-text-fill-color:#000000}input,textarea{border-radius:0}input::placeholder,textarea::placeholder{opacity:1}input:invalid,textarea:invalid{box-shadow:none}select{border-radius:0}input::-ms-clear,input::-ms-reveal{display:none}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none;-moz-appearance:none;appearance:none}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}select,textarea,input:matches([type=email],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=url]){-webkit-appearance:none;-moz-appearance:none;appearance:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:none;-moz-appearance:none;appearance:none}ul,p{margin:0;padding:0} diff --git a/assets/index-B53OFo3P.js b/assets/index-CL45YgeV.js similarity index 67% rename from assets/index-B53OFo3P.js rename to assets/index-CL45YgeV.js index 7d01f4f..2ed3948 100644 --- a/assets/index-B53OFo3P.js +++ b/assets/index-CL45YgeV.js @@ -1,4 +1,4 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var bh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Pn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Cf={exports:{}},Yi={},Ef={exports:{}},b={};/** +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var Wh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Pn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ef={exports:{}},Yi={},Pf={exports:{}},b={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var vo=Symbol.for("react.element"),Wh=Symbol.for("react.portal"),Hh=Symbol.for("react.fragment"),Vh=Symbol.for("react.strict_mode"),Qh=Symbol.for("react.profiler"),Kh=Symbol.for("react.provider"),Yh=Symbol.for("react.context"),Gh=Symbol.for("react.forward_ref"),Xh=Symbol.for("react.suspense"),Jh=Symbol.for("react.memo"),Zh=Symbol.for("react.lazy"),js=Symbol.iterator;function qh(e){return e===null||typeof e!="object"?null:(e=js&&e[js]||e["@@iterator"],typeof e=="function"?e:null)}var Pf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Nf=Object.assign,Tf={};function vr(e,t,n){this.props=e,this.context=t,this.refs=Tf,this.updater=n||Pf}vr.prototype.isReactComponent={};vr.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")};vr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Of(){}Of.prototype=vr.prototype;function wu(e,t,n){this.props=e,this.context=t,this.refs=Tf,this.updater=n||Pf}var xu=wu.prototype=new Of;xu.constructor=wu;Nf(xu,vr.prototype);xu.isPureReactComponent=!0;var Rs=Array.isArray,Lf=Object.prototype.hasOwnProperty,Su={current:null},jf={key:!0,ref:!0,__self:!0,__source:!0};function Rf(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)Lf.call(t,r)&&!jf.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1>>1,O=T[A];if(0>>1;Ao(Y,_))Xo(ee,Y)?(T[A]=ee,T[X]=_,A=X):(T[A]=Y,T[B]=_,A=B);else if(Xo(ee,_))T[A]=ee,T[X]=_,A=X;else break e}}return C}function o(T,C){var _=T.sortIndex-C.sortIndex;return _!==0?_:T.id-C.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}var u=[],s=[],c=1,f=null,p=3,v=!1,g=!1,y=!1,$=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(T){for(var C=n(s);C!==null;){if(C.callback===null)r(s);else if(C.startTime<=T)r(s),C.sortIndex=C.expirationTime,t(u,C);else break;C=n(s)}}function S(T){if(y=!1,m(T),!g)if(n(u)!==null)g=!0,$e(N);else{var C=n(s);C!==null&&De(S,C.startTime-T)}}function N(T,C){g=!1,y&&(y=!1,h(P),P=-1),v=!0;var _=p;try{for(m(C),f=n(u);f!==null&&(!(f.expirationTime>C)||T&&!Q());){var A=f.callback;if(typeof A=="function"){f.callback=null,p=f.priorityLevel;var O=A(f.expirationTime<=C);C=e.unstable_now(),typeof O=="function"?f.callback=O:f===n(u)&&r(u),m(C)}else r(u);f=n(u)}if(f!==null)var F=!0;else{var B=n(s);B!==null&&De(S,B.startTime-C),F=!1}return F}finally{f=null,p=_,v=!1}}var j=!1,k=null,P=-1,D=5,z=-1;function Q(){return!(e.unstable_now()-zT||125A?(T.sortIndex=_,t(s,T),n(u)===null&&T===n(s)&&(y?(h(P),P=-1):y=!0,De(S,_-A))):(T.sortIndex=O,t(u,T),g||v||(g=!0,$e(N))),T},e.unstable_shouldYield=Q,e.unstable_wrapCallback=function(T){var C=p;return function(){var _=p;p=C;try{return T.apply(this,arguments)}finally{p=_}}}})(zf);Af.exports=zf;var cm=Af.exports;/** + */(function(e){function t(T,C){var _=T.length;T.push(C);e:for(;0<_;){var A=_-1>>>1,O=T[A];if(0>>1;Ao(Y,_))Xo(ee,Y)?(T[A]=ee,T[X]=_,A=X):(T[A]=Y,T[B]=_,A=B);else if(Xo(ee,_))T[A]=ee,T[X]=_,A=X;else break e}}return C}function o(T,C){var _=T.sortIndex-C.sortIndex;return _!==0?_:T.id-C.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}var u=[],s=[],c=1,f=null,p=3,v=!1,g=!1,y=!1,$=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(T){for(var C=n(s);C!==null;){if(C.callback===null)r(s);else if(C.startTime<=T)r(s),C.sortIndex=C.expirationTime,t(u,C);else break;C=n(s)}}function S(T){if(y=!1,m(T),!g)if(n(u)!==null)g=!0,$e(N);else{var C=n(s);C!==null&&De(S,C.startTime-T)}}function N(T,C){g=!1,y&&(y=!1,h(P),P=-1),v=!0;var _=p;try{for(m(C),f=n(u);f!==null&&(!(f.expirationTime>C)||T&&!Q());){var A=f.callback;if(typeof A=="function"){f.callback=null,p=f.priorityLevel;var O=A(f.expirationTime<=C);C=e.unstable_now(),typeof O=="function"?f.callback=O:f===n(u)&&r(u),m(C)}else r(u);f=n(u)}if(f!==null)var F=!0;else{var B=n(s);B!==null&&De(S,B.startTime-C),F=!1}return F}finally{f=null,p=_,v=!1}}var j=!1,k=null,P=-1,D=5,z=-1;function Q(){return!(e.unstable_now()-zT||125A?(T.sortIndex=_,t(s,T),n(u)===null&&T===n(s)&&(y?(h(P),P=-1):y=!0,De(S,_-A))):(T.sortIndex=O,t(u,T),g||v||(g=!0,$e(N))),T},e.unstable_shouldYield=Q,e.unstable_wrapCallback=function(T){var C=p;return function(){var _=p;p=C;try{return T.apply(this,arguments)}finally{p=_}}}})(Mf);zf.exports=Mf;var fm=zf.exports;/** * @license React * react-dom.production.min.js * @@ -30,14 +30,14 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var fm=w,Ue=cm;function E(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),aa=Object.prototype.hasOwnProperty,dm=/^[: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]*$/,$s={},Ds={};function pm(e){return aa.call(Ds,e)?!0:aa.call($s,e)?!1:dm.test(e)?Ds[e]=!0:($s[e]=!0,!1)}function hm(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 mm(e,t,n,r){if(t===null||typeof t>"u"||hm(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 Ne(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var ye={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ye[e]=new Ne(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ye[t]=new Ne(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ye[e]=new Ne(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ye[e]=new Ne(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){ye[e]=new Ne(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ye[e]=new Ne(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ye[e]=new Ne(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ye[e]=new Ne(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ye[e]=new Ne(e,5,!1,e.toLowerCase(),null,!1,!1)});var Cu=/[\-:]([a-z])/g;function Eu(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(Cu,Eu);ye[t]=new Ne(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(Cu,Eu);ye[t]=new Ne(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(Cu,Eu);ye[t]=new Ne(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ye[e]=new Ne(e,1,!1,e.toLowerCase(),null,!1,!1)});ye.xlinkHref=new Ne("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ye[e]=new Ne(e,1,!1,e.toLowerCase(),null,!0,!0)});function Pu(e,t,n,r){var o=ye.hasOwnProperty(t)?ye[t]:null;(o!==null?o.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),aa=Object.prototype.hasOwnProperty,pm=/^[: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]*$/,$s={},Ds={};function hm(e){return aa.call(Ds,e)?!0:aa.call($s,e)?!1:pm.test(e)?Ds[e]=!0:($s[e]=!0,!1)}function mm(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 vm(e,t,n,r){if(t===null||typeof t>"u"||mm(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 Ne(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var ye={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ye[e]=new Ne(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ye[t]=new Ne(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ye[e]=new Ne(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ye[e]=new Ne(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){ye[e]=new Ne(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ye[e]=new Ne(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ye[e]=new Ne(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ye[e]=new Ne(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ye[e]=new Ne(e,5,!1,e.toLowerCase(),null,!1,!1)});var Cu=/[\-:]([a-z])/g;function Eu(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(Cu,Eu);ye[t]=new Ne(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(Cu,Eu);ye[t]=new Ne(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(Cu,Eu);ye[t]=new Ne(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ye[e]=new Ne(e,1,!1,e.toLowerCase(),null,!1,!1)});ye.xlinkHref=new Ne("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ye[e]=new Ne(e,1,!1,e.toLowerCase(),null,!0,!0)});function Pu(e,t,n,r){var o=ye.hasOwnProperty(t)?ye[t]:null;(o!==null?o.type!==0:r||!(2a||o[l]!==i[a]){var u=` -`+o[l].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=l&&0<=a);break}}}finally{kl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Rr(e):""}function vm(e){switch(e.tag){case 5:return Rr(e.type);case 16:return Rr("Lazy");case 13:return Rr("Suspense");case 19:return Rr("SuspenseList");case 0:case 2:case 15:return e=Cl(e.type,!1),e;case 11:return e=Cl(e.type.render,!1),e;case 1:return e=Cl(e.type,!0),e;default:return""}}function fa(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 Dn:return"Fragment";case $n:return"Portal";case ua:return"Profiler";case Nu:return"StrictMode";case sa:return"Suspense";case ca:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Uf:return(e.displayName||"Context")+".Consumer";case Ff:return(e._context.displayName||"Context")+".Provider";case Tu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ou:return t=e.displayName||null,t!==null?t:fa(e.type)||"Memo";case Mt:t=e._payload,e=e._init;try{return fa(e(t))}catch{}}return null}function gm(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 fa(t);case 8:return t===Nu?"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 en(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function bf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ym(e){var t=bf(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 o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Lo(e){e._valueTracker||(e._valueTracker=ym(e))}function Wf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=bf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function di(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 da(e,t){var n=t.checked;return re({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function zs(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=en(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 Hf(e,t){t=t.checked,t!=null&&Pu(e,"checked",t,!1)}function pa(e,t){Hf(e,t);var n=en(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")?ha(e,t.type,n):t.hasOwnProperty("defaultValue")&&ha(e,t.type,en(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ms(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 ha(e,t,n){(t!=="number"||di(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ir=Array.isArray;function Gn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=jo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Kr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var zr={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},_m=["Webkit","ms","Moz","O"];Object.keys(zr).forEach(function(e){_m.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),zr[t]=zr[e]})});function Yf(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||zr.hasOwnProperty(e)&&zr[e]?(""+t).trim():t+"px"}function Gf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Yf(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var wm=re({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 ga(e,t){if(t){if(wm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(E(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(E(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(E(61))}if(t.style!=null&&typeof t.style!="object")throw Error(E(62))}}function ya(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 _a=null;function Lu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var wa=null,Xn=null,Jn=null;function Bs(e){if(e=_o(e)){if(typeof wa!="function")throw Error(E(280));var t=e.stateNode;t&&(t=qi(t),wa(e.stateNode,e.type,t))}}function Xf(e){Xn?Jn?Jn.push(e):Jn=[e]:Xn=e}function Jf(){if(Xn){var e=Xn,t=Jn;if(Jn=Xn=null,Bs(e),t)for(e=0;e>>=0,e===0?32:31-(jm(e)/Rm|0)|0}var Ro=64,Io=4194304;function $r(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 vi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var a=l&~o;a!==0?r=$r(a):(i&=l,i!==0&&(r=$r(i)))}else l=n&~o,l!==0?r=$r(l):i!==0&&(r=$r(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===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 go(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-at(t),e[t]=n}function Am(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=Fr),Xs=" ",Js=!1;function gd(e,t){switch(e){case"keyup":return cv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function yd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var An=!1;function dv(e,t){switch(e){case"compositionend":return yd(t);case"keypress":return t.which!==32?null:(Js=!0,Xs);case"textInput":return e=t.data,e===Xs&&Js?null:e;default:return null}}function pv(e,t){if(An)return e==="compositionend"||!Mu&&gd(e,t)?(e=md(),Jo=Du=Wt=null,An=!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=tc(n)}}function Sd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Sd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function kd(){for(var e=window,t=di();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=di(e.document)}return t}function Fu(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 Sv(e){var t=kd(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Sd(n.ownerDocument.documentElement,n)){if(r!==null&&Fu(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 o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=nc(n,i);var l=nc(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,zn=null,Pa=null,Br=null,Na=!1;function rc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Na||zn==null||zn!==di(r)||(r=zn,"selectionStart"in r&&Fu(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}),Br&&qr(Br,r)||(Br=r,r=_i(Pa,"onSelect"),0Un||(e.current=Ia[Un],Ia[Un]=null,Un--)}function G(e,t){Un++,Ia[Un]=e.current,e.current=t}var tn={},ke=rn(tn),je=rn(!1),yn=tn;function lr(e,t){var n=e.type.contextTypes;if(!n)return tn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Re(e){return e=e.childContextTypes,e!=null}function xi(){Z(je),Z(ke)}function cc(e,t,n){if(ke.current!==tn)throw Error(E(168));G(ke,t),G(je,n)}function Rd(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(E(108,gm(e)||"Unknown",o));return re({},n,r)}function Si(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||tn,yn=ke.current,G(ke,e),G(je,je.current),!0}function fc(e,t,n){var r=e.stateNode;if(!r)throw Error(E(169));n?(e=Rd(e,t,yn),r.__reactInternalMemoizedMergedChildContext=e,Z(je),Z(ke),G(ke,e)):Z(je),G(je,n)}var xt=null,el=!1,Ml=!1;function Id(e){xt===null?xt=[e]:xt.push(e)}function $v(e){el=!0,Id(e)}function on(){if(!Ml&&xt!==null){Ml=!0;var e=0,t=K;try{var n=xt;for(K=1;e>=l,o-=l,St=1<<32-at(t)+o|n<P?(D=k,k=null):D=k.sibling;var z=p(h,k,m[P],S);if(z===null){k===null&&(k=D);break}e&&k&&z.alternate===null&&t(h,k),d=i(z,d,P),j===null?N=z:j.sibling=z,j=z,k=D}if(P===m.length)return n(h,k),q&&sn(h,P),N;if(k===null){for(;PP?(D=k,k=null):D=k.sibling;var Q=p(h,k,z.value,S);if(Q===null){k===null&&(k=D);break}e&&k&&Q.alternate===null&&t(h,k),d=i(Q,d,P),j===null?N=Q:j.sibling=Q,j=Q,k=D}if(z.done)return n(h,k),q&&sn(h,P),N;if(k===null){for(;!z.done;P++,z=m.next())z=f(h,z.value,S),z!==null&&(d=i(z,d,P),j===null?N=z:j.sibling=z,j=z);return q&&sn(h,P),N}for(k=r(h,k);!z.done;P++,z=m.next())z=v(k,h,P,z.value,S),z!==null&&(e&&z.alternate!==null&&k.delete(z.key===null?P:z.key),d=i(z,d,P),j===null?N=z:j.sibling=z,j=z);return e&&k.forEach(function(L){return t(h,L)}),q&&sn(h,P),N}function $(h,d,m,S){if(typeof m=="object"&&m!==null&&m.type===Dn&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case Oo:e:{for(var N=m.key,j=d;j!==null;){if(j.key===N){if(N=m.type,N===Dn){if(j.tag===7){n(h,j.sibling),d=o(j,m.props.children),d.return=h,h=d;break e}}else if(j.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===Mt&&hc(N)===j.type){n(h,j.sibling),d=o(j,m.props),d.ref=Er(h,j,m),d.return=h,h=d;break e}n(h,j);break}else t(h,j);j=j.sibling}m.type===Dn?(d=gn(m.props.children,h.mode,S,m.key),d.return=h,h=d):(S=ii(m.type,m.key,m.props,null,h.mode,S),S.ref=Er(h,d,m),S.return=h,h=S)}return l(h);case $n:e:{for(j=m.key;d!==null;){if(d.key===j)if(d.tag===4&&d.stateNode.containerInfo===m.containerInfo&&d.stateNode.implementation===m.implementation){n(h,d.sibling),d=o(d,m.children||[]),d.return=h,h=d;break e}else{n(h,d);break}else t(h,d);d=d.sibling}d=Ql(m,h.mode,S),d.return=h,h=d}return l(h);case Mt:return j=m._init,$(h,d,j(m._payload),S)}if(Ir(m))return g(h,d,m,S);if(wr(m))return y(h,d,m,S);Uo(h,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,d!==null&&d.tag===6?(n(h,d.sibling),d=o(d,m),d.return=h,h=d):(n(h,d),d=Vl(m,h.mode,S),d.return=h,h=d),l(h)):n(h,d)}return $}var ur=zd(!0),Md=zd(!1),Ei=rn(null),Pi=null,Wn=null,Wu=null;function Hu(){Wu=Wn=Pi=null}function Vu(e){var t=Ei.current;Z(Ei),e._currentValue=t}function Aa(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function qn(e,t){Pi=e,Wu=Wn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Le=!0),e.firstContext=null)}function qe(e){var t=e._currentValue;if(Wu!==e)if(e={context:e,memoizedValue:t,next:null},Wn===null){if(Pi===null)throw Error(E(308));Wn=e,Pi.dependencies={lanes:0,firstContext:e}}else Wn=Wn.next=e;return t}var hn=null;function Qu(e){hn===null?hn=[e]:hn.push(e)}function Fd(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Qu(t)):(n.next=o.next,o.next=n),t.interleaved=n,Tt(e,r)}function Tt(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 Ft=!1;function Ku(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ud(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 Ct(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Gt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,V&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Tt(e,n)}return o=r.interleaved,o===null?(t.next=t,Qu(r)):(t.next=o.next,o.next=t),r.interleaved=t,Tt(e,n)}function qo(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,Ru(e,n)}}function mc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=l:i=i.next=l,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,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 Ni(e,t,n,r){var o=e.updateQueue;Ft=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var u=a,s=u.next;u.next=null,l===null?i=s:l.next=s,l=u;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==l&&(a===null?c.firstBaseUpdate=s:a.next=s,c.lastBaseUpdate=u))}if(i!==null){var f=o.baseState;l=0,c=s=u=null,a=i;do{var p=a.lane,v=a.eventTime;if((r&p)===p){c!==null&&(c=c.next={eventTime:v,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var g=e,y=a;switch(p=t,v=n,y.tag){case 1:if(g=y.payload,typeof g=="function"){f=g.call(v,f,p);break e}f=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=y.payload,p=typeof g=="function"?g.call(v,f,p):g,p==null)break e;f=re({},f,p);break e;case 2:Ft=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,p=o.effects,p===null?o.effects=[a]:p.push(a))}else v={eventTime:v,lane:p,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(s=c=v,u=f):c=c.next=v,l|=p;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;p=a,a=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(!0);if(c===null&&(u=f),o.baseState=u,o.firstBaseUpdate=s,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);xn|=l,e.lanes=l,e.memoizedState=f}}function vc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Ul.transition;Ul.transition={};try{e(!1),t()}finally{K=n,Ul.transition=r}}function rp(){return et().memoizedState}function Mv(e,t,n){var r=Jt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},op(e))ip(t,n);else if(n=Fd(e,t,n,r),n!==null){var o=Ee();ut(n,e,r,o),lp(n,t,r)}}function Fv(e,t,n){var r=Jt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(op(e))ip(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,a=i(l,n);if(o.hasEagerState=!0,o.eagerState=a,ct(a,l)){var u=t.interleaved;u===null?(o.next=o,Qu(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch{}finally{}n=Fd(e,t,o,r),n!==null&&(o=Ee(),ut(n,e,r,o),lp(n,t,r))}}function op(e){var t=e.alternate;return e===ne||t!==null&&t===ne}function ip(e,t){br=Oi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function lp(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ru(e,n)}}var Li={readContext:qe,useCallback:_e,useContext:_e,useEffect:_e,useImperativeHandle:_e,useInsertionEffect:_e,useLayoutEffect:_e,useMemo:_e,useReducer:_e,useRef:_e,useState:_e,useDebugValue:_e,useDeferredValue:_e,useTransition:_e,useMutableSource:_e,useSyncExternalStore:_e,useId:_e,unstable_isNewReconciler:!1},Uv={readContext:qe,useCallback:function(e,t){return pt().memoizedState=[e,t===void 0?null:t],e},useContext:qe,useEffect:yc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ti(4194308,4,Zd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ti(4194308,4,e,t)},useInsertionEffect:function(e,t){return ti(4,2,e,t)},useMemo:function(e,t){var n=pt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=pt();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=Mv.bind(null,ne,e),[r.memoizedState,e]},useRef:function(e){var t=pt();return e={current:e},t.memoizedState=e},useState:gc,useDebugValue:ts,useDeferredValue:function(e){return pt().memoizedState=e},useTransition:function(){var e=gc(!1),t=e[0];return e=zv.bind(null,e[1]),pt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ne,o=pt();if(q){if(n===void 0)throw Error(E(407));n=n()}else{if(n=t(),he===null)throw Error(E(349));wn&30||Hd(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,yc(Qd.bind(null,r,i,e),[e]),r.flags|=2048,ao(9,Vd.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=pt(),t=he.identifierPrefix;if(q){var n=kt,r=St;n=(r&~(1<<32-at(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=io++,0")&&(u=u.replace("",e.displayName)),u}while(1<=l&&0<=a);break}}}finally{kl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ir(e):""}function gm(e){switch(e.tag){case 5:return Ir(e.type);case 16:return Ir("Lazy");case 13:return Ir("Suspense");case 19:return Ir("SuspenseList");case 0:case 2:case 15:return e=Cl(e.type,!1),e;case 11:return e=Cl(e.type.render,!1),e;case 1:return e=Cl(e.type,!0),e;default:return""}}function fa(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 Dn:return"Fragment";case $n:return"Portal";case ua:return"Profiler";case Nu:return"StrictMode";case sa:return"Suspense";case ca:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Bf:return(e.displayName||"Context")+".Consumer";case Uf:return(e._context.displayName||"Context")+".Provider";case Tu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ou:return t=e.displayName||null,t!==null?t:fa(e.type)||"Memo";case Mt:t=e._payload,e=e._init;try{return fa(e(t))}catch{}}return null}function ym(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 fa(t);case 8:return t===Nu?"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 en(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Wf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function _m(e){var t=Wf(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 o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Lo(e){e._valueTracker||(e._valueTracker=_m(e))}function Hf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Wf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function di(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 da(e,t){var n=t.checked;return re({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function zs(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=en(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 Vf(e,t){t=t.checked,t!=null&&Pu(e,"checked",t,!1)}function pa(e,t){Vf(e,t);var n=en(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")?ha(e,t.type,n):t.hasOwnProperty("defaultValue")&&ha(e,t.type,en(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ms(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 ha(e,t,n){(t!=="number"||di(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var $r=Array.isArray;function Gn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=jo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Yr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Mr={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},wm=["Webkit","ms","Moz","O"];Object.keys(Mr).forEach(function(e){wm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Mr[t]=Mr[e]})});function Gf(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Mr.hasOwnProperty(e)&&Mr[e]?(""+t).trim():t+"px"}function Xf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Gf(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var xm=re({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 ga(e,t){if(t){if(xm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(E(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(E(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(E(61))}if(t.style!=null&&typeof t.style!="object")throw Error(E(62))}}function ya(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 _a=null;function Lu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var wa=null,Xn=null,Jn=null;function Bs(e){if(e=wo(e)){if(typeof wa!="function")throw Error(E(280));var t=e.stateNode;t&&(t=qi(t),wa(e.stateNode,e.type,t))}}function Jf(e){Xn?Jn?Jn.push(e):Jn=[e]:Xn=e}function Zf(){if(Xn){var e=Xn,t=Jn;if(Jn=Xn=null,Bs(e),t)for(e=0;e>>=0,e===0?32:31-(Rm(e)/Im|0)|0}var Ro=64,Io=4194304;function Dr(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 vi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var a=l&~o;a!==0?r=Dr(a):(i&=l,i!==0&&(r=Dr(i)))}else l=n&~o,l!==0?r=Dr(l):i!==0&&(r=Dr(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===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 yo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ut(t),e[t]=n}function zm(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=Ur),Xs=" ",Js=!1;function yd(e,t){switch(e){case"keyup":return fv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _d(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var An=!1;function pv(e,t){switch(e){case"compositionend":return _d(t);case"keypress":return t.which!==32?null:(Js=!0,Xs);case"textInput":return e=t.data,e===Xs&&Js?null:e;default:return null}}function hv(e,t){if(An)return e==="compositionend"||!Mu&&yd(e,t)?(e=vd(),Jo=Du=Wt=null,An=!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=tc(n)}}function kd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?kd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Cd(){for(var e=window,t=di();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=di(e.document)}return t}function Fu(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 kv(e){var t=Cd(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&kd(n.ownerDocument.documentElement,n)){if(r!==null&&Fu(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 o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=nc(n,i);var l=nc(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,zn=null,Pa=null,br=null,Na=!1;function rc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Na||zn==null||zn!==di(r)||(r=zn,"selectionStart"in r&&Fu(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}),br&&eo(br,r)||(br=r,r=_i(Pa,"onSelect"),0Un||(e.current=Ia[Un],Ia[Un]=null,Un--)}function G(e,t){Un++,Ia[Un]=e.current,e.current=t}var tn={},ke=rn(tn),je=rn(!1),yn=tn;function lr(e,t){var n=e.type.contextTypes;if(!n)return tn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Re(e){return e=e.childContextTypes,e!=null}function xi(){Z(je),Z(ke)}function cc(e,t,n){if(ke.current!==tn)throw Error(E(168));G(ke,t),G(je,n)}function Id(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(E(108,ym(e)||"Unknown",o));return re({},n,r)}function Si(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||tn,yn=ke.current,G(ke,e),G(je,je.current),!0}function fc(e,t,n){var r=e.stateNode;if(!r)throw Error(E(169));n?(e=Id(e,t,yn),r.__reactInternalMemoizedMergedChildContext=e,Z(je),Z(ke),G(ke,e)):Z(je),G(je,n)}var xt=null,el=!1,Ml=!1;function $d(e){xt===null?xt=[e]:xt.push(e)}function Dv(e){el=!0,$d(e)}function on(){if(!Ml&&xt!==null){Ml=!0;var e=0,t=K;try{var n=xt;for(K=1;e>=l,o-=l,St=1<<32-ut(t)+o|n<P?(D=k,k=null):D=k.sibling;var z=p(h,k,m[P],S);if(z===null){k===null&&(k=D);break}e&&k&&z.alternate===null&&t(h,k),d=i(z,d,P),j===null?N=z:j.sibling=z,j=z,k=D}if(P===m.length)return n(h,k),q&&sn(h,P),N;if(k===null){for(;PP?(D=k,k=null):D=k.sibling;var Q=p(h,k,z.value,S);if(Q===null){k===null&&(k=D);break}e&&k&&Q.alternate===null&&t(h,k),d=i(Q,d,P),j===null?N=Q:j.sibling=Q,j=Q,k=D}if(z.done)return n(h,k),q&&sn(h,P),N;if(k===null){for(;!z.done;P++,z=m.next())z=f(h,z.value,S),z!==null&&(d=i(z,d,P),j===null?N=z:j.sibling=z,j=z);return q&&sn(h,P),N}for(k=r(h,k);!z.done;P++,z=m.next())z=v(k,h,P,z.value,S),z!==null&&(e&&z.alternate!==null&&k.delete(z.key===null?P:z.key),d=i(z,d,P),j===null?N=z:j.sibling=z,j=z);return e&&k.forEach(function(L){return t(h,L)}),q&&sn(h,P),N}function $(h,d,m,S){if(typeof m=="object"&&m!==null&&m.type===Dn&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case Oo:e:{for(var N=m.key,j=d;j!==null;){if(j.key===N){if(N=m.type,N===Dn){if(j.tag===7){n(h,j.sibling),d=o(j,m.props.children),d.return=h,h=d;break e}}else if(j.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===Mt&&hc(N)===j.type){n(h,j.sibling),d=o(j,m.props),d.ref=Pr(h,j,m),d.return=h,h=d;break e}n(h,j);break}else t(h,j);j=j.sibling}m.type===Dn?(d=gn(m.props.children,h.mode,S,m.key),d.return=h,h=d):(S=ii(m.type,m.key,m.props,null,h.mode,S),S.ref=Pr(h,d,m),S.return=h,h=S)}return l(h);case $n:e:{for(j=m.key;d!==null;){if(d.key===j)if(d.tag===4&&d.stateNode.containerInfo===m.containerInfo&&d.stateNode.implementation===m.implementation){n(h,d.sibling),d=o(d,m.children||[]),d.return=h,h=d;break e}else{n(h,d);break}else t(h,d);d=d.sibling}d=Ql(m,h.mode,S),d.return=h,h=d}return l(h);case Mt:return j=m._init,$(h,d,j(m._payload),S)}if($r(m))return g(h,d,m,S);if(xr(m))return y(h,d,m,S);Uo(h,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,d!==null&&d.tag===6?(n(h,d.sibling),d=o(d,m),d.return=h,h=d):(n(h,d),d=Vl(m,h.mode,S),d.return=h,h=d),l(h)):n(h,d)}return $}var ur=Md(!0),Fd=Md(!1),Ei=rn(null),Pi=null,Wn=null,Wu=null;function Hu(){Wu=Wn=Pi=null}function Vu(e){var t=Ei.current;Z(Ei),e._currentValue=t}function Aa(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function qn(e,t){Pi=e,Wu=Wn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Le=!0),e.firstContext=null)}function et(e){var t=e._currentValue;if(Wu!==e)if(e={context:e,memoizedValue:t,next:null},Wn===null){if(Pi===null)throw Error(E(308));Wn=e,Pi.dependencies={lanes:0,firstContext:e}}else Wn=Wn.next=e;return t}var hn=null;function Qu(e){hn===null?hn=[e]:hn.push(e)}function Ud(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Qu(t)):(n.next=o.next,o.next=n),t.interleaved=n,Tt(e,r)}function Tt(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 Ft=!1;function Ku(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Bd(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 Ct(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Gt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,V&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Tt(e,n)}return o=r.interleaved,o===null?(t.next=t,Qu(r)):(t.next=o.next,o.next=t),r.interleaved=t,Tt(e,n)}function qo(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,Ru(e,n)}}function mc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=l:i=i.next=l,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,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 Ni(e,t,n,r){var o=e.updateQueue;Ft=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var u=a,s=u.next;u.next=null,l===null?i=s:l.next=s,l=u;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==l&&(a===null?c.firstBaseUpdate=s:a.next=s,c.lastBaseUpdate=u))}if(i!==null){var f=o.baseState;l=0,c=s=u=null,a=i;do{var p=a.lane,v=a.eventTime;if((r&p)===p){c!==null&&(c=c.next={eventTime:v,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var g=e,y=a;switch(p=t,v=n,y.tag){case 1:if(g=y.payload,typeof g=="function"){f=g.call(v,f,p);break e}f=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=y.payload,p=typeof g=="function"?g.call(v,f,p):g,p==null)break e;f=re({},f,p);break e;case 2:Ft=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,p=o.effects,p===null?o.effects=[a]:p.push(a))}else v={eventTime:v,lane:p,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(s=c=v,u=f):c=c.next=v,l|=p;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;p=a,a=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(!0);if(c===null&&(u=f),o.baseState=u,o.firstBaseUpdate=s,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);xn|=l,e.lanes=l,e.memoizedState=f}}function vc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Ul.transition;Ul.transition={};try{e(!1),t()}finally{K=n,Ul.transition=r}}function op(){return tt().memoizedState}function Fv(e,t,n){var r=Jt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ip(e))lp(t,n);else if(n=Ud(e,t,n,r),n!==null){var o=Ee();st(n,e,r,o),ap(n,t,r)}}function Uv(e,t,n){var r=Jt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ip(e))lp(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,a=i(l,n);if(o.hasEagerState=!0,o.eagerState=a,ct(a,l)){var u=t.interleaved;u===null?(o.next=o,Qu(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch{}finally{}n=Ud(e,t,o,r),n!==null&&(o=Ee(),st(n,e,r,o),ap(n,t,r))}}function ip(e){var t=e.alternate;return e===ne||t!==null&&t===ne}function lp(e,t){Wr=Oi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ap(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ru(e,n)}}var Li={readContext:et,useCallback:_e,useContext:_e,useEffect:_e,useImperativeHandle:_e,useInsertionEffect:_e,useLayoutEffect:_e,useMemo:_e,useReducer:_e,useRef:_e,useState:_e,useDebugValue:_e,useDeferredValue:_e,useTransition:_e,useMutableSource:_e,useSyncExternalStore:_e,useId:_e,unstable_isNewReconciler:!1},Bv={readContext:et,useCallback:function(e,t){return pt().memoizedState=[e,t===void 0?null:t],e},useContext:et,useEffect:yc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ti(4194308,4,qd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ti(4194308,4,e,t)},useInsertionEffect:function(e,t){return ti(4,2,e,t)},useMemo:function(e,t){var n=pt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=pt();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=Fv.bind(null,ne,e),[r.memoizedState,e]},useRef:function(e){var t=pt();return e={current:e},t.memoizedState=e},useState:gc,useDebugValue:ts,useDeferredValue:function(e){return pt().memoizedState=e},useTransition:function(){var e=gc(!1),t=e[0];return e=Mv.bind(null,e[1]),pt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ne,o=pt();if(q){if(n===void 0)throw Error(E(407));n=n()}else{if(n=t(),he===null)throw Error(E(349));wn&30||Vd(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,yc(Kd.bind(null,r,i,e),[e]),r.flags|=2048,uo(9,Qd.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=pt(),t=he.identifierPrefix;if(q){var n=kt,r=St;n=(r&~(1<<32-ut(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=lo++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[ht]=t,e[no]=r,vp(e,t,!1,!1),t.stateNode=e;e:{switch(l=ya(n,r),n){case"dialog":J("cancel",e),J("close",e),o=r;break;case"iframe":case"object":case"embed":J("load",e),o=r;break;case"video":case"audio":for(o=0;ofr&&(t.flags|=128,r=!0,Pr(i,!1),t.lanes=4194304)}else{if(!r)if(e=Ti(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Pr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!q)return we(t),null}else 2*ae()-i.renderingStartTime>fr&&n!==1073741824&&(t.flags|=128,r=!0,Pr(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ae(),t.sibling=null,n=te.current,G(te,r?n&1|2:n&1),t):(we(t),null);case 22:case 23:return as(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ze&1073741824&&(we(t),t.subtreeFlags&6&&(t.flags|=8192)):we(t),null;case 24:return null;case 25:return null}throw Error(E(156,t.tag))}function Yv(e,t){switch(Bu(t),t.tag){case 1:return Re(t.type)&&xi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return sr(),Z(je),Z(ke),Xu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Gu(t),null;case 13:if(Z(te),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(E(340));ar()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Z(te),null;case 4:return sr(),null;case 10:return Vu(t.type._context),null;case 22:case 23:return as(),null;case 24:return null;default:return null}}var bo=!1,Se=!1,Gv=typeof WeakSet=="function"?WeakSet:Set,R=null;function Hn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){oe(e,t,r)}else n.current=null}function Va(e,t,n){try{n()}catch(r){oe(e,t,r)}}var Oc=!1;function Xv(e,t){if(Ta=gi,e=kd(),Fu(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 o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,a=-1,u=-1,s=0,c=0,f=e,p=null;t:for(;;){for(var v;f!==n||o!==0&&f.nodeType!==3||(a=l+o),f!==i||r!==0&&f.nodeType!==3||(u=l+r),f.nodeType===3&&(l+=f.nodeValue.length),(v=f.firstChild)!==null;)p=f,f=v;for(;;){if(f===e)break t;if(p===n&&++s===o&&(a=l),p===i&&++c===r&&(u=l),(v=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=v}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Oa={focusedElem:e,selectionRange:n},gi=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var y=g.memoizedProps,$=g.memoizedState,h=t.stateNode,d=h.getSnapshotBeforeUpdate(t.elementType===t.type?y:nt(t.type,y),$);h.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(E(163))}}catch(S){oe(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return g=Oc,Oc=!1,g}function Wr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Va(t,n,i)}o=o.next}while(o!==r)}}function rl(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 Qa(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 _p(e){var t=e.alternate;t!==null&&(e.alternate=null,_p(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ht],delete t[no],delete t[Ra],delete t[Rv],delete t[Iv])),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 wp(e){return e.tag===5||e.tag===3||e.tag===4}function Lc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||wp(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 Ka(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=wi));else if(r!==4&&(e=e.child,e!==null))for(Ka(e,t,n),e=e.sibling;e!==null;)Ka(e,t,n),e=e.sibling}function Ya(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(Ya(e,t,n),e=e.sibling;e!==null;)Ya(e,t,n),e=e.sibling}var me=null,rt=!1;function zt(e,t,n){for(n=n.child;n!==null;)xp(e,t,n),n=n.sibling}function xp(e,t,n){if(mt&&typeof mt.onCommitFiberUnmount=="function")try{mt.onCommitFiberUnmount(Gi,n)}catch{}switch(n.tag){case 5:Se||Hn(n,t);case 6:var r=me,o=rt;me=null,zt(e,t,n),me=r,rt=o,me!==null&&(rt?(e=me,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):me.removeChild(n.stateNode));break;case 18:me!==null&&(rt?(e=me,n=n.stateNode,e.nodeType===8?zl(e.parentNode,n):e.nodeType===1&&zl(e,n),Jr(e)):zl(me,n.stateNode));break;case 4:r=me,o=rt,me=n.stateNode.containerInfo,rt=!0,zt(e,t,n),me=r,rt=o;break;case 0:case 11:case 14:case 15:if(!Se&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&Va(n,t,l),o=o.next}while(o!==r)}zt(e,t,n);break;case 1:if(!Se&&(Hn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){oe(n,t,a)}zt(e,t,n);break;case 21:zt(e,t,n);break;case 22:n.mode&1?(Se=(r=Se)||n.memoizedState!==null,zt(e,t,n),Se=r):zt(e,t,n);break;default:zt(e,t,n)}}function jc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Gv),t.forEach(function(r){var o=ig.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function tt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=ae()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Zv(r/1960))-r,10e?16:e,Ht===null)var r=!1;else{if(e=Ht,Ht=null,Ii=0,V&6)throw Error(E(331));var o=V;for(V|=4,R=e.current;R!==null;){var i=R,l=i.child;if(R.flags&16){var a=i.deletions;if(a!==null){for(var u=0;uae()-is?vn(e,0):os|=n),Ie(e,t)}function Op(e,t){t===0&&(e.mode&1?(t=Io,Io<<=1,!(Io&130023424)&&(Io=4194304)):t=1);var n=Ee();e=Tt(e,t),e!==null&&(go(e,t,n),Ie(e,n))}function og(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Op(e,n)}function ig(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(E(314))}r!==null&&r.delete(t),Op(e,n)}var Lp;Lp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||je.current)Le=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Le=!1,Qv(e,t,n);Le=!!(e.flags&131072)}else Le=!1,q&&t.flags&1048576&&$d(t,Ci,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ni(e,t),e=t.pendingProps;var o=lr(t,ke.current);qn(t,n),o=Zu(null,t,r,e,o,n);var i=qu();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Re(r)?(i=!0,Si(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Ku(t),o.updater=nl,t.stateNode=o,o._reactInternals=t,Ma(t,r,e,n),t=Ba(null,t,r,!0,i,n)):(t.tag=0,q&&i&&Uu(t),Ce(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ni(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=ag(r),e=nt(r,e),o){case 0:t=Ua(null,t,r,e,n);break e;case 1:t=Pc(null,t,r,e,n);break e;case 11:t=Cc(null,t,r,e,n);break e;case 14:t=Ec(null,t,r,nt(r.type,e),n);break e}throw Error(E(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:nt(r,o),Ua(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:nt(r,o),Pc(e,t,r,o,n);case 3:e:{if(pp(t),e===null)throw Error(E(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Ud(e,t),Ni(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=cr(Error(E(423)),t),t=Nc(e,t,r,n,o);break e}else if(r!==o){o=cr(Error(E(424)),t),t=Nc(e,t,r,n,o);break e}else for(Me=Yt(t.stateNode.containerInfo.firstChild),Fe=t,q=!0,ot=null,n=Md(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ar(),r===o){t=Ot(e,t,n);break e}Ce(e,t,r,n)}t=t.child}return t;case 5:return Bd(t),e===null&&Da(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,La(r,o)?l=null:i!==null&&La(r,i)&&(t.flags|=32),dp(e,t),Ce(e,t,l,n),t.child;case 6:return e===null&&Da(t),null;case 13:return hp(e,t,n);case 4:return Yu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ur(t,null,r,n):Ce(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:nt(r,o),Cc(e,t,r,o,n);case 7:return Ce(e,t,t.pendingProps,n),t.child;case 8:return Ce(e,t,t.pendingProps.children,n),t.child;case 12:return Ce(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,G(Ei,r._currentValue),r._currentValue=l,i!==null)if(ct(i.value,l)){if(i.children===o.children&&!je.current){t=Ot(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){l=i.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(i.tag===1){u=Ct(-1,n&-n),u.tag=2;var s=i.updateQueue;if(s!==null){s=s.shared;var c=s.pending;c===null?u.next=u:(u.next=c.next,c.next=u),s.pending=u}}i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Aa(i.return,n,t),a.lanes|=n;break}u=u.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(E(341));l.lanes|=n,a=l.alternate,a!==null&&(a.lanes|=n),Aa(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}Ce(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,qn(t,n),o=qe(o),r=r(o),t.flags|=1,Ce(e,t,r,n),t.child;case 14:return r=t.type,o=nt(r,t.pendingProps),o=nt(r.type,o),Ec(e,t,r,o,n);case 15:return cp(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:nt(r,o),ni(e,t),t.tag=1,Re(r)?(e=!0,Si(t)):e=!1,qn(t,n),ap(t,r,o),Ma(t,r,o,n),Ba(null,t,r,!0,e,n);case 19:return mp(e,t,n);case 22:return fp(e,t,n)}throw Error(E(156,t.tag))};function jp(e,t){return od(e,t)}function lg(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 Je(e,t,n,r){return new lg(e,t,n,r)}function ss(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ag(e){if(typeof e=="function")return ss(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Tu)return 11;if(e===Ou)return 14}return 2}function Zt(e,t){var n=e.alternate;return n===null?(n=Je(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 ii(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")ss(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Dn:return gn(n.children,o,i,t);case Nu:l=8,o|=8;break;case ua:return e=Je(12,n,t,o|2),e.elementType=ua,e.lanes=i,e;case sa:return e=Je(13,n,t,o),e.elementType=sa,e.lanes=i,e;case ca:return e=Je(19,n,t,o),e.elementType=ca,e.lanes=i,e;case Bf:return il(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ff:l=10;break e;case Uf:l=9;break e;case Tu:l=11;break e;case Ou:l=14;break e;case Mt:l=16,r=null;break e}throw Error(E(130,e==null?e:typeof e,""))}return t=Je(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function gn(e,t,n,r){return e=Je(7,e,r,t),e.lanes=n,e}function il(e,t,n,r){return e=Je(22,e,r,t),e.elementType=Bf,e.lanes=n,e.stateNode={isHidden:!1},e}function Vl(e,t,n){return e=Je(6,e,null,t),e.lanes=n,e}function Ql(e,t,n){return t=Je(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ug(e,t,n,r,o){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=Pl(0),this.expirationTimes=Pl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pl(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function cs(e,t,n,r,o,i,l,a,u){return e=new ug(e,t,n,a,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Je(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ku(i),e}function sg(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Dp)}catch(e){console.error(e)}}Dp(),Df.exports=We;var hg=Df.exports,Fc=hg;la.createRoot=Fc.createRoot,la.hydrateRoot=Fc.hydrateRoot;/** +`+i.stack}return{value:e,source:t,stack:o,digest:null}}function Wl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Fa(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Hv=typeof WeakMap=="function"?WeakMap:Map;function sp(e,t,n){n=Ct(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ri||(Ri=!0,Ga=r),Fa(e,t)},n}function cp(e,t,n){n=Ct(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Fa(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Fa(e,t),typeof r!="function"&&(Xt===null?Xt=new Set([this]):Xt.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function xc(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Hv;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=og.bind(null,e,t,n),t.then(e,e))}function Sc(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 kc(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,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=Ct(-1,1),t.tag=2,Gt(n,t,1))),n.lanes|=1),e)}var Vv=jt.ReactCurrentOwner,Le=!1;function Ce(e,t,n,r){t.child=e===null?Fd(t,null,n,r):ur(t,e.child,n,r)}function Cc(e,t,n,r,o){n=n.render;var i=t.ref;return qn(t,o),r=Zu(e,t,n,r,i,o),n=qu(),e!==null&&!Le?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ot(e,t,o)):(q&&n&&Uu(t),t.flags|=1,Ce(e,t,r,o),t.child)}function Ec(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!ss(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,fp(e,t,i,r,o)):(e=ii(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var l=i.memoizedProps;if(n=n.compare,n=n!==null?n:eo,n(l,r)&&e.ref===t.ref)return Ot(e,t,o)}return t.flags|=1,e=Zt(i,r),e.ref=t.ref,e.return=t,t.child=e}function fp(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(eo(i,r)&&e.ref===t.ref)if(Le=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(Le=!0);else return t.lanes=e.lanes,Ot(e,t,o)}return Ua(e,t,n,r,o)}function dp(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},G(Vn,ze),ze|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,G(Vn,ze),ze|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,G(Vn,ze),ze|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,G(Vn,ze),ze|=r;return Ce(e,t,o,n),t.child}function pp(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ua(e,t,n,r,o){var i=Re(n)?yn:ke.current;return i=lr(t,i),qn(t,o),n=Zu(e,t,n,r,i,o),r=qu(),e!==null&&!Le?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ot(e,t,o)):(q&&r&&Uu(t),t.flags|=1,Ce(e,t,n,o),t.child)}function Pc(e,t,n,r,o){if(Re(n)){var i=!0;Si(t)}else i=!1;if(qn(t,o),t.stateNode===null)ni(e,t),up(t,n,r),Ma(t,n,r,o),r=!0;else if(e===null){var l=t.stateNode,a=t.memoizedProps;l.props=a;var u=l.context,s=n.contextType;typeof s=="object"&&s!==null?s=et(s):(s=Re(n)?yn:ke.current,s=lr(t,s));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof l.getSnapshotBeforeUpdate=="function";f||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==r||u!==s)&&wc(t,l,r,s),Ft=!1;var p=t.memoizedState;l.state=p,Ni(t,r,l,o),u=t.memoizedState,a!==r||p!==u||je.current||Ft?(typeof c=="function"&&(za(t,n,c,r),u=t.memoizedState),(a=Ft||_c(t,n,a,r,p,u,s))?(f||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),l.props=r,l.state=u,l.context=s,r=a):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,Bd(e,t),a=t.memoizedProps,s=t.type===t.elementType?a:rt(t.type,a),l.props=s,f=t.pendingProps,p=l.context,u=n.contextType,typeof u=="object"&&u!==null?u=et(u):(u=Re(n)?yn:ke.current,u=lr(t,u));var v=n.getDerivedStateFromProps;(c=typeof v=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==f||p!==u)&&wc(t,l,r,u),Ft=!1,p=t.memoizedState,l.state=p,Ni(t,r,l,o);var g=t.memoizedState;a!==f||p!==g||je.current||Ft?(typeof v=="function"&&(za(t,n,v,r),g=t.memoizedState),(s=Ft||_c(t,n,s,r,p,g,u)||!1)?(c||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,g,u),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,g,u)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),l.props=r,l.state=g,l.context=u,r=s):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Ba(e,t,n,r,i,o)}function Ba(e,t,n,r,o,i){pp(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return o&&fc(t,n,!1),Ot(e,t,i);r=t.stateNode,Vv.current=t;var a=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=ur(t,e.child,null,i),t.child=ur(t,null,a,i)):Ce(e,t,a,i),t.memoizedState=r.state,o&&fc(t,n,!0),t.child}function hp(e){var t=e.stateNode;t.pendingContext?cc(e,t.pendingContext,t.pendingContext!==t.context):t.context&&cc(e,t.context,!1),Yu(e,t.containerInfo)}function Nc(e,t,n,r,o){return ar(),bu(o),t.flags|=256,Ce(e,t,n,r),t.child}var ba={dehydrated:null,treeContext:null,retryLane:0};function Wa(e){return{baseLanes:e,cachePool:null,transitions:null}}function mp(e,t,n){var r=t.pendingProps,o=te.current,i=!1,l=(t.flags&128)!==0,a;if((a=l)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),G(te,o&1),e===null)return Da(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):(l=r.children,e=r.fallback,i?(r=t.mode,i=t.child,l={mode:"hidden",children:l},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=l):i=il(l,r,0,null),e=gn(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Wa(n),t.memoizedState=ba,e):ns(t,l));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return Qv(e,t,l,r,a,o,n);if(i){i=r.fallback,l=t.mode,o=e.child,a=o.sibling;var u={mode:"hidden",children:r.children};return!(l&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=Zt(o,u),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?i=Zt(a,i):(i=gn(i,l,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,l=e.child.memoizedState,l=l===null?Wa(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~n,t.memoizedState=ba,r}return i=e.child,e=i.sibling,r=Zt(i,{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 ns(e,t){return t=il({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Bo(e,t,n,r){return r!==null&&bu(r),ur(t,e.child,null,n),e=ns(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Qv(e,t,n,r,o,i,l){if(n)return t.flags&256?(t.flags&=-257,r=Wl(Error(E(422))),Bo(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=il({mode:"visible",children:r.children},o,0,null),i=gn(i,o,l,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&ur(t,e.child,null,l),t.child.memoizedState=Wa(l),t.memoizedState=ba,i);if(!(t.mode&1))return Bo(e,t,l,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(E(419)),r=Wl(i,r,void 0),Bo(e,t,l,r)}if(a=(l&e.childLanes)!==0,Le||a){if(r=he,r!==null){switch(l&-l){case 4:o=2;break;case 16:o=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:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|l)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,Tt(e,o),st(r,e,o,-1))}return us(),r=Wl(Error(E(421))),Bo(e,t,l,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=ig.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Me=Yt(o.nextSibling),Fe=t,q=!0,it=null,e!==null&&(Xe[Je++]=St,Xe[Je++]=kt,Xe[Je++]=_n,St=e.id,kt=e.overflow,_n=t),t=ns(t,r.children),t.flags|=4096,t)}function Tc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Aa(e.return,t,n)}function Hl(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function vp(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Ce(e,t,r.children,n),r=te.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&&Tc(e,n,t);else if(e.tag===19)Tc(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(G(te,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Ti(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Hl(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Ti(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Hl(t,!0,n,null,i);break;case"together":Hl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ni(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ot(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),xn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(E(153));if(t.child!==null){for(e=t.child,n=Zt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Zt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Kv(e,t,n){switch(t.tag){case 3:hp(t),ar();break;case 5:bd(t);break;case 1:Re(t.type)&&Si(t);break;case 4:Yu(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;G(Ei,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(G(te,te.current&1),t.flags|=128,null):n&t.child.childLanes?mp(e,t,n):(G(te,te.current&1),e=Ot(e,t,n),e!==null?e.sibling:null);G(te,te.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return vp(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),G(te,te.current),r)break;return null;case 22:case 23:return t.lanes=0,dp(e,t,n)}return Ot(e,t,n)}var gp,Ha,yp,_p;gp=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}};Ha=function(){};yp=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,mn(vt.current);var i=null;switch(n){case"input":o=da(e,o),r=da(e,r),i=[];break;case"select":o=re({},o,{value:void 0}),r=re({},r,{value:void 0}),i=[];break;case"textarea":o=ma(e,o),r=ma(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=wi)}ga(n,r);var l;n=null;for(s in o)if(!r.hasOwnProperty(s)&&o.hasOwnProperty(s)&&o[s]!=null)if(s==="style"){var a=o[s];for(l in a)a.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else s!=="dangerouslySetInnerHTML"&&s!=="children"&&s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Kr.hasOwnProperty(s)?i||(i=[]):(i=i||[]).push(s,null));for(s in r){var u=r[s];if(a=o!=null?o[s]:void 0,r.hasOwnProperty(s)&&u!==a&&(u!=null||a!=null))if(s==="style")if(a){for(l in a)!a.hasOwnProperty(l)||u&&u.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in u)u.hasOwnProperty(l)&&a[l]!==u[l]&&(n||(n={}),n[l]=u[l])}else n||(i||(i=[]),i.push(s,n)),n=u;else s==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,a=a?a.__html:void 0,u!=null&&a!==u&&(i=i||[]).push(s,u)):s==="children"?typeof u!="string"&&typeof u!="number"||(i=i||[]).push(s,""+u):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&(Kr.hasOwnProperty(s)?(u!=null&&s==="onScroll"&&J("scroll",e),i||a===u||(i=[])):(i=i||[]).push(s,u))}n&&(i=i||[]).push("style",n);var s=i;(t.updateQueue=s)&&(t.flags|=4)}};_p=function(e,t,n,r){n!==r&&(t.flags|=4)};function Nr(e,t){if(!q)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 we(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Yv(e,t,n){var r=t.pendingProps;switch(Bu(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return we(t),null;case 1:return Re(t.type)&&xi(),we(t),null;case 3:return r=t.stateNode,sr(),Z(je),Z(ke),Xu(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Fo(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,it!==null&&(Za(it),it=null))),Ha(e,t),we(t),null;case 5:Gu(t);var o=mn(io.current);if(n=t.type,e!==null&&t.stateNode!=null)yp(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(E(166));return we(t),null}if(e=mn(vt.current),Fo(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[ht]=t,r[ro]=i,e=(t.mode&1)!==0,n){case"dialog":J("cancel",r),J("close",r);break;case"iframe":case"object":case"embed":J("load",r);break;case"video":case"audio":for(o=0;o<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[ht]=t,e[ro]=r,gp(e,t,!1,!1),t.stateNode=e;e:{switch(l=ya(n,r),n){case"dialog":J("cancel",e),J("close",e),o=r;break;case"iframe":case"object":case"embed":J("load",e),o=r;break;case"video":case"audio":for(o=0;ofr&&(t.flags|=128,r=!0,Nr(i,!1),t.lanes=4194304)}else{if(!r)if(e=Ti(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Nr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!q)return we(t),null}else 2*ae()-i.renderingStartTime>fr&&n!==1073741824&&(t.flags|=128,r=!0,Nr(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ae(),t.sibling=null,n=te.current,G(te,r?n&1|2:n&1),t):(we(t),null);case 22:case 23:return as(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ze&1073741824&&(we(t),t.subtreeFlags&6&&(t.flags|=8192)):we(t),null;case 24:return null;case 25:return null}throw Error(E(156,t.tag))}function Gv(e,t){switch(Bu(t),t.tag){case 1:return Re(t.type)&&xi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return sr(),Z(je),Z(ke),Xu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Gu(t),null;case 13:if(Z(te),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(E(340));ar()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Z(te),null;case 4:return sr(),null;case 10:return Vu(t.type._context),null;case 22:case 23:return as(),null;case 24:return null;default:return null}}var bo=!1,Se=!1,Xv=typeof WeakSet=="function"?WeakSet:Set,R=null;function Hn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){oe(e,t,r)}else n.current=null}function Va(e,t,n){try{n()}catch(r){oe(e,t,r)}}var Oc=!1;function Jv(e,t){if(Ta=gi,e=Cd(),Fu(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 o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,a=-1,u=-1,s=0,c=0,f=e,p=null;t:for(;;){for(var v;f!==n||o!==0&&f.nodeType!==3||(a=l+o),f!==i||r!==0&&f.nodeType!==3||(u=l+r),f.nodeType===3&&(l+=f.nodeValue.length),(v=f.firstChild)!==null;)p=f,f=v;for(;;){if(f===e)break t;if(p===n&&++s===o&&(a=l),p===i&&++c===r&&(u=l),(v=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=v}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Oa={focusedElem:e,selectionRange:n},gi=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var y=g.memoizedProps,$=g.memoizedState,h=t.stateNode,d=h.getSnapshotBeforeUpdate(t.elementType===t.type?y:rt(t.type,y),$);h.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(E(163))}}catch(S){oe(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return g=Oc,Oc=!1,g}function Hr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Va(t,n,i)}o=o.next}while(o!==r)}}function rl(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 Qa(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 wp(e){var t=e.alternate;t!==null&&(e.alternate=null,wp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ht],delete t[ro],delete t[Ra],delete t[Iv],delete t[$v])),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 xp(e){return e.tag===5||e.tag===3||e.tag===4}function Lc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||xp(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 Ka(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=wi));else if(r!==4&&(e=e.child,e!==null))for(Ka(e,t,n),e=e.sibling;e!==null;)Ka(e,t,n),e=e.sibling}function Ya(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(Ya(e,t,n),e=e.sibling;e!==null;)Ya(e,t,n),e=e.sibling}var me=null,ot=!1;function zt(e,t,n){for(n=n.child;n!==null;)Sp(e,t,n),n=n.sibling}function Sp(e,t,n){if(mt&&typeof mt.onCommitFiberUnmount=="function")try{mt.onCommitFiberUnmount(Gi,n)}catch{}switch(n.tag){case 5:Se||Hn(n,t);case 6:var r=me,o=ot;me=null,zt(e,t,n),me=r,ot=o,me!==null&&(ot?(e=me,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):me.removeChild(n.stateNode));break;case 18:me!==null&&(ot?(e=me,n=n.stateNode,e.nodeType===8?zl(e.parentNode,n):e.nodeType===1&&zl(e,n),Zr(e)):zl(me,n.stateNode));break;case 4:r=me,o=ot,me=n.stateNode.containerInfo,ot=!0,zt(e,t,n),me=r,ot=o;break;case 0:case 11:case 14:case 15:if(!Se&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&Va(n,t,l),o=o.next}while(o!==r)}zt(e,t,n);break;case 1:if(!Se&&(Hn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){oe(n,t,a)}zt(e,t,n);break;case 21:zt(e,t,n);break;case 22:n.mode&1?(Se=(r=Se)||n.memoizedState!==null,zt(e,t,n),Se=r):zt(e,t,n);break;default:zt(e,t,n)}}function jc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Xv),t.forEach(function(r){var o=lg.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function nt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=ae()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*qv(r/1960))-r,10e?16:e,Ht===null)var r=!1;else{if(e=Ht,Ht=null,Ii=0,V&6)throw Error(E(331));var o=V;for(V|=4,R=e.current;R!==null;){var i=R,l=i.child;if(R.flags&16){var a=i.deletions;if(a!==null){for(var u=0;uae()-is?vn(e,0):os|=n),Ie(e,t)}function Lp(e,t){t===0&&(e.mode&1?(t=Io,Io<<=1,!(Io&130023424)&&(Io=4194304)):t=1);var n=Ee();e=Tt(e,t),e!==null&&(yo(e,t,n),Ie(e,n))}function ig(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Lp(e,n)}function lg(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(E(314))}r!==null&&r.delete(t),Lp(e,n)}var jp;jp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||je.current)Le=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Le=!1,Kv(e,t,n);Le=!!(e.flags&131072)}else Le=!1,q&&t.flags&1048576&&Dd(t,Ci,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ni(e,t),e=t.pendingProps;var o=lr(t,ke.current);qn(t,n),o=Zu(null,t,r,e,o,n);var i=qu();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Re(r)?(i=!0,Si(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Ku(t),o.updater=nl,t.stateNode=o,o._reactInternals=t,Ma(t,r,e,n),t=Ba(null,t,r,!0,i,n)):(t.tag=0,q&&i&&Uu(t),Ce(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ni(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=ug(r),e=rt(r,e),o){case 0:t=Ua(null,t,r,e,n);break e;case 1:t=Pc(null,t,r,e,n);break e;case 11:t=Cc(null,t,r,e,n);break e;case 14:t=Ec(null,t,r,rt(r.type,e),n);break e}throw Error(E(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:rt(r,o),Ua(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:rt(r,o),Pc(e,t,r,o,n);case 3:e:{if(hp(t),e===null)throw Error(E(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Bd(e,t),Ni(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=cr(Error(E(423)),t),t=Nc(e,t,r,n,o);break e}else if(r!==o){o=cr(Error(E(424)),t),t=Nc(e,t,r,n,o);break e}else for(Me=Yt(t.stateNode.containerInfo.firstChild),Fe=t,q=!0,it=null,n=Fd(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ar(),r===o){t=Ot(e,t,n);break e}Ce(e,t,r,n)}t=t.child}return t;case 5:return bd(t),e===null&&Da(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,La(r,o)?l=null:i!==null&&La(r,i)&&(t.flags|=32),pp(e,t),Ce(e,t,l,n),t.child;case 6:return e===null&&Da(t),null;case 13:return mp(e,t,n);case 4:return Yu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ur(t,null,r,n):Ce(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:rt(r,o),Cc(e,t,r,o,n);case 7:return Ce(e,t,t.pendingProps,n),t.child;case 8:return Ce(e,t,t.pendingProps.children,n),t.child;case 12:return Ce(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,G(Ei,r._currentValue),r._currentValue=l,i!==null)if(ct(i.value,l)){if(i.children===o.children&&!je.current){t=Ot(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){l=i.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(i.tag===1){u=Ct(-1,n&-n),u.tag=2;var s=i.updateQueue;if(s!==null){s=s.shared;var c=s.pending;c===null?u.next=u:(u.next=c.next,c.next=u),s.pending=u}}i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Aa(i.return,n,t),a.lanes|=n;break}u=u.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(E(341));l.lanes|=n,a=l.alternate,a!==null&&(a.lanes|=n),Aa(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}Ce(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,qn(t,n),o=et(o),r=r(o),t.flags|=1,Ce(e,t,r,n),t.child;case 14:return r=t.type,o=rt(r,t.pendingProps),o=rt(r.type,o),Ec(e,t,r,o,n);case 15:return fp(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:rt(r,o),ni(e,t),t.tag=1,Re(r)?(e=!0,Si(t)):e=!1,qn(t,n),up(t,r,o),Ma(t,r,o,n),Ba(null,t,r,!0,e,n);case 19:return vp(e,t,n);case 22:return dp(e,t,n)}throw Error(E(156,t.tag))};function Rp(e,t){return id(e,t)}function ag(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ze(e,t,n,r){return new ag(e,t,n,r)}function ss(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ug(e){if(typeof e=="function")return ss(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Tu)return 11;if(e===Ou)return 14}return 2}function Zt(e,t){var n=e.alternate;return n===null?(n=Ze(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ii(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")ss(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Dn:return gn(n.children,o,i,t);case Nu:l=8,o|=8;break;case ua:return e=Ze(12,n,t,o|2),e.elementType=ua,e.lanes=i,e;case sa:return e=Ze(13,n,t,o),e.elementType=sa,e.lanes=i,e;case ca:return e=Ze(19,n,t,o),e.elementType=ca,e.lanes=i,e;case bf:return il(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Uf:l=10;break e;case Bf:l=9;break e;case Tu:l=11;break e;case Ou:l=14;break e;case Mt:l=16,r=null;break e}throw Error(E(130,e==null?e:typeof e,""))}return t=Ze(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function gn(e,t,n,r){return e=Ze(7,e,r,t),e.lanes=n,e}function il(e,t,n,r){return e=Ze(22,e,r,t),e.elementType=bf,e.lanes=n,e.stateNode={isHidden:!1},e}function Vl(e,t,n){return e=Ze(6,e,null,t),e.lanes=n,e}function Ql(e,t,n){return t=Ze(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function sg(e,t,n,r,o){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=Pl(0),this.expirationTimes=Pl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pl(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function cs(e,t,n,r,o,i,l,a,u){return e=new sg(e,t,n,a,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ze(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ku(i),e}function cg(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ap)}catch(e){console.error(e)}}Ap(),Af.exports=He;var mg=Af.exports,Fc=mg;la.createRoot=Fc.createRoot,la.hydrateRoot=Fc.hydrateRoot;/** * @remix-run/router v1.7.0 * * Copyright (c) Remix Software Inc. @@ -46,7 +46,7 @@ Error generating stack: `+i.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function qa(){return qa=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function hs(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Uc(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function xo(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var Bc;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Bc||(Bc={}));function mg(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?xo(t):t,o=ms(r.pathname||"/",n);if(o==null)return null;let i=Ap(e);vg(i);let l=null;for(let a=0;l==null&&a{let u={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:l,route:i};u.relativePath.startsWith("/")&&(de(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let s=qt([r,u.relativePath]),c=n.concat(u);i.children&&i.children.length>0&&(de(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),Ap(i.children,t,c,s)),!(i.path==null&&!i.index)&&t.push({path:s,score:kg(s,i.index),routesMeta:c})};return e.forEach((i,l)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,l);else for(let u of zp(i.path))o(i,l,u)}),t}function zp(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let l=zp(r.join("/")),a=[];return a.push(...l.map(u=>u===""?i:[i,u].join("/"))),o&&a.push(...l),a.map(u=>e.startsWith("/")&&u===""?"/":u)}function vg(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Cg(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const gg=/^:\w+$/,yg=3,_g=2,wg=1,xg=10,Sg=-2,bc=e=>e==="*";function kg(e,t){let n=e.split("/"),r=n.length;return n.some(bc)&&(r+=Sg),t&&(r+=_g),n.filter(o=>!bc(o)).reduce((o,i)=>o+(gg.test(i)?yg:i===""?wg:xg),r)}function Cg(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function Eg(e,t){let{routesMeta:n}=e,r={},o="/",i=[];for(let l=0;l{if(c==="*"){let p=a[f]||"";l=i.slice(0,i.length-p.length).replace(/(.)\/+$/,"$1")}return s[c]=Og(a[f]||"",c),s},{}),pathname:i,pathnameBase:l,pattern:e}}function Ng(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),hs(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(l,a)=>(r.push(a),"/([^\\/]+)"));return e.endsWith("*")?(r.push("*"),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function Tg(e){try{return decodeURI(e)}catch(t){return hs(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Og(e,t){try{return decodeURIComponent(e)}catch(n){return hs(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function ms(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Lg(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?xo(e):e;return{pathname:n?n.startsWith("/")?n:jg(n,t):t,search:Ig(r),hash:$g(o)}}function jg(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function Kl(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Mp(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Fp(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=xo(e):(o=qa({},e),de(!o.pathname||!o.pathname.includes("?"),Kl("?","pathname","search",o)),de(!o.pathname||!o.pathname.includes("#"),Kl("#","pathname","hash",o)),de(!o.search||!o.search.includes("#"),Kl("#","search","hash",o)));let i=e===""||o.pathname==="",l=i?"/":o.pathname,a;if(r||l==null)a=n;else{let f=t.length-1;if(l.startsWith("..")){let p=l.split("/");for(;p[0]==="..";)p.shift(),f-=1;o.pathname=p.join("/")}a=f>=0?t[f]:"/"}let u=Lg(o,a),s=l&&l!=="/"&&l.endsWith("/"),c=(i||l===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(s||c)&&(u.pathname+="/"),u}const qt=e=>e.join("/").replace(/\/\/+/g,"/"),Rg=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Ig=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,$g=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Dg(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Up=["post","put","patch","delete"];new Set(Up);const Ag=["get",...Up];new Set(Ag);/** + */function qa(){return qa=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function hs(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Uc(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function So(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var Bc;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Bc||(Bc={}));function vg(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?So(t):t,o=ms(r.pathname||"/",n);if(o==null)return null;let i=zp(e);gg(i);let l=null;for(let a=0;l==null&&a{let u={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:l,route:i};u.relativePath.startsWith("/")&&(de(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let s=qt([r,u.relativePath]),c=n.concat(u);i.children&&i.children.length>0&&(de(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),zp(i.children,t,c,s)),!(i.path==null&&!i.index)&&t.push({path:s,score:Cg(s,i.index),routesMeta:c})};return e.forEach((i,l)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,l);else for(let u of Mp(i.path))o(i,l,u)}),t}function Mp(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let l=Mp(r.join("/")),a=[];return a.push(...l.map(u=>u===""?i:[i,u].join("/"))),o&&a.push(...l),a.map(u=>e.startsWith("/")&&u===""?"/":u)}function gg(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Eg(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const yg=/^:\w+$/,_g=3,wg=2,xg=1,Sg=10,kg=-2,bc=e=>e==="*";function Cg(e,t){let n=e.split("/"),r=n.length;return n.some(bc)&&(r+=kg),t&&(r+=wg),n.filter(o=>!bc(o)).reduce((o,i)=>o+(yg.test(i)?_g:i===""?xg:Sg),r)}function Eg(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function Pg(e,t){let{routesMeta:n}=e,r={},o="/",i=[];for(let l=0;l{if(c==="*"){let p=a[f]||"";l=i.slice(0,i.length-p.length).replace(/(.)\/+$/,"$1")}return s[c]=Lg(a[f]||"",c),s},{}),pathname:i,pathnameBase:l,pattern:e}}function Tg(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),hs(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(l,a)=>(r.push(a),"/([^\\/]+)"));return e.endsWith("*")?(r.push("*"),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function Og(e){try{return decodeURI(e)}catch(t){return hs(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Lg(e,t){try{return decodeURIComponent(e)}catch(n){return hs(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function ms(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function jg(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?So(e):e;return{pathname:n?n.startsWith("/")?n:Rg(n,t):t,search:$g(r),hash:Dg(o)}}function Rg(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function Kl(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Fp(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Up(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=So(e):(o=qa({},e),de(!o.pathname||!o.pathname.includes("?"),Kl("?","pathname","search",o)),de(!o.pathname||!o.pathname.includes("#"),Kl("#","pathname","hash",o)),de(!o.search||!o.search.includes("#"),Kl("#","search","hash",o)));let i=e===""||o.pathname==="",l=i?"/":o.pathname,a;if(r||l==null)a=n;else{let f=t.length-1;if(l.startsWith("..")){let p=l.split("/");for(;p[0]==="..";)p.shift(),f-=1;o.pathname=p.join("/")}a=f>=0?t[f]:"/"}let u=jg(o,a),s=l&&l!=="/"&&l.endsWith("/"),c=(i||l===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(s||c)&&(u.pathname+="/"),u}const qt=e=>e.join("/").replace(/\/\/+/g,"/"),Ig=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),$g=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Dg=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Ag(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Bp=["post","put","patch","delete"];new Set(Bp);const zg=["get",...Bp];new Set(zg);/** * React Router v6.14.0 * * Copyright (c) Remix Software Inc. @@ -55,7 +55,7 @@ Error generating stack: `+i.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function zi(){return zi=Object.assign?Object.assign.bind():function(e){for(var t=1;tu.pathnameBase)),l=w.useRef(!1);return bp(()=>{l.current=!0}),w.useCallback(function(u,s){if(s===void 0&&(s={}),!l.current)return;if(typeof u=="number"){n.go(u);return}let c=Fp(u,JSON.parse(i),o,s.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:qt([t,c.pathname])),(s.replace?n.replace:n.push)(c,s.state,s)},[t,n,i,o,e])}function Ug(){let{matches:e}=w.useContext(ln),t=e[e.length-1];return t?t.params:{}}function Hp(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=w.useContext(ln),{pathname:o}=ko(),i=JSON.stringify(Mp(r).map(l=>l.pathnameBase));return w.useMemo(()=>Fp(e,JSON.parse(i),o,n==="path"),[e,i,o,n])}function Bg(e,t){return bg(e,t)}function bg(e,t,n){So()||de(!1);let{navigator:r}=w.useContext(_r),{matches:o}=w.useContext(ln),i=o[o.length-1],l=i?i.params:{};i&&i.pathname;let a=i?i.pathnameBase:"/";i&&i.route;let u=ko(),s;if(t){var c;let y=typeof t=="string"?xo(t):t;a==="/"||(c=y.pathname)!=null&&c.startsWith(a)||de(!1),s=y}else s=u;let f=s.pathname||"/",p=a==="/"?f:f.slice(a.length)||"/",v=mg(e,{pathname:p}),g=Kg(v&&v.map(y=>Object.assign({},y,{params:Object.assign({},l,y.params),pathname:qt([a,r.encodeLocation?r.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?a:qt([a,r.encodeLocation?r.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),o,n);return t&&g?w.createElement(cl.Provider,{value:{location:zi({pathname:"/",search:"",hash:"",state:null,key:"default"},s),navigationType:Ai.Pop}},g):g}function Wg(){let e=Jg(),t=Dg(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),n?w.createElement("pre",{style:o},n):null,null)}const Hg=w.createElement(Wg,null);class Vg extends w.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?w.createElement(ln.Provider,{value:this.props.routeContext},w.createElement(Bp.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Qg(e){let{routeContext:t,match:n,children:r}=e,o=w.useContext(vs);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(ln.Provider,{value:t},r)}function Kg(e,t,n){var r;if(t===void 0&&(t=[]),n===void 0&&(n=null),e==null){var o;if((o=n)!=null&&o.errors)e=n.matches;else return null}let i=e,l=(r=n)==null?void 0:r.errors;if(l!=null){let a=i.findIndex(u=>u.route.id&&(l==null?void 0:l[u.route.id]));a>=0||de(!1),i=i.slice(0,Math.min(i.length,a+1))}return i.reduceRight((a,u,s)=>{let c=u.route.id?l==null?void 0:l[u.route.id]:null,f=null;n&&(f=u.route.errorElement||Hg);let p=t.concat(i.slice(0,s+1)),v=()=>{let g;return c?g=f:u.route.Component?g=w.createElement(u.route.Component,null):u.route.element?g=u.route.element:g=a,w.createElement(Qg,{match:u,routeContext:{outlet:a,matches:p,isDataRoute:n!=null},children:g})};return n&&(u.route.ErrorBoundary||u.route.errorElement||s===0)?w.createElement(Vg,{location:n.location,revalidation:n.revalidation,component:f,error:c,children:v(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):v()},null)}var eu;(function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"})(eu||(eu={}));var so;(function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"})(so||(so={}));function Yg(e){let t=w.useContext(vs);return t||de(!1),t}function Gg(e){let t=w.useContext(zg);return t||de(!1),t}function Xg(e){let t=w.useContext(ln);return t||de(!1),t}function Vp(e){let t=Xg(),n=t.matches[t.matches.length-1];return n.route.id||de(!1),n.route.id}function Jg(){var e;let t=w.useContext(Bp),n=Gg(so.UseRouteError),r=Vp(so.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function Zg(){let{router:e}=Yg(eu.UseNavigateStable),t=Vp(so.UseNavigateStable),n=w.useRef(!1);return bp(()=>{n.current=!0}),w.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,zi({fromRouteId:t},i)))},[e,t])}function Ar(e){de(!1)}function qg(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Ai.Pop,navigator:i,static:l=!1}=e;So()&&de(!1);let a=t.replace(/^\/*/,"/"),u=w.useMemo(()=>({basename:a,navigator:i,static:l}),[a,i,l]);typeof r=="string"&&(r=xo(r));let{pathname:s="/",search:c="",hash:f="",state:p=null,key:v="default"}=r,g=w.useMemo(()=>{let y=ms(s,a);return y==null?null:{location:{pathname:y,search:c,hash:f,state:p,key:v},navigationType:o}},[a,s,c,f,p,v,o]);return g==null?null:w.createElement(_r.Provider,{value:u},w.createElement(cl.Provider,{children:n,value:g}))}function ey(e){let{children:t,location:n}=e;return Bg(tu(t),n)}var Wc;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(Wc||(Wc={}));new Promise(()=>{});function tu(e,t){t===void 0&&(t=[]);let n=[];return w.Children.forEach(e,(r,o)=>{if(!w.isValidElement(r))return;let i=[...t,o];if(r.type===w.Fragment){n.push.apply(n,tu(r.props.children,i));return}r.type!==Ar&&de(!1),!r.props.index||!r.props.children||de(!1);let l={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(l.children=tu(r.props.children,i)),n.push(l)}),n}/** + */function zi(){return zi=Object.assign?Object.assign.bind():function(e){for(var t=1;tu.pathnameBase)),l=w.useRef(!1);return Wp(()=>{l.current=!0}),w.useCallback(function(u,s){if(s===void 0&&(s={}),!l.current)return;if(typeof u=="number"){n.go(u);return}let c=Up(u,JSON.parse(i),o,s.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:qt([t,c.pathname])),(s.replace?n.replace:n.push)(c,s.state,s)},[t,n,i,o,e])}function Bg(){let{matches:e}=w.useContext(ln),t=e[e.length-1];return t?t.params:{}}function Vp(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=w.useContext(ln),{pathname:o}=wr(),i=JSON.stringify(Fp(r).map(l=>l.pathnameBase));return w.useMemo(()=>Up(e,JSON.parse(i),o,n==="path"),[e,i,o,n])}function bg(e,t){return Wg(e,t)}function Wg(e,t,n){ko()||de(!1);let{navigator:r}=w.useContext(_r),{matches:o}=w.useContext(ln),i=o[o.length-1],l=i?i.params:{};i&&i.pathname;let a=i?i.pathnameBase:"/";i&&i.route;let u=wr(),s;if(t){var c;let y=typeof t=="string"?So(t):t;a==="/"||(c=y.pathname)!=null&&c.startsWith(a)||de(!1),s=y}else s=u;let f=s.pathname||"/",p=a==="/"?f:f.slice(a.length)||"/",v=vg(e,{pathname:p}),g=Yg(v&&v.map(y=>Object.assign({},y,{params:Object.assign({},l,y.params),pathname:qt([a,r.encodeLocation?r.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?a:qt([a,r.encodeLocation?r.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),o,n);return t&&g?w.createElement(cl.Provider,{value:{location:zi({pathname:"/",search:"",hash:"",state:null,key:"default"},s),navigationType:Ai.Pop}},g):g}function Hg(){let e=Zg(),t=Ag(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),n?w.createElement("pre",{style:o},n):null,null)}const Vg=w.createElement(Hg,null);class Qg extends w.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?w.createElement(ln.Provider,{value:this.props.routeContext},w.createElement(bp.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Kg(e){let{routeContext:t,match:n,children:r}=e,o=w.useContext(vs);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(ln.Provider,{value:t},r)}function Yg(e,t,n){var r;if(t===void 0&&(t=[]),n===void 0&&(n=null),e==null){var o;if((o=n)!=null&&o.errors)e=n.matches;else return null}let i=e,l=(r=n)==null?void 0:r.errors;if(l!=null){let a=i.findIndex(u=>u.route.id&&(l==null?void 0:l[u.route.id]));a>=0||de(!1),i=i.slice(0,Math.min(i.length,a+1))}return i.reduceRight((a,u,s)=>{let c=u.route.id?l==null?void 0:l[u.route.id]:null,f=null;n&&(f=u.route.errorElement||Vg);let p=t.concat(i.slice(0,s+1)),v=()=>{let g;return c?g=f:u.route.Component?g=w.createElement(u.route.Component,null):u.route.element?g=u.route.element:g=a,w.createElement(Kg,{match:u,routeContext:{outlet:a,matches:p,isDataRoute:n!=null},children:g})};return n&&(u.route.ErrorBoundary||u.route.errorElement||s===0)?w.createElement(Qg,{location:n.location,revalidation:n.revalidation,component:f,error:c,children:v(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):v()},null)}var eu;(function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"})(eu||(eu={}));var co;(function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"})(co||(co={}));function Gg(e){let t=w.useContext(vs);return t||de(!1),t}function Xg(e){let t=w.useContext(Mg);return t||de(!1),t}function Jg(e){let t=w.useContext(ln);return t||de(!1),t}function Qp(e){let t=Jg(),n=t.matches[t.matches.length-1];return n.route.id||de(!1),n.route.id}function Zg(){var e;let t=w.useContext(bp),n=Xg(co.UseRouteError),r=Qp(co.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function qg(){let{router:e}=Gg(eu.UseNavigateStable),t=Qp(co.UseNavigateStable),n=w.useRef(!1);return Wp(()=>{n.current=!0}),w.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,zi({fromRouteId:t},i)))},[e,t])}function zr(e){de(!1)}function ey(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Ai.Pop,navigator:i,static:l=!1}=e;ko()&&de(!1);let a=t.replace(/^\/*/,"/"),u=w.useMemo(()=>({basename:a,navigator:i,static:l}),[a,i,l]);typeof r=="string"&&(r=So(r));let{pathname:s="/",search:c="",hash:f="",state:p=null,key:v="default"}=r,g=w.useMemo(()=>{let y=ms(s,a);return y==null?null:{location:{pathname:y,search:c,hash:f,state:p,key:v},navigationType:o}},[a,s,c,f,p,v,o]);return g==null?null:w.createElement(_r.Provider,{value:u},w.createElement(cl.Provider,{children:n,value:g}))}function ty(e){let{children:t,location:n}=e;return bg(tu(t),n)}var Wc;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(Wc||(Wc={}));new Promise(()=>{});function tu(e,t){t===void 0&&(t=[]);let n=[];return w.Children.forEach(e,(r,o)=>{if(!w.isValidElement(r))return;let i=[...t,o];if(r.type===w.Fragment){n.push.apply(n,tu(r.props.children,i));return}r.type!==zr&&de(!1),!r.props.index||!r.props.children||de(!1);let l={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(l.children=tu(r.props.children,i)),n.push(l)}),n}/** * React Router DOM v6.14.0 * * Copyright (c) Remix Software Inc. @@ -64,7 +64,7 @@ Error generating stack: `+i.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function nu(){return nu=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function ny(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function ry(e,t){return e.button===0&&(!t||t==="_self")&&!ny(e)}const oy=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],iy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ly=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,gs=w.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:l,state:a,target:u,to:s,preventScrollReset:c}=t,f=ty(t,oy),{basename:p}=w.useContext(_r),v,g=!1;if(typeof s=="string"&&ly.test(s)&&(v=s,iy))try{let d=new URL(window.location.href),m=s.startsWith("//")?new URL(d.protocol+s):new URL(s),S=ms(m.pathname,p);m.origin===d.origin&&S!=null?s=S+m.search+m.hash:g=!0}catch{}let y=Mg(s,{relative:o}),$=ay(s,{replace:l,state:a,target:u,preventScrollReset:c,relative:o});function h(d){r&&r(d),d.defaultPrevented||$(d)}return w.createElement("a",nu({},f,{href:v||y,onClick:g||i?r:h,ref:n,target:u}))});var Hc;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(Hc||(Hc={}));var Vc;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Vc||(Vc={}));function ay(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:l}=t===void 0?{}:t,a=Wp(),u=ko(),s=Hp(e,{relative:l});return w.useCallback(c=>{if(ry(c,n)){c.preventDefault();let f=r!==void 0?r:Uc(u)===Uc(s);a(e,{replace:f,state:o,preventScrollReset:i,relative:l})}},[u,a,s,r,o,n,e,i,l])}function uy({basename:e,children:t,history:n}){const[r,o]=w.useState({action:n.action,location:n.location});return w.useLayoutEffect(()=>n.listen(o),[n]),x.jsx(qg,{basename:e,location:r.location,navigationType:r.action,navigator:n,children:t})}function kn(){return kn=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}const hy=cy(),Mi="https://jsonplaceholder.typicode.com";var st=(e=>(e.Index="/",e.Blog="/blog",e.Post="/post",e))(st||{}),fn=(e=>(e.Delete="Delete",e.Update="Update",e.CreateNew="Create new post",e.Create="Create",e.Confirm="Confirm update",e.Back="Back",e))(fn||{}),Et=(e=>(e.Read="Read",e.Update="Update",e))(Et||{});const my=[{title:"github",src:"img/icons/github.svg",href:"https://github.com/YanaTsemirhaliyeva"},{title:"telegram",src:"img/icons/telegram.svg",href:"https://t.me/Ya_Ti3"},{title:"gmail",src:"img/icons/mail.svg",href:"kolesiko.yana@gmail.com"}];var Qp={exports:{}},vy="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",gy=vy,yy=gy;function Kp(){}function Yp(){}Yp.resetWarningCache=Kp;var _y=function(){function e(r,o,i,l,a,u){if(u!==yy){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Yp,resetWarningCache:Kp};return n.PropTypes=n,n};Qp.exports=_y();var wy=Qp.exports;const H=Pn(wy);var xy=typeof Element<"u",Sy=typeof Map=="function",ky=typeof Set=="function",Cy=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function li(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!li(e[r],t[r]))return!1;return!0}var i;if(Sy&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!li(r.value[1],t.get(r.value[0])))return!1;return!0}if(ky&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(Cy&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if(xy&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((o[r]==="_owner"||o[r]==="__v"||o[r]==="__o")&&e.$$typeof)&&!li(e[o[r]],t[o[r]]))return!1;return!0}return e!==e&&t!==t}var Ey=function(t,n){try{return li(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const Py=Pn(Ey);var Ny=function(e,t,n,r,o,i,l,a){if(!e){var u;if(t===void 0)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,i,l,a],c=0;u=new Error(t.replace(/%s/g,function(){return s[c++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}},Ty=Ny;const Xc=Pn(Ty);var Oy=function(t,n,r,o){var i=r?r.call(o,t,n):void 0;if(i!==void 0)return!!i;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var l=Object.keys(t),a=Object.keys(n);if(l.length!==a.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(n),s=0;s=0||(o[n]=e[n]);return o}var M={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},jy={rel:["amphtml","canonical","alternate"]},Ry={type:["application/ld+json"]},Iy={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},Zc=Object.keys(M).map(function(e){return M[e]}),Fi={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},$y=Object.keys(Fi).reduce(function(e,t){return e[Fi[t]]=t,e},{}),tr=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},Dy=function(e){var t=tr(e,M.TITLE),n=tr(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,function(){return t});var r=tr(e,"defaultTitle");return t||r||void 0},Ay=function(e){return tr(e,"onChangeClientState")||function(){}},Yl=function(e,t){return t.filter(function(n){return n[e]!==void 0}).map(function(n){return n[e]}).reduce(function(n,r){return le({},n,r)},{})},zy=function(e,t){return t.filter(function(n){return n[M.BASE]!==void 0}).map(function(n){return n[M.BASE]}).reverse().reduce(function(n,r){if(!n.length)for(var o=Object.keys(r),i=0;i/g,">").replace(/"/g,""").replace(/'/g,"'")},ef=function(e){return Object.keys(e).reduce(function(t,n){var r=e[n]!==void 0?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r},"")},tf=function(e,t){return t===void 0&&(t={}),Object.keys(e).reduce(function(n,r){return n[Fi[r]||r]=e[r],n},t)},ai=function(e,t){return t.map(function(n,r){var o,i=((o={key:r})["data-rh"]=!0,o);return Object.keys(n).forEach(function(l){var a=Fi[l]||l;a==="innerHTML"||a==="cssText"?i.dangerouslySetInnerHTML={__html:n.innerHTML||n.cssText}:i[a]=n[l]}),lt.createElement(e,i)})},Ye=function(e,t,n){switch(e){case M.TITLE:return{toComponent:function(){return o=t.titleAttributes,(i={key:r=t.title})["data-rh"]=!0,l=tf(o,i),[lt.createElement(M.TITLE,l,r)];var r,o,i,l},toString:function(){return function(r,o,i,l){var a=ef(i),u=Gp(o);return a?"<"+r+' data-rh="true" '+a+">"+Xl(u,l)+"":"<"+r+' data-rh="true">'+Xl(u,l)+""}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return tf(t)},toString:function(){return ef(t)}};default:return{toComponent:function(){return ai(e,t)},toString:function(){return function(r,o,i){return o.reduce(function(l,a){var u=Object.keys(a).filter(function(f){return!(f==="innerHTML"||f==="cssText")}).reduce(function(f,p){var v=a[p]===void 0?p:p+'="'+Xl(a[p],i)+'"';return f?f+" "+v:v},""),s=a.innerHTML||a.cssText||"",c=Fy.indexOf(r)===-1;return l+"<"+r+' data-rh="true" '+u+(c?"/>":">"+s+"")},"")}(e,t,n)}}}},ou=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,i=e.noscriptTags,l=e.styleTags,a=e.title,u=a===void 0?"":a,s=e.titleAttributes,c=e.linkTags,f=e.metaTags,p=e.scriptTags,v={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var g=function(y){var $=y.linkTags,h=y.scriptTags,d=y.encode,m=Gl(y.metaTags,Iy),S=Gl($,jy),N=Gl(h,Ry);return{priorityMethods:{toComponent:function(){return[].concat(ai(M.META,m.priority),ai(M.LINK,S.priority),ai(M.SCRIPT,N.priority))},toString:function(){return Ye(M.META,m.priority,d)+" "+Ye(M.LINK,S.priority,d)+" "+Ye(M.SCRIPT,N.priority,d)}},metaTags:m.default,linkTags:S.default,scriptTags:N.default}}(e);v=g.priorityMethods,c=g.linkTags,f=g.metaTags,p=g.scriptTags}return{priority:v,base:Ye(M.BASE,t,r),bodyAttributes:Ye("bodyAttributes",n,r),htmlAttributes:Ye("htmlAttributes",o,r),link:Ye(M.LINK,c,r),meta:Ye(M.META,f,r),noscript:Ye(M.NOSCRIPT,i,r),script:Ye(M.SCRIPT,p,r),style:Ye(M.STYLE,l,r),title:Ye(M.TITLE,{title:u,titleAttributes:s},r)}},Vo=[],iu=function(e,t){var n=this;t===void 0&&(t=typeof document<"u"),this.instances=[],this.value={setHelmet:function(r){n.context.helmet=r},helmetInstances:{get:function(){return n.canUseDOM?Vo:n.instances},add:function(r){(n.canUseDOM?Vo:n.instances).push(r)},remove:function(r){var o=(n.canUseDOM?Vo:n.instances).indexOf(r);(n.canUseDOM?Vo:n.instances).splice(o,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=ou({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},Xp=lt.createContext({}),Uy=H.shape({setHelmet:H.func,helmetInstances:H.shape({get:H.func,add:H.func,remove:H.func})}),By=typeof document<"u",Kn=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new iu(r.props.context,t.canUseDOM),r}return ys(t,e),t.prototype.render=function(){return lt.createElement(Xp.Provider,{value:this.helmetData.value},this.props.children)},t}(w.Component);Kn.canUseDOM=By,Kn.propTypes={context:H.shape({helmet:H.shape()}),children:H.node.isRequired},Kn.defaultProps={context:{}},Kn.displayName="HelmetProvider";var jn=function(e,t){var n,r=document.head||document.querySelector(M.HEAD),o=r.querySelectorAll(e+"[data-rh]"),i=[].slice.call(o),l=[];return t&&t.length&&t.forEach(function(a){var u=document.createElement(e);for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(s==="innerHTML"?u.innerHTML=a.innerHTML:s==="cssText"?u.styleSheet?u.styleSheet.cssText=a.cssText:u.appendChild(document.createTextNode(a.cssText)):u.setAttribute(s,a[s]===void 0?"":a[s]));u.setAttribute("data-rh","true"),i.some(function(c,f){return n=f,u.isEqualNode(c)})?i.splice(n,1):l.push(u)}),i.forEach(function(a){return a.parentNode.removeChild(a)}),l.forEach(function(a){return r.appendChild(a)}),{oldTags:i,newTags:l}},Jl=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),o=r?r.split(","):[],i=[].concat(o),l=Object.keys(t),a=0;a=0;f-=1)n.removeAttribute(i[f]);o.length===i.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==l.join(",")&&n.setAttribute("data-rh",l.join(","))}},nf=function(e,t){var n=e.baseTag,r=e.htmlAttributes,o=e.linkTags,i=e.metaTags,l=e.noscriptTags,a=e.onChangeClientState,u=e.scriptTags,s=e.styleTags,c=e.title,f=e.titleAttributes;Jl(M.BODY,e.bodyAttributes),Jl(M.HTML,r),function(y,$){y!==void 0&&document.title!==y&&(document.title=Gp(y)),Jl(M.TITLE,$)}(c,f);var p={baseTag:jn(M.BASE,n),linkTags:jn(M.LINK,o),metaTags:jn(M.META,i),noscriptTags:jn(M.NOSCRIPT,l),scriptTags:jn(M.SCRIPT,u),styleTags:jn(M.STYLE,s)},v={},g={};Object.keys(p).forEach(function(y){var $=p[y],h=$.newTags,d=$.oldTags;h.length&&(v[y]=h),d.length&&(g[y]=p[y].oldTags)}),t&&t(),a(e,v,g)},Or=null,Ui=function(e){function t(){for(var r,o=arguments.length,i=new Array(o),l=0;l elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(r){var o,i=r.child,l=r.arrayTypeChildren;return le({},l,((o={})[i.type]=[].concat(l[i.type]||[],[le({},r.newChildProps,this.mapNestedChildrenToProps(i,r.nestedChildren))]),o))},n.mapObjectTypeChildren=function(r){var o,i,l=r.child,a=r.newProps,u=r.newChildProps,s=r.nestedChildren;switch(l.type){case M.TITLE:return le({},a,((o={})[l.type]=s,o.titleAttributes=le({},u),o));case M.BODY:return le({},a,{bodyAttributes:le({},u)});case M.HTML:return le({},a,{htmlAttributes:le({},u)});default:return le({},a,((i={})[l.type]=le({},u),i))}},n.mapArrayTypeChildrenToProps=function(r,o){var i=le({},o);return Object.keys(r).forEach(function(l){var a;i=le({},i,((a={})[l]=r[l],a))}),i},n.warnOnInvalidChildren=function(r,o){return Xc(Zc.some(function(i){return r.type===i}),typeof r.type=="function"?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+Zc.join(", ")+" are allowed. Helmet does not support rendering <"+r.type+"> elements. Refer to our API for more information."),Xc(!o||typeof o=="string"||Array.isArray(o)&&!o.some(function(i){return typeof i!="string"}),"Helmet expects a string as a child of <"+r.type+">. Did you forget to wrap your children in braces? ( <"+r.type+">{``} ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(r,o){var i=this,l={};return lt.Children.forEach(r,function(a){if(a&&a.props){var u=a.props,s=u.children,c=Jc(u,by),f=Object.keys(c).reduce(function(v,g){return v[$y[g]||g]=c[g],v},{}),p=a.type;switch(typeof p=="symbol"?p=p.toString():i.warnOnInvalidChildren(a,s),p){case M.FRAGMENT:o=i.mapChildrenToProps(s,o);break;case M.LINK:case M.META:case M.NOSCRIPT:case M.SCRIPT:case M.STYLE:l=i.flattenArrayTypeChildren({child:a,arrayTypeChildren:l,newChildProps:f,nestedChildren:s});break;default:o=i.mapObjectTypeChildren({child:a,newProps:o,newChildProps:f,nestedChildren:s})}}}),this.mapArrayTypeChildrenToProps(l,o)},n.render=function(){var r=this.props,o=r.children,i=Jc(r,Wy),l=le({},i),a=i.helmetData;return o&&(l=this.mapChildrenToProps(o,l)),!a||a instanceof iu||(a=new iu(a.context,a.instances)),a?lt.createElement(Ui,le({},l,{context:a.value,helmetData:void 0})):lt.createElement(Xp.Consumer,null,function(u){return lt.createElement(Ui,le({},l,{context:u}))})},t}(w.Component);ui.propTypes={base:H.object,bodyAttributes:H.object,children:H.oneOfType([H.arrayOf(H.node),H.node]),defaultTitle:H.string,defer:H.bool,encodeSpecialCharacters:H.bool,htmlAttributes:H.object,link:H.arrayOf(H.object),meta:H.arrayOf(H.object),noscript:H.arrayOf(H.object),onChangeClientState:H.func,script:H.arrayOf(H.object),style:H.arrayOf(H.object),title:H.string,titleAttributes:H.object,titleTemplate:H.string,prioritizeSeoTags:H.bool,helmetData:H.object},ui.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},ui.displayName="Helmet";const Rn={"container__not-found":"_container__not-found_3itec_1","not-found":"_not-found_3itec_10","not-found__title":"_not-found__title_3itec_20","not-found__text":"_not-found__text_3itec_27","not-found__description":"_not-found__description_3itec_36","not-found__button":"_not-found__button_3itec_44"};function Jp(){return x.jsx("div",{className:Rn["container__not-found"],children:x.jsxs("section",{className:Rn["not-found"],children:[x.jsx("h1",{className:Rn["not-found__title"],children:"404"}),x.jsx("p",{className:Rn["not-found__text"],children:"Страница не найдена"}),x.jsx("p",{className:Rn["not-found__description"],children:"Извините, но страница, которую вы ищете, не существует"}),x.jsx(gs,{to:st.Index,className:Rn["not-found__button"],"data-testid":"back-home",children:"Вернуться домой"})]})})}let Hy={data:""},Vy=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||Hy,Qy=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,Ky=/\/\*[^]*?\*\/| +/g,rf=/\n+/g,bt=(e,t)=>{let n="",r="",o="";for(let i in e){let l=e[i];i[0]=="@"?i[1]=="i"?n=i+" "+l+";":r+=i[1]=="f"?bt(l,i):i+"{"+bt(l,i[1]=="k"?"":t)+"}":typeof l=="object"?r+=bt(l,t?t.replace(/([^,])+/g,a=>i.replace(/(^:.*)|([^,])+/g,u=>/&/.test(u)?u.replace(/&/g,a):a?a+" "+u:u)):i):l!=null&&(i=/^--/.test(i)?i:i.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=bt.p?bt.p(i,l):i+":"+l+";")}return n+(t&&o?t+"{"+o+"}":o)+r},_t={},Zp=e=>{if(typeof e=="object"){let t="";for(let n in e)t+=n+Zp(e[n]);return t}return e},Yy=(e,t,n,r,o)=>{let i=Zp(e),l=_t[i]||(_t[i]=(u=>{let s=0,c=11;for(;s>>0;return"go"+c})(i));if(!_t[l]){let u=i!==e?e:(s=>{let c,f,p=[{}];for(;c=Qy.exec(s.replace(Ky,""));)c[4]?p.shift():c[3]?(f=c[3].replace(rf," ").trim(),p.unshift(p[0][f]=p[0][f]||{})):p[0][c[1]]=c[2].replace(rf," ").trim();return p[0]})(e);_t[l]=bt(o?{["@keyframes "+l]:u}:u,n?"":"."+l)}let a=n&&_t.g?_t.g:null;return n&&(_t.g=_t[l]),((u,s,c,f)=>{f?s.data=s.data.replace(f,u):s.data.indexOf(u)===-1&&(s.data=c?u+s.data:s.data+u)})(_t[l],t,r,a),l},Gy=(e,t,n)=>e.reduce((r,o,i)=>{let l=t[i];if(l&&l.call){let a=l(n),u=a&&a.props&&a.props.className||/^go/.test(a)&&a;l=u?"."+u:a&&typeof a=="object"?a.props?"":bt(a,""):a===!1?"":a}return r+o+(l??"")},"");function fl(e){let t=this||{},n=e.call?e(t.p):e;return Yy(n.unshift?n.raw?Gy(n,[].slice.call(arguments,1),t.p):n.reduce((r,o)=>Object.assign(r,o&&o.call?o(t.p):o),{}):n,Vy(t.target),t.g,t.o,t.k)}let qp,lu,au;fl.bind({g:1});let Lt=fl.bind({k:1});function Xy(e,t,n,r){bt.p=t,qp=e,lu=n,au=r}function an(e,t){let n=this||{};return function(){let r=arguments;function o(i,l){let a=Object.assign({},i),u=a.className||o.className;n.p=Object.assign({theme:lu&&lu()},a),n.o=/ *go\d+/.test(u),a.className=fl.apply(n,r)+(u?" "+u:"");let s=e;return e[0]&&(s=a.as||e,delete a.as),au&&s[0]&&au(a),qp(s,a)}return o}}var Jy=e=>typeof e=="function",Bi=(e,t)=>Jy(e)?e(t):e,Zy=(()=>{let e=0;return()=>(++e).toString()})(),eh=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),qy=20,si=new Map,e0=1e3,of=e=>{if(si.has(e))return;let t=setTimeout(()=>{si.delete(e),On({type:4,toastId:e})},e0);si.set(e,t)},t0=e=>{let t=si.get(e);t&&clearTimeout(t)},uu=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,qy)};case 1:return t.toast.id&&t0(t.toast.id),{...e,toasts:e.toasts.map(i=>i.id===t.toast.id?{...i,...t.toast}:i)};case 2:let{toast:n}=t;return e.toasts.find(i=>i.id===n.id)?uu(e,{type:1,toast:n}):uu(e,{type:0,toast:n});case 3:let{toastId:r}=t;return r?of(r):e.toasts.forEach(i=>{of(i.id)}),{...e,toasts:e.toasts.map(i=>i.id===r||r===void 0?{...i,visible:!1}:i)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(i=>i.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let o=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(i=>({...i,pauseDuration:i.pauseDuration+o}))}}},ci=[],fi={toasts:[],pausedAt:void 0},On=e=>{fi=uu(fi,e),ci.forEach(t=>{t(fi)})},n0={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},r0=(e={})=>{let[t,n]=w.useState(fi);w.useEffect(()=>(ci.push(n),()=>{let o=ci.indexOf(n);o>-1&&ci.splice(o,1)}),[t]);let r=t.toasts.map(o=>{var i,l;return{...e,...e[o.type],...o,duration:o.duration||((i=e[o.type])==null?void 0:i.duration)||(e==null?void 0:e.duration)||n0[o.type],style:{...e.style,...(l=e[o.type])==null?void 0:l.style,...o.style}}});return{...t,toasts:r}},o0=(e,t="blank",n)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...n,id:(n==null?void 0:n.id)||Zy()}),Co=e=>(t,n)=>{let r=o0(t,e,n);return On({type:2,toast:r}),r.id},ve=(e,t)=>Co("blank")(e,t);ve.error=Co("error");ve.success=Co("success");ve.loading=Co("loading");ve.custom=Co("custom");ve.dismiss=e=>{On({type:3,toastId:e})};ve.remove=e=>On({type:4,toastId:e});ve.promise=(e,t,n)=>{let r=ve.loading(t.loading,{...n,...n==null?void 0:n.loading});return e.then(o=>(ve.success(Bi(t.success,o),{id:r,...n,...n==null?void 0:n.success}),o)).catch(o=>{ve.error(Bi(t.error,o),{id:r,...n,...n==null?void 0:n.error})}),e};var i0=(e,t)=>{On({type:1,toast:{id:e,height:t}})},l0=()=>{On({type:5,time:Date.now()})},a0=e=>{let{toasts:t,pausedAt:n}=r0(e);w.useEffect(()=>{if(n)return;let i=Date.now(),l=t.map(a=>{if(a.duration===1/0)return;let u=(a.duration||0)+a.pauseDuration-(i-a.createdAt);if(u<0){a.visible&&ve.dismiss(a.id);return}return setTimeout(()=>ve.dismiss(a.id),u)});return()=>{l.forEach(a=>a&&clearTimeout(a))}},[t,n]);let r=w.useCallback(()=>{n&&On({type:6,time:Date.now()})},[n]),o=w.useCallback((i,l)=>{let{reverseOrder:a=!1,gutter:u=8,defaultPosition:s}=l||{},c=t.filter(v=>(v.position||s)===(i.position||s)&&v.height),f=c.findIndex(v=>v.id===i.id),p=c.filter((v,g)=>gv.visible).slice(...a?[p+1]:[0,p]).reduce((v,g)=>v+(g.height||0)+u,0)},[t]);return{toasts:t,handlers:{updateHeight:i0,startPause:l0,endPause:r,calculateOffset:o}}},u0=Lt` + */function nu(){return nu=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function ry(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function oy(e,t){return e.button===0&&(!t||t==="_self")&&!ry(e)}const iy=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],ly=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ay=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,gs=w.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:l,state:a,target:u,to:s,preventScrollReset:c}=t,f=ny(t,iy),{basename:p}=w.useContext(_r),v,g=!1;if(typeof s=="string"&&ay.test(s)&&(v=s,ly))try{let d=new URL(window.location.href),m=s.startsWith("//")?new URL(d.protocol+s):new URL(s),S=ms(m.pathname,p);m.origin===d.origin&&S!=null?s=S+m.search+m.hash:g=!0}catch{}let y=Fg(s,{relative:o}),$=uy(s,{replace:l,state:a,target:u,preventScrollReset:c,relative:o});function h(d){r&&r(d),d.defaultPrevented||$(d)}return w.createElement("a",nu({},f,{href:v||y,onClick:g||i?r:h,ref:n,target:u}))});var Hc;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(Hc||(Hc={}));var Vc;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Vc||(Vc={}));function uy(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:l}=t===void 0?{}:t,a=Hp(),u=wr(),s=Vp(e,{relative:l});return w.useCallback(c=>{if(oy(c,n)){c.preventDefault();let f=r!==void 0?r:Uc(u)===Uc(s);a(e,{replace:f,state:o,preventScrollReset:i,relative:l})}},[u,a,s,r,o,n,e,i,l])}function sy({basename:e,children:t,history:n}){const[r,o]=w.useState({action:n.action,location:n.location});return w.useLayoutEffect(()=>n.listen(o),[n]),x.jsx(ey,{basename:e,location:r.location,navigationType:r.action,navigator:n,children:t})}function kn(){return kn=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}const my=fy(),Mi="https://jsonplaceholder.typicode.com";var Ue=(e=>(e.Index="/",e.Blog="/blog",e.Post="/post",e))(Ue||{}),fn=(e=>(e.Delete="Delete",e.Update="Update",e.CreateNew="Create new post",e.Create="Create",e.Confirm="Confirm update",e.Back="Back",e))(fn||{}),Et=(e=>(e.Read="Read",e.Update="Update",e))(Et||{});const vy=[{title:"github",src:"img/icons/github.svg",href:"https://github.com/YanaTsemirhaliyeva"},{title:"telegram",src:"img/icons/telegram.svg",href:"https://t.me/Ya_Ti3"},{title:"gmail",src:"img/icons/mail.svg",href:"kolesiko.yana@gmail.com"}];var Kp={exports:{}},gy="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",yy=gy,_y=yy;function Yp(){}function Gp(){}Gp.resetWarningCache=Yp;var wy=function(){function e(r,o,i,l,a,u){if(u!==_y){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Gp,resetWarningCache:Yp};return n.PropTypes=n,n};Kp.exports=wy();var xy=Kp.exports;const H=Pn(xy);var Sy=typeof Element<"u",ky=typeof Map=="function",Cy=typeof Set=="function",Ey=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function li(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!li(e[r],t[r]))return!1;return!0}var i;if(ky&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!li(r.value[1],t.get(r.value[0])))return!1;return!0}if(Cy&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(Ey&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if(Sy&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((o[r]==="_owner"||o[r]==="__v"||o[r]==="__o")&&e.$$typeof)&&!li(e[o[r]],t[o[r]]))return!1;return!0}return e!==e&&t!==t}var Py=function(t,n){try{return li(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const Ny=Pn(Py);var Ty=function(e,t,n,r,o,i,l,a){if(!e){var u;if(t===void 0)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,i,l,a],c=0;u=new Error(t.replace(/%s/g,function(){return s[c++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}},Oy=Ty;const Xc=Pn(Oy);var Ly=function(t,n,r,o){var i=r?r.call(o,t,n):void 0;if(i!==void 0)return!!i;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var l=Object.keys(t),a=Object.keys(n);if(l.length!==a.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(n),s=0;s=0||(o[n]=e[n]);return o}var M={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},Ry={rel:["amphtml","canonical","alternate"]},Iy={type:["application/ld+json"]},$y={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},Zc=Object.keys(M).map(function(e){return M[e]}),Fi={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Dy=Object.keys(Fi).reduce(function(e,t){return e[Fi[t]]=t,e},{}),tr=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},Ay=function(e){var t=tr(e,M.TITLE),n=tr(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,function(){return t});var r=tr(e,"defaultTitle");return t||r||void 0},zy=function(e){return tr(e,"onChangeClientState")||function(){}},Yl=function(e,t){return t.filter(function(n){return n[e]!==void 0}).map(function(n){return n[e]}).reduce(function(n,r){return le({},n,r)},{})},My=function(e,t){return t.filter(function(n){return n[M.BASE]!==void 0}).map(function(n){return n[M.BASE]}).reverse().reduce(function(n,r){if(!n.length)for(var o=Object.keys(r),i=0;i/g,">").replace(/"/g,""").replace(/'/g,"'")},ef=function(e){return Object.keys(e).reduce(function(t,n){var r=e[n]!==void 0?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r},"")},tf=function(e,t){return t===void 0&&(t={}),Object.keys(e).reduce(function(n,r){return n[Fi[r]||r]=e[r],n},t)},ai=function(e,t){return t.map(function(n,r){var o,i=((o={key:r})["data-rh"]=!0,o);return Object.keys(n).forEach(function(l){var a=Fi[l]||l;a==="innerHTML"||a==="cssText"?i.dangerouslySetInnerHTML={__html:n.innerHTML||n.cssText}:i[a]=n[l]}),at.createElement(e,i)})},Ge=function(e,t,n){switch(e){case M.TITLE:return{toComponent:function(){return o=t.titleAttributes,(i={key:r=t.title})["data-rh"]=!0,l=tf(o,i),[at.createElement(M.TITLE,l,r)];var r,o,i,l},toString:function(){return function(r,o,i,l){var a=ef(i),u=Xp(o);return a?"<"+r+' data-rh="true" '+a+">"+Xl(u,l)+"":"<"+r+' data-rh="true">'+Xl(u,l)+""}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return tf(t)},toString:function(){return ef(t)}};default:return{toComponent:function(){return ai(e,t)},toString:function(){return function(r,o,i){return o.reduce(function(l,a){var u=Object.keys(a).filter(function(f){return!(f==="innerHTML"||f==="cssText")}).reduce(function(f,p){var v=a[p]===void 0?p:p+'="'+Xl(a[p],i)+'"';return f?f+" "+v:v},""),s=a.innerHTML||a.cssText||"",c=Uy.indexOf(r)===-1;return l+"<"+r+' data-rh="true" '+u+(c?"/>":">"+s+"")},"")}(e,t,n)}}}},ou=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,i=e.noscriptTags,l=e.styleTags,a=e.title,u=a===void 0?"":a,s=e.titleAttributes,c=e.linkTags,f=e.metaTags,p=e.scriptTags,v={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var g=function(y){var $=y.linkTags,h=y.scriptTags,d=y.encode,m=Gl(y.metaTags,$y),S=Gl($,Ry),N=Gl(h,Iy);return{priorityMethods:{toComponent:function(){return[].concat(ai(M.META,m.priority),ai(M.LINK,S.priority),ai(M.SCRIPT,N.priority))},toString:function(){return Ge(M.META,m.priority,d)+" "+Ge(M.LINK,S.priority,d)+" "+Ge(M.SCRIPT,N.priority,d)}},metaTags:m.default,linkTags:S.default,scriptTags:N.default}}(e);v=g.priorityMethods,c=g.linkTags,f=g.metaTags,p=g.scriptTags}return{priority:v,base:Ge(M.BASE,t,r),bodyAttributes:Ge("bodyAttributes",n,r),htmlAttributes:Ge("htmlAttributes",o,r),link:Ge(M.LINK,c,r),meta:Ge(M.META,f,r),noscript:Ge(M.NOSCRIPT,i,r),script:Ge(M.SCRIPT,p,r),style:Ge(M.STYLE,l,r),title:Ge(M.TITLE,{title:u,titleAttributes:s},r)}},Vo=[],iu=function(e,t){var n=this;t===void 0&&(t=typeof document<"u"),this.instances=[],this.value={setHelmet:function(r){n.context.helmet=r},helmetInstances:{get:function(){return n.canUseDOM?Vo:n.instances},add:function(r){(n.canUseDOM?Vo:n.instances).push(r)},remove:function(r){var o=(n.canUseDOM?Vo:n.instances).indexOf(r);(n.canUseDOM?Vo:n.instances).splice(o,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=ou({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},Jp=at.createContext({}),By=H.shape({setHelmet:H.func,helmetInstances:H.shape({get:H.func,add:H.func,remove:H.func})}),by=typeof document<"u",Kn=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new iu(r.props.context,t.canUseDOM),r}return ys(t,e),t.prototype.render=function(){return at.createElement(Jp.Provider,{value:this.helmetData.value},this.props.children)},t}(w.Component);Kn.canUseDOM=by,Kn.propTypes={context:H.shape({helmet:H.shape()}),children:H.node.isRequired},Kn.defaultProps={context:{}},Kn.displayName="HelmetProvider";var jn=function(e,t){var n,r=document.head||document.querySelector(M.HEAD),o=r.querySelectorAll(e+"[data-rh]"),i=[].slice.call(o),l=[];return t&&t.length&&t.forEach(function(a){var u=document.createElement(e);for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(s==="innerHTML"?u.innerHTML=a.innerHTML:s==="cssText"?u.styleSheet?u.styleSheet.cssText=a.cssText:u.appendChild(document.createTextNode(a.cssText)):u.setAttribute(s,a[s]===void 0?"":a[s]));u.setAttribute("data-rh","true"),i.some(function(c,f){return n=f,u.isEqualNode(c)})?i.splice(n,1):l.push(u)}),i.forEach(function(a){return a.parentNode.removeChild(a)}),l.forEach(function(a){return r.appendChild(a)}),{oldTags:i,newTags:l}},Jl=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),o=r?r.split(","):[],i=[].concat(o),l=Object.keys(t),a=0;a=0;f-=1)n.removeAttribute(i[f]);o.length===i.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==l.join(",")&&n.setAttribute("data-rh",l.join(","))}},nf=function(e,t){var n=e.baseTag,r=e.htmlAttributes,o=e.linkTags,i=e.metaTags,l=e.noscriptTags,a=e.onChangeClientState,u=e.scriptTags,s=e.styleTags,c=e.title,f=e.titleAttributes;Jl(M.BODY,e.bodyAttributes),Jl(M.HTML,r),function(y,$){y!==void 0&&document.title!==y&&(document.title=Xp(y)),Jl(M.TITLE,$)}(c,f);var p={baseTag:jn(M.BASE,n),linkTags:jn(M.LINK,o),metaTags:jn(M.META,i),noscriptTags:jn(M.NOSCRIPT,l),scriptTags:jn(M.SCRIPT,u),styleTags:jn(M.STYLE,s)},v={},g={};Object.keys(p).forEach(function(y){var $=p[y],h=$.newTags,d=$.oldTags;h.length&&(v[y]=h),d.length&&(g[y]=p[y].oldTags)}),t&&t(),a(e,v,g)},Lr=null,Ui=function(e){function t(){for(var r,o=arguments.length,i=new Array(o),l=0;l elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(r){var o,i=r.child,l=r.arrayTypeChildren;return le({},l,((o={})[i.type]=[].concat(l[i.type]||[],[le({},r.newChildProps,this.mapNestedChildrenToProps(i,r.nestedChildren))]),o))},n.mapObjectTypeChildren=function(r){var o,i,l=r.child,a=r.newProps,u=r.newChildProps,s=r.nestedChildren;switch(l.type){case M.TITLE:return le({},a,((o={})[l.type]=s,o.titleAttributes=le({},u),o));case M.BODY:return le({},a,{bodyAttributes:le({},u)});case M.HTML:return le({},a,{htmlAttributes:le({},u)});default:return le({},a,((i={})[l.type]=le({},u),i))}},n.mapArrayTypeChildrenToProps=function(r,o){var i=le({},o);return Object.keys(r).forEach(function(l){var a;i=le({},i,((a={})[l]=r[l],a))}),i},n.warnOnInvalidChildren=function(r,o){return Xc(Zc.some(function(i){return r.type===i}),typeof r.type=="function"?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+Zc.join(", ")+" are allowed. Helmet does not support rendering <"+r.type+"> elements. Refer to our API for more information."),Xc(!o||typeof o=="string"||Array.isArray(o)&&!o.some(function(i){return typeof i!="string"}),"Helmet expects a string as a child of <"+r.type+">. Did you forget to wrap your children in braces? ( <"+r.type+">{``} ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(r,o){var i=this,l={};return at.Children.forEach(r,function(a){if(a&&a.props){var u=a.props,s=u.children,c=Jc(u,Wy),f=Object.keys(c).reduce(function(v,g){return v[Dy[g]||g]=c[g],v},{}),p=a.type;switch(typeof p=="symbol"?p=p.toString():i.warnOnInvalidChildren(a,s),p){case M.FRAGMENT:o=i.mapChildrenToProps(s,o);break;case M.LINK:case M.META:case M.NOSCRIPT:case M.SCRIPT:case M.STYLE:l=i.flattenArrayTypeChildren({child:a,arrayTypeChildren:l,newChildProps:f,nestedChildren:s});break;default:o=i.mapObjectTypeChildren({child:a,newProps:o,newChildProps:f,nestedChildren:s})}}}),this.mapArrayTypeChildrenToProps(l,o)},n.render=function(){var r=this.props,o=r.children,i=Jc(r,Hy),l=le({},i),a=i.helmetData;return o&&(l=this.mapChildrenToProps(o,l)),!a||a instanceof iu||(a=new iu(a.context,a.instances)),a?at.createElement(Ui,le({},l,{context:a.value,helmetData:void 0})):at.createElement(Jp.Consumer,null,function(u){return at.createElement(Ui,le({},l,{context:u}))})},t}(w.Component);ui.propTypes={base:H.object,bodyAttributes:H.object,children:H.oneOfType([H.arrayOf(H.node),H.node]),defaultTitle:H.string,defer:H.bool,encodeSpecialCharacters:H.bool,htmlAttributes:H.object,link:H.arrayOf(H.object),meta:H.arrayOf(H.object),noscript:H.arrayOf(H.object),onChangeClientState:H.func,script:H.arrayOf(H.object),style:H.arrayOf(H.object),title:H.string,titleAttributes:H.object,titleTemplate:H.string,prioritizeSeoTags:H.bool,helmetData:H.object},ui.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},ui.displayName="Helmet";const Rn={"container__not-found":"_container__not-found_3itec_1","not-found":"_not-found_3itec_10","not-found__title":"_not-found__title_3itec_20","not-found__text":"_not-found__text_3itec_27","not-found__description":"_not-found__description_3itec_36","not-found__button":"_not-found__button_3itec_44"};function Zp(){return x.jsx("div",{className:Rn["container__not-found"],children:x.jsxs("section",{className:Rn["not-found"],children:[x.jsx("h1",{className:Rn["not-found__title"],children:"404"}),x.jsx("p",{className:Rn["not-found__text"],children:"Страница не найдена"}),x.jsx("p",{className:Rn["not-found__description"],children:"Извините, но страница, которую вы ищете, не существует"}),x.jsx(gs,{to:Ue.Index,className:Rn["not-found__button"],"data-testid":"back-home",children:"Вернуться домой"})]})})}let Vy={data:""},Qy=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||Vy,Ky=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,Yy=/\/\*[^]*?\*\/| +/g,rf=/\n+/g,bt=(e,t)=>{let n="",r="",o="";for(let i in e){let l=e[i];i[0]=="@"?i[1]=="i"?n=i+" "+l+";":r+=i[1]=="f"?bt(l,i):i+"{"+bt(l,i[1]=="k"?"":t)+"}":typeof l=="object"?r+=bt(l,t?t.replace(/([^,])+/g,a=>i.replace(/(^:.*)|([^,])+/g,u=>/&/.test(u)?u.replace(/&/g,a):a?a+" "+u:u)):i):l!=null&&(i=/^--/.test(i)?i:i.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=bt.p?bt.p(i,l):i+":"+l+";")}return n+(t&&o?t+"{"+o+"}":o)+r},_t={},qp=e=>{if(typeof e=="object"){let t="";for(let n in e)t+=n+qp(e[n]);return t}return e},Gy=(e,t,n,r,o)=>{let i=qp(e),l=_t[i]||(_t[i]=(u=>{let s=0,c=11;for(;s>>0;return"go"+c})(i));if(!_t[l]){let u=i!==e?e:(s=>{let c,f,p=[{}];for(;c=Ky.exec(s.replace(Yy,""));)c[4]?p.shift():c[3]?(f=c[3].replace(rf," ").trim(),p.unshift(p[0][f]=p[0][f]||{})):p[0][c[1]]=c[2].replace(rf," ").trim();return p[0]})(e);_t[l]=bt(o?{["@keyframes "+l]:u}:u,n?"":"."+l)}let a=n&&_t.g?_t.g:null;return n&&(_t.g=_t[l]),((u,s,c,f)=>{f?s.data=s.data.replace(f,u):s.data.indexOf(u)===-1&&(s.data=c?u+s.data:s.data+u)})(_t[l],t,r,a),l},Xy=(e,t,n)=>e.reduce((r,o,i)=>{let l=t[i];if(l&&l.call){let a=l(n),u=a&&a.props&&a.props.className||/^go/.test(a)&&a;l=u?"."+u:a&&typeof a=="object"?a.props?"":bt(a,""):a===!1?"":a}return r+o+(l??"")},"");function fl(e){let t=this||{},n=e.call?e(t.p):e;return Gy(n.unshift?n.raw?Xy(n,[].slice.call(arguments,1),t.p):n.reduce((r,o)=>Object.assign(r,o&&o.call?o(t.p):o),{}):n,Qy(t.target),t.g,t.o,t.k)}let eh,lu,au;fl.bind({g:1});let Lt=fl.bind({k:1});function Jy(e,t,n,r){bt.p=t,eh=e,lu=n,au=r}function an(e,t){let n=this||{};return function(){let r=arguments;function o(i,l){let a=Object.assign({},i),u=a.className||o.className;n.p=Object.assign({theme:lu&&lu()},a),n.o=/ *go\d+/.test(u),a.className=fl.apply(n,r)+(u?" "+u:"");let s=e;return e[0]&&(s=a.as||e,delete a.as),au&&s[0]&&au(a),eh(s,a)}return o}}var Zy=e=>typeof e=="function",Bi=(e,t)=>Zy(e)?e(t):e,qy=(()=>{let e=0;return()=>(++e).toString()})(),th=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),e0=20,si=new Map,t0=1e3,of=e=>{if(si.has(e))return;let t=setTimeout(()=>{si.delete(e),On({type:4,toastId:e})},t0);si.set(e,t)},n0=e=>{let t=si.get(e);t&&clearTimeout(t)},uu=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,e0)};case 1:return t.toast.id&&n0(t.toast.id),{...e,toasts:e.toasts.map(i=>i.id===t.toast.id?{...i,...t.toast}:i)};case 2:let{toast:n}=t;return e.toasts.find(i=>i.id===n.id)?uu(e,{type:1,toast:n}):uu(e,{type:0,toast:n});case 3:let{toastId:r}=t;return r?of(r):e.toasts.forEach(i=>{of(i.id)}),{...e,toasts:e.toasts.map(i=>i.id===r||r===void 0?{...i,visible:!1}:i)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(i=>i.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let o=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(i=>({...i,pauseDuration:i.pauseDuration+o}))}}},ci=[],fi={toasts:[],pausedAt:void 0},On=e=>{fi=uu(fi,e),ci.forEach(t=>{t(fi)})},r0={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},o0=(e={})=>{let[t,n]=w.useState(fi);w.useEffect(()=>(ci.push(n),()=>{let o=ci.indexOf(n);o>-1&&ci.splice(o,1)}),[t]);let r=t.toasts.map(o=>{var i,l;return{...e,...e[o.type],...o,duration:o.duration||((i=e[o.type])==null?void 0:i.duration)||(e==null?void 0:e.duration)||r0[o.type],style:{...e.style,...(l=e[o.type])==null?void 0:l.style,...o.style}}});return{...t,toasts:r}},i0=(e,t="blank",n)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...n,id:(n==null?void 0:n.id)||qy()}),Co=e=>(t,n)=>{let r=i0(t,e,n);return On({type:2,toast:r}),r.id},ve=(e,t)=>Co("blank")(e,t);ve.error=Co("error");ve.success=Co("success");ve.loading=Co("loading");ve.custom=Co("custom");ve.dismiss=e=>{On({type:3,toastId:e})};ve.remove=e=>On({type:4,toastId:e});ve.promise=(e,t,n)=>{let r=ve.loading(t.loading,{...n,...n==null?void 0:n.loading});return e.then(o=>(ve.success(Bi(t.success,o),{id:r,...n,...n==null?void 0:n.success}),o)).catch(o=>{ve.error(Bi(t.error,o),{id:r,...n,...n==null?void 0:n.error})}),e};var l0=(e,t)=>{On({type:1,toast:{id:e,height:t}})},a0=()=>{On({type:5,time:Date.now()})},u0=e=>{let{toasts:t,pausedAt:n}=o0(e);w.useEffect(()=>{if(n)return;let i=Date.now(),l=t.map(a=>{if(a.duration===1/0)return;let u=(a.duration||0)+a.pauseDuration-(i-a.createdAt);if(u<0){a.visible&&ve.dismiss(a.id);return}return setTimeout(()=>ve.dismiss(a.id),u)});return()=>{l.forEach(a=>a&&clearTimeout(a))}},[t,n]);let r=w.useCallback(()=>{n&&On({type:6,time:Date.now()})},[n]),o=w.useCallback((i,l)=>{let{reverseOrder:a=!1,gutter:u=8,defaultPosition:s}=l||{},c=t.filter(v=>(v.position||s)===(i.position||s)&&v.height),f=c.findIndex(v=>v.id===i.id),p=c.filter((v,g)=>gv.visible).slice(...a?[p+1]:[0,p]).reduce((v,g)=>v+(g.height||0)+u,0)},[t]);return{toasts:t,handlers:{updateHeight:l0,startPause:a0,endPause:r,calculateOffset:o}}},s0=Lt` from { transform: scale(0) rotate(45deg); opacity: 0; @@ -72,7 +72,7 @@ from { to { transform: scale(1) rotate(45deg); opacity: 1; -}`,s0=Lt` +}`,c0=Lt` from { transform: scale(0); opacity: 0; @@ -80,7 +80,7 @@ from { to { transform: scale(1); opacity: 1; -}`,c0=Lt` +}`,f0=Lt` from { transform: scale(0) rotate(90deg); opacity: 0; @@ -88,7 +88,7 @@ from { to { transform: scale(1) rotate(90deg); opacity: 1; -}`,f0=an("div")` +}`,d0=an("div")` width: 20px; opacity: 0; height: 20px; @@ -97,14 +97,14 @@ to { position: relative; transform: rotate(45deg); - animation: ${u0} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) + animation: ${s0} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; animation-delay: 100ms; &:after, &:before { content: ''; - animation: ${s0} 0.15s ease-out forwards; + animation: ${c0} 0.15s ease-out forwards; animation-delay: 150ms; position: absolute; border-radius: 3px; @@ -117,18 +117,18 @@ to { } &:before { - animation: ${c0} 0.15s ease-out forwards; + animation: ${f0} 0.15s ease-out forwards; animation-delay: 180ms; transform: rotate(90deg); } -`,d0=Lt` +`,p0=Lt` from { transform: rotate(0deg); } to { transform: rotate(360deg); } -`,p0=an("div")` +`,h0=an("div")` width: 12px; height: 12px; box-sizing: border-box; @@ -136,8 +136,8 @@ to { border-radius: 100%; border-color: ${e=>e.secondary||"#e0e0e0"}; border-right-color: ${e=>e.primary||"#616161"}; - animation: ${d0} 1s linear infinite; -`,h0=Lt` + animation: ${p0} 1s linear infinite; +`,m0=Lt` from { transform: scale(0) rotate(45deg); opacity: 0; @@ -145,7 +145,7 @@ from { to { transform: scale(1) rotate(45deg); opacity: 1; -}`,m0=Lt` +}`,v0=Lt` 0% { height: 0; width: 0; @@ -159,7 +159,7 @@ to { 100% { opacity: 1; height: 10px; -}`,v0=an("div")` +}`,g0=an("div")` width: 20px; opacity: 0; height: 20px; @@ -168,13 +168,13 @@ to { position: relative; transform: rotate(45deg); - animation: ${h0} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) + animation: ${m0} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; animation-delay: 100ms; &:after { content: ''; box-sizing: border-box; - animation: ${m0} 0.2s ease-out forwards; + animation: ${v0} 0.2s ease-out forwards; opacity: 0; animation-delay: 200ms; position: absolute; @@ -186,16 +186,16 @@ to { height: 10px; width: 6px; } -`,g0=an("div")` - position: absolute; `,y0=an("div")` + position: absolute; +`,_0=an("div")` position: relative; display: flex; justify-content: center; align-items: center; min-width: 20px; min-height: 20px; -`,_0=Lt` +`,w0=Lt` from { transform: scale(0.6); opacity: 0.4; @@ -203,20 +203,20 @@ from { to { transform: scale(1); opacity: 1; -}`,w0=an("div")` +}`,x0=an("div")` position: relative; transform: scale(0.6); opacity: 0.4; min-width: 20px; - animation: ${_0} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275) + animation: ${w0} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; -`,x0=({toast:e})=>{let{icon:t,type:n,iconTheme:r}=e;return t!==void 0?typeof t=="string"?w.createElement(w0,null,t):t:n==="blank"?null:w.createElement(y0,null,w.createElement(p0,{...r}),n!=="loading"&&w.createElement(g0,null,n==="error"?w.createElement(f0,{...r}):w.createElement(v0,{...r})))},S0=e=>` +`,S0=({toast:e})=>{let{icon:t,type:n,iconTheme:r}=e;return t!==void 0?typeof t=="string"?w.createElement(x0,null,t):t:n==="blank"?null:w.createElement(_0,null,w.createElement(h0,{...r}),n!=="loading"&&w.createElement(y0,null,n==="error"?w.createElement(d0,{...r}):w.createElement(g0,{...r})))},k0=e=>` 0% {transform: translate3d(0,${e*-200}%,0) scale(.6); opacity:.5;} 100% {transform: translate3d(0,0,0) scale(1); opacity:1;} -`,k0=e=>` +`,C0=e=>` 0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;} 100% {transform: translate3d(0,${e*-150}%,-1px) scale(.6); opacity:0;} -`,C0="0%{opacity:0;} 100%{opacity:1;}",E0="0%{opacity:1;} 100%{opacity:0;}",P0=an("div")` +`,E0="0%{opacity:0;} 100%{opacity:1;}",P0="0%{opacity:1;} 100%{opacity:0;}",N0=an("div")` display: flex; align-items: center; background: #fff; @@ -228,19 +228,19 @@ to { pointer-events: auto; padding: 8px 10px; border-radius: 8px; -`,N0=an("div")` +`,T0=an("div")` display: flex; justify-content: center; margin: 4px 10px; color: inherit; flex: 1 1 auto; white-space: pre-line; -`,T0=(e,t)=>{let n=e.includes("top")?1:-1,[r,o]=eh()?[C0,E0]:[S0(n),k0(n)];return{animation:t?`${Lt(r)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${Lt(o)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},O0=w.memo(({toast:e,position:t,style:n,children:r})=>{let o=e.height?T0(e.position||t||"top-center",e.visible):{opacity:0},i=w.createElement(x0,{toast:e}),l=w.createElement(N0,{...e.ariaProps},Bi(e.message,e));return w.createElement(P0,{className:e.className,style:{...o,...n,...e.style}},typeof r=="function"?r({icon:i,message:l}):w.createElement(w.Fragment,null,i,l))});Xy(w.createElement);var L0=({id:e,className:t,style:n,onHeightUpdate:r,children:o})=>{let i=w.useCallback(l=>{if(l){let a=()=>{let u=l.getBoundingClientRect().height;r(e,u)};a(),new MutationObserver(a).observe(l,{subtree:!0,childList:!0,characterData:!0})}},[e,r]);return w.createElement("div",{ref:i,className:t,style:n},o)},j0=(e,t)=>{let n=e.includes("top"),r=n?{top:0}:{bottom:0},o=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:eh()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(n?1:-1)}px)`,...r,...o}},R0=fl` +`,O0=(e,t)=>{let n=e.includes("top")?1:-1,[r,o]=th()?[E0,P0]:[k0(n),C0(n)];return{animation:t?`${Lt(r)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${Lt(o)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},L0=w.memo(({toast:e,position:t,style:n,children:r})=>{let o=e.height?O0(e.position||t||"top-center",e.visible):{opacity:0},i=w.createElement(S0,{toast:e}),l=w.createElement(T0,{...e.ariaProps},Bi(e.message,e));return w.createElement(N0,{className:e.className,style:{...o,...n,...e.style}},typeof r=="function"?r({icon:i,message:l}):w.createElement(w.Fragment,null,i,l))});Jy(w.createElement);var j0=({id:e,className:t,style:n,onHeightUpdate:r,children:o})=>{let i=w.useCallback(l=>{if(l){let a=()=>{let u=l.getBoundingClientRect().height;r(e,u)};a(),new MutationObserver(a).observe(l,{subtree:!0,childList:!0,characterData:!0})}},[e,r]);return w.createElement("div",{ref:i,className:t,style:n},o)},R0=(e,t)=>{let n=e.includes("top"),r=n?{top:0}:{bottom:0},o=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:th()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(n?1:-1)}px)`,...r,...o}},I0=fl` z-index: 9999; > * { pointer-events: auto; } -`,Qo=16,I0=({reverseOrder:e,position:t="top-center",toastOptions:n,gutter:r,children:o,containerStyle:i,containerClassName:l})=>{let{toasts:a,handlers:u}=a0(n);return w.createElement("div",{style:{position:"fixed",zIndex:9999,top:Qo,left:Qo,right:Qo,bottom:Qo,pointerEvents:"none",...i},className:l,onMouseEnter:u.startPause,onMouseLeave:u.endPause},a.map(s=>{let c=s.position||t,f=u.calculateOffset(s,{reverseOrder:e,gutter:r,defaultPosition:t}),p=j0(c,f);return w.createElement(L0,{id:s.id,key:s.id,onHeightUpdate:u.updateHeight,className:s.visible?R0:"",style:p},s.type==="custom"?Bi(s.message,s):o?o(s):w.createElement(O0,{toast:s,position:c}))}))},Ko=ve;const $0="_wrapper_1ti56_1",D0={wrapper:$0},A0="_footer_1l3o9_1",z0={footer:A0},M0="_container_nmmjj_1",Eo={container:M0};function F0(){return x.jsx("footer",{className:z0.footer,children:x.jsx("div",{className:Eo.container,children:"© Yana Temirgalieva, 2024"})})}const U0="_header_5og79_1",B0="_header__flex_5og79_5",lf={header:U0,header__flex:B0};var b0={BASE_URL:"/blog-test",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const af=e=>{let t;const n=new Set,r=(c,f)=>{const p=typeof c=="function"?c(t):c;if(!Object.is(p,t)){const v=t;t=f??(typeof p!="object"||p===null)?p:Object.assign({},t,p),n.forEach(g=>g(t,v))}},o=()=>t,u={setState:r,getState:o,getInitialState:()=>s,subscribe:c=>(n.add(c),()=>n.delete(c)),destroy:()=>{(b0?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},s=t=e(r,o,u);return u},W0=e=>e?af(e):af;var th={exports:{}},nh={},rh={exports:{}},oh={};/** +`,Qo=16,$0=({reverseOrder:e,position:t="top-center",toastOptions:n,gutter:r,children:o,containerStyle:i,containerClassName:l})=>{let{toasts:a,handlers:u}=u0(n);return w.createElement("div",{style:{position:"fixed",zIndex:9999,top:Qo,left:Qo,right:Qo,bottom:Qo,pointerEvents:"none",...i},className:l,onMouseEnter:u.startPause,onMouseLeave:u.endPause},a.map(s=>{let c=s.position||t,f=u.calculateOffset(s,{reverseOrder:e,gutter:r,defaultPosition:t}),p=R0(c,f);return w.createElement(j0,{id:s.id,key:s.id,onHeightUpdate:u.updateHeight,className:s.visible?I0:"",style:p},s.type==="custom"?Bi(s.message,s):o?o(s):w.createElement(L0,{toast:s,position:c}))}))},Ko=ve;const D0="_wrapper_1fxbk_1",lf={wrapper:D0,"without-header":"_without-header_1fxbk_15"},A0="_footer_1l3o9_1",z0={footer:A0},M0="_container_nmmjj_1",Eo={container:M0};function F0(){return x.jsx("footer",{className:z0.footer,children:x.jsx("div",{className:Eo.container,children:"© Yana Temirgalieva, 2024"})})}const U0="_header_5og79_1",B0="_header__flex_5og79_5",af={header:U0,header__flex:B0};var b0={BASE_URL:"/blog-test",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const uf=e=>{let t;const n=new Set,r=(c,f)=>{const p=typeof c=="function"?c(t):c;if(!Object.is(p,t)){const v=t;t=f??(typeof p!="object"||p===null)?p:Object.assign({},t,p),n.forEach(g=>g(t,v))}},o=()=>t,u={setState:r,getState:o,getInitialState:()=>s,subscribe:c=>(n.add(c),()=>n.delete(c)),destroy:()=>{(b0?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},s=t=e(r,o,u);return u},W0=e=>e?uf(e):uf;var nh={exports:{}},rh={},oh={exports:{}},ih={};/** * @license React * use-sync-external-store-shim.production.min.js * @@ -248,7 +248,7 @@ to { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var dr=w;function H0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var V0=typeof Object.is=="function"?Object.is:H0,Q0=dr.useState,K0=dr.useEffect,Y0=dr.useLayoutEffect,G0=dr.useDebugValue;function X0(e,t){var n=t(),r=Q0({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return Y0(function(){o.value=n,o.getSnapshot=t,Zl(o)&&i({inst:o})},[e,n,t]),K0(function(){return Zl(o)&&i({inst:o}),e(function(){Zl(o)&&i({inst:o})})},[e]),G0(n),n}function Zl(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!V0(e,n)}catch{return!0}}function J0(e,t){return t()}var Z0=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?J0:X0;oh.useSyncExternalStore=dr.useSyncExternalStore!==void 0?dr.useSyncExternalStore:Z0;rh.exports=oh;var q0=rh.exports;/** + */var dr=w;function H0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var V0=typeof Object.is=="function"?Object.is:H0,Q0=dr.useState,K0=dr.useEffect,Y0=dr.useLayoutEffect,G0=dr.useDebugValue;function X0(e,t){var n=t(),r=Q0({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return Y0(function(){o.value=n,o.getSnapshot=t,Zl(o)&&i({inst:o})},[e,n,t]),K0(function(){return Zl(o)&&i({inst:o}),e(function(){Zl(o)&&i({inst:o})})},[e]),G0(n),n}function Zl(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!V0(e,n)}catch{return!0}}function J0(e,t){return t()}var Z0=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?J0:X0;ih.useSyncExternalStore=dr.useSyncExternalStore!==void 0?dr.useSyncExternalStore:Z0;oh.exports=ih;var q0=oh.exports;/** * @license React * use-sync-external-store-shim/with-selector.production.min.js * @@ -256,5 +256,5 @@ to { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var dl=w,e1=q0;function t1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var n1=typeof Object.is=="function"?Object.is:t1,r1=e1.useSyncExternalStore,o1=dl.useRef,i1=dl.useEffect,l1=dl.useMemo,a1=dl.useDebugValue;nh.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=o1(null);if(i.current===null){var l={hasValue:!1,value:null};i.current=l}else l=i.current;i=l1(function(){function u(v){if(!s){if(s=!0,c=v,v=r(v),o!==void 0&&l.hasValue){var g=l.value;if(o(g,v))return f=g}return f=v}if(g=f,n1(c,v))return g;var y=r(v);return o!==void 0&&o(g,y)?g:(c=v,f=y)}var s=!1,c,f,p=n===void 0?null:n;return[function(){return u(t())},p===null?void 0:function(){return u(p())}]},[t,n,r,o]);var a=r1(e,i[0],i[1]);return i1(function(){l.hasValue=!0,l.value=a},[a]),a1(a),a};th.exports=nh;var u1=th.exports;const s1=Pn(u1);var ih={BASE_URL:"/blog-test",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const{useDebugValue:c1}=lt,{useSyncExternalStoreWithSelector:f1}=s1;let uf=!1;const d1=e=>e;function p1(e,t=d1,n){(ih?"production":void 0)!=="production"&&n&&!uf&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),uf=!0);const r=f1(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return c1(r),r}const h1=e=>{(ih?"production":void 0)!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t=typeof e=="function"?W0(e):e,n=(r,o)=>p1(t,r,o);return Object.assign(n,t),n},lh=e=>h1;var ah=Symbol.for("immer-nothing"),sf=Symbol.for("immer-draftable"),Be=Symbol.for("immer-state");function it(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var pr=Object.getPrototypeOf;function hr(e){return!!e&&!!e[Be]}function Cn(e){var t;return e?uh(e)||Array.isArray(e)||!!e[sf]||!!((t=e.constructor)!=null&&t[sf])||hl(e)||ml(e):!1}var m1=Object.prototype.constructor.toString();function uh(e){if(!e||typeof e!="object")return!1;const t=pr(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===m1}function bi(e,t){pl(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function pl(e){const t=e[Be];return t?t.type_:Array.isArray(e)?1:hl(e)?2:ml(e)?3:0}function su(e,t){return pl(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function sh(e,t,n){const r=pl(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function v1(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function hl(e){return e instanceof Map}function ml(e){return e instanceof Set}function dn(e){return e.copy_||e.base_}function cu(e,t){if(hl(e))return new Map(e);if(ml(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=uh(e);if(t===!0||t==="class_only"&&!n){const r=Object.getOwnPropertyDescriptors(e);delete r[Be];let o=Reflect.ownKeys(r);for(let i=0;i1&&(e.set=e.add=e.clear=e.delete=g1),Object.freeze(e),t&&Object.entries(e).forEach(([n,r])=>_s(r,!0))),e}function g1(){it(2)}function vl(e){return Object.isFrozen(e)}var y1={};function En(e){const t=y1[e];return t||it(0,e),t}var co;function ch(){return co}function _1(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function cf(e,t){t&&(En("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function fu(e){du(e),e.drafts_.forEach(w1),e.drafts_=null}function du(e){e===co&&(co=e.parent_)}function ff(e){return co=_1(co,e)}function w1(e){const t=e[Be];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function df(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[Be].modified_&&(fu(t),it(4)),Cn(e)&&(e=Wi(t,e),t.parent_||Hi(t,e)),t.patches_&&En("Patches").generateReplacementPatches_(n[Be].base_,e,t.patches_,t.inversePatches_)):e=Wi(t,n,[]),fu(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==ah?e:void 0}function Wi(e,t,n){if(vl(t))return t;const r=t[Be];if(!r)return bi(t,(o,i)=>pf(e,r,t,o,i,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return Hi(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const o=r.copy_;let i=o,l=!1;r.type_===3&&(i=new Set(o),o.clear(),l=!0),bi(i,(a,u)=>pf(e,r,o,a,u,n,l)),Hi(e,o,!1),n&&e.patches_&&En("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function pf(e,t,n,r,o,i,l){if(hr(o)){const a=i&&t&&t.type_!==3&&!su(t.assigned_,r)?i.concat(r):void 0,u=Wi(e,o,a);if(sh(n,r,u),hr(u))e.canAutoFreeze_=!1;else return}else l&&n.add(o);if(Cn(o)&&!vl(o)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Wi(e,o),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,r)&&Hi(e,o)}}function Hi(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&_s(t,n)}function x1(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:ch(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=r,i=ws;n&&(o=[r],i=fo);const{revoke:l,proxy:a}=Proxy.revocable(o,i);return r.draft_=a,r.revoke_=l,a}var ws={get(e,t){if(t===Be)return e;const n=dn(e);if(!su(n,t))return S1(e,n,t);const r=n[t];return e.finalized_||!Cn(r)?r:r===ql(e.base_,t)?(ea(e),e.copy_[t]=hu(r,e)):r},has(e,t){return t in dn(e)},ownKeys(e){return Reflect.ownKeys(dn(e))},set(e,t,n){const r=fh(dn(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const o=ql(dn(e),t),i=o==null?void 0:o[Be];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(v1(n,o)&&(n!==void 0||su(e.base_,t)))return!0;ea(e),pu(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return ql(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,ea(e),pu(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=dn(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){it(11)},getPrototypeOf(e){return pr(e.base_)},setPrototypeOf(){it(12)}},fo={};bi(ws,(e,t)=>{fo[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});fo.deleteProperty=function(e,t){return fo.set.call(this,e,t,void 0)};fo.set=function(e,t,n){return ws.set.call(this,e[0],t,n,e[0])};function ql(e,t){const n=e[Be];return(n?dn(n):e)[t]}function S1(e,t,n){var o;const r=fh(t,n);return r?"value"in r?r.value:(o=r.get)==null?void 0:o.call(e.draft_):void 0}function fh(e,t){if(!(t in e))return;let n=pr(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=pr(n)}}function pu(e){e.modified_||(e.modified_=!0,e.parent_&&pu(e.parent_))}function ea(e){e.copy_||(e.copy_=cu(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var k1=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const i=n;n=t;const l=this;return function(u=i,...s){return l.produce(u,c=>n.call(this,c,...s))}}typeof n!="function"&&it(6),r!==void 0&&typeof r!="function"&&it(7);let o;if(Cn(t)){const i=ff(this),l=hu(t,void 0);let a=!0;try{o=n(l),a=!1}finally{a?fu(i):du(i)}return cf(i,r),df(o,i)}else if(!t||typeof t!="object"){if(o=n(t),o===void 0&&(o=t),o===ah&&(o=void 0),this.autoFreeze_&&_s(o,!0),r){const i=[],l=[];En("Patches").generateReplacementPatches_(t,o,i,l),r(i,l)}return o}else it(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(l,...a)=>this.produceWithPatches(l,u=>t(u,...a));let r,o;return[this.produce(t,n,(l,a)=>{r=l,o=a}),r,o]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){Cn(e)||it(8),hr(e)&&(e=C1(e));const t=ff(this),n=hu(e,void 0);return n[Be].isManual_=!0,du(t),n}finishDraft(e,t){const n=e&&e[Be];(!n||!n.isManual_)&&it(9);const{scope_:r}=n;return cf(r,t),df(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const o=t[n];if(o.path.length===0&&o.op==="replace"){e=o.value;break}}n>-1&&(t=t.slice(n+1));const r=En("Patches").applyPatches_;return hr(e)?r(e,t):this.produce(e,o=>r(o,t))}};function hu(e,t){const n=hl(e)?En("MapSet").proxyMap_(e,t):ml(e)?En("MapSet").proxySet_(e,t):x1(e,t);return(t?t.scope_:ch()).drafts_.push(n),n}function C1(e){return hr(e)||it(10,e),dh(e)}function dh(e){if(!Cn(e)||vl(e))return e;const t=e[Be];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=cu(e,t.scope_.immer_.useStrictShallowCopy_)}else n=cu(e,!0);return bi(n,(r,o)=>{sh(n,r,dh(o))}),t&&(t.finalized_=!1),n}var be=new k1,E1=be.produce;be.produceWithPatches.bind(be);be.setAutoFreeze.bind(be);be.setUseStrictShallowCopy.bind(be);be.applyPatches.bind(be);be.createDraft.bind(be);be.finishDraft.bind(be);const P1=e=>(t,n,r)=>(r.setState=(o,i,...l)=>{const a=typeof o=="function"?E1(o):o;return t(a,i,...l)},e(r.setState,n,r)),ph=P1;async function N1(e){const t=await fetch("https://jsonplaceholder.typicode.com/posts",{method:"POST",headers:{"Content-Type":"application/json; charset=UTF-8"},body:JSON.stringify(e)});return t.ok&&console.log("Successfully created"),await t.json()}async function T1(e){const t=await fetch(`https://jsonplaceholder.typicode.com/posts/${e.id}`,{method:"PUT",headers:{"Content-Type":"application/json; charset=UTF-8"},body:JSON.stringify(e)});return t.ok&&console.log("Successfully updated"),await t.json()}async function O1(e){const t=await fetch(`https://jsonplaceholder.typicode.com/posts/${e}`,{method:"DELETE"});return t.ok&&console.log("Successfully deleted"),t.ok}const gl=lh()(ph((e,t)=>({post:null,photo:null,currentId:null,setCurrentId:n=>e(()=>({currentId:n})),loading:!1,getPost:async()=>{e(o=>{o.loading=!0});const n=t().currentId,r=new URL(`${Mi}/posts/${n}`);try{const i=await(await fetch(r)).json();e(l=>{l.post=i,l.loading=!1})}catch{ve.error("Ошибка загрузки поста")}finally{e(o=>{o.loading=!1})}},getPhoto:async()=>{e(o=>{o.loading=!0});const n=t().currentId,r=new URL(`${Mi}/photos/${n}`);try{const i=await(await fetch(r)).json();e(l=>{l.photo=i,l.loading=!1})}catch{ve.error("Ошибка загрузки изображения")}finally{e(o=>{o.loading=!1})}},dropData:()=>e(()=>({photo:null,post:null,currentId:null,method:Et.Read,updateData:null})),createPost:async n=>{e({loading:!0});try{return await N1(n)}catch(r){throw console.error("Ошибка отправки данных:",r),r}finally{e({loading:!1})}},updatePost:async n=>{e({loading:!0});try{return await T1(n)}catch(r){throw console.error("Ошибка обновления данных:",r),r}finally{e({loading:!1})}},deletePost:async n=>{e({loading:!0});try{return await O1(n)}catch(r){throw console.error("Ошибка удаления данных:",r),r}finally{e({loading:!1})}},method:Et.Read,setMethod:n=>e(()=>({method:n})),updateData:null,setUpdateData:n=>e(()=>({updateData:n})),isModalActive:!1,setIsModalActive:n=>e(()=>({isModalActive:n})),createData:null,setCreateData:n=>e(()=>({createData:n}))}))),hf={"btn-transp":"_btn-transp_10wk3_1","btn-transp__text":"_btn-transp__text_10wk3_41"};function mr({text:e,disabled:t}){const{updatePost:n,deletePost:r,createPost:o,createData:i,currentId:l,setMethod:a,updateData:u,post:s,setIsModalActive:c}=gl(),f=e.toUpperCase(),p=Wp(),v=async()=>{if(f===fn.CreateNew.toUpperCase()){c(!0);return}if(f===fn.Create.toUpperCase()&&i){const g=await o({title:i.title,body:i.body,userId:1});g&&(Ko.success("Successfully created"),p(st.Blog),c(!1)),g||Ko.error("Something went wrong, please try again");return}if(f===fn.Delete.toUpperCase()&&l){await r(l.toString())&&(Ko.success("Successfully deleted"),p(st.Blog));return}if(f===fn.Update.toUpperCase()){a(Et.Update);return}if(f===fn.Confirm.toUpperCase()&&s&&u){await n({title:u.title,body:u.body,id:s.id,userId:s.userId})&&(Ko.success("Successfully updated"),a(Et.Read));return}f===fn.Back.toUpperCase()&&a(Et.Read)};return x.jsx("button",{className:hf["btn-transp"],type:"button",onClick:v,disabled:t||!1,children:x.jsx("span",{className:hf["btn-transp__text"],children:e})})}const L1="_socials_8asvr_1",j1="_socials__link_8asvr_6",R1="_socials__icon_8asvr_9",Lr={socials:L1,socials__link:j1,socials__icon:R1};function I1(){return x.jsx("ul",{className:Lr.socials,children:my.map(e=>{const t=e.title==="gmail";return x.jsx("li",{className:Lr.socials__item,children:x.jsxs("a",{href:t?`mailto:${e.href}`:e.href,className:Lr.socials__link,target:t?void 0:"_blank",rel:t?void 0:"noopener noreferrer",children:[x.jsx("img",{src:"img/icons/icon-bg.svg",className:Lr.socials__bg}),x.jsx("img",{src:e.src,alt:e.title,className:Lr.socials__icon})]})},e.title)})})}function $1(){const e=ko();return x.jsx("header",{className:lf.header,children:x.jsxs("div",{className:`${Eo.container} ${lf.header__flex}`,children:[x.jsx(I1,{}),x.jsx("div",{children:e.pathname===st.Blog&&x.jsx(mr,{text:"Create new post"})})]})})}function D1({pageTitle:e,children:t}){return x.jsxs("div",{className:D0.wrapper,children:[x.jsx(ui,{children:x.jsxs("title",{children:[e?`${e}`:""," – BLOG"]})}),x.jsx($1,{}),x.jsx("main",{children:t}),x.jsx(F0,{}),x.jsx(I0,{toastOptions:{duration:3e3,style:{background:"#1d2e5b",color:"#ffffff",border:"1px solid #ffffff"}}})]})}const xs=w.memo(D1),mf={"btn-transp":"_btn-transp_6d3xu_1","btn-transp__text":"_btn-transp__text_6d3xu_38"};function hh({text:e,href:t}){return x.jsx(gs,{className:mf["btn-transp"],to:t,children:x.jsx("span",{className:mf["btn-transp__text"],children:e})})}const vf={"welcome-page":"_welcome-page_kpjid_1","welcome-page__text":"_welcome-page__text_kpjid_15"};function A1(){return x.jsx(xs,{pageTitle:"WELCOME",children:x.jsx("section",{className:Eo.container,children:x.jsxs("div",{className:vf["welcome-page"],children:[x.jsxs("p",{className:vf["welcome-page__text"],children:["Welcome to",x.jsx("br",{}),x.jsx("span",{children:"my blog"})]}),x.jsx(hh,{text:"Lets test",href:st.Blog})]})})})}const Ss=lh()(ph((e,t)=>({posts:[],photos:[],loading:!1,activePage:1,setActivePage:n=>e(()=>({activePage:n})),activePost:null,setActivePost:n=>e(()=>({activePost:n})),getPosts:async()=>{e(i=>{i.loading=!0});const n=t().activePage,r=n===1?0:n*10-10,o=new URL(`${Mi}/posts?_start=${r}&_limit=10`);try{const l=await(await fetch(o)).json();e(a=>{a.posts=l,a.loading=!1})}catch{ve.error("Ошибка при получении списка публикаций")}finally{e(i=>{i.loading=!1})}},getPhotos:async()=>{e(i=>{i.loading=!0});const n=t().activePage,r=n===1?0:n*10-10,o=new URL(`${Mi}/photos?_start=${r}&_limit=10`);try{const l=await(await fetch(o)).json();e(a=>{a.photos=l,a.loading=!1})}catch{ve.error("Ошибка при получении списка изображений")}finally{e(i=>{i.loading=!1})}}}))),jr={"post-list":"_post-list_192ep_1","post-list__item":"_post-list__item_192ep_21","post-list__link":"_post-list__link_192ep_29","post-list__img":"_post-list__img_192ep_35","post-list__title":"_post-list__title_192ep_41"};function z1(){const{posts:e,photos:t}=Ss();return x.jsx("ul",{className:jr["post-list"],children:e.map((n,r)=>{const o=t[r];if(!o)return null;const i=o.thumbnailUrl;return x.jsx("li",{className:jr["post-list__item"],children:x.jsxs(gs,{to:`${st.Post}/${n.id}`,className:jr["post-list__link"],children:[x.jsx("img",{src:i,alt:n.title,className:jr["post-list__img"]}),x.jsx("h2",{className:jr["post-list__title"],children:n.title})]})},n.id)})})}var mh={exports:{}};(function(e,t){(function(n,r){e.exports=r(w)})(bh,n=>(()=>{var r={703:(a,u,s)=>{var c=s(414);function f(){}function p(){}p.resetWarningCache=f,a.exports=function(){function v($,h,d,m,S,N){if(N!==c){var j=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw j.name="Invariant Violation",j}}function g(){return v}v.isRequired=v;var y={array:v,bigint:v,bool:v,func:v,number:v,object:v,string:v,symbol:v,any:v,arrayOf:g,element:v,elementType:v,instanceOf:g,node:v,objectOf:g,oneOf:g,oneOfType:g,shape:g,exact:g,checkPropTypes:p,resetWarningCache:f};return y.PropTypes=y,y}},697:(a,u,s)=>{a.exports=s(703)()},414:a=>{a.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},98:a=>{a.exports=n}},o={};function i(a){var u=o[a];if(u!==void 0)return u.exports;var s=o[a]={exports:{}};return r[a](s,s.exports,i),s.exports}i.n=a=>{var u=a&&a.__esModule?()=>a.default:()=>a;return i.d(u,{a:u}),u},i.d=(a,u)=>{for(var s in u)i.o(u,s)&&!i.o(a,s)&&Object.defineProperty(a,s,{enumerable:!0,get:u[s]})},i.o=(a,u)=>Object.prototype.hasOwnProperty.call(a,u),i.r=a=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})};var l={};return(()=>{i.r(l),i.d(l,{default:()=>Q});var a=i(98),u=i.n(a),s=i(697),c=i.n(s);function f(){return f=Object.assign?Object.assign.bind():function(L){for(var I=1;I1&&arguments[1]!==void 0?arguments[1]:"";return L??I}function d(L){return d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(I){return typeof I}:function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I},d(L)}function m(){return m=Object.assign?Object.assign.bind():function(L){for(var I=1;I"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var C,_=P(W);if($e){var A=P(this).constructor;C=Reflect.construct(_,arguments,A)}else C=_.apply(this,arguments);return j(this,C)});function T(C){var _,A;return function(O,F){if(!(O instanceof F))throw new TypeError("Cannot call a class as a function")}(this,T),D(k(_=De.call(this,C)),"handlePreviousPage",function(O){var F=_.state.selected;_.handleClick(O,null,F>0?F-1:void 0,{isPrevious:!0})}),D(k(_),"handleNextPage",function(O){var F=_.state.selected,B=_.props.pageCount;_.handleClick(O,null,F3&&arguments[3]!==void 0?arguments[3]:{},X=Y.isPrevious,ee=X!==void 0&&X,Ve=Y.isNext,yt=Ve!==void 0&&Ve,ft=Y.isBreak,Qe=ft!==void 0&&ft,Rt=Y.isActive,It=Rt!==void 0&&Rt;O.preventDefault?O.preventDefault():O.returnValue=!1;var $t=_.state.selected,ie=_.props.onClick,Ke=B;if(ie){var Ae=ie({index:F,selected:$t,nextSelectedPage:B,event:O,isPrevious:ee,isNext:yt,isBreak:Qe,isActive:It});if(Ae===!1)return;Number.isInteger(Ae)&&(Ke=Ae)}Ke!==void 0&&_.handlePageChange(Ke)}),D(k(_),"handleBreakClick",function(O,F){var B=_.state.selected;_.handleClick(F,O,BY-B/2?It=B-($t=Y-Qe):QeY-X)se.push({type:"page",index:ie,display:Ae(ie)});else if(ie>=Qe-It&&ie<=Qe+(Qe===0&&B>1?$t-1:$t))se.push({type:"page",index:ie,display:Ae(ie)});else if(ee&&se.length>0&&se[se.length-1].display!==Ke&&(B>0||X>0)){var wl=ieF-1&&console.warn("(react-paginate): The initialPage prop provided is greater than the maximum page index from pageCount prop (".concat(_," > ").concat(F-1,").")),B!==void 0&&B>F-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(B," > ").concat(F-1,")."))}},{key:"componentDidUpdate",value:function(C){this.props.forcePage!==void 0&&this.props.forcePage!==C.forcePage&&(this.props.forcePage>this.props.pageCount-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(this.props.forcePage," > ").concat(this.props.pageCount-1,").")),this.setState({selected:this.props.forcePage})),Number.isInteger(C.pageCount)&&!Number.isInteger(this.props.pageCount)&&console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(this.props.pageCount,"). Did you forget a Math.ceil()?"))}},{key:"getForwardJump",value:function(){var C=this.state.selected,_=this.props,A=_.pageCount,O=C+_.pageRangeDisplayed;return O>=A?A-1:O}},{key:"getBackwardJump",value:function(){var C=this.state.selected-this.props.pageRangeDisplayed;return C<0?0:C}},{key:"getElementHref",value:function(C){var _=this.props,A=_.hrefBuilder,O=_.pageCount,F=_.hrefAllControls;if(A)return F||C>=0&&C=0&&C{t(o.selected+1)};return x.jsx("div",{className:"pagination",children:x.jsx(F1,{breakLabel:"...",nextLabel:">",onPageChange:r,pageRangeDisplayed:3,pageCount:n,previousLabel:"<",renderOnZeroPageCount:null,forcePage:e-1})})}const B1="_el_5hwtd_1",b1="_container_5hwtd_10",W1="_wrapper_5hwtd_17",H1="_loader_5hwtd_23",V1="_rotate_5hwtd_1",Q1="_dot_5hwtd_30",K1="_text_5hwtd_39",xe={el:B1,container:b1,wrapper:W1,loader:H1,rotate:V1,dot:Q1,text:K1};function vh(){return x.jsx("div",{className:xe.el,children:x.jsxs("div",{className:xe.container,children:[x.jsxs("div",{className:xe.wrapper,children:[x.jsx("div",{className:xe.loader,children:x.jsx("div",{className:xe.dot})}),x.jsx("div",{className:xe.loader,children:x.jsx("div",{className:xe.dot})}),x.jsx("div",{className:xe.loader,children:x.jsx("div",{className:xe.dot})}),x.jsx("div",{className:xe.loader,children:x.jsx("div",{className:xe.dot})}),x.jsx("div",{className:xe.loader,children:x.jsx("div",{className:xe.dot})}),x.jsx("div",{className:xe.loader,children:x.jsx("div",{className:xe.dot})})]}),x.jsx("div",{className:xe.text,children:"Загрузка..."})]})})}const Y1="_modal_mvcbj_1",G1="_modal__desktop_mvcbj_31",X1="_modal__wrapper_mvcbj_42",J1="_modal__content_mvcbj_57",Z1="_btn_mvcbj_71",q1="_modal__form_mvcbj_112",e_="_modal__field_mvcbj_118",t_="_modal__title_mvcbj_131",n_="_modal__btn_mvcbj_137",Te={modal:Y1,"modal--active":"_modal--active_mvcbj_25",modal__desktop:G1,modal__wrapper:X1,modal__content:J1,btn:Z1,modal__form:q1,modal__field:e_,"modal__field--desc":"_modal__field--desc_mvcbj_127",modal__title:t_,modal__btn:n_};function r_(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}var mu="data-focus-lock",gh="data-focus-lock-disabled",o_="data-no-focus-lock",i_="data-autofocus-inside",l_="data-no-autofocus";function ta(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function a_(e,t){var n=w.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var u_=typeof window<"u"?w.useLayoutEffect:w.useEffect,gf=new WeakMap;function s_(e,t){var n=a_(null,function(r){return e.forEach(function(o){return ta(o,r)})});return u_(function(){var r=gf.get(n);if(r){var o=new Set(r),i=new Set(e),l=n.current;o.forEach(function(a){i.has(a)||ta(a,null)}),i.forEach(function(a){o.has(a)||ta(a,l)})}gf.set(n,e)},[e]),n}var na={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},vu=function(){return vu=Object.assign||function(t){for(var n,r=1,o=arguments.length;r=0}).sort(P_)},N_=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],Es=N_.join(","),T_="".concat(Es,", [data-focus-guard]"),jh=function(e,t){return gt((e.shadowRoot||e).children).reduce(function(n,r){return n.concat(r.matches(t?T_:Es)?[r]:[],jh(r))},[])},O_=function(e,t){var n;return e instanceof HTMLIFrameElement&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?_l([e.contentDocument.body],t):[e]},_l=function(e,t){return e.reduce(function(n,r){var o,i=jh(r,t),l=(o=[]).concat.apply(o,i.map(function(a){return O_(a,t)}));return n.concat(l,r.parentNode?gt(r.parentNode.querySelectorAll(Es)).filter(function(a){return a===r}):[])},[])},L_=function(e){var t=e.querySelectorAll("[".concat(i_,"]"));return gt(t).map(function(n){return _l([n])}).reduce(function(n,r){return n.concat(r)},[])},Ps=function(e,t){return gt(e).filter(function(n){return Eh(t,n)}).filter(function(n){return k_(n)})},yf=function(e,t){return t===void 0&&(t=new Map),gt(e).filter(function(n){return Ph(t,n)})},yu=function(e,t,n){return Lh(Ps(_l(e,n),t),!0,n)},_f=function(e,t){return Lh(Ps(_l(e),t),!1)},j_=function(e,t){return Ps(L_(e),t)},nr=function(e,t){return e.shadowRoot?nr(e.shadowRoot,t):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,t)?!0:gt(e.children).some(function(n){var r;if(n instanceof HTMLIFrameElement){var o=(r=n.contentDocument)===null||r===void 0?void 0:r.body;return o?nr(o,t):!1}return nr(n,t)})},R_=function(e){for(var t=new Set,n=e.length,r=0;r0&&t.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(l,a){return!t.has(a)})},Rh=function(e){return e.parentNode?Rh(e.parentNode):e},Ns=function(e){var t=Vi(e);return t.filter(Boolean).reduce(function(n,r){var o=r.getAttribute(mu);return n.push.apply(n,o?R_(gt(Rh(r).querySelectorAll("[".concat(mu,'="').concat(o,'"]:not([').concat(gh,'="disabled"])')))):[r]),n},[])},I_=function(e){try{return e()}catch{return}},ho=function(e){if(e===void 0&&(e=document),!(!e||!e.activeElement)){var t=e.activeElement;return t.shadowRoot?ho(t.shadowRoot):t instanceof HTMLIFrameElement&&I_(function(){return t.contentWindow.document})?ho(t.contentWindow.document):t}},$_=function(e,t){return e===t},D_=function(e,t){return!!gt(e.querySelectorAll("iframe")).some(function(n){return $_(n,t)})},Ih=function(e,t){return t===void 0&&(t=ho(Sh(e).ownerDocument)),!t||t.dataset&&t.dataset.focusGuard?!1:Ns(e).some(function(n){return nr(n,t)||D_(n,t)})},A_=function(e){e===void 0&&(e=document);var t=ho(e);return t?gt(e.querySelectorAll("[".concat(o_,"]"))).some(function(n){return nr(n,t)}):!1},z_=function(e,t){return t.filter(Oh).filter(function(n){return n.name===e.name}).filter(function(n){return n.checked})[0]||e},Ts=function(e,t){return Oh(e)&&e.name?z_(e,t):e},M_=function(e){var t=new Set;return e.forEach(function(n){return t.add(Ts(n,e))}),e.filter(function(n){return t.has(n)})},wf=function(e){return e[0]&&e.length>1?Ts(e[0],e):e[0]},xf=function(e,t){return e.length>1?e.indexOf(Ts(e[t],e)):t},$h="NEW_FOCUS",F_=function(e,t,n,r){var o=e.length,i=e[0],l=e[o-1],a=Cs(n);if(!(n&&e.indexOf(n)>=0)){var u=n!==void 0?t.indexOf(n):-1,s=r?t.indexOf(r):u,c=r?e.indexOf(r):-1,f=u-s,p=t.indexOf(i),v=t.indexOf(l),g=M_(t),y=n!==void 0?g.indexOf(n):-1,$=y-(r?g.indexOf(r):u),h=xf(e,0),d=xf(e,o-1);if(u===-1||c===-1)return $h;if(!f&&c>=0)return c;if(u<=p&&a&&Math.abs(f)>1)return d;if(u>=v&&a&&Math.abs(f)>1)return h;if(f&&Math.abs($)>1)return c;if(u<=p)return d;if(u>v)return h;if(f)return Math.abs(f)>1?c:(o+c+f)%o}},U_=function(e){return function(t){var n,r=(n=Nh(t))===null||n===void 0?void 0:n.autofocus;return t.autofocus||r!==void 0&&r!=="false"||e.indexOf(t)>=0}},B_=function(e,t,n){var r=e.map(function(i){var l=i.node;return l}),o=yf(r.filter(U_(n)));return o&&o.length?wf(o):wf(yf(t))},_u=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&_u(e.parentNode.host||e.parentNode,t),t},ra=function(e,t){for(var n=_u(e),r=_u(t),o=0;o=0)return i}return!1},Dh=function(e,t,n){var r=Vi(e),o=Vi(t),i=r[0],l=!1;return o.filter(Boolean).forEach(function(a){l=ra(l||a,a)||l,n.filter(Boolean).forEach(function(u){var s=ra(i,u);s&&(!l||nr(s,l)?l=s:l=ra(s,l))})}),l},b_=function(e,t){return e.reduce(function(n,r){return n.concat(j_(r,t))},[])},W_=function(e,t){var n=new Map;return t.forEach(function(r){return n.set(r.node,r)}),e.map(function(r){return n.get(r)}).filter(E_)},H_=function(e,t){var n=ho(Vi(e).length>0?document:Sh(e).ownerDocument),r=Ns(e).filter(Qi),o=Dh(n||e,e,r),i=new Map,l=_f(r,i),a=yu(r,i).filter(function(v){var g=v.node;return Qi(g)});if(!(!a[0]&&(a=l,!a[0]))){var u=_f([o],i).map(function(v){var g=v.node;return g}),s=W_(u,a),c=s.map(function(v){var g=v.node;return g}),f=F_(c,u,n,t);if(f===$h){var p=B_(l,c,b_(r,i));if(p)return{node:p};console.warn("focus-lock: cannot find any node to move focus into");return}return f===void 0?f:s[f]}},V_=function(e){var t=Ns(e).filter(Qi),n=Dh(e,e,t),r=new Map,o=yu([n],r,!0),i=yu(t,r).filter(function(l){var a=l.node;return Qi(a)}).map(function(l){var a=l.node;return a});return o.map(function(l){var a=l.node,u=l.index;return{node:a,index:u,lockItem:i.indexOf(a)>=0,guard:Cs(a)}})},Q_=function(e,t){"focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},oa=0,ia=!1,Ah=function(e,t,n){n===void 0&&(n={});var r=H_(e,t);if(!ia&&r){if(oa>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),ia=!0,setTimeout(function(){ia=!1},1);return}oa++,Q_(r.node,n.focusOptions),oa--}};function Os(e){setTimeout(e,1)}var K_=function(){return document&&document.activeElement===document.body},Y_=function(){return K_()||A_()},rr=null,Yn=null,or=null,mo=!1,G_=function(){return!0},X_=function(t){return(rr.whiteList||G_)(t)},J_=function(t,n){or={observerNode:t,portaledElement:n}},Z_=function(t){return or&&or.portaledElement===t};function Sf(e,t,n,r){var o=null,i=e;do{var l=r[i];if(l.guard)l.node.dataset.focusAutoGuard&&(o=l);else if(l.lockItem){if(i!==e)return;o=null}else break}while((i+=n)!==t);o&&(o.node.tabIndex=0)}var q_=function(t){return t&&"current"in t?t.current:t},ew=function(t){return t?!!mo:mo==="meanwhile"},tw=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},nw=function(t,n){return n.some(function(r){return tw(t,r,r)})},Ki=function(){var t=!1;if(rr){var n=rr,r=n.observed,o=n.persistentFocus,i=n.autoFocus,l=n.shards,a=n.crossFrame,u=n.focusOptions,s=r||or&&or.portaledElement,c=document&&document.activeElement;if(s){var f=[s].concat(l.map(q_).filter(Boolean));if((!c||X_(c))&&(o||ew(a)||!Y_()||!Yn&&i)&&(s&&!(Ih(f)||c&&nw(c,f)||Z_(c))&&(document&&!Yn&&c&&!i?(c.blur&&c.blur(),document.body.focus()):(t=Ah(f,Yn,{focusOptions:u}),or={})),mo=!1,Yn=document&&document.activeElement),document){var p=document&&document.activeElement,v=V_(f),g=v.map(function(y){var $=y.node;return $}).indexOf(p);g>-1&&(v.filter(function(y){var $=y.guard,h=y.node;return $&&h.dataset.focusAutoGuard}).forEach(function(y){var $=y.node;return $.removeAttribute("tabIndex")}),Sf(g,v.length,1,v),Sf(g,-1,-1,v))}}}return t},zh=function(t){Ki()&&t&&(t.stopPropagation(),t.preventDefault())},Ls=function(){return Os(Ki)},rw=function(t){var n=t.target,r=t.currentTarget;r.contains(n)||J_(r,n)},ow=function(){return null},Mh=function(){mo="just",Os(function(){mo="meanwhile"})},iw=function(){document.addEventListener("focusin",zh),document.addEventListener("focusout",Ls),window.addEventListener("blur",Mh)},lw=function(){document.removeEventListener("focusin",zh),document.removeEventListener("focusout",Ls),window.removeEventListener("blur",Mh)};function aw(e){return e.filter(function(t){var n=t.disabled;return!n})}function uw(e){var t=e.slice(-1)[0];t&&!rr&&iw();var n=rr,r=n&&t&&t.id===n.id;rr=t,n&&!r&&(n.onDeactivation(),e.filter(function(o){var i=o.id;return i===n.id}).length||n.returnFocus(!t)),t?(Yn=null,(!r||n.observed!==t.observed)&&t.onActivation(),Ki(),Os(Ki)):(lw(),Yn=null)}wh.assignSyncMedium(rw);xh.assignMedium(Ls);f_.assignMedium(function(e){return e({moveFocusInside:Ah,focusInside:Ih})});const sw=y_(aw,uw)(ow);var Fh=w.forwardRef(function(t,n){return w.createElement(yl,kn({sideCar:sw,ref:n},t))}),Uh=yl.propTypes||{};Uh.sideCar;r_(Uh,["sideCar"]);Fh.propTypes={};const kf=()=>["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document,cw=()=>{const e=w.useCallback(()=>{document.body.style.overflow="hidden",document.body.style.paddingRight="var(--scrollbar-compensation)",document.body.dataset.scrollLock="true",kf()&&(scrollY=window.pageYOffset,document.body.style.position="fixed",document.body.style.top=`-${scrollY}px`,document.body.style.width="100%")},[]),t=w.useCallback(()=>{document.body.style.overflow="",document.body.style.paddingRight="",kf()&&(document.body.style.position="",document.body.style.top="",document.body.style.width="",window.scrollTo(0,scrollY)),delete document.body.dataset.scrollLock},[]);return w.useLayoutEffect(()=>{const n=window.innerWidth-document.body.offsetWidth;document.body.style.setProperty("--scrollbar-compensation",`${n}px`)},[]),{lockScroll:e,unlockScroll:t}};function fw(){const{isModalActive:e,setIsModalActive:t,setCreateData:n}=gl(),r=w.useRef(null),{lockScroll:o,unlockScroll:i}=cw(),l={title:"",body:""},[a,u]=w.useState(l),[s,c]=w.useState(!1),f=a.body===""||a.title==="";w.useEffect(()=>{n(a)},[a]);const p=y=>{const{name:$,value:h}=y.target;u({...a,[$]:h}),s||c(!0)},v=()=>{t(!1)},g=w.useCallback(y=>{y.key==="Escape"&&t(!1)},[e]);return w.useEffect(()=>(e&&r.current&&(document.addEventListener("keydown",g),o()),()=>{i(),document.removeEventListener("keydown",g)}),[e,g,o,i]),x.jsx(Fh,{returnFocus:!0,disabled:!e,children:x.jsx("div",{ref:r,className:e?`${Te.modal} ${Te["modal--active"]}`:Te.modal,onClick:v,children:x.jsx("div",{className:Te.modal__desktop,onClick:y=>y.stopPropagation(),children:x.jsxs("div",{className:Te.modal__wrapper,children:[x.jsx("div",{className:Te.modal__content,children:x.jsxs("form",{className:Te.modal__form,children:[x.jsx("div",{className:Te.modal__field,children:x.jsxs("label",{children:[x.jsx("span",{className:Te.modal__title,children:"Title"}),x.jsx("textarea",{placeholder:"Title",maxLength:100,name:"title",onChange:p,value:a.title})]})}),x.jsx("div",{className:`${Te.modal__field} ${Te["modal__field--desc"]}`,children:x.jsxs("label",{children:[x.jsx("span",{className:Te.modal__title,children:"Description"}),x.jsx("textarea",{placeholder:"Description text",maxLength:400,name:"body",onChange:p,value:a.body})]})}),x.jsx("div",{className:Te.modal__btn,children:x.jsx(mr,{text:"Create",disabled:f})})]})}),x.jsx("button",{className:Te.btn,onClick:v})]})})})})}function dw(){const{posts:e,getPosts:t,loading:n,photos:r,getPhotos:o,activePage:i}=Ss();return w.useEffect(()=>{t(),o()},[i]),n?x.jsx(vh,{}):e.length===0||r.length===0?x.jsx(x.Fragment,{children:"No posts or photos available"}):x.jsxs(xs,{pageTitle:"ALL POSTS",children:[x.jsx("section",{className:Eo.container,children:e.length>0&&r.length>0&&x.jsxs(x.Fragment,{children:[x.jsx(z1,{}),x.jsx(U1,{})]})}),x.jsx(fw,{})]})}const pw="_post_p085p_1",hw="_post__btns_p085p_14",mw="_post__title_p085p_26",vw="_post__text_p085p_33",gw="_post__author_p085p_37",In={post:pw,post__btns:hw,post__title:mw,post__text:vw,post__author:gw},un={"post-update":"_post-update_6cdu0_1","post-update__field":"_post-update__field_6cdu0_7","post-update__field--desc":"_post-update__field--desc_6cdu0_13","post-update__title":"_post-update__title_6cdu0_17","post-update__btn":"_post-update__btn_6cdu0_22"};function yw(){const{post:e,setUpdateData:t}=gl(),n=e?{title:e.title,body:e.body}:{title:"",body:""},[r,o]=w.useState(n),[i,l]=w.useState(!1);w.useEffect(()=>{t(r)},[r]);const a=u=>{const{name:s,value:c}=u.target;o({...r,[s]:c}),i||l(!0)};return x.jsxs("form",{className:un["post-update"],children:[x.jsx("div",{className:un["post-update__field"],children:x.jsxs("label",{children:[x.jsx("span",{className:un["post-update__title"],children:"Title"}),x.jsx("textarea",{placeholder:"Title",maxLength:100,name:"title",onChange:a,value:r.title})]})}),x.jsx("div",{className:`${un["post-update__field"]} ${un["post-update__field--desc"]}`,children:x.jsxs("label",{children:[x.jsx("span",{className:un["post-update__title"],children:"Description"}),x.jsx("textarea",{placeholder:"Description text",maxLength:400,name:"body",onChange:a,value:r.body})]})}),x.jsxs("div",{className:un["post-update__btn"],children:[x.jsx(mr,{text:"Back"}),x.jsx(mr,{text:"Confirm update",disabled:!i})]})]})}function _w(){const{postId:e}=Ug(),{getPost:t,getPhoto:n,loading:r,post:o,photo:i,dropData:l,setCurrentId:a,method:u}=gl();return w.useEffect(()=>(e&&(a(Number(e)),t(),n()),()=>{l()}),[e]),r?x.jsx(vh,{}):o?x.jsx(xs,{pageTitle:`${o.title}`,children:x.jsxs("section",{className:Eo.container,children:[u===Et.Read&&x.jsxs("div",{className:In.post__btns,children:[x.jsx(hh,{text:"Back",href:st.Blog}),x.jsx(mr,{text:"Update"}),x.jsx(mr,{text:"Delete"})]}),x.jsxs("div",{className:In.post,children:[i&&x.jsx("img",{src:i.url,alt:o.title}),u===Et.Read&&x.jsxs("div",{className:In.post__content,children:[x.jsx("h1",{className:In.post__title,children:o.title}),x.jsx("p",{className:In.post__text,children:o.body}),x.jsxs("cite",{className:In.post__author,children:["Author: ",o.userId]})]}),u===Et.Update&&x.jsx(yw,{})]})]})}):x.jsx(Jp,{})}function ww(){return x.jsx(Kn,{children:x.jsxs(ey,{children:[x.jsx(Ar,{path:st.Index,element:x.jsx(A1,{})}),x.jsx(Ar,{path:st.Blog,element:x.jsx(dw,{})}),x.jsx(Ar,{path:`${st.Post}/:postId`,element:x.jsx(_w,{})}),x.jsx(Ar,{path:"*",element:x.jsx(Jp,{})})]})})}const xw=la.createRoot(document.getElementById("root"));xw.render(x.jsx(lt.StrictMode,{children:x.jsx(uy,{history:hy,basename:"/blog-test",children:x.jsx(ww,{})})})); + */var dl=w,e1=q0;function t1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var n1=typeof Object.is=="function"?Object.is:t1,r1=e1.useSyncExternalStore,o1=dl.useRef,i1=dl.useEffect,l1=dl.useMemo,a1=dl.useDebugValue;rh.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=o1(null);if(i.current===null){var l={hasValue:!1,value:null};i.current=l}else l=i.current;i=l1(function(){function u(v){if(!s){if(s=!0,c=v,v=r(v),o!==void 0&&l.hasValue){var g=l.value;if(o(g,v))return f=g}return f=v}if(g=f,n1(c,v))return g;var y=r(v);return o!==void 0&&o(g,y)?g:(c=v,f=y)}var s=!1,c,f,p=n===void 0?null:n;return[function(){return u(t())},p===null?void 0:function(){return u(p())}]},[t,n,r,o]);var a=r1(e,i[0],i[1]);return i1(function(){l.hasValue=!0,l.value=a},[a]),a1(a),a};nh.exports=rh;var u1=nh.exports;const s1=Pn(u1);var lh={BASE_URL:"/blog-test",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const{useDebugValue:c1}=at,{useSyncExternalStoreWithSelector:f1}=s1;let sf=!1;const d1=e=>e;function p1(e,t=d1,n){(lh?"production":void 0)!=="production"&&n&&!sf&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),sf=!0);const r=f1(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return c1(r),r}const h1=e=>{(lh?"production":void 0)!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t=typeof e=="function"?W0(e):e,n=(r,o)=>p1(t,r,o);return Object.assign(n,t),n},ah=e=>h1;var uh=Symbol.for("immer-nothing"),cf=Symbol.for("immer-draftable"),be=Symbol.for("immer-state");function lt(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var pr=Object.getPrototypeOf;function hr(e){return!!e&&!!e[be]}function Cn(e){var t;return e?sh(e)||Array.isArray(e)||!!e[cf]||!!((t=e.constructor)!=null&&t[cf])||hl(e)||ml(e):!1}var m1=Object.prototype.constructor.toString();function sh(e){if(!e||typeof e!="object")return!1;const t=pr(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===m1}function bi(e,t){pl(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function pl(e){const t=e[be];return t?t.type_:Array.isArray(e)?1:hl(e)?2:ml(e)?3:0}function su(e,t){return pl(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function ch(e,t,n){const r=pl(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function v1(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function hl(e){return e instanceof Map}function ml(e){return e instanceof Set}function dn(e){return e.copy_||e.base_}function cu(e,t){if(hl(e))return new Map(e);if(ml(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=sh(e);if(t===!0||t==="class_only"&&!n){const r=Object.getOwnPropertyDescriptors(e);delete r[be];let o=Reflect.ownKeys(r);for(let i=0;i1&&(e.set=e.add=e.clear=e.delete=g1),Object.freeze(e),t&&Object.entries(e).forEach(([n,r])=>_s(r,!0))),e}function g1(){lt(2)}function vl(e){return Object.isFrozen(e)}var y1={};function En(e){const t=y1[e];return t||lt(0,e),t}var fo;function fh(){return fo}function _1(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function ff(e,t){t&&(En("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function fu(e){du(e),e.drafts_.forEach(w1),e.drafts_=null}function du(e){e===fo&&(fo=e.parent_)}function df(e){return fo=_1(fo,e)}function w1(e){const t=e[be];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function pf(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[be].modified_&&(fu(t),lt(4)),Cn(e)&&(e=Wi(t,e),t.parent_||Hi(t,e)),t.patches_&&En("Patches").generateReplacementPatches_(n[be].base_,e,t.patches_,t.inversePatches_)):e=Wi(t,n,[]),fu(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==uh?e:void 0}function Wi(e,t,n){if(vl(t))return t;const r=t[be];if(!r)return bi(t,(o,i)=>hf(e,r,t,o,i,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return Hi(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const o=r.copy_;let i=o,l=!1;r.type_===3&&(i=new Set(o),o.clear(),l=!0),bi(i,(a,u)=>hf(e,r,o,a,u,n,l)),Hi(e,o,!1),n&&e.patches_&&En("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function hf(e,t,n,r,o,i,l){if(hr(o)){const a=i&&t&&t.type_!==3&&!su(t.assigned_,r)?i.concat(r):void 0,u=Wi(e,o,a);if(ch(n,r,u),hr(u))e.canAutoFreeze_=!1;else return}else l&&n.add(o);if(Cn(o)&&!vl(o)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Wi(e,o),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,r)&&Hi(e,o)}}function Hi(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&_s(t,n)}function x1(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:fh(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=r,i=ws;n&&(o=[r],i=po);const{revoke:l,proxy:a}=Proxy.revocable(o,i);return r.draft_=a,r.revoke_=l,a}var ws={get(e,t){if(t===be)return e;const n=dn(e);if(!su(n,t))return S1(e,n,t);const r=n[t];return e.finalized_||!Cn(r)?r:r===ql(e.base_,t)?(ea(e),e.copy_[t]=hu(r,e)):r},has(e,t){return t in dn(e)},ownKeys(e){return Reflect.ownKeys(dn(e))},set(e,t,n){const r=dh(dn(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const o=ql(dn(e),t),i=o==null?void 0:o[be];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(v1(n,o)&&(n!==void 0||su(e.base_,t)))return!0;ea(e),pu(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return ql(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,ea(e),pu(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=dn(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){lt(11)},getPrototypeOf(e){return pr(e.base_)},setPrototypeOf(){lt(12)}},po={};bi(ws,(e,t)=>{po[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});po.deleteProperty=function(e,t){return po.set.call(this,e,t,void 0)};po.set=function(e,t,n){return ws.set.call(this,e[0],t,n,e[0])};function ql(e,t){const n=e[be];return(n?dn(n):e)[t]}function S1(e,t,n){var o;const r=dh(t,n);return r?"value"in r?r.value:(o=r.get)==null?void 0:o.call(e.draft_):void 0}function dh(e,t){if(!(t in e))return;let n=pr(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=pr(n)}}function pu(e){e.modified_||(e.modified_=!0,e.parent_&&pu(e.parent_))}function ea(e){e.copy_||(e.copy_=cu(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var k1=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const i=n;n=t;const l=this;return function(u=i,...s){return l.produce(u,c=>n.call(this,c,...s))}}typeof n!="function"&<(6),r!==void 0&&typeof r!="function"&<(7);let o;if(Cn(t)){const i=df(this),l=hu(t,void 0);let a=!0;try{o=n(l),a=!1}finally{a?fu(i):du(i)}return ff(i,r),pf(o,i)}else if(!t||typeof t!="object"){if(o=n(t),o===void 0&&(o=t),o===uh&&(o=void 0),this.autoFreeze_&&_s(o,!0),r){const i=[],l=[];En("Patches").generateReplacementPatches_(t,o,i,l),r(i,l)}return o}else lt(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(l,...a)=>this.produceWithPatches(l,u=>t(u,...a));let r,o;return[this.produce(t,n,(l,a)=>{r=l,o=a}),r,o]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){Cn(e)||lt(8),hr(e)&&(e=C1(e));const t=df(this),n=hu(e,void 0);return n[be].isManual_=!0,du(t),n}finishDraft(e,t){const n=e&&e[be];(!n||!n.isManual_)&<(9);const{scope_:r}=n;return ff(r,t),pf(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const o=t[n];if(o.path.length===0&&o.op==="replace"){e=o.value;break}}n>-1&&(t=t.slice(n+1));const r=En("Patches").applyPatches_;return hr(e)?r(e,t):this.produce(e,o=>r(o,t))}};function hu(e,t){const n=hl(e)?En("MapSet").proxyMap_(e,t):ml(e)?En("MapSet").proxySet_(e,t):x1(e,t);return(t?t.scope_:fh()).drafts_.push(n),n}function C1(e){return hr(e)||lt(10,e),ph(e)}function ph(e){if(!Cn(e)||vl(e))return e;const t=e[be];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=cu(e,t.scope_.immer_.useStrictShallowCopy_)}else n=cu(e,!0);return bi(n,(r,o)=>{ch(n,r,ph(o))}),t&&(t.finalized_=!1),n}var We=new k1,E1=We.produce;We.produceWithPatches.bind(We);We.setAutoFreeze.bind(We);We.setUseStrictShallowCopy.bind(We);We.applyPatches.bind(We);We.createDraft.bind(We);We.finishDraft.bind(We);const P1=e=>(t,n,r)=>(r.setState=(o,i,...l)=>{const a=typeof o=="function"?E1(o):o;return t(a,i,...l)},e(r.setState,n,r)),hh=P1;async function N1(e){const t=await fetch("https://jsonplaceholder.typicode.com/posts",{method:"POST",headers:{"Content-Type":"application/json; charset=UTF-8"},body:JSON.stringify(e)});return t.ok&&console.log("Successfully created"),await t.json()}async function T1(e){const t=await fetch(`https://jsonplaceholder.typicode.com/posts/${e.id}`,{method:"PUT",headers:{"Content-Type":"application/json; charset=UTF-8"},body:JSON.stringify(e)});return t.ok&&console.log("Successfully updated"),await t.json()}async function O1(e){const t=await fetch(`https://jsonplaceholder.typicode.com/posts/${e}`,{method:"DELETE"});return t.ok&&console.log("Successfully deleted"),t.ok}const gl=ah()(hh((e,t)=>({post:null,photo:null,currentId:null,setCurrentId:n=>e(()=>({currentId:n})),loading:!1,getPost:async()=>{e(o=>{o.loading=!0});const n=t().currentId,r=new URL(`${Mi}/posts/${n}`);try{const i=await(await fetch(r)).json();e(l=>{l.post=i,l.loading=!1})}catch{ve.error("Ошибка загрузки поста")}finally{e(o=>{o.loading=!1})}},getPhoto:async()=>{e(o=>{o.loading=!0});const n=t().currentId,r=new URL(`${Mi}/photos/${n}`);try{const i=await(await fetch(r)).json();e(l=>{l.photo=i,l.loading=!1})}catch{ve.error("Ошибка загрузки изображения")}finally{e(o=>{o.loading=!1})}},dropData:()=>e(()=>({photo:null,post:null,currentId:null,method:Et.Read,updateData:null})),createPost:async n=>{e({loading:!0});try{return await N1(n)}catch(r){throw console.error("Ошибка отправки данных:",r),r}finally{e({loading:!1})}},updatePost:async n=>{e({loading:!0});try{return await T1(n)}catch(r){throw console.error("Ошибка обновления данных:",r),r}finally{e({loading:!1})}},deletePost:async n=>{e({loading:!0});try{return await O1(n)}catch(r){throw console.error("Ошибка удаления данных:",r),r}finally{e({loading:!1})}},method:Et.Read,setMethod:n=>e(()=>({method:n})),updateData:null,setUpdateData:n=>e(()=>({updateData:n})),isModalActive:!1,setIsModalActive:n=>e(()=>({isModalActive:n})),createData:null,setCreateData:n=>e(()=>({createData:n}))}))),mf={"btn-transp":"_btn-transp_10wk3_1","btn-transp__text":"_btn-transp__text_10wk3_41"};function mr({text:e,disabled:t}){const{updatePost:n,deletePost:r,createPost:o,createData:i,currentId:l,setMethod:a,updateData:u,post:s,setIsModalActive:c}=gl(),f=e.toUpperCase(),p=Hp(),v=async()=>{if(f===fn.CreateNew.toUpperCase()){c(!0);return}if(f===fn.Create.toUpperCase()&&i){const g=await o({title:i.title,body:i.body,userId:1});g&&(Ko.success("Successfully created"),p(Ue.Blog),c(!1)),g||Ko.error("Something went wrong, please try again");return}if(f===fn.Delete.toUpperCase()&&l){await r(l.toString())&&(Ko.success("Successfully deleted"),p(Ue.Blog));return}if(f===fn.Update.toUpperCase()){a(Et.Update);return}if(f===fn.Confirm.toUpperCase()&&s&&u){await n({title:u.title,body:u.body,id:s.id,userId:s.userId})&&(Ko.success("Successfully updated"),a(Et.Read));return}f===fn.Back.toUpperCase()&&a(Et.Read)};return x.jsx("button",{className:mf["btn-transp"],type:"button",onClick:v,disabled:t||!1,children:x.jsx("span",{className:mf["btn-transp__text"],children:e})})}const L1="_socials_8asvr_1",j1="_socials__link_8asvr_6",R1="_socials__icon_8asvr_9",jr={socials:L1,socials__link:j1,socials__icon:R1};function I1(){return x.jsx("ul",{className:jr.socials,children:vy.map(e=>{const t=e.title==="gmail";return x.jsx("li",{className:jr.socials__item,children:x.jsxs("a",{href:t?`mailto:${e.href}`:e.href,className:jr.socials__link,target:t?void 0:"_blank",rel:t?void 0:"noopener noreferrer",children:[x.jsx("img",{src:"img/icons/icon-bg.svg",className:jr.socials__bg}),x.jsx("img",{src:e.src,alt:e.title,className:jr.socials__icon})]})},e.title)})})}function $1(){const e=wr();return x.jsx("header",{className:af.header,children:x.jsxs("div",{className:`${Eo.container} ${af.header__flex}`,children:[x.jsx(I1,{}),x.jsx("div",{children:e.pathname===Ue.Blog&&x.jsx(mr,{text:"Create new post"})})]})})}function D1({pageTitle:e,children:t}){const r=wr().pathname===Ue.Index||Ue.Blog;return x.jsxs("div",{className:lf.wrapper,children:[x.jsx(ui,{children:x.jsxs("title",{children:[e?`${e}`:""," – BLOG"]})}),r&&x.jsx($1,{}),!r&&x.jsx("div",{className:lf["without-header"]}),x.jsx("main",{children:t}),x.jsx(F0,{}),x.jsx($0,{toastOptions:{duration:3e3,style:{background:"#1d2e5b",color:"#ffffff",border:"1px solid #ffffff"}}})]})}const xs=w.memo(D1),vf={"btn-transp":"_btn-transp_6d3xu_1","btn-transp__text":"_btn-transp__text_6d3xu_38"};function mh({text:e,href:t}){return x.jsx(gs,{className:vf["btn-transp"],to:t,children:x.jsx("span",{className:vf["btn-transp__text"],children:e})})}const gf={"welcome-page":"_welcome-page_kpjid_1","welcome-page__text":"_welcome-page__text_kpjid_15"};function A1(){return x.jsx(xs,{pageTitle:"WELCOME",children:x.jsx("section",{className:Eo.container,children:x.jsxs("div",{className:gf["welcome-page"],children:[x.jsxs("p",{className:gf["welcome-page__text"],children:["Welcome to",x.jsx("br",{}),x.jsx("span",{children:"my blog"})]}),x.jsx(mh,{text:"Lets test",href:Ue.Blog})]})})})}const Ss=ah()(hh((e,t)=>({posts:[],photos:[],loading:!1,activePage:1,setActivePage:n=>e(()=>({activePage:n})),activePost:null,setActivePost:n=>e(()=>({activePost:n})),getPosts:async()=>{e(i=>{i.loading=!0});const n=t().activePage,r=n===1?0:n*10-10,o=new URL(`${Mi}/posts?_start=${r}&_limit=10`);try{const l=await(await fetch(o)).json();e(a=>{a.posts=l,a.loading=!1})}catch{ve.error("Ошибка при получении списка публикаций")}finally{e(i=>{i.loading=!1})}},getPhotos:async()=>{e(i=>{i.loading=!0});const n=t().activePage,r=n===1?0:n*10-10,o=new URL(`${Mi}/photos?_start=${r}&_limit=10`);try{const l=await(await fetch(o)).json();e(a=>{a.photos=l,a.loading=!1})}catch{ve.error("Ошибка при получении списка изображений")}finally{e(i=>{i.loading=!1})}}}))),Rr={"post-list":"_post-list_192ep_1","post-list__item":"_post-list__item_192ep_21","post-list__link":"_post-list__link_192ep_29","post-list__img":"_post-list__img_192ep_35","post-list__title":"_post-list__title_192ep_41"};function z1(){const{posts:e,photos:t}=Ss();return x.jsx("ul",{className:Rr["post-list"],children:e.map((n,r)=>{const o=t[r];if(!o)return null;const i=o.thumbnailUrl;return x.jsx("li",{className:Rr["post-list__item"],children:x.jsxs(gs,{to:`${Ue.Post}/${n.id}`,className:Rr["post-list__link"],children:[x.jsx("img",{src:i,alt:n.title,className:Rr["post-list__img"]}),x.jsx("h2",{className:Rr["post-list__title"],children:n.title})]})},n.id)})})}var vh={exports:{}};(function(e,t){(function(n,r){e.exports=r(w)})(Wh,n=>(()=>{var r={703:(a,u,s)=>{var c=s(414);function f(){}function p(){}p.resetWarningCache=f,a.exports=function(){function v($,h,d,m,S,N){if(N!==c){var j=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw j.name="Invariant Violation",j}}function g(){return v}v.isRequired=v;var y={array:v,bigint:v,bool:v,func:v,number:v,object:v,string:v,symbol:v,any:v,arrayOf:g,element:v,elementType:v,instanceOf:g,node:v,objectOf:g,oneOf:g,oneOfType:g,shape:g,exact:g,checkPropTypes:p,resetWarningCache:f};return y.PropTypes=y,y}},697:(a,u,s)=>{a.exports=s(703)()},414:a=>{a.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},98:a=>{a.exports=n}},o={};function i(a){var u=o[a];if(u!==void 0)return u.exports;var s=o[a]={exports:{}};return r[a](s,s.exports,i),s.exports}i.n=a=>{var u=a&&a.__esModule?()=>a.default:()=>a;return i.d(u,{a:u}),u},i.d=(a,u)=>{for(var s in u)i.o(u,s)&&!i.o(a,s)&&Object.defineProperty(a,s,{enumerable:!0,get:u[s]})},i.o=(a,u)=>Object.prototype.hasOwnProperty.call(a,u),i.r=a=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})};var l={};return(()=>{i.r(l),i.d(l,{default:()=>Q});var a=i(98),u=i.n(a),s=i(697),c=i.n(s);function f(){return f=Object.assign?Object.assign.bind():function(L){for(var I=1;I1&&arguments[1]!==void 0?arguments[1]:"";return L??I}function d(L){return d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(I){return typeof I}:function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I},d(L)}function m(){return m=Object.assign?Object.assign.bind():function(L){for(var I=1;I"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var C,_=P(W);if($e){var A=P(this).constructor;C=Reflect.construct(_,arguments,A)}else C=_.apply(this,arguments);return j(this,C)});function T(C){var _,A;return function(O,F){if(!(O instanceof F))throw new TypeError("Cannot call a class as a function")}(this,T),D(k(_=De.call(this,C)),"handlePreviousPage",function(O){var F=_.state.selected;_.handleClick(O,null,F>0?F-1:void 0,{isPrevious:!0})}),D(k(_),"handleNextPage",function(O){var F=_.state.selected,B=_.props.pageCount;_.handleClick(O,null,F3&&arguments[3]!==void 0?arguments[3]:{},X=Y.isPrevious,ee=X!==void 0&&X,Qe=Y.isNext,yt=Qe!==void 0&&Qe,ft=Y.isBreak,Ke=ft!==void 0&&ft,Rt=Y.isActive,It=Rt!==void 0&&Rt;O.preventDefault?O.preventDefault():O.returnValue=!1;var $t=_.state.selected,ie=_.props.onClick,Ye=B;if(ie){var Ae=ie({index:F,selected:$t,nextSelectedPage:B,event:O,isPrevious:ee,isNext:yt,isBreak:Ke,isActive:It});if(Ae===!1)return;Number.isInteger(Ae)&&(Ye=Ae)}Ye!==void 0&&_.handlePageChange(Ye)}),D(k(_),"handleBreakClick",function(O,F){var B=_.state.selected;_.handleClick(F,O,BY-B/2?It=B-($t=Y-Ke):KeY-X)se.push({type:"page",index:ie,display:Ae(ie)});else if(ie>=Ke-It&&ie<=Ke+(Ke===0&&B>1?$t-1:$t))se.push({type:"page",index:ie,display:Ae(ie)});else if(ee&&se.length>0&&se[se.length-1].display!==Ye&&(B>0||X>0)){var wl=ieF-1&&console.warn("(react-paginate): The initialPage prop provided is greater than the maximum page index from pageCount prop (".concat(_," > ").concat(F-1,").")),B!==void 0&&B>F-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(B," > ").concat(F-1,")."))}},{key:"componentDidUpdate",value:function(C){this.props.forcePage!==void 0&&this.props.forcePage!==C.forcePage&&(this.props.forcePage>this.props.pageCount-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(this.props.forcePage," > ").concat(this.props.pageCount-1,").")),this.setState({selected:this.props.forcePage})),Number.isInteger(C.pageCount)&&!Number.isInteger(this.props.pageCount)&&console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(this.props.pageCount,"). Did you forget a Math.ceil()?"))}},{key:"getForwardJump",value:function(){var C=this.state.selected,_=this.props,A=_.pageCount,O=C+_.pageRangeDisplayed;return O>=A?A-1:O}},{key:"getBackwardJump",value:function(){var C=this.state.selected-this.props.pageRangeDisplayed;return C<0?0:C}},{key:"getElementHref",value:function(C){var _=this.props,A=_.hrefBuilder,O=_.pageCount,F=_.hrefAllControls;if(A)return F||C>=0&&C=0&&C{t(o.selected+1)};return x.jsx("div",{className:"pagination",children:x.jsx(F1,{breakLabel:"...",nextLabel:">",onPageChange:r,pageRangeDisplayed:3,pageCount:n,previousLabel:"<",renderOnZeroPageCount:null,forcePage:e-1})})}const B1="_el_5hwtd_1",b1="_container_5hwtd_10",W1="_wrapper_5hwtd_17",H1="_loader_5hwtd_23",V1="_rotate_5hwtd_1",Q1="_dot_5hwtd_30",K1="_text_5hwtd_39",xe={el:B1,container:b1,wrapper:W1,loader:H1,rotate:V1,dot:Q1,text:K1};function gh(){return x.jsx("div",{className:xe.el,children:x.jsxs("div",{className:xe.container,children:[x.jsxs("div",{className:xe.wrapper,children:[x.jsx("div",{className:xe.loader,children:x.jsx("div",{className:xe.dot})}),x.jsx("div",{className:xe.loader,children:x.jsx("div",{className:xe.dot})}),x.jsx("div",{className:xe.loader,children:x.jsx("div",{className:xe.dot})}),x.jsx("div",{className:xe.loader,children:x.jsx("div",{className:xe.dot})}),x.jsx("div",{className:xe.loader,children:x.jsx("div",{className:xe.dot})}),x.jsx("div",{className:xe.loader,children:x.jsx("div",{className:xe.dot})})]}),x.jsx("div",{className:xe.text,children:"Загрузка..."})]})})}const Y1="_modal_mvcbj_1",G1="_modal__desktop_mvcbj_31",X1="_modal__wrapper_mvcbj_42",J1="_modal__content_mvcbj_57",Z1="_btn_mvcbj_71",q1="_modal__form_mvcbj_112",e_="_modal__field_mvcbj_118",t_="_modal__title_mvcbj_131",n_="_modal__btn_mvcbj_137",Te={modal:Y1,"modal--active":"_modal--active_mvcbj_25",modal__desktop:G1,modal__wrapper:X1,modal__content:J1,btn:Z1,modal__form:q1,modal__field:e_,"modal__field--desc":"_modal__field--desc_mvcbj_127",modal__title:t_,modal__btn:n_};function r_(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}var mu="data-focus-lock",yh="data-focus-lock-disabled",o_="data-no-focus-lock",i_="data-autofocus-inside",l_="data-no-autofocus";function ta(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function a_(e,t){var n=w.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var u_=typeof window<"u"?w.useLayoutEffect:w.useEffect,yf=new WeakMap;function s_(e,t){var n=a_(null,function(r){return e.forEach(function(o){return ta(o,r)})});return u_(function(){var r=yf.get(n);if(r){var o=new Set(r),i=new Set(e),l=n.current;o.forEach(function(a){i.has(a)||ta(a,null)}),i.forEach(function(a){o.has(a)||ta(a,l)})}yf.set(n,e)},[e]),n}var na={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},vu=function(){return vu=Object.assign||function(t){for(var n,r=1,o=arguments.length;r=0}).sort(P_)},N_=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],Es=N_.join(","),T_="".concat(Es,", [data-focus-guard]"),Rh=function(e,t){return gt((e.shadowRoot||e).children).reduce(function(n,r){return n.concat(r.matches(t?T_:Es)?[r]:[],Rh(r))},[])},O_=function(e,t){var n;return e instanceof HTMLIFrameElement&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?_l([e.contentDocument.body],t):[e]},_l=function(e,t){return e.reduce(function(n,r){var o,i=Rh(r,t),l=(o=[]).concat.apply(o,i.map(function(a){return O_(a,t)}));return n.concat(l,r.parentNode?gt(r.parentNode.querySelectorAll(Es)).filter(function(a){return a===r}):[])},[])},L_=function(e){var t=e.querySelectorAll("[".concat(i_,"]"));return gt(t).map(function(n){return _l([n])}).reduce(function(n,r){return n.concat(r)},[])},Ps=function(e,t){return gt(e).filter(function(n){return Ph(t,n)}).filter(function(n){return k_(n)})},_f=function(e,t){return t===void 0&&(t=new Map),gt(e).filter(function(n){return Nh(t,n)})},yu=function(e,t,n){return jh(Ps(_l(e,n),t),!0,n)},wf=function(e,t){return jh(Ps(_l(e),t),!1)},j_=function(e,t){return Ps(L_(e),t)},nr=function(e,t){return e.shadowRoot?nr(e.shadowRoot,t):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,t)?!0:gt(e.children).some(function(n){var r;if(n instanceof HTMLIFrameElement){var o=(r=n.contentDocument)===null||r===void 0?void 0:r.body;return o?nr(o,t):!1}return nr(n,t)})},R_=function(e){for(var t=new Set,n=e.length,r=0;r0&&t.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(l,a){return!t.has(a)})},Ih=function(e){return e.parentNode?Ih(e.parentNode):e},Ns=function(e){var t=Vi(e);return t.filter(Boolean).reduce(function(n,r){var o=r.getAttribute(mu);return n.push.apply(n,o?R_(gt(Ih(r).querySelectorAll("[".concat(mu,'="').concat(o,'"]:not([').concat(yh,'="disabled"])')))):[r]),n},[])},I_=function(e){try{return e()}catch{return}},mo=function(e){if(e===void 0&&(e=document),!(!e||!e.activeElement)){var t=e.activeElement;return t.shadowRoot?mo(t.shadowRoot):t instanceof HTMLIFrameElement&&I_(function(){return t.contentWindow.document})?mo(t.contentWindow.document):t}},$_=function(e,t){return e===t},D_=function(e,t){return!!gt(e.querySelectorAll("iframe")).some(function(n){return $_(n,t)})},$h=function(e,t){return t===void 0&&(t=mo(kh(e).ownerDocument)),!t||t.dataset&&t.dataset.focusGuard?!1:Ns(e).some(function(n){return nr(n,t)||D_(n,t)})},A_=function(e){e===void 0&&(e=document);var t=mo(e);return t?gt(e.querySelectorAll("[".concat(o_,"]"))).some(function(n){return nr(n,t)}):!1},z_=function(e,t){return t.filter(Lh).filter(function(n){return n.name===e.name}).filter(function(n){return n.checked})[0]||e},Ts=function(e,t){return Lh(e)&&e.name?z_(e,t):e},M_=function(e){var t=new Set;return e.forEach(function(n){return t.add(Ts(n,e))}),e.filter(function(n){return t.has(n)})},xf=function(e){return e[0]&&e.length>1?Ts(e[0],e):e[0]},Sf=function(e,t){return e.length>1?e.indexOf(Ts(e[t],e)):t},Dh="NEW_FOCUS",F_=function(e,t,n,r){var o=e.length,i=e[0],l=e[o-1],a=Cs(n);if(!(n&&e.indexOf(n)>=0)){var u=n!==void 0?t.indexOf(n):-1,s=r?t.indexOf(r):u,c=r?e.indexOf(r):-1,f=u-s,p=t.indexOf(i),v=t.indexOf(l),g=M_(t),y=n!==void 0?g.indexOf(n):-1,$=y-(r?g.indexOf(r):u),h=Sf(e,0),d=Sf(e,o-1);if(u===-1||c===-1)return Dh;if(!f&&c>=0)return c;if(u<=p&&a&&Math.abs(f)>1)return d;if(u>=v&&a&&Math.abs(f)>1)return h;if(f&&Math.abs($)>1)return c;if(u<=p)return d;if(u>v)return h;if(f)return Math.abs(f)>1?c:(o+c+f)%o}},U_=function(e){return function(t){var n,r=(n=Th(t))===null||n===void 0?void 0:n.autofocus;return t.autofocus||r!==void 0&&r!=="false"||e.indexOf(t)>=0}},B_=function(e,t,n){var r=e.map(function(i){var l=i.node;return l}),o=_f(r.filter(U_(n)));return o&&o.length?xf(o):xf(_f(t))},_u=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&_u(e.parentNode.host||e.parentNode,t),t},ra=function(e,t){for(var n=_u(e),r=_u(t),o=0;o=0)return i}return!1},Ah=function(e,t,n){var r=Vi(e),o=Vi(t),i=r[0],l=!1;return o.filter(Boolean).forEach(function(a){l=ra(l||a,a)||l,n.filter(Boolean).forEach(function(u){var s=ra(i,u);s&&(!l||nr(s,l)?l=s:l=ra(s,l))})}),l},b_=function(e,t){return e.reduce(function(n,r){return n.concat(j_(r,t))},[])},W_=function(e,t){var n=new Map;return t.forEach(function(r){return n.set(r.node,r)}),e.map(function(r){return n.get(r)}).filter(E_)},H_=function(e,t){var n=mo(Vi(e).length>0?document:kh(e).ownerDocument),r=Ns(e).filter(Qi),o=Ah(n||e,e,r),i=new Map,l=wf(r,i),a=yu(r,i).filter(function(v){var g=v.node;return Qi(g)});if(!(!a[0]&&(a=l,!a[0]))){var u=wf([o],i).map(function(v){var g=v.node;return g}),s=W_(u,a),c=s.map(function(v){var g=v.node;return g}),f=F_(c,u,n,t);if(f===Dh){var p=B_(l,c,b_(r,i));if(p)return{node:p};console.warn("focus-lock: cannot find any node to move focus into");return}return f===void 0?f:s[f]}},V_=function(e){var t=Ns(e).filter(Qi),n=Ah(e,e,t),r=new Map,o=yu([n],r,!0),i=yu(t,r).filter(function(l){var a=l.node;return Qi(a)}).map(function(l){var a=l.node;return a});return o.map(function(l){var a=l.node,u=l.index;return{node:a,index:u,lockItem:i.indexOf(a)>=0,guard:Cs(a)}})},Q_=function(e,t){"focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},oa=0,ia=!1,zh=function(e,t,n){n===void 0&&(n={});var r=H_(e,t);if(!ia&&r){if(oa>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),ia=!0,setTimeout(function(){ia=!1},1);return}oa++,Q_(r.node,n.focusOptions),oa--}};function Os(e){setTimeout(e,1)}var K_=function(){return document&&document.activeElement===document.body},Y_=function(){return K_()||A_()},rr=null,Yn=null,or=null,vo=!1,G_=function(){return!0},X_=function(t){return(rr.whiteList||G_)(t)},J_=function(t,n){or={observerNode:t,portaledElement:n}},Z_=function(t){return or&&or.portaledElement===t};function kf(e,t,n,r){var o=null,i=e;do{var l=r[i];if(l.guard)l.node.dataset.focusAutoGuard&&(o=l);else if(l.lockItem){if(i!==e)return;o=null}else break}while((i+=n)!==t);o&&(o.node.tabIndex=0)}var q_=function(t){return t&&"current"in t?t.current:t},ew=function(t){return t?!!vo:vo==="meanwhile"},tw=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},nw=function(t,n){return n.some(function(r){return tw(t,r,r)})},Ki=function(){var t=!1;if(rr){var n=rr,r=n.observed,o=n.persistentFocus,i=n.autoFocus,l=n.shards,a=n.crossFrame,u=n.focusOptions,s=r||or&&or.portaledElement,c=document&&document.activeElement;if(s){var f=[s].concat(l.map(q_).filter(Boolean));if((!c||X_(c))&&(o||ew(a)||!Y_()||!Yn&&i)&&(s&&!($h(f)||c&&nw(c,f)||Z_(c))&&(document&&!Yn&&c&&!i?(c.blur&&c.blur(),document.body.focus()):(t=zh(f,Yn,{focusOptions:u}),or={})),vo=!1,Yn=document&&document.activeElement),document){var p=document&&document.activeElement,v=V_(f),g=v.map(function(y){var $=y.node;return $}).indexOf(p);g>-1&&(v.filter(function(y){var $=y.guard,h=y.node;return $&&h.dataset.focusAutoGuard}).forEach(function(y){var $=y.node;return $.removeAttribute("tabIndex")}),kf(g,v.length,1,v),kf(g,-1,-1,v))}}}return t},Mh=function(t){Ki()&&t&&(t.stopPropagation(),t.preventDefault())},Ls=function(){return Os(Ki)},rw=function(t){var n=t.target,r=t.currentTarget;r.contains(n)||J_(r,n)},ow=function(){return null},Fh=function(){vo="just",Os(function(){vo="meanwhile"})},iw=function(){document.addEventListener("focusin",Mh),document.addEventListener("focusout",Ls),window.addEventListener("blur",Fh)},lw=function(){document.removeEventListener("focusin",Mh),document.removeEventListener("focusout",Ls),window.removeEventListener("blur",Fh)};function aw(e){return e.filter(function(t){var n=t.disabled;return!n})}function uw(e){var t=e.slice(-1)[0];t&&!rr&&iw();var n=rr,r=n&&t&&t.id===n.id;rr=t,n&&!r&&(n.onDeactivation(),e.filter(function(o){var i=o.id;return i===n.id}).length||n.returnFocus(!t)),t?(Yn=null,(!r||n.observed!==t.observed)&&t.onActivation(),Ki(),Os(Ki)):(lw(),Yn=null)}xh.assignSyncMedium(rw);Sh.assignMedium(Ls);f_.assignMedium(function(e){return e({moveFocusInside:zh,focusInside:$h})});const sw=y_(aw,uw)(ow);var Uh=w.forwardRef(function(t,n){return w.createElement(yl,kn({sideCar:sw,ref:n},t))}),Bh=yl.propTypes||{};Bh.sideCar;r_(Bh,["sideCar"]);Uh.propTypes={};const Cf=()=>["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document,cw=()=>{const e=w.useCallback(()=>{document.body.style.overflow="hidden",document.body.style.paddingRight="var(--scrollbar-compensation)",document.body.dataset.scrollLock="true",Cf()&&(scrollY=window.pageYOffset,document.body.style.position="fixed",document.body.style.top=`-${scrollY}px`,document.body.style.width="100%")},[]),t=w.useCallback(()=>{document.body.style.overflow="",document.body.style.paddingRight="",Cf()&&(document.body.style.position="",document.body.style.top="",document.body.style.width="",window.scrollTo(0,scrollY)),delete document.body.dataset.scrollLock},[]);return w.useLayoutEffect(()=>{const n=window.innerWidth-document.body.offsetWidth;document.body.style.setProperty("--scrollbar-compensation",`${n}px`)},[]),{lockScroll:e,unlockScroll:t}};function fw(){const{isModalActive:e,setIsModalActive:t,setCreateData:n}=gl(),r=w.useRef(null),{lockScroll:o,unlockScroll:i}=cw(),l={title:"",body:""},[a,u]=w.useState(l),[s,c]=w.useState(!1),f=a.body===""||a.title==="";w.useEffect(()=>{n(a)},[a]);const p=y=>{const{name:$,value:h}=y.target;u({...a,[$]:h}),s||c(!0)},v=()=>{t(!1)},g=w.useCallback(y=>{y.key==="Escape"&&t(!1)},[e]);return w.useEffect(()=>(e&&r.current&&(document.addEventListener("keydown",g),o()),()=>{i(),document.removeEventListener("keydown",g)}),[e,g,o,i]),x.jsx(Uh,{returnFocus:!0,disabled:!e,children:x.jsx("div",{ref:r,className:e?`${Te.modal} ${Te["modal--active"]}`:Te.modal,onClick:v,children:x.jsx("div",{className:Te.modal__desktop,onClick:y=>y.stopPropagation(),children:x.jsxs("div",{className:Te.modal__wrapper,children:[x.jsx("div",{className:Te.modal__content,children:x.jsxs("form",{className:Te.modal__form,children:[x.jsx("div",{className:Te.modal__field,children:x.jsxs("label",{children:[x.jsx("span",{className:Te.modal__title,children:"Title"}),x.jsx("textarea",{placeholder:"Title",maxLength:100,name:"title",onChange:p,value:a.title})]})}),x.jsx("div",{className:`${Te.modal__field} ${Te["modal__field--desc"]}`,children:x.jsxs("label",{children:[x.jsx("span",{className:Te.modal__title,children:"Description"}),x.jsx("textarea",{placeholder:"Description text",maxLength:400,name:"body",onChange:p,value:a.body})]})}),x.jsx("div",{className:Te.modal__btn,children:x.jsx(mr,{text:"Create",disabled:f})})]})}),x.jsx("button",{className:Te.btn,onClick:v})]})})})})}function dw(){const{posts:e,getPosts:t,loading:n,photos:r,getPhotos:o,activePage:i}=Ss();return w.useEffect(()=>{t(),o()},[i]),n?x.jsx(gh,{}):e.length===0||r.length===0?x.jsx(x.Fragment,{children:"No posts or photos available"}):x.jsxs(xs,{pageTitle:"ALL POSTS",children:[x.jsx("section",{className:Eo.container,children:e.length>0&&r.length>0&&x.jsxs(x.Fragment,{children:[x.jsx(z1,{}),x.jsx(U1,{})]})}),x.jsx(fw,{})]})}const pw="_post_p085p_1",hw="_post__btns_p085p_14",mw="_post__title_p085p_26",vw="_post__text_p085p_33",gw="_post__author_p085p_37",In={post:pw,post__btns:hw,post__title:mw,post__text:vw,post__author:gw},un={"post-update":"_post-update_6cdu0_1","post-update__field":"_post-update__field_6cdu0_7","post-update__field--desc":"_post-update__field--desc_6cdu0_13","post-update__title":"_post-update__title_6cdu0_17","post-update__btn":"_post-update__btn_6cdu0_22"};function yw(){const{post:e,setUpdateData:t}=gl(),n=e?{title:e.title,body:e.body}:{title:"",body:""},[r,o]=w.useState(n),[i,l]=w.useState(!1);w.useEffect(()=>{t(r)},[r]);const a=u=>{const{name:s,value:c}=u.target;o({...r,[s]:c}),i||l(!0)};return x.jsxs("form",{className:un["post-update"],children:[x.jsx("div",{className:un["post-update__field"],children:x.jsxs("label",{children:[x.jsx("span",{className:un["post-update__title"],children:"Title"}),x.jsx("textarea",{placeholder:"Title",maxLength:100,name:"title",onChange:a,value:r.title})]})}),x.jsx("div",{className:`${un["post-update__field"]} ${un["post-update__field--desc"]}`,children:x.jsxs("label",{children:[x.jsx("span",{className:un["post-update__title"],children:"Description"}),x.jsx("textarea",{placeholder:"Description text",maxLength:400,name:"body",onChange:a,value:r.body})]})}),x.jsxs("div",{className:un["post-update__btn"],children:[x.jsx(mr,{text:"Back"}),x.jsx(mr,{text:"Confirm update",disabled:!i})]})]})}function _w(){const{postId:e}=Bg(),{getPost:t,getPhoto:n,loading:r,post:o,photo:i,dropData:l,setCurrentId:a,method:u}=gl();return w.useEffect(()=>(e&&(a(Number(e)),t(),n()),()=>{l()}),[e]),r?x.jsx(gh,{}):o?x.jsx(xs,{pageTitle:`${o.title}`,children:x.jsxs("section",{className:Eo.container,children:[u===Et.Read&&x.jsxs("div",{className:In.post__btns,children:[x.jsx(mh,{text:"Back",href:Ue.Blog}),x.jsx(mr,{text:"Update"}),x.jsx(mr,{text:"Delete"})]}),x.jsxs("div",{className:In.post,children:[i&&x.jsx("img",{src:i.url,alt:o.title}),u===Et.Read&&x.jsxs("div",{className:In.post__content,children:[x.jsx("h1",{className:In.post__title,children:o.title}),x.jsx("p",{className:In.post__text,children:o.body}),x.jsxs("cite",{className:In.post__author,children:["Author: ",o.userId]})]}),u===Et.Update&&x.jsx(yw,{})]})]})}):x.jsx(Zp,{})}function ww(){return x.jsx(Kn,{children:x.jsxs(ty,{children:[x.jsx(zr,{path:Ue.Index,element:x.jsx(A1,{})}),x.jsx(zr,{path:Ue.Blog,element:x.jsx(dw,{})}),x.jsx(zr,{path:`${Ue.Post}/:postId`,element:x.jsx(_w,{})}),x.jsx(zr,{path:"*",element:x.jsx(Zp,{})})]})})}const xw=la.createRoot(document.getElementById("root"));xw.render(x.jsx(at.StrictMode,{children:x.jsx(sy,{history:my,basename:"/blog-test",children:x.jsx(ww,{})})})); diff --git a/assets/index-u7frYSmG.css b/assets/index-u7frYSmG.css new file mode 100644 index 0000000..580e760 --- /dev/null +++ b/assets/index-u7frYSmG.css @@ -0,0 +1 @@ +._container__not-found_3itec_1{background:url(../../img/pngeg.png) no-repeat;background-size:100% 100%;height:100vh;width:100%;min-width:850px;min-height:800px}._not-found_3itec_10{margin:0 auto;padding-top:120px;text-align:center;max-width:700px;line-height:normal;font-weight:700;color:#333}._not-found__title_3itec_20{margin:24px 0 8px;padding:0;font-size:114px;text-shadow:0 0 .6px #333333,0 0 .1em #525288,0 0 .1em rgba(243,243,247,.64)}._not-found__text_3itec_27{margin:0 0 72px;padding:0;text-transform:uppercase;font-size:30px;color:#333}._not-found__description_3itec_36{margin:0 0 36px;padding:0;font-size:18px;color:#333}._not-found__button_3itec_44{background-color:#333;color:#fff;padding:12px 32px;max-width:300px;display:block;margin:0 auto;text-transform:uppercase;font-size:18px;border:1px solid rgba(151,150,150,.8);box-shadow:0 0 4px 1px #726b9e;cursor:pointer;border-radius:8px}._not-found__button_3itec_44:hover{background-color:#777}._not-found__button_3itec_44:active{background-color:#222}[data-scroll-lock] ._wrapper_1fxbk_1{margin-right:var(--scrollbar-compensation)}._wrapper_1fxbk_1{min-height:100vh;display:flex;flex-direction:column}main{flex-grow:1}._without-header_1fxbk_15{min-width:92px}._footer_1l3o9_1{text-align:center;padding:20px 0 30px}._container_nmmjj_1{width:100%;max-width:1358px;margin:0 auto;padding:0 40px;min-width:430px;overflow:clip}@media (max-width: 1279px){._container_nmmjj_1{padding:0 32px}}@media (max-width: 1023px){._container_nmmjj_1{padding:0 24px}}@media (max-width: 767px){._container_nmmjj_1{padding:0 20px}}._header_5og79_1{padding:20px 0;margin-bottom:40px}._header__flex_5og79_5{display:flex;align-items:center;justify-content:space-between}._btn-transp_10wk3_1{padding:12px 24px 13px;background-image:-o-radial-gradient(100% 100%,circle,transparent 0,#0db9f0 0,#0db9f0 1px,transparent 1px),-o-linear-gradient(left,#0db9f0,#e85ce9),-o-radial-gradient(0 100%,circle,transparent 0,#e85ce9 0,#e85ce9 1px,transparent 1px),-o-linear-gradient(top,#e85ce9,#e95de9),-o-radial-gradient(0 0,circle,transparent 0,#e95de9 0,#e95de9 1px,transparent 1px),-o-linear-gradient(right,#e95de9,#0cb9f0),-o-radial-gradient(100% 0,circle,transparent 0,#0cb9f0 0,#0cb9f0 1px,transparent 1px),-o-linear-gradient(bottom,#0cb9f0,#0db9f0);background-image:radial-gradient(circle at 100% 100%,transparent 0,#0db9f0 0,#0db9f0 1px,transparent 1px),linear-gradient(to right,#0db9f0,#e85ce9),radial-gradient(circle at 0 100%,transparent 0,#e85ce9 0,#e85ce9 1px,transparent 1px),linear-gradient(to bottom,#e85ce9,#e95de9),radial-gradient(circle at 0 0,transparent 0,#e95de9 0,#e95de9 1px,transparent 1px),linear-gradient(to left,#e95de9,#0cb9f0),radial-gradient(circle at 100% 0,transparent 0,#0cb9f0 0,#0cb9f0 1px,transparent 1px),linear-gradient(to top,#0cb9f0,#0db9f0);background-size:1px 1px,calc(100% - 2px) 1px,1px 1px,1px calc(100% - 2px);background-position:top left,top center,top right,center right,bottom right,bottom center,bottom left,center left;background-repeat:no-repeat;position:relative;-webkit-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease;min-width:126px;text-wrap:nowrap;text-transform:none;background-color:inherit;color:inherit;text-transform:uppercase;font-weight:600;font-size:14px;cursor:pointer;border:none}._btn-transp_10wk3_1:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:-webkit-gradient(linear,left top,right top,from(#0cbaf1),to(#e95ce9));background:-o-linear-gradient(left,#0cbaf1 0,#e95ce9 100%);background:linear-gradient(90deg,#0cbaf1 0,#e95ce9);opacity:0;-webkit-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease}._btn-transp_10wk3_1:hover:before{opacity:1}._btn-transp__text_10wk3_41{position:relative}._btn-transp_10wk3_1:disabled{pointer-events:none;opacity:.5}._socials_8asvr_1{list-style:none;display:flex;gap:20px}._socials__link_8asvr_6{position:relative}._socials__link_8asvr_6:hover ._socials__icon_8asvr_9{transform:scale(1.1) translate(-50%,-50%)}._socials__icon_8asvr_9{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);transition:transform .3s ease}._btn-transp_6d3xu_1{padding:9px 24px;background-image:-o-radial-gradient(100% 100%,circle,transparent 0,#0db9f0 0,#0db9f0 1px,transparent 1px),-o-linear-gradient(left,#0db9f0,#e85ce9),-o-radial-gradient(0 100%,circle,transparent 0,#e85ce9 0,#e85ce9 1px,transparent 1px),-o-linear-gradient(top,#e85ce9,#e95de9),-o-radial-gradient(0 0,circle,transparent 0,#e95de9 0,#e95de9 1px,transparent 1px),-o-linear-gradient(right,#e95de9,#0cb9f0),-o-radial-gradient(100% 0,circle,transparent 0,#0cb9f0 0,#0cb9f0 1px,transparent 1px),-o-linear-gradient(bottom,#0cb9f0,#0db9f0);background-image:radial-gradient(circle at 100% 100%,transparent 0,#0db9f0 0,#0db9f0 1px,transparent 1px),linear-gradient(to right,#0db9f0,#e85ce9),radial-gradient(circle at 0 100%,transparent 0,#e85ce9 0,#e85ce9 1px,transparent 1px),linear-gradient(to bottom,#e85ce9,#e95de9),radial-gradient(circle at 0 0,transparent 0,#e95de9 0,#e95de9 1px,transparent 1px),linear-gradient(to left,#e95de9,#0cb9f0),radial-gradient(circle at 100% 0,transparent 0,#0cb9f0 0,#0cb9f0 1px,transparent 1px),linear-gradient(to top,#0cb9f0,#0db9f0);background-size:1px 1px,calc(100% - 2px) 1px,1px 1px,1px calc(100% - 2px);background-position:top left,top center,top right,center right,bottom right,bottom center,bottom left,center left;background-repeat:no-repeat;position:relative;-webkit-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease;min-width:126px;text-wrap:nowrap;text-transform:none;text-align:center;font-weight:600;font-size:14px;cursor:pointer}._btn-transp_6d3xu_1:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:-webkit-gradient(linear,left top,right top,from(#0cbaf1),to(#e95ce9));background:-o-linear-gradient(left,#0cbaf1 0,#e95ce9 100%);background:linear-gradient(90deg,#0cbaf1 0,#e95ce9);opacity:0;-webkit-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease}._btn-transp_6d3xu_1:hover:before{opacity:1}._btn-transp__text_6d3xu_38{position:relative}._welcome-page_kpjid_1{margin-top:220px;margin-right:100px;padding:0 100px;text-transform:uppercase;font-weight:500;font-size:20px;line-height:28px}@media (max-width: 767px){._welcome-page_kpjid_1{padding:0 40px}}._welcome-page__text_kpjid_15{margin-bottom:40px}._welcome-page__text_kpjid_15 span{text-transform:capitalize;font-size:48px;line-height:64px;font-weight:600;display:inline-block}._post-list_192ep_1{list-style:none;margin:40px 0 80px;padding:10px 0;display:grid;grid-template-columns:repeat(5,1fr);column-gap:20px;row-gap:30px;align-items:start}@media (max-width: 1023px){._post-list_192ep_1{grid-template-columns:repeat(4,1fr)}}@media (max-width: 767px){._post-list_192ep_1{grid-template-columns:repeat(2,1fr)}}._post-list__item_192ep_21{transition:transform .3s ease;height:200px}._post-list__item_192ep_21:hover{transform:scale(1.05);box-shadow:0 0 6px 2px #ffffffb3}._post-list__link_192ep_29{width:100%;height:100%;position:relative;display:block}._post-list__img_192ep_35{width:100%;height:100%;object-fit:cover;background-color:#fff}._post-list__title_192ep_41{position:absolute;bottom:0;right:0;left:0;max-height:fit-content;background-color:#00000080;margin:0;padding:8px 4px;font-weight:600;font-size:16px;line-height:24px}.pagination{max-width:700px;margin:0 auto 100px}.pagination ul{display:flex;list-style:none;gap:4px;justify-content:space-between;align-items:center;padding:10px 6px}.pagination ul li{cursor:pointer;border-radius:4px}.pagination ul li a{padding:2px 8px;border-radius:4px;transition:color .3s ease,background-color .3s ease}.pagination ul li a:hover{background-color:#ffffff80;color:#000}.pagination ul .selected{pointer-events:none}.pagination ul .selected a{background-color:#ffffffb3;color:#000;pointer-events:none}.pagination ul .break,.pagination ul .disabled{pointer-events:none}.pagination ul .disabled a{color:#ffffffb3;opacity:.5}._el_5hwtd_1{display:flex;align-items:center;justify-content:center;min-height:100vh;text-align:center;background:linear-gradient(0deg,#fff 0,#d1d1d1)}._container_5hwtd_10{position:relative;width:100%;display:flex;justify-content:center}._wrapper_5hwtd_17{position:absolute;top:-35px;transform:scale(1.5)}._loader_5hwtd_23{height:25px;width:1px;position:absolute;animation:_rotate_5hwtd_1 3.5s linear infinite}._loader_5hwtd_23 ._dot_5hwtd_30{position:relative;top:30px;height:7px;width:7px;background:#333;border-radius:50%}._text_5hwtd_39{position:absolute;bottom:-85px;font-size:25px;font-weight:400;font-family:Poppins,sans-serif;color:#333}@keyframes _rotate_5hwtd_1{30%{transform:rotate(220deg)}40%{transform:rotate(450deg);opacity:1}75%{transform:rotate(720deg);opacity:1}76%{opacity:0}to{opacity:0;transform:rotate(0)}}._loader_5hwtd_23:nth-child(1){animation-delay:.15s}._loader_5hwtd_23:nth-child(2){animation-delay:.3s}._loader_5hwtd_23:nth-child(3){animation-delay:.45s}._loader_5hwtd_23:nth-child(4){animation-delay:.6s}._loader_5hwtd_23:nth-child(5){animation-delay:.75s}._loader_5hwtd_23:nth-child(6){animation-delay:.9s}._modal_mvcbj_1{width:100vw;height:100vh;min-width:430px;background-color:#00000080;position:fixed;top:0;left:0;z-index:1001;display:flex;align-items:center;justify-content:center;transform:scale(0);pointer-events:none;-ms-overflow-style:none;scrollbar-width:none;visibility:hidden;opacity:0}@media (max-width: 767px){._modal_mvcbj_1{background-color:#000}}._modal--active_mvcbj_25{transform:scale(1);visibility:visible;opacity:1;pointer-events:auto}._modal__desktop_mvcbj_31{max-width:64.8%;width:100%;height:100%;max-height:66%}@media (max-width: 1023px){._modal__desktop_mvcbj_31{max-width:80%}}._modal__wrapper_mvcbj_42{position:relative;padding:60px 24px;border-radius:24px;background-color:#000;height:100%}@media (max-width: 767px){._modal__wrapper_mvcbj_42{width:100%;height:100%;padding:0;border-radius:0}}._modal__content_mvcbj_57{width:100%;height:100%}@media (max-width: 767px){._modal__content_mvcbj_57{width:100%;height:100%;padding:0;border-radius:0;display:flex;flex-direction:column}}._modal_mvcbj_1 ._btn_mvcbj_71{position:absolute;top:32px;right:40px;transition:transform .3s ease;width:24px;height:24px;background-color:#000;border:none;border-radius:8px;cursor:pointer}._modal_mvcbj_1 ._btn_mvcbj_71:hover{transform:scale(1.1)}@media (max-width: 767px){._modal_mvcbj_1 ._btn_mvcbj_71{top:-20px;right:0}}._modal_mvcbj_1 ._btn_mvcbj_71:after,._modal_mvcbj_1 ._btn_mvcbj_71:before{content:"";position:absolute;width:24px;height:2px;top:50%;left:0;background-color:#fff;transform:rotate(45deg);transition:transform .3s ease}@media (max-width: 767px){._modal_mvcbj_1 ._btn_mvcbj_71:after,._modal_mvcbj_1 ._btn_mvcbj_71:before{width:18px;height:1px}}._modal_mvcbj_1 ._btn_mvcbj_71:after{transform:rotate(-45deg)}._modal__form_mvcbj_112{display:flex;flex-direction:column;gap:20px;width:100%}._modal__field_mvcbj_118{margin-bottom:20px}._modal__field_mvcbj_118 textarea{width:100%;padding:12px 10px;line-height:28px;font-size:14px}._modal__field--desc_mvcbj_127 textarea{width:100%;min-height:200px}._modal__title_mvcbj_131{display:block;font-weight:600;text-transform:uppercase;margin-bottom:20px}._modal__btn_mvcbj_137{margin-left:auto;display:flex;align-items:center;gap:10px}._post_p085p_1{display:grid;grid-template-columns:repeat(2,1fr);column-gap:40px;padding:40px 0}@media (max-width: 767px){._post_p085p_1{display:flex;flex-direction:column;gap:20px}}._post__btns_p085p_14{margin-top:40px;display:flex;align-items:center;justify-content:flex-end;gap:10px}._post_p085p_1 img{width:100%;height:auto;object-fit:cover}._post__title_p085p_26{margin:0 0 24px;padding:0;font-size:24px;line-height:32px}._post__text_p085p_33{margin-bottom:30px;text-align:justify}._post__author_p085p_37{text-align:right;display:block}._post-update_6cdu0_1{display:flex;flex-direction:column;gap:20px;width:100%}._post-update__field_6cdu0_7 textarea{width:100%;padding:12px 10px;line-height:28px;font-size:14px}._post-update__field--desc_6cdu0_13 textarea{width:100%;min-height:200px}._post-update__title_6cdu0_17{display:block;font-weight:600;text-transform:uppercase}._post-update__btn_6cdu0_22{margin-left:auto;display:flex;align-items:center;gap:10px}/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{margin:.67em 0;font-size:2em}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-size:1em;font-family:monospace,monospace}a{background-color:transparent}abbr[title]{text-decoration:underline;text-decoration:underline dotted;border-bottom:none}b,strong{font-weight:bolder}code,kbd,samp{font-size:1em;font-family:monospace,monospace}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{margin:0;font-size:100%;line-height:1.15;font-family:inherit}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{display:table;box-sizing:border-box;max-width:100%;padding:0;color:inherit;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}@font-face{font-family:Open Sans;font-weight:400;font-style:normal;font-display:swap;src:url(../fonts/open-sans.woff2) format("woff2"),url(../fonts/open-sans.woff) format("woff")}@font-face{font-family:Open Sans;font-weight:600;font-style:normal;font-display:swap;src:url(../fonts/open-sans-600.woff2) format("woff2"),url(../fonts/open-sans-600.woff) format("woff")}@font-face{font-family:Open Sans;font-weight:700;font-style:normal;font-display:swap;src:url(../fonts/open-sans-700.woff2) format("woff2"),url(../fonts/open-sans-700.woff) format("woff")}:root{--foreground-rgb: 255, 255, 255;--background-start-rgb: 24, 24, 27;--background-end-rgb: 24, 24, 27}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;padding:0;min-height:100vh}html{font-style:normal;font-weight:400;font-size:16px;line-height:24px;font-family:Open Sans,Arial,sans-serif;color:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}body{width:100%;height:100%;background:linear-gradient(to bottom,transparent,rgb(var(--background-end-rgb))) rgb(var(--background-start-rgb))}a{color:#fff;text-decoration:none;display:inline-block}img,video{display:block;max-width:100%;height:auto}textarea{resize:none}input:-webkit-autofill{box-shadow:inset 0 0 0 1000px #fff;-webkit-text-fill-color:#000000}input,textarea{border-radius:0}input::placeholder,textarea::placeholder{opacity:1}input:invalid,textarea:invalid{box-shadow:none}select{border-radius:0}input::-ms-clear,input::-ms-reveal{display:none}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none;-moz-appearance:none;appearance:none}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}select,textarea,input:matches([type=email],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=url]){-webkit-appearance:none;-moz-appearance:none;appearance:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:none;-moz-appearance:none;appearance:none}ul,p{margin:0;padding:0} diff --git a/index.html b/index.html index 2a62589..6abd57b 100644 --- a/index.html +++ b/index.html @@ -32,8 +32,8 @@ }(window.location)) - - + +