From ee518bd7dcc8a7f80a588f0981e0984d4f10fb84 Mon Sep 17 00:00:00 2001
From: Mikan <72257910+Mikan-DS@users.noreply.github.com>
Date: Fri, 13 Sep 2024 18:59:32 +0300
Subject: [PATCH] frontend added
---
.gitmodules | 3 ++
.idea/NovelPlus.iml | 4 +-
frontend/NovelPlus-frontend | 1 +
frontend/react-to-django/template.html | 15 ++++++
.../react-to-django/update-frontend-part.py | 51 +++++++++++++++++++
.../static/frontend/css/main.5a7bc931.css | 2 +
frontend/static/frontend/js/main.d06055e6.js | 3 ++
...Title.8c1197cb53cdb26ecdd7df17ac1107b5.svg | 24 +++++++++
...vatar.e6a82bfc54b2a0b85cec8ec36a4db6d0.svg | 3 ++
...image.6e196fb2ee10df3c81213358f43872e0.svg | 3 ++
...image.237361450e476b21dd4e666838ccb466.svg | 3 ++
11 files changed, 111 insertions(+), 1 deletion(-)
create mode 100644 .gitmodules
create mode 160000 frontend/NovelPlus-frontend
create mode 100644 frontend/react-to-django/template.html
create mode 100644 frontend/react-to-django/update-frontend-part.py
create mode 100644 frontend/static/frontend/css/main.5a7bc931.css
create mode 100644 frontend/static/frontend/js/main.d06055e6.js
create mode 100644 frontend/static/media/IconTitle.8c1197cb53cdb26ecdd7df17ac1107b5.svg
create mode 100644 frontend/static/media/avatar.e6a82bfc54b2a0b85cec8ec36a4db6d0.svg
create mode 100644 frontend/static/media/card-image.6e196fb2ee10df3c81213358f43872e0.svg
create mode 100644 frontend/static/media/mini-card-image.237361450e476b21dd4e666838ccb466.svg
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..201d48a
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "frontend/NovelPlus-frontend"]
+ path = frontend/NovelPlus-frontend
+ url = https://github.com/Mikan-DS/NovelPlus-frontend.git
diff --git a/.idea/NovelPlus.iml b/.idea/NovelPlus.iml
index 747f99a..aced695 100644
--- a/.idea/NovelPlus.iml
+++ b/.idea/NovelPlus.iml
@@ -14,6 +14,7 @@
+
@@ -23,7 +24,8 @@
diff --git a/frontend/NovelPlus-frontend b/frontend/NovelPlus-frontend
new file mode 160000
index 0000000..36c4909
--- /dev/null
+++ b/frontend/NovelPlus-frontend
@@ -0,0 +1 @@
+Subproject commit 36c49097ab0e2f6d0c304f8db053f198e4903c6e
diff --git a/frontend/react-to-django/template.html b/frontend/react-to-django/template.html
new file mode 100644
index 0000000..8d250a5
--- /dev/null
+++ b/frontend/react-to-django/template.html
@@ -0,0 +1,15 @@
+{%% load static %%}
+
+
+
+
+ NovelPlus
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/frontend/react-to-django/update-frontend-part.py b/frontend/react-to-django/update-frontend-part.py
new file mode 100644
index 0000000..1bbb221
--- /dev/null
+++ b/frontend/react-to-django/update-frontend-part.py
@@ -0,0 +1,51 @@
+import glob
+import os
+import shutil
+
+
+
+os.chdir("..")
+
+for dir_name in os.listdir("."):
+ if "frontend" in dir_name:
+ break
+
+print(dir_name)
+
+os.chdir(dir_name)
+os.system('npm run build')
+
+with open("../react-to-django/template.html", "r", encoding="UTF-8") as file:
+ template = file.read()
+
+# Получаем список файлов в директории
+js_files = glob.glob('build/static/js/*.js')
+
+shutil.rmtree("../static/frontend/js/", ignore_errors=True)
+os.makedirs("../static/frontend/js/", exist_ok=True)
+# Копируем файлы в нужную директорию
+js_file = [i for i in js_files if "main" in os.path.basename(i)][0]
+shutil.copy(js_file, f'../static/frontend/js/{os.path.basename(js_file)}')
+
+# Получаем список файлов в директории
+css_files = glob.glob('build/static/css/*.css')
+
+shutil.rmtree("../static/frontend/css/", ignore_errors=True)
+os.makedirs("../static/frontend/css/", exist_ok=True)
+# Копируем файлы в нужную директорию
+css_file = [i for i in css_files if "main" in os.path.basename(i)][0]
+shutil.copy(css_file, f'../static/frontend/css/{os.path.basename(css_file)}')
+
+shutil.rmtree("../static/media", ignore_errors=True)
+shutil.copytree("build/static/media", "../static/media", dirs_exist_ok=True)
+
+
+if not os.path.exists("../templates/frontend/"):
+ os.makedirs("../templates/frontend", exist_ok=True)
+
+with open("../templates/frontend/app.html", "w", encoding="UTF-8") as file:
+ file.write(template % (os.path.basename(js_file), os.path.basename(css_file)))
+
+os.chdir('../static')
+os.system('git add ./frontend/')
+os.system('git add ./media/')
diff --git a/frontend/static/frontend/css/main.5a7bc931.css b/frontend/static/frontend/css/main.5a7bc931.css
new file mode 100644
index 0000000..37c7dd2
--- /dev/null
+++ b/frontend/static/frontend/css/main.5a7bc931.css
@@ -0,0 +1,2 @@
+@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&display=swap);body{background-color:#ffe0ce;margin:0;padding:0}h1,h2{margin:0;text-transform:uppercase}h1{font-size:80px}h2{font-size:40px}.body-text{font-size:26px;font-weight:500}.body-text,.primary{font-family:Montserrat,sans-serif}.primary{background:#edc881;border:1px solid #7d5555;border-radius:40px;box-sizing:border-box;color:#7d5555;cursor:pointer;text-decoration:none;text-transform:uppercase;width:fit-content}.primary:hover{border-color:#000;color:#000}.primary.selected{background:#7d5555;border-color:#000;color:#edc881}.primary.large{font-size:80px;font-weight:600;padding:6px 54px}.primary.medium{font-size:40px;font-weight:500;padding:14px 54px}.primary.small{font-size:26px;font-weight:500;padding:10px 29px}.content-box{margin-left:auto;margin-right:auto;width:1880px}.fill-width{width:100%}.align-center,.align-end,.align-start,.horizontal-box,.stretched-box,.vertical-box{display:flex}.stretched-box{flex-direction:row;justify-content:space-between}.vertical-box{flex-direction:column}.horizontal-box{flex-direction:row}.align-end{align-items:flex-end}.align-center{align-items:center}.align-start{align-items:flex-start}.align-left{margin-right:auto}.section{margin:0 auto;min-height:300px;padding:30px 0}.header{background-color:#feb198;padding-bottom:40px;padding-top:40px}.header .bottom-menu,.header .upper-menu{padding-bottom:20px;padding-top:20px}.header .upper-menu{gap:60px}.header .bottom-menu{border-top:1px solid #000}.header .navigation{gap:20px}.header .avatar{height:100px;width:100px}.header .dropdown-menu{position:relative}.header .menu-button{background:none;border:none;cursor:pointer}.header .menu-content{background-color:#333;border:1px solid #fcfcfa;border-radius:5px;display:flex;flex-direction:column;padding:10px;width:max-content}.header .menu-content a{color:#fcfcfa;padding:10px 20px;text-decoration:none}.header .menu-content a:hover{background-color:#444}.header .menu-click-area{position:absolute;right:0;top:0}.header .menu-click-area>div{gap:10px}.card{color:#fff;text-decoration:none}.card,.card>div{height:350px;width:500px}.card>div{background:linear-gradient(180deg,#2d0c0c00 68.5%,#2d0c0c)}.card>div:hover{background:linear-gradient(180deg,#2d0c0c00 30.5%,#2d0c0c)}.card>div>div{color:#edc881;height:66px;margin-left:auto;margin-right:auto;text-align:center;width:450px}.store{grid-gap:39px;display:grid;gap:39px;grid-template-columns:min-content min-content min-content;width:1578px}.footer{background-color:#7d5555;padding:130px 150px}.footer a{color:#fff;font-family:Montserrat,sans-serif;font-size:40px;font-weight:500;text-decoration:none}.footer a:hover{color:#edc881}.vacancy{gap:56px}.mini-card{color:#000;gap:12px;text-decoration:none}.mini-card:hover{background-color:#feb198}.section.item .preview{gap:39px}
+/*# sourceMappingURL=main.5a7bc931.css.map*/
\ No newline at end of file
diff --git a/frontend/static/frontend/js/main.d06055e6.js b/frontend/static/frontend/js/main.d06055e6.js
new file mode 100644
index 0000000..44c73c3
--- /dev/null
+++ b/frontend/static/frontend/js/main.d06055e6.js
@@ -0,0 +1,3 @@
+/*! For license information please see main.d06055e6.js.LICENSE.txt */
+(()=>{var e={240:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,l=Object.getOwnPropertyDescriptor,o=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},i=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,l=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!l&&!o)return!1;for(r in e);return"undefined"===typeof r||t.call(e,r)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(l)return l(e,n).value}return e[n]};e.exports=function e(){var t,n,r,l,s,c,f=arguments[0],d=1,p=arguments.length,h=!1;for("boolean"===typeof f&&(h=f,f=arguments[1]||{},d=2),(null==f||"object"!==typeof f&&"function"!==typeof f)&&(f={});d{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,l=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,u=/^\s+|\s+$/g,s="";function c(e){return e?e.replace(u,s):s}e.exports=function(e,u){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];u=u||{};var f=1,d=1;function p(e){var t=e.match(n);t&&(f+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function h(){var e={line:f,column:d};return function(t){return t.position=new m(e),b(),t}}function m(e){this.start=e,this.end={line:f,column:d},this.source=u.source}m.prototype.content=e;var g=[];function y(t){var n=new Error(u.source+":"+f+":"+d+": "+t);if(n.reason=t,n.filename=u.source,n.line=f,n.column=d,n.source=e,!u.silent)throw n;g.push(n)}function v(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function b(){v(r)}function k(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;s!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,s===e.charAt(n-1))return y("End of comment missing");var r=e.slice(2,n-2);return d+=2,p(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function w(){var e=h(),n=v(l);if(n){if(x(),!v(o))return y("property missing ':'");var r=v(i),u=e({type:"declaration",property:c(n[0].replace(t,s)),value:r?c(r[0].replace(t,s)):s});return v(a),u}}return b(),function(){var e,t=[];for(k(t);e=w();)!1!==e&&(t.push(e),k(t));return t}()}},730:(e,t,n)=>{"use strict";var r=n(43),l=n(853);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nt}return!1}(t,n,l,r)&&(n=null),r||null===l?function(e){return!!f.call(h,e)||!f.call(p,e)&&(d.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=null===n?3!==l.type&&"":n:(t=l.attributeName,r=l.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(l=l.type)||4===l&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"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(y,v);g[t]=new m(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(y,v);g[t]=new m(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(y,v);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var k=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),w=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),P=Symbol.for("react.provider"),_=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),z=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),L=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var O=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var D=Symbol.iterator;function R(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=D&&e[D]||e["@@iterator"])?e:null}var M,F=Object.assign;function j(e){if(void 0===M)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);M=t&&t[1]||""}return"\n"+M+e}var A=!1;function U(e,t){if(!e||A)return"";A=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&"string"===typeof s.stack){for(var l=s.stack.split("\n"),o=r.stack.split("\n"),i=l.length-1,a=o.length-1;1<=i&&0<=a&&l[i]!==o[a];)a--;for(;1<=i&&0<=a;i--,a--)if(l[i]!==o[a]){if(1!==i||1!==a)do{if(i--,0>--a||l[i]!==o[a]){var u="\n"+l[i].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}}while(1<=i&&0<=a);break}}}finally{A=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?j(e):""}function B(e){switch(e.tag){case 5:return j(e.type);case 16:return j("Lazy");case 13:return j("Suspense");case 19:return j("SuspenseList");case 0:case 2:case 15:return e=U(e.type,!1);case 11:return e=U(e.type.render,!1);case 1:return e=U(e.type,!0);default:return""}}function H(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case S:return"Fragment";case w:return"Portal";case C:return"Profiler";case E:return"StrictMode";case T:return"Suspense";case z:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case _:return(e.displayName||"Context")+".Consumer";case P:return(e._context.displayName||"Context")+".Provider";case N:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case I:return null!==(t=e.displayName||null)?t:H(e.type)||"Memo";case L:t=e._payload,e=e._init;try{return H(e(t))}catch(n){}}return null}function V(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=(e=t.render).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 H(t);case 8:return t===E?"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("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function $(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Q(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function K(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Y(e,t){var n=t.checked;return F({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function X(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=$(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function J(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Z(e,t){J(e,t);var n=$(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,$(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function G(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&K(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=se.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function de(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={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},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),l=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ye=F({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 ve(e,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(o(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;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 ke=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var we=null,Se=null,Ee=null;function Ce(e){if(e=bl(e)){if("function"!==typeof we)throw Error(o(280));var t=e.stateNode;t&&(t=xl(t),we(e.stateNode,e.type,t))}}function Pe(e){Se?Ee?Ee.push(e):Ee=[e]:Se=e}function _e(){if(Se){var e=Se,t=Ee;if(Ee=Se=null,Ce(e),t)for(e=0;e>>=0,0===e?32:31-(at(e)/ut|0)|0},at=Math.log,ut=Math.LN2;var st=64,ct=4194304;function ft(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 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=268435455&n;if(0!==i){var a=i&~l;0!==a?r=ft(a):0!==(o&=i)&&(r=ft(o))}else 0!==(i=n&~l)?r=ft(i):0!==o&&(r=ft(o));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&l)&&((l=r&-r)>=(o=t&-t)||16===l&&0!==(4194240&o)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),l=1<=Rn),jn=String.fromCharCode(32),An=!1;function Un(e,t){switch(e){case"keyup":return-1!==On.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Hn=!1;var Vn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function $n(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Vn[e.type]:"textarea"===t}function Wn(e,t,n,r){Pe(r),0<(t=Qr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Qn=null,qn=null;function Kn(e){jr(e,0)}function Yn(e){if(q(kl(e)))return e}function Xn(e,t){if("change"===e)return t}var Jn=!1;if(c){var Zn;if(c){var Gn="oninput"in document;if(!Gn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Gn="function"===typeof er.oninput}Zn=Gn}else Zn=!1;Jn=Zn&&(!document.documentMode||9=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=sr(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=K((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(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).getSelection){e=e.getSelection();var l=n.textContent.length,o=Math.min(r.start,l);r=void 0===r.end?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=cr(n,o);var i=cr(n,r);l&&i&&(1!==e.rangeCount||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n=document.documentMode,gr=null,yr=null,vr=null,br=!1;function kr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==gr||gr!==K(r)||("selectionStart"in(r=gr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&ur(vr,r)||(vr=r,0<(r=Qr(yr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function xr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var wr={animationend:xr("Animation","AnimationEnd"),animationiteration:xr("Animation","AnimationIteration"),animationstart:xr("Animation","AnimationStart"),transitionend:xr("Transition","TransitionEnd")},Sr={},Er={};function Cr(e){if(Sr[e])return Sr[e];if(!wr[e])return e;var t,n=wr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return Sr[e]=n[t];return e}c&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete wr.animationend.animation,delete wr.animationiteration.animation,delete wr.animationstart.animation),"TransitionEvent"in window||delete wr.transitionend.transition);var Pr=Cr("animationend"),_r=Cr("animationiteration"),Nr=Cr("animationstart"),Tr=Cr("transitionend"),zr=new Map,Ir="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Lr(e,t){zr.set(e,t),u(t,[e])}for(var Or=0;OrSl||(e.current=wl[Sl],wl[Sl]=null,Sl--)}function Pl(e,t){Sl++,wl[Sl]=e.current,e.current=t}var _l={},Nl=El(_l),Tl=El(!1),zl=_l;function Il(e,t){var n=e.type.contextTypes;if(!n)return _l;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l,o={};for(l in n)o[l]=t[l];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ll(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Ol(){Cl(Tl),Cl(Nl)}function Dl(e,t,n){if(Nl.current!==_l)throw Error(o(168));Pl(Nl,t),Pl(Tl,n)}function Rl(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var l in r=r.getChildContext())if(!(l in t))throw Error(o(108,V(e)||"Unknown",l));return F({},n,r)}function Ml(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||_l,zl=Nl.current,Pl(Nl,e),Pl(Tl,Tl.current),!0}function Fl(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Rl(e,t,zl),r.__reactInternalMemoizedMergedChildContext=e,Cl(Tl),Cl(Nl),Pl(Nl,e)):Cl(Tl),Pl(Tl,n)}var jl=null,Al=!1,Ul=!1;function Bl(e){null===jl?jl=[e]:jl.push(e)}function Hl(){if(!Ul&&null!==jl){Ul=!0;var e=0,t=bt;try{var n=jl;for(bt=1;e>=i,l-=i,Xl=1<<32-it(t)+l|n<m?(g=f,f=null):g=f.sibling;var y=p(l,f,a[m],u);if(null===y){null===f&&(f=g);break}e&&f&&null===y.alternate&&t(l,f),o=i(y,o,m),null===c?s=y:c.sibling=y,c=y,f=g}if(m===a.length)return n(l,f),lo&&Zl(l,m),s;if(null===f){for(;mg?(y=m,m=null):y=m.sibling;var b=p(l,m,v.value,s);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(l,m),a=i(b,a,g),null===f?c=b:f.sibling=b,f=b,m=y}if(v.done)return n(l,m),lo&&Zl(l,g),c;if(null===m){for(;!v.done;g++,v=u.next())null!==(v=d(l,v.value,s))&&(a=i(v,a,g),null===f?c=v:f.sibling=v,f=v);return lo&&Zl(l,g),c}for(m=r(l,m);!v.done;g++,v=u.next())null!==(v=h(m,l,g,v.value,s))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),a=i(v,a,g),null===f?c=v:f.sibling=v,f=v);return e&&m.forEach((function(e){return t(l,e)})),lo&&Zl(l,g),c}return function e(r,o,i,u){if("object"===typeof i&&null!==i&&i.type===S&&null===i.key&&(i=i.props.children),"object"===typeof i&&null!==i){switch(i.$$typeof){case x:e:{for(var s=i.key,c=o;null!==c;){if(c.key===s){if((s=i.type)===S){if(7===c.tag){n(r,c.sibling),(o=l(c,i.props.children)).return=r,r=o;break e}}else if(c.elementType===s||"object"===typeof s&&null!==s&&s.$$typeof===L&&bo(s)===c.type){n(r,c.sibling),(o=l(c,i.props)).ref=yo(r,c,i),o.return=r,r=o;break e}n(r,c);break}t(r,c),c=c.sibling}i.type===S?((o=Rs(i.props.children,r.mode,u,i.key)).return=r,r=o):((u=Ds(i.type,i.key,i.props,null,r.mode,u)).ref=yo(r,o,i),u.return=r,r=u)}return a(r);case w:e:{for(c=i.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(r,o.sibling),(o=l(o,i.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=js(i,r.mode,u)).return=r,r=o}return a(r);case L:return e(r,o,(c=i._init)(i._payload),u)}if(te(i))return m(r,o,i,u);if(R(i))return g(r,o,i,u);vo(r,i)}return"string"===typeof i&&""!==i||"number"===typeof i?(i=""+i,null!==o&&6===o.tag?(n(r,o.sibling),(o=l(o,i)).return=r,r=o):(n(r,o),(o=Fs(i,r.mode,u)).return=r,r=o),a(r)):n(r,o)}}var xo=ko(!0),wo=ko(!1),So=El(null),Eo=null,Co=null,Po=null;function _o(){Po=Co=Eo=null}function No(e){var t=So.current;Cl(So),e._currentValue=t}function To(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function zo(e,t){Eo=e,Po=Co=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(ba=!0),e.firstContext=null)}function Io(e){var t=e._currentValue;if(Po!==e)if(e={context:e,memoizedValue:t,next:null},null===Co){if(null===Eo)throw Error(o(308));Co=e,Eo.dependencies={lanes:0,firstContext:e}}else Co=Co.next=e;return t}var Lo=null;function Oo(e){null===Lo?Lo=[e]:Lo.push(e)}function Do(e,t,n,r){var l=t.interleaved;return null===l?(n.next=n,Oo(t)):(n.next=l.next,l.next=n),t.interleaved=n,Ro(e,r)}function Ro(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Mo=!1;function Fo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function jo(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 Ao(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Uo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Nu)){var l=r.pending;return null===l?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Ro(e,n)}return null===(l=r.interleaved)?(t.next=t,Oo(r)):(t.next=l.next,l.next=t),r.interleaved=t,Ro(e,n)}function Bo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}function Ho(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var l=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?l=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?l=o=t:o=o.next=t}else l=o=t;return n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Vo(e,t,n,r){var l=e.updateQueue;Mo=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,a=l.shared.pending;if(null!==a){l.shared.pending=null;var u=a,s=u.next;u.next=null,null===i?o=s:i.next=s,i=u;var c=e.alternate;null!==c&&((a=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===a?c.firstBaseUpdate=s:a.next=s,c.lastBaseUpdate=u))}if(null!==o){var f=l.baseState;for(i=0,c=s=u=null,a=o;;){var d=a.lane,p=a.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=e,m=a;switch(d=t,p=n,m.tag){case 1:if("function"===typeof(h=m.payload)){f=h.call(p,f,d);break e}f=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null===(d="function"===typeof(h=m.payload)?h.call(p,f,d):h)||void 0===d)break e;f=F({},f,d);break e;case 2:Mo=!0}}null!==a.callback&&0!==a.lane&&(e.flags|=64,null===(d=l.effects)?l.effects=[a]:d.push(a))}else p={eventTime:p,lane:d,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===c?(s=c=p,u=f):c=c.next=p,i|=d;if(null===(a=a.next)){if(null===(a=l.shared.pending))break;a=(d=a).next,d.next=null,l.lastBaseUpdate=d,l.shared.pending=null}}if(null===c&&(u=f),l.baseState=u,l.firstBaseUpdate=s,l.lastBaseUpdate=c,null!==(t=l.shared.interleaved)){l=t;do{i|=l.lane,l=l.next}while(l!==t)}else null===o&&(l.shared.lanes=0);Mu|=i,e.lanes=i,e.memoizedState=f}}function $o(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;tn?n:4,e(!0);var r=oi.transition;oi.transition={};try{e(!1),t()}finally{bt=n,oi.transition=r}}function Qi(){return bi().memoizedState}function qi(e,t,n){var r=ts(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Yi(e))Xi(t,n);else if(null!==(n=Do(e,t,n,r))){ns(n,e,r,es()),Ji(n,t,r)}}function Ki(e,t,n){var r=ts(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Yi(e))Xi(t,l);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,a=o(i,n);if(l.hasEagerState=!0,l.eagerState=a,ar(a,i)){var u=t.interleaved;return null===u?(l.next=l,Oo(t)):(l.next=u.next,u.next=l),void(t.interleaved=l)}}catch(s){}null!==(n=Do(e,t,l,r))&&(ns(n,e,r,l=es()),Ji(n,t,r))}}function Yi(e){var t=e.alternate;return e===ai||null!==t&&t===ai}function Xi(e,t){fi=ci=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ji(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var Zi={readContext:Io,useCallback:hi,useContext:hi,useEffect:hi,useImperativeHandle:hi,useInsertionEffect:hi,useLayoutEffect:hi,useMemo:hi,useReducer:hi,useRef:hi,useState:hi,useDebugValue:hi,useDeferredValue:hi,useTransition:hi,useMutableSource:hi,useSyncExternalStore:hi,useId:hi,unstable_isNewReconciler:!1},Gi={readContext:Io,useCallback:function(e,t){return vi().memoizedState=[e,void 0===t?null:t],e},useContext:Io,useEffect:Ri,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Oi(4194308,4,Ai.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Oi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Oi(4,2,e,t)},useMemo:function(e,t){var n=vi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=vi();return t=void 0!==n?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=qi.bind(null,ai,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},vi().memoizedState=e},useState:zi,useDebugValue:Bi,useDeferredValue:function(e){return vi().memoizedState=e},useTransition:function(){var e=zi(!1),t=e[0];return e=Wi.bind(null,e[1]),vi().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ai,l=vi();if(lo){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Tu)throw Error(o(349));0!==(30&ii)||Ci(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,Ri(_i.bind(null,r,i,e),[e]),r.flags|=2048,Ii(9,Pi.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=vi(),t=Tu.identifierPrefix;if(lo){var n=Jl;t=":"+t+"R"+(n=(Xl&~(1<<32-it(Xl)-1)).toString(32)+n),0<(n=di++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=pi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ea={readContext:Io,useCallback:Hi,useContext:Io,useEffect:Mi,useImperativeHandle:Ui,useInsertionEffect:Fi,useLayoutEffect:ji,useMemo:Vi,useReducer:xi,useRef:Li,useState:function(){return xi(ki)},useDebugValue:Bi,useDeferredValue:function(e){return $i(bi(),ui.memoizedState,e)},useTransition:function(){return[xi(ki)[0],bi().memoizedState]},useMutableSource:Si,useSyncExternalStore:Ei,useId:Qi,unstable_isNewReconciler:!1},ta={readContext:Io,useCallback:Hi,useContext:Io,useEffect:Mi,useImperativeHandle:Ui,useInsertionEffect:Fi,useLayoutEffect:ji,useMemo:Vi,useReducer:wi,useRef:Li,useState:function(){return wi(ki)},useDebugValue:Bi,useDeferredValue:function(e){var t=bi();return null===ui?t.memoizedState=e:$i(t,ui.memoizedState,e)},useTransition:function(){return[wi(ki)[0],bi().memoizedState]},useMutableSource:Si,useSyncExternalStore:Ei,useId:Qi,unstable_isNewReconciler:!1};function na(e,t){if(e&&e.defaultProps){for(var n in t=F({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function ra(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:F({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var la={isMounted:function(e){return!!(e=e._reactInternals)&&He(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=es(),l=ts(e),o=Ao(r,l);o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=Uo(e,o,l))&&(ns(t,e,l,r),Bo(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=es(),l=ts(e),o=Ao(r,l);o.tag=1,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=Uo(e,o,l))&&(ns(t,e,l,r),Bo(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=es(),r=ts(e),l=Ao(n,r);l.tag=2,void 0!==t&&null!==t&&(l.callback=t),null!==(t=Uo(e,l,r))&&(ns(t,e,r,n),Bo(t,e,r))}};function oa(e,t,n,r,l,o,i){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!ur(n,r)||!ur(l,o))}function ia(e,t,n){var r=!1,l=_l,o=t.contextType;return"object"===typeof o&&null!==o?o=Io(o):(l=Ll(t)?zl:Nl.current,o=(r=null!==(r=t.contextTypes)&&void 0!==r)?Il(e,l):_l),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=la,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=o),t}function aa(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&la.enqueueReplaceState(t,t.state,null)}function ua(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},Fo(e);var o=t.contextType;"object"===typeof o&&null!==o?l.context=Io(o):(o=Ll(t)?zl:Nl.current,l.context=Il(e,o)),l.state=e.memoizedState,"function"===typeof(o=t.getDerivedStateFromProps)&&(ra(e,t,o,n),l.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof l.getSnapshotBeforeUpdate||"function"!==typeof l.UNSAFE_componentWillMount&&"function"!==typeof l.componentWillMount||(t=l.state,"function"===typeof l.componentWillMount&&l.componentWillMount(),"function"===typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount(),t!==l.state&&la.enqueueReplaceState(l,l.state,null),Vo(e,n,l,r),l.state=e.memoizedState),"function"===typeof l.componentDidMount&&(e.flags|=4194308)}function sa(e,t){try{var n="",r=t;do{n+=B(r),r=r.return}while(r);var l=n}catch(o){l="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:l,digest:null}}function ca(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fa(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var da="function"===typeof WeakMap?WeakMap:Map;function pa(e,t,n){(n=Ao(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){$u||($u=!0,Wu=r),fa(0,t)},n}function ha(e,t,n){(n=Ao(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){fa(0,t)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){fa(0,t),"function"!==typeof r&&(null===Qu?Qu=new Set([this]):Qu.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ma(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new da;var l=new Set;r.set(t,l)}else void 0===(l=r.get(t))&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=Cs.bind(null,e,t,n),t.then(e,e))}function ga(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ya(e,t,n,r,l){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Ao(-1,1)).tag=2,Uo(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=l,e)}var va=k.ReactCurrentOwner,ba=!1;function ka(e,t,n,r){t.child=null===e?wo(t,null,n,r):xo(t,e.child,n,r)}function xa(e,t,n,r,l){n=n.render;var o=t.ref;return zo(t,l),r=gi(e,t,n,r,o,l),n=yi(),null===e||ba?(lo&&n&&eo(t),t.flags|=1,ka(e,t,r,l),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,$a(e,t,l))}function wa(e,t,n,r,l){if(null===e){var o=n.type;return"function"!==typeof o||Ls(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ds(n.type,null,r,t,t.mode,l)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Sa(e,t,o,r,l))}if(o=e.child,0===(e.lanes&l)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(i,r)&&e.ref===t.ref)return $a(e,t,l)}return t.flags|=1,(e=Os(o,r)).ref=t.ref,e.return=t,t.child=e}function Sa(e,t,n,r,l){if(null!==e){var o=e.memoizedProps;if(ur(o,r)&&e.ref===t.ref){if(ba=!1,t.pendingProps=r=o,0===(e.lanes&l))return t.lanes=e.lanes,$a(e,t,l);0!==(131072&e.flags)&&(ba=!0)}}return Pa(e,t,n,r,l)}function Ea(e,t,n){var r=t.pendingProps,l=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Pl(Ou,Lu),Lu|=n;else{if(0===(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Pl(Ou,Lu),Lu|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Pl(Ou,Lu),Lu|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Pl(Ou,Lu),Lu|=r;return ka(e,t,l,n),t.child}function Ca(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Pa(e,t,n,r,l){var o=Ll(n)?zl:Nl.current;return o=Il(t,o),zo(t,l),n=gi(e,t,n,r,o,l),r=yi(),null===e||ba?(lo&&r&&eo(t),t.flags|=1,ka(e,t,n,l),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,$a(e,t,l))}function _a(e,t,n,r,l){if(Ll(n)){var o=!0;Ml(t)}else o=!1;if(zo(t,l),null===t.stateNode)Va(e,t),ia(t,n,r),ua(t,n,r,l),r=!0;else if(null===e){var i=t.stateNode,a=t.memoizedProps;i.props=a;var u=i.context,s=n.contextType;"object"===typeof s&&null!==s?s=Io(s):s=Il(t,s=Ll(n)?zl:Nl.current);var c=n.getDerivedStateFromProps,f="function"===typeof c||"function"===typeof i.getSnapshotBeforeUpdate;f||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(a!==r||u!==s)&&aa(t,i,r,s),Mo=!1;var d=t.memoizedState;i.state=d,Vo(t,r,i,l),u=t.memoizedState,a!==r||d!==u||Tl.current||Mo?("function"===typeof c&&(ra(t,n,c,r),u=t.memoizedState),(a=Mo||oa(t,n,a,r,d,u,s))?(f||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||("function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"===typeof i.componentDidMount&&(t.flags|=4194308)):("function"===typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=s,r=a):("function"===typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,jo(e,t),a=t.memoizedProps,s=t.type===t.elementType?a:na(t.type,a),i.props=s,f=t.pendingProps,d=i.context,"object"===typeof(u=n.contextType)&&null!==u?u=Io(u):u=Il(t,u=Ll(n)?zl:Nl.current);var p=n.getDerivedStateFromProps;(c="function"===typeof p||"function"===typeof i.getSnapshotBeforeUpdate)||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(a!==f||d!==u)&&aa(t,i,r,u),Mo=!1,d=t.memoizedState,i.state=d,Vo(t,r,i,l);var h=t.memoizedState;a!==f||d!==h||Tl.current||Mo?("function"===typeof p&&(ra(t,n,p,r),h=t.memoizedState),(s=Mo||oa(t,n,s,r,d,h,u)||!1)?(c||"function"!==typeof i.UNSAFE_componentWillUpdate&&"function"!==typeof i.componentWillUpdate||("function"===typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,u),"function"===typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,u)),"function"===typeof i.componentDidUpdate&&(t.flags|=4),"function"===typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof i.componentDidUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof i.getSnapshotBeforeUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=u,r=s):("function"!==typeof i.componentDidUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof i.getSnapshotBeforeUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Na(e,t,n,r,o,l)}function Na(e,t,n,r,l,o){Ca(e,t);var i=0!==(128&t.flags);if(!r&&!i)return l&&Fl(t,n,!1),$a(e,t,o);r=t.stateNode,va.current=t;var a=i&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=xo(t,e.child,null,o),t.child=xo(t,null,a,o)):ka(e,t,a,o),t.memoizedState=r.state,l&&Fl(t,n,!0),t.child}function Ta(e){var t=e.stateNode;t.pendingContext?Dl(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Dl(0,t.context,!1),Xo(e,t.containerInfo)}function za(e,t,n,r,l){return ho(),mo(l),t.flags|=256,ka(e,t,n,r),t.child}var Ia,La,Oa,Da,Ra={dehydrated:null,treeContext:null,retryLane:0};function Ma(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fa(e,t,n){var r,l=t.pendingProps,i=ei.current,a=!1,u=0!==(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!==(2&i)),r?(a=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Pl(ei,1&i),null===e)return so(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(u=l.children,e=l.fallback,a?(l=t.mode,a=t.child,u={mode:"hidden",children:u},0===(1&l)&&null!==a?(a.childLanes=0,a.pendingProps=u):a=Ms(u,l,0,null),e=Rs(e,l,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Ma(n),t.memoizedState=Ra,e):ja(t,u));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,l,i,a){if(n)return 256&t.flags?(t.flags&=-257,Aa(e,t,a,r=ca(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,l=t.mode,r=Ms({mode:"visible",children:r.children},l,0,null),(i=Rs(i,l,a,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!==(1&t.mode)&&xo(t,e.child,null,a),t.child.memoizedState=Ma(a),t.memoizedState=Ra,i);if(0===(1&t.mode))return Aa(e,t,a,null);if("$!"===l.data){if(r=l.nextSibling&&l.nextSibling.dataset)var u=r.dgst;return r=u,Aa(e,t,a,r=ca(i=Error(o(419)),r,void 0))}if(u=0!==(a&e.childLanes),ba||u){if(null!==(r=Tu)){switch(a&-a){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}0!==(l=0!==(l&(r.suspendedLanes|a))?0:l)&&l!==i.retryLane&&(i.retryLane=l,Ro(e,l),ns(r,e,l,-1))}return ms(),Aa(e,t,a,r=ca(Error(o(421))))}return"$?"===l.data?(t.flags|=128,t.child=e.child,t=_s.bind(null,e),l._reactRetry=t,null):(e=i.treeContext,ro=sl(l.nextSibling),no=t,lo=!0,oo=null,null!==e&&(ql[Kl++]=Xl,ql[Kl++]=Jl,ql[Kl++]=Yl,Xl=e.id,Jl=e.overflow,Yl=t),t=ja(t,r.children),t.flags|=4096,t)}(e,t,u,l,r,i,n);if(a){a=l.fallback,u=t.mode,r=(i=e.child).sibling;var s={mode:"hidden",children:l.children};return 0===(1&u)&&t.child!==i?((l=t.child).childLanes=0,l.pendingProps=s,t.deletions=null):(l=Os(i,s)).subtreeFlags=14680064&i.subtreeFlags,null!==r?a=Os(r,a):(a=Rs(a,u,n,null)).flags|=2,a.return=t,l.return=t,l.sibling=a,t.child=l,l=a,a=t.child,u=null===(u=e.child.memoizedState)?Ma(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},a.memoizedState=u,a.childLanes=e.childLanes&~n,t.memoizedState=Ra,l}return e=(a=e.child).sibling,l=Os(a,{mode:"visible",children:l.children}),0===(1&t.mode)&&(l.lanes=n),l.return=t,l.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=l,t.memoizedState=null,l}function ja(e,t){return(t=Ms({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Aa(e,t,n,r){return null!==r&&mo(r),xo(t,e.child,null,n),(e=ja(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ua(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),To(e.return,t,n)}function Ba(e,t,n,r,l){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=l)}function Ha(e,t,n){var r=t.pendingProps,l=r.revealOrder,o=r.tail;if(ka(e,t,r.children,n),0!==(2&(r=ei.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ua(e,n,t);else if(19===e.tag)Ua(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Pl(ei,r),0===(1&t.mode))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;null!==n;)null!==(e=n.alternate)&&null===ti(e)&&(l=n),n=n.sibling;null===(n=l)?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),Ba(t,!1,l,n,o);break;case"backwards":for(n=null,l=t.child,t.child=null;null!==l;){if(null!==(e=l.alternate)&&null===ti(e)){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}Ba(t,!0,n,null,o);break;case"together":Ba(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Va(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function $a(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Mu|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Os(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Os(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Wa(e,t){if(!lo)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Qa(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;null!==l;)n|=l.lanes|l.childLanes,r|=14680064&l.subtreeFlags,r|=14680064&l.flags,l.return=e,l=l.sibling;else for(l=e.child;null!==l;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function qa(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Qa(t),null;case 1:case 17:return Ll(t.type)&&Ol(),Qa(t),null;case 3:return r=t.stateNode,Jo(),Cl(Tl),Cl(Nl),ri(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==oo&&(is(oo),oo=null))),La(e,t),Qa(t),null;case 5:Go(t);var l=Yo(Ko.current);if(n=t.type,null!==e&&null!=t.stateNode)Oa(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Qa(t),null}if(e=Yo(Qo.current),fo(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[dl]=t,r[pl]=i,e=0!==(1&t.mode),n){case"dialog":Ar("cancel",r),Ar("close",r);break;case"iframe":case"object":case"embed":Ar("load",r);break;case"video":case"audio":for(l=0;l<\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[dl]=t,e[pl]=r,Ia(e,t,!1,!1),t.stateNode=e;e:{switch(u=be(n,r),n){case"dialog":Ar("cancel",e),Ar("close",e),l=r;break;case"iframe":case"object":case"embed":Ar("load",e),l=r;break;case"video":case"audio":for(l=0;lHu&&(t.flags|=128,r=!0,Wa(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ti(u))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Wa(i,!0),null===i.tail&&"hidden"===i.tailMode&&!u.alternate&&!lo)return Qa(t),null}else 2*Je()-i.renderingStartTime>Hu&&1073741824!==n&&(t.flags|=128,r=!0,Wa(i,!1),t.lanes=4194304);i.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=i.last)?n.sibling=u:t.child=u,i.last=u)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Je(),t.sibling=null,n=ei.current,Pl(ei,r?1&n|2:1&n),t):(Qa(t),null);case 22:case 23:return fs(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Lu)&&(Qa(t),6&t.subtreeFlags&&(t.flags|=8192)):Qa(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Ka(e,t){switch(to(t),t.tag){case 1:return Ll(t.type)&&Ol(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Jo(),Cl(Tl),Cl(Nl),ri(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Go(t),null;case 13:if(Cl(ei),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));ho()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Cl(ei),null;case 4:return Jo(),null;case 10:return No(t.type._context),null;case 22:case 23:return fs(),null;default:return null}}Ia=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},La=function(){},Oa=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,Yo(Qo.current);var o,i=null;switch(n){case"input":l=Y(e,l),r=Y(e,r),i=[];break;case"select":l=F({},l,{value:void 0}),r=F({},r,{value:void 0}),i=[];break;case"textarea":l=re(e,l),r=re(e,r),i=[];break;default:"function"!==typeof l.onClick&&"function"===typeof r.onClick&&(e.onclick=Gr)}for(c in ve(n,r),n=null,l)if(!r.hasOwnProperty(c)&&l.hasOwnProperty(c)&&null!=l[c])if("style"===c){var u=l[c];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(a.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var s=r[c];if(u=null!=l?l[c]:void 0,r.hasOwnProperty(c)&&s!==u&&(null!=s||null!=u))if("style"===c)if(u){for(o in u)!u.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in s)s.hasOwnProperty(o)&&u[o]!==s[o]&&(n||(n={}),n[o]=s[o])}else n||(i||(i=[]),i.push(c,n)),n=s;else"dangerouslySetInnerHTML"===c?(s=s?s.__html:void 0,u=u?u.__html:void 0,null!=s&&u!==s&&(i=i||[]).push(c,s)):"children"===c?"string"!==typeof s&&"number"!==typeof s||(i=i||[]).push(c,""+s):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(a.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&Ar("scroll",e),i||u===s||(i=[])):(i=i||[]).push(c,s))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}},Da=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ya=!1,Xa=!1,Ja="function"===typeof WeakSet?WeakSet:Set,Za=null;function Ga(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Es(e,t,r)}else n.current=null}function eu(e,t,n){try{n()}catch(r){Es(e,t,r)}}var tu=!1;function nu(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,void 0!==o&&eu(t,n,o)}l=l.next}while(l!==r)}}function ru(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect: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 lu(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function ou(e){var t=e.alternate;null!==t&&(e.alternate=null,ou(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[dl],delete t[pl],delete t[ml],delete t[gl],delete t[yl])),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 iu(e){return 5===e.tag||3===e.tag||4===e.tag}function au(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||iu(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function uu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Gr));else if(4!==r&&null!==(e=e.child))for(uu(e,t,n),e=e.sibling;null!==e;)uu(e,t,n),e=e.sibling}function su(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(su(e,t,n),e=e.sibling;null!==e;)su(e,t,n),e=e.sibling}var cu=null,fu=!1;function du(e,t,n){for(n=n.child;null!==n;)pu(e,t,n),n=n.sibling}function pu(e,t,n){if(ot&&"function"===typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(lt,n)}catch(a){}switch(n.tag){case 5:Xa||Ga(n,t);case 6:var r=cu,l=fu;cu=null,du(e,t,n),fu=l,null!==(cu=r)&&(fu?(e=cu,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):cu.removeChild(n.stateNode));break;case 18:null!==cu&&(fu?(e=cu,n=n.stateNode,8===e.nodeType?ul(e.parentNode,n):1===e.nodeType&&ul(e,n),Ht(e)):ul(cu,n.stateNode));break;case 4:r=cu,l=fu,cu=n.stateNode.containerInfo,fu=!0,du(e,t,n),cu=r,fu=l;break;case 0:case 11:case 14:case 15:if(!Xa&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,void 0!==i&&(0!==(2&o)||0!==(4&o))&&eu(n,t,i),l=l.next}while(l!==r)}du(e,t,n);break;case 1:if(!Xa&&(Ga(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Es(n,t,a)}du(e,t,n);break;case 21:du(e,t,n);break;case 22:1&n.mode?(Xa=(r=Xa)||null!==n.memoizedState,du(e,t,n),Xa=r):du(e,t,n);break;default:du(e,t,n)}}function hu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ja),t.forEach((function(t){var r=Ns.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function mu(e,t){var n=t.deletions;if(null!==n)for(var r=0;rl&&(l=a),r&=~i}if(r=l,10<(r=(120>(r=Je()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Eu(r/1960))-r)){e.timeoutHandle=rl(xs.bind(null,e,Uu,Vu),r);break}xs(e,Uu,Vu);break;default:throw Error(o(329))}}}return rs(e,Je()),e.callbackNode===n?ls.bind(null,e):null}function os(e,t){var n=Au;return e.current.memoizedState.isDehydrated&&(ds(e,t).flags|=256),2!==(e=gs(e,t))&&(t=Uu,Uu=n,null!==t&&is(t)),e}function is(e){null===Uu?Uu=e:Uu.push.apply(Uu,e)}function as(e,t){for(t&=~ju,t&=~Fu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0e?16:e,null===Ku)var r=!1;else{if(e=Ku,Ku=null,Yu=0,0!==(6&Nu))throw Error(o(331));var l=Nu;for(Nu|=4,Za=e.current;null!==Za;){var i=Za,a=i.child;if(0!==(16&Za.flags)){var u=i.deletions;if(null!==u){for(var s=0;sJe()-Bu?ds(e,0):ju|=n),rs(e,t)}function Ps(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var n=es();null!==(e=Ro(e,t))&&(yt(e,t,n),rs(e,n))}function _s(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ps(e,n)}function Ns(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;null!==l&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Ps(e,n)}function Ts(e,t){return qe(e,t)}function zs(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 Is(e,t,n,r){return new zs(e,t,n,r)}function Ls(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Os(e,t){var n=e.alternate;return null===n?((n=Is(e.tag,t,e.key,e.mode)).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=14680064&e.flags,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=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ds(e,t,n,r,l,i){var a=2;if(r=e,"function"===typeof e)Ls(e)&&(a=1);else if("string"===typeof e)a=5;else e:switch(e){case S:return Rs(n.children,l,i,t);case E:a=8,l|=8;break;case C:return(e=Is(12,n,t,2|l)).elementType=C,e.lanes=i,e;case T:return(e=Is(13,n,t,l)).elementType=T,e.lanes=i,e;case z:return(e=Is(19,n,t,l)).elementType=z,e.lanes=i,e;case O:return Ms(n,l,i,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case P:a=10;break e;case _:a=9;break e;case N:a=11;break e;case I:a=14;break e;case L:a=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Is(a,n,t,l)).elementType=e,t.type=r,t.lanes=i,t}function Rs(e,t,n,r){return(e=Is(7,e,r,t)).lanes=n,e}function Ms(e,t,n,r){return(e=Is(22,e,r,t)).elementType=O,e.lanes=n,e.stateNode={isHidden:!1},e}function Fs(e,t,n){return(e=Is(6,e,null,t)).lanes=n,e}function js(e,t,n){return(t=Is(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function As(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Us(e,t,n,r,l,o,i,a,u){return e=new As(e,t,n,a,u),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Is(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fo(o),e}function Bs(e){if(!e)return _l;e:{if(He(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ll(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Ll(n))return Rl(e,n,t)}return t}function Hs(e,t,n,r,l,o,i,a,u){return(e=Us(n,r,!0,e,0,o,0,a,u)).context=Bs(null),n=e.current,(o=Ao(r=es(),l=ts(n))).callback=void 0!==t&&null!==t?t:null,Uo(n,o,l),e.current.lanes=l,yt(e,l,r),rs(e,r),e}function Vs(e,t,n,r){var l=t.current,o=es(),i=ts(l);return n=Bs(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ao(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Uo(l,t,i))&&(ns(e,l,i,o),Bo(e,l,i)),i}function $s(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Ws(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n{"use strict";var r=n(950);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},950:(e,t,n)=>{"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(730)},153:(e,t,n)=>{"use strict";var r=n(43),l=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var r,o={},s=null,c=null;for(r in void 0!==n&&(s=""+n),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,r)&&!u.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:l,type:e,key:s,ref:c,props:o,_owner:a.current}}t.Fragment=o,t.jsx=s,t.jsxs=s},202:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),u=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function v(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)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")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=y.prototype;var k=b.prototype=new v;k.constructor=b,m(k,y.prototype),k.isPureReactComponent=!0;var x=Array.isArray,w=Object.prototype.hasOwnProperty,S={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var l,o={},i=null,a=null;if(null!=t)for(l in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)w.call(t,l)&&!E.hasOwnProperty(l)&&(o[l]=t[l]);var u=arguments.length-2;if(1===u)o.children=r;else if(1{"use strict";e.exports=n(202)},579:(e,t,n)=>{"use strict";e.exports=n(153)},234:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0>>1,l=e[r];if(!(0>>1;ro(u,n))so(c,u)?(e[r]=c,e[s]=n,r=s):(e[r]=u,e[a]=n,r=a);else{if(!(so(c,n)))break e;e[r]=c,e[s]=n,r=s}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var a=Date,u=a.now();t.unstable_now=function(){return a.now()-u}}var s=[],c=[],f=1,d=null,p=3,h=!1,m=!1,g=!1,y="function"===typeof setTimeout?setTimeout:null,v="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function k(e){for(var t=r(c);null!==t;){if(null===t.callback)l(c);else{if(!(t.startTime<=e))break;l(c),t.sortIndex=t.expirationTime,n(s,t)}t=r(c)}}function x(e){if(g=!1,k(e),!m)if(null!==r(s))m=!0,O(w);else{var t=r(c);null!==t&&D(x,t.startTime-e)}}function w(e,n){m=!1,g&&(g=!1,v(P),P=-1),h=!0;var o=p;try{for(k(n),d=r(s);null!==d&&(!(d.expirationTime>n)||e&&!T());){var i=d.callback;if("function"===typeof i){d.callback=null,p=d.priorityLevel;var a=i(d.expirationTime<=n);n=t.unstable_now(),"function"===typeof a?d.callback=a:d===r(s)&&l(s),k(n)}else l(s);d=r(s)}if(null!==d)var u=!0;else{var f=r(c);null!==f&&D(x,f.startTime-n),u=!1}return u}finally{d=null,p=o,h=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,E=!1,C=null,P=-1,_=5,N=-1;function T(){return!(t.unstable_now()-N<_)}function z(){if(null!==C){var e=t.unstable_now();N=e;var n=!0;try{n=C(!0,e)}finally{n?S():(E=!1,C=null)}}else E=!1}if("function"===typeof b)S=function(){b(z)};else if("undefined"!==typeof MessageChannel){var I=new MessageChannel,L=I.port2;I.port1.onmessage=z,S=function(){L.postMessage(null)}}else S=function(){y(z,0)};function O(e){C=e,E||(E=!0,S())}function D(e,n){P=y((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,O(w))},t.unstable_forceFrameRate=function(e){0>e||125i?(e.sortIndex=o,n(c,e),null===r(s)&&e===r(c)&&(g?(v(P),P=-1):g=!0,D(x,o-i))):(e.sortIndex=a,n(s,e),m||h||(m=!0,O(w))),e},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},853:(e,t,n)=>{"use strict";e.exports=n(234)},222:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=null;if(!e||"string"!==typeof e)return n;var r=(0,l.default)(e),o="function"===typeof t;return r.forEach((function(e){if("declaration"===e.type){var r=e.property,l=e.value;o?t(r,l,e):l&&((n=n||{})[r]=l)}})),n};var l=r(n(403))}},t={};function n(r){var l=t[r];if(void 0!==l)return l.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(r,l){if(1&l&&(r=this(r)),8&l)return r;if("object"===typeof r&&r){if(4&l&&r.__esModule)return r;if(16&l&&"function"===typeof r.then)return r}var o=Object.create(null);n.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var a=2&l&&r;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>i[e]=()=>r[e]));return i.default=()=>r,n.d(o,i),o}})(),n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="/",(()=>{"use strict";var e={};n.r(e),n.d(e,{boolean:()=>Fe,booleanish:()=>je,commaOrSpaceSeparated:()=>Ve,commaSeparated:()=>He,number:()=>Ue,overloadedBoolean:()=>Ae,spaceSeparated:()=>Be});var t={};n.r(t),n.d(t,{attentionMarkers:()=>Sr,contentInitial:()=>yr,disable:()=>Er,document:()=>gr,flow:()=>br,flowInitial:()=>vr,insideSpan:()=>wr,string:()=>kr,text:()=>xr});var r,l=n(43),o=n.t(l,2),i=n(391),a=n(950),u=n.t(a,2);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function y(e,t,n,l){void 0===l&&(l={});let{window:o=document.defaultView,v5Compat:i=!1}=l,a=o.history,u=r.Pop,d=null,g=y();function y(){return(a.state||{idx:null}).idx}function v(){u=r.Pop;let e=y(),t=null==e?null:e-g;g=e,d&&d({action:u,location:k.location,delta:t})}function b(e){let t="null"!==o.location.origin?o.location.origin:o.location.href,n="string"===typeof e?e:m(e);return n=n.replace(/ $/,"%20"),f(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==g&&(g=0,a.replaceState(s({},a.state,{idx:g}),""));let k={get action(){return u},get location(){return e(o,a)},listen(e){if(d)throw new Error("A history only accepts one active listener");return o.addEventListener(c,v),d=e,()=>{o.removeEventListener(c,v),d=null}},createHref:e=>t(o,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){u=r.Push;let l=h(k.location,e,t);n&&n(l,e),g=y()+1;let s=p(l,g),c=k.createHref(l);try{a.pushState(s,"",c)}catch(f){if(f instanceof DOMException&&"DataCloneError"===f.name)throw f;o.location.assign(c)}i&&d&&d({action:u,location:k.location,delta:1})},replace:function(e,t){u=r.Replace;let l=h(k.location,e,t);n&&n(l,e),g=y();let o=p(l,g),s=k.createHref(l);a.replaceState(o,"",s),i&&d&&d({action:u,location:k.location,delta:0})},go:e=>a.go(e)};return k}var v;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(v||(v={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function b(e,t,n){return void 0===n&&(n="/"),k(e,t,n,!1)}function k(e,t,n,r){let l=D(("string"===typeof t?g(t):t).pathname||"/",n);if(null==l)return null;let o=x(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(o);let i=null;for(let a=0;null==i&&a{let i={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:l,route:e};i.relativePath.startsWith("/")&&(f(i.relativePath.startsWith(r),'Absolute route path "'+i.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),i.relativePath=i.relativePath.slice(r.length));let a=R([r,i.relativePath]),u=n.concat(i);e.children&&e.children.length>0&&(f(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+a+'".'),x(e.children,t,u,a)),(null!=e.path||e.index)&&t.push({path:a,score:z(a,e.index),routesMeta:u})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let r of w(e.path))l(e,t,r);else l(e,t)})),t}function w(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,l=n.endsWith("?"),o=n.replace(/\?$/,"");if(0===r.length)return l?[o,""]:[o];let i=w(r.join("/")),a=[];return a.push(...i.map((e=>""===e?o:[o,e].join("/")))),l&&a.push(...i),a.map((t=>e.startsWith("/")&&""===t?"/":t))}const S=/^:[\w-]+$/,E=3,C=2,P=1,_=10,N=-2,T=e=>"*"===e;function z(e,t){let n=e.split("/"),r=n.length;return n.some(T)&&(r+=N),t&&(r+=C),n.filter((e=>!T(e))).reduce(((e,t)=>e+(S.test(t)?E:""===t?P:_)),r)}function I(e,t,n){void 0===n&&(n=!1);let{routesMeta:r}=e,l={},o="/",i=[];for(let a=0;a(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(r.push({paramName:"*"}),l+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":""!==e&&"/"!==e&&(l+="(?:(?=\\/|$))");let o=new RegExp(l,t?void 0:"i");return[o,r]}(e.path,e.caseSensitive,e.end),l=t.match(n);if(!l)return null;let o=l[0],i=o.replace(/(.)\/+$/,"$1"),a=l.slice(1),u=r.reduce(((e,t,n)=>{let{paramName:r,isOptional:l}=t;if("*"===r){let e=a[n]||"";i=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const u=a[n];return e[r]=l&&!u?void 0:(u||"").replace(/%2F/g,"/"),e}),{});return{params:u,pathname:o,pathnameBase:i,pattern:e}}function O(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return d(!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 D(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)||"/"}const R=e=>e.join("/").replace(/\/\/+/g,"/"),M=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");Error;function F(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}const j=["post","put","patch","delete"],A=(new Set(j),["get",...j]);new Set(A),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred");function U(){return U=Object.assign?Object.assign.bind():function(e){for(var t=1;tObject.assign({},e,{params:Object.assign({},s,e.params),pathname:R([c,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?c:R([c,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),a,n,o);return t&&k?l.createElement($.Provider,{value:{location:U({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:r.Pop}},k):k}function J(){let e=function(){var e;let t=l.useContext(Q),n=re(ne.UseRouteError),r=le(ne.UseRouteError);if(void 0!==t)return t;return null==(e=n.errors)?void 0:e[r]}(),t=F(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r};return l.createElement(l.Fragment,null,l.createElement("h2",null,"Unexpected Application Error!"),l.createElement("h3",{style:{fontStyle:"italic"}},t),n?l.createElement("pre",{style:o},n):null,null)}const Z=l.createElement(J,null);class G extends l.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?l.createElement(W.Provider,{value:this.props.routeContext},l.createElement(Q.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function ee(e){let{routeContext:t,match:n,children:r}=e,o=l.useContext(B);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),l.createElement(W.Provider,{value:t},r)}function te(e,t,n,r){var o;if(void 0===t&&(t=[]),void 0===n&&(n=null),void 0===r&&(r=null),null==e){var i;if(!n)return null;if(n.errors)e=n.matches;else{if(!(null!=(i=r)&&i.v7_partialHydration&&0===t.length&&!n.initialized&&n.matches.length>0))return null;e=n.matches}}let a=e,u=null==(o=n)?void 0:o.errors;if(null!=u){let e=a.findIndex((e=>e.route.id&&void 0!==(null==u?void 0:u[e.route.id])));e>=0||f(!1),a=a.slice(0,Math.min(a.length,e+1))}let s=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let l=0;l=0?a.slice(0,c+1):[a[0]];break}}}return a.reduceRight(((e,r,o)=>{let i,f=!1,d=null,p=null;var h;n&&(i=u&&r.route.id?u[r.route.id]:void 0,d=r.route.errorElement||Z,s&&(c<0&&0===o?(h="route-fallback",!1||oe[h]||(oe[h]=!0),f=!0,p=null):c===o&&(f=!0,p=r.route.hydrateFallbackElement||null)));let m=t.concat(a.slice(0,o+1)),g=()=>{let t;return t=i?d:f?p:r.route.Component?l.createElement(r.route.Component,null):r.route.element?r.route.element:e,l.createElement(ee,{match:r,routeContext:{outlet:e,matches:m,isDataRoute:null!=n},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===o)?l.createElement(G,{location:n.location,revalidation:n.revalidation,component:d,error:i,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()}),null)}var ne=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(ne||{});function re(e){let t=l.useContext(H);return t||f(!1),t}function le(e){let t=function(){let e=l.useContext(W);return e||f(!1),e}(),n=t.matches[t.matches.length-1];return n.route.id||f(!1),n.route.id}const oe={};o.startTransition;function ie(e){f(!1)}function ae(e){let{basename:t="/",children:n=null,location:o,navigationType:i=r.Pop,navigator:a,static:u=!1,future:s}=e;q()&&f(!1);let c=t.replace(/^\/*/,"/"),d=l.useMemo((()=>({basename:c,navigator:a,static:u,future:U({v7_relativeSplatPath:!1},s)})),[c,s,a,u]);"string"===typeof o&&(o=g(o));let{pathname:p="/",search:h="",hash:m="",state:y=null,key:v="default"}=o,b=l.useMemo((()=>{let e=D(p,c);return null==e?null:{location:{pathname:e,search:h,hash:m,state:y,key:v},navigationType:i}}),[c,p,h,m,y,v,i]);return null==b?null:l.createElement(V.Provider,{value:d},l.createElement($.Provider,{children:n,value:b}))}function ue(e){let{children:t,location:n}=e;return X(se(t),n)}new Promise((()=>{}));l.Component;function se(e,t){void 0===t&&(t=[]);let n=[];return l.Children.forEach(e,((e,r)=>{if(!l.isValidElement(e))return;let o=[...t,r];if(e.type===l.Fragment)return void n.push.apply(n,se(e.props.children,o));e.type!==ie&&f(!1),e.props.index&&e.props.children&&f(!1);let i={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(i.children=se(e.props.children,o)),n.push(i)})),n}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);try{window.__reactRouterVersion="6"}catch(to){}new Map;const ce=o.startTransition;u.flushSync,o.useId;function fe(e){let{basename:t,children:n,future:r,window:o}=e,i=l.useRef();var a;null==i.current&&(i.current=(void 0===(a={window:o,v5Compat:!0})&&(a={}),y((function(e,t){let{pathname:n,search:r,hash:l}=e.location;return h("",{pathname:n,search:r,hash:l},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"===typeof t?t:m(t)}),null,a)));let u=i.current,[s,c]=l.useState({action:u.action,location:u.location}),{v7_startTransition:f}=r||{},d=l.useCallback((e=>{f&&ce?ce((()=>c(e))):c(e)}),[c,f]);return l.useLayoutEffect((()=>u.listen(d)),[u,d]),l.createElement(ae,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:u,future:r})}"undefined"!==typeof window&&"undefined"!==typeof window.document&&window.document.createElement;var de,pe;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(de||(de={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(pe||(pe={}));const he=n.p+"static/media/IconTitle.8c1197cb53cdb26ecdd7df17ac1107b5.svg";const me=n.p+"static/media/avatar.e6a82bfc54b2a0b85cec8ec36a4db6d0.svg";var ge=n(579);function ye(){const{page:e,subpage:t}=Y(),[n,r]=(0,l.useState)(!1),o="store"===e?(0,ge.jsxs)("div",{className:"horizontal-box navigation",children:[(0,ge.jsx)("a",{href:"/store/games",className:"primary small"+("games"===t?" selected":""),children:"\u0418\u0433\u0440\u044b"}),(0,ge.jsx)("a",{href:"/store/sprites",className:"primary small"+("sprites"===t?" selected":""),children:"\u0421\u043f\u0440\u0430\u0439\u0442\u044b"})]}):"vacancy"===e?(0,ge.jsxs)("div",{className:"horizontal-box navigation",children:[(0,ge.jsx)("a",{href:"/vacancy/developers",className:"primary small"+("developers"===t?" selected":""),children:"\u0418\u0449\u0443 \u0440\u0430\u0431\u043e\u0442\u043d\u0438\u043a\u0430"}),(0,ge.jsx)("a",{href:"/vacancy/projects",className:"primary small"+("projects"===t?" selected":""),children:"\u0418\u0449\u0443 \u043f\u0440\u043e\u0435\u043a\u0442"})]}):null;return(0,ge.jsxs)("header",{className:"header",children:[(0,ge.jsxs)("div",{className:"content-box stretched-box align-center",children:[(0,ge.jsxs)("div",{className:"align-center upper-menu",children:[(0,ge.jsx)("img",{className:"icon",alt:"icon",src:he||""}),(0,ge.jsxs)("div",{className:"horizontal-box navigation",children:[(0,ge.jsx)("a",{href:"/store",className:"primary small"+("store"===e?" selected":""),children:"\u0418\u0433\u0440\u044b \u0438 \u0430\u0441\u0441\u0435\u0442\u044b"}),(0,ge.jsx)("a",{href:"/vacancy",className:"primary small"+("vacancy"===e?" selected":""),children:"\u0412\u0430\u043a\u0430\u043d\u0441\u0438\u0438"})]})]}),(0,ge.jsxs)("div",{className:"dropdown-menu",onMouseOver:()=>r(!0),children:[(0,ge.jsx)("button",{className:"menu-button",onClick:()=>{r(!n)},children:(0,ge.jsx)("img",{className:"avatar",alt:"Avatar",src:me||""})}),n&&(0,ge.jsx)("div",{className:"menu-click-area",onMouseLeave:()=>r(!1),children:(0,ge.jsxs)("div",{className:"vertical-box align-end",children:[(0,ge.jsx)("div",{className:"avatar"}),(0,ge.jsx)("div",{className:"menu-content",children:(0,ge.jsx)("a",{href:"#",children:"\u041b\u0438\u0447\u043d\u044b\u0439 \u043f\u0440\u043e\u0444\u0438\u043b\u044c"})})]})})]})]}),o?(0,ge.jsx)("div",{className:"content-box align-end bottom-menu vertical-box",children:o}):null]})}const ve=n.p+"static/media/card-image.6e196fb2ee10df3c81213358f43872e0.svg";function be(e){let{item:t,collection:n}=e;return(0,ge.jsx)("a",{href:n+"/"+t.id,className:"card",style:{backgroundImage:"url("+t.image+")"},children:(0,ge.jsx)("div",{className:"horizontal-box align-end",children:(0,ge.jsx)("div",{className:"body-text",children:t.title})})})}function ke(){const e=[{title:"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0442\u043e\u0432\u0430\u0440\u0430",image:ve,id:"1"}];return(0,ge.jsx)("div",{className:"store section",children:e.map((e=>(0,ge.jsx)(be,{item:e,collection:"game"},e.id)))})}function xe(){return(0,ge.jsxs)("div",{className:"section content-box body-text",children:[(0,ge.jsx)("h1",{children:"\u041e \u043f\u0440\u043e\u0435\u043a\u0442\u0435"}),"NovelPlus - \u044d\u0442\u043e \u043c\u0435\u0441\u0442\u043e \u0433\u0434\u0435 \u0438\u0433\u0440\u043e\u043a\u0438 \u0441\u043c\u043e\u0433\u0443\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u043d\u043e\u0432\u0435\u043b\u043b\u044b \u043e\u0442 \u0434\u0430\u0436\u0435 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0441\u0442\u0443\u0434\u0438\u0439.",(0,ge.jsx)("br",{}),"\u042d\u0442\u043e \u043c\u0435\u0441\u0442\u043e, \u0433\u0434\u0435 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u0438 \u043d\u043e\u0432\u0435\u043b\u043b \u0441\u043c\u043e\u0433\u0443\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u043d\u043e\u0432\u044b\u0445 \u0442\u0430\u043b\u0430\u043d\u0442\u043b\u0438\u0432\u044b\u0445 \u043b\u044e\u0434\u0435\u0439 \u0432 \u0441\u0432\u043e\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0438 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0435 \u0438\u0433\u0440\u044b.",(0,ge.jsx)("br",{}),"\u041c\u0435\u0441\u0442\u043e, \u0433\u0434\u0435 \u043b\u044e\u0434\u0438 \u0441\u043c\u043e\u0433\u0443\u0442 \u0432\u044b\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u0430\u0441\u0441\u0435\u0442\u044b: \u0441\u043f\u0440\u0430\u0439\u0442\u044b, \u0444\u043e\u043d\u044b, \u043c\u0443\u0437\u044b\u043a\u0443, \u043c\u0435\u0445\u0430\u043d\u0438\u043a\u0438.",(0,ge.jsx)("h2",{children:"\u041d\u0430\u043c \u043d\u0443\u0436\u043d\u0430 \u0432\u0430\u0448\u0430 \u043f\u043e\u043c\u043e\u0449\u044c!"}),"\u0421\u0435\u0439\u0447\u0430\u0441 \u043f\u0440\u043e\u0435\u043a\u0442 \u043d\u0430 \u0441\u0442\u0430\u0434\u0438\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0435\u0449\u0435 \u043e\u0447\u0435\u043d\u044c \u043c\u0430\u043b\u043e \u043a\u0440\u0435\u0430\u0442\u043e\u0440\u043e\u0432. \u041e\u0442 \u0442\u043e\u0433\u043e \u043c\u044b \u043d\u0443\u0436\u0434\u0430\u0435\u043c\u0441\u044f \u0432 \u043b\u044e\u0431\u043e\u0439 \u043f\u043e\u043c\u043e\u0449\u0438!",(0,ge.jsx)("br",{}),"\u041c\u044b \u0438\u0449\u0435\u043c:",(0,ge.jsxs)("ul",{children:[(0,ge.jsx)("li",{children:"\u0414\u0438\u0437\u0430\u0439\u043d\u0435\u0440\u043e\u0432 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u0430;"}),(0,ge.jsx)("li",{children:"\u0424\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u0443\u044e \u043f\u043e\u043c\u043e\u0449\u044c \u0434\u043b\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430 \u0438 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430;"}),(0,ge.jsx)("li",{children:"\u0418\u0433\u0440\u044b \u0438 \u0430\u0441\u0441\u0435\u0442\u044b \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u044b \u043d\u0430 \u0441\u0430\u0439\u0442;"}),(0,ge.jsx)("li",{children:"\u0412\u0430\u0448\u0438 \u0438\u0434\u0435\u0438 \u0447\u0435\u0433\u043e \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u0430."})]}),(0,ge.jsxs)("div",{className:"vertical-box align-left",children:[(0,ge.jsx)("a",{href:"https://vk.com/novelplus",target:"_blank",className:"primary medium",children:"\u041d\u0430\u0448\u0430 \u0433\u0440\u0443\u043f\u043f\u0430 \u0412\u041a"}),(0,ge.jsx)("a",{href:"https://www.tinkoff.ru/cf/7hqDRjNZvBR",target:"_blank",className:"primary medium",children:"\u0421\u0431\u043e\u0440 \u0434\u043e\u043d\u0430\u0442\u043e\u0432"})]})]})}function we(){return(0,ge.jsx)("footer",{className:"footer",children:(0,ge.jsx)("a",{href:"/about",children:"\u041e \u041f\u0420\u041e\u0415\u041a\u0422\u0415"})})}const Se=n.p+"static/media/mini-card-image.237361450e476b21dd4e666838ccb466.svg";function Ee(e){let{item:t,collection:n}=e;return(0,ge.jsxs)("a",{href:n+"/"+t.id,className:"mini-card horizontal-box",children:[(0,ge.jsx)("img",{src:t.image,alt:t.title}),(0,ge.jsxs)("div",{className:"vertical-box fill-width",children:[(0,ge.jsxs)("div",{className:"horizontal-box stretched-box",children:[(0,ge.jsxs)("div",{className:"vertical-box",children:[(0,ge.jsx)("h2",{children:t.title}),(0,ge.jsxs)("div",{children:["\u0421\u0442\u0430\u0442\u0443\u0441: ",t.status]})]}),(0,ge.jsxs)("div",{children:["\u0414\u0430\u0442\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f: ",new Date(t.updateDate).toLocaleString()]})]}),(0,ge.jsx)("div",{children:t.shortDescription})]})]})}function Ce(){const e=[{title:"\u0412\u0430\u043a\u0430\u043d\u0441\u0438\u0435\u0432 \u0412\u0430\u043a\u0430\u043d\u0441\u0438\u0439",image:Se||"",status:"\u041d\u043e\u0432\u044b\u0439",updateDate:(new Date).getTime(),shortDescription:"\u042f \u0443\u043c\u0435\u044e \u0432\u0441\u0435!",id:1}],{subpage:t}=Y();return(0,ge.jsx)("div",{className:"section vacancy content-box body-text vertical-box",children:e.map((e=>(0,ge.jsx)(Ee,{item:e,collection:"developers"===t?"resume":"project"})))})}const Pe=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,_e=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Ne={};function Te(e,t){return((t||Ne).jsx?_e:Pe).test(e)}const ze=/[ \t\n\f\r]/g;function Ie(e){return""===e.replace(ze,"")}class Le{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function Oe(e,t){const n={},r={};let l=-1;for(;++l"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Je=Ye({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Ze(e,t){return t in e?e[t]:t}function Ge(e,t){return Ze(e,t.toLowerCase())}const et=Ye({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Ge,properties:{xmlns:null,xmlnsXLink:null}}),tt=Ye({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:je,ariaAutoComplete:null,ariaBusy:je,ariaChecked:je,ariaColCount:Ue,ariaColIndex:Ue,ariaColSpan:Ue,ariaControls:Be,ariaCurrent:null,ariaDescribedBy:Be,ariaDetails:null,ariaDisabled:je,ariaDropEffect:Be,ariaErrorMessage:null,ariaExpanded:je,ariaFlowTo:Be,ariaGrabbed:je,ariaHasPopup:null,ariaHidden:je,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Be,ariaLevel:Ue,ariaLive:null,ariaModal:je,ariaMultiLine:je,ariaMultiSelectable:je,ariaOrientation:null,ariaOwns:Be,ariaPlaceholder:null,ariaPosInSet:Ue,ariaPressed:je,ariaReadOnly:je,ariaRelevant:null,ariaRequired:je,ariaRoleDescription:Be,ariaRowCount:Ue,ariaRowIndex:Ue,ariaRowSpan:Ue,ariaSelected:je,ariaSetSize:Ue,ariaSort:null,ariaValueMax:Ue,ariaValueMin:Ue,ariaValueNow:Ue,ariaValueText:null,role:null}}),nt=Ye({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Ge,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:He,acceptCharset:Be,accessKey:Be,action:null,allow:null,allowFullScreen:Fe,allowPaymentRequest:Fe,allowUserMedia:Fe,alt:null,as:null,async:Fe,autoCapitalize:null,autoComplete:Be,autoFocus:Fe,autoPlay:Fe,blocking:Be,capture:null,charSet:null,checked:Fe,cite:null,className:Be,cols:Ue,colSpan:null,content:null,contentEditable:je,controls:Fe,controlsList:Be,coords:Ue|He,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Fe,defer:Fe,dir:null,dirName:null,disabled:Fe,download:Ae,draggable:je,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Fe,formTarget:null,headers:Be,height:Ue,hidden:Fe,high:Ue,href:null,hrefLang:null,htmlFor:Be,httpEquiv:Be,id:null,imageSizes:null,imageSrcSet:null,inert:Fe,inputMode:null,integrity:null,is:null,isMap:Fe,itemId:null,itemProp:Be,itemRef:Be,itemScope:Fe,itemType:Be,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Fe,low:Ue,manifest:null,max:null,maxLength:Ue,media:null,method:null,min:null,minLength:Ue,multiple:Fe,muted:Fe,name:null,nonce:null,noModule:Fe,noValidate:Fe,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Fe,optimum:Ue,pattern:null,ping:Be,placeholder:null,playsInline:Fe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Fe,referrerPolicy:null,rel:Be,required:Fe,reversed:Fe,rows:Ue,rowSpan:Ue,sandbox:Be,scope:null,scoped:Fe,seamless:Fe,selected:Fe,shadowRootClonable:Fe,shadowRootDelegatesFocus:Fe,shadowRootMode:null,shape:null,size:Ue,sizes:null,slot:null,span:Ue,spellCheck:je,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Ue,step:null,style:null,tabIndex:Ue,target:null,title:null,translate:null,type:null,typeMustMatch:Fe,useMap:null,value:je,width:Ue,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Be,axis:null,background:null,bgColor:null,border:Ue,borderColor:null,bottomMargin:Ue,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Fe,declare:Fe,event:null,face:null,frame:null,frameBorder:null,hSpace:Ue,leftMargin:Ue,link:null,longDesc:null,lowSrc:null,marginHeight:Ue,marginWidth:Ue,noResize:Fe,noHref:Fe,noShade:Fe,noWrap:Fe,object:null,profile:null,prompt:null,rev:null,rightMargin:Ue,rules:null,scheme:null,scrolling:je,standby:null,summary:null,text:null,topMargin:Ue,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Ue,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Fe,disableRemotePlayback:Fe,prefix:null,property:null,results:Ue,security:null,unselectable:null}}),rt=Ye({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Ze,properties:{about:Ve,accentHeight:Ue,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Ue,amplitude:Ue,arabicForm:null,ascent:Ue,attributeName:null,attributeType:null,azimuth:Ue,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Ue,by:null,calcMode:null,capHeight:Ue,className:Be,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Ue,diffuseConstant:Ue,direction:null,display:null,dur:null,divisor:Ue,dominantBaseline:null,download:Fe,dx:null,dy:null,edgeMode:null,editable:null,elevation:Ue,enableBackground:null,end:null,event:null,exponent:Ue,externalResourcesRequired:null,fill:null,fillOpacity:Ue,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:He,g2:He,glyphName:He,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Ue,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Ue,horizOriginX:Ue,horizOriginY:Ue,id:null,ideographic:Ue,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Ue,k:Ue,k1:Ue,k2:Ue,k3:Ue,k4:Ue,kernelMatrix:Ve,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Ue,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Ue,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Ue,overlineThickness:Ue,paintOrder:null,panose1:null,path:null,pathLength:Ue,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Be,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Ue,pointsAtY:Ue,pointsAtZ:Ue,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ve,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ve,rev:Ve,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ve,requiredFeatures:Ve,requiredFonts:Ve,requiredFormats:Ve,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Ue,specularExponent:Ue,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Ue,strikethroughThickness:Ue,string:null,stroke:null,strokeDashArray:Ve,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Ue,strokeOpacity:Ue,strokeWidth:null,style:null,surfaceScale:Ue,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ve,tabIndex:Ue,tableValues:null,target:null,targetX:Ue,targetY:Ue,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ve,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Ue,underlineThickness:Ue,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Ue,values:null,vAlphabetic:Ue,vMathematical:Ue,vectorEffect:null,vHanging:Ue,vIdeographic:Ue,version:null,vertAdvY:Ue,vertOriginX:Ue,vertOriginY:Ue,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Ue,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),lt=Oe([Je,Xe,et,tt,nt],"html"),ot=Oe([Je,Xe,et,tt,rt],"svg"),it=/^data[-\w.:]+$/i,at=/-[a-z]/g,ut=/[A-Z]/g;function st(e){return"-"+e.toLowerCase()}function ct(e){return e.charAt(1).toUpperCase()}const ft={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var dt=n(222);const pt=dt.default||dt,ht=gt("end"),mt=gt("start");function gt(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"===typeof n.line&&n.line>0&&"number"===typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"===typeof n.offset&&n.offset>-1?n.offset:void 0}}}function yt(e){return e&&"object"===typeof e?"position"in e||"type"in e?bt(e.position):"start"in e||"end"in e?bt(e):"line"in e||"column"in e?vt(e):"":""}function vt(e){return kt(e&&e.line)+":"+kt(e&&e.column)}function bt(e){return vt(e&&e.start)+"-"+vt(e&&e.end)}function kt(e){return e&&"number"===typeof e?e:1}class xt extends Error{constructor(e,t,n){super(),"string"===typeof t&&(n=t,t=void 0);let r="",l={},o=!1;if(t&&(l="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"===typeof e?r=e:!l.cause&&e&&(o=!0,r=e.message,l.cause=e),!l.ruleId&&!l.source&&"string"===typeof n){const e=n.indexOf(":");-1===e?l.ruleId=n:(l.source=n.slice(0,e),l.ruleId=n.slice(e+1))}if(!l.place&&l.ancestors&&l.ancestors){const e=l.ancestors[l.ancestors.length-1];e&&(l.place=e.position)}const i=l.place&&"start"in l.place?l.place.start:l.place;this.ancestors=l.ancestors||void 0,this.cause=l.cause||void 0,this.column=i?i.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=i?i.line:void 0,this.name=yt(l.place)||"1:1",this.place=l.place||void 0,this.reason=this.message,this.ruleId=l.ruleId||void 0,this.source=l.source||void 0,this.stack=o&&l.cause&&"string"===typeof l.cause.stack?l.cause.stack:"",this.actual,this.expected,this.note,this.url}}xt.prototype.file="",xt.prototype.name="",xt.prototype.reason="",xt.prototype.message="",xt.prototype.stack="",xt.prototype.column=void 0,xt.prototype.line=void 0,xt.prototype.ancestors=void 0,xt.prototype.cause=void 0,xt.prototype.fatal=void 0,xt.prototype.place=void 0,xt.prototype.ruleId=void 0,xt.prototype.source=void 0;const wt={}.hasOwnProperty,St=new Map,Et=/[A-Z]/g,Ct=/-([a-z])/g,Pt=new Set(["table","tbody","thead","tfoot","tr"]),_t=new Set(["td","th"]),Nt="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Tt(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if("function"!==typeof t.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=function(e,t){return n;function n(n,r,l,o){const i=Array.isArray(l.children),a=mt(n);return t(r,l,o,i,{columnNumber:a?a.column-1:void 0,fileName:e,lineNumber:a?a.line:void 0},void 0)}}(n,t.jsxDEV)}else{if("function"!==typeof t.jsx)throw new TypeError("Expected `jsx` in production options");if("function"!==typeof t.jsxs)throw new TypeError("Expected `jsxs` in production options");r=function(e,t,n){return r;function r(e,r,l,o){const i=Array.isArray(l.children)?n:t;return o?i(r,l,o):i(r,l)}}(0,t.jsx,t.jsxs)}const l={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?ot:lt,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},o=zt(l,e,void 0);return o&&"string"!==typeof o?o:l.create(e,l.Fragment,{children:o||void 0},void 0)}function zt(e,t,n){return"element"===t.type?function(e,t,n){const r=e.schema;let l=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(l=ot,e.schema=l);e.ancestors.push(t);const o=Rt(e,t.tagName,!1),i=function(e,t){const n={};let r,l;for(l in t.properties)if("children"!==l&&wt.call(t.properties,l)){const o=Dt(e,l,t.properties[l]);if(o){const[l,i]=o;e.tableCellAlignToStyle&&"align"===l&&"string"===typeof i&&_t.has(t.tagName)?r=i:n[l]=i}}if(r){(n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r}return n}(e,t);let a=Ot(e,t);Pt.has(t.tagName)&&(a=a.filter((function(e){return"string"!==typeof e||!("object"===typeof(t=e)?"text"===t.type&&Ie(t.value):Ie(t));var t})));return It(e,i,o,t),Lt(i,a),e.ancestors.pop(),e.schema=r,e.create(t,o,i,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}Mt(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){const r=e.schema;let l=r;"svg"===t.name&&"html"===r.space&&(l=ot,e.schema=l);e.ancestors.push(t);const o=null===t.name?e.Fragment:Rt(e,t.name,!0),i=function(e,t){const n={};for(const r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){const t=r.data.estree.body[0];t.type;const l=t.expression;l.type;const o=l.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else Mt(e,t.position);else{const l=r.name;let o;if(r.value&&"object"===typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){const t=r.value.data.estree.body[0];t.type,o=e.evaluater.evaluateExpression(t.expression)}else Mt(e,t.position);else o=null===r.value||r.value;n[l]=o}return n}(e,t),a=Ot(e,t);return It(e,i,o,t),Lt(i,a),e.ancestors.pop(),e.schema=r,e.create(t,o,i,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Mt(e,t.position)}(e,t):"root"===t.type?function(e,t,n){const r={};return Lt(r,Ot(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?function(e,t){return t.value}(0,t):void 0}function It(e,t,n,r){"string"!==typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Lt(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Ot(e,t){const n=[];let r=-1;const l=e.passKeys?new Map:St;for(;++r4&&"data"===n.slice(0,4)&&it.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(at,ct);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!at.test(e)){let n=e.replace(ut,st);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}l=Qe}return new l(r,t)}(e.schema,t);if(!(null===n||void 0===n||"number"===typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"===typeof n?n:function(e,t){const n={};try{pt(t,r)}catch(l){if(!e.ignoreInvalidStyle){const t=l,n=new xt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:t,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Nt+"#cannot-parse-style-attribute",n}}return n;function r(e,t){let r=e;"--"!==r.slice(0,2)&&("-ms-"===r.slice(0,4)&&(r="ms-"+r.slice(4)),r=r.replace(Ct,jt)),n[r]=t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){const t={};let n;for(n in e)wt.call(e,n)&&(t[Ft(n)]=e[n]);return t}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?ft[r.property]||r.property:r.attribute,n]}}function Rt(e,t,n){let r;if(n)if(t.includes(".")){const e=t.split(".");let n,l=-1;for(;++ll?0:l+t:t>l?l:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);i0?($t(e,e.length,0,t),e):t}class Qt{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return ethis.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){const r=t||0;this.setCursor(Math.trunc(e));const l=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&qt(this.left,n),l.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),qt(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),qt(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&0===this.right.length||e<0&&0===this.left.length))if(e-1&&e.test(String.fromCharCode(t))}}function pn(e,t,n,r){const l=r?r-1:Number.POSITIVE_INFINITY;let o=0;return function(r){if(sn(r))return e.enter(n),i(r);return t(r)};function i(r){return sn(r)&&o++o))return;const n=t.events.length;let l,a,u=n;for(;u--;)if("exit"===t.events[u][0]&&"chunkFlow"===t.events[u][1].type){if(l){a=t.events[u][1].end;break}l=!0}for(y(i),e=n;er;){const r=n[l];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){r.write([null]),l=void 0,r=void 0,t.containerState._closeFlow=void 0}}},gn={tokenize:function(e,t,n){return pn(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const yn={tokenize:function(e,t,n){return function(t){return sn(t)?pn(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||an(e)?t(e):n(e)}},partial:!0};const vn={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?l(t):an(t)?e.check(bn,o,l)(t):(e.consume(t),r)}function l(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return Kt(e),e}},bn={tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),pn(e,l,"linePrefix")};function l(l){if(null===l||an(l))return n(l);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(l):e.interrupt(r.parser.constructs.flow,n,t)(l)}},partial:!0};const kn={tokenize:function(e){const t=this,n=e.attempt(yn,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,pn(e,e.attempt(this.parser.constructs.flow,r,e.attempt(vn,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const xn={resolveAll:Cn()},wn=En("string"),Sn=En("text");function En(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],l=t.attempt(r,o,i);return o;function o(e){return u(e)?l(e):i(e)}function i(e){if(null!==e)return t.enter("data"),t.consume(e),a;t.consume(e)}function a(e){return u(e)?(t.exit("data"),l(e)):(t.consume(e),a)}function u(e){if(null===e)return!0;const t=r[e];let l=-1;if(t)for(;++l-1){const e=i[0];"string"===typeof e?i[0]=e.slice(r):i.shift()}o>0&&i.push(e[l].slice(0,o))}return i}(i,e)}function h(){const{line:e,column:t,offset:n,_index:l,_bufferIndex:o}=r;return{line:e,column:t,offset:n,_index:l,_bufferIndex:o}}function m(){let e;for(;r._index=3&&(null===o||an(o))?(e.exit("thematicBreak"),t(o)):n(o)}function i(t){return t===r?(e.consume(t),l++,i):(e.exit("thematicBreakSequence"),sn(t)?pn(e,o,"whitespace")(t):o(t))}}};const zn={name:"list",tokenize:function(e,t,n){const r=this,l=r.events[r.events.length-1];let o=l&&"linePrefix"===l[1].type?l[2].sliceSerialize(l[1],!0).length:0,i=0;return function(t){const l=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===l?!r.containerState.marker||t===r.containerState.marker:rn(t)){if(r.containerState.type||(r.containerState.type=l,e.enter(l,{_container:!0})),"listUnordered"===l)return e.enter("listItemPrefix"),42===t||45===t?e.check(Tn,n,u)(t):u(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(t)}return n(t)};function a(t){return rn(t)&&++i<10?(e.consume(t),a):(!r.interrupt||i<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),u(t)):n(t)}function u(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(yn,r.interrupt?n:s,e.attempt(In,f,c))}function s(e){return r.containerState.initialBlankLine=!0,o++,f(e)}function c(t){return sn(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),f):n(t)}function f(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(yn,l,o);function l(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,pn(e,t,"listItemIndent",r.containerState.size+1)(n)}function o(n){return r.containerState.furtherBlankLines||!sn(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Ln,t,i)(n))}function i(l){return r.containerState._closeFlow=!0,r.interrupt=void 0,pn(e,e.attempt(zn,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}},exit:function(e){e.exit(this.containerState.type)}},In={tokenize:function(e,t,n){const r=this;return pn(e,(function(e){const l=r.events[r.events.length-1];return!sn(e)&&l&&"listItemPrefixWhitespace"===l[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},Ln={tokenize:function(e,t,n){const r=this;return pn(e,(function(e){const l=r.events[r.events.length-1];return l&&"listItemIndent"===l[1].type&&l[2].sliceSerialize(l[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};const On={name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),l}return n(t)};function l(n){return sn(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){const r=this;return function(t){if(sn(t))return pn(e,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t);return l(t)};function l(r){return e.attempt(On,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function Dn(e,t,n,r,l,o,i,a,u){const s=u||Number.POSITIVE_INFINITY;let c=0;return function(t){if(60===t)return e.enter(r),e.enter(l),e.enter(o),e.consume(t),e.exit(o),f;if(null===t||32===t||41===t||nn(t))return n(t);return e.enter(r),e.enter(i),e.enter(a),e.enter("chunkString",{contentType:"string"}),h(t)};function f(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(l),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(a),f(t)):null===t||60===t||an(t)?n(t):(e.consume(t),92===t?p:d)}function p(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function h(l){return c||null!==l&&41!==l&&!un(l)?c999||null===f||91===f||93===f&&!a||94===f&&!u&&"_hiddenFootnoteSupport"in i.parser.constructs?n(f):93===f?(e.exit(o),e.enter(l),e.consume(f),e.exit(l),e.exit(r),t):an(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(t){return null===t||91===t||93===t||an(t)||u++>999?(e.exit("chunkString"),s(t)):(e.consume(t),a||(a=!sn(t)),92===t?f:c)}function f(t){return 91===t||92===t||93===t?(e.consume(t),u++,c):c(t)}}function Mn(e,t,n,r,l,o){let i;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(l),e.consume(t),e.exit(l),i=40===t?41:t,a;return n(t)};function a(n){return n===i?(e.enter(l),e.consume(n),e.exit(l),e.exit(r),t):(e.enter(o),u(n))}function u(t){return t===i?(e.exit(o),a(i)):null===t?n(t):an(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),pn(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(t))}function s(t){return t===i||null===t||an(t)?(e.exit("chunkString"),u(t)):(e.consume(t),92===t?c:s)}function c(t){return t===i||92===t?(e.consume(t),s):s(t)}}function Fn(e,t){let n;return function r(l){if(an(l))return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),n=!0,r;if(sn(l))return pn(e,r,n?"linePrefix":"lineSuffix")(l);return t(l)}}function jn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const An={name:"definition",tokenize:function(e,t,n){const r=this;let l;return function(t){return e.enter("definition"),function(t){return Rn.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function o(t){return l=jn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),i):n(t)}function i(t){return un(t)?Fn(e,a)(t):a(t)}function a(t){return Dn(e,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function u(t){return e.attempt(Un,s,s)(t)}function s(t){return sn(t)?pn(e,c,"whitespace")(t):c(t)}function c(o){return null===o||an(o)?(e.exit("definition"),r.parser.defined.push(l),t(o)):n(o)}}},Un={tokenize:function(e,t,n){return function(t){return un(t)?Fn(e,r)(t):n(t)};function r(t){return Mn(e,l,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function l(t){return sn(t)?pn(e,o,"whitespace")(t):o(t)}function o(e){return null===e||an(e)?t(e):n(e)}},partial:!0};const Bn={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),pn(e,l,"linePrefix",5)(t)};function l(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return null===t?a(t):an(t)?e.attempt(Hn,o,a)(t):(e.enter("codeFlowValue"),i(t))}function i(t){return null===t||an(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),i)}function a(n){return e.exit("codeIndented"),t(n)}}},Hn={tokenize:function(e,t,n){const r=this;return l;function l(t){return r.parser.lazy[r.now().line]?n(t):an(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l):pn(e,o,"linePrefix",5)(t)}function o(e){const o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):an(e)?l(e):n(e)}},partial:!0};const Vn={name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),l(t)}(t)};function l(t){return 35===t&&r++<6?(e.consume(t),l):null===t||un(t)?(e.exit("atxHeadingSequence"),o(t)):n(t)}function o(n){return 35===n?(e.enter("atxHeadingSequence"),i(n)):null===n||an(n)?(e.exit("atxHeading"),t(n)):sn(n)?pn(e,o,"whitespace")(n):(e.enter("atxHeadingText"),a(n))}function i(t){return 35===t?(e.consume(t),i):(e.exit("atxHeadingSequence"),o(t))}function a(t){return null===t||35===t||un(t)?(e.exit("atxHeadingText"),o(t)):(e.consume(t),a)}},resolve:function(e,t){let n,r,l=e.length-2,o=3;"whitespace"===e[o][1].type&&(o+=2);l-2>o&&"whitespace"===e[l][1].type&&(l-=2);"atxHeadingSequence"===e[l][1].type&&(o===l-1||l-4>o&&"whitespace"===e[l-2][1].type)&&(l-=o+1===l?2:4);l>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[l][1].end},r={type:"chunkText",start:e[o][1].start,end:e[l][1].end,contentType:"text"},$t(e,o,l-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const $n={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let l;return function(t){let i,a=r.events.length;for(;a--;)if("lineEnding"!==r.events[a][1].type&&"linePrefix"!==r.events[a][1].type&&"content"!==r.events[a][1].type){i="paragraph"===r.events[a][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||i))return e.enter("setextHeadingLine"),l=t,function(t){return e.enter("setextHeadingLineSequence"),o(t)}(t);return n(t)};function o(t){return t===l?(e.consume(t),o):(e.exit("setextHeadingLineSequence"),sn(t)?pn(e,i,"lineSuffix")(t):i(t))}function i(r){return null===r||an(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,l,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),l||"definition"!==e[o][1].type||(l=o);const i={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",l?(e.splice(r,0,["enter",i,t]),e.splice(l+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[l][1].end)):e[n][1]=i;return e.push(["exit",i,t]),e}};const Wn=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Qn=["pre","script","style","textarea"],qn={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let l,o,i,a,u;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),s}(t)};function s(a){return 33===a?(e.consume(a),c):47===a?(e.consume(a),o=!0,p):63===a?(e.consume(a),l=3,r.interrupt?t:D):Gt(a)?(e.consume(a),i=String.fromCharCode(a),h):n(a)}function c(o){return 45===o?(e.consume(o),l=2,f):91===o?(e.consume(o),l=5,a=0,d):Gt(o)?(e.consume(o),l=4,r.interrupt?t:D):n(o)}function f(l){return 45===l?(e.consume(l),r.interrupt?t:D):n(l)}function d(l){const o="CDATA[";return l===o.charCodeAt(a++)?(e.consume(l),6===a?r.interrupt?t:P:d):n(l)}function p(t){return Gt(t)?(e.consume(t),i=String.fromCharCode(t),h):n(t)}function h(a){if(null===a||47===a||62===a||un(a)){const u=47===a,s=i.toLowerCase();return u||o||!Qn.includes(s)?Wn.includes(i.toLowerCase())?(l=6,u?(e.consume(a),m):r.interrupt?t(a):P(a)):(l=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(a):o?g(a):y(a)):(l=1,r.interrupt?t(a):P(a))}return 45===a||en(a)?(e.consume(a),i+=String.fromCharCode(a),h):n(a)}function m(l){return 62===l?(e.consume(l),r.interrupt?t:P):n(l)}function g(t){return sn(t)?(e.consume(t),g):E(t)}function y(t){return 47===t?(e.consume(t),E):58===t||95===t||Gt(t)?(e.consume(t),v):sn(t)?(e.consume(t),y):E(t)}function v(t){return 45===t||46===t||58===t||95===t||en(t)?(e.consume(t),v):b(t)}function b(t){return 61===t?(e.consume(t),k):sn(t)?(e.consume(t),b):y(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),u=t,x):sn(t)?(e.consume(t),k):w(t)}function x(t){return t===u?(e.consume(t),u=null,S):null===t||an(t)?n(t):(e.consume(t),x)}function w(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||un(t)?b(t):(e.consume(t),w)}function S(e){return 47===e||62===e||sn(e)?y(e):n(e)}function E(t){return 62===t?(e.consume(t),C):n(t)}function C(t){return null===t||an(t)?P(t):sn(t)?(e.consume(t),C):n(t)}function P(t){return 45===t&&2===l?(e.consume(t),z):60===t&&1===l?(e.consume(t),I):62===t&&4===l?(e.consume(t),R):63===t&&3===l?(e.consume(t),D):93===t&&5===l?(e.consume(t),O):!an(t)||6!==l&&7!==l?null===t||an(t)?(e.exit("htmlFlowData"),_(t)):(e.consume(t),P):(e.exit("htmlFlowData"),e.check(Kn,M,_)(t))}function _(t){return e.check(Yn,N,M)(t)}function N(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),T}function T(t){return null===t||an(t)?_(t):(e.enter("htmlFlowData"),P(t))}function z(t){return 45===t?(e.consume(t),D):P(t)}function I(t){return 47===t?(e.consume(t),i="",L):P(t)}function L(t){if(62===t){const n=i.toLowerCase();return Qn.includes(n)?(e.consume(t),R):P(t)}return Gt(t)&&i.length<8?(e.consume(t),i+=String.fromCharCode(t),L):P(t)}function O(t){return 93===t?(e.consume(t),D):P(t)}function D(t){return 62===t?(e.consume(t),R):45===t&&2===l?(e.consume(t),D):P(t)}function R(t){return null===t||an(t)?(e.exit("htmlFlowData"),M(t)):(e.consume(t),R)}function M(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},Kn={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(yn,t,n)}},partial:!0},Yn={tokenize:function(e,t,n){const r=this;return function(t){if(an(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l;return n(t)};function l(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0};const Xn={tokenize:function(e,t,n){const r=this;return function(t){if(null===t)return n(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l};function l(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},Jn={name:"codeFenced",tokenize:function(e,t,n){const r=this,l={tokenize:function(e,t,n){let l=0;return i;function i(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u}function u(t){return e.enter("codeFencedFence"),sn(t)?pn(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):s(t)}function s(t){return t===o?(e.enter("codeFencedFenceSequence"),c(t)):n(t)}function c(t){return t===o?(l++,e.consume(t),c):l>=a?(e.exit("codeFencedFenceSequence"),sn(t)?pn(e,f,"whitespace")(t):f(t)):n(t)}function f(r){return null===r||an(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let o,i=0,a=0;return function(t){return function(t){const n=r.events[r.events.length-1];return i=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,o=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),u(t)}(t)};function u(t){return t===o?(a++,e.consume(t),u):a<3?n(t):(e.exit("codeFencedFenceSequence"),sn(t)?pn(e,s,"whitespace")(t):s(t))}function s(n){return null===n||an(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Xn,p,v)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),c(n))}function c(t){return null===t||an(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),s(t)):sn(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),pn(e,f,"whitespace")(t)):96===t&&t===o?n(t):(e.consume(t),c)}function f(t){return null===t||an(t)?s(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return null===t||an(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),s(t)):96===t&&t===o?n(t):(e.consume(t),d)}function p(t){return e.attempt(l,v,h)(t)}function h(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return i>0&&sn(t)?pn(e,g,"linePrefix",i+1)(t):g(t)}function g(t){return null===t||an(t)?e.check(Xn,p,v)(t):(e.enter("codeFlowValue"),y(t))}function y(t){return null===t||an(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),y)}function v(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const Zn=document.createElement("i");function Gn(e){const t="&"+e+";";Zn.innerHTML=t;const n=Zn.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}const er={name:"characterReference",tokenize:function(e,t,n){const r=this;let l,o,i=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),a};function a(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),l=31,o=en,s(t))}function u(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),l=6,o=ln,s):(e.enter("characterReferenceValue"),l=7,o=rn,s(t))}function s(a){if(59===a&&i){const l=e.exit("characterReferenceValue");return o!==en||Gn(r.sliceSerialize(l))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return o(a)&&i++1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;const f=Object.assign({},e[n][1].end),d=Object.assign({},e[c][1].start);cr(f,-a),cr(d,a),o={type:a>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[n][1].end)},i={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:d},l={type:a>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[c][1].start)},r={type:a>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},i.end)},e[n][1].end=Object.assign({},o.start),e[c][1].start=Object.assign({},i.end),u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=Wt(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=Wt(u,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",l,t]]),u=Wt(u,_n(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),u=Wt(u,[["exit",l,t],["enter",i,t],["exit",i,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(s=2,u=Wt(u,[["enter",e[c][1],t],["exit",e[c][1],t]])):s=0,$t(e,n-1,c-n+3,u),c=n+u.length-s-2;break}c=-1;for(;++c13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535===(65535&n)||65534===(65535&n)||n>1114111?"\ufffd":String.fromCodePoint(n)}const Nr=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Tr(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return _r(n.slice(t?2:1),t?16:10)}return Gn(n)||e}const zr={}.hasOwnProperty;function Ir(e,t,n){return"string"!==typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(te),autolinkProtocol:C,autolinkEmail:C,atxHeading:o(J),blockQuote:o(Q),characterEscape:C,characterReference:C,codeFenced:o(q),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:o(q,i),codeText:o(K,i),codeTextData:C,data:C,codeFlowValue:C,definition:o(Y),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:o(X),hardBreakEscape:o(Z),hardBreakTrailing:o(Z),htmlFlow:o(G,i),htmlFlowData:C,htmlText:o(G,i),htmlTextData:C,image:o(ee),label:i,link:o(te),listItem:o(re),listItemValue:d,listOrdered:o(ne,f),listUnordered:o(ne),paragraph:o(le),reference:A,referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:o(J),strong:o(oe),thematicBreak:o(ae)},exit:{atxHeading:u(),atxHeadingSequence:x,autolink:u(),autolinkEmail:W,autolinkProtocol:$,blockQuote:u(),characterEscapeValue:P,characterReferenceMarkerHexadecimal:B,characterReferenceMarkerNumeric:B,characterReferenceValue:H,characterReference:V,codeFenced:u(g),codeFencedFence:m,codeFencedFenceInfo:p,codeFencedFenceMeta:h,codeFlowValue:P,codeIndented:u(y),codeText:u(I),codeTextData:P,data:P,definition:u(),definitionDestinationString:k,definitionLabelString:v,definitionTitleString:b,emphasis:u(),hardBreakEscape:u(N),hardBreakTrailing:u(N),htmlFlow:u(T),htmlFlowData:P,htmlText:u(z),htmlTextData:P,image:u(O),label:R,labelText:D,lineEnding:_,link:u(L),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:U,resourceDestinationString:M,resourceTitleString:F,resource:j,setextHeading:u(E),setextHeadingLineSequence:S,setextHeadingText:w,strong:u(),thematicBreak:u()}};Or(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let r={type:"root",children:[]};const o={stack:[r],tokenStack:[],config:t,enter:a,exit:s,buffer:i,resume:c,data:n},u=[];let f=-1;for(;++f0){const e=o.tokenStack[o.tokenStack.length-1];(e[1]||Rr).call(o,void 0,e[0])}for(r.position={start:Lr(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:Lr(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},f=-1;++f((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=l=>{if(e.has(l))return e.get(l);const[o,i]=t[l];switch(o){case 0:case-1:return n(i,l);case 1:{const e=n([],l);for(const t of i)e.push(r(t));return e}case 2:{const e=n({},l);for(const[t,n]of i)e[r(t)]=r(n);return e}case 3:return n(new Date(i),l);case 4:{const{source:e,flags:t}=i;return n(new RegExp(e,t),l)}case 5:{const e=n(new Map,l);for(const[t,n]of i)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,l);for(const t of i)e.add(r(t));return e}case 7:{const{name:e,message:t}=i;return n(new Fr[e](t),l)}case 8:return n(BigInt(i),l);case"BigInt":return n(Object(BigInt(i)),l)}return n(new Fr[o](i),l)};return r})(new Map,e)(0),Ar="",{toString:Ur}={},{keys:Br}=Object,Hr=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=Ur.call(e).slice(8,-1);switch(n){case"Array":return[1,Ar];case"Object":return[2,Ar];case"Date":return[3,Ar];case"RegExp":return[4,Ar];case"Map":return[5,Ar];case"Set":return[6,Ar]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},Vr=e=>{let[t,n]=e;return 0===t&&("function"===n||"symbol"===n)},$r=function(e){let{json:t,lossy:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=[];return((e,t,n,r)=>{const l=(e,t)=>{const l=r.push(e)-1;return n.set(t,l),l},o=r=>{if(n.has(r))return n.get(r);let[i,a]=Hr(r);switch(i){case 0:{let t=r;switch(a){case"bigint":i=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+a);t=null;break;case"undefined":return l([-1],r)}return l([i,t],r)}case 1:{if(a)return l([a,[...r]],r);const e=[],t=l([i,e],r);for(const n of r)e.push(o(n));return t}case 2:{if(a)switch(a){case"BigInt":return l([a,r.toString()],r);case"Boolean":case"Number":case"String":return l([a,r.valueOf()],r)}if(t&&"toJSON"in r)return o(r.toJSON());const n=[],u=l([i,n],r);for(const t of Br(r))!e&&Vr(Hr(r[t]))||n.push([o(t),o(r[t])]);return u}case 3:return l([i,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return l([i,{source:e,flags:t}],r)}case 5:{const t=[],n=l([i,t],r);for(const[l,i]of r)(e||!Vr(Hr(l))&&!Vr(Hr(i)))&&t.push([o(l),o(i)]);return n}case 6:{const t=[],n=l([i,t],r);for(const l of r)!e&&Vr(Hr(l))||t.push(o(l));return n}}const{message:u}=r;return l([i,{name:a,message:u}],r)};return o})(!(t||n),!!t,new Map,r)(e),r},Wr="function"===typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?jr($r(e,t)):structuredClone(e):(e,t)=>jr($r(e,t));function Qr(e){const t=[];let n=-1,r=0,l=0;for(;++n55295&&o<57344){const t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(i=String.fromCharCode(o,t),l=1):i="\ufffd"}else i=String.fromCharCode(o);i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+l+1,i=""),l&&(n+=l,l=0)}return t.join("")+e.slice(r)}function qr(e,t){const n=[{type:"text",value:"\u21a9"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function Kr(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const Yr=function(e){if(null===e||void 0===e)return Jr;if("function"===typeof e)return Xr(e);if("object"===typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n":"")+")"})}return c;function c(){let s,c,f,d=Gr;if((!t||o(l,a,u[u.length-1]||void 0))&&(d=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[el,e];return null===e||void 0===e?Gr:[e]}(n(l,u)),d[0]===tl))return d;if("children"in l&&l.children){const t=l;if(t.children&&d[0]!==nl)for(c=(r?t.children.length:-1)+i,f=u.concat(t);c>-1&&c1:t}const al=9,ul=32;function sl(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),l=0;const o=[];for(;r;)o.push(cl(t.slice(l,r.index),l>0,!0),r[0]),l=r.index+r[0].length,r=n.exec(t);return o.push(cl(t.slice(l),l>0,!1)),o.join("")}function cl(e,t,n){let r=0,l=e.length;if(t){let t=e.codePointAt(r);for(;t===al||t===ul;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(l-1);for(;t===al||t===ul;)l--,t=e.codePointAt(l-1)}return l>r?e.slice(r,l):""}const fl={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let l={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(l.data={meta:t.meta}),e.patch(t,l),l=e.applyData(t,l),l={type:"element",tagName:"pre",properties:{},children:[l]},e.patch(t,l),l},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"===typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),l=Qr(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);let i,a=e.footnoteCounts.get(r);void 0===a?(a=0,e.footnoteOrder.push(r),i=e.footnoteOrder.length):i=o+1,a+=1,e.footnoteCounts.set(r,a);const u={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+l,id:n+"fnref-"+l+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(i)}]};e.patch(t,u);const s={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,s),e.applyData(t,s)},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return ol(e,t);const l={src:Qr(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(l.title=r.title);const o={type:"element",tagName:"img",properties:l,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){const n={src:Qr(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return ol(e,t);const l={href:Qr(r.url||"")};null!==r.title&&void 0!==r.title&&(l.title=r.title);const o={type:"element",tagName:"a",properties:l,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){const n={href:Qr(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),l=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=mt(t.children[1]),i=ht(t.children[t.children.length-1]);o&&i&&(r.position={start:o,end:i}),l.push(r)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(l,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,l=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,i=o?o.length:t.children.length;let a=-1;const u=[];for(;++a0&&n.push({type:"text",value:"\n"}),n}function bl(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function kl(e,t){const n=function(e,t){const n=t||hl,r=new Map,l=new Map,o=new Map,i={...fl,...n.handlers},a={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r0&&f.push({type:"text",value:" "});let e="string"===typeof n?n:n(u,c);"string"===typeof e&&(e={type:"text",value:e}),f.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+s+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"===typeof r?r:r(u,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const p=o[o.length-1];if(p&&"element"===p.type&&"p"===p.tagName){const e=p.children[p.children.length-1];e&&"text"===e.type?e.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...f)}else o.push(...f);const h={type:"element",tagName:"li",properties:{id:t+"fn-"+s},children:e.wrap(o,!0)};e.patch(l,h),a.push(h)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...Wr(i),id:"footnote-label"},children:[{type:"text",value:l}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:"\n"}]}}(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return l&&o.children.push({type:"text",value:"\n"},l),o}function xl(e,t){return e&&"run"in e?async function(n,r){const l=kl(n,{file:r,...t});await e.run(l,r)}:function(n,r){return kl(n,{file:r,...t||e})}}function wl(e){if(e)throw e}var Sl=n(240);function El(e){if("object"!==typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Cl(){const e=[],t={run:function(){for(var t=arguments.length,n=new Array(t),r=0;r1?u-1:0),c=1;cl.length;let s;u&&l.push(o);try{s=e.apply(this,l)}catch(r){if(u&&n)throw r;return o(r)}u||(s&&s.then&&"function"===typeof s.then?s.then(i,o):s instanceof Error?o(s):i(s))}function o(e){if(!n){n=!0;for(var r=arguments.length,l=new Array(r>1?r-1:0),o=1;oe.length){for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else l<0&&(n=!0,l=o+1);return l<0?"":e.slice(r,l)}if(t===e)return"";let i=-1,a=t.length-1;for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1),a>-1&&(e.codePointAt(o)===t.codePointAt(a--)?a<0&&(l=o):(a=-1,l=i));r===l?l=i:l<0&&(l=e.length);return e.slice(r,l)},dirname:function(e){if(_l(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){_l(e);let t,n=e.length,r=-1,l=0,o=-1,i=0;for(;n--;){const a=e.codePointAt(n);if(47!==a)r<0&&(t=!0,r=n+1),46===a?o<0?o=n:1!==i&&(i=1):o>-1&&(i=-1);else if(t){l=n+1;break}}if(o<0||r<0||0===i||1===i&&o===r-1&&o===l+1)return"";return e.slice(o,r)},join:function(){let e,t=-1;for(var n=arguments.length,r=new Array(n),l=0;l2){if(r=l.lastIndexOf("/"),r!==l.length-1){r<0?(l="",o=0):(l=l.slice(0,r),o=l.length-1-l.lastIndexOf("/")),i=u,a=0;continue}}else if(l.length>0){l="",o=0,i=u,a=0;continue}t&&(l=l.length>0?l+"/..":"..",o=2)}else l.length>0?l+="/"+e.slice(i+1,u):l=e.slice(i+1,u),o=u-i-1;i=u,a=0}else 46===n&&a>-1?a++:a=-1}return l}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/");return t?"/"+n:n}(e)},sep:"/"};function _l(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Nl={cwd:function(){return"/"}};function Tl(e){return Boolean(null!==e&&"object"===typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function zl(e){if("string"===typeof e)e=new URL(e);else if(!Tl(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n1?r-1:0),o=1;o0){let[r,...o]=n;const i=t[l][1];El(i)&&El(r)&&(r=Sl(!0,i,r)),t[l]=[e,r,...o]}}}}const Al=(new jl).freeze();function Ul(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function Bl(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function Hl(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Vl(e){if(!El(e)||"string"!==typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function $l(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Wl(e){return function(e){return Boolean(e&&"object"===typeof e&&"message"in e&&"messages"in e)}(e)?e:new Ll(e)}const Ql=[],ql={allowDangerousHtml:!0},Kl=/^(https?|ircs?|mailto|xmpp)$/i,Yl=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Xl(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",l=e.className,o=e.components,i=e.disallowedElements,a=e.rehypePlugins||Ql,u=e.remarkPlugins||Ql,s=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...ql}:ql,c=e.skipHtml,f=e.unwrapDisallowed,d=e.urlTransform||Jl,p=Al().use(Mr).use(u).use(xl,s).use(a),h=new Ll;"string"===typeof r&&(h.value=r);for(const y of Yl)Object.hasOwn(e,y.from)&&(y.from,y.to&&y.to,y.id);const m=p.parse(h);let g=p.runSync(m,h);return l&&(g={type:"element",tagName:"div",properties:{className:l},children:"root"===g.type?g.children:[g]}),ll(g,(function(e,r,l){if("raw"===e.type&&l&&"number"===typeof r)return c?l.children.splice(r,1):l.children[r]={type:"text",value:e.value},r;if("element"===e.type){let t;for(t in Ut)if(Object.hasOwn(Ut,t)&&Object.hasOwn(e.properties,t)){const n=e.properties[t],r=Ut[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=d(String(n||""),t,e))}}if("element"===e.type){let o=t?!t.includes(e.tagName):!!i&&i.includes(e.tagName);if(!o&&n&&"number"===typeof r&&(o=!n(e,r,l)),o&&l&&"number"===typeof r)return f&&e.children?l.children.splice(r,1,...e.children):l.children.splice(r,1),r}})),Tt(g,{Fragment:ge.Fragment,components:o,ignoreInvalidStyle:!0,jsx:ge.jsx,jsxs:ge.jsxs,passKeys:!0,passNode:!0})}function Jl(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),l=e.indexOf("/");return t<0||l>-1&&t>l||n>-1&&t>n||r>-1&&t>r||Kl.test(e.slice(0,t))?e:""}function Zl(){const e={image:ve||"",title:"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0438",shortDescription:"\u0422\u0443\u0442 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043a\u0440\u0430\u0442\u043a\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0438",description:"# Markdown \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\n\u041e\u043d\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043e\u0447\u0435\u043d\u044c \u0434\u043b\u0438\u043d\u043d\u044b\u043c!"};return(0,ge.jsxs)("div",{className:"section body-text content-box vertical-box item",children:[(0,ge.jsxs)("div",{className:"horizontal-box preview",children:[(0,ge.jsx)("img",{src:e.image,alt:e.title}),(0,ge.jsxs)("div",{children:[(0,ge.jsx)("h1",{children:e.title}),e.shortDescription]})]}),(0,ge.jsx)(Xl,{children:e.description})]})}function Gl(){const{page:e}=Y();return(0,ge.jsxs)("div",{children:[(0,ge.jsx)(ye,{}),"about"===e?(0,ge.jsx)(xe,{}):"store"===e?(0,ge.jsx)(ke,{}):"vacancy"===e?(0,ge.jsx)(Ce,{}):(0,ge.jsx)(Zl,{}),(0,ge.jsx)(we,{})]})}function eo(){return(0,ge.jsx)("div",{className:"App",children:(0,ge.jsx)(fe,{children:(0,ge.jsx)(ue,{children:(0,ge.jsx)(ie,{path:":page?/:subpage?",element:(0,ge.jsx)(Gl,{})})})})})}i.createRoot(document.getElementById("root")).render((0,ge.jsx)(l.StrictMode,{children:(0,ge.jsx)(eo,{})}))})()})();
+//# sourceMappingURL=main.d06055e6.js.map
\ No newline at end of file
diff --git a/frontend/static/media/IconTitle.8c1197cb53cdb26ecdd7df17ac1107b5.svg b/frontend/static/media/IconTitle.8c1197cb53cdb26ecdd7df17ac1107b5.svg
new file mode 100644
index 0000000..0dadf8e
--- /dev/null
+++ b/frontend/static/media/IconTitle.8c1197cb53cdb26ecdd7df17ac1107b5.svg
@@ -0,0 +1,24 @@
+
diff --git a/frontend/static/media/avatar.e6a82bfc54b2a0b85cec8ec36a4db6d0.svg b/frontend/static/media/avatar.e6a82bfc54b2a0b85cec8ec36a4db6d0.svg
new file mode 100644
index 0000000..826880d
--- /dev/null
+++ b/frontend/static/media/avatar.e6a82bfc54b2a0b85cec8ec36a4db6d0.svg
@@ -0,0 +1,3 @@
+
diff --git a/frontend/static/media/card-image.6e196fb2ee10df3c81213358f43872e0.svg b/frontend/static/media/card-image.6e196fb2ee10df3c81213358f43872e0.svg
new file mode 100644
index 0000000..b936ad2
--- /dev/null
+++ b/frontend/static/media/card-image.6e196fb2ee10df3c81213358f43872e0.svg
@@ -0,0 +1,3 @@
+
diff --git a/frontend/static/media/mini-card-image.237361450e476b21dd4e666838ccb466.svg b/frontend/static/media/mini-card-image.237361450e476b21dd4e666838ccb466.svg
new file mode 100644
index 0000000..a975365
--- /dev/null
+++ b/frontend/static/media/mini-card-image.237361450e476b21dd4e666838ccb466.svg
@@ -0,0 +1,3 @@
+