@trust-proto/auth-react 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.LiberionAuth=t():e.LiberionAuth=t()}(this,()=>(()=>{var e={18(e,t,n){"use strict";var r=n(99),i=n(81),o=n(92);function a(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function l(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function u(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function c(e){if(s(e)!==e)throw Error(a(188))}function d(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=d(e)))return t;e=e.sibling}return null}var f=Object.assign,h=Symbol.for("react.element"),p=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),b=Symbol.for("react.consumer"),w=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),_=Symbol.for("react.memo"),C=Symbol.for("react.lazy");Symbol.for("react.scope");var E=Symbol.for("react.activity");Symbol.for("react.legacy_hidden"),Symbol.for("react.tracing_marker");var O=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var P=Symbol.iterator;function z(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=P&&e[P]||e["@@iterator"])?e:null}var L=Symbol.for("react.client.reference");function A(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===L?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case m:return"Fragment";case v:return"Profiler";case y:return"StrictMode";case k:return"Suspense";case x:return"SuspenseList";case E:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case g:return"Portal";case w:return e.displayName||"Context";case b:return(e._context.displayName||"Context")+".Consumer";case S:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case _:return null!==(t=e.displayName||null)?t:A(e.type)||"Memo";case C:t=e._payload,e=e._init;try{return A(e(t))}catch(n){}}return null}var N=Array.isArray,j=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,T=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I={pending:!1,data:null,method:null,action:null},R=[],M=-1;function $(e){return{current:e}}function D(e){0>M||(e.current=R[M],R[M]=null,M--)}function F(e,t){M++,R[M]=e.current,e.current=t}var U,B,q=$(null),H=$(null),V=$(null),W=$(null);function Q(e,t){switch(F(V,t),F(H,e),F(q,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?md(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=yd(t=md(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}D(q),F(q,e)}function K(){D(q),D(H),D(V)}function G(e){null!==e.memoizedState&&F(W,e);var t=q.current,n=yd(t,e.type);t!==n&&(F(H,e),F(q,n))}function Y(e){H.current===e&&(D(q),D(H)),W.current===e&&(D(W),cf._currentValue=I)}function X(e){if(void 0===U)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);U=t&&t[1]||"",B=-1<n.stack.indexOf("\n at")?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+U+e+B}var J=!1;function Z(e,t){if(!e||J)return"";J=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(i){var r=i}Reflect.construct(e,[],n)}else{try{n.call()}catch(o){r=o}e.call(n.prototype)}}else{try{throw Error()}catch(a){r=a}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(s){if(s&&r&&"string"==typeof s.stack)return[s.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=r.DetermineComponentFrameRoot(),a=o[0],s=o[1];if(a&&s){var l=a.split("\n"),u=s.split("\n");for(i=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;i<u.length&&!u[i].includes("DetermineComponentFrameRoot");)i++;if(r===l.length||i===u.length)for(r=l.length-1,i=u.length-1;1<=r&&0<=i&&l[r]!==u[i];)i--;for(;1<=r&&0<=i;r--,i--)if(l[r]!==u[i]){if(1!==r||1!==i)do{if(r--,0>--i||l[r]!==u[i]){var c="\n"+l[r].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}}while(1<=r&&0<=i);break}}}finally{J=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?X(n):""}function ee(e,t){switch(e.tag){case 26:case 27:case 5:return X(e.type);case 16:return X("Lazy");case 13:return e.child!==t&&null!==t?X("Suspense Fallback"):X("Suspense");case 19:return X("SuspenseList");case 0:case 15:return Z(e.type,!1);case 11:return Z(e.type.render,!1);case 1:return Z(e.type,!0);case 31:return X("Activity");default:return""}}function te(e){try{var t="",n=null;do{t+=ee(e,n),n=e,e=e.return}while(e);return t}catch(r){return"\nError generating stack: "+r.message+"\n"+r.stack}}var ne=Object.prototype.hasOwnProperty,re=r.unstable_scheduleCallback,ie=r.unstable_cancelCallback,oe=r.unstable_shouldYield,ae=r.unstable_requestPaint,se=r.unstable_now,le=r.unstable_getCurrentPriorityLevel,ue=r.unstable_ImmediatePriority,ce=r.unstable_UserBlockingPriority,de=r.unstable_NormalPriority,fe=r.unstable_LowPriority,he=r.unstable_IdlePriority,pe=r.log,ge=r.unstable_setDisableYieldValue,me=null,ye=null;function ve(e){if("function"==typeof pe&&ge(e),ye&&"function"==typeof ye.setStrictMode)try{ye.setStrictMode(me,e)}catch(t){}}var be=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(we(e)/Se|0)|0},we=Math.log,Se=Math.LN2,ke=256,xe=262144,_e=4194304;function Ce(e){var t=42&e;if(0!==t)return t;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ee(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var i=0,o=e.suspendedLanes,a=e.pingedLanes;e=e.warmLanes;var s=134217727&r;return 0!==s?0!==(r=s&~o)?i=Ce(r):0!==(a&=s)?i=Ce(a):n||0!==(n=s&~e)&&(i=Ce(n)):0!==(s=r&~o)?i=Ce(s):0!==a?i=Ce(a):n||0!==(n=r&~e)&&(i=Ce(n)),0===i?0:0!==t&&t!==i&&0===(t&o)&&((o=i&-i)>=(n=t&-t)||32===o&&4194048&n)?t:i}function Oe(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function Pe(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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 t+5e3;default:return-1}}function ze(){var e=_e;return!(62914560&(_e<<=1))&&(_e=4194304),e}function Le(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ae(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ne(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-be(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|261930&n}function je(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-be(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function Te(e,t){var n=t&-t;return 0!==((n=42&n?1:Ie(n))&(e.suspendedLanes|t))?0:n}function Ie(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Re(e){return 2<(e&=-e)?8<e?134217727&e?32:268435456:8:2}function Me(){var e=T.p;return 0!==e?e:void 0===(e=window.event)?32:_f(e.type)}function $e(e,t){var n=T.p;try{return T.p=e,t()}finally{T.p=n}}var De=Math.random().toString(36).slice(2),Fe="__reactFiber$"+De,Ue="__reactProps$"+De,Be="__reactContainer$"+De,qe="__reactEvents$"+De,He="__reactListeners$"+De,Ve="__reactHandles$"+De,We="__reactResources$"+De,Qe="__reactMarker$"+De;function Ke(e){delete e[Fe],delete e[Ue],delete e[qe],delete e[He],delete e[Ve]}function Ge(e){var t=e[Fe];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Be]||n[Fe]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Id(e);null!==e;){if(n=e[Fe])return n;e=Id(e)}return t}n=(e=n).parentNode}return null}function Ye(e){if(e=e[Fe]||e[Be]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function Xe(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(a(33))}function Je(e){var t=e[We];return t||(t=e[We]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ze(e){e[Qe]=!0}var et=new Set,tt={};function nt(e,t){rt(e,t),rt(e+"Capture",t)}function rt(e,t){for(tt[e]=t,e=0;e<t.length;e++)et.add(t[e])}var it=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),ot={},at={};function st(e,t,n){if(i=t,ne.call(at,i)||!ne.call(ot,i)&&(it.test(i)?at[i]=!0:(ot[i]=!0,0)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}var i}function lt(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function ut(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}e.setAttributeNS(t,n,""+r)}}function ct(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function dt(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ft(e){if(!e._valueTracker){var t=dt(e)?"checked":"value";e._valueTracker=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var i=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function ht(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=dt(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function pt(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var gt=/[\n"\\]/g;function mt(e){return e.replace(gt,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function yt(e,t,n,r,i,o,a,s){e.name="",null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a?e.type=a:e.removeAttribute("type"),null!=t?"number"===a?(0===t&&""===e.value||e.value!=t)&&(e.value=""+ct(t)):e.value!==""+ct(t)&&(e.value=""+ct(t)):"submit"!==a&&"reset"!==a||e.removeAttribute("value"),null!=t?bt(e,a,ct(t)):null!=n?bt(e,a,ct(n)):null!=r&&e.removeAttribute("value"),null==i&&null!=o&&(e.defaultChecked=!!o),null!=i&&(e.checked=i&&"function"!=typeof i&&"symbol"!=typeof i),null!=s&&"function"!=typeof s&&"symbol"!=typeof s&&"boolean"!=typeof s?e.name=""+ct(s):e.removeAttribute("name")}function vt(e,t,n,r,i,o,a,s){if(null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o&&(e.type=o),null!=t||null!=n){if(("submit"===o||"reset"===o)&&null==t)return void ft(e);n=null!=n?""+ct(n):"",t=null!=t?""+ct(t):n,s||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:i)&&"symbol"!=typeof r&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(e.name=a),ft(e)}function bt(e,t,n){"number"===t&&pt(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function wt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ct(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function St(e,t,n){null==t||((t=""+ct(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+ct(n):"":e.defaultValue!==t&&(e.defaultValue=t)}function kt(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error(a(92));if(N(r)){if(1<r.length)throw Error(a(93));r=r[0]}n=r}null==n&&(n=""),t=n}n=ct(t),e.defaultValue=n,(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r),ft(e)}function xt(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 _t=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Ct(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||_t.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Et(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(a(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="");for(var i in t)r=t[i],t.hasOwnProperty(i)&&n[i]!==r&&Ct(e,i,r)}else for(var o in t)t.hasOwnProperty(o)&&Ct(e,o,t[o])}function Ot(e){if(-1===e.indexOf("-"))return!1;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 Pt=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["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"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["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"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["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"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),zt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Lt(e){return zt.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function At(){}var Nt=null;function jt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Tt=null,It=null;function Rt(e){var t=Ye(e);if(t&&(e=t.stateNode)){var n=e[Ue]||null;e:switch(e=t.stateNode,t.type){case"input":if(yt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+mt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=r[Ue]||null;if(!i)throw Error(a(90));yt(r,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&ht(r)}break e;case"textarea":St(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&wt(e,!!n.multiple,t,!1)}}}var Mt=!1;function $t(e,t,n){if(Mt)return e(t,n);Mt=!0;try{return e(t)}finally{if(Mt=!1,(null!==Tt||null!==It)&&(Ju(),Tt&&(t=Tt,e=It,It=Tt=null,Rt(t),e)))for(t=0;t<e.length;t++)Rt(e[t])}}function Dt(e,t){var n=e.stateNode;if(null===n)return null;var r=n[Ue]||null;if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}var Ft=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),Ut=!1;if(Ft)try{var Bt={};Object.defineProperty(Bt,"passive",{get:function(){Ut=!0}}),window.addEventListener("test",Bt,Bt),window.removeEventListener("test",Bt,Bt)}catch(Gf){Ut=!1}var qt=null,Ht=null,Vt=null;function Wt(){if(Vt)return Vt;var e,t,n=Ht,r=n.length,i="value"in qt?qt.value:qt.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return Vt=i.slice(e,1<t?1-t:void 0)}function Qt(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Kt(){return!0}function Gt(){return!1}function Yt(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?Kt:Gt,this.isPropagationStopped=Gt,this}return f(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Kt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Kt)},persist:function(){},isPersistent:Kt}),t}var Xt,Jt,Zt,en={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},tn=Yt(en),nn=f({},en,{view:0,detail:0}),rn=Yt(nn),on=f({},nn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:mn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Zt&&(Zt&&"mousemove"===e.type?(Xt=e.screenX-Zt.screenX,Jt=e.screenY-Zt.screenY):Jt=Xt=0,Zt=e),Xt)},movementY:function(e){return"movementY"in e?e.movementY:Jt}}),an=Yt(on),sn=Yt(f({},on,{dataTransfer:0})),ln=Yt(f({},nn,{relatedTarget:0})),un=Yt(f({},en,{animationName:0,elapsedTime:0,pseudoElement:0})),cn=Yt(f({},en,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),dn=Yt(f({},en,{data:0})),fn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},hn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},pn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function gn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=pn[e])&&!!t[e]}function mn(){return gn}var yn=Yt(f({},nn,{key:function(e){if(e.key){var t=fn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Qt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?hn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:mn,charCode:function(e){return"keypress"===e.type?Qt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Qt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),vn=Yt(f({},on,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),bn=Yt(f({},nn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:mn})),wn=Yt(f({},en,{propertyName:0,elapsedTime:0,pseudoElement:0})),Sn=Yt(f({},on,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),kn=Yt(f({},en,{newState:0,oldState:0})),xn=[9,13,27,32],_n=Ft&&"CompositionEvent"in window,Cn=null;Ft&&"documentMode"in document&&(Cn=document.documentMode);var En=Ft&&"TextEvent"in window&&!Cn,On=Ft&&(!_n||Cn&&8<Cn&&11>=Cn),Pn=String.fromCharCode(32),zn=!1;function Ln(e,t){switch(e){case"keyup":return-1!==xn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function An(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Nn=!1,jn={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 Tn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!jn[e.type]:"textarea"===t}function In(e,t,n,r){Tt?It?It.push(r):It=[r]:Tt=r,0<(t=nd(t,"onChange")).length&&(n=new tn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Rn=null,Mn=null;function $n(e){Kc(e,0)}function Dn(e){if(ht(Xe(e)))return e}function Fn(e,t){if("change"===e)return t}var Un=!1;if(Ft){var Bn;if(Ft){var qn="oninput"in document;if(!qn){var Hn=document.createElement("div");Hn.setAttribute("oninput","return;"),qn="function"==typeof Hn.oninput}Bn=qn}else Bn=!1;Un=Bn&&(!document.documentMode||9<document.documentMode)}function Vn(){Rn&&(Rn.detachEvent("onpropertychange",Wn),Mn=Rn=null)}function Wn(e){if("value"===e.propertyName&&Dn(Mn)){var t=[];In(t,Mn,e,jt(e)),$t($n,t)}}function Qn(e,t,n){"focusin"===e?(Vn(),Mn=n,(Rn=t).attachEvent("onpropertychange",Wn)):"focusout"===e&&Vn()}function Kn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Dn(Mn)}function Gn(e,t){if("click"===e)return Dn(t)}function Yn(e,t){if("input"===e||"change"===e)return Dn(t)}var Xn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Jn(e,t){if(Xn(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!ne.call(t,i)||!Xn(e[i],t[i]))return!1}return!0}function Zn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function er(e,t){var n,r=Zn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=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=Zn(r)}}function tr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?tr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function nr(e){for(var t=pt((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=pt((e=t.contentWindow).document)}return t}function rr(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)}var ir=Ft&&"documentMode"in document&&11>=document.documentMode,or=null,ar=null,sr=null,lr=!1;function ur(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;lr||null==or||or!==pt(r)||(r="selectionStart"in(r=or)&&rr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},sr&&Jn(sr,r)||(sr=r,0<(r=nd(ar,"onSelect")).length&&(t=new tn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=or)))}function cr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var dr={animationend:cr("Animation","AnimationEnd"),animationiteration:cr("Animation","AnimationIteration"),animationstart:cr("Animation","AnimationStart"),transitionrun:cr("Transition","TransitionRun"),transitionstart:cr("Transition","TransitionStart"),transitioncancel:cr("Transition","TransitionCancel"),transitionend:cr("Transition","TransitionEnd")},fr={},hr={};function pr(e){if(fr[e])return fr[e];if(!dr[e])return e;var t,n=dr[e];for(t in n)if(n.hasOwnProperty(t)&&t in hr)return fr[e]=n[t];return e}Ft&&(hr=document.createElement("div").style,"AnimationEvent"in window||(delete dr.animationend.animation,delete dr.animationiteration.animation,delete dr.animationstart.animation),"TransitionEvent"in window||delete dr.transitionend.transition);var gr=pr("animationend"),mr=pr("animationiteration"),yr=pr("animationstart"),vr=pr("transitionrun"),br=pr("transitionstart"),wr=pr("transitioncancel"),Sr=pr("transitionend"),kr=new Map,xr="abort auxClick beforeToggle 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 _r(e,t){kr.set(e,t),nt(t,[e])}xr.push("scrollEnd");var Cr="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e)},Er=[],Or=0,Pr=0;function zr(){for(var e=Or,t=Pr=Or=0;t<e;){var n=Er[t];Er[t++]=null;var r=Er[t];Er[t++]=null;var i=Er[t];Er[t++]=null;var o=Er[t];if(Er[t++]=null,null!==r&&null!==i){var a=r.pending;null===a?i.next=i:(i.next=a.next,a.next=i),r.pending=i}0!==o&&jr(n,i,o)}}function Lr(e,t,n,r){Er[Or++]=e,Er[Or++]=t,Er[Or++]=n,Er[Or++]=r,Pr|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function Ar(e,t,n,r){return Lr(e,t,n,r),Tr(e)}function Nr(e,t){return Lr(e,null,null,t),Tr(e)}function jr(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var i=!1,o=e.return;null!==o;)o.childLanes|=n,null!==(r=o.alternate)&&(r.childLanes|=n),22===o.tag&&(null===(e=o.stateNode)||1&e._visibility||(i=!0)),e=o,o=o.return;return 3===e.tag?(o=e.stateNode,i&&null!==t&&(i=31-be(n),null===(r=(e=o.hiddenUpdates)[i])?e[i]=[t]:r.push(t),t.lane=536870912|n),o):null}function Tr(e){if(50<qu)throw qu=0,Hu=null,Error(a(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var Ir={};function Rr(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.refCleanup=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 Mr(e,t,n,r){return new Rr(e,t,n,r)}function $r(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Dr(e,t){var n=e.alternate;return null===n?((n=Mr(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=65011712&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.refCleanup=e.refCleanup,n}function Fr(e,t){e.flags&=65011714;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Ur(e,t,n,r,i,o){var s=0;if(r=e,"function"==typeof e)$r(e)&&(s=1);else if("string"==typeof e)s=function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;return"stylesheet"!==t.rel||(e=t.disabled,"string"==typeof t.precedence&&null==e);case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,q.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(e){case E:return(e=Mr(31,n,t,i)).elementType=E,e.lanes=o,e;case m:return Br(n.children,i,o,t);case y:s=8,i|=24;break;case v:return(e=Mr(12,n,t,2|i)).elementType=v,e.lanes=o,e;case k:return(e=Mr(13,n,t,i)).elementType=k,e.lanes=o,e;case x:return(e=Mr(19,n,t,i)).elementType=x,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case w:s=10;break e;case b:s=9;break e;case S:s=11;break e;case _:s=14;break e;case C:s=16,r=null;break e}s=29,n=Error(a(130,null===e?"null":typeof e,"")),r=null}return(t=Mr(s,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function Br(e,t,n,r){return(e=Mr(7,e,r,t)).lanes=n,e}function qr(e,t,n){return(e=Mr(6,e,null,t)).lanes=n,e}function Hr(e){var t=Mr(18,null,null,0);return t.stateNode=e,t}function Vr(e,t,n){return(t=Mr(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Wr=new WeakMap;function Qr(e,t){if("object"==typeof e&&null!==e){var n=Wr.get(e);return void 0!==n?n:(t={value:e,source:t,stack:te(t)},Wr.set(e,t),t)}return{value:e,source:t,stack:te(t)}}var Kr=[],Gr=0,Yr=null,Xr=0,Jr=[],Zr=0,ei=null,ti=1,ni="";function ri(e,t){Kr[Gr++]=Xr,Kr[Gr++]=Yr,Yr=e,Xr=t}function ii(e,t,n){Jr[Zr++]=ti,Jr[Zr++]=ni,Jr[Zr++]=ei,ei=e;var r=ti;e=ni;var i=32-be(r)-1;r&=~(1<<i),n+=1;var o=32-be(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,ti=1<<32-be(t)+i|n<<i|r,ni=o+e}else ti=1<<o|n<<i|r,ni=e}function oi(e){null!==e.return&&(ri(e,1),ii(e,1,0))}function ai(e){for(;e===Yr;)Yr=Kr[--Gr],Kr[Gr]=null,Xr=Kr[--Gr],Kr[Gr]=null;for(;e===ei;)ei=Jr[--Zr],Jr[Zr]=null,ni=Jr[--Zr],Jr[Zr]=null,ti=Jr[--Zr],Jr[Zr]=null}function si(e,t){Jr[Zr++]=ti,Jr[Zr++]=ni,Jr[Zr++]=ei,ti=t.id,ni=t.overflow,ei=e}var li=null,ui=null,ci=!1,di=null,fi=!1,hi=Error(a(519));function pi(e){throw wi(Qr(Error(a(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML","")),e)),hi}function gi(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Fe]=e,t[Ue]=r,n){case"dialog":Gc("cancel",t),Gc("close",t);break;case"iframe":case"object":case"embed":Gc("load",t);break;case"video":case"audio":for(n=0;n<Wc.length;n++)Gc(Wc[n],t);break;case"source":Gc("error",t);break;case"img":case"image":case"link":Gc("error",t),Gc("load",t);break;case"details":Gc("toggle",t);break;case"input":Gc("invalid",t),vt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":Gc("invalid",t);break;case"textarea":Gc("invalid",t),kt(t,r.value,r.defaultValue,r.children)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||ld(t.textContent,n)?(null!=r.popover&&(Gc("beforetoggle",t),Gc("toggle",t)),null!=r.onScroll&&Gc("scroll",t),null!=r.onScrollEnd&&Gc("scrollend",t),null!=r.onClick&&(t.onclick=At),t=!0):t=!1,t||pi(e,!0)}function mi(e){for(li=e.return;li;)switch(li.tag){case 5:case 31:case 13:return void(fi=!1);case 27:case 3:return void(fi=!0);default:li=li.return}}function yi(e){if(e!==li)return!1;if(!ci)return mi(e),ci=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t=!("form"!==(t=e.type)&&"button"!==t)||vd(e.type,e.memoizedProps)),t=!t),t&&ui&&pi(e),mi(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));ui=Td(e)}else if(31===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));ui=Td(e)}else 27===n?(n=ui,Cd(e.type)?(e=jd,jd=null,ui=e):ui=n):ui=li?Nd(e.stateNode.nextSibling):null;return!0}function vi(){ui=li=null,ci=!1}function bi(){var e=di;return null!==e&&(null===zu?zu=e:zu.push.apply(zu,e),di=null),e}function wi(e){null===di?di=[e]:di.push(e)}var Si=$(null),ki=null,xi=null;function _i(e,t,n){F(Si,t._currentValue),t._currentValue=n}function Ci(e){e._currentValue=Si.current,D(Si)}function Ei(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 Oi(e,t,n,r){var i=e.child;for(null!==i&&(i.return=e);null!==i;){var o=i.dependencies;if(null!==o){var s=i.child;o=o.firstContext;e:for(;null!==o;){var l=o;o=i;for(var u=0;u<t.length;u++)if(l.context===t[u]){o.lanes|=n,null!==(l=o.alternate)&&(l.lanes|=n),Ei(o.return,n,e),r||(s=null);break e}o=l.next}}else if(18===i.tag){if(null===(s=i.return))throw Error(a(341));s.lanes|=n,null!==(o=s.alternate)&&(o.lanes|=n),Ei(s,n,e),s=null}else s=i.child;if(null!==s)s.return=i;else for(s=i;null!==s;){if(s===e){s=null;break}if(null!==(i=s.sibling)){i.return=s.return,s=i;break}s=s.return}i=s}}function Pi(e,t,n,r){e=null;for(var i=t,o=!1;null!==i;){if(!o)if(524288&i.flags)o=!0;else if(262144&i.flags)break;if(10===i.tag){var s=i.alternate;if(null===s)throw Error(a(387));if(null!==(s=s.memoizedProps)){var l=i.type;Xn(i.pendingProps.value,s.value)||(null!==e?e.push(l):e=[l])}}else if(i===W.current){if(null===(s=i.alternate))throw Error(a(387));s.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(null!==e?e.push(cf):e=[cf])}i=i.return}null!==e&&Oi(t,e,n,r),t.flags|=262144}function zi(e){for(e=e.firstContext;null!==e;){if(!Xn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Li(e){ki=e,xi=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function Ai(e){return ji(ki,e)}function Ni(e,t){return null===ki&&Li(e),ji(e,t)}function ji(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===xi){if(null===e)throw Error(a(308));xi=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else xi=xi.next=t;return n}var Ti="undefined"!=typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},Ii=r.unstable_scheduleCallback,Ri=r.unstable_NormalPriority,Mi={$$typeof:w,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function $i(){return{controller:new Ti,data:new Map,refCount:0}}function Di(e){e.refCount--,0===e.refCount&&Ii(Ri,function(){e.controller.abort()})}var Fi=null,Ui=0,Bi=0,qi=null;function Hi(){if(0===--Ui&&null!==Fi){null!==qi&&(qi.status="fulfilled");var e=Fi;Fi=null,Bi=0,qi=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var Vi=j.S;j.S=function(e,t){Nu=se(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===Fi){var n=Fi=[];Ui=0,Bi=Uc(),qi={status:"pending",value:void 0,then:function(e){n.push(e)}}}Ui++,t.then(Hi,Hi)}(0,t),null!==Vi&&Vi(e,t)};var Wi=$(null);function Qi(){var e=Wi.current;return null!==e?e:hu.pooledCache}function Ki(e,t){F(Wi,null===t?Wi.current:t.pool)}function Gi(){var e=Qi();return null===e?null:{parent:Mi._currentValue,pool:e}}var Yi=Error(a(460)),Xi=Error(a(474)),Ji=Error(a(542)),Zi={then:function(){}};function eo(e){return"fulfilled"===(e=e.status)||"rejected"===e}function to(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(At,At),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw oo(e=t.reason),e;default:if("string"==typeof t.status)t.then(At,At);else{if(null!==(e=hu)&&100<e.shellSuspendCounter)throw Error(a(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw oo(e=t.reason),e}throw ro=t,Yi}}function no(e){try{return(0,e._init)(e._payload)}catch(t){if(null!==t&&"object"==typeof t&&"function"==typeof t.then)throw ro=t,Yi;throw t}}var ro=null;function io(){if(null===ro)throw Error(a(459));var e=ro;return ro=null,e}function oo(e){if(e===Yi||e===Ji)throw Error(a(483))}var ao=null,so=0;function lo(e){var t=so;return so+=1,null===ao&&(ao=[]),to(ao,e,t)}function uo(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function co(e,t){if(t.$$typeof===h)throw Error(a(525));throw e=Object.prototype.toString.call(t),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function fo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function i(e,t){return(e=Dr(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=67108866,n):r:(t.flags|=67108866,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=67108866),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=qr(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function u(e,t,n,r){var o=n.type;return o===m?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===C&&no(o)===t.type)?(uo(t=i(t,n.props),n),t.return=e,t):(uo(t=Ur(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Vr(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Br(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=qr(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case p:return uo(n=Ur(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case g:return(t=Vr(t,e.mode,n)).return=e,t;case C:return f(e,t=no(t),n)}if(N(t)||z(t))return(t=Br(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return f(e,lo(t),n);if(t.$$typeof===w)return f(e,Ni(e,t),n);co(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==i?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case p:return n.key===i?u(e,t,n,r):null;case g:return n.key===i?c(e,t,n,r):null;case C:return h(e,t,n=no(n),r)}if(N(n)||z(n))return null!==i?null:d(e,t,n,r,null);if("function"==typeof n.then)return h(e,t,lo(n),r);if(n.$$typeof===w)return h(e,t,Ni(e,n),r);co(e,n)}return null}function y(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case p:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case g:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case C:return y(e,t,n,r=no(r),i)}if(N(r)||z(r))return d(t,e=e.get(n)||null,r,i,null);if("function"==typeof r.then)return y(e,t,n,lo(r),i);if(r.$$typeof===w)return y(e,t,n,Ni(t,r),i);co(t,r)}return null}function v(l,u,c,d){if("object"==typeof c&&null!==c&&c.type===m&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case p:e:{for(var b=c.key;null!==u;){if(u.key===b){if((b=c.type)===m){if(7===u.tag){n(l,u.sibling),(d=i(u,c.props.children)).return=l,l=d;break e}}else if(u.elementType===b||"object"==typeof b&&null!==b&&b.$$typeof===C&&no(b)===u.type){n(l,u.sibling),uo(d=i(u,c.props),c),d.return=l,l=d;break e}n(l,u);break}t(l,u),u=u.sibling}c.type===m?((d=Br(c.props.children,l.mode,d,c.key)).return=l,l=d):(uo(d=Ur(c.type,c.key,c.props,null,l.mode,d),c),d.return=l,l=d)}return s(l);case g:e:{for(b=c.key;null!==u;){if(u.key===b){if(4===u.tag&&u.stateNode.containerInfo===c.containerInfo&&u.stateNode.implementation===c.implementation){n(l,u.sibling),(d=i(u,c.children||[])).return=l,l=d;break e}n(l,u);break}t(l,u),u=u.sibling}(d=Vr(c,l.mode,d)).return=l,l=d}return s(l);case C:return v(l,u,c=no(c),d)}if(N(c))return function(i,a,s,l){for(var u=null,c=null,d=a,p=a=0,g=null;null!==d&&p<s.length;p++){d.index>p?(g=d,d=null):g=d.sibling;var m=h(i,d,s[p],l);if(null===m){null===d&&(d=g);break}e&&d&&null===m.alternate&&t(i,d),a=o(m,a,p),null===c?u=m:c.sibling=m,c=m,d=g}if(p===s.length)return n(i,d),ci&&ri(i,p),u;if(null===d){for(;p<s.length;p++)null!==(d=f(i,s[p],l))&&(a=o(d,a,p),null===c?u=d:c.sibling=d,c=d);return ci&&ri(i,p),u}for(d=r(d);p<s.length;p++)null!==(g=y(d,i,p,s[p],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?p:g.key),a=o(g,a,p),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach(function(e){return t(i,e)}),ci&&ri(i,p),u}(l,u,c,d);if(z(c)){if("function"!=typeof(b=z(c)))throw Error(a(150));return function(i,s,l,u){if(null==l)throw Error(a(151));for(var c=null,d=null,p=s,g=s=0,m=null,v=l.next();null!==p&&!v.done;g++,v=l.next()){p.index>g?(m=p,p=null):m=p.sibling;var b=h(i,p,v.value,u);if(null===b){null===p&&(p=m);break}e&&p&&null===b.alternate&&t(i,p),s=o(b,s,g),null===d?c=b:d.sibling=b,d=b,p=m}if(v.done)return n(i,p),ci&&ri(i,g),c;if(null===p){for(;!v.done;g++,v=l.next())null!==(v=f(i,v.value,u))&&(s=o(v,s,g),null===d?c=v:d.sibling=v,d=v);return ci&&ri(i,g),c}for(p=r(p);!v.done;g++,v=l.next())null!==(v=y(p,i,g,v.value,u))&&(e&&null!==v.alternate&&p.delete(null===v.key?g:v.key),s=o(v,s,g),null===d?c=v:d.sibling=v,d=v);return e&&p.forEach(function(e){return t(i,e)}),ci&&ri(i,g),c}(l,u,c=b.call(c),d)}if("function"==typeof c.then)return v(l,u,lo(c),d);if(c.$$typeof===w)return v(l,u,Ni(l,c),d);co(l,c)}return"string"==typeof c&&""!==c||"number"==typeof c||"bigint"==typeof c?(c=""+c,null!==u&&6===u.tag?(n(l,u.sibling),(d=i(u,c)).return=l,l=d):(n(l,u),(d=qr(c,l.mode,d)).return=l,l=d),s(l)):n(l,u)}return function(e,t,n,r){try{so=0;var i=v(e,t,n,r);return ao=null,i}catch(a){if(a===Yi||a===Ji)throw a;var o=Mr(29,a,null,e.mode);return o.lanes=r,o.return=e,o}}}var ho=fo(!0),po=fo(!1),go=!1;function mo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function yo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function vo(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function bo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&fu){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=Tr(e),jr(e,null,n),t}return Lr(e,r,t,n),Tr(e)}function wo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194048&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,je(e,n)}}function So(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,callbacks:r.callbacks},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var ko=!1;function xo(){if(ko&&null!==qi)throw qi}function _o(e,t,n,r){ko=!1;var i=e.updateQueue;go=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,u=l.next;l.next=null,null===a?o=u:a.next=u,a=l;var c=e.alternate;null!==c&&(s=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l)}if(null!==o){var d=i.baseState;for(a=0,c=u=l=null,s=o;;){var h=-536870913&s.lane,p=h!==s.lane;if(p?(gu&h)===h:(r&h)===h){0!==h&&h===Bi&&(ko=!0),null!==c&&(c=c.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var g=e,m=s;h=t;var y=n;switch(m.tag){case 1:if("function"==typeof(g=m.payload)){d=g.call(y,d,h);break e}d=g;break e;case 3:g.flags=-65537&g.flags|128;case 0:if(null==(h="function"==typeof(g=m.payload)?g.call(y,d,h):g))break e;d=f({},d,h);break e;case 2:go=!0}}null!==(h=s.callback)&&(e.flags|=64,p&&(e.flags|=8192),null===(p=i.callbacks)?i.callbacks=[h]:p.push(h))}else p={lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=p,l=d):c=c.next=p,a|=h;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(p=s).next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}null===c&&(l=d),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,null===o&&(i.shared.lanes=0),xu|=a,e.lanes=a,e.memoizedState=d}}function Co(e,t){if("function"!=typeof e)throw Error(a(191,e));e.call(t)}function Eo(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)Co(n[e],t)}var Oo=$(null),Po=$(0);function zo(e,t){F(Po,e=Su),F(Oo,t),Su=e|t.baseLanes}function Lo(){F(Po,Su),F(Oo,Oo.current)}function Ao(){Su=Po.current,D(Oo),D(Po)}var No=$(null),jo=null;function To(e){var t=e.alternate;F(Do,1&Do.current),F(No,e),null===jo&&(null===t||null!==Oo.current||null!==t.memoizedState)&&(jo=e)}function Io(e){F(Do,Do.current),F(No,e),null===jo&&(jo=e)}function Ro(e){22===e.tag?(F(Do,Do.current),F(No,e),null===jo&&(jo=e)):Mo()}function Mo(){F(Do,Do.current),F(No,No.current)}function $o(e){D(No),jo===e&&(jo=null),D(Do)}var Do=$(0);function Fo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||Ld(n)||Ad(n)))return t}else if(19!==t.tag||"forwards"!==t.memoizedProps.revealOrder&&"backwards"!==t.memoizedProps.revealOrder&&"unstable_legacy-backwards"!==t.memoizedProps.revealOrder&&"together"!==t.memoizedProps.revealOrder){if(null!==t.child){t.child.return=t,t=t.child;continue}}else if(128&t.flags)return t;if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Uo=0,Bo=null,qo=null,Ho=null,Vo=!1,Wo=!1,Qo=!1,Ko=0,Go=0,Yo=null,Xo=0;function Jo(){throw Error(a(321))}function Zo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Xn(e[n],t[n]))return!1;return!0}function ea(e,t,n,r,i,o){return Uo=o,Bo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,j.H=null===e||null===e.memoizedState?gs:ms,Qo=!1,o=n(r,i),Qo=!1,Wo&&(o=na(t,n,r,i)),ta(e),o}function ta(e){j.H=ps;var t=null!==qo&&null!==qo.next;if(Uo=0,Ho=qo=Bo=null,Vo=!1,Go=0,Yo=null,t)throw Error(a(300));null===e||Ns||null!==(e=e.dependencies)&&zi(e)&&(Ns=!0)}function na(e,t,n,r){Bo=e;var i=0;do{if(Wo&&(Yo=null),Go=0,Wo=!1,25<=i)throw Error(a(301));if(i+=1,Ho=qo=null,null!=e.updateQueue){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,null!=o.memoCache&&(o.memoCache.index=0)}j.H=ys,o=t(n,r)}while(Wo);return o}function ra(){var e=j.H,t=e.useState()[0];return t="function"==typeof t.then?ua(t):t,e=e.useState()[0],(null!==qo?qo.memoizedState:null)!==e&&(Bo.flags|=1024),t}function ia(){var e=0!==Ko;return Ko=0,e}function oa(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function aa(e){if(Vo){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}Vo=!1}Uo=0,Ho=qo=Bo=null,Wo=!1,Go=Ko=0,Yo=null}function sa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ho?Bo.memoizedState=Ho=e:Ho=Ho.next=e,Ho}function la(){if(null===qo){var e=Bo.alternate;e=null!==e?e.memoizedState:null}else e=qo.next;var t=null===Ho?Bo.memoizedState:Ho.next;if(null!==t)Ho=t,qo=e;else{if(null===e){if(null===Bo.alternate)throw Error(a(467));throw Error(a(310))}e={memoizedState:(qo=e).memoizedState,baseState:qo.baseState,baseQueue:qo.baseQueue,queue:qo.queue,next:null},null===Ho?Bo.memoizedState=Ho=e:Ho=Ho.next=e}return Ho}function ua(e){var t=Go;return Go+=1,null===Yo&&(Yo=[]),e=to(Yo,e,t),t=Bo,null===(null===Ho?t.memoizedState:Ho.next)&&(t=t.alternate,j.H=null===t||null===t.memoizedState?gs:ms),e}function ca(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return ua(e);if(e.$$typeof===w)return Ai(e)}throw Error(a(438,String(e)))}function da(e){var t=null,n=Bo.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=Bo.alternate;null!==r&&null!==(r=r.updateQueue)&&null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})}if(null==t&&(t={data:[],index:0}),null===n&&(n={lastEffect:null,events:null,stores:null,memoCache:null},Bo.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=O;return t.index++,n}function fa(e,t){return"function"==typeof t?t(e):t}function ha(e){return pa(la(),qo,e)}function pa(e,t,n){var r=e.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=n;var i=e.baseQueue,o=r.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}t.baseQueue=i=o,r.pending=null}if(o=e.baseState,null===i)e.memoizedState=o;else{var l=s=null,u=null,c=t=i.next,d=!1;do{var f=-536870913&c.lane;if(f!==c.lane?(gu&f)===f:(Uo&f)===f){var h=c.revertLane;if(0===h)null!==u&&(u=u.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),f===Bi&&(d=!0);else{if((Uo&h)===h){c=c.next,h===Bi&&(d=!0);continue}f={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=f,s=o):u=u.next=f,Bo.lanes|=h,xu|=h}f=c.action,Qo&&n(o,f),o=c.hasEagerState?c.eagerState:n(o,f)}else h={lane:f,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=h,s=o):u=u.next=h,Bo.lanes|=f,xu|=f;c=c.next}while(null!==c&&c!==t);if(null===u?s=o:u.next=l,!Xn(o,e.memoizedState)&&(Ns=!0,d&&null!==(n=qi)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=u,r.lastRenderedState=o}return null===i&&(r.lanes=0),[e.memoizedState,r.dispatch]}function ga(e){var t=la(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);Xn(o,t.memoizedState)||(Ns=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ma(e,t,n){var r=Bo,i=la(),o=ci;if(o){if(void 0===n)throw Error(a(407));n=n()}else n=t();var s=!Xn((qo||i).memoizedState,n);if(s&&(i.memoizedState=n,Ns=!0),i=i.queue,Ua(ba.bind(null,r,i,e),[e]),i.getSnapshot!==t||s||null!==Ho&&1&Ho.memoizedState.tag){if(r.flags|=2048,Ra(9,{destroy:void 0},va.bind(null,r,i,n,t),null),null===hu)throw Error(a(349));o||127&Uo||ya(r,t,n)}return n}function ya(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=Bo.updateQueue)?(t={lastEffect:null,events:null,stores:null,memoCache:null},Bo.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function va(e,t,n,r){t.value=n,t.getSnapshot=r,wa(t)&&Sa(e)}function ba(e,t,n){return n(function(){wa(t)&&Sa(e)})}function wa(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Xn(e,n)}catch(r){return!0}}function Sa(e){var t=Nr(e,2);null!==t&&Qu(t,0,2)}function ka(e){var t=sa();if("function"==typeof e){var n=e;if(e=n(),Qo){ve(!0);try{n()}finally{ve(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:fa,lastRenderedState:e},t}function xa(e,t,n,r){return e.baseState=n,pa(e,qo,"function"==typeof r?r:fa)}function _a(e,t,n,r,i){if(ds(e))throw Error(a(485));if(null!==(e=t.action)){var o={payload:i,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};null!==j.T?n(!0):o.isTransition=!1,r(o),null===(n=t.pending)?(o.next=t.pending=o,Ca(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Ca(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var o=j.T,a={};j.T=a;try{var s=n(i,r),l=j.S;null!==l&&l(a,s),Ea(e,t,s)}catch(u){Pa(e,t,u)}finally{null!==o&&null!==a.types&&(o.types=a.types),j.T=o}}else try{Ea(e,t,o=n(i,r))}catch(c){Pa(e,t,c)}}function Ea(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){Oa(e,t,n)},function(n){return Pa(e,t,n)}):Oa(e,t,n)}function Oa(e,t,n){t.status="fulfilled",t.value=n,za(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,Ca(e,n)))}function Pa(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do{t.status="rejected",t.reason=n,za(t),t=t.next}while(t!==r)}e.action=null}function za(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function La(e,t){return t}function Aa(e,t){if(ci){var n=hu.formState;if(null!==n){e:{var r=Bo;if(ci){if(ui){t:{for(var i=ui,o=fi;8!==i.nodeType;){if(!o){i=null;break t}if(null===(i=Nd(i.nextSibling))){i=null;break t}}i="F!"===(o=i.data)||"F"===o?i:null}if(i){ui=Nd(i.nextSibling),r="F!"===i.data;break e}}pi(r)}r=!1}r&&(t=n[0])}}return(n=sa()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:La,lastRenderedState:t},n.queue=r,n=ls.bind(null,Bo,r),r.dispatch=n,r=ka(!1),o=cs.bind(null,Bo,!1,r.queue),i={state:t,dispatch:null,action:e,pending:null},(r=sa()).queue=i,n=_a.bind(null,Bo,i,o,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function Na(e){return ja(la(),qo,e)}function ja(e,t,n){if(t=pa(e,t,La)[0],e=ha(fa)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=ua(t)}catch(a){if(a===Yi)throw Ji;throw a}else r=t;var i=(t=la()).queue,o=i.dispatch;return n!==t.memoizedState&&(Bo.flags|=2048,Ra(9,{destroy:void 0},Ta.bind(null,i,n),null)),[r,o,e]}function Ta(e,t){e.action=t}function Ia(e){var t=la(),n=qo;if(null!==n)return ja(t,n,e);la(),t=t.memoizedState;var r=(n=la()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function Ra(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=Bo.updateQueue)&&(t={lastEffect:null,events:null,stores:null,memoCache:null},Bo.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ma(){return la().memoizedState}function $a(e,t,n,r){var i=sa();Bo.flags|=e,i.memoizedState=Ra(1|t,{destroy:void 0},n,void 0===r?null:r)}function Da(e,t,n,r){var i=la();r=void 0===r?null:r;var o=i.memoizedState.inst;null!==qo&&null!==r&&Zo(r,qo.memoizedState.deps)?i.memoizedState=Ra(t,o,n,r):(Bo.flags|=e,i.memoizedState=Ra(1|t,o,n,r))}function Fa(e,t){$a(8390656,8,e,t)}function Ua(e,t){Da(2048,8,e,t)}function Ba(e){var t=la().memoizedState;return function(e){Bo.flags|=4;var t=Bo.updateQueue;if(null===t)t={lastEffect:null,events:null,stores:null,memoCache:null},Bo.updateQueue=t,t.events=[e];else{var n=t.events;null===n?t.events=[e]:n.push(e)}}({ref:t,nextImpl:e}),function(){if(2&fu)throw Error(a(440));return t.impl.apply(void 0,arguments)}}function qa(e,t){return Da(4,2,e,t)}function Ha(e,t){return Da(4,4,e,t)}function Va(e,t){if("function"==typeof t){e=e();var n=t(e);return function(){"function"==typeof n?n():t(null)}}if(null!=t)return e=e(),t.current=e,function(){t.current=null}}function Wa(e,t,n){n=null!=n?n.concat([e]):null,Da(4,4,Va.bind(null,t,e),n)}function Qa(){}function Ka(e,t){var n=la();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&Zo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ga(e,t){var n=la();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&Zo(t,r[1]))return r[0];if(r=e(),Qo){ve(!0);try{e()}finally{ve(!1)}}return n.memoizedState=[r,t],r}function Ya(e,t,n){return void 0===n||1073741824&Uo&&!(261930&gu)?e.memoizedState=t:(e.memoizedState=n,e=Wu(),Bo.lanes|=e,xu|=e,n)}function Xa(e,t,n,r){return Xn(n,t)?n:null!==Oo.current?(e=Ya(e,n,r),Xn(e,t)||(Ns=!0),e):42&Uo&&(!(1073741824&Uo)||261930&gu)?(e=Wu(),Bo.lanes|=e,xu|=e,t):(Ns=!0,e.memoizedState=n)}function Ja(e,t,n,r,i){var o=T.p;T.p=0!==o&&8>o?o:8;var a,s,l,u=j.T,c={};j.T=c,cs(e,!1,t,n);try{var d=i(),f=j.S;null!==f&&f(c,d),null!==d&&"object"==typeof d&&"function"==typeof d.then?us(e,t,(a=r,s=[],l={status:"pending",value:null,reason:null,then:function(e){s.push(e)}},d.then(function(){l.status="fulfilled",l.value=a;for(var e=0;e<s.length;e++)(0,s[e])(a)},function(e){for(l.status="rejected",l.reason=e,e=0;e<s.length;e++)(0,s[e])(void 0)}),l),Vu()):us(e,t,r,Vu())}catch(h){us(e,t,{then:function(){},status:"rejected",reason:h},Vu())}finally{T.p=o,null!==u&&null!==c.types&&(u.types=c.types),j.T=u}}function Za(){}function es(e,t,n,r){if(5!==e.tag)throw Error(a(476));var i=ts(e).queue;Ja(e,i,t,I,null===n?Za:function(){return ns(e),n(r)})}function ts(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:I,baseState:I,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fa,lastRenderedState:I},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fa,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function ns(e){var t=ts(e);null===t.next&&(t=e.alternate.memoizedState),us(e,t.next.queue,{},Vu())}function rs(){return Ai(cf)}function is(){return la().memoizedState}function os(){return la().memoizedState}function as(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=Vu(),r=bo(t,e=vo(n),n);return null!==r&&(Qu(r,0,n),wo(r,t,n)),t={cache:$i()},void(e.payload=t)}t=t.return}}function ss(e,t,n){var r=Vu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},ds(e)?fs(t,n):null!==(n=Ar(e,t,n,r))&&(Qu(n,0,r),hs(n,t,r))}function ls(e,t,n){us(e,t,n,Vu())}function us(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(ds(e))fs(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,Xn(s,a))return Lr(e,t,i,0),null===hu&&zr(),!1}catch(l){}if(null!==(n=Ar(e,t,i,r)))return Qu(n,0,r),hs(n,t,r),!0}return!1}function cs(e,t,n,r){if(r={lane:2,revertLane:Uc(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},ds(e)){if(t)throw Error(a(479))}else null!==(t=Ar(e,n,r,2))&&Qu(t,0,2)}function ds(e){var t=e.alternate;return e===Bo||null!==t&&t===Bo}function fs(e,t){Wo=Vo=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function hs(e,t,n){if(4194048&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,je(e,n)}}var ps={readContext:Ai,use:ca,useCallback:Jo,useContext:Jo,useEffect:Jo,useImperativeHandle:Jo,useLayoutEffect:Jo,useInsertionEffect:Jo,useMemo:Jo,useReducer:Jo,useRef:Jo,useState:Jo,useDebugValue:Jo,useDeferredValue:Jo,useTransition:Jo,useSyncExternalStore:Jo,useId:Jo,useHostTransitionStatus:Jo,useFormState:Jo,useActionState:Jo,useOptimistic:Jo,useMemoCache:Jo,useCacheRefresh:Jo};ps.useEffectEvent=Jo;var gs={readContext:Ai,use:ca,useCallback:function(e,t){return sa().memoizedState=[e,void 0===t?null:t],e},useContext:Ai,useEffect:Fa,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,$a(4194308,4,Va.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $a(4194308,4,e,t)},useInsertionEffect:function(e,t){$a(4,2,e,t)},useMemo:function(e,t){var n=sa();t=void 0===t?null:t;var r=e();if(Qo){ve(!0);try{e()}finally{ve(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=sa();if(void 0!==n){var i=n(t);if(Qo){ve(!0);try{n(t)}finally{ve(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=ss.bind(null,Bo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},sa().memoizedState=e},useState:function(e){var t=(e=ka(e)).queue,n=ls.bind(null,Bo,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Qa,useDeferredValue:function(e,t){return Ya(sa(),e,t)},useTransition:function(){var e=ka(!1);return e=Ja.bind(null,Bo,e.queue,!0,!1),sa().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=Bo,i=sa();if(ci){if(void 0===n)throw Error(a(407));n=n()}else{if(n=t(),null===hu)throw Error(a(349));127&gu||ya(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Fa(ba.bind(null,r,o,e),[e]),r.flags|=2048,Ra(9,{destroy:void 0},va.bind(null,r,o,n,t),null),n},useId:function(){var e=sa(),t=hu.identifierPrefix;if(ci){var n=ni;t="_"+t+"R_"+(n=(ti&~(1<<32-be(ti)-1)).toString(32)+n),0<(n=Ko++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=Xo++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:rs,useFormState:Aa,useActionState:Aa,useOptimistic:function(e){var t=sa();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=cs.bind(null,Bo,!0,n),n.dispatch=t,[e,t]},useMemoCache:da,useCacheRefresh:function(){return sa().memoizedState=as.bind(null,Bo)},useEffectEvent:function(e){var t=sa(),n={impl:e};return t.memoizedState=n,function(){if(2&fu)throw Error(a(440));return n.impl.apply(void 0,arguments)}}},ms={readContext:Ai,use:ca,useCallback:Ka,useContext:Ai,useEffect:Ua,useImperativeHandle:Wa,useInsertionEffect:qa,useLayoutEffect:Ha,useMemo:Ga,useReducer:ha,useRef:Ma,useState:function(){return ha(fa)},useDebugValue:Qa,useDeferredValue:function(e,t){return Xa(la(),qo.memoizedState,e,t)},useTransition:function(){var e=ha(fa)[0],t=la().memoizedState;return["boolean"==typeof e?e:ua(e),t]},useSyncExternalStore:ma,useId:is,useHostTransitionStatus:rs,useFormState:Na,useActionState:Na,useOptimistic:function(e,t){return xa(la(),0,e,t)},useMemoCache:da,useCacheRefresh:os};ms.useEffectEvent=Ba;var ys={readContext:Ai,use:ca,useCallback:Ka,useContext:Ai,useEffect:Ua,useImperativeHandle:Wa,useInsertionEffect:qa,useLayoutEffect:Ha,useMemo:Ga,useReducer:ga,useRef:Ma,useState:function(){return ga(fa)},useDebugValue:Qa,useDeferredValue:function(e,t){var n=la();return null===qo?Ya(n,e,t):Xa(n,qo.memoizedState,e,t)},useTransition:function(){var e=ga(fa)[0],t=la().memoizedState;return["boolean"==typeof e?e:ua(e),t]},useSyncExternalStore:ma,useId:is,useHostTransitionStatus:rs,useFormState:Ia,useActionState:Ia,useOptimistic:function(e,t){var n=la();return null!==qo?xa(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:da,useCacheRefresh:os};function vs(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:f({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}ys.useEffectEvent=Ba;var bs={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Vu(),i=vo(r);i.payload=t,null!=n&&(i.callback=n),null!==(t=bo(e,i,r))&&(Qu(t,0,r),wo(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Vu(),i=vo(r);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=bo(e,i,r))&&(Qu(t,0,r),wo(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Vu(),r=vo(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=bo(e,r,n))&&(Qu(t,0,n),wo(t,e,n))}};function ws(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!(t.prototype&&t.prototype.isPureReactComponent&&Jn(n,r)&&Jn(i,o))}function Ss(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&&bs.enqueueReplaceState(t,t.state,null)}function ks(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=f({},n)),e)void 0===n[i]&&(n[i]=e[i]);return n}function xs(e){Cr(e)}function _s(e){}function Cs(e){Cr(e)}function Es(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function Os(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function Ps(e,t,n){return(n=vo(n)).tag=3,n.payload={element:null},n.callback=function(){Es(e,t)},n}function zs(e){return(e=vo(e)).tag=3,e}function Ls(e,t,n,r){var i=n.type.getDerivedStateFromError;if("function"==typeof i){var o=r.value;e.payload=function(){return i(o)},e.callback=function(){Os(t,n,r)}}var a=n.stateNode;null!==a&&"function"==typeof a.componentDidCatch&&(e.callback=function(){Os(t,n,r),"function"!=typeof i&&(null===Iu?Iu=new Set([this]):Iu.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var As=Error(a(461)),Ns=!1;function js(e,t,n,r){t.child=null===e?po(t,null,n,r):ho(t,e.child,n,r)}function Ts(e,t,n,r,i){n=n.render;var o=t.ref;if("ref"in r){var a={};for(var s in r)"ref"!==s&&(a[s]=r[s])}else a=r;return Li(t),r=ea(e,t,n,a,o,i),s=ia(),null===e||Ns?(ci&&s&&oi(t),t.flags|=1,js(e,t,r,i),t.child):(oa(e,t,i),rl(e,t,i))}function Is(e,t,n,r,i){if(null===e){var o=n.type;return"function"!=typeof o||$r(o)||void 0!==o.defaultProps||null!==n.compare?((e=Ur(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Rs(e,t,o,r,i))}if(o=e.child,!il(e,i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:Jn)(a,r)&&e.ref===t.ref)return rl(e,t,i)}return t.flags|=1,(e=Dr(o,r)).ref=t.ref,e.return=t,t.child=e}function Rs(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(Jn(o,r)&&e.ref===t.ref){if(Ns=!1,t.pendingProps=r=o,!il(e,i))return t.lanes=e.lanes,rl(e,t,i);131072&e.flags&&(Ns=!0)}}return qs(e,t,n,r,i)}function Ms(e,t,n,r){var i=r.children,o=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===r.mode){if(128&t.flags){if(o=null!==o?o.baseLanes|n:n,null!==e){for(r=t.child=e.child,i=0;null!==r;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~o}else r=0,t.child=null;return Ds(e,t,o,n,r)}if(!(536870912&n))return r=t.lanes=536870912,Ds(e,t,null!==o?o.baseLanes|n:n,n,r);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&Ki(0,null!==o?o.cachePool:null),null!==o?zo(t,o):Lo(),Ro(t)}else null!==o?(Ki(0,o.cachePool),zo(t,o),Mo(),t.memoizedState=null):(null!==e&&Ki(0,null),Lo(),Mo());return js(e,t,i,n),t.child}function $s(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Ds(e,t,n,r,i){var o=Qi();return o=null===o?null:{parent:Mi._currentValue,pool:o},t.memoizedState={baseLanes:n,cachePool:o},null!==e&&Ki(0,null),Lo(),Ro(t),null!==e&&Pi(e,t,r,!0),t.childLanes=i,null}function Fs(e,t){return(t=Js({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function Us(e,t,n){return ho(t,e.child,null,n),(e=Fs(t,t.pendingProps)).flags|=2,$o(t),t.memoizedState=null,e}function Bs(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(a(284));null!==e&&e.ref===n||(t.flags|=4194816)}}function qs(e,t,n,r,i){return Li(t),n=ea(e,t,n,r,void 0,i),r=ia(),null===e||Ns?(ci&&r&&oi(t),t.flags|=1,js(e,t,n,i),t.child):(oa(e,t,i),rl(e,t,i))}function Hs(e,t,n,r,i,o){return Li(t),t.updateQueue=null,n=na(t,r,n,i),ta(e),r=ia(),null===e||Ns?(ci&&r&&oi(t),t.flags|=1,js(e,t,n,o),t.child):(oa(e,t,o),rl(e,t,o))}function Vs(e,t,n,r,i){if(Li(t),null===t.stateNode){var o=Ir,a=n.contextType;"object"==typeof a&&null!==a&&(o=Ai(a)),o=new n(r,o),t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,o.updater=bs,t.stateNode=o,o._reactInternals=t,(o=t.stateNode).props=r,o.state=t.memoizedState,o.refs={},mo(t),a=n.contextType,o.context="object"==typeof a&&null!==a?Ai(a):Ir,o.state=t.memoizedState,"function"==typeof(a=n.getDerivedStateFromProps)&&(vs(t,n,a,r),o.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(a=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),a!==o.state&&bs.enqueueReplaceState(o,o.state,null),_o(t,r,o,i),xo(),o.state=t.memoizedState),"function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){o=t.stateNode;var s=t.memoizedProps,l=ks(n,s);o.props=l;var u=o.context,c=n.contextType;a=Ir,"object"==typeof c&&null!==c&&(a=Ai(c));var d=n.getDerivedStateFromProps;c="function"==typeof d||"function"==typeof o.getSnapshotBeforeUpdate,s=t.pendingProps!==s,c||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s||u!==a)&&Ss(t,o,r,a),go=!1;var f=t.memoizedState;o.state=f,_o(t,r,o,i),xo(),u=t.memoizedState,s||f!==u||go?("function"==typeof d&&(vs(t,n,d,r),u=t.memoizedState),(l=go||ws(t,n,l,r,f,u,a))?(c||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),o.props=r,o.state=u,o.context=a,r=l):("function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,yo(e,t),c=ks(n,a=t.memoizedProps),o.props=c,d=t.pendingProps,f=o.context,u=n.contextType,l=Ir,"object"==typeof u&&null!==u&&(l=Ai(u)),(u="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(a!==d||f!==l)&&Ss(t,o,r,l),go=!1,f=t.memoizedState,o.state=f,_o(t,r,o,i),xo();var h=t.memoizedState;a!==d||f!==h||go||null!==e&&null!==e.dependencies&&zi(e.dependencies)?("function"==typeof s&&(vs(t,n,s,r),h=t.memoizedState),(c=go||ws(t,n,c,r,f,h,l)||null!==e&&null!==e.dependencies&&zi(e.dependencies))?(u||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,h,l),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),o.props=r,o.state=h,o.context=l,r=c):("function"!=typeof o.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return o=r,Bs(e,t),r=!!(128&t.flags),o||r?(o=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:o.render(),t.flags|=1,null!==e&&r?(t.child=ho(t,e.child,null,i),t.child=ho(t,null,n,i)):js(e,t,n,i),t.memoizedState=o.state,e=t.child):e=rl(e,t,i),e}function Ws(e,t,n,r){return vi(),t.flags|=256,js(e,t,n,r),t.child}var Qs={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ks(e){return{baseLanes:e,cachePool:Gi()}}function Gs(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=Eu),e}function Ys(e,t,n){var r,i=t.pendingProps,o=!1,s=!!(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&!!(2&Do.current)),r&&(o=!0,t.flags&=-129),r=!!(32&t.flags),t.flags&=-33,null===e){if(ci){if(o?To(t):Mo(),(e=ui)?null!==(e=null!==(e=zd(e,fi))&&"&"!==e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==ei?{id:ti,overflow:ni}:null,retryLane:536870912,hydrationErrors:null},(n=Hr(e)).return=t,t.child=n,li=t,ui=null):e=null,null===e)throw pi(t);return Ad(e)?t.lanes=32:t.lanes=536870912,null}var l=i.children;return i=i.fallback,o?(Mo(),l=Js({mode:"hidden",children:l},o=t.mode),i=Br(i,o,n,null),l.return=t,i.return=t,l.sibling=i,t.child=l,(i=t.child).memoizedState=Ks(n),i.childLanes=Gs(e,r,n),t.memoizedState=Qs,$s(null,i)):(To(t),Xs(t,l))}var u=e.memoizedState;if(null!==u&&null!==(l=u.dehydrated)){if(s)256&t.flags?(To(t),t.flags&=-257,t=Zs(e,t,n)):null!==t.memoizedState?(Mo(),t.child=e.child,t.flags|=128,t=null):(Mo(),l=i.fallback,o=t.mode,i=Js({mode:"visible",children:i.children},o),(l=Br(l,o,n,null)).flags|=2,i.return=t,l.return=t,i.sibling=l,t.child=i,ho(t,e.child,null,n),(i=t.child).memoizedState=Ks(n),i.childLanes=Gs(e,r,n),t.memoizedState=Qs,t=$s(null,i));else if(To(t),Ad(l)){if(r=l.nextSibling&&l.nextSibling.dataset)var c=r.dgst;r=c,(i=Error(a(419))).stack="",i.digest=r,wi({value:i,source:null,stack:null}),t=Zs(e,t,n)}else if(Ns||Pi(e,t,n,!1),r=0!==(n&e.childLanes),Ns||r){if(null!==(r=hu)&&0!==(i=Te(r,n))&&i!==u.retryLane)throw u.retryLane=i,Nr(e,i),Qu(r,0,i),As;Ld(l)||oc(),t=Zs(e,t,n)}else Ld(l)?(t.flags|=192,t.child=e.child,t=null):(e=u.treeContext,ui=Nd(l.nextSibling),li=t,ci=!0,di=null,fi=!1,null!==e&&si(t,e),(t=Xs(t,i.children)).flags|=4096);return t}return o?(Mo(),l=i.fallback,o=t.mode,c=(u=e.child).sibling,(i=Dr(u,{mode:"hidden",children:i.children})).subtreeFlags=65011712&u.subtreeFlags,null!==c?l=Dr(c,l):(l=Br(l,o,n,null)).flags|=2,l.return=t,i.return=t,i.sibling=l,t.child=i,$s(null,i),i=t.child,null===(l=e.child.memoizedState)?l=Ks(n):(null!==(o=l.cachePool)?(u=Mi._currentValue,o=o.parent!==u?{parent:u,pool:u}:o):o=Gi(),l={baseLanes:l.baseLanes|n,cachePool:o}),i.memoizedState=l,i.childLanes=Gs(e,r,n),t.memoizedState=Qs,$s(e.child,i)):(To(t),e=(n=e.child).sibling,(n=Dr(n,{mode:"visible",children:i.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function Xs(e,t){return(t=Js({mode:"visible",children:t},e.mode)).return=e,e.child=t}function Js(e,t){return(e=Mr(22,e,null,t)).lanes=0,e}function Zs(e,t,n){return ho(t,e.child,null,n),(e=Xs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function el(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ei(e.return,t,n)}function tl(e,t,n,r,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i,a.treeForkCount=o)}function nl(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;r=r.children;var a=Do.current,s=!!(2&a);if(s?(a=1&a|2,t.flags|=128):a&=1,F(Do,a),js(e,t,r,n),r=ci?Xr:0,!s&&null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&el(e,n,t);else if(19===e.tag)el(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}switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Fo(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),tl(t,!1,i,n,o,r);break;case"backwards":case"unstable_legacy-backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Fo(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}tl(t,!0,n,null,o,r);break;case"together":tl(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function rl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),xu|=t.lanes,0===(n&t.childLanes)){if(null===e)return null;if(Pi(e,t,n,!1),0===(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Dr(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Dr(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function il(e,t){return 0!==(e.lanes&t)||!(null===(e=e.dependencies)||!zi(e))}function ol(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)Ns=!0;else{if(!(il(e,n)||128&t.flags))return Ns=!1,function(e,t,n){switch(t.tag){case 3:Q(t,t.stateNode.containerInfo),_i(0,Mi,e.memoizedState.cache),vi();break;case 27:case 5:G(t);break;case 4:Q(t,t.stateNode.containerInfo);break;case 10:_i(0,t.type,t.memoizedProps.value);break;case 31:if(null!==t.memoizedState)return t.flags|=128,Io(t),null;break;case 13:var r=t.memoizedState;if(null!==r)return null!==r.dehydrated?(To(t),t.flags|=128,null):0!==(n&t.child.childLanes)?Ys(e,t,n):(To(t),null!==(e=rl(e,t,n))?e.sibling:null);To(t);break;case 19:var i=!!(128&e.flags);if((r=0!==(n&t.childLanes))||(Pi(e,t,n,!1),r=0!==(n&t.childLanes)),i){if(r)return nl(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),F(Do,Do.current),r)break;return null;case 22:return t.lanes=0,Ms(e,t,n,t.pendingProps);case 24:_i(0,Mi,e.memoizedState.cache)}return rl(e,t,n)}(e,t,n);Ns=!!(131072&e.flags)}else Ns=!1,ci&&1048576&t.flags&&ii(t,Xr,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=no(t.elementType),t.type=e,"function"!=typeof e){if(null!=e){var i=e.$$typeof;if(i===S){t.tag=11,t=Ts(null,t,e,r,n);break e}if(i===_){t.tag=14,t=Is(null,t,e,r,n);break e}}throw t=A(e)||e,Error(a(306,t,""))}$r(e)?(r=ks(e,r),t.tag=1,t=Vs(null,t,e,r,n)):(t.tag=0,t=qs(null,t,e,r,n))}return t;case 0:return qs(e,t,t.type,t.pendingProps,n);case 1:return Vs(e,t,r=t.type,i=ks(r,t.pendingProps),n);case 3:e:{if(Q(t,t.stateNode.containerInfo),null===e)throw Error(a(387));r=t.pendingProps;var o=t.memoizedState;i=o.element,yo(e,t),_o(t,r,null,n);var s=t.memoizedState;if(r=s.cache,_i(0,Mi,r),r!==o.cache&&Oi(t,[Mi],n,!0),xo(),r=s.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=Ws(e,t,r,n);break e}if(r!==i){wi(i=Qr(Error(a(424)),t)),t=Ws(e,t,r,n);break e}for(e=9===(e=t.stateNode.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,ui=Nd(e.firstChild),li=t,ci=!0,di=null,fi=!0,n=po(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(vi(),r===i){t=rl(e,t,n);break e}js(e,t,r,n)}t=t.child}return t;case 26:return Bs(e,t),null===e?(n=Hd(t.type,null,t.pendingProps,null))?t.memoizedState=n:ci||(n=t.type,e=t.pendingProps,(r=gd(V.current).createElement(n))[Fe]=t,r[Ue]=e,dd(r,n,e),Ze(r),t.stateNode=r):t.memoizedState=Hd(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return G(t),null===e&&ci&&(r=t.stateNode=Rd(t.type,t.pendingProps,V.current),li=t,fi=!0,i=ui,Cd(t.type)?(jd=i,ui=Nd(r.firstChild)):ui=i),js(e,t,t.pendingProps.children,n),Bs(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&ci&&((i=r=ui)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[Qe])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(o=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(o!==i.rel||e.getAttribute("href")!==(null==i.href||""===i.href?null:i.href)||e.getAttribute("crossorigin")!==(null==i.crossOrigin?null:i.crossOrigin)||e.getAttribute("title")!==(null==i.title?null:i.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((o=e.getAttribute("src"))!==(null==i.src?null:i.src)||e.getAttribute("type")!==(null==i.type?null:i.type)||e.getAttribute("crossorigin")!==(null==i.crossOrigin?null:i.crossOrigin))&&o&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var o=null==i.name?null:""+i.name;if("hidden"===i.type&&e.getAttribute("name")===o)return e}if(null===(e=Nd(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,fi))?(t.stateNode=r,li=t,ui=Nd(r.firstChild),fi=!1,i=!0):i=!1),i||pi(t)),G(t),i=t.type,o=t.pendingProps,s=null!==e?e.memoizedProps:null,r=o.children,vd(i,o)?r=null:null!==s&&vd(i,s)&&(t.flags|=32),null!==t.memoizedState&&(i=ea(e,t,ra,null,null,n),cf._currentValue=i),Bs(e,t),js(e,t,r,n),t.child;case 6:return null===e&&ci&&((e=n=ui)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n)return null;if(null===(e=Nd(e.nextSibling)))return null}return e}(n,t.pendingProps,fi))?(t.stateNode=n,li=t,ui=null,e=!0):e=!1),e||pi(t)),null;case 13:return Ys(e,t,n);case 4:return Q(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ho(t,null,r,n):js(e,t,r,n),t.child;case 11:return Ts(e,t,t.type,t.pendingProps,n);case 7:return js(e,t,t.pendingProps,n),t.child;case 8:case 12:return js(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,_i(0,t.type,r.value),js(e,t,r.children,n),t.child;case 9:return i=t.type._context,r=t.pendingProps.children,Li(t),r=r(i=Ai(i)),t.flags|=1,js(e,t,r,n),t.child;case 14:return Is(e,t,t.type,t.pendingProps,n);case 15:return Rs(e,t,t.type,t.pendingProps,n);case 19:return nl(e,t,n);case 31:return function(e,t,n){var r=t.pendingProps,i=!!(128&t.flags);if(t.flags&=-129,null===e){if(ci){if("hidden"===r.mode)return e=Fs(t,r),t.lanes=536870912,$s(null,e);if(Io(t),(e=ui)?null!==(e=null!==(e=zd(e,fi))&&"&"===e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==ei?{id:ti,overflow:ni}:null,retryLane:536870912,hydrationErrors:null},(n=Hr(e)).return=t,t.child=n,li=t,ui=null):e=null,null===e)throw pi(t);return t.lanes=536870912,null}return Fs(t,r)}var o=e.memoizedState;if(null!==o){var s=o.dehydrated;if(Io(t),i)if(256&t.flags)t.flags&=-257,t=Us(e,t,n);else{if(null===t.memoizedState)throw Error(a(558));t.child=e.child,t.flags|=128,t=null}else if(Ns||Pi(e,t,n,!1),i=0!==(n&e.childLanes),Ns||i){if(null!==(r=hu)&&0!==(s=Te(r,n))&&s!==o.retryLane)throw o.retryLane=s,Nr(e,s),Qu(r,0,s),As;oc(),t=Us(e,t,n)}else e=o.treeContext,ui=Nd(s.nextSibling),li=t,ci=!0,di=null,fi=!1,null!==e&&si(t,e),(t=Fs(t,r)).flags|=4096;return t}return(e=Dr(e.child,{mode:r.mode,children:r.children})).ref=t.ref,t.child=e,e.return=t,e}(e,t,n);case 22:return Ms(e,t,n,t.pendingProps);case 24:return Li(t),r=Ai(Mi),null===e?(null===(i=Qi())&&(i=hu,o=$i(),i.pooledCache=o,o.refCount++,null!==o&&(i.pooledCacheLanes|=n),i=o),t.memoizedState={parent:r,cache:i},mo(t),_i(0,Mi,i)):(0!==(e.lanes&n)&&(yo(e,t),_o(t,null,null,n),xo()),i=e.memoizedState,o=t.memoizedState,i.parent!==r?(i={parent:r,cache:r},t.memoizedState=i,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=i),_i(0,Mi,r)):(r=o.cache,_i(0,Mi,r),r!==i.cache&&Oi(t,[Mi],n,!0))),js(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(a(156,t.tag))}function al(e){e.flags|=4}function sl(e,t,n,r,i){if((t=!!(32&e.mode))&&(t=!1),t){if(e.flags|=16777216,(335544128&i)===i)if(e.stateNode.complete)e.flags|=8192;else{if(!nc())throw ro=Zi,Xi;e.flags|=8192}}else e.flags&=-16777217}function ll(e,t){if("stylesheet"!==t.type||4&t.state.loading)e.flags&=-16777217;else if(e.flags|=16777216,!rf(t)){if(!nc())throw ro=Zi,Xi;e.flags|=8192}}function ul(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?ze():536870912,e.lanes|=t,Ou|=t)}function cl(e,t){if(!ci)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 dl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=65011712&i.subtreeFlags,r|=65011712&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function fl(e,t,n){var r=t.pendingProps;switch(ai(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return dl(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Ci(Mi),K(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(yi(t)?al(t):null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,bi())),dl(t),null;case 26:var i=t.type,o=t.memoizedState;return null===e?(al(t),null!==o?(dl(t),ll(t,o)):(dl(t),sl(t,i,0,0,n))):o?o!==e.memoizedState?(al(t),dl(t),ll(t,o)):(dl(t),t.flags&=-16777217):((e=e.memoizedProps)!==r&&al(t),dl(t),sl(t,i,0,0,n)),null;case 27:if(Y(t),n=V.current,i=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&al(t);else{if(!r){if(null===t.stateNode)throw Error(a(166));return dl(t),null}e=q.current,yi(t)?gi(t):(e=Rd(i,r,n),t.stateNode=e,al(t))}return dl(t),null;case 5:if(Y(t),i=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&al(t);else{if(!r){if(null===t.stateNode)throw Error(a(166));return dl(t),null}if(o=q.current,yi(t))gi(t);else{var s=gd(V.current);switch(o){case 1:o=s.createElementNS("http://www.w3.org/2000/svg",i);break;case 2:o=s.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;default:switch(i){case"svg":o=s.createElementNS("http://www.w3.org/2000/svg",i);break;case"math":o=s.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;case"script":(o=s.createElement("div")).innerHTML="<script><\/script>",o=o.removeChild(o.firstChild);break;case"select":o="string"==typeof r.is?s.createElement("select",{is:r.is}):s.createElement("select"),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o="string"==typeof r.is?s.createElement(i,{is:r.is}):s.createElement(i)}}o[Fe]=t,o[Ue]=r;e:for(s=t.child;null!==s;){if(5===s.tag||6===s.tag)o.appendChild(s.stateNode);else if(4!==s.tag&&27!==s.tag&&null!==s.child){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;null===s.sibling;){if(null===s.return||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;e:switch(dd(o,i,r),i){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&al(t)}}return dl(t),sl(t,t.type,null===e||e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&al(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));if(e=V.current,yi(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(i=li))switch(i.tag){case 27:case 5:r=i.memoizedProps}e[Fe]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||ld(e.nodeValue,n)))||pi(t,!0)}else(e=gd(e).createTextNode(r))[Fe]=t,t.stateNode=e}return dl(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(r=yi(t),null!==n){if(null===e){if(!r)throw Error(a(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(a(557));e[Fe]=t}else vi(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;dl(t),e=!1}else n=bi(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return 256&t.flags?($o(t),t):($o(t),null);if(128&t.flags)throw Error(a(558))}return dl(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(i=yi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(a(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(a(317));i[Fe]=t}else vi(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;dl(t),i=!1}else i=bi(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return 256&t.flags?($o(t),t):($o(t),null)}return $o(t),128&t.flags?(t.lanes=n,t):(n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(i=null,null!==(r=t.child).alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(i=r.alternate.memoizedState.cachePool.pool),o=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(o=r.memoizedState.cachePool.pool),o!==i&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),ul(t,t.updateQueue),dl(t),null);case 4:return K(),null===e&&Jc(t.stateNode.containerInfo),dl(t),null;case 10:return Ci(t.type),dl(t),null;case 19:if(D(Do),null===(r=t.memoizedState))return dl(t),null;if(i=!!(128&t.flags),null===(o=r.rendering))if(i)cl(r,!1);else{if(0!==ku||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(o=Fo(e))){for(t.flags|=128,cl(r,!1),e=o.updateQueue,t.updateQueue=e,ul(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)Fr(n,e),n=n.sibling;return F(Do,1&Do.current|2),ci&&ri(t,r.treeForkCount),t.child}e=e.sibling}null!==r.tail&&se()>ju&&(t.flags|=128,i=!0,cl(r,!1),t.lanes=4194304)}else{if(!i)if(null!==(e=Fo(o))){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,ul(t,e),cl(r,!0),null===r.tail&&"hidden"===r.tailMode&&!o.alternate&&!ci)return dl(t),null}else 2*se()-r.renderingStartTime>ju&&536870912!==n&&(t.flags|=128,i=!0,cl(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(null!==(e=r.last)?e.sibling=o:t.child=o,r.last=o)}return null!==r.tail?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=se(),e.sibling=null,n=Do.current,F(Do,i?1&n|2:1&n),ci&&ri(t,r.treeForkCount),e):(dl(t),null);case 22:case 23:return $o(t),Ao(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?!!(536870912&n)&&!(128&t.flags)&&(dl(t),6&t.subtreeFlags&&(t.flags|=8192)):dl(t),null!==(n=t.updateQueue)&&ul(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&D(Wi),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Ci(Mi),dl(t),null;case 25:case 30:return null}throw Error(a(156,t.tag))}function hl(e,t){switch(ai(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Ci(Mi),K(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return Y(t),null;case 31:if(null!==t.memoizedState){if($o(t),null===t.alternate)throw Error(a(340));vi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if($o(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));vi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return D(Do),null;case 4:return K(),null;case 10:return Ci(t.type),null;case 22:case 23:return $o(t),Ao(),null!==e&&D(Wi),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return Ci(Mi),null;default:return null}}function pl(e,t){switch(ai(t),t.tag){case 3:Ci(Mi),K();break;case 26:case 27:case 5:Y(t);break;case 4:K();break;case 31:null!==t.memoizedState&&$o(t);break;case 13:$o(t);break;case 19:D(Do);break;case 10:Ci(t.type);break;case 22:case 23:$o(t),Ao(),null!==e&&D(Wi);break;case 24:Ci(Mi)}}function gl(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var o=n.create,a=n.inst;r=o(),a.destroy=r}n=n.next}while(n!==i)}}catch(s){kc(t,t.return,s)}}function ml(e,t,n){try{var r=t.updateQueue,i=null!==r?r.lastEffect:null;if(null!==i){var o=i.next;r=o;do{if((r.tag&e)===e){var a=r.inst,s=a.destroy;if(void 0!==s){a.destroy=void 0,i=t;var l=n,u=s;try{u()}catch(c){kc(i,l,c)}}}r=r.next}while(r!==o)}}catch(c){kc(t,t.return,c)}}function yl(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{Eo(t,n)}catch(r){kc(e,e.return,r)}}}function vl(e,t,n){n.props=ks(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(r){kc(e,t,r)}}function bl(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(i){kc(e,t,i)}}function wl(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(i){kc(e,t,i)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(o){kc(e,t,o)}else n.current=null}function Sl(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break e;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(i){kc(e,e.return,i)}}function kl(e,t,n){try{var r=e.stateNode;!function(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,o=null,s=null,l=null,u=null,c=null,d=null;for(p in n){var f=n[p];if(n.hasOwnProperty(p)&&null!=f)switch(p){case"checked":case"value":break;case"defaultValue":u=f;default:r.hasOwnProperty(p)||ud(e,t,p,null,r,f)}}for(var h in r){var p=r[h];if(f=n[h],r.hasOwnProperty(h)&&(null!=p||null!=f))switch(h){case"type":o=p;break;case"name":i=p;break;case"checked":c=p;break;case"defaultChecked":d=p;break;case"value":s=p;break;case"defaultValue":l=p;break;case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(a(137,t));break;default:p!==f&&ud(e,t,h,p,r,f)}}return void yt(e,s,l,u,c,d,o,i);case"select":for(o in p=s=l=h=null,n)if(u=n[o],n.hasOwnProperty(o)&&null!=u)switch(o){case"value":break;case"multiple":p=u;default:r.hasOwnProperty(o)||ud(e,t,o,null,r,u)}for(i in r)if(o=r[i],u=n[i],r.hasOwnProperty(i)&&(null!=o||null!=u))switch(i){case"value":h=o;break;case"defaultValue":l=o;break;case"multiple":s=o;default:o!==u&&ud(e,t,i,o,r,u)}return t=l,n=s,r=p,void(null!=h?wt(e,!!n,h,!1):!!r!=!!n&&(null!=t?wt(e,!!n,t,!0):wt(e,!!n,n?[]:"",!1)));case"textarea":for(l in p=h=null,n)if(i=n[l],n.hasOwnProperty(l)&&null!=i&&!r.hasOwnProperty(l))switch(l){case"value":case"children":break;default:ud(e,t,l,null,r,i)}for(s in r)if(i=r[s],o=n[s],r.hasOwnProperty(s)&&(null!=i||null!=o))switch(s){case"value":h=i;break;case"defaultValue":p=i;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=i)throw Error(a(91));break;default:i!==o&&ud(e,t,s,i,r,o)}return void St(e,h,p);case"option":for(var g in n)h=n[g],n.hasOwnProperty(g)&&null!=h&&!r.hasOwnProperty(g)&&("selected"===g?e.selected=!1:ud(e,t,g,null,r,h));for(u in r)h=r[u],p=n[u],!r.hasOwnProperty(u)||h===p||null==h&&null==p||("selected"===u?e.selected=h&&"function"!=typeof h&&"symbol"!=typeof h:ud(e,t,u,h,r,p));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var m in n)h=n[m],n.hasOwnProperty(m)&&null!=h&&!r.hasOwnProperty(m)&&ud(e,t,m,null,r,h);for(c in r)if(h=r[c],p=n[c],r.hasOwnProperty(c)&&h!==p&&(null!=h||null!=p))switch(c){case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(a(137,t));break;default:ud(e,t,c,h,r,p)}return;default:if(Ot(t)){for(var y in n)h=n[y],n.hasOwnProperty(y)&&void 0!==h&&!r.hasOwnProperty(y)&&cd(e,t,y,void 0,r,h);for(d in r)h=r[d],p=n[d],!r.hasOwnProperty(d)||h===p||void 0===h&&void 0===p||cd(e,t,d,h,r,p);return}}for(var v in n)h=n[v],n.hasOwnProperty(v)&&null!=h&&!r.hasOwnProperty(v)&&ud(e,t,v,null,r,h);for(f in r)h=r[f],p=n[f],!r.hasOwnProperty(f)||h===p||null==h&&null==p||ud(e,t,f,h,r,p)}(r,e.type,n,t),r[Ue]=t}catch(i){kc(e,e.return,i)}}function xl(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&Cd(e.type)||4===e.tag}function _l(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||xl(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(27===e.tag&&Cd(e.type))continue e;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 Cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?(9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).insertBefore(e,t):((t=9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=At));else if(4!==r&&(27===r&&Cd(e.type)&&(n=e.stateNode,t=null),null!==(e=e.child)))for(Cl(e,t,n),e=e.sibling;null!==e;)Cl(e,t,n),e=e.sibling}function El(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&&(27===r&&Cd(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(El(e,t,n),e=e.sibling;null!==e;)El(e,t,n),e=e.sibling}function Ol(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);dd(t,r,n),t[Fe]=e,t[Ue]=n}catch(o){kc(e,e.return,o)}}var Pl=!1,zl=!1,Ll=!1,Al="function"==typeof WeakSet?WeakSet:Set,Nl=null;function jl(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Ql(e,n),4&r&&gl(5,n);break;case 1:if(Ql(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(a){kc(n,n.return,a)}else{var i=ks(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(s){kc(n,n.return,s)}}64&r&&yl(n),512&r&&bl(n,n.return);break;case 3:if(Ql(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{Eo(e,t)}catch(a){kc(n,n.return,a)}}break;case 27:null===t&&4&r&&Ol(n);case 26:case 5:Ql(e,n),null===t&&4&r&&Sl(n),512&r&&bl(n,n.return);break;case 12:Ql(e,n);break;case 31:Ql(e,n),4&r&&Dl(e,n);break;case 13:Ql(e,n),4&r&&Fl(e,n),64&r&&null!==(e=n.memoizedState)&&null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$~"===e.data)e._reactRetry=t;else if("$?"!==e.data||"loading"!==n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=Ec.bind(null,n));break;case 22:if(!(r=null!==n.memoizedState||Pl)){t=null!==t&&null!==t.memoizedState||zl,i=Pl;var o=zl;Pl=r,(zl=t)&&!o?Gl(e,n,!!(8772&n.subtreeFlags)):Ql(e,n),Pl=i,zl=o}break;case 30:break;default:Ql(e,n)}}function Tl(e){var t=e.alternate;null!==t&&(e.alternate=null,Tl(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&Ke(t),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Il=null,Rl=!1;function Ml(e,t,n){for(n=n.child;null!==n;)$l(e,t,n),n=n.sibling}function $l(e,t,n){if(ye&&"function"==typeof ye.onCommitFiberUnmount)try{ye.onCommitFiberUnmount(me,n)}catch(o){}switch(n.tag){case 26:zl||wl(n,t),Ml(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:zl||wl(n,t);var r=Il,i=Rl;Cd(n.type)&&(Il=n.stateNode,Rl=!1),Ml(e,t,n),Md(n.stateNode),Il=r,Rl=i;break;case 5:zl||wl(n,t);case 6:if(r=Il,i=Rl,Il=null,Ml(e,t,n),Rl=i,null!==(Il=r))if(Rl)try{(9===Il.nodeType?Il.body:"HTML"===Il.nodeName?Il.ownerDocument.body:Il).removeChild(n.stateNode)}catch(a){kc(n,t,a)}else try{Il.removeChild(n.stateNode)}catch(a){kc(n,t,a)}break;case 18:null!==Il&&(Rl?(Ed(9===(e=Il).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),Bf(e)):Ed(Il,n.stateNode));break;case 4:r=Il,i=Rl,Il=n.stateNode.containerInfo,Rl=!0,Ml(e,t,n),Il=r,Rl=i;break;case 0:case 11:case 14:case 15:ml(2,n,t),zl||ml(4,n,t),Ml(e,t,n);break;case 1:zl||(wl(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&vl(n,t,r)),Ml(e,t,n);break;case 21:Ml(e,t,n);break;case 22:zl=(r=zl)||null!==n.memoizedState,Ml(e,t,n),zl=r;break;default:Ml(e,t,n)}}function Dl(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)){e=e.dehydrated;try{Bf(e)}catch(n){kc(t,t.return,n)}}}function Fl(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{Bf(e)}catch(n){kc(t,t.return,n)}}function Ul(e,t){var n=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new Al),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new Al),t;default:throw Error(a(435,e.tag))}}(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Oc.bind(null,e,t);t.then(r,r)}})}function Bl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r],o=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 27:if(Cd(l.type)){Il=l.stateNode,Rl=!1;break e}break;case 5:Il=l.stateNode,Rl=!1;break e;case 3:case 4:Il=l.stateNode.containerInfo,Rl=!0;break e}l=l.return}if(null===Il)throw Error(a(160));$l(o,s,i),Il=null,Rl=!1,null!==(o=i.alternate)&&(o.return=null),i.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)Hl(t,e),t=t.sibling}var ql=null;function Hl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Bl(t,e),Vl(e),4&r&&(ml(3,e,e.return),gl(3,e),ml(5,e,e.return));break;case 1:Bl(t,e),Vl(e),512&r&&(zl||null===n||wl(n,n.return)),64&r&&Pl&&null!==(e=e.updateQueue)&&null!==(r=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?r:n.concat(r));break;case 26:var i=ql;if(Bl(t,e),Vl(e),512&r&&(zl||null===n||wl(n,n.return)),4&r){var o=null!==n?n.memoizedState:null;if(r=e.memoizedState,null===n)if(null===r)if(null===e.stateNode){e:{r=e.type,n=e.memoizedProps,i=i.ownerDocument||i;t:switch(r){case"title":(!(o=i.getElementsByTagName("title")[0])||o[Qe]||o[Fe]||"http://www.w3.org/2000/svg"===o.namespaceURI||o.hasAttribute("itemprop"))&&(o=i.createElement(r),i.head.insertBefore(o,i.querySelector("head > title"))),dd(o,r,n),o[Fe]=e,Ze(o),r=o;break e;case"link":var s=tf("link","href",i).get(r+(n.href||""));if(s)for(var l=0;l<s.length;l++)if((o=s[l]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&o.getAttribute("rel")===(null==n.rel?null:n.rel)&&o.getAttribute("title")===(null==n.title?null:n.title)&&o.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){s.splice(l,1);break t}dd(o=i.createElement(r),r,n),i.head.appendChild(o);break;case"meta":if(s=tf("meta","content",i).get(r+(n.content||"")))for(l=0;l<s.length;l++)if((o=s[l]).getAttribute("content")===(null==n.content?null:""+n.content)&&o.getAttribute("name")===(null==n.name?null:n.name)&&o.getAttribute("property")===(null==n.property?null:n.property)&&o.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&o.getAttribute("charset")===(null==n.charSet?null:n.charSet)){s.splice(l,1);break t}dd(o=i.createElement(r),r,n),i.head.appendChild(o);break;default:throw Error(a(468,r))}o[Fe]=e,Ze(o),r=o}e.stateNode=r}else nf(i,e.type,e.stateNode);else e.stateNode=Yd(i,r,e.memoizedProps);else o!==r?(null===o?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):o.count--,null===r?nf(i,e.type,e.stateNode):Yd(i,r,e.memoizedProps)):null===r&&null!==e.stateNode&&kl(e,e.memoizedProps,n.memoizedProps)}break;case 27:Bl(t,e),Vl(e),512&r&&(zl||null===n||wl(n,n.return)),null!==n&&4&r&&kl(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Bl(t,e),Vl(e),512&r&&(zl||null===n||wl(n,n.return)),32&e.flags){i=e.stateNode;try{xt(i,"")}catch(g){kc(e,e.return,g)}}4&r&&null!=e.stateNode&&kl(e,i=e.memoizedProps,null!==n?n.memoizedProps:i),1024&r&&(Ll=!0);break;case 6:if(Bl(t,e),Vl(e),4&r){if(null===e.stateNode)throw Error(a(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(g){kc(e,e.return,g)}}break;case 3:if(ef=null,i=ql,ql=Fd(t.containerInfo),Bl(t,e),ql=i,Vl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Bf(t.containerInfo)}catch(g){kc(e,e.return,g)}Ll&&(Ll=!1,Wl(e));break;case 4:r=ql,ql=Fd(e.stateNode.containerInfo),Bl(t,e),Vl(e),ql=r;break;case 12:default:Bl(t,e),Vl(e);break;case 31:case 19:Bl(t,e),Vl(e),4&r&&null!==(r=e.updateQueue)&&(e.updateQueue=null,Ul(e,r));break;case 13:Bl(t,e),Vl(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==n&&null!==n.memoizedState)&&(Au=se()),4&r&&null!==(r=e.updateQueue)&&(e.updateQueue=null,Ul(e,r));break;case 22:i=null!==e.memoizedState;var u=null!==n&&null!==n.memoizedState,c=Pl,d=zl;if(Pl=c||i,zl=d||u,Bl(t,e),zl=d,Pl=c,Vl(e),8192&r)e:for(t=e.stateNode,t._visibility=i?-2&t._visibility:1|t._visibility,i&&(null===n||u||Pl||zl||Kl(e)),n=null,t=e;;){if(5===t.tag||26===t.tag){if(null===n){u=n=t;try{if(o=u.stateNode,i)"function"==typeof(s=o.style).setProperty?s.setProperty("display","none","important"):s.display="none";else{l=u.stateNode;var f=u.memoizedProps.style,h=null!=f&&f.hasOwnProperty("display")?f.display:null;l.style.display=null==h||"boolean"==typeof h?"":(""+h).trim()}}catch(g){kc(u,u.return,g)}}}else if(6===t.tag){if(null===n){u=t;try{u.stateNode.nodeValue=i?"":u.memoizedProps}catch(g){kc(u,u.return,g)}}}else if(18===t.tag){if(null===n){u=t;try{var p=u.stateNode;i?Od(p,!0):Od(u.stateNode,!1)}catch(g){kc(u,u.return,g)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}4&r&&null!==(r=e.updateQueue)&&null!==(n=r.retryQueue)&&(r.retryQueue=null,Ul(e,n));case 30:case 21:}}function Vl(e){var t=e.flags;if(2&t){try{for(var n,r=e.return;null!==r;){if(xl(r)){n=r;break}r=r.return}if(null==n)throw Error(a(160));switch(n.tag){case 27:var i=n.stateNode;El(e,_l(e),i);break;case 5:var o=n.stateNode;32&n.flags&&(xt(o,""),n.flags&=-33),El(e,_l(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;Cl(e,_l(e),s);break;default:throw Error(a(161))}}catch(l){kc(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Wl(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;Wl(t),5===t.tag&&1024&t.flags&&t.stateNode.reset(),e=e.sibling}}function Ql(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)jl(e,t.alternate,t),t=t.sibling}function Kl(e){for(e=e.child;null!==e;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:ml(4,t,t.return),Kl(t);break;case 1:wl(t,t.return);var n=t.stateNode;"function"==typeof n.componentWillUnmount&&vl(t,t.return,n),Kl(t);break;case 27:Md(t.stateNode);case 26:case 5:wl(t,t.return),Kl(t);break;case 22:null===t.memoizedState&&Kl(t);break;default:Kl(t)}e=e.sibling}}function Gl(e,t,n){for(n=n&&!!(8772&t.subtreeFlags),t=t.child;null!==t;){var r=t.alternate,i=e,o=t,a=o.flags;switch(o.tag){case 0:case 11:case 15:Gl(i,o,n),gl(4,o);break;case 1:if(Gl(i,o,n),"function"==typeof(i=(r=o).stateNode).componentDidMount)try{i.componentDidMount()}catch(u){kc(r,r.return,u)}if(null!==(i=(r=o).updateQueue)){var s=r.stateNode;try{var l=i.shared.hiddenCallbacks;if(null!==l)for(i.shared.hiddenCallbacks=null,i=0;i<l.length;i++)Co(l[i],s)}catch(u){kc(r,r.return,u)}}n&&64&a&&yl(o),bl(o,o.return);break;case 27:Ol(o);case 26:case 5:Gl(i,o,n),n&&null===r&&4&a&&Sl(o),bl(o,o.return);break;case 12:Gl(i,o,n);break;case 31:Gl(i,o,n),n&&4&a&&Dl(i,o);break;case 13:Gl(i,o,n),n&&4&a&&Fl(i,o);break;case 22:null===o.memoizedState&&Gl(i,o,n),bl(o,o.return);break;case 30:break;default:Gl(i,o,n)}t=t.sibling}}function Yl(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&Di(n))}function Xl(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Di(e))}function Jl(e,t,n,r){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)Zl(e,t,n,r),t=t.sibling}function Zl(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:Jl(e,t,n,r),2048&i&&gl(9,t);break;case 1:case 31:case 13:default:Jl(e,t,n,r);break;case 3:Jl(e,t,n,r),2048&i&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Di(e)));break;case 12:if(2048&i){Jl(e,t,n,r),e=t.stateNode;try{var o=t.memoizedProps,a=o.id,s=o.onPostCommit;"function"==typeof s&&s(a,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(l){kc(t,t.return,l)}}else Jl(e,t,n,r);break;case 23:break;case 22:o=t.stateNode,a=t.alternate,null!==t.memoizedState?2&o._visibility?Jl(e,t,n,r):tu(e,t):2&o._visibility?Jl(e,t,n,r):(o._visibility|=2,eu(e,t,n,r,!!(10256&t.subtreeFlags)||!1)),2048&i&&Yl(a,t);break;case 24:Jl(e,t,n,r),2048&i&&Xl(t.alternate,t)}}function eu(e,t,n,r,i){for(i=i&&(!!(10256&t.subtreeFlags)||!1),t=t.child;null!==t;){var o=e,a=t,s=n,l=r,u=a.flags;switch(a.tag){case 0:case 11:case 15:eu(o,a,s,l,i),gl(8,a);break;case 23:break;case 22:var c=a.stateNode;null!==a.memoizedState?2&c._visibility?eu(o,a,s,l,i):tu(o,a):(c._visibility|=2,eu(o,a,s,l,i)),i&&2048&u&&Yl(a.alternate,a);break;case 24:eu(o,a,s,l,i),i&&2048&u&&Xl(a.alternate,a);break;default:eu(o,a,s,l,i)}t=t.sibling}}function tu(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:tu(n,r),2048&i&&Yl(r.alternate,r);break;case 24:tu(n,r),2048&i&&Xl(r.alternate,r);break;default:tu(n,r)}t=t.sibling}}var nu=8192;function ru(e,t,n){if(e.subtreeFlags&nu)for(e=e.child;null!==e;)iu(e,t,n),e=e.sibling}function iu(e,t,n){switch(e.tag){case 26:ru(e,t,n),e.flags&nu&&null!==e.memoizedState&&function(e,t,n,r){if(!("stylesheet"!==n.type||"string"==typeof r.media&&!1===matchMedia(r.media).matches||4&n.state.loading)){if(null===n.instance){var i=Vd(r.href),o=t.querySelector(Wd(i));if(o)return null!==(t=o._p)&&"object"==typeof t&&"function"==typeof t.then&&(e.count++,e=af.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=o,void Ze(o);o=t.ownerDocument||t,r=Qd(r),(i=$d.get(i))&&Jd(r,i),Ze(o=o.createElement("link"));var a=o;a._p=new Promise(function(e,t){a.onload=e,a.onerror=t}),dd(o,"link",r),n.instance=o}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(3&n.state.loading)&&(e.count++,n=af.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}(n,ql,e.memoizedState,e.memoizedProps);break;case 5:default:ru(e,t,n);break;case 3:case 4:var r=ql;ql=Fd(e.stateNode.containerInfo),ru(e,t,n),ql=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=nu,nu=16777216,ru(e,t,n),nu=r):ru(e,t,n))}}function ou(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function au(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];Nl=r,uu(r,e)}ou(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)su(e),e=e.sibling}function su(e){switch(e.tag){case 0:case 11:case 15:au(e),2048&e.flags&&ml(9,e,e.return);break;case 3:case 12:default:au(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,lu(e)):au(e)}}function lu(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];Nl=r,uu(r,e)}ou(e)}for(e=e.child;null!==e;){switch((t=e).tag){case 0:case 11:case 15:ml(8,t,t.return),lu(t);break;case 22:2&(n=t.stateNode)._visibility&&(n._visibility&=-3,lu(t));break;default:lu(t)}e=e.sibling}}function uu(e,t){for(;null!==Nl;){var n=Nl;switch(n.tag){case 0:case 11:case 15:ml(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:Di(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,Nl=r;else e:for(n=e;null!==Nl;){var i=(r=Nl).sibling,o=r.return;if(Tl(r),r===n){Nl=null;break e}if(null!==i){i.return=o,Nl=i;break e}Nl=o}}}var cu={getCacheForType:function(e){var t=Ai(Mi),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Ai(Mi).controller.signal}},du="function"==typeof WeakMap?WeakMap:Map,fu=0,hu=null,pu=null,gu=0,mu=0,yu=null,vu=!1,bu=!1,wu=!1,Su=0,ku=0,xu=0,_u=0,Cu=0,Eu=0,Ou=0,Pu=null,zu=null,Lu=!1,Au=0,Nu=0,ju=1/0,Tu=null,Iu=null,Ru=0,Mu=null,$u=null,Du=0,Fu=0,Uu=null,Bu=null,qu=0,Hu=null;function Vu(){return 2&fu&&0!==gu?gu&-gu:null!==j.T?Uc():Me()}function Wu(){if(0===Eu)if(536870912&gu&&!ci)Eu=536870912;else{var e=xe;!(3932160&(xe<<=1))&&(xe=262144),Eu=e}return null!==(e=No.current)&&(e.flags|=32),Eu}function Qu(e,t,n){(e!==hu||2!==mu&&9!==mu)&&null===e.cancelPendingCommit||(ec(e,0),Xu(e,gu,Eu,!1)),Ae(e,n),2&fu&&e===hu||(e===hu&&(!(2&fu)&&(_u|=n),4===ku&&Xu(e,gu,Eu,!1)),Tc(e))}function Ku(e,t,n){if(6&fu)throw Error(a(327));for(var r=!n&&!(127&t)&&0===(t&e.expiredLanes)||Oe(e,t),i=r?function(e,t){var n=fu;fu|=2;var r=rc(),i=ic();hu!==e||gu!==t?(Tu=null,ju=se()+500,ec(e,t)):bu=Oe(e,t);e:for(;;)try{if(0!==mu&&null!==pu){t=pu;var o=yu;t:switch(mu){case 1:mu=0,yu=null,dc(e,t,o,1);break;case 2:case 9:if(eo(o)){mu=0,yu=null,cc(t);break}t=function(){2!==mu&&9!==mu||hu!==e||(mu=7),Tc(e)},o.then(t,t);break e;case 3:mu=7;break e;case 4:mu=5;break e;case 7:eo(o)?(mu=0,yu=null,cc(t)):(mu=0,yu=null,dc(e,t,o,7));break;case 5:var s=null;switch(pu.tag){case 26:s=pu.memoizedState;case 5:case 27:var l=pu;if(s?rf(s):l.stateNode.complete){mu=0,yu=null;var u=l.sibling;if(null!==u)pu=u;else{var c=l.return;null!==c?(pu=c,fc(c)):pu=null}break t}}mu=0,yu=null,dc(e,t,o,5);break;case 6:mu=0,yu=null,dc(e,t,o,6);break;case 8:Zu(),ku=6;break e;default:throw Error(a(462))}}lc();break}catch(d){tc(e,d)}return xi=ki=null,j.H=r,j.A=i,fu=n,null!==pu?0:(hu=null,gu=0,zr(),ku)}(e,t):ac(e,t,!0),o=r;;){if(0===i){bu&&!r&&Xu(e,t,0,!1);break}if(n=e.current.alternate,!o||Yu(n)){if(2===i){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=0!=(s=-536870913&e.pendingLanes)?s:536870912&s?536870912:0;if(0!==s){t=s;e:{var l=e;i=Pu;var u=l.current.memoizedState.isDehydrated;if(u&&(ec(l,s).flags|=256),2!==(s=ac(l,s,!1))){if(wu&&!u){l.errorRecoveryDisabledLanes|=o,_u|=o,i=4;break e}o=zu,zu=i,null!==o&&(null===zu?zu=o:zu.push.apply(zu,o))}i=s}if(o=!1,2!==i)continue}}if(1===i){ec(e,0),Xu(e,t,0,!0);break}e:{switch(r=e,o=i){case 0:case 1:throw Error(a(345));case 4:if((4194048&t)!==t)break;case 6:Xu(r,t,Eu,!vu);break e;case 2:zu=null;break;case 3:case 5:break;default:throw Error(a(329))}if((62914560&t)===t&&10<(i=Au+300-se())){if(Xu(r,t,Eu,!vu),0!==Ee(r,0,!0))break e;Du=t,r.timeoutHandle=wd(Gu.bind(null,r,n,zu,Tu,Lu,t,Eu,_u,Ou,vu,o,"Throttled",-0,0),i)}else Gu(r,n,zu,Tu,Lu,t,Eu,_u,Ou,vu,o,null,-0,0)}break}i=ac(e,t,!1),o=!1}Tc(e)}function Gu(e,t,n,r,i,o,a,s,l,u,c,d,f,h){if(e.timeoutHandle=-1,8192&(d=t.subtreeFlags)||!(16785408&~d)){iu(t,o,d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:At});var p=(62914560&o)===o?Au-se():(4194048&o)===o?Nu-se():0;if(null!==(p=function(e,t){return e.stylesheets&&0===e.count&&lf(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&lf(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&0===of&&(of=62500*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var i=n[r],o=i.transferSize,a=i.initiatorType,s=i.duration;if(o&&s&&fd(a)){for(a=0,s=i.responseEnd,r+=1;r<n.length;r++){var l=n[r],u=l.startTime;if(u>s)break;var c=l.transferSize,d=l.initiatorType;c&&fd(d)&&(a+=c*((l=l.responseEnd)<s?1:(s-u)/(l-u)))}if(--r,t+=8*(o+a)/(i.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&"number"==typeof(e=navigator.connection.downlink)?e:5}());var i=setTimeout(function(){if(e.waitingForImages=!1,0===e.count&&(e.stylesheets&&lf(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>of?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}(d,p)))return Du=o,e.cancelPendingCommit=p(pc.bind(null,e,t,o,n,r,i,a,s,l,c,d,null,f,h)),void Xu(e,o,a,!u)}pc(e,t,o,n,r,i,a,s,l)}function Yu(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&null!==(n=t.updateQueue)&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!Xn(o(),i))return!1}catch(a){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Xu(e,t,n,r){t&=~Cu,t&=~_u,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var o=31-be(i),a=1<<o;r[o]=-1,i&=~a}0!==n&&Ne(e,n,t)}function Ju(){return!!(6&fu)||(Ic(0,!1),!1)}function Zu(){if(null!==pu){if(0===mu)var e=pu.return;else xi=ki=null,aa(e=pu),ao=null,so=0,e=pu;for(;null!==e;)pl(e.alternate,e),e=e.return;pu=null}}function ec(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,Sd(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),Du=0,Zu(),hu=e,pu=n=Dr(e.current,null),gu=t,mu=0,yu=null,vu=!1,bu=Oe(e,t),wu=!1,Ou=Eu=Cu=_u=xu=ku=0,zu=Pu=null,Lu=!1,8&t&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var i=31-be(r),o=1<<i;t|=e[i],r&=~o}return Su=t,zr(),n}function tc(e,t){Bo=null,j.H=ps,t===Yi||t===Ji?(t=io(),mu=3):t===Xi?(t=io(),mu=4):mu=t===As?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,yu=t,null===pu&&(ku=1,Es(e,Qr(t,e.current)))}function nc(){var e=No.current;return null===e||((4194048&gu)===gu?null===jo:!!((62914560&gu)===gu||536870912&gu)&&e===jo)}function rc(){var e=j.H;return j.H=ps,null===e?ps:e}function ic(){var e=j.A;return j.A=cu,e}function oc(){ku=4,vu||(4194048&gu)!==gu&&null!==No.current||(bu=!0),!(134217727&xu)&&!(134217727&_u)||null===hu||Xu(hu,gu,Eu,!1)}function ac(e,t,n){var r=fu;fu|=2;var i=rc(),o=ic();hu===e&&gu===t||(Tu=null,ec(e,t)),t=!1;var a=ku;e:for(;;)try{if(0!==mu&&null!==pu){var s=pu,l=yu;switch(mu){case 8:Zu(),a=6;break e;case 3:case 2:case 9:case 6:null===No.current&&(t=!0);var u=mu;if(mu=0,yu=null,dc(e,s,l,u),n&&bu){a=0;break e}break;default:u=mu,mu=0,yu=null,dc(e,s,l,u)}}sc(),a=ku;break}catch(c){tc(e,c)}return t&&e.shellSuspendCounter++,xi=ki=null,fu=r,j.H=i,j.A=o,null===pu&&(hu=null,gu=0,zr()),a}function sc(){for(;null!==pu;)uc(pu)}function lc(){for(;null!==pu&&!oe();)uc(pu)}function uc(e){var t=ol(e.alternate,e,Su);e.memoizedProps=e.pendingProps,null===t?fc(e):pu=t}function cc(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Hs(n,t,t.pendingProps,t.type,void 0,gu);break;case 11:t=Hs(n,t,t.pendingProps,t.type.render,t.ref,gu);break;case 5:aa(t);default:pl(n,t),t=ol(n,t=pu=Fr(t,Su),Su)}e.memoizedProps=e.pendingProps,null===t?fc(e):pu=t}function dc(e,t,n,r){xi=ki=null,aa(t),ao=null,so=0;var i=t.return;try{if(function(e,t,n,r,i){if(n.flags|=32768,null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=n.alternate)&&Pi(t,n,i,!0),null!==(n=No.current)){switch(n.tag){case 31:case 13:return null===jo?oc():null===n.alternate&&0===ku&&(ku=3),n.flags&=-257,n.flags|=65536,n.lanes=i,r===Zi?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),xc(e,r,i)),!1;case 22:return n.flags|=65536,r===Zi?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),xc(e,r,i)),!1}throw Error(a(435,n.tag))}return xc(e,r,i),oc(),!1}if(ci)return null!==(t=No.current)?(!(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=i,r!==hi&&wi(Qr(e=Error(a(422),{cause:r}),n))):(r!==hi&&wi(Qr(t=Error(a(423),{cause:r}),n)),(e=e.current.alternate).flags|=65536,i&=-i,e.lanes|=i,r=Qr(r,n),So(e,i=Ps(e.stateNode,r,i)),4!==ku&&(ku=2)),!1;var o=Error(a(520),{cause:r});if(o=Qr(o,n),null===Pu?Pu=[o]:Pu.push(o),4!==ku&&(ku=2),null===t)return!0;r=Qr(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,So(n,e=Ps(n.stateNode,r,e)),!1;case 1:if(t=n.type,o=n.stateNode,!(128&n.flags||"function"!=typeof t.getDerivedStateFromError&&(null===o||"function"!=typeof o.componentDidCatch||null!==Iu&&Iu.has(o))))return n.flags|=65536,i&=-i,n.lanes|=i,Ls(i=zs(i),e,n,r),So(n,i),!1}n=n.return}while(null!==n);return!1}(e,i,t,n,gu))return ku=1,Es(e,Qr(n,e.current)),void(pu=null)}catch(o){if(null!==i)throw pu=i,o;return ku=1,Es(e,Qr(n,e.current)),void(pu=null)}32768&t.flags?(ci||1===r?e=!0:bu||536870912&gu?e=!1:(vu=e=!0,(2===r||9===r||3===r||6===r)&&null!==(r=No.current)&&13===r.tag&&(r.flags|=16384)),hc(t,e)):fc(t)}function fc(e){var t=e;do{if(32768&t.flags)return void hc(t,vu);e=t.return;var n=fl(t.alternate,t,Su);if(null!==n)return void(pu=n);if(null!==(t=t.sibling))return void(pu=t);pu=t=e}while(null!==t);0===ku&&(ku=5)}function hc(e,t){do{var n=hl(e.alternate,e);if(null!==n)return n.flags&=32767,void(pu=n);if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling))return void(pu=e);pu=e=n}while(null!==e);ku=6,pu=null}function pc(e,t,n,r,i,o,s,l,u){e.cancelPendingCommit=null;do{bc()}while(0!==Ru);if(6&fu)throw Error(a(327));if(null!==t){if(t===e.current)throw Error(a(177));if(o=t.lanes|t.childLanes,function(e,t,n,r,i,o){var a=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,l=e.expirationTimes,u=e.hiddenUpdates;for(n=a&~n;0<n;){var c=31-be(n),d=1<<c;s[c]=0,l[c]=-1;var f=u[c];if(null!==f)for(u[c]=null,c=0;c<f.length;c++){var h=f[c];null!==h&&(h.lane&=-536870913)}n&=~d}0!==r&&Ne(e,r,0),0!==o&&0===i&&0!==e.tag&&(e.suspendedLanes|=o&~(a&~t))}(e,n,o|=Pr,s,l,u),e===hu&&(pu=hu=null,gu=0),$u=t,Mu=e,Du=n,Fu=o,Uu=i,Bu=r,10256&t.subtreeFlags||10256&t.flags?(e.callbackNode=null,e.callbackPriority=0,re(de,function(){return wc(),null})):(e.callbackNode=null,e.callbackPriority=0),r=!!(13878&t.flags),13878&t.subtreeFlags||r){r=j.T,j.T=null,i=T.p,T.p=2,s=fu,fu|=4;try{!function(e,t){if(e=e.containerInfo,hd=yf,rr(e=nr(e))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch(m){n=null;break e}var s=0,l=-1,u=-1,c=0,d=0,f=e,h=null;t:for(;;){for(var p;f!==n||0!==i&&3!==f.nodeType||(l=s+i),f!==o||0!==r&&3!==f.nodeType||(u=s+r),3===f.nodeType&&(s+=f.nodeValue.length),null!==(p=f.firstChild);)h=f,f=p;for(;;){if(f===e)break t;if(h===n&&++c===i&&(l=s),h===o&&++d===r&&(u=s),null!==(p=f.nextSibling))break;h=(f=h).parentNode}f=p}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(pd={focusedElem:e,selectionRange:n},yf=!1,Nl=t;null!==Nl;)if(e=(t=Nl).child,1028&t.subtreeFlags&&null!==e)e.return=t,Nl=e;else for(;null!==Nl;){switch(o=(t=Nl).alternate,e=t.flags,t.tag){case 0:if(4&e&&null!==(e=null!==(e=t.updateQueue)?e.events:null))for(n=0;n<e.length;n++)(i=e[n]).ref.impl=i.nextImpl;break;case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(1024&e&&null!==o){e=void 0,n=t,i=o.memoizedProps,o=o.memoizedState,r=n.stateNode;try{var g=ks(n.type,i);e=r.getSnapshotBeforeUpdate(g,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(y){kc(n,n.return,y)}}break;case 3:if(1024&e)if(9===(n=(e=t.stateNode.containerInfo).nodeType))Pd(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Pd(e);break;default:e.textContent=""}break;default:if(1024&e)throw Error(a(163))}if(null!==(e=t.sibling)){e.return=t.return,Nl=e;break}Nl=t.return}}(e,t)}finally{fu=s,T.p=i,j.T=r}}Ru=1,gc(),mc(),yc()}}function gc(){if(1===Ru){Ru=0;var e=Mu,t=$u,n=!!(13878&t.flags);if(13878&t.subtreeFlags||n){n=j.T,j.T=null;var r=T.p;T.p=2;var i=fu;fu|=4;try{Hl(t,e);var o=pd,a=nr(e.containerInfo),s=o.focusedElem,l=o.selectionRange;if(a!==s&&s&&s.ownerDocument&&tr(s.ownerDocument.documentElement,s)){if(null!==l&&rr(s)){var u=l.start,c=l.end;if(void 0===c&&(c=u),"selectionStart"in s)s.selectionStart=u,s.selectionEnd=Math.min(c,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var h=f.getSelection(),p=s.textContent.length,g=Math.min(l.start,p),m=void 0===l.end?g:Math.min(l.end,p);!h.extend&&g>m&&(a=m,m=g,g=a);var y=er(s,g),v=er(s,m);if(y&&v&&(1!==h.rangeCount||h.anchorNode!==y.node||h.anchorOffset!==y.offset||h.focusNode!==v.node||h.focusOffset!==v.offset)){var b=d.createRange();b.setStart(y.node,y.offset),h.removeAllRanges(),g>m?(h.addRange(b),h.extend(v.node,v.offset)):(b.setEnd(v.node,v.offset),h.addRange(b))}}}}for(d=[],h=s;h=h.parentNode;)1===h.nodeType&&d.push({element:h,left:h.scrollLeft,top:h.scrollTop});for("function"==typeof s.focus&&s.focus(),s=0;s<d.length;s++){var w=d[s];w.element.scrollLeft=w.left,w.element.scrollTop=w.top}}yf=!!hd,pd=hd=null}finally{fu=i,T.p=r,j.T=n}}e.current=t,Ru=2}}function mc(){if(2===Ru){Ru=0;var e=Mu,t=$u,n=!!(8772&t.flags);if(8772&t.subtreeFlags||n){n=j.T,j.T=null;var r=T.p;T.p=2;var i=fu;fu|=4;try{jl(e,t.alternate,t)}finally{fu=i,T.p=r,j.T=n}}Ru=3}}function yc(){if(4===Ru||3===Ru){Ru=0,ae();var e=Mu,t=$u,n=Du,r=Bu;10256&t.subtreeFlags||10256&t.flags?Ru=5:(Ru=0,$u=Mu=null,vc(e,e.pendingLanes));var i=e.pendingLanes;if(0===i&&(Iu=null),Re(n),t=t.stateNode,ye&&"function"==typeof ye.onCommitFiberRoot)try{ye.onCommitFiberRoot(me,t,void 0,!(128&~t.current.flags))}catch(l){}if(null!==r){t=j.T,i=T.p,T.p=2,j.T=null;try{for(var o=e.onRecoverableError,a=0;a<r.length;a++){var s=r[a];o(s.value,{componentStack:s.stack})}}finally{j.T=t,T.p=i}}3&Du&&bc(),Tc(e),i=e.pendingLanes,261930&n&&42&i?e===Hu?qu++:(qu=0,Hu=e):qu=0,Ic(0,!1)}}function vc(e,t){0===(e.pooledCacheLanes&=t)&&null!=(t=e.pooledCache)&&(e.pooledCache=null,Di(t))}function bc(){return gc(),mc(),yc(),wc()}function wc(){if(5!==Ru)return!1;var e=Mu,t=Fu;Fu=0;var n=Re(Du),r=j.T,i=T.p;try{T.p=32>n?32:n,j.T=null,n=Uu,Uu=null;var o=Mu,s=Du;if(Ru=0,$u=Mu=null,Du=0,6&fu)throw Error(a(331));var l=fu;if(fu|=4,su(o.current),Zl(o,o.current,s,n),fu=l,Ic(0,!1),ye&&"function"==typeof ye.onPostCommitFiberRoot)try{ye.onPostCommitFiberRoot(me,o)}catch(u){}return!0}finally{T.p=i,j.T=r,vc(e,t)}}function Sc(e,t,n){t=Qr(n,t),null!==(e=bo(e,t=Ps(e.stateNode,t,2),2))&&(Ae(e,2),Tc(e))}function kc(e,t,n){if(3===e.tag)Sc(e,e,n);else for(;null!==t;){if(3===t.tag){Sc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Iu||!Iu.has(r))){e=Qr(n,e),null!==(r=bo(t,n=zs(2),2))&&(Ls(n,r,t,e),Ae(r,2),Tc(r));break}}t=t.return}}function xc(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new du;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(wu=!0,i.add(n),e=_c.bind(null,e,t,n),t.then(e,e))}function _c(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,hu===e&&(gu&n)===n&&(4===ku||3===ku&&(62914560&gu)===gu&&300>se()-Au?!(2&fu)&&ec(e,0):Cu|=n,Ou===gu&&(Ou=0)),Tc(e)}function Cc(e,t){0===t&&(t=ze()),null!==(e=Nr(e,t))&&(Ae(e,t),Tc(e))}function Ec(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Cc(e,n)}function Oc(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(a(314))}null!==r&&r.delete(t),Cc(e,n)}var Pc=null,zc=null,Lc=!1,Ac=!1,Nc=!1,jc=0;function Tc(e){e!==zc&&null===e.next&&(null===zc?Pc=zc=e:zc=zc.next=e),Ac=!0,Lc||(Lc=!0,xd(function(){6&fu?re(ue,Rc):Mc()}))}function Ic(e,t){if(!Nc&&Ac){Nc=!0;do{for(var n=!1,r=Pc;null!==r;){if(!t)if(0!==e){var i=r.pendingLanes;if(0===i)var o=0;else{var a=r.suspendedLanes,s=r.pingedLanes;o=(1<<31-be(42|e)+1)-1,o=201326741&(o&=i&~(a&~s))?201326741&o|1:o?2|o:0}0!==o&&(n=!0,Fc(r,o))}else o=gu,!(3&(o=Ee(r,r===hu?o:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||Oe(r,o)||(n=!0,Fc(r,o));r=r.next}}while(n);Nc=!1}}function Rc(){Mc()}function Mc(){Ac=Lc=!1;var e,t=0;0!==jc&&((e=window.event)&&"popstate"===e.type?e!==bd&&(bd=e,1):(bd=null,0))&&(t=jc);for(var n=se(),r=null,i=Pc;null!==i;){var o=i.next,a=$c(i,n);0===a?(i.next=null,null===r?Pc=o:r.next=o,null===o&&(zc=r)):(r=i,(0!==t||3&a)&&(Ac=!0)),i=o}0!==Ru&&5!==Ru||Ic(t,!1),0!==jc&&(jc=0)}function $c(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=-62914561&e.pendingLanes;0<o;){var a=31-be(o),s=1<<a,l=i[a];-1===l?0!==(s&n)&&0===(s&r)||(i[a]=Pe(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}if(n=gu,n=Ee(e,e===(t=hu)?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===mu||9===mu)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&ie(r),e.callbackNode=null,e.callbackPriority=0;if(!(3&n)||Oe(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&ie(r),Re(n)){case 2:case 8:n=ce;break;case 32:default:n=de;break;case 268435456:n=he}return r=Dc.bind(null,e),n=re(n,r),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&ie(r),e.callbackPriority=2,e.callbackNode=null,2}function Dc(e,t){if(0!==Ru&&5!==Ru)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(bc()&&e.callbackNode!==n)return null;var r=gu;return 0===(r=Ee(e,e===hu?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(Ku(e,r,t),$c(e,se()),null!=e.callbackNode&&e.callbackNode===n?Dc.bind(null,e):null)}function Fc(e,t){if(bc())return null;Ku(e,t,!0)}function Uc(){if(0===jc){var e=Bi;0===e&&(e=ke,!(261888&(ke<<=1))&&(ke=256)),jc=e}return jc}function Bc(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:Lt(""+e)}function qc(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var Hc=0;Hc<xr.length;Hc++){var Vc=xr[Hc];_r(Vc.toLowerCase(),"on"+(Vc[0].toUpperCase()+Vc.slice(1)))}_r(gr,"onAnimationEnd"),_r(mr,"onAnimationIteration"),_r(yr,"onAnimationStart"),_r("dblclick","onDoubleClick"),_r("focusin","onFocus"),_r("focusout","onBlur"),_r(vr,"onTransitionRun"),_r(br,"onTransitionStart"),_r(wr,"onTransitionCancel"),_r(Sr,"onTransitionEnd"),rt("onMouseEnter",["mouseout","mouseover"]),rt("onMouseLeave",["mouseout","mouseover"]),rt("onPointerEnter",["pointerout","pointerover"]),rt("onPointerLeave",["pointerout","pointerover"]),nt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),nt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),nt("onBeforeInput",["compositionend","keypress","textInput","paste"]),nt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),nt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),nt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Wc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Qc=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Wc));function Kc(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;o=s,i.currentTarget=u;try{o(i)}catch(c){Cr(c)}i.currentTarget=null,o=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,u=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;o=s,i.currentTarget=u;try{o(i)}catch(c){Cr(c)}i.currentTarget=null,o=l}}}}function Gc(e,t){var n=t[qe];void 0===n&&(n=t[qe]=new Set);var r=e+"__bubble";n.has(r)||(Zc(t,e,2,!1),n.add(r))}function Yc(e,t,n){var r=0;t&&(r|=4),Zc(n,e,r,t)}var Xc="_reactListening"+Math.random().toString(36).slice(2);function Jc(e){if(!e[Xc]){e[Xc]=!0,et.forEach(function(t){"selectionchange"!==t&&(Qc.has(t)||Yc(t,!1,e),Yc(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Xc]||(t[Xc]=!0,Yc("selectionchange",!1,t))}}function Zc(e,t,n,r){switch(_f(t)){case 2:var i=vf;break;case 8:i=bf;break;default:i=wf}n=i.bind(null,t,n,e),i=void 0,!Ut||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function ed(e,t,n,r,i){var o=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===i)break;if(4===a)for(a=r.return;null!==a;){var u=a.tag;if((3===u||4===u)&&a.stateNode.containerInfo===i)return;a=a.return}for(;null!==l;){if(null===(a=Ge(l)))return;if(5===(u=a.tag)||6===u||26===u||27===u){r=o=a;continue e}l=l.parentNode}}r=r.return}$t(function(){var r=o,i=jt(n),a=[];e:{var l=kr.get(e);if(void 0!==l){var u=tn,c=e;switch(e){case"keypress":if(0===Qt(n))break e;case"keydown":case"keyup":u=yn;break;case"focusin":c="focus",u=ln;break;case"focusout":c="blur",u=ln;break;case"beforeblur":case"afterblur":u=ln;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=an;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=sn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=bn;break;case gr:case mr:case yr:u=un;break;case Sr:u=wn;break;case"scroll":case"scrollend":u=rn;break;case"wheel":u=Sn;break;case"copy":case"cut":case"paste":u=cn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=vn;break;case"toggle":case"beforetoggle":u=kn}var d=!!(4&t),f=!d&&("scroll"===e||"scrollend"===e),h=d?null!==l?l+"Capture":null:l;d=[];for(var p,g=r;null!==g;){var m=g;if(p=m.stateNode,5!==(m=m.tag)&&26!==m&&27!==m||null===p||null===h||null!=(m=Dt(g,h))&&d.push(td(g,m,p)),f)break;g=g.return}0<d.length&&(l=new u(l,c,null,n,i),a.push({event:l,listeners:d}))}}if(!(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===Nt||!(c=n.relatedTarget||n.fromElement)||!Ge(c)&&!c[Be])&&(u||l)&&(l=i.window===i?i:(l=i.ownerDocument)?l.defaultView||l.parentWindow:window,u?(u=r,null!==(c=(c=n.relatedTarget||n.toElement)?Ge(c):null)&&(f=s(c),d=c.tag,c!==f||5!==d&&27!==d&&6!==d)&&(c=null)):(u=null,c=r),u!==c)){if(d=an,m="onMouseLeave",h="onMouseEnter",g="mouse","pointerout"!==e&&"pointerover"!==e||(d=vn,m="onPointerLeave",h="onPointerEnter",g="pointer"),f=null==u?l:Xe(u),p=null==c?l:Xe(c),(l=new d(m,g+"leave",u,n,i)).target=f,l.relatedTarget=p,m=null,Ge(i)===r&&((d=new d(h,g+"enter",c,n,i)).target=p,d.relatedTarget=f,m=d),f=m,u&&c)e:{for(d=rd,g=c,p=0,m=h=u;m;m=d(m))p++;m=0;for(var y=g;y;y=d(y))m++;for(;0<p-m;)h=d(h),p--;for(;0<m-p;)g=d(g),m--;for(;p--;){if(h===g||null!==g&&h===g.alternate){d=h;break e}h=d(h),g=d(g)}d=null}else d=null;null!==u&&id(a,l,u,d,!1),null!==c&&null!==f&&id(a,f,c,d,!0)}if("select"===(u=(l=r?Xe(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type)var v=Fn;else if(Tn(l))if(Un)v=Yn;else{v=Kn;var b=Qn}else!(u=l.nodeName)||"input"!==u.toLowerCase()||"checkbox"!==l.type&&"radio"!==l.type?r&&Ot(r.elementType)&&(v=Fn):v=Gn;switch(v&&(v=v(e,r))?In(a,v,n,i):(b&&b(e,l,r),"focusout"===e&&r&&"number"===l.type&&null!=r.memoizedProps.value&&bt(l,"number",l.value)),b=r?Xe(r):window,e){case"focusin":(Tn(b)||"true"===b.contentEditable)&&(or=b,ar=r,sr=null);break;case"focusout":sr=ar=or=null;break;case"mousedown":lr=!0;break;case"contextmenu":case"mouseup":case"dragend":lr=!1,ur(a,n,i);break;case"selectionchange":if(ir)break;case"keydown":case"keyup":ur(a,n,i)}var w;if(_n)e:{switch(e){case"compositionstart":var S="onCompositionStart";break e;case"compositionend":S="onCompositionEnd";break e;case"compositionupdate":S="onCompositionUpdate";break e}S=void 0}else Nn?Ln(e,n)&&(S="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(S="onCompositionStart");S&&(On&&"ko"!==n.locale&&(Nn||"onCompositionStart"!==S?"onCompositionEnd"===S&&Nn&&(w=Wt()):(Ht="value"in(qt=i)?qt.value:qt.textContent,Nn=!0)),0<(b=nd(r,S)).length&&(S=new dn(S,e,null,n,i),a.push({event:S,listeners:b}),(w||null!==(w=An(n)))&&(S.data=w))),(w=En?function(e,t){switch(e){case"compositionend":return An(t);case"keypress":return 32!==t.which?null:(zn=!0,Pn);case"textInput":return(e=t.data)===Pn&&zn?null:e;default:return null}}(e,n):function(e,t){if(Nn)return"compositionend"===e||!_n&&Ln(e,t)?(e=Wt(),Vt=Ht=qt=null,Nn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return On&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(S=nd(r,"onBeforeInput")).length&&(b=new dn("onBeforeInput","beforeinput",null,n,i),a.push({event:b,listeners:S}),b.data=w),function(e,t,n,r,i){if("submit"===t&&n&&n.stateNode===i){var o=Bc((i[Ue]||null).action),a=r.submitter;a&&null!==(t=(t=a[Ue]||null)?Bc(t.formAction):a.getAttribute("formAction"))&&(o=t,a=null);var s=new tn("action","action",null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==jc){var e=a?qc(i,a):new FormData(i);es(n,{pending:!0,data:e,method:i.method,action:o},null,e)}}else"function"==typeof o&&(s.preventDefault(),e=a?qc(i,a):new FormData(i),es(n,{pending:!0,data:e,method:i.method,action:o},o,e))},currentTarget:i}]})}}(a,e,r,n,i)}Kc(a,t)})}function td(e,t,n){return{instance:e,listener:t,currentTarget:n}}function nd(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;if(5!==(i=i.tag)&&26!==i&&27!==i||null===o||(null!=(i=Dt(e,n))&&r.unshift(td(e,i,o)),null!=(i=Dt(e,t))&&r.push(td(e,i,o))),3===e.tag)return r;e=e.return}return[]}function rd(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function id(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(s=s.tag,null!==l&&l===r)break;5!==s&&26!==s&&27!==s||null===u||(l=u,i?null!=(u=Dt(n,o))&&a.unshift(td(n,u,l)):i||null!=(u=Dt(n,o))&&a.push(td(n,u,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var od=/\r\n?/g,ad=/\u0000|\uFFFD/g;function sd(e){return("string"==typeof e?e:""+e).replace(od,"\n").replace(ad,"")}function ld(e,t){return t=sd(t),sd(e)===t}function ud(e,t,n,r,i,o){switch(n){case"children":"string"==typeof r?"body"===t||"textarea"===t&&""===r||xt(e,r):("number"==typeof r||"bigint"==typeof r)&&"body"!==t&&xt(e,""+r);break;case"className":lt(e,"class",r);break;case"tabIndex":lt(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":lt(e,n,r);break;case"style":Et(e,r,o);break;case"data":if("object"!==t){lt(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)){e.removeAttribute(n);break}if(null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=Lt(""+r),e.setAttribute(n,r);break;case"action":case"formAction":if("function"==typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof o&&("formAction"===n?("input"!==t&&ud(e,t,"name",i.name,i,null),ud(e,t,"formEncType",i.formEncType,i,null),ud(e,t,"formMethod",i.formMethod,i,null),ud(e,t,"formTarget",i.formTarget,i,null)):(ud(e,t,"encType",i.encType,i,null),ud(e,t,"method",i.method,i,null),ud(e,t,"target",i.target,i,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=Lt(""+r),e.setAttribute(n,r);break;case"onClick":null!=r&&(e.onclick=At);break;case"onScroll":null!=r&&Gc("scroll",e);break;case"onScrollEnd":null!=r&&Gc("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(a(61));if(null!=(n=r.__html)){if(null!=i.children)throw Error(a(60));e.innerHTML=n}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}n=Lt(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""+r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":Gc("beforetoggle",e),Gc("toggle",e),st(e,"popover",r);break;case"xlinkActuate":ut(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":ut(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":ut(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":ut(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":ut(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":ut(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":ut(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":ut(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":ut(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":st(e,"is",r);break;case"innerText":case"textContent":break;default:(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&st(e,n=Pt.get(n)||n,r)}}function cd(e,t,n,r,i,o){switch(n){case"style":Et(e,r,o);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(a(61));if(null!=(n=r.__html)){if(null!=i.children)throw Error(a(60));e.innerHTML=n}}break;case"children":"string"==typeof r?xt(e,r):("number"==typeof r||"bigint"==typeof r)&&xt(e,""+r);break;case"onScroll":null!=r&&Gc("scroll",e);break;case"onScrollEnd":null!=r&&Gc("scrollend",e);break;case"onClick":null!=r&&(e.onclick=At);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:tt.hasOwnProperty(n)||("o"!==n[0]||"n"!==n[1]||(i=n.endsWith("Capture"),t=n.slice(2,i?n.length-7:void 0),"function"==typeof(o=null!=(o=e[Ue]||null)?o[n]:null)&&e.removeEventListener(t,o,i),"function"!=typeof r)?n in e?e[n]=r:!0===r?e.setAttribute(n,""):st(e,n,r):("function"!=typeof o&&null!==o&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,i)))}}function dd(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Gc("error",e),Gc("load",e);var r,i=!1,o=!1;for(r in n)if(n.hasOwnProperty(r)){var s=n[r];if(null!=s)switch(r){case"src":i=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,t));default:ud(e,t,r,s,n,null)}}return o&&ud(e,t,"srcSet",n.srcSet,n,null),void(i&&ud(e,t,"src",n.src,n,null));case"input":Gc("invalid",e);var l=r=s=o=null,u=null,c=null;for(i in n)if(n.hasOwnProperty(i)){var d=n[i];if(null!=d)switch(i){case"name":o=d;break;case"type":s=d;break;case"checked":u=d;break;case"defaultChecked":c=d;break;case"value":r=d;break;case"defaultValue":l=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(a(137,t));break;default:ud(e,t,i,d,n,null)}}return void vt(e,r,l,u,c,s,o,!1);case"select":for(o in Gc("invalid",e),i=s=r=null,n)if(n.hasOwnProperty(o)&&null!=(l=n[o]))switch(o){case"value":r=l;break;case"defaultValue":s=l;break;case"multiple":i=l;default:ud(e,t,o,l,n,null)}return t=r,n=s,e.multiple=!!i,void(null!=t?wt(e,!!i,t,!1):null!=n&&wt(e,!!i,n,!0));case"textarea":for(s in Gc("invalid",e),r=o=i=null,n)if(n.hasOwnProperty(s)&&null!=(l=n[s]))switch(s){case"value":i=l;break;case"defaultValue":o=l;break;case"children":r=l;break;case"dangerouslySetInnerHTML":if(null!=l)throw Error(a(91));break;default:ud(e,t,s,l,n,null)}return void kt(e,i,o,r);case"option":for(u in n)n.hasOwnProperty(u)&&null!=(i=n[u])&&("selected"===u?e.selected=i&&"function"!=typeof i&&"symbol"!=typeof i:ud(e,t,u,i,n,null));return;case"dialog":Gc("beforetoggle",e),Gc("toggle",e),Gc("cancel",e),Gc("close",e);break;case"iframe":case"object":Gc("load",e);break;case"video":case"audio":for(i=0;i<Wc.length;i++)Gc(Wc[i],e);break;case"image":Gc("error",e),Gc("load",e);break;case"details":Gc("toggle",e);break;case"embed":case"source":case"link":Gc("error",e),Gc("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&null!=(i=n[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,t));default:ud(e,t,c,i,n,null)}return;default:if(Ot(t)){for(d in n)n.hasOwnProperty(d)&&void 0!==(i=n[d])&&cd(e,t,d,i,n,void 0);return}}for(l in n)n.hasOwnProperty(l)&&null!=(i=n[l])&&ud(e,t,l,i,n,null)}function fd(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var hd=null,pd=null;function gd(e){return 9===e.nodeType?e:e.ownerDocument}function md(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function yd(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function vd(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var bd=null,wd="function"==typeof setTimeout?setTimeout:void 0,Sd="function"==typeof clearTimeout?clearTimeout:void 0,kd="function"==typeof Promise?Promise:void 0,xd="function"==typeof queueMicrotask?queueMicrotask:void 0!==kd?function(e){return kd.resolve(null).then(e).catch(_d)}:wd;function _d(e){setTimeout(function(){throw e})}function Cd(e){return"head"===e}function Ed(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)||"/&"===n){if(0===r)return e.removeChild(i),void Bf(t);r--}else if("$"===n||"$?"===n||"$~"===n||"$!"===n||"&"===n)r++;else if("html"===n)Md(e.ownerDocument.documentElement);else if("head"===n){Md(n=e.ownerDocument.head);for(var o=n.firstChild;o;){var a=o.nextSibling,s=o.nodeName;o[Qe]||"SCRIPT"===s||"STYLE"===s||"LINK"===s&&"stylesheet"===o.rel.toLowerCase()||n.removeChild(o),o=a}}else"body"===n&&Md(e.ownerDocument.body);n=i}while(n);Bf(t)}function Od(e,t){var n=e;e=0;do{var r=n.nextSibling;if(1===n.nodeType?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",""===n.getAttribute("style")&&n.removeAttribute("style")):3===n.nodeType&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&8===r.nodeType)if("/$"===(n=r.data)){if(0===e)break;e--}else"$"!==n&&"$?"!==n&&"$~"!==n&&"$!"!==n||e++;n=r}while(n)}function Pd(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Pd(n),Ke(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function zd(e,t){for(;8!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t)return null;if(null===(e=Nd(e.nextSibling)))return null}return e}function Ld(e){return"$?"===e.data||"$~"===e.data}function Ad(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}function Nd(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"$~"===t||"&"===t||"F!"===t||"F"===t)break;if("/$"===t||"/&"===t)return null}}return e}var jd=null;function Td(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n||"/&"===n){if(0===t)return Nd(e.nextSibling);t--}else"$"!==n&&"$!"!==n&&"$?"!==n&&"$~"!==n&&"&"!==n||t++}e=e.nextSibling}return null}function Id(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n||"$~"===n||"&"===n){if(0===t)return e;t--}else"/$"!==n&&"/&"!==n||t++}e=e.previousSibling}return null}function Rd(e,t,n){switch(t=gd(n),e){case"html":if(!(e=t.documentElement))throw Error(a(452));return e;case"head":if(!(e=t.head))throw Error(a(453));return e;case"body":if(!(e=t.body))throw Error(a(454));return e;default:throw Error(a(451))}}function Md(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ke(e)}var $d=new Map,Dd=new Set;function Fd(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var Ud=T.d;T.d={f:function(){var e=Ud.f(),t=Ju();return e||t},r:function(e){var t=Ye(e);null!==t&&5===t.tag&&"form"===t.type?ns(t):Ud.r(e)},D:function(e){Ud.D(e),qd("dns-prefetch",e,null)},C:function(e,t){Ud.C(e,t),qd("preconnect",e,t)},L:function(e,t,n){Ud.L(e,t,n);var r=Bd;if(r&&e&&t){var i='link[rel="preload"][as="'+mt(t)+'"]';"image"===t&&n&&n.imageSrcSet?(i+='[imagesrcset="'+mt(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(i+='[imagesizes="'+mt(n.imageSizes)+'"]')):i+='[href="'+mt(e)+'"]';var o=i;switch(t){case"style":o=Vd(e);break;case"script":o=Kd(e)}$d.has(o)||(e=f({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),$d.set(o,e),null!==r.querySelector(i)||"style"===t&&r.querySelector(Wd(o))||"script"===t&&r.querySelector(Gd(o))||(dd(t=r.createElement("link"),"link",e),Ze(t),r.head.appendChild(t)))}},m:function(e,t){Ud.m(e,t);var n=Bd;if(n&&e){var r=t&&"string"==typeof t.as?t.as:"script",i='link[rel="modulepreload"][as="'+mt(r)+'"][href="'+mt(e)+'"]',o=i;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=Kd(e)}if(!$d.has(o)&&(e=f({rel:"modulepreload",href:e},t),$d.set(o,e),null===n.querySelector(i))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Gd(o)))return}dd(r=n.createElement("link"),"link",e),Ze(r),n.head.appendChild(r)}}},X:function(e,t){Ud.X(e,t);var n=Bd;if(n&&e){var r=Je(n).hoistableScripts,i=Kd(e),o=r.get(i);o||((o=n.querySelector(Gd(i)))||(e=f({src:e,async:!0},t),(t=$d.get(i))&&Zd(e,t),Ze(o=n.createElement("script")),dd(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},r.set(i,o))}},S:function(e,t,n){Ud.S(e,t,n);var r=Bd;if(r&&e){var i=Je(r).hoistableStyles,o=Vd(e);t=t||"default";var a=i.get(o);if(!a){var s={loading:0,preload:null};if(a=r.querySelector(Wd(o)))s.loading=5;else{e=f({rel:"stylesheet",href:e,"data-precedence":t},n),(n=$d.get(o))&&Jd(e,n);var l=a=r.createElement("link");Ze(l),dd(l,"link",e),l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),l.addEventListener("load",function(){s.loading|=1}),l.addEventListener("error",function(){s.loading|=2}),s.loading|=4,Xd(a,t,r)}a={type:"stylesheet",instance:a,count:1,state:s},i.set(o,a)}}},M:function(e,t){Ud.M(e,t);var n=Bd;if(n&&e){var r=Je(n).hoistableScripts,i=Kd(e),o=r.get(i);o||((o=n.querySelector(Gd(i)))||(e=f({src:e,async:!0,type:"module"},t),(t=$d.get(i))&&Zd(e,t),Ze(o=n.createElement("script")),dd(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},r.set(i,o))}}};var Bd="undefined"==typeof document?null:document;function qd(e,t,n){var r=Bd;if(r&&"string"==typeof t&&t){var i=mt(t);i='link[rel="'+e+'"][href="'+i+'"]',"string"==typeof n&&(i+='[crossorigin="'+n+'"]'),Dd.has(i)||(Dd.add(i),e={rel:e,crossOrigin:n,href:t},null===r.querySelector(i)&&(dd(t=r.createElement("link"),"link",e),Ze(t),r.head.appendChild(t)))}}function Hd(e,t,n,r){var i,o,s,l,u=(u=V.current)?Fd(u):null;if(!u)throw Error(a(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(t=Vd(n.href),(r=(n=Je(u).hoistableStyles).get(t))||(r={type:"style",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=Vd(n.href);var c=Je(u).hoistableStyles,d=c.get(e);if(d||(u=u.ownerDocument||u,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,d),(c=u.querySelector(Wd(e)))&&!c._p&&(d.instance=c,d.state.loading=5),$d.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},$d.set(e,n),c||(i=u,o=e,s=n,l=d.state,i.querySelector('link[rel="preload"][as="style"]['+o+"]")?l.loading=1:(o=i.createElement("link"),l.preload=o,o.addEventListener("load",function(){return l.loading|=1}),o.addEventListener("error",function(){return l.loading|=2}),dd(o,"link",s),Ze(o),i.head.appendChild(o))))),t&&null===r)throw Error(a(528,""));return d}if(t&&null!==r)throw Error(a(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=Kd(n),(r=(n=Je(u).hoistableScripts).get(t))||(r={type:"script",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,e))}}function Vd(e){return'href="'+mt(e)+'"'}function Wd(e){return'link[rel="stylesheet"]['+e+"]"}function Qd(e){return f({},e,{"data-precedence":e.precedence,precedence:null})}function Kd(e){return'[src="'+mt(e)+'"]'}function Gd(e){return"script[async]"+e}function Yd(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+mt(n.href)+'"]');if(r)return t.instance=r,Ze(r),r;var i=f({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return Ze(r=(e.ownerDocument||e).createElement("style")),dd(r,"style",i),Xd(r,n.precedence,e),t.instance=r;case"stylesheet":i=Vd(n.href);var o=e.querySelector(Wd(i));if(o)return t.state.loading|=4,t.instance=o,Ze(o),o;r=Qd(n),(i=$d.get(i))&&Jd(r,i),Ze(o=(e.ownerDocument||e).createElement("link"));var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),dd(o,"link",r),t.state.loading|=4,Xd(o,n.precedence,e),t.instance=o;case"script":return o=Kd(n.src),(i=e.querySelector(Gd(o)))?(t.instance=i,Ze(i),i):(r=n,(i=$d.get(o))&&Zd(r=f({},n),i),Ze(i=(e=e.ownerDocument||e).createElement("script")),dd(i,"link",r),e.head.appendChild(i),t.instance=i);case"void":return null;default:throw Error(a(443,t.type))}else"stylesheet"===t.type&&!(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,Xd(r,n.precedence,e));return t.instance}function Xd(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=r.length?r[r.length-1]:null,o=i,a=0;a<r.length;a++){var s=r[a];if(s.dataset.precedence===t)o=s;else if(o!==i)break}o?o.parentNode.insertBefore(e,o.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function Jd(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function Zd(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var ef=null;function tf(e,t,n){if(null===ef){var r=new Map,i=ef=new Map;i.set(n,r)}else(r=(i=ef).get(n))||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var o=n[i];if(!(o[Qe]||o[Fe]||"link"===e&&"stylesheet"===o.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==o.namespaceURI){var a=o.getAttribute(t)||"";a=e+a;var s=r.get(a);s?s.push(o):r.set(a,[o])}}return r}function nf(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function rf(e){return!!("stylesheet"!==e.type||3&e.state.loading)}var of=0;function af(){if(this.count--,0===this.count&&(0===this.imgCount||!this.waitingForImages))if(this.stylesheets)lf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}var sf=null;function lf(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,sf=new Map,t.forEach(uf,e),sf=null,af.call(e))}function uf(e,t){if(!(4&t.state.loading)){var n=sf.get(e);if(n)var r=n.get(null);else{n=new Map,sf.set(e,n);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<i.length;o++){var a=i[o];"LINK"!==a.nodeName&&"not all"===a.getAttribute("media")||(n.set(a.dataset.precedence,a),r=a)}r&&n.set(null,r)}a=(i=t.instance).getAttribute("data-precedence"),(o=n.get(a)||r)===r&&n.set(null,i),n.set(a,i),this.count++,r=af.bind(this),i.addEventListener("load",r),i.addEventListener("error",r),o?o.parentNode.insertBefore(i,o.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(i,e.firstChild),t.state.loading|=4}}var cf={$$typeof:w,Provider:null,Consumer:null,_currentValue:I,_currentValue2:I,_threadCount:0};function df(e,t,n,r,i,o,a,s,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Le(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Le(0),this.hiddenUpdates=Le(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=o,this.onRecoverableError=a,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map}function ff(e,t,n,r,i,o){i=function(e){return e?e=Ir:Ir}(i),null===r.context?r.context=i:r.pendingContext=i,(r=vo(t)).payload={element:n},null!==(o=void 0===o?null:o)&&(r.callback=o),null!==(n=bo(e,r,t))&&(Qu(n,0,t),wo(n,e,t))}function hf(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function pf(e,t){hf(e,t),(e=e.alternate)&&hf(e,t)}function gf(e){if(13===e.tag||31===e.tag){var t=Nr(e,67108864);null!==t&&Qu(t,0,67108864),pf(e,67108864)}}function mf(e){if(13===e.tag||31===e.tag){var t=Vu(),n=Nr(e,t=Ie(t));null!==n&&Qu(n,0,t),pf(e,t)}}var yf=!0;function vf(e,t,n,r){var i=j.T;j.T=null;var o=T.p;try{T.p=2,wf(e,t,n,r)}finally{T.p=o,j.T=i}}function bf(e,t,n,r){var i=j.T;j.T=null;var o=T.p;try{T.p=8,wf(e,t,n,r)}finally{T.p=o,j.T=i}}function wf(e,t,n,r){if(yf){var i=Sf(r);if(null===i)ed(e,t,r,kf,n),jf(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return Ef=Tf(Ef,e,t,n,r,i),!0;case"dragenter":return Of=Tf(Of,e,t,n,r,i),!0;case"mouseover":return Pf=Tf(Pf,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return zf.set(o,Tf(zf.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Lf.set(o,Tf(Lf.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(jf(e,r),4&t&&-1<Nf.indexOf(e)){for(;null!==i;){var o=Ye(i);if(null!==o)switch(o.tag){case 3:if((o=o.stateNode).current.memoizedState.isDehydrated){var a=Ce(o.pendingLanes);if(0!==a){var s=o;for(s.pendingLanes|=2,s.entangledLanes|=2;a;){var l=1<<31-be(a);s.entanglements[1]|=l,a&=~l}Tc(o),!(6&fu)&&(ju=se()+500,Ic(0,!1))}}break;case 31:case 13:null!==(s=Nr(o,2))&&Qu(s,0,2),Ju(),pf(o,2)}if(null===(o=Sf(r))&&ed(e,t,r,kf,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else ed(e,t,r,null,n)}}function Sf(e){return xf(e=jt(e))}var kf=null;function xf(e){if(kf=null,null!==(e=Ge(e))){var t=s(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=l(t)))return e;e=null}else if(31===n){if(null!==(e=u(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return kf=e,null}function _f(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(le()){case ue:return 2;case ce:return 8;case de:case fe:return 32;case he:return 268435456;default:return 32}default:return 32}}var Cf=!1,Ef=null,Of=null,Pf=null,zf=new Map,Lf=new Map,Af=[],Nf="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function jf(e,t){switch(e){case"focusin":case"focusout":Ef=null;break;case"dragenter":case"dragleave":Of=null;break;case"mouseover":case"mouseout":Pf=null;break;case"pointerover":case"pointerout":zf.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Lf.delete(t.pointerId)}}function Tf(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==t&&null!==(t=Ye(t))&&gf(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function If(e){var t=Ge(e.target);if(null!==t){var n=s(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=l(n)))return e.blockedOn=t,void $e(e.priority,function(){mf(n)})}else if(31===t){if(null!==(t=u(n)))return e.blockedOn=t,void $e(e.priority,function(){mf(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Rf(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Sf(e.nativeEvent);if(null!==n)return null!==(t=Ye(n))&&gf(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);Nt=r,n.target.dispatchEvent(r),Nt=null,t.shift()}return!0}function Mf(e,t,n){Rf(e)&&n.delete(t)}function $f(){Cf=!1,null!==Ef&&Rf(Ef)&&(Ef=null),null!==Of&&Rf(Of)&&(Of=null),null!==Pf&&Rf(Pf)&&(Pf=null),zf.forEach(Mf),Lf.forEach(Mf)}function Df(e,t){e.blockedOn===t&&(e.blockedOn=null,Cf||(Cf=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,$f)))}var Ff=null;function Uf(e){Ff!==e&&(Ff=e,r.unstable_scheduleCallback(r.unstable_NormalPriority,function(){Ff===e&&(Ff=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if("function"!=typeof r){if(null===xf(r||n))continue;break}var o=Ye(n);null!==o&&(e.splice(t,3),t-=3,es(o,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Bf(e){function t(t){return Df(t,e)}null!==Ef&&Df(Ef,e),null!==Of&&Df(Of,e),null!==Pf&&Df(Pf,e),zf.forEach(t),Lf.forEach(t);for(var n=0;n<Af.length;n++){var r=Af[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Af.length&&null===(n=Af[0]).blockedOn;)If(n),null===n.blockedOn&&Af.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var i=n[r],o=n[r+1],a=i[Ue]||null;if("function"==typeof o)a||Uf(n);else if(a){var s=null;if(o&&o.hasAttribute("formAction")){if(i=o,a=o[Ue]||null)s=a.formAction;else if(null!==xf(i))continue}else s=a.action;"function"==typeof s?n[r+1]=s:(n.splice(r,3),r-=3),Uf(n)}}}function qf(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==i&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var r=!1,i=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==i&&(i(),i=null)}}}function Hf(e){this._internalRoot=e}function Vf(e){this._internalRoot=e}Vf.prototype.render=Hf.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(a(409));ff(t.current,Vu(),e,t,null,null)},Vf.prototype.unmount=Hf.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;ff(e.current,2,null,e,null,null),Ju(),t[Be]=null}},Vf.prototype.unstable_scheduleHydration=function(e){if(e){var t=Me();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Af.length&&0!==t&&t<Af[n].priority;n++);Af.splice(n,0,e),0===n&&If(e)}};var Wf=i.version;if("19.2.3"!==Wf)throw Error(a(527,Wf,"19.2.3"));T.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw e=Object.keys(e).join(","),Error(a(268,e))}return e=function(e){var t=e.alternate;if(!t){if(null===(t=s(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return c(i),e;if(o===r)return c(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var l=!1,u=i.child;u;){if(u===n){l=!0,n=i,r=o;break}if(u===r){l=!0,r=i,n=o;break}u=u.sibling}if(!l){for(u=o.child;u;){if(u===n){l=!0,n=o,r=i;break}if(u===r){l=!0,r=o,n=i;break}u=u.sibling}if(!l)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(t),null===(e=null!==e?d(e):null)?null:e.stateNode};var Qf={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:j,reconcilerVersion:"19.2.3"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Kf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Kf.isDisabled&&Kf.supportsFiber)try{me=Kf.inject(Qf),ye=Kf}catch(Yf){}}t.createRoot=function(e,t){if(!(n=e)||1!==n.nodeType&&9!==n.nodeType&&11!==n.nodeType)throw Error(a(299));var n,r=!1,i="",o=xs,s=_s,l=Cs;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(i=t.identifierPrefix),void 0!==t.onUncaughtError&&(o=t.onUncaughtError),void 0!==t.onCaughtError&&(s=t.onCaughtError),void 0!==t.onRecoverableError&&(l=t.onRecoverableError)),t=function(e,t,n,r,i,o,a,s,l,u,c,d){return e=new df(e,t,n,a,l,u,c,d,s),t=1,!0===o&&(t|=24),o=Mr(3,null,null,t),e.current=o,o.stateNode=e,(t=$i()).refCount++,e.pooledCache=t,t.refCount++,o.memoizedState={element:r,isDehydrated:n,cache:t},mo(o),e}(e,1,!1,null,0,r,i,null,o,s,l,qf),e[Be]=t.current,Jc(e),new Hf(t)}},81(e,t,n){"use strict";e.exports=n(686)},92(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){}}(),e.exports=n(466)},99(e,t,n){"use strict";e.exports=n(146)},146(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(0>o(l,n))u<i&&0>o(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else{if(!(u<i&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var u=[],c=[],d=1,f=null,h=3,p=!1,g=!1,m=!1,y=!1,v="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,w="undefined"!=typeof setImmediate?setImmediate:null;function S(e){for(var t=r(c);null!==t;){if(null===t.callback)i(c);else{if(!(t.startTime<=e))break;i(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function k(e){if(m=!1,S(e),!g)if(null!==r(u))g=!0,_||(_=!0,x());else{var t=r(c);null!==t&&N(k,t.startTime-e)}}var x,_=!1,C=-1,E=5,O=-1;function P(){return!(!y&&t.unstable_now()-O<E)}function z(){if(y=!1,_){var e=t.unstable_now();O=e;var n=!0;try{e:{g=!1,m&&(m=!1,b(C),C=-1),p=!0;var o=h;try{t:{for(S(e),f=r(u);null!==f&&!(f.expirationTime>e&&P());){var a=f.callback;if("function"==typeof a){f.callback=null,h=f.priorityLevel;var s=a(f.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof s){f.callback=s,S(e),n=!0;break t}f===r(u)&&i(u),S(e)}else i(u);f=r(u)}if(null!==f)n=!0;else{var l=r(c);null!==l&&N(k,l.startTime-e),n=!1}}break e}finally{f=null,h=o,p=!1}n=void 0}}finally{n?x():_=!1}}}if("function"==typeof w)x=function(){w(z)};else if("undefined"!=typeof MessageChannel){var L=new MessageChannel,A=L.port2;L.port1.onmessage=z,x=function(){A.postMessage(null)}}else x=function(){v(z,0)};function N(e,n){C=v(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_forceFrameRate=function(e){0>e||125<e||(E=0<e?Math.floor(1e3/e):5)},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_requestPaint=function(){y=!0},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,i,o){var a=t.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?a+o:a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:i,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>a?(e.sortIndex=o,n(c,e),null===r(u)&&e===r(c)&&(m?(b(C),C=-1):m=!0,N(k,o-a))):(e.sortIndex=s,n(u,e),g||p||(g=!0,_||(_=!0,x()))),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},162(e){e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var u=o[l];if(!s(u))return!1;var c=e[u],d=t[u];if(!1===(i=n?n.call(r,c,d,u):void 0)||void 0===i&&c!==d)return!1}return!0}},181(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){}}(),e.exports=n(18)},357(e,t){"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function i(e,t,r){var i=null;if(void 0!==r&&(i=""+r),void 0!==t.key&&(i=""+t.key),"key"in t)for(var o in r={},t)"key"!==o&&(r[o]=t[o]);else r=t;return t=r.ref,{$$typeof:n,type:e,key:i,ref:void 0!==t?t:null,props:r}}t.Fragment=r,t.jsx=i,t.jsxs=i},400(e){var t;t=()=>(()=>{var e={873:(e,t)=>{var n,r,i=function(){var e=function(e,t){var n=e,r=a[t],i=null,o=0,l=null,m=[],y={},b=function(e,t){i=function(e){for(var t=new Array(e),n=0;n<e;n+=1){t[n]=new Array(e);for(var r=0;r<e;r+=1)t[n][r]=null}return t}(o=4*n+17),w(0,0),w(o-7,0),w(0,o-7),k(),S(),_(e,t),n>=7&&x(e),null==l&&(l=E(n,r,m)),C(l,t)},w=function(e,t){for(var n=-1;n<=7;n+=1)if(!(e+n<=-1||o<=e+n))for(var r=-1;r<=7;r+=1)t+r<=-1||o<=t+r||(i[e+n][t+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},S=function(){for(var e=8;e<o-8;e+=1)null==i[e][6]&&(i[e][6]=e%2==0);for(var t=8;t<o-8;t+=1)null==i[6][t]&&(i[6][t]=t%2==0)},k=function(){for(var e=s.getPatternPosition(n),t=0;t<e.length;t+=1)for(var r=0;r<e.length;r+=1){var o=e[t],a=e[r];if(null==i[o][a])for(var l=-2;l<=2;l+=1)for(var u=-2;u<=2;u+=1)i[o+l][a+u]=-2==l||2==l||-2==u||2==u||0==l&&0==u}},x=function(e){for(var t=s.getBCHTypeNumber(n),r=0;r<18;r+=1){var a=!e&&1==(t>>r&1);i[Math.floor(r/3)][r%3+o-8-3]=a}for(r=0;r<18;r+=1)a=!e&&1==(t>>r&1),i[r%3+o-8-3][Math.floor(r/3)]=a},_=function(e,t){for(var n=r<<3|t,a=s.getBCHTypeInfo(n),l=0;l<15;l+=1){var u=!e&&1==(a>>l&1);l<6?i[l][8]=u:l<8?i[l+1][8]=u:i[o-15+l][8]=u}for(l=0;l<15;l+=1)u=!e&&1==(a>>l&1),l<8?i[8][o-l-1]=u:l<9?i[8][15-l-1+1]=u:i[8][15-l-1]=u;i[o-8][8]=!e},C=function(e,t){for(var n=-1,r=o-1,a=7,l=0,u=s.getMaskFunction(t),c=o-1;c>0;c-=2)for(6==c&&(c-=1);;){for(var d=0;d<2;d+=1)if(null==i[r][c-d]){var f=!1;l<e.length&&(f=1==(e[l]>>>a&1)),u(r,c-d)&&(f=!f),i[r][c-d]=f,-1==(a-=1)&&(l+=1,a=7)}if((r+=n)<0||o<=r){r-=n,n=-n;break}}},E=function(e,t,n){for(var r=c.getRSBlocks(e,t),i=d(),o=0;o<n.length;o+=1){var a=n[o];i.put(a.getMode(),4),i.put(a.getLength(),s.getLengthInBits(a.getMode(),e)),a.write(i)}var l=0;for(o=0;o<r.length;o+=1)l+=r[o].dataCount;if(i.getLengthInBits()>8*l)throw"code length overflow. ("+i.getLengthInBits()+">"+8*l+")";for(i.getLengthInBits()+4<=8*l&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(!1);for(;!(i.getLengthInBits()>=8*l||(i.put(236,8),i.getLengthInBits()>=8*l));)i.put(17,8);return function(e,t){for(var n=0,r=0,i=0,o=new Array(t.length),a=new Array(t.length),l=0;l<t.length;l+=1){var c=t[l].dataCount,d=t[l].totalCount-c;r=Math.max(r,c),i=Math.max(i,d),o[l]=new Array(c);for(var f=0;f<o[l].length;f+=1)o[l][f]=255&e.getBuffer()[f+n];n+=c;var h=s.getErrorCorrectPolynomial(d),p=u(o[l],h.getLength()-1).mod(h);for(a[l]=new Array(h.getLength()-1),f=0;f<a[l].length;f+=1){var g=f+p.getLength()-a[l].length;a[l][f]=g>=0?p.getAt(g):0}}var m=0;for(f=0;f<t.length;f+=1)m+=t[f].totalCount;var y=new Array(m),v=0;for(f=0;f<r;f+=1)for(l=0;l<t.length;l+=1)f<o[l].length&&(y[v]=o[l][f],v+=1);for(f=0;f<i;f+=1)for(l=0;l<t.length;l+=1)f<a[l].length&&(y[v]=a[l][f],v+=1);return y}(i,r)};y.addData=function(e,t){var n=null;switch(t=t||"Byte"){case"Numeric":n=f(e);break;case"Alphanumeric":n=h(e);break;case"Byte":n=p(e);break;case"Kanji":n=g(e);break;default:throw"mode:"+t}m.push(n),l=null},y.isDark=function(e,t){if(e<0||o<=e||t<0||o<=t)throw e+","+t;return i[e][t]},y.getModuleCount=function(){return o},y.make=function(){if(n<1){for(var e=1;e<40;e++){for(var t=c.getRSBlocks(e,r),i=d(),o=0;o<m.length;o++){var a=m[o];i.put(a.getMode(),4),i.put(a.getLength(),s.getLengthInBits(a.getMode(),e)),a.write(i)}var l=0;for(o=0;o<t.length;o++)l+=t[o].dataCount;if(i.getLengthInBits()<=8*l)break}n=e}b(!1,function(){for(var e=0,t=0,n=0;n<8;n+=1){b(!0,n);var r=s.getLostPoint(y);(0==n||e>r)&&(e=r,t=n)}return t}())},y.createTableTag=function(e,t){e=e||2;var n="";n+='<table style="',n+=" border-width: 0px; border-style: none;",n+=" border-collapse: collapse;",n+=" padding: 0px; margin: "+(t=void 0===t?4*e:t)+"px;",n+='">',n+="<tbody>";for(var r=0;r<y.getModuleCount();r+=1){n+="<tr>";for(var i=0;i<y.getModuleCount();i+=1)n+='<td style="',n+=" border-width: 0px; border-style: none;",n+=" border-collapse: collapse;",n+=" padding: 0px; margin: 0px;",n+=" width: "+e+"px;",n+=" height: "+e+"px;",n+=" background-color: ",n+=y.isDark(r,i)?"#000000":"#ffffff",n+=";",n+='"/>';n+="</tr>"}return(n+="</tbody>")+"</table>"},y.createSvgTag=function(e,t,n,r){var i={};"object"==typeof arguments[0]&&(e=(i=arguments[0]).cellSize,t=i.margin,n=i.alt,r=i.title),e=e||2,t=void 0===t?4*e:t,(n="string"==typeof n?{text:n}:n||{}).text=n.text||null,n.id=n.text?n.id||"qrcode-description":null,(r="string"==typeof r?{text:r}:r||{}).text=r.text||null,r.id=r.text?r.id||"qrcode-title":null;var o,a,s,l,u=y.getModuleCount()*e+2*t,c="";for(l="l"+e+",0 0,"+e+" -"+e+",0 0,-"+e+"z ",c+='<svg version="1.1" xmlns="http://www.w3.org/2000/svg"',c+=i.scalable?"":' width="'+u+'px" height="'+u+'px"',c+=' viewBox="0 0 '+u+" "+u+'" ',c+=' preserveAspectRatio="xMinYMin meet"',c+=r.text||n.text?' role="img" aria-labelledby="'+O([r.id,n.id].join(" ").trim())+'"':"",c+=">",c+=r.text?'<title id="'+O(r.id)+'">'+O(r.text)+"</title>":"",c+=n.text?'<description id="'+O(n.id)+'">'+O(n.text)+"</description>":"",c+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',c+='<path d="',a=0;a<y.getModuleCount();a+=1)for(s=a*e+t,o=0;o<y.getModuleCount();o+=1)y.isDark(a,o)&&(c+="M"+(o*e+t)+","+s+l);return(c+='" stroke="transparent" fill="black"/>')+"</svg>"},y.createDataURL=function(e,t){e=e||2,t=void 0===t?4*e:t;var n=y.getModuleCount()*e+2*t,r=t,i=n-t;return v(n,n,function(t,n){if(r<=t&&t<i&&r<=n&&n<i){var o=Math.floor((t-r)/e),a=Math.floor((n-r)/e);return y.isDark(a,o)?0:1}return 1})},y.createImgTag=function(e,t,n){e=e||2,t=void 0===t?4*e:t;var r=y.getModuleCount()*e+2*t,i="";return i+="<img",i+=' src="',i+=y.createDataURL(e,t),i+='"',i+=' width="',i+=r,i+='"',i+=' height="',i+=r,i+='"',n&&(i+=' alt="',i+=O(n),i+='"'),i+"/>"};var O=function(e){for(var t="",n=0;n<e.length;n+=1){var r=e.charAt(n);switch(r){case"<":t+="&lt;";break;case">":t+="&gt;";break;case"&":t+="&amp;";break;case'"':t+="&quot;";break;default:t+=r}}return t};return y.createASCII=function(e,t){if((e=e||1)<2)return function(e){e=void 0===e?2:e;var t,n,r,i,o,a=1*y.getModuleCount()+2*e,s=e,l=a-e,u={"██":"█","█ ":"▀"," █":"▄"," ":" "},c={"██":"▀","█ ":"▀"," █":" "," ":" "},d="";for(t=0;t<a;t+=2){for(r=Math.floor((t-s)/1),i=Math.floor((t+1-s)/1),n=0;n<a;n+=1)o="█",s<=n&&n<l&&s<=t&&t<l&&y.isDark(r,Math.floor((n-s)/1))&&(o=" "),s<=n&&n<l&&s<=t+1&&t+1<l&&y.isDark(i,Math.floor((n-s)/1))?o+=" ":o+="█",d+=e<1&&t+1>=l?c[o]:u[o];d+="\n"}return a%2&&e>0?d.substring(0,d.length-a-1)+Array(a+1).join("▀"):d.substring(0,d.length-1)}(t);e-=1,t=void 0===t?2*e:t;var n,r,i,o,a=y.getModuleCount()*e+2*t,s=t,l=a-t,u=Array(e+1).join("██"),c=Array(e+1).join(" "),d="",f="";for(n=0;n<a;n+=1){for(i=Math.floor((n-s)/e),f="",r=0;r<a;r+=1)o=1,s<=r&&r<l&&s<=n&&n<l&&y.isDark(i,Math.floor((r-s)/e))&&(o=0),f+=o?u:c;for(i=0;i<e;i+=1)d+=f+"\n"}return d.substring(0,d.length-1)},y.renderTo2dContext=function(e,t){t=t||2;for(var n=y.getModuleCount(),r=0;r<n;r++)for(var i=0;i<n;i++)e.fillStyle=y.isDark(r,i)?"black":"white",e.fillRect(r*t,i*t,t,t)},y};e.stringToBytes=(e.stringToBytesFuncs={default:function(e){for(var t=[],n=0;n<e.length;n+=1){var r=e.charCodeAt(n);t.push(255&r)}return t}}).default,e.createStringToBytes=function(e,t){var n=function(){for(var n=y(e),r=function(){var e=n.read();if(-1==e)throw"eof";return e},i=0,o={};;){var a=n.read();if(-1==a)break;var s=r(),l=r()<<8|r();o[String.fromCharCode(a<<8|s)]=l,i+=1}if(i!=t)throw i+" != "+t;return o}(),r="?".charCodeAt(0);return function(e){for(var t=[],i=0;i<e.length;i+=1){var o=e.charCodeAt(i);if(o<128)t.push(o);else{var a=n[e.charAt(i)];"number"==typeof a?(255&a)==a?t.push(a):(t.push(a>>>8),t.push(255&a)):t.push(r)}}return t}};var t,n,r,i,o,a={L:1,M:0,Q:3,H:2},s=(t=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],n=1335,r=7973,o=function(e){for(var t=0;0!=e;)t+=1,e>>>=1;return t},(i={}).getBCHTypeInfo=function(e){for(var t=e<<10;o(t)-o(n)>=0;)t^=n<<o(t)-o(n);return 21522^(e<<10|t)},i.getBCHTypeNumber=function(e){for(var t=e<<12;o(t)-o(r)>=0;)t^=r<<o(t)-o(r);return e<<12|t},i.getPatternPosition=function(e){return t[e-1]},i.getMaskFunction=function(e){switch(e){case 0:return function(e,t){return(e+t)%2==0};case 1:return function(e,t){return e%2==0};case 2:return function(e,t){return t%3==0};case 3:return function(e,t){return(e+t)%3==0};case 4:return function(e,t){return(Math.floor(e/2)+Math.floor(t/3))%2==0};case 5:return function(e,t){return e*t%2+e*t%3==0};case 6:return function(e,t){return(e*t%2+e*t%3)%2==0};case 7:return function(e,t){return(e*t%3+(e+t)%2)%2==0};default:throw"bad maskPattern:"+e}},i.getErrorCorrectPolynomial=function(e){for(var t=u([1],0),n=0;n<e;n+=1)t=t.multiply(u([1,l.gexp(n)],0));return t},i.getLengthInBits=function(e,t){if(1<=t&&t<10)switch(e){case 1:return 10;case 2:return 9;case 4:case 8:return 8;default:throw"mode:"+e}else if(t<27)switch(e){case 1:return 12;case 2:return 11;case 4:return 16;case 8:return 10;default:throw"mode:"+e}else{if(!(t<41))throw"type:"+t;switch(e){case 1:return 14;case 2:return 13;case 4:return 16;case 8:return 12;default:throw"mode:"+e}}},i.getLostPoint=function(e){for(var t=e.getModuleCount(),n=0,r=0;r<t;r+=1)for(var i=0;i<t;i+=1){for(var o=0,a=e.isDark(r,i),s=-1;s<=1;s+=1)if(!(r+s<0||t<=r+s))for(var l=-1;l<=1;l+=1)i+l<0||t<=i+l||0==s&&0==l||a==e.isDark(r+s,i+l)&&(o+=1);o>5&&(n+=3+o-5)}for(r=0;r<t-1;r+=1)for(i=0;i<t-1;i+=1){var u=0;e.isDark(r,i)&&(u+=1),e.isDark(r+1,i)&&(u+=1),e.isDark(r,i+1)&&(u+=1),e.isDark(r+1,i+1)&&(u+=1),0!=u&&4!=u||(n+=3)}for(r=0;r<t;r+=1)for(i=0;i<t-6;i+=1)e.isDark(r,i)&&!e.isDark(r,i+1)&&e.isDark(r,i+2)&&e.isDark(r,i+3)&&e.isDark(r,i+4)&&!e.isDark(r,i+5)&&e.isDark(r,i+6)&&(n+=40);for(i=0;i<t;i+=1)for(r=0;r<t-6;r+=1)e.isDark(r,i)&&!e.isDark(r+1,i)&&e.isDark(r+2,i)&&e.isDark(r+3,i)&&e.isDark(r+4,i)&&!e.isDark(r+5,i)&&e.isDark(r+6,i)&&(n+=40);var c=0;for(i=0;i<t;i+=1)for(r=0;r<t;r+=1)e.isDark(r,i)&&(c+=1);return n+Math.abs(100*c/t/t-50)/5*10},i),l=function(){for(var e=new Array(256),t=new Array(256),n=0;n<8;n+=1)e[n]=1<<n;for(n=8;n<256;n+=1)e[n]=e[n-4]^e[n-5]^e[n-6]^e[n-8];for(n=0;n<255;n+=1)t[e[n]]=n;return{glog:function(e){if(e<1)throw"glog("+e+")";return t[e]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return e[t]}}}();function u(e,t){if(void 0===e.length)throw e.length+"/"+t;var n=function(){for(var n=0;n<e.length&&0==e[n];)n+=1;for(var r=new Array(e.length-n+t),i=0;i<e.length-n;i+=1)r[i]=e[i+n];return r}(),r={getAt:function(e){return n[e]},getLength:function(){return n.length},multiply:function(e){for(var t=new Array(r.getLength()+e.getLength()-1),n=0;n<r.getLength();n+=1)for(var i=0;i<e.getLength();i+=1)t[n+i]^=l.gexp(l.glog(r.getAt(n))+l.glog(e.getAt(i)));return u(t,0)},mod:function(e){if(r.getLength()-e.getLength()<0)return r;for(var t=l.glog(r.getAt(0))-l.glog(e.getAt(0)),n=new Array(r.getLength()),i=0;i<r.getLength();i+=1)n[i]=r.getAt(i);for(i=0;i<e.getLength();i+=1)n[i]^=l.gexp(l.glog(e.getAt(i))+t);return u(n,0).mod(e)}};return r}var c=function(){var e=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],t=function(e,t){var n={};return n.totalCount=e,n.dataCount=t,n},n={getRSBlocks:function(n,r){var i=function(t,n){switch(n){case a.L:return e[4*(t-1)+0];case a.M:return e[4*(t-1)+1];case a.Q:return e[4*(t-1)+2];case a.H:return e[4*(t-1)+3];default:return}}(n,r);if(void 0===i)throw"bad rs block @ typeNumber:"+n+"/errorCorrectionLevel:"+r;for(var o=i.length/3,s=[],l=0;l<o;l+=1)for(var u=i[3*l+0],c=i[3*l+1],d=i[3*l+2],f=0;f<u;f+=1)s.push(t(c,d));return s}};return n}(),d=function(){var e=[],t=0,n={getBuffer:function(){return e},getAt:function(t){var n=Math.floor(t/8);return 1==(e[n]>>>7-t%8&1)},put:function(e,t){for(var r=0;r<t;r+=1)n.putBit(1==(e>>>t-r-1&1))},getLengthInBits:function(){return t},putBit:function(n){var r=Math.floor(t/8);e.length<=r&&e.push(0),n&&(e[r]|=128>>>t%8),t+=1}};return n},f=function(e){var t=e,n={getMode:function(){return 1},getLength:function(e){return t.length},write:function(e){for(var n=t,i=0;i+2<n.length;)e.put(r(n.substring(i,i+3)),10),i+=3;i<n.length&&(n.length-i==1?e.put(r(n.substring(i,i+1)),4):n.length-i==2&&e.put(r(n.substring(i,i+2)),7))}},r=function(e){for(var t=0,n=0;n<e.length;n+=1)t=10*t+i(e.charAt(n));return t},i=function(e){if("0"<=e&&e<="9")return e.charCodeAt(0)-"0".charCodeAt(0);throw"illegal char :"+e};return n},h=function(e){var t=e,n={getMode:function(){return 2},getLength:function(e){return t.length},write:function(e){for(var n=t,i=0;i+1<n.length;)e.put(45*r(n.charAt(i))+r(n.charAt(i+1)),11),i+=2;i<n.length&&e.put(r(n.charAt(i)),6)}},r=function(e){if("0"<=e&&e<="9")return e.charCodeAt(0)-"0".charCodeAt(0);if("A"<=e&&e<="Z")return e.charCodeAt(0)-"A".charCodeAt(0)+10;switch(e){case" ":return 36;case"$":return 37;case"%":return 38;case"*":return 39;case"+":return 40;case"-":return 41;case".":return 42;case"/":return 43;case":":return 44;default:throw"illegal char :"+e}};return n},p=function(t){var n=e.stringToBytes(t);return{getMode:function(){return 4},getLength:function(e){return n.length},write:function(e){for(var t=0;t<n.length;t+=1)e.put(n[t],8)}}},g=function(t){var n=e.stringToBytesFuncs.SJIS;if(!n)throw"sjis not supported.";!function(){var e=n("友");if(2!=e.length||38726!=(e[0]<<8|e[1]))throw"sjis not supported."}();var r=n(t),i={getMode:function(){return 8},getLength:function(e){return~~(r.length/2)},write:function(e){for(var t=r,n=0;n+1<t.length;){var i=(255&t[n])<<8|255&t[n+1];if(33088<=i&&i<=40956)i-=33088;else{if(!(57408<=i&&i<=60351))throw"illegal char at "+(n+1)+"/"+i;i-=49472}i=192*(i>>>8&255)+(255&i),e.put(i,13),n+=2}if(n<t.length)throw"illegal char at "+(n+1)}};return i},m=function(){var e=[],t={writeByte:function(t){e.push(255&t)},writeShort:function(e){t.writeByte(e),t.writeByte(e>>>8)},writeBytes:function(e,n,r){n=n||0,r=r||e.length;for(var i=0;i<r;i+=1)t.writeByte(e[i+n])},writeString:function(e){for(var n=0;n<e.length;n+=1)t.writeByte(e.charCodeAt(n))},toByteArray:function(){return e},toString:function(){var t="";t+="[";for(var n=0;n<e.length;n+=1)n>0&&(t+=","),t+=e[n];return t+"]"}};return t},y=function(e){var t=e,n=0,r=0,i=0,o={read:function(){for(;i<8;){if(n>=t.length){if(0==i)return-1;throw"unexpected end of file./"+i}var e=t.charAt(n);if(n+=1,"="==e)return i=0,-1;e.match(/^\s$/)||(r=r<<6|a(e.charCodeAt(0)),i+=6)}var o=r>>>i-8&255;return i-=8,o}},a=function(e){if(65<=e&&e<=90)return e-65;if(97<=e&&e<=122)return e-97+26;if(48<=e&&e<=57)return e-48+52;if(43==e)return 62;if(47==e)return 63;throw"c:"+e};return o},v=function(e,t,n){for(var r=function(e,t){var n=e,r=t,i=new Array(e*t),o={setPixel:function(e,t,r){i[t*n+e]=r},write:function(e){e.writeString("GIF87a"),e.writeShort(n),e.writeShort(r),e.writeByte(128),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(255),e.writeByte(255),e.writeByte(255),e.writeString(","),e.writeShort(0),e.writeShort(0),e.writeShort(n),e.writeShort(r),e.writeByte(0);var t=a(2);e.writeByte(2);for(var i=0;t.length-i>255;)e.writeByte(255),e.writeBytes(t,i,255),i+=255;e.writeByte(t.length-i),e.writeBytes(t,i,t.length-i),e.writeByte(0),e.writeString(";")}},a=function(e){for(var t=1<<e,n=1+(1<<e),r=e+1,o=s(),a=0;a<t;a+=1)o.add(String.fromCharCode(a));o.add(String.fromCharCode(t)),o.add(String.fromCharCode(n));var l,u,c,d=m(),f=(l=d,u=0,c=0,{write:function(e,t){if(e>>>t!=0)throw"length over";for(;u+t>=8;)l.writeByte(255&(e<<u|c)),t-=8-u,e>>>=8-u,c=0,u=0;c|=e<<u,u+=t},flush:function(){u>0&&l.writeByte(c)}});f.write(t,r);var h=0,p=String.fromCharCode(i[h]);for(h+=1;h<i.length;){var g=String.fromCharCode(i[h]);h+=1,o.contains(p+g)?p+=g:(f.write(o.indexOf(p),r),o.size()<4095&&(o.size()==1<<r&&(r+=1),o.add(p+g)),p=g)}return f.write(o.indexOf(p),r),f.write(n,r),f.flush(),d.toByteArray()},s=function(){var e={},t=0,n={add:function(r){if(n.contains(r))throw"dup key:"+r;e[r]=t,t+=1},size:function(){return t},indexOf:function(t){return e[t]},contains:function(t){return void 0!==e[t]}};return n};return o}(e,t),i=0;i<t;i+=1)for(var o=0;o<e;o+=1)r.setPixel(o,i,n(o,i));var a=m();r.write(a);for(var s=function(){var e=0,t=0,n=0,r="",i={},o=function(e){r+=String.fromCharCode(a(63&e))},a=function(e){if(e<0);else{if(e<26)return 65+e;if(e<52)return e-26+97;if(e<62)return e-52+48;if(62==e)return 43;if(63==e)return 47}throw"n:"+e};return i.writeByte=function(r){for(e=e<<8|255&r,t+=8,n+=1;t>=6;)o(e>>>t-6),t-=6},i.flush=function(){if(t>0&&(o(e<<6-t),e=0,t=0),n%3!=0)for(var i=3-n%3,a=0;a<i;a+=1)r+="="},i.toString=function(){return r},i}(),l=a.toByteArray(),u=0;u<l.length;u+=1)s.writeByte(l[u]);return s.flush(),"data:image/gif;base64,"+s};return e}();i.stringToBytesFuncs["UTF-8"]=function(e){return function(e){for(var t=[],n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t.push(r):r<2048?t.push(192|r>>6,128|63&r):r<55296||r>=57344?t.push(224|r>>12,128|r>>6&63,128|63&r):(n++,r=65536+((1023&r)<<10|1023&e.charCodeAt(n)),t.push(240|r>>18,128|r>>12&63,128|r>>6&63,128|63&r))}return t}(e)},void 0===(r="function"==typeof(n=function(){return i})?n.apply(t,[]):n)||(e.exports=r)}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},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);var r={};return(()=>{"use strict";n.d(r,{default:()=>O});const e=e=>!!e&&"object"==typeof e&&!Array.isArray(e);function t(n,...r){if(!r.length)return n;const i=r.shift();return void 0!==i&&e(n)&&e(i)?(n=Object.assign({},n),Object.keys(i).forEach(r=>{const o=n[r],a=i[r];Array.isArray(o)&&Array.isArray(a)?n[r]=a:e(o)&&e(a)?n[r]=t(Object.assign({},o),a):n[r]=a}),t(n,...r)):n}function i(e,t){const n=document.createElement("a");n.download=t,n.href=e,document.body.appendChild(n),n.click(),document.body.removeChild(n)}const o={L:.07,M:.15,Q:.25,H:.3};class a{constructor({svg:e,type:t,window:n}){this._svg=e,this._type=t,this._window=n}draw(e,t,n,r){let i;switch(this._type){case"dots":i=this._drawDot;break;case"classy":i=this._drawClassy;break;case"classy-rounded":i=this._drawClassyRounded;break;case"rounded":i=this._drawRounded;break;case"extra-rounded":i=this._drawExtraRounded;break;default:i=this._drawSquare}i.call(this,{x:e,y:t,size:n,getNeighbor:r})}_rotateFigure({x:e,y:t,size:n,rotation:r=0,draw:i}){var o;const a=e+n/2,s=t+n/2;i(),null===(o=this._element)||void 0===o||o.setAttribute("transform",`rotate(${180*r/Math.PI},${a},${s})`)}_basicDot(e){const{size:t,x:n,y:r}=e;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","circle"),this._element.setAttribute("cx",String(n+t/2)),this._element.setAttribute("cy",String(r+t/2)),this._element.setAttribute("r",String(t/2))}}))}_basicSquare(e){const{size:t,x:n,y:r}=e;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect"),this._element.setAttribute("x",String(n)),this._element.setAttribute("y",String(r)),this._element.setAttribute("width",String(t)),this._element.setAttribute("height",String(t))}}))}_basicSideRounded(e){const{size:t,x:n,y:r}=e;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${n} ${r}v ${t}h `+t/2+`a ${t/2} ${t/2}, 0, 0, 0, 0 ${-t}`)}}))}_basicCornerRounded(e){const{size:t,x:n,y:r}=e;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${n} ${r}v ${t}h ${t}v `+-t/2+`a ${t/2} ${t/2}, 0, 0, 0, ${-t/2} ${-t/2}`)}}))}_basicCornerExtraRounded(e){const{size:t,x:n,y:r}=e;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${n} ${r}v ${t}h ${t}a ${t} ${t}, 0, 0, 0, ${-t} ${-t}`)}}))}_basicCornersRounded(e){const{size:t,x:n,y:r}=e;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${n} ${r}v `+t/2+`a ${t/2} ${t/2}, 0, 0, 0, ${t/2} ${t/2}h `+t/2+"v "+-t/2+`a ${t/2} ${t/2}, 0, 0, 0, ${-t/2} ${-t/2}`)}}))}_drawDot({x:e,y:t,size:n}){this._basicDot({x:e,y:t,size:n,rotation:0})}_drawSquare({x:e,y:t,size:n}){this._basicSquare({x:e,y:t,size:n,rotation:0})}_drawRounded({x:e,y:t,size:n,getNeighbor:r}){const i=r?+r(-1,0):0,o=r?+r(1,0):0,a=r?+r(0,-1):0,s=r?+r(0,1):0,l=i+o+a+s;if(0!==l)if(l>2||i&&o||a&&s)this._basicSquare({x:e,y:t,size:n,rotation:0});else{if(2===l){let r=0;return i&&a?r=Math.PI/2:a&&o?r=Math.PI:o&&s&&(r=-Math.PI/2),void this._basicCornerRounded({x:e,y:t,size:n,rotation:r})}if(1===l){let r=0;return a?r=Math.PI/2:o?r=Math.PI:s&&(r=-Math.PI/2),void this._basicSideRounded({x:e,y:t,size:n,rotation:r})}}else this._basicDot({x:e,y:t,size:n,rotation:0})}_drawExtraRounded({x:e,y:t,size:n,getNeighbor:r}){const i=r?+r(-1,0):0,o=r?+r(1,0):0,a=r?+r(0,-1):0,s=r?+r(0,1):0,l=i+o+a+s;if(0!==l)if(l>2||i&&o||a&&s)this._basicSquare({x:e,y:t,size:n,rotation:0});else{if(2===l){let r=0;return i&&a?r=Math.PI/2:a&&o?r=Math.PI:o&&s&&(r=-Math.PI/2),void this._basicCornerExtraRounded({x:e,y:t,size:n,rotation:r})}if(1===l){let r=0;return a?r=Math.PI/2:o?r=Math.PI:s&&(r=-Math.PI/2),void this._basicSideRounded({x:e,y:t,size:n,rotation:r})}}else this._basicDot({x:e,y:t,size:n,rotation:0})}_drawClassy({x:e,y:t,size:n,getNeighbor:r}){const i=r?+r(-1,0):0,o=r?+r(1,0):0,a=r?+r(0,-1):0,s=r?+r(0,1):0;0!==i+o+a+s?i||a?o||s?this._basicSquare({x:e,y:t,size:n,rotation:0}):this._basicCornerRounded({x:e,y:t,size:n,rotation:Math.PI/2}):this._basicCornerRounded({x:e,y:t,size:n,rotation:-Math.PI/2}):this._basicCornersRounded({x:e,y:t,size:n,rotation:Math.PI/2})}_drawClassyRounded({x:e,y:t,size:n,getNeighbor:r}){const i=r?+r(-1,0):0,o=r?+r(1,0):0,a=r?+r(0,-1):0,s=r?+r(0,1):0;0!==i+o+a+s?i||a?o||s?this._basicSquare({x:e,y:t,size:n,rotation:0}):this._basicCornerExtraRounded({x:e,y:t,size:n,rotation:Math.PI/2}):this._basicCornerExtraRounded({x:e,y:t,size:n,rotation:-Math.PI/2}):this._basicCornersRounded({x:e,y:t,size:n,rotation:Math.PI/2})}}const s={dot:"dot",square:"square",extraRounded:"extra-rounded"},l=Object.values(s);class u{constructor({svg:e,type:t,window:n}){this._svg=e,this._type=t,this._window=n}draw(e,t,n,r){let i;switch(this._type){case s.square:i=this._drawSquare;break;case s.extraRounded:i=this._drawExtraRounded;break;default:i=this._drawDot}i.call(this,{x:e,y:t,size:n,rotation:r})}_rotateFigure({x:e,y:t,size:n,rotation:r=0,draw:i}){var o;const a=e+n/2,s=t+n/2;i(),null===(o=this._element)||void 0===o||o.setAttribute("transform",`rotate(${180*r/Math.PI},${a},${s})`)}_basicDot(e){const{size:t,x:n,y:r}=e,i=t/7;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("clip-rule","evenodd"),this._element.setAttribute("d",`M ${n+t/2} ${r}a ${t/2} ${t/2} 0 1 0 0.1 0zm 0 ${i}a ${t/2-i} ${t/2-i} 0 1 1 -0.1 0Z`)}}))}_basicSquare(e){const{size:t,x:n,y:r}=e,i=t/7;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("clip-rule","evenodd"),this._element.setAttribute("d",`M ${n} ${r}v ${t}h ${t}v `+-t+"z"+`M ${n+i} ${r+i}h `+(t-2*i)+"v "+(t-2*i)+"h "+(2*i-t)+"z")}}))}_basicExtraRounded(e){const{size:t,x:n,y:r}=e,i=t/7;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("clip-rule","evenodd"),this._element.setAttribute("d",`M ${n} ${r+2.5*i}v `+2*i+`a ${2.5*i} ${2.5*i}, 0, 0, 0, ${2.5*i} ${2.5*i}h `+2*i+`a ${2.5*i} ${2.5*i}, 0, 0, 0, ${2.5*i} ${2.5*-i}v `+-2*i+`a ${2.5*i} ${2.5*i}, 0, 0, 0, ${2.5*-i} ${2.5*-i}h `+-2*i+`a ${2.5*i} ${2.5*i}, 0, 0, 0, ${2.5*-i} ${2.5*i}`+`M ${n+2.5*i} ${r+i}h `+2*i+`a ${1.5*i} ${1.5*i}, 0, 0, 1, ${1.5*i} ${1.5*i}v `+2*i+`a ${1.5*i} ${1.5*i}, 0, 0, 1, ${1.5*-i} ${1.5*i}h `+-2*i+`a ${1.5*i} ${1.5*i}, 0, 0, 1, ${1.5*-i} ${1.5*-i}v `+-2*i+`a ${1.5*i} ${1.5*i}, 0, 0, 1, ${1.5*i} ${1.5*-i}`)}}))}_drawDot({x:e,y:t,size:n,rotation:r}){this._basicDot({x:e,y:t,size:n,rotation:r})}_drawSquare({x:e,y:t,size:n,rotation:r}){this._basicSquare({x:e,y:t,size:n,rotation:r})}_drawExtraRounded({x:e,y:t,size:n,rotation:r}){this._basicExtraRounded({x:e,y:t,size:n,rotation:r})}}const c={dot:"dot",square:"square"},d=Object.values(c);class f{constructor({svg:e,type:t,window:n}){this._svg=e,this._type=t,this._window=n}draw(e,t,n,r){let i;i=this._type===c.square?this._drawSquare:this._drawDot,i.call(this,{x:e,y:t,size:n,rotation:r})}_rotateFigure({x:e,y:t,size:n,rotation:r=0,draw:i}){var o;const a=e+n/2,s=t+n/2;i(),null===(o=this._element)||void 0===o||o.setAttribute("transform",`rotate(${180*r/Math.PI},${a},${s})`)}_basicDot(e){const{size:t,x:n,y:r}=e;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","circle"),this._element.setAttribute("cx",String(n+t/2)),this._element.setAttribute("cy",String(r+t/2)),this._element.setAttribute("r",String(t/2))}}))}_basicSquare(e){const{size:t,x:n,y:r}=e;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect"),this._element.setAttribute("x",String(n)),this._element.setAttribute("y",String(r)),this._element.setAttribute("width",String(t)),this._element.setAttribute("height",String(t))}}))}_drawDot({x:e,y:t,size:n,rotation:r}){this._basicDot({x:e,y:t,size:n,rotation:r})}_drawSquare({x:e,y:t,size:n,rotation:r}){this._basicSquare({x:e,y:t,size:n,rotation:r})}}const h="circle",p=[[1,1,1,1,1,1,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,1,1,1,1,1,1]],g=[[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,1,1,1,0,0],[0,0,1,1,1,0,0],[0,0,1,1,1,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]];class m{constructor(e,t){this._roundSize=e=>this._options.dotsOptions.roundSize?Math.floor(e):e,this._window=t,this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","svg"),this._element.setAttribute("width",String(e.width)),this._element.setAttribute("height",String(e.height)),this._element.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),e.dotsOptions.roundSize||this._element.setAttribute("shape-rendering","crispEdges"),this._element.setAttribute("viewBox",`0 0 ${e.width} ${e.height}`),this._defs=this._window.document.createElementNS("http://www.w3.org/2000/svg","defs"),this._element.appendChild(this._defs),this._imageUri=e.image,this._instanceId=m.instanceCount++,this._options=e}get width(){return this._options.width}get height(){return this._options.height}getElement(){return this._element}async drawQR(e){const t=e.getModuleCount(),n=Math.min(this._options.width,this._options.height)-2*this._options.margin,r=this._options.shape===h?n/Math.sqrt(2):n,i=this._roundSize(r/t);let a={hideXDots:0,hideYDots:0,width:0,height:0};if(this._qr=e,this._options.image){if(await this.loadImage(),!this._image)return;const{imageOptions:e,qrOptions:n}=this._options,r=e.imageSize*o[n.errorCorrectionLevel],s=Math.floor(r*t*t);a=function({originalHeight:e,originalWidth:t,maxHiddenDots:n,maxHiddenAxisDots:r,dotSize:i}){const o={x:0,y:0},a={x:0,y:0};if(e<=0||t<=0||n<=0||i<=0)return{height:0,width:0,hideYDots:0,hideXDots:0};const s=e/t;return o.x=Math.floor(Math.sqrt(n/s)),o.x<=0&&(o.x=1),r&&r<o.x&&(o.x=r),o.x%2==0&&o.x--,a.x=o.x*i,o.y=1+2*Math.ceil((o.x*s-1)/2),a.y=Math.round(a.x*s),(o.y*o.x>n||r&&r<o.y)&&(r&&r<o.y?(o.y=r,o.y%2==0&&o.x--):o.y-=2,a.y=o.y*i,o.x=1+2*Math.ceil((o.y/s-1)/2),a.x=Math.round(a.y/s)),{height:a.y,width:a.x,hideYDots:o.y,hideXDots:o.x}}({originalWidth:this._image.width,originalHeight:this._image.height,maxHiddenDots:s,maxHiddenAxisDots:t-14,dotSize:i})}this.drawBackground(),this.drawDots((e,n)=>{var r,i,o,s,l,u;return!(this._options.imageOptions.hideBackgroundDots&&e>=(t-a.hideYDots)/2&&e<(t+a.hideYDots)/2&&n>=(t-a.hideXDots)/2&&n<(t+a.hideXDots)/2||(null===(r=p[e])||void 0===r?void 0:r[n])||(null===(i=p[e-t+7])||void 0===i?void 0:i[n])||(null===(o=p[e])||void 0===o?void 0:o[n-t+7])||(null===(s=g[e])||void 0===s?void 0:s[n])||(null===(l=g[e-t+7])||void 0===l?void 0:l[n])||(null===(u=g[e])||void 0===u?void 0:u[n-t+7]))}),this.drawCorners(),this._options.image&&await this.drawImage({width:a.width,height:a.height,count:t,dotSize:i})}drawBackground(){var e,t,n;const r=this._element,i=this._options;if(r){const r=null===(e=i.backgroundOptions)||void 0===e?void 0:e.gradient,o=null===(t=i.backgroundOptions)||void 0===t?void 0:t.color;let a=i.height,s=i.width;if(r||o){const e=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect");this._backgroundClipPath=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._backgroundClipPath.setAttribute("id",`clip-path-background-color-${this._instanceId}`),this._defs.appendChild(this._backgroundClipPath),(null===(n=i.backgroundOptions)||void 0===n?void 0:n.round)&&(a=s=Math.min(i.width,i.height),e.setAttribute("rx",String(a/2*i.backgroundOptions.round))),e.setAttribute("x",String(this._roundSize((i.width-s)/2))),e.setAttribute("y",String(this._roundSize((i.height-a)/2))),e.setAttribute("width",String(s)),e.setAttribute("height",String(a)),this._backgroundClipPath.appendChild(e),this._createColor({options:r,color:o,additionalRotation:0,x:0,y:0,height:i.height,width:i.width,name:`background-color-${this._instanceId}`})}}}drawDots(e){var t,n;if(!this._qr)throw"QR code is not defined";const r=this._options,i=this._qr.getModuleCount();if(i>r.width||i>r.height)throw"The canvas is too small.";const o=Math.min(r.width,r.height)-2*r.margin,s=r.shape===h?o/Math.sqrt(2):o,l=this._roundSize(s/i),u=this._roundSize((r.width-i*l)/2),c=this._roundSize((r.height-i*l)/2),d=new a({svg:this._element,type:r.dotsOptions.type,window:this._window});this._dotsClipPath=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._dotsClipPath.setAttribute("id",`clip-path-dot-color-${this._instanceId}`),this._defs.appendChild(this._dotsClipPath),this._createColor({options:null===(t=r.dotsOptions)||void 0===t?void 0:t.gradient,color:r.dotsOptions.color,additionalRotation:0,x:0,y:0,height:r.height,width:r.width,name:`dot-color-${this._instanceId}`});for(let a=0;a<i;a++)for(let t=0;t<i;t++)e&&!e(a,t)||(null===(n=this._qr)||void 0===n?void 0:n.isDark(a,t))&&(d.draw(u+t*l,c+a*l,l,(n,r)=>!(t+n<0||a+r<0||t+n>=i||a+r>=i)&&!(e&&!e(a+r,t+n))&&!!this._qr&&this._qr.isDark(a+r,t+n)),d._element&&this._dotsClipPath&&this._dotsClipPath.appendChild(d._element));if(r.shape===h){const e=this._roundSize((o/l-i)/2),t=i+2*e,n=u-e*l,r=c-e*l,a=[],s=this._roundSize(t/2);for(let o=0;o<t;o++){a[o]=[];for(let n=0;n<t;n++)o>=e-1&&o<=t-e&&n>=e-1&&n<=t-e||Math.sqrt((o-s)*(o-s)+(n-s)*(n-s))>s?a[o][n]=0:a[o][n]=this._qr.isDark(n-2*e<0?n:n>=i?n-2*e:n-e,o-2*e<0?o:o>=i?o-2*e:o-e)?1:0}for(let i=0;i<t;i++)for(let e=0;e<t;e++)a[i][e]&&(d.draw(n+e*l,r+i*l,l,(t,n)=>{var r;return!!(null===(r=a[i+n])||void 0===r?void 0:r[e+t])}),d._element&&this._dotsClipPath&&this._dotsClipPath.appendChild(d._element))}}drawCorners(){if(!this._qr)throw"QR code is not defined";const e=this._element,t=this._options;if(!e)throw"Element code is not defined";const n=this._qr.getModuleCount(),r=Math.min(t.width,t.height)-2*t.margin,i=t.shape===h?r/Math.sqrt(2):r,o=this._roundSize(i/n),s=7*o,c=3*o,m=this._roundSize((t.width-n*o)/2),y=this._roundSize((t.height-n*o)/2);[[0,0,0],[1,0,Math.PI/2],[0,1,-Math.PI/2]].forEach(([e,r,i])=>{var h,v,b,w,S,k,x,_,C,E,O,P,z,L;const A=m+e*o*(n-7),N=y+r*o*(n-7);let j=this._dotsClipPath,T=this._dotsClipPath;if(((null===(h=t.cornersSquareOptions)||void 0===h?void 0:h.gradient)||(null===(v=t.cornersSquareOptions)||void 0===v?void 0:v.color))&&(j=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),j.setAttribute("id",`clip-path-corners-square-color-${e}-${r}-${this._instanceId}`),this._defs.appendChild(j),this._cornersSquareClipPath=this._cornersDotClipPath=T=j,this._createColor({options:null===(b=t.cornersSquareOptions)||void 0===b?void 0:b.gradient,color:null===(w=t.cornersSquareOptions)||void 0===w?void 0:w.color,additionalRotation:i,x:A,y:N,height:s,width:s,name:`corners-square-color-${e}-${r}-${this._instanceId}`})),(null===(S=t.cornersSquareOptions)||void 0===S?void 0:S.type)&&l.includes(t.cornersSquareOptions.type)){const e=new u({svg:this._element,type:t.cornersSquareOptions.type,window:this._window});e.draw(A,N,s,i),e._element&&j&&j.appendChild(e._element)}else{const e=new a({svg:this._element,type:(null===(k=t.cornersSquareOptions)||void 0===k?void 0:k.type)||t.dotsOptions.type,window:this._window});for(let t=0;t<p.length;t++)for(let n=0;n<p[t].length;n++)(null===(x=p[t])||void 0===x?void 0:x[n])&&(e.draw(A+n*o,N+t*o,o,(e,r)=>{var i;return!!(null===(i=p[t+r])||void 0===i?void 0:i[n+e])}),e._element&&j&&j.appendChild(e._element))}if(((null===(_=t.cornersDotOptions)||void 0===_?void 0:_.gradient)||(null===(C=t.cornersDotOptions)||void 0===C?void 0:C.color))&&(T=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),T.setAttribute("id",`clip-path-corners-dot-color-${e}-${r}-${this._instanceId}`),this._defs.appendChild(T),this._cornersDotClipPath=T,this._createColor({options:null===(E=t.cornersDotOptions)||void 0===E?void 0:E.gradient,color:null===(O=t.cornersDotOptions)||void 0===O?void 0:O.color,additionalRotation:i,x:A+2*o,y:N+2*o,height:c,width:c,name:`corners-dot-color-${e}-${r}-${this._instanceId}`})),(null===(P=t.cornersDotOptions)||void 0===P?void 0:P.type)&&d.includes(t.cornersDotOptions.type)){const e=new f({svg:this._element,type:t.cornersDotOptions.type,window:this._window});e.draw(A+2*o,N+2*o,c,i),e._element&&T&&T.appendChild(e._element)}else{const e=new a({svg:this._element,type:(null===(z=t.cornersDotOptions)||void 0===z?void 0:z.type)||t.dotsOptions.type,window:this._window});for(let t=0;t<g.length;t++)for(let n=0;n<g[t].length;n++)(null===(L=g[t])||void 0===L?void 0:L[n])&&(e.draw(A+n*o,N+t*o,o,(e,r)=>{var i;return!!(null===(i=g[t+r])||void 0===i?void 0:i[n+e])}),e._element&&T&&T.appendChild(e._element))}})}loadImage(){return new Promise((e,t)=>{var n;const r=this._options;if(!r.image)return t("Image is not defined");if(null===(n=r.nodeCanvas)||void 0===n?void 0:n.loadImage)r.nodeCanvas.loadImage(r.image).then(t=>{var n,i;if(this._image=t,this._options.imageOptions.saveAsBlob){const e=null===(n=r.nodeCanvas)||void 0===n?void 0:n.createCanvas(this._image.width,this._image.height);null===(i=null==e?void 0:e.getContext("2d"))||void 0===i||i.drawImage(t,0,0),this._imageUri=null==e?void 0:e.toDataURL()}e()}).catch(t);else{const t=new this._window.Image;"string"==typeof r.imageOptions.crossOrigin&&(t.crossOrigin=r.imageOptions.crossOrigin),this._image=t,t.onload=async()=>{this._options.imageOptions.saveAsBlob&&(this._imageUri=await async function(e,t){return new Promise(n=>{const r=new t.XMLHttpRequest;r.onload=function(){const e=new t.FileReader;e.onloadend=function(){n(e.result)},e.readAsDataURL(r.response)},r.open("GET",e),r.responseType="blob",r.send()})}(r.image||"",this._window)),e()},t.src=r.image}})}async drawImage({width:e,height:t,count:n,dotSize:r}){const i=this._options,o=this._roundSize((i.width-n*r)/2),a=this._roundSize((i.height-n*r)/2),s=o+this._roundSize(i.imageOptions.margin+(n*r-e)/2),l=a+this._roundSize(i.imageOptions.margin+(n*r-t)/2),u=e-2*i.imageOptions.margin,c=t-2*i.imageOptions.margin,d=this._window.document.createElementNS("http://www.w3.org/2000/svg","image");d.setAttribute("href",this._imageUri||""),d.setAttribute("xlink:href",this._imageUri||""),d.setAttribute("x",String(s)),d.setAttribute("y",String(l)),d.setAttribute("width",`${u}px`),d.setAttribute("height",`${c}px`),this._element.appendChild(d)}_createColor({options:e,color:t,additionalRotation:n,x:r,y:i,height:o,width:a,name:s}){const l=a>o?a:o,u=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect");if(u.setAttribute("x",String(r)),u.setAttribute("y",String(i)),u.setAttribute("height",String(o)),u.setAttribute("width",String(a)),u.setAttribute("clip-path",`url('#clip-path-${s}')`),e){let t;if("radial"===e.type)t=this._window.document.createElementNS("http://www.w3.org/2000/svg","radialGradient"),t.setAttribute("id",s),t.setAttribute("gradientUnits","userSpaceOnUse"),t.setAttribute("fx",String(r+a/2)),t.setAttribute("fy",String(i+o/2)),t.setAttribute("cx",String(r+a/2)),t.setAttribute("cy",String(i+o/2)),t.setAttribute("r",String(l/2));else{const l=((e.rotation||0)+n)%(2*Math.PI),u=(l+2*Math.PI)%(2*Math.PI);let c=r+a/2,d=i+o/2,f=r+a/2,h=i+o/2;u>=0&&u<=.25*Math.PI||u>1.75*Math.PI&&u<=2*Math.PI?(c-=a/2,d-=o/2*Math.tan(l),f+=a/2,h+=o/2*Math.tan(l)):u>.25*Math.PI&&u<=.75*Math.PI?(d-=o/2,c-=a/2/Math.tan(l),h+=o/2,f+=a/2/Math.tan(l)):u>.75*Math.PI&&u<=1.25*Math.PI?(c+=a/2,d+=o/2*Math.tan(l),f-=a/2,h-=o/2*Math.tan(l)):u>1.25*Math.PI&&u<=1.75*Math.PI&&(d+=o/2,c+=a/2/Math.tan(l),h-=o/2,f-=a/2/Math.tan(l)),t=this._window.document.createElementNS("http://www.w3.org/2000/svg","linearGradient"),t.setAttribute("id",s),t.setAttribute("gradientUnits","userSpaceOnUse"),t.setAttribute("x1",String(Math.round(c))),t.setAttribute("y1",String(Math.round(d))),t.setAttribute("x2",String(Math.round(f))),t.setAttribute("y2",String(Math.round(h)))}e.colorStops.forEach(({offset:e,color:n})=>{const r=this._window.document.createElementNS("http://www.w3.org/2000/svg","stop");r.setAttribute("offset",100*e+"%"),r.setAttribute("stop-color",n),t.appendChild(r)}),u.setAttribute("fill",`url('#${s}')`),this._defs.appendChild(t)}else t&&u.setAttribute("fill",t);this._element.appendChild(u)}}m.instanceCount=0;const y=m,v="canvas",b={};for(let n=0;n<=40;n++)b[n]=n;const w={type:v,shape:"square",width:300,height:300,data:"",margin:0,qrOptions:{typeNumber:b[0],mode:void 0,errorCorrectionLevel:"Q"},imageOptions:{saveAsBlob:!0,hideBackgroundDots:!0,imageSize:.4,crossOrigin:void 0,margin:0},dotsOptions:{type:"square",color:"#000",roundSize:!0},backgroundOptions:{round:0,color:"#fff"}};function S(e){const t=Object.assign({},e);if(!t.colorStops||!t.colorStops.length)throw"Field 'colorStops' is required in gradient";return t.rotation?t.rotation=Number(t.rotation):t.rotation=0,t.colorStops=t.colorStops.map(e=>Object.assign(Object.assign({},e),{offset:Number(e.offset)})),t}function k(e){const t=Object.assign({},e);return t.width=Number(t.width),t.height=Number(t.height),t.margin=Number(t.margin),t.imageOptions=Object.assign(Object.assign({},t.imageOptions),{hideBackgroundDots:Boolean(t.imageOptions.hideBackgroundDots),imageSize:Number(t.imageOptions.imageSize),margin:Number(t.imageOptions.margin)}),t.margin>Math.min(t.width,t.height)&&(t.margin=Math.min(t.width,t.height)),t.dotsOptions=Object.assign({},t.dotsOptions),t.dotsOptions.gradient&&(t.dotsOptions.gradient=S(t.dotsOptions.gradient)),t.cornersSquareOptions&&(t.cornersSquareOptions=Object.assign({},t.cornersSquareOptions),t.cornersSquareOptions.gradient&&(t.cornersSquareOptions.gradient=S(t.cornersSquareOptions.gradient))),t.cornersDotOptions&&(t.cornersDotOptions=Object.assign({},t.cornersDotOptions),t.cornersDotOptions.gradient&&(t.cornersDotOptions.gradient=S(t.cornersDotOptions.gradient))),t.backgroundOptions&&(t.backgroundOptions=Object.assign({},t.backgroundOptions),t.backgroundOptions.gradient&&(t.backgroundOptions.gradient=S(t.backgroundOptions.gradient))),t}var x=n(873),_=n.n(x);function C(e){if(!e)throw new Error("Extension must be defined");"."===e[0]&&(e=e.substring(1));const t={bmp:"image/bmp",gif:"image/gif",ico:"image/vnd.microsoft.icon",jpeg:"image/jpeg",jpg:"image/jpeg",png:"image/png",svg:"image/svg+xml",tif:"image/tiff",tiff:"image/tiff",webp:"image/webp",pdf:"application/pdf"}[e.toLowerCase()];if(!t)throw new Error(`Extension "${e}" is not supported`);return t}class E{constructor(e){(null==e?void 0:e.jsdom)?this._window=new e.jsdom("",{resources:"usable"}).window:this._window=window,this._options=e?k(t(w,e)):w,this.update()}static _clearContainer(e){e&&(e.innerHTML="")}_setupSvg(){if(!this._qr)return;const e=new y(this._options,this._window);this._svg=e.getElement(),this._svgDrawingPromise=e.drawQR(this._qr).then(()=>{var t;this._svg&&(null===(t=this._extension)||void 0===t||t.call(this,e.getElement(),this._options))})}_setupCanvas(){var e,t;this._qr&&((null===(e=this._options.nodeCanvas)||void 0===e?void 0:e.createCanvas)?(this._nodeCanvas=this._options.nodeCanvas.createCanvas(this._options.width,this._options.height),this._nodeCanvas.width=this._options.width,this._nodeCanvas.height=this._options.height):(this._domCanvas=document.createElement("canvas"),this._domCanvas.width=this._options.width,this._domCanvas.height=this._options.height),this._setupSvg(),this._canvasDrawingPromise=null===(t=this._svgDrawingPromise)||void 0===t?void 0:t.then(()=>{var e;if(!this._svg)return;const t=this._svg,n=(new this._window.XMLSerializer).serializeToString(t),r=btoa(n),i=`data:${C("svg")};base64,${r}`;if(null===(e=this._options.nodeCanvas)||void 0===e?void 0:e.loadImage)return this._options.nodeCanvas.loadImage(i).then(e=>{var t,n;e.width=this._options.width,e.height=this._options.height,null===(n=null===(t=this._nodeCanvas)||void 0===t?void 0:t.getContext("2d"))||void 0===n||n.drawImage(e,0,0)});{const e=new this._window.Image;return new Promise(t=>{e.onload=()=>{var n,r;null===(r=null===(n=this._domCanvas)||void 0===n?void 0:n.getContext("2d"))||void 0===r||r.drawImage(e,0,0),t()},e.src=i})}}))}async _getElement(e="png"){if(!this._qr)throw"QR code is empty";return"svg"===e.toLowerCase()?(this._svg&&this._svgDrawingPromise||this._setupSvg(),await this._svgDrawingPromise,this._svg):((this._domCanvas||this._nodeCanvas)&&this._canvasDrawingPromise||this._setupCanvas(),await this._canvasDrawingPromise,this._domCanvas||this._nodeCanvas)}update(e){E._clearContainer(this._container),this._options=e?k(t(this._options,e)):this._options,this._options.data&&(this._qr=_()(this._options.qrOptions.typeNumber,this._options.qrOptions.errorCorrectionLevel),this._qr.addData(this._options.data,this._options.qrOptions.mode||function(e){switch(!0){case/^[0-9]*$/.test(e):return"Numeric";case/^[0-9A-Z $%*+\-./:]*$/.test(e):return"Alphanumeric";default:return"Byte"}}(this._options.data)),this._qr.make(),this._options.type===v?this._setupCanvas():this._setupSvg(),this.append(this._container))}append(e){if(e){if("function"!=typeof e.appendChild)throw"Container should be a single DOM node";this._options.type===v?this._domCanvas&&e.appendChild(this._domCanvas):this._svg&&e.appendChild(this._svg),this._container=e}}applyExtension(e){if(!e)throw"Extension function should be defined.";this._extension=e,this.update()}deleteExtension(){this._extension=void 0,this.update()}async getRawData(e="png"){if(!this._qr)throw"QR code is empty";const t=await this._getElement(e),n=C(e);if(!t)return null;if("svg"===e.toLowerCase()){const e=`<?xml version="1.0" standalone="no"?>\r\n${(new this._window.XMLSerializer).serializeToString(t)}`;return"undefined"==typeof Blob||this._options.jsdom?Buffer.from(e):new Blob([e],{type:n})}return new Promise(e=>{const r=t;if("toBuffer"in r)if("image/png"===n)e(r.toBuffer(n));else if("image/jpeg"===n)e(r.toBuffer(n));else{if("application/pdf"!==n)throw Error("Unsupported extension");e(r.toBuffer(n))}else"toBlob"in r&&r.toBlob(e,n,1)})}async download(e){if(!this._qr)throw"QR code is empty";if("undefined"==typeof Blob)throw"Cannot download in Node.js, call getRawData instead.";let t="png",n="qr";"string"==typeof e?t=e:"object"==typeof e&&null!==e&&(e.name&&(n=e.name),e.extension&&(t=e.extension));const r=await this._getElement(t);if(r)if("svg"===t.toLowerCase()){let e=(new XMLSerializer).serializeToString(r);e='<?xml version="1.0" standalone="no"?>\r\n'+e,i(`data:${C(t)};charset=utf-8,${encodeURIComponent(e)}`,`${n}.svg`)}else i(r.toDataURL(C(t)),`${n}.${t}`)}}const O=E})(),r.default})(),e.exports=t()},466(e,t,n){"use strict";var r=n(81);function i(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var a={d:{f:o,r:function(){throw Error(i(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},s=Symbol.for("react.portal"),l=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(i(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:s,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.flushSync=function(e){var t=l.T,n=a.p;try{if(l.T=null,a.p=2,e)return e()}finally{l.T=t,a.p=n,a.d.f()}},t.preconnect=function(e,t){"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,a.d.C(e,t))},t.prefetchDNS=function(e){"string"==typeof e&&a.d.D(e)},t.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var n=t.as,r=u(n,t.crossOrigin),i="string"==typeof t.integrity?t.integrity:void 0,o="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?a.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:r,integrity:i,fetchPriority:o}):"script"===n&&a.d.X(e,{crossOrigin:r,integrity:i,fetchPriority:o,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},t.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=u(t.as,t.crossOrigin);a.d.M(e,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&a.d.M(e)},t.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var n=t.as,r=u(n,t.crossOrigin);a.d.L(e,n,{crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},t.preloadModule=function(e,t){if("string"==typeof e)if(t){var n=u(t.as,t.crossOrigin);a.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else a.d.m(e)},t.requestFormReset=function(e){a.d.r(e)},t.unstable_batchedUpdates=function(e,t){return e(t)},t.useFormState=function(e,t,n){return l.H.useFormState(e,t,n)},t.useFormStatus=function(){return l.H.useHostTransitionStatus()},t.version="19.2.3"},525(e,t,n){"use strict";e.exports=n(357)},624(e,t,n){"use strict";e.exports=n(906)},686(e,t){"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.for("react.activity"),p=Symbol.iterator,g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,y={};function v(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||g}function b(){}function w(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||g}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("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")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=v.prototype;var S=w.prototype=new b;S.constructor=w,m(S,v.prototype),S.isPureReactComponent=!0;var k=Array.isArray;function x(){}var _={H:null,A:null,T:null,S:null},C=Object.prototype.hasOwnProperty;function E(e,t,r){var i=r.ref;return{$$typeof:n,type:e,key:t,ref:void 0!==i?i:null,props:r}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var P=/\/+/g;function z(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var n,r}function L(e,t,i,o,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l,u,c=!1;if(null===e)c=!0;else switch(s){case"bigint":case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case n:case r:c=!0;break;case f:return L((c=e._init)(e._payload),t,i,o,a)}}if(c)return a=a(e),c=""===o?"."+z(e,0):o,k(a)?(i="",null!=c&&(i=c.replace(P,"$&/")+"/"),L(a,t,i,"",function(e){return e})):null!=a&&(O(a)&&(l=a,u=i+(null==a.key||e&&e.key===a.key?"":(""+a.key).replace(P,"$&/")+"/")+c,a=E(l.type,u,l.props)),t.push(a)),1;c=0;var d,h=""===o?".":o+":";if(k(e))for(var g=0;g<e.length;g++)c+=L(o=e[g],t,i,s=h+z(o,g),a);else if("function"==typeof(g=null===(d=e)||"object"!=typeof d?null:"function"==typeof(d=p&&d[p]||d["@@iterator"])?d:null))for(e=g.call(e),g=0;!(o=e.next()).done;)c+=L(o=o.value,t,i,s=h+z(o,g++),a);else if("object"===s){if("function"==typeof e.then)return L(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(x,x):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(e),t,i,o,a);throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return c}function A(e,t,n){if(null==e)return e;var r=[],i=0;return L(e,r,"","",function(e){return t.call(n,e,i++)}),r}function N(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var j="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e)},T={map:A,forEach:function(e,t,n){A(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return A(e,function(){t++}),t},toArray:function(e){return A(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};t.Activity=h,t.Children=T,t.Component=v,t.Fragment=i,t.Profiler=a,t.PureComponent=w,t.StrictMode=o,t.Suspense=c,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_,t.__COMPILER_RUNTIME={__proto__:null,c:function(e){return _.H.useMemoCache(e)}},t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cacheSignal=function(){return null},t.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=m({},e.props),i=e.key;if(null!=t)for(o in void 0!==t.key&&(i=""+t.key),t)!C.call(t,o)||"key"===o||"__self"===o||"__source"===o||"ref"===o&&void 0===t.ref||(r[o]=t[o]);var o=arguments.length-2;if(1===o)r.children=n;else if(1<o){for(var a=Array(o),s=0;s<o;s++)a[s]=arguments[s+2];r.children=a}return E(e.type,i,r)},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:s,_context:e},e},t.createElement=function(e,t,n){var r,i={},o=null;if(null!=t)for(r in void 0!==t.key&&(o=""+t.key),t)C.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(i[r]=t[r]);var a=arguments.length-2;if(1===a)i.children=n;else if(1<a){for(var s=Array(a),l=0;l<a;l++)s[l]=arguments[l+2];i.children=s}if(e&&e.defaultProps)for(r in a=e.defaultProps)void 0===i[r]&&(i[r]=a[r]);return E(e,o,i)},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=O,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:N}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=_.T,n={};_.T=n;try{var r=e(),i=_.S;null!==i&&i(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(x,j)}catch(o){j(o)}finally{null!==t&&null!==n.types&&(t.types=n.types),_.T=t}},t.unstable_useCacheRefresh=function(){return _.H.useCacheRefresh()},t.use=function(e){return _.H.use(e)},t.useActionState=function(e,t,n){return _.H.useActionState(e,t,n)},t.useCallback=function(e,t){return _.H.useCallback(e,t)},t.useContext=function(e){return _.H.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return _.H.useDeferredValue(e,t)},t.useEffect=function(e,t){return _.H.useEffect(e,t)},t.useEffectEvent=function(e){return _.H.useEffectEvent(e)},t.useId=function(){return _.H.useId()},t.useImperativeHandle=function(e,t,n){return _.H.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return _.H.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return _.H.useLayoutEffect(e,t)},t.useMemo=function(e,t){return _.H.useMemo(e,t)},t.useOptimistic=function(e,t){return _.H.useOptimistic(e,t)},t.useReducer=function(e,t,n){return _.H.useReducer(e,t,n)},t.useRef=function(e){return _.H.useRef(e)},t.useState=function(e){return _.H.useState(e)},t.useSyncExternalStore=function(e,t,n){return _.H.useSyncExternalStore(e,t,n)},t.useTransition=function(){return _.H.useTransition()},t.version="19.2.3"},752(e){e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},906(e,t,n){"use strict";var r=n(81),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(r){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return s(function(){i.value=n,i.getSnapshot=t,u(i)&&c({inst:i})},[e,n,t]),a(function(){return u(i)&&c({inst:i}),e(function(){u(i)&&c({inst:i})})},[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},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.nc=void 0;var r={};return(()=>{"use strict";n.r(r),n.d(r,{close:()=>Ea,open:()=>Oa});var e=n(181),t="close",i="success",o="failed",a=2147483647,s="awaiting",l="success",u="error",c="cancel",d="timeout",f="reconnect_failed",h="light",p="dark",g="auth_init",m="desktop",y="android",v=n(81),b=function(){return!1},w=function(){return!1},S=function(e){if(!e||"string"!=typeof e)return!1;try{var t=new URL(e);return!!["http:","https:"].includes(t.protocol)}catch(to){return null==to||to.message,!1}};const k=new TextEncoder;function x(e,t,n){let r=t;const i=r+n,o=[];let a="";for(;r<i;){const t=e[r++];if(128&t)if(192==(224&t)){const n=63&e[r++];o.push((31&t)<<6|n)}else if(224==(240&t)){const n=63&e[r++],i=63&e[r++];o.push((31&t)<<12|n<<6|i)}else if(240==(248&t)){let n=(7&t)<<18|(63&e[r++])<<12|(63&e[r++])<<6|63&e[r++];n>65535&&(n-=65536,o.push(n>>>10&1023|55296),n=56320|1023&n),o.push(n)}else o.push(t);else o.push(t);o.length>=4096&&(a+=String.fromCharCode(...o),o.length=0)}return o.length>0&&(a+=String.fromCharCode(...o)),a}const _=new TextDecoder;class C{constructor(e,t){this.type=e,this.data=t}}class E extends Error{constructor(e){super(e);const t=Object.create(E.prototype);Object.setPrototypeOf(this,t),Object.defineProperty(this,"name",{configurable:!0,enumerable:!1,value:E.name})}}const O=4294967295;function P(e,t,n){const r=Math.floor(n/4294967296),i=n;e.setUint32(t,r),e.setUint32(t+4,i)}function z(e,t){return 4294967296*e.getInt32(t)+e.getUint32(t+4)}const L={type:-1,encode:function(e){if(e instanceof Date){return function({sec:e,nsec:t}){if(e>=0&&t>=0&&e<=17179869183){if(0===t&&e<=4294967295){const t=new Uint8Array(4);return new DataView(t.buffer).setUint32(0,e),t}{const n=e/4294967296,r=4294967295&e,i=new Uint8Array(8),o=new DataView(i.buffer);return o.setUint32(0,t<<2|3&n),o.setUint32(4,r),i}}{const n=new Uint8Array(12),r=new DataView(n.buffer);return r.setUint32(0,t),P(r,4,e),n}}(function(e){const t=e.getTime(),n=Math.floor(t/1e3),r=1e6*(t-1e3*n),i=Math.floor(r/1e9);return{sec:n+i,nsec:r-1e9*i}}(e))}return null},decode:function(e){const t=function(e){const t=new DataView(e.buffer,e.byteOffset,e.byteLength);switch(e.byteLength){case 4:return{sec:t.getUint32(0),nsec:0};case 8:{const e=t.getUint32(0);return{sec:4294967296*(3&e)+t.getUint32(4),nsec:e>>>2}}case 12:return{sec:z(t,4),nsec:t.getUint32(0)};default:throw new E(`Unrecognized data size for timestamp (expected 4, 8, or 12): ${e.length}`)}}(e);return new Date(1e3*t.sec+t.nsec/1e6)}};class A{constructor(){this.builtInEncoders=[],this.builtInDecoders=[],this.encoders=[],this.decoders=[],this.register(L)}register({type:e,encode:t,decode:n}){if(e>=0)this.encoders[e]=t,this.decoders[e]=n;else{const r=-1-e;this.builtInEncoders[r]=t,this.builtInDecoders[r]=n}}tryToEncode(e,t){for(let n=0;n<this.builtInEncoders.length;n++){const r=this.builtInEncoders[n];if(null!=r){const i=r(e,t);if(null!=i)return new C(-1-n,i)}}for(let n=0;n<this.encoders.length;n++){const r=this.encoders[n];if(null!=r){const i=r(e,t);if(null!=i)return new C(n,i)}}return e instanceof C?e:null}decode(e,t,n){const r=t<0?this.builtInDecoders[-1-t]:this.decoders[t];return r?r(e,t,n):new C(t,e)}}function N(e){return e instanceof Uint8Array?e:ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):function(e){return e instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&e instanceof SharedArrayBuffer}(e)?new Uint8Array(e):Uint8Array.from(e)}A.defaultCodec=new A;class j{constructor(e){this.entered=!1,this.extensionCodec=e?.extensionCodec??A.defaultCodec,this.context=e?.context,this.useBigInt64=e?.useBigInt64??!1,this.maxDepth=e?.maxDepth??100,this.initialBufferSize=e?.initialBufferSize??2048,this.sortKeys=e?.sortKeys??!1,this.forceFloat32=e?.forceFloat32??!1,this.ignoreUndefined=e?.ignoreUndefined??!1,this.forceIntegerToFloat=e?.forceIntegerToFloat??!1,this.pos=0,this.view=new DataView(new ArrayBuffer(this.initialBufferSize)),this.bytes=new Uint8Array(this.view.buffer)}clone(){return new j({extensionCodec:this.extensionCodec,context:this.context,useBigInt64:this.useBigInt64,maxDepth:this.maxDepth,initialBufferSize:this.initialBufferSize,sortKeys:this.sortKeys,forceFloat32:this.forceFloat32,ignoreUndefined:this.ignoreUndefined,forceIntegerToFloat:this.forceIntegerToFloat})}reinitializeState(){this.pos=0}encodeSharedRef(e){if(this.entered)return this.clone().encodeSharedRef(e);try{return this.entered=!0,this.reinitializeState(),this.doEncode(e,1),this.bytes.subarray(0,this.pos)}finally{this.entered=!1}}encode(e){if(this.entered)return this.clone().encode(e);try{return this.entered=!0,this.reinitializeState(),this.doEncode(e,1),this.bytes.slice(0,this.pos)}finally{this.entered=!1}}doEncode(e,t){if(t>this.maxDepth)throw new Error(`Too deep objects in depth ${t}`);null==e?this.encodeNil():"boolean"==typeof e?this.encodeBoolean(e):"number"==typeof e?this.forceIntegerToFloat?this.encodeNumberAsFloat(e):this.encodeNumber(e):"string"==typeof e?this.encodeString(e):this.useBigInt64&&"bigint"==typeof e?this.encodeBigInt64(e):this.encodeObject(e,t)}ensureBufferSizeToWrite(e){const t=this.pos+e;this.view.byteLength<t&&this.resizeBuffer(2*t)}resizeBuffer(e){const t=new ArrayBuffer(e),n=new Uint8Array(t),r=new DataView(t);n.set(this.bytes),this.view=r,this.bytes=n}encodeNil(){this.writeU8(192)}encodeBoolean(e){!1===e?this.writeU8(194):this.writeU8(195)}encodeNumber(e){!this.forceIntegerToFloat&&Number.isSafeInteger(e)?e>=0?e<128?this.writeU8(e):e<256?(this.writeU8(204),this.writeU8(e)):e<65536?(this.writeU8(205),this.writeU16(e)):e<4294967296?(this.writeU8(206),this.writeU32(e)):this.useBigInt64?this.encodeNumberAsFloat(e):(this.writeU8(207),this.writeU64(e)):e>=-32?this.writeU8(224|e+32):e>=-128?(this.writeU8(208),this.writeI8(e)):e>=-32768?(this.writeU8(209),this.writeI16(e)):e>=-2147483648?(this.writeU8(210),this.writeI32(e)):this.useBigInt64?this.encodeNumberAsFloat(e):(this.writeU8(211),this.writeI64(e)):this.encodeNumberAsFloat(e)}encodeNumberAsFloat(e){this.forceFloat32?(this.writeU8(202),this.writeF32(e)):(this.writeU8(203),this.writeF64(e))}encodeBigInt64(e){e>=BigInt(0)?(this.writeU8(207),this.writeBigUint64(e)):(this.writeU8(211),this.writeBigInt64(e))}writeStringHeader(e){if(e<32)this.writeU8(160+e);else if(e<256)this.writeU8(217),this.writeU8(e);else if(e<65536)this.writeU8(218),this.writeU16(e);else{if(!(e<4294967296))throw new Error(`Too long string: ${e} bytes in UTF-8`);this.writeU8(219),this.writeU32(e)}}encodeString(e){const t=function(e){const t=e.length;let n=0,r=0;for(;r<t;){let i=e.charCodeAt(r++);if(4294967168&i)if(4294965248&i){if(i>=55296&&i<=56319&&r<t){const t=e.charCodeAt(r);56320==(64512&t)&&(++r,i=((1023&i)<<10)+(1023&t)+65536)}n+=4294901760&i?4:3}else n+=2;else n++}return n}(e);var n,r,i;this.ensureBufferSizeToWrite(5+t),this.writeStringHeader(t),n=e,r=this.bytes,i=this.pos,n.length>50?function(e,t,n){k.encodeInto(e,t.subarray(n))}(n,r,i):function(e,t,n){const r=e.length;let i=n,o=0;for(;o<r;){let n=e.charCodeAt(o++);if(4294967168&n){if(4294965248&n){if(n>=55296&&n<=56319&&o<r){const t=e.charCodeAt(o);56320==(64512&t)&&(++o,n=((1023&n)<<10)+(1023&t)+65536)}4294901760&n?(t[i++]=n>>18&7|240,t[i++]=n>>12&63|128,t[i++]=n>>6&63|128):(t[i++]=n>>12&15|224,t[i++]=n>>6&63|128)}else t[i++]=n>>6&31|192;t[i++]=63&n|128}else t[i++]=n}}(n,r,i),this.pos+=t}encodeObject(e,t){const n=this.extensionCodec.tryToEncode(e,this.context);if(null!=n)this.encodeExtension(n);else if(Array.isArray(e))this.encodeArray(e,t);else if(ArrayBuffer.isView(e))this.encodeBinary(e);else{if("object"!=typeof e)throw new Error(`Unrecognized object: ${Object.prototype.toString.apply(e)}`);this.encodeMap(e,t)}}encodeBinary(e){const t=e.byteLength;if(t<256)this.writeU8(196),this.writeU8(t);else if(t<65536)this.writeU8(197),this.writeU16(t);else{if(!(t<4294967296))throw new Error(`Too large binary: ${t}`);this.writeU8(198),this.writeU32(t)}const n=N(e);this.writeU8a(n)}encodeArray(e,t){const n=e.length;if(n<16)this.writeU8(144+n);else if(n<65536)this.writeU8(220),this.writeU16(n);else{if(!(n<4294967296))throw new Error(`Too large array: ${n}`);this.writeU8(221),this.writeU32(n)}for(const r of e)this.doEncode(r,t+1)}countWithoutUndefined(e,t){let n=0;for(const r of t)void 0!==e[r]&&n++;return n}encodeMap(e,t){const n=Object.keys(e);this.sortKeys&&n.sort();const r=this.ignoreUndefined?this.countWithoutUndefined(e,n):n.length;if(r<16)this.writeU8(128+r);else if(r<65536)this.writeU8(222),this.writeU16(r);else{if(!(r<4294967296))throw new Error(`Too large map object: ${r}`);this.writeU8(223),this.writeU32(r)}for(const i of n){const n=e[i];this.ignoreUndefined&&void 0===n||(this.encodeString(i),this.doEncode(n,t+1))}}encodeExtension(e){if("function"==typeof e.data){const t=e.data(this.pos+6),n=t.length;if(n>=4294967296)throw new Error(`Too large extension object: ${n}`);return this.writeU8(201),this.writeU32(n),this.writeI8(e.type),void this.writeU8a(t)}const t=e.data.length;if(1===t)this.writeU8(212);else if(2===t)this.writeU8(213);else if(4===t)this.writeU8(214);else if(8===t)this.writeU8(215);else if(16===t)this.writeU8(216);else if(t<256)this.writeU8(199),this.writeU8(t);else if(t<65536)this.writeU8(200),this.writeU16(t);else{if(!(t<4294967296))throw new Error(`Too large extension object: ${t}`);this.writeU8(201),this.writeU32(t)}this.writeI8(e.type),this.writeU8a(e.data)}writeU8(e){this.ensureBufferSizeToWrite(1),this.view.setUint8(this.pos,e),this.pos++}writeU8a(e){const t=e.length;this.ensureBufferSizeToWrite(t),this.bytes.set(e,this.pos),this.pos+=t}writeI8(e){this.ensureBufferSizeToWrite(1),this.view.setInt8(this.pos,e),this.pos++}writeU16(e){this.ensureBufferSizeToWrite(2),this.view.setUint16(this.pos,e),this.pos+=2}writeI16(e){this.ensureBufferSizeToWrite(2),this.view.setInt16(this.pos,e),this.pos+=2}writeU32(e){this.ensureBufferSizeToWrite(4),this.view.setUint32(this.pos,e),this.pos+=4}writeI32(e){this.ensureBufferSizeToWrite(4),this.view.setInt32(this.pos,e),this.pos+=4}writeF32(e){this.ensureBufferSizeToWrite(4),this.view.setFloat32(this.pos,e),this.pos+=4}writeF64(e){this.ensureBufferSizeToWrite(8),this.view.setFloat64(this.pos,e),this.pos+=8}writeU64(e){this.ensureBufferSizeToWrite(8),function(e,t,n){const r=n/4294967296,i=n;e.setUint32(t,r),e.setUint32(t+4,i)}(this.view,this.pos,e),this.pos+=8}writeI64(e){this.ensureBufferSizeToWrite(8),P(this.view,this.pos,e),this.pos+=8}writeBigUint64(e){this.ensureBufferSizeToWrite(8),this.view.setBigUint64(this.pos,e),this.pos+=8}writeBigInt64(e){this.ensureBufferSizeToWrite(8),this.view.setBigInt64(this.pos,e),this.pos+=8}}function T(e){return`${e<0?"-":""}0x${Math.abs(e).toString(16).padStart(2,"0")}`}const I="array",R="map_key",M="map_value",$=e=>{if("string"==typeof e||"number"==typeof e)return e;throw new E("The type of key must be string or number but "+typeof e)};class D{constructor(){this.stack=[],this.stackHeadPosition=-1}get length(){return this.stackHeadPosition+1}top(){return this.stack[this.stackHeadPosition]}pushArrayState(e){const t=this.getUninitializedStateFromPool();t.type=I,t.position=0,t.size=e,t.array=new Array(e)}pushMapState(e){const t=this.getUninitializedStateFromPool();t.type=R,t.readCount=0,t.size=e,t.map={}}getUninitializedStateFromPool(){if(this.stackHeadPosition++,this.stackHeadPosition===this.stack.length){const e={type:void 0,size:0,array:void 0,position:0,readCount:0,map:void 0,key:null};this.stack.push(e)}return this.stack[this.stackHeadPosition]}release(e){if(this.stack[this.stackHeadPosition]!==e)throw new Error("Invalid stack state. Released state is not on top of the stack.");if(e.type===I){const t=e;t.size=0,t.array=void 0,t.position=0,t.type=void 0}if(e.type===R||e.type===M){const t=e;t.size=0,t.map=void 0,t.readCount=0,t.type=void 0}this.stackHeadPosition--}reset(){this.stack.length=0,this.stackHeadPosition=-1}}const F=new DataView(new ArrayBuffer(0)),U=new Uint8Array(F.buffer);try{F.getInt8(0)}catch(mr){if(!(mr instanceof RangeError))throw new Error("This module is not supported in the current JavaScript engine because DataView does not throw RangeError on out-of-bounds access")}const B=new RangeError("Insufficient data"),q=new class{constructor(e=16,t=16){this.hit=0,this.miss=0,this.maxKeyLength=e,this.maxLengthPerKey=t,this.caches=[];for(let n=0;n<this.maxKeyLength;n++)this.caches.push([])}canBeCached(e){return e>0&&e<=this.maxKeyLength}find(e,t,n){const r=this.caches[n-1];e:for(const i of r){const r=i.bytes;for(let i=0;i<n;i++)if(r[i]!==e[t+i])continue e;return i.str}return null}store(e,t){const n=this.caches[e.length-1],r={bytes:e,str:t};n.length>=this.maxLengthPerKey?n[Math.random()*n.length|0]=r:n.push(r)}decode(e,t,n){const r=this.find(e,t,n);if(null!=r)return this.hit++,r;this.miss++;const i=x(e,t,n),o=Uint8Array.prototype.slice.call(e,t,t+n);return this.store(o,i),i}};class H{constructor(e){this.totalPos=0,this.pos=0,this.view=F,this.bytes=U,this.headByte=-1,this.stack=new D,this.entered=!1,this.extensionCodec=e?.extensionCodec??A.defaultCodec,this.context=e?.context,this.useBigInt64=e?.useBigInt64??!1,this.rawStrings=e?.rawStrings??!1,this.maxStrLength=e?.maxStrLength??O,this.maxBinLength=e?.maxBinLength??O,this.maxArrayLength=e?.maxArrayLength??O,this.maxMapLength=e?.maxMapLength??O,this.maxExtLength=e?.maxExtLength??O,this.keyDecoder=void 0!==e?.keyDecoder?e.keyDecoder:q,this.mapKeyConverter=e?.mapKeyConverter??$}clone(){return new H({extensionCodec:this.extensionCodec,context:this.context,useBigInt64:this.useBigInt64,rawStrings:this.rawStrings,maxStrLength:this.maxStrLength,maxBinLength:this.maxBinLength,maxArrayLength:this.maxArrayLength,maxMapLength:this.maxMapLength,maxExtLength:this.maxExtLength,keyDecoder:this.keyDecoder})}reinitializeState(){this.totalPos=0,this.headByte=-1,this.stack.reset()}setBuffer(e){const t=N(e);this.bytes=t,this.view=new DataView(t.buffer,t.byteOffset,t.byteLength),this.pos=0}appendBuffer(e){if(-1!==this.headByte||this.hasRemaining(1)){const t=this.bytes.subarray(this.pos),n=N(e),r=new Uint8Array(t.length+n.length);r.set(t),r.set(n,t.length),this.setBuffer(r)}else this.setBuffer(e)}hasRemaining(e){return this.view.byteLength-this.pos>=e}createExtraByteError(e){const{view:t,pos:n}=this;return new RangeError(`Extra ${t.byteLength-n} of ${t.byteLength} byte(s) found at buffer[${e}]`)}decode(e){if(this.entered)return this.clone().decode(e);try{this.entered=!0,this.reinitializeState(),this.setBuffer(e);const t=this.doDecodeSync();if(this.hasRemaining(1))throw this.createExtraByteError(this.pos);return t}finally{this.entered=!1}}*decodeMulti(e){if(this.entered){const t=this.clone();return void(yield*t.decodeMulti(e))}try{for(this.entered=!0,this.reinitializeState(),this.setBuffer(e);this.hasRemaining(1);)yield this.doDecodeSync()}finally{this.entered=!1}}async decodeAsync(e){if(this.entered)return this.clone().decodeAsync(e);try{this.entered=!0;let t,n=!1;for await(const a of e){if(n)throw this.entered=!1,this.createExtraByteError(this.totalPos);this.appendBuffer(a);try{t=this.doDecodeSync(),n=!0}catch(mr){if(!(mr instanceof RangeError))throw mr}this.totalPos+=this.pos}if(n){if(this.hasRemaining(1))throw this.createExtraByteError(this.totalPos);return t}const{headByte:r,pos:i,totalPos:o}=this;throw new RangeError(`Insufficient data in parsing ${T(r)} at ${o} (${i} in the current buffer)`)}finally{this.entered=!1}}decodeArrayStream(e){return this.decodeMultiAsync(e,!0)}decodeStream(e){return this.decodeMultiAsync(e,!1)}async*decodeMultiAsync(e,t){if(this.entered){const n=this.clone();return void(yield*n.decodeMultiAsync(e,t))}try{this.entered=!0;let n=t,r=-1;for await(const i of e){if(t&&0===r)throw this.createExtraByteError(this.totalPos);this.appendBuffer(i),n&&(r=this.readArraySize(),n=!1,this.complete());try{for(;yield this.doDecodeSync(),0!==--r;);}catch(mr){if(!(mr instanceof RangeError))throw mr}this.totalPos+=this.pos}}finally{this.entered=!1}}doDecodeSync(){e:for(;;){const e=this.readHeadByte();let t;if(e>=224)t=e-256;else if(e<192)if(e<128)t=e;else if(e<144){const n=e-128;if(0!==n){this.pushMapState(n),this.complete();continue e}t={}}else if(e<160){const n=e-144;if(0!==n){this.pushArrayState(n),this.complete();continue e}t=[]}else{const n=e-160;t=this.decodeString(n,0)}else if(192===e)t=null;else if(194===e)t=!1;else if(195===e)t=!0;else if(202===e)t=this.readF32();else if(203===e)t=this.readF64();else if(204===e)t=this.readU8();else if(205===e)t=this.readU16();else if(206===e)t=this.readU32();else if(207===e)t=this.useBigInt64?this.readU64AsBigInt():this.readU64();else if(208===e)t=this.readI8();else if(209===e)t=this.readI16();else if(210===e)t=this.readI32();else if(211===e)t=this.useBigInt64?this.readI64AsBigInt():this.readI64();else if(217===e){const e=this.lookU8();t=this.decodeString(e,1)}else if(218===e){const e=this.lookU16();t=this.decodeString(e,2)}else if(219===e){const e=this.lookU32();t=this.decodeString(e,4)}else if(220===e){const e=this.readU16();if(0!==e){this.pushArrayState(e),this.complete();continue e}t=[]}else if(221===e){const e=this.readU32();if(0!==e){this.pushArrayState(e),this.complete();continue e}t=[]}else if(222===e){const e=this.readU16();if(0!==e){this.pushMapState(e),this.complete();continue e}t={}}else if(223===e){const e=this.readU32();if(0!==e){this.pushMapState(e),this.complete();continue e}t={}}else if(196===e){const e=this.lookU8();t=this.decodeBinary(e,1)}else if(197===e){const e=this.lookU16();t=this.decodeBinary(e,2)}else if(198===e){const e=this.lookU32();t=this.decodeBinary(e,4)}else if(212===e)t=this.decodeExtension(1,0);else if(213===e)t=this.decodeExtension(2,0);else if(214===e)t=this.decodeExtension(4,0);else if(215===e)t=this.decodeExtension(8,0);else if(216===e)t=this.decodeExtension(16,0);else if(199===e){const e=this.lookU8();t=this.decodeExtension(e,1)}else if(200===e){const e=this.lookU16();t=this.decodeExtension(e,2)}else{if(201!==e)throw new E(`Unrecognized type byte: ${T(e)}`);{const e=this.lookU32();t=this.decodeExtension(e,4)}}this.complete();const n=this.stack;for(;n.length>0;){const e=n.top();if(e.type===I){if(e.array[e.position]=t,e.position++,e.position!==e.size)continue e;t=e.array,n.release(e)}else{if(e.type===R){if("__proto__"===t)throw new E("The key __proto__ is not allowed");e.key=this.mapKeyConverter(t),e.type=M;continue e}if(e.map[e.key]=t,e.readCount++,e.readCount!==e.size){e.key=null,e.type=R;continue e}t=e.map,n.release(e)}}return t}}readHeadByte(){return-1===this.headByte&&(this.headByte=this.readU8()),this.headByte}complete(){this.headByte=-1}readArraySize(){const e=this.readHeadByte();switch(e){case 220:return this.readU16();case 221:return this.readU32();default:if(e<160)return e-144;throw new E(`Unrecognized array type byte: ${T(e)}`)}}pushMapState(e){if(e>this.maxMapLength)throw new E(`Max length exceeded: map length (${e}) > maxMapLengthLength (${this.maxMapLength})`);this.stack.pushMapState(e)}pushArrayState(e){if(e>this.maxArrayLength)throw new E(`Max length exceeded: array length (${e}) > maxArrayLength (${this.maxArrayLength})`);this.stack.pushArrayState(e)}decodeString(e,t){return!this.rawStrings||this.stateIsMapKey()?this.decodeUtf8String(e,t):this.decodeBinary(e,t)}decodeUtf8String(e,t){if(e>this.maxStrLength)throw new E(`Max length exceeded: UTF-8 byte length (${e}) > maxStrLength (${this.maxStrLength})`);if(this.bytes.byteLength<this.pos+t+e)throw B;const n=this.pos+t;let r;return r=this.stateIsMapKey()&&this.keyDecoder?.canBeCached(e)?this.keyDecoder.decode(this.bytes,n,e):function(e,t,n){return n>200?function(e,t,n){const r=e.subarray(t,t+n);return _.decode(r)}(e,t,n):x(e,t,n)}(this.bytes,n,e),this.pos+=t+e,r}stateIsMapKey(){return this.stack.length>0&&this.stack.top().type===R}decodeBinary(e,t){if(e>this.maxBinLength)throw new E(`Max length exceeded: bin length (${e}) > maxBinLength (${this.maxBinLength})`);if(!this.hasRemaining(e+t))throw B;const n=this.pos+t,r=this.bytes.subarray(n,n+e);return this.pos+=t+e,r}decodeExtension(e,t){if(e>this.maxExtLength)throw new E(`Max length exceeded: ext length (${e}) > maxExtLength (${this.maxExtLength})`);const n=this.view.getInt8(this.pos+t),r=this.decodeBinary(e,t+1);return this.extensionCodec.decode(r,n,this.context)}lookU8(){return this.view.getUint8(this.pos)}lookU16(){return this.view.getUint16(this.pos)}lookU32(){return this.view.getUint32(this.pos)}readU8(){const e=this.view.getUint8(this.pos);return this.pos++,e}readI8(){const e=this.view.getInt8(this.pos);return this.pos++,e}readU16(){const e=this.view.getUint16(this.pos);return this.pos+=2,e}readI16(){const e=this.view.getInt16(this.pos);return this.pos+=2,e}readU32(){const e=this.view.getUint32(this.pos);return this.pos+=4,e}readI32(){const e=this.view.getInt32(this.pos);return this.pos+=4,e}readU64(){const e=(t=this.view,n=this.pos,4294967296*t.getUint32(n)+t.getUint32(n+4));var t,n;return this.pos+=8,e}readI64(){const e=z(this.view,this.pos);return this.pos+=8,e}readU64AsBigInt(){const e=this.view.getBigUint64(this.pos);return this.pos+=8,e}readI64AsBigInt(){const e=this.view.getBigInt64(this.pos);return this.pos+=8,e}readF32(){const e=this.view.getFloat32(this.pos);return this.pos+=4,e}readF64(){const e=this.view.getFloat64(this.pos);return this.pos+=8,e}}function V(e){return V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V(e)}function W(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Q(r.key),r)}}function Q(e){var t=function(e){if("object"!=V(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=V(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==V(t)?t:t+""}var K=function(){return e=function e(t){var n=t.address,r=t.onClose,i=t.onMessage;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.address=n,this.onClose=r,this.onMessage=i,this.resolver=null,this.rejector=null},t=[{key:"encode",value:function(e){return t=e,new j(void 0).encodeSharedRef(t);var t}},{key:"decode",value:function(e){return t=e,new H(void 0).decode(t);var t}},{key:"open",value:function(){var e=this;return new Promise(function(t,n){e.ws=new WebSocket(e.address),e.ws.binaryType="arraybuffer",e.ws.onopen=function(e){return t(e.target)},e.ws.onclose=function(t){var n;e.rejector&&1e3!==t.code&&e.rejector(new Error("Connection closed")),e.rejector=null,e.resolver=null;try{var r,i=t.reason&&"string"==typeof t.reason?JSON.parse(t.reason):null;i&&"error"===i._&&(null===(r=e.onMessage)||void 0===r||r.call(e,i))}catch(to){}null===(n=e.onClose)||void 0===n||n.call(e,t)},e.ws.onmessage=function(t){var n=e.resolver,r=e.rejector;e.resolver=null,e.rejector=null;try{var i,o,a,s=e.decode(t.data);if("error"===s._)return void(r?r(new Error(null!==(o=s.message)&&void 0!==o?o:"Server error")):null===(a=e.onMessage)||void 0===a||a.call(e,s));n?n(s):null===(i=e.onMessage)||void 0===i||i.call(e,s)}catch(to){null==r||r(new Error("Bad server response"))}},e.ws.onerror=function(){n(new Error("Connection to ".concat(e.address," failed")))}})}},{key:"close",value:function(){this.ws&&(this.ws.readyState!==WebSocket.OPEN&&this.ws.readyState!==WebSocket.CONNECTING||this.ws.close())}},{key:"reconnect",value:function(){return this.open()}},{key:"send",value:function(e){var t=this,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).timeout,r=void 0===n?15e3:n;return new Promise(function(n,i){if(t.ws.readyState!==WebSocket.OPEN)return i(new Error("Websocket is closed"));var o=setTimeout(function(){t.resolver=null,t.rejector=null,i(new Error("Request timed out"))},r);t.resolver=function(e){clearTimeout(o),t.resolver=null,t.rejector=null,n(e)},t.rejector=function(e){clearTimeout(o),t.resolver=null,t.rejector=null,i(e)};try{t.ws.send(t.encode(e))}catch(to){t.rejector(to)}})}}],t&&W(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}(),G="/loading",Y="/auth",X=n(525);function J(e){return J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},J(e)}function Z(e,t,n){return(t=function(e){var t=function(e){if("object"!=J(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=J(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==J(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ee(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return te(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?te(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function te(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var ne=(0,v.createContext)(),re=function(){return(0,v.useContext)(ne)},ie=function(e){var n=e.children,r=ee((0,v.useState)({path:G,params:{}}),2),a=r[0],s=r[1],l=ee((0,v.useState)(Z(Z(Z({},t,function(){return!1}),i,function(){return!1}),o,function(){return!1})),2),u=l[0],c=l[1],d=ee((0,v.useState)(!1),2),f=d[0],h=d[1],p={screen:a,navigate:(0,v.useCallback)(function(e){var t=e.path,n=e.params;s({path:t,params:n})},[]),callbacks:u,setCallbacks:c,closing:f,setClosing:h};return(0,X.jsx)(ne.Provider,{value:p,children:n})};function oe(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof s?r:s,u=Object.create(l.prototype);return ae(u,"_invoke",function(n,r,i){var o,s,l,u=0,c=i||[],d=!1,f={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,n){return o=t,s=0,l=e,f.n=n,a}};function h(n,r){for(s=n,l=r,t=0;!d&&u&&!i&&t<c.length;t++){var i,o=c[t],h=f.p,p=o[2];n>3?(i=p===r)&&(l=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=e):o[0]<=h&&((i=n<2&&h<o[1])?(s=0,f.v=r,f.n=o[1]):h<p&&(i=n<3||o[0]>r||r>p)&&(o[4]=n,o[5]=r,f.n=p,s=0))}if(i||n>1)return a;throw d=!0,r}return function(i,c,p){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&h(c,p),s=c,l=p;(t=s<2?e:l)||!d;){o||(s?s<3?(s>1&&(f.n=-1),h(s,l)):f.n=l:f.v=l);try{if(u=2,o){if(s||(i="next"),t=o[i]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=o.return)&&t.call(o),s<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=e}else if((t=(d=f.n<0)?l:n.call(r,f))!==a)break}catch(t){o=e,s=1,l=t}finally{u=1}}return{value:t,done:d}}}(n,i,o),!0),u}var a={};function s(){}function l(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(ae(t={},r,function(){return this}),t),d=u.prototype=s.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,ae(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=u,ae(d,"constructor",u),ae(u,"constructor",l),l.displayName="GeneratorFunction",ae(u,i,"GeneratorFunction"),ae(d),ae(d,i,"Generator"),ae(d,r,function(){return this}),ae(d,"toString",function(){return"[object Generator]"}),(oe=function(){return{w:o,m:f}})()}function ae(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}ae=function(e,t,n,r){function o(t,n){ae(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},ae(e,t,n,r)}function se(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function le(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){se(o,r,i,a,s,"next",e)}function s(e){se(o,r,i,a,s,"throw",e)}a(void 0)})}}function ue(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ce(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ce(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var de=(0,v.createContext)(),fe=function(){return(0,v.useContext)(de)},he=function(e){var t=e.children,n=ue((0,v.useState)(""),2),r=n[0],a=n[1],h=ue((0,v.useState)(""),2),p=h[0],m=h[1],y=ue((0,v.useState)("default"),2),w=y[0],S=y[1],k=(0,v.useRef)(null),x=(0,v.useRef)(null),_=(0,v.useRef)(!1),C=re(),E=C.callbacks,O=C.setClosing,P=(0,v.useCallback)(function(){var e=le(oe().m(function e(t){var n,r,a;return oe().w(function(e){for(;;)switch(e.p=e.n){case 0:return n=function(e){var t,n,r,a;"activated"===(null==e?void 0:e._)&&S(s),"error"===(null==e?void 0:e._)&&(S(u),null===(t=E[o])||void 0===t||t.call(E)),"Authorization declined"===(null==e?void 0:e.message)&&(S(c),null===(n=E[o])||void 0===n||n.call(E)),"Authorization timeout"===(null==e?void 0:e.message)&&(S(d),O(!0),null===(r=E[o])||void 0===r||r.call(E)),"welcome"===(null==e?void 0:e.message)&&(null===(a=E[i])||void 0===a||a.call(E,{token:e.payload.token}),S(l),O(!0),k.current=null,x.current=null,_.current=!1)},r=new K({address:t,onClose:function(){var e=le(oe().m(function e(t){var r,i,o;return oe().w(function(e){for(;;)switch(e.p=e.n){case 0:if(b(),r=k.current,(i=x.current)&&!_.current){e.n=1;break}return e.a(2);case 1:return _.current=!0,b(),e.p=2,e.n=3,r.reconnect();case 3:return e.n=4,r.send({_:"reconnect",sessionId:i});case 4:o=e.v,b(),_.current=!1,"activated"===o.status&&S(s),n(o),e.n=6;break;case 5:e.p=5,e.v,b(),S(f);case 6:return e.a(2)}},e,null,[[2,5]])}));return function(t){return e.apply(this,arguments)}}(),onMessage:n}),e.p=1,e.n=2,r.open();case 2:return e.n=3,r.send({_:g});case 3:(null==(a=e.v)?void 0:a._)===g&&null!=a&&a.linkWeb&&(m(a.linkWeb),a.sessionId&&(x.current=a.sessionId,b(a.sessionId))),k.current=r,e.n=5;break;case 4:e.p=4,e.v,b(),S(u),O(!0);try{r.close()}catch(h){b()}case 5:return e.a(2)}},e,null,[[1,4]])}));return function(t){return e.apply(this,arguments)}}(),[E,O]);(0,v.useEffect)(function(){return r&&P(r),function(){var e;return null===(e=k.current)||void 0===e?void 0:e.close()}},[r]);var z={setBackendUrl:a,authStatus:w,link:p};return(0,X.jsx)(de.Provider,{value:z,children:t})},pe=function(){return pe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},pe.apply(this,arguments)};function ge(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var me=n(162),ye=n.n(me),ve="-ms-",be="-moz-",we="-webkit-",Se="comm",ke="rule",xe="decl",_e="@keyframes",Ce=Math.abs,Ee=String.fromCharCode,Oe=Object.assign;function Pe(e){return e.trim()}function ze(e,t){return(e=t.exec(e))?e[0]:e}function Le(e,t,n){return e.replace(t,n)}function Ae(e,t,n){return e.indexOf(t,n)}function Ne(e,t){return 0|e.charCodeAt(t)}function je(e,t,n){return e.slice(t,n)}function Te(e){return e.length}function Ie(e){return e.length}function Re(e,t){return t.push(e),e}function Me(e,t){return e.filter(function(e){return!ze(e,t)})}var $e=1,De=1,Fe=0,Ue=0,Be=0,qe="";function He(e,t,n,r,i,o,a,s){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:$e,column:De,length:a,return:"",siblings:s}}function Ve(e,t){return Oe(He("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function We(e){for(;e.root;)e=Ve(e.root,{children:[e]});Re(e,e.siblings)}function Qe(){return Be=Ue>0?Ne(qe,--Ue):0,De--,10===Be&&(De=1,$e--),Be}function Ke(){return Be=Ue<Fe?Ne(qe,Ue++):0,De++,10===Be&&(De=1,$e++),Be}function Ge(){return Ne(qe,Ue)}function Ye(){return Ue}function Xe(e,t){return je(qe,e,t)}function Je(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ze(e){return Pe(Xe(Ue-1,nt(91===e?e+2:40===e?e+1:e)))}function et(e){for(;(Be=Ge())&&Be<33;)Ke();return Je(e)>2||Je(Be)>3?"":" "}function tt(e,t){for(;--t&&Ke()&&!(Be<48||Be>102||Be>57&&Be<65||Be>70&&Be<97););return Xe(e,Ye()+(t<6&&32==Ge()&&32==Ke()))}function nt(e){for(;Ke();)switch(Be){case e:return Ue;case 34:case 39:34!==e&&39!==e&&nt(Be);break;case 40:41===e&&nt(e);break;case 92:Ke()}return Ue}function rt(e,t){for(;Ke()&&e+Be!==57&&(e+Be!==84||47!==Ge()););return"/*"+Xe(t,Ue-1)+"*"+Ee(47===e?e:Ke())}function it(e){for(;!Je(Ge());)Ke();return Xe(e,Ue)}function ot(e){return function(e){return qe="",e}(at("",null,null,null,[""],e=function(e){return $e=De=1,Fe=Te(qe=e),Ue=0,[]}(e),0,[0],e))}function at(e,t,n,r,i,o,a,s,l){for(var u=0,c=0,d=a,f=0,h=0,p=0,g=1,m=1,y=1,v=0,b="",w=i,S=o,k=r,x=b;m;)switch(p=v,v=Ke()){case 40:if(108!=p&&58==Ne(x,d-1)){-1!=Ae(x+=Le(Ze(v),"&","&\f"),"&\f",Ce(u?s[u-1]:0))&&(y=-1);break}case 34:case 39:case 91:x+=Ze(v);break;case 9:case 10:case 13:case 32:x+=et(p);break;case 92:x+=tt(Ye()-1,7);continue;case 47:switch(Ge()){case 42:case 47:Re(lt(rt(Ke(),Ye()),t,n,l),l);break;default:x+="/"}break;case 123*g:s[u++]=Te(x)*y;case 125*g:case 59:case 0:switch(v){case 0:case 125:m=0;case 59+c:-1==y&&(x=Le(x,/\f/g,"")),h>0&&Te(x)-d&&Re(h>32?ut(x+";",r,n,d-1,l):ut(Le(x," ","")+";",r,n,d-2,l),l);break;case 59:x+=";";default:if(Re(k=st(x,t,n,u,c,i,s,b,w=[],S=[],d,o),o),123===v)if(0===c)at(x,t,k,k,w,o,d,s,S);else switch(99===f&&110===Ne(x,3)?100:f){case 100:case 108:case 109:case 115:at(e,k,k,r&&Re(st(e,k,k,0,0,i,s,b,i,w=[],d,S),S),i,S,d,s,r?w:S);break;default:at(x,k,k,k,[""],S,0,s,S)}}u=c=h=0,g=y=1,b=x="",d=a;break;case 58:d=1+Te(x),h=p;default:if(g<1)if(123==v)--g;else if(125==v&&0==g++&&125==Qe())continue;switch(x+=Ee(v),v*g){case 38:y=c>0?1:(x+="\f",-1);break;case 44:s[u++]=(Te(x)-1)*y,y=1;break;case 64:45===Ge()&&(x+=Ze(Ke())),f=Ge(),c=d=Te(b=x+=it(Ye())),v++;break;case 45:45===p&&2==Te(x)&&(g=0)}}return o}function st(e,t,n,r,i,o,a,s,l,u,c,d){for(var f=i-1,h=0===i?o:[""],p=Ie(h),g=0,m=0,y=0;g<r;++g)for(var v=0,b=je(e,f+1,f=Ce(m=a[g])),w=e;v<p;++v)(w=Pe(m>0?h[v]+" "+b:Le(b,/&\f/g,h[v])))&&(l[y++]=w);return He(e,t,n,0===i?ke:s,l,u,c,d)}function lt(e,t,n,r){return He(e,t,n,Se,Ee(Be),je(e,2,-2),0,r)}function ut(e,t,n,r,i){return He(e,t,n,xe,je(e,0,r),je(e,r+1,-1),r,i)}function ct(e,t,n){switch(function(e,t){return 45^Ne(e,0)?(((t<<2^Ne(e,0))<<2^Ne(e,1))<<2^Ne(e,2))<<2^Ne(e,3):0}(e,t)){case 5103:return we+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return we+e+e;case 4789:return be+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return we+e+be+e+ve+e+e;case 5936:switch(Ne(e,t+11)){case 114:return we+e+ve+Le(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return we+e+ve+Le(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return we+e+ve+Le(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return we+e+ve+e+e;case 6165:return we+e+ve+"flex-"+e+e;case 5187:return we+e+Le(e,/(\w+).+(:[^]+)/,we+"box-$1$2"+ve+"flex-$1$2")+e;case 5443:return we+e+ve+"flex-item-"+Le(e,/flex-|-self/g,"")+(ze(e,/flex-|baseline/)?"":ve+"grid-row-"+Le(e,/flex-|-self/g,""))+e;case 4675:return we+e+ve+"flex-line-pack"+Le(e,/align-content|flex-|-self/g,"")+e;case 5548:return we+e+ve+Le(e,"shrink","negative")+e;case 5292:return we+e+ve+Le(e,"basis","preferred-size")+e;case 6060:return we+"box-"+Le(e,"-grow","")+we+e+ve+Le(e,"grow","positive")+e;case 4554:return we+Le(e,/([^-])(transform)/g,"$1"+we+"$2")+e;case 6187:return Le(Le(Le(e,/(zoom-|grab)/,we+"$1"),/(image-set)/,we+"$1"),e,"")+e;case 5495:case 3959:return Le(e,/(image-set\([^]*)/,we+"$1$`$1");case 4968:return Le(Le(e,/(.+:)(flex-)?(.*)/,we+"box-pack:$3"+ve+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+we+e+e;case 4200:if(!ze(e,/flex-|baseline/))return ve+"grid-column-align"+je(e,t)+e;break;case 2592:case 3360:return ve+Le(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(e,n){return t=n,ze(e.props,/grid-\w+-end/)})?~Ae(e+(n=n[t].value),"span",0)?e:ve+Le(e,"-start","")+e+ve+"grid-row-span:"+(~Ae(n,"span",0)?ze(n,/\d+/):+ze(n,/\d+/)-+ze(e,/\d+/))+";":ve+Le(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(e){return ze(e.props,/grid-\w+-start/)})?e:ve+Le(Le(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Le(e,/(.+)-inline(.+)/,we+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Te(e)-1-t>6)switch(Ne(e,t+1)){case 109:if(45!==Ne(e,t+4))break;case 102:return Le(e,/(.+:)(.+)-([^]+)/,"$1"+we+"$2-$3$1"+be+(108==Ne(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Ae(e,"stretch",0)?ct(Le(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return Le(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,n,r,i,o,a,s){return ve+n+":"+r+s+(i?ve+n+"-span:"+(o?a:+a-+r)+s:"")+e});case 4949:if(121===Ne(e,t+6))return Le(e,":",":"+we)+e;break;case 6444:switch(Ne(e,45===Ne(e,14)?18:11)){case 120:return Le(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+we+(45===Ne(e,14)?"inline-":"")+"box$3$1"+we+"$2$3$1"+ve+"$2box$3")+e;case 100:return Le(e,":",":"+ve)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Le(e,"scroll-","scroll-snap-")+e}return e}function dt(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function ft(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case xe:return e.return=e.return||e.value;case Se:return"";case _e:return e.return=e.value+"{"+dt(e.children,r)+"}";case ke:if(!Te(e.value=e.props.join(",")))return""}return Te(n=dt(e.children,r))?e.return=e.value+"{"+n+"}":""}function ht(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case xe:return void(e.return=ct(e.value,e.length,n));case _e:return dt([Ve(e,{value:Le(e.value,"@","@"+we)})],r);case ke:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,function(t){switch(ze(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":We(Ve(e,{props:[Le(t,/:(read-\w+)/,":-moz-$1")]})),We(Ve(e,{props:[t]})),Oe(e,{props:Me(n,r)});break;case"::placeholder":We(Ve(e,{props:[Le(t,/:(plac\w+)/,":"+we+"input-$1")]})),We(Ve(e,{props:[Le(t,/:(plac\w+)/,":-moz-$1")]})),We(Ve(e,{props:[Le(t,/:(plac\w+)/,ve+"input-$1")]})),We(Ve(e,{props:[t]})),Oe(e,{props:Me(n,r)})}return""})}}var pt={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},gt="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",mt="active",yt="data-styled-version",vt="6.1.19",bt="/*!sc*/\n",wt="undefined"!=typeof window&&"undefined"!=typeof document,St=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),kt=(new Set,Object.freeze([])),xt=Object.freeze({});var _t=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Ct=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Et=/(^-|-$)/g;function Ot(e){return e.replace(Ct,"-").replace(Et,"")}var Pt=/(a)(d)/gi,zt=function(e){return String.fromCharCode(e+(e>25?39:97))};function Lt(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=zt(t%52)+n;return(zt(t%52)+n).replace(Pt,"$1-$2")}var At,Nt=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},jt=function(e){return Nt(5381,e)};function Tt(e){return Lt(jt(e)>>>0)}function It(e){return"string"==typeof e&&!0}var Rt="function"==typeof Symbol&&Symbol.for,Mt=Rt?Symbol.for("react.memo"):60115,$t=Rt?Symbol.for("react.forward_ref"):60112,Dt={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ft={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ut={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Bt=((At={})[$t]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},At[Mt]=Ut,At);function qt(e){return("type"in(t=e)&&t.type.$$typeof)===Mt?Ut:"$$typeof"in e?Bt[e.$$typeof]:Dt;var t}var Ht=Object.defineProperty,Vt=Object.getOwnPropertyNames,Wt=Object.getOwnPropertySymbols,Qt=Object.getOwnPropertyDescriptor,Kt=Object.getPrototypeOf,Gt=Object.prototype;function Yt(e,t,n){if("string"!=typeof t){if(Gt){var r=Kt(t);r&&r!==Gt&&Yt(e,r,n)}var i=Vt(t);Wt&&(i=i.concat(Wt(t)));for(var o=qt(e),a=qt(t),s=0;s<i.length;++s){var l=i[s];if(!(l in Ft||n&&n[l]||a&&l in a||o&&l in o)){var u=Qt(t,l);try{Ht(e,l,u)}catch(e){}}}}return e}function Xt(e){return"function"==typeof e}function Jt(e){return"object"==typeof e&&"styledComponentId"in e}function Zt(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function en(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=t?t+e[r]:e[r];return n}function tn(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function nn(e,t,n){if(void 0===n&&(n=!1),!n&&!tn(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=nn(e[r],t[r]);else if(tn(t))for(var r in t)e[r]=nn(e[r],t[r]);return e}function rn(e,t){Object.defineProperty(e,"toString",{value:t})}function on(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var an=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)if((i<<=1)<0)throw on(16,"".concat(e));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=(o=0,t.length);o<s;o++)this.tag.insertRule(a,t[o])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o<i;o++)t+="".concat(this.tag.getRule(o)).concat(bt);return t},e}(),sn=new Map,ln=new Map,un=1,cn=function(e){if(sn.has(e))return sn.get(e);for(;ln.has(un);)un++;var t=un++;return sn.set(e,t),ln.set(t,e),t},dn=function(e,t){un=t+1,sn.set(e,t),ln.set(t,e)},fn="style[".concat(gt,"][").concat(yt,'="').concat(vt,'"]'),hn=new RegExp("^".concat(gt,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),pn=function(e,t,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&e.registerName(t,r)},gn=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(bt),i=[],o=0,a=r.length;o<a;o++){var s=r[o].trim();if(s){var l=s.match(hn);if(l){var u=0|parseInt(l[1],10),c=l[2];0!==u&&(dn(c,u),pn(e,c,l[3]),e.getTag().insertRules(u,i)),i.length=0}else i.push(s)}}},mn=function(e){for(var t=document.querySelectorAll(fn),n=0,r=t.length;n<r;n++){var i=t[n];i&&i.getAttribute(gt)!==mt&&(gn(e,i),i.parentNode&&i.parentNode.removeChild(i))}};function yn(){return n.nc}var vn=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(e){var t=Array.from(e.querySelectorAll("style[".concat(gt,"]")));return t[t.length-1]}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(gt,mt),r.setAttribute(yt,vt);var a=yn();return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},bn=function(){function e(e){this.element=vn(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}throw on(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),wn=function(){function e(e){this.element=vn(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Sn=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),kn=wt,xn={isServer:!wt,useCSSOMInjection:!St},_n=function(){function e(e,t,n){void 0===e&&(e=xt),void 0===t&&(t={});var r=this;this.options=pe(pe({},xn),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&wt&&kn&&(kn=!1,mn(this)),rn(this,function(){return function(e){for(var t=e.getTag(),n=t.length,r="",i=function(n){var i=function(e){return ln.get(e)}(n);if(void 0===i)return"continue";var o=e.names.get(i),a=t.getGroup(n);if(void 0===o||!o.size||0===a.length)return"continue";var s="".concat(gt,".g").concat(n,'[id="').concat(i,'"]'),l="";void 0!==o&&o.forEach(function(e){e.length>0&&(l+="".concat(e,","))}),r+="".concat(a).concat(s,'{content:"').concat(l,'"}').concat(bt)},o=0;o<n;o++)i(o);return r}(r)})}return e.registerId=function(e){return cn(e)},e.prototype.rehydrate=function(){!this.server&&wt&&mn(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(pe(pe({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new Sn(n):t?new bn(n):new wn(n)}(this.options),new an(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(cn(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(cn(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(cn(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Cn=/&/g,En=/^\s*\/\/.*$/gm;function On(e,t){return e.map(function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return"".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=On(e.children,t)),e})}function Pn(e){var t,n,r,i=void 0===e?xt:e,o=i.options,a=void 0===o?xt:o,s=i.plugins,l=void 0===s?kt:s,u=function(e,r,i){return i.startsWith(n)&&i.endsWith(n)&&i.replaceAll(n,"").length>0?".".concat(t):e},c=l.slice();c.push(function(e){e.type===ke&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Cn,n).replace(r,u))}),a.prefix&&c.push(ht),c.push(ft);var d=function(e,i,o,s){void 0===i&&(i=""),void 0===o&&(o=""),void 0===s&&(s="&"),t=s,n=i,r=new RegExp("\\".concat(n,"\\b"),"g");var l=e.replace(En,""),u=ot(o||i?"".concat(o," ").concat(i," { ").concat(l," }"):l);a.namespace&&(u=On(u,a.namespace));var d,f,h,p=[];return dt(u,(d=c.concat((h=function(e){return p.push(e)},function(e){e.root||(e=e.return)&&h(e)})),f=Ie(d),function(e,t,n,r){for(var i="",o=0;o<f;o++)i+=d[o](e,t,n,r)||"";return i})),p};return d.hash=l.length?l.reduce(function(e,t){return t.name||on(15),Nt(e,t.name)},5381).toString():"",d}var zn=new _n,Ln=Pn(),An=v.createContext({shouldForwardProp:void 0,styleSheet:zn,stylis:Ln}),Nn=(An.Consumer,v.createContext(void 0));function jn(){return(0,v.useContext)(An)}function Tn(e){var t=(0,v.useState)(e.stylisPlugins),n=t[0],r=t[1],i=jn().styleSheet,o=(0,v.useMemo)(function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,i]),a=(0,v.useMemo)(function(){return Pn({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})},[e.enableVendorPrefixes,e.namespace,n]);(0,v.useEffect)(function(){ye()(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]);var s=(0,v.useMemo)(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:o,stylis:a}},[e.shouldForwardProp,o,a]);return v.createElement(An.Provider,{value:s},v.createElement(Nn.Provider,{value:a},e.children))}var In=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Ln);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,rn(this,function(){throw on(12,String(n.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=Ln),this.name+e.hash},e}(),Rn=function(e){return e>="A"&&e<="Z"};function Mn(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;Rn(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var $n=function(e){return null==e||!1===e||""===e},Dn=function(e){var t,n,r=[];for(var i in e){var o=e[i];e.hasOwnProperty(i)&&!$n(o)&&(Array.isArray(o)&&o.isCss||Xt(o)?r.push("".concat(Mn(i),":"),o,";"):tn(o)?r.push.apply(r,ge(ge(["".concat(i," {")],Dn(o),!1),["}"],!1)):r.push("".concat(Mn(i),": ").concat((t=i,null==(n=o)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in pt||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function Fn(e,t,n,r){return $n(e)?[]:Jt(e)?[".".concat(e.styledComponentId)]:Xt(e)?!Xt(i=e)||i.prototype&&i.prototype.isReactComponent||!t?[e]:Fn(e(t),t,n,r):e instanceof In?n?(e.inject(n,r),[e.getName(r)]):[e]:tn(e)?Dn(e):Array.isArray(e)?Array.prototype.concat.apply(kt,e.map(function(e){return Fn(e,t,n,r)})):[e.toString()];var i}function Un(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Xt(n)&&!Jt(n))return!1}return!0}var Bn=jt(vt),qn=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Un(e),this.componentId=t,this.baseHash=Nt(Bn,t),this.baseStyle=n,_n.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=Zt(r,this.staticRulesId);else{var i=en(Fn(this.rules,e,t,n)),o=Lt(Nt(this.baseHash,i)>>>0);if(!t.hasNameForId(this.componentId,o)){var a=n(i,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,a)}r=Zt(r,o),this.staticRulesId=o}else{for(var s=Nt(this.baseHash,n.hash),l="",u=0;u<this.rules.length;u++){var c=this.rules[u];if("string"==typeof c)l+=c;else if(c){var d=en(Fn(c,e,t,n));s=Nt(s,d+u),l+=d}}if(l){var f=Lt(s>>>0);t.hasNameForId(this.componentId,f)||t.insertRules(this.componentId,f,n(l,".".concat(f),void 0,this.componentId)),r=Zt(r,f)}}return r},e}(),Hn=v.createContext(void 0);function Vn(e){var t=v.useContext(Hn),n=(0,v.useMemo)(function(){return function(e,t){if(!e)throw on(14);if(Xt(e))return e(t);if(Array.isArray(e)||"object"!=typeof e)throw on(8);return t?pe(pe({},t),e):e}(e.theme,t)},[e.theme,t]);return e.children?v.createElement(Hn.Provider,{value:n},e.children):null}Hn.Consumer;var Wn={};function Qn(e,t,n){var r=Jt(e),i=e,o=!It(e),a=t.attrs,s=void 0===a?kt:a,l=t.componentId,u=void 0===l?function(e,t){var n="string"!=typeof e?"sc":Ot(e);Wn[n]=(Wn[n]||0)+1;var r="".concat(n,"-").concat(Tt(vt+n+Wn[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):l,c=t.displayName,d=void 0===c?function(e){return It(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):c,f=t.displayName&&t.componentId?"".concat(Ot(t.displayName),"-").concat(t.componentId):t.componentId||u,h=r&&i.attrs?i.attrs.concat(s).filter(Boolean):s,p=t.shouldForwardProp;if(r&&i.shouldForwardProp){var g=i.shouldForwardProp;if(t.shouldForwardProp){var m=t.shouldForwardProp;p=function(e,t){return g(e,t)&&m(e,t)}}else p=g}var y=new qn(n,f,r?i.componentStyle:void 0);function b(e,t){return function(e,t,n){var r=e.attrs,i=e.componentStyle,o=e.defaultProps,a=e.foldedComponentIds,s=e.styledComponentId,l=e.target,u=v.useContext(Hn),c=jn(),d=e.shouldForwardProp||c.shouldForwardProp,f=function(e,t,n){return void 0===n&&(n=xt),e.theme!==n.theme&&e.theme||t||n.theme}(t,u,o)||xt,h=function(e,t,n){for(var r,i=pe(pe({},t),{className:void 0,theme:n}),o=0;o<e.length;o+=1){var a=Xt(r=e[o])?r(i):r;for(var s in a)i[s]="className"===s?Zt(i[s],a[s]):"style"===s?pe(pe({},i[s]),a[s]):a[s]}return t.className&&(i.className=Zt(i.className,t.className)),i}(r,t,f),p=h.as||l,g={};for(var m in h)void 0===h[m]||"$"===m[0]||"as"===m||"theme"===m&&h.theme===f||("forwardedAs"===m?g.as=h.forwardedAs:d&&!d(m,p)||(g[m]=h[m]));var y=function(e,t){var n=jn();return e.generateAndInjectStyles(t,n.styleSheet,n.stylis)}(i,h),b=Zt(a,s);return y&&(b+=" "+y),h.className&&(b+=" "+h.className),g[It(p)&&!_t.has(p)?"class":"className"]=b,n&&(g.ref=n),(0,v.createElement)(p,g)}(w,e,t)}b.displayName=d;var w=v.forwardRef(b);return w.attrs=h,w.componentStyle=y,w.displayName=d,w.shouldForwardProp=p,w.foldedComponentIds=r?Zt(i.foldedComponentIds,i.styledComponentId):"",w.styledComponentId=f,w.target=r?i.target:e,Object.defineProperty(w,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=r?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,i=t;r<i.length;r++)nn(e,i[r],!0);return e}({},i.defaultProps,e):e}}),rn(w,function(){return".".concat(w.styledComponentId)}),o&&Yt(w,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),w}function Kn(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n}new Set;var Gn=function(e){return Object.assign(e,{isCss:!0})};function Yn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Xt(e)||tn(e))return Gn(Fn(Kn(kt,ge([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?Fn(r):Gn(Fn(Kn(r,t)))}function Xn(e,t,n){if(void 0===n&&(n=xt),!t)throw on(1,t);var r=function(r){for(var i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];return e(t,n,Yn.apply(void 0,ge([r],i,!1)))};return r.attrs=function(r){return Xn(e,t,pe(pe({},n),{attrs:Array.prototype.concat(n.attrs,r).filter(Boolean)}))},r.withConfig=function(r){return Xn(e,t,pe(pe({},n),r))},r}var Jn=function(e){return Xn(Qn,e)},Zn=Jn;function er(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=en(Yn.apply(void 0,ge([e],t,!1))),i=Tt(r);return new In(i,r)}_t.forEach(function(e){Zn[e]=Jn(e)}),function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Un(e),_n.registerId(this.componentId+1)}e.prototype.createStyles=function(e,t,n,r){var i=r(en(Fn(this.rules,t,n,r)),""),o=this.componentId+e;n.insertRules(o,o,i)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&_n.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=yn(),r=en([n&&'nonce="'.concat(n,'"'),"".concat(gt,'="true"'),"".concat(yt,'="').concat(vt,'"')].filter(Boolean)," ");return"<style ".concat(r,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw on(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw on(2);var n=e.instance.toString();if(!n)return[];var r=((t={})[gt]="",t[yt]=vt,t.dangerouslySetInnerHTML={__html:n},t),i=yn();return i&&(r.nonce=i),[v.createElement("style",pe({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new _n({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw on(2);return v.createElement(Tn,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw on(3)}}(),"__sc-".concat(gt,"__");var tr={colors:{primary:"rgba(33, 150, 243, 1)",primaryHover:"rgba(25, 118, 210, 1)",secondary:"rgba(3, 169, 244, 1)",accent:"rgba(255, 64, 129, 1)",background:"rgba(255, 255, 255, 1)",backgroundSecondary:"rgba(245, 245, 245, 1)",surfaceOverlay:"rgba(0, 0, 0, 0.05)",text:"rgba(33, 33, 33, 1)",textSecondary:"rgba(117, 117, 117, 1)",textInverse:"rgba(255, 255, 255, 1)",success:"rgba(76, 175, 80, 1)",error:"rgba(244, 67, 54, 1)",warning:"rgba(255, 152, 0, 1)",border:"rgba(224, 224, 224, 1)",shadow:"rgba(0, 0, 0, 0.1)",shadowMedium:"rgba(0, 0, 0, 0.15)",shadowStrong:"rgba(0, 0, 0, 0.25)",backdrop:"rgba(0, 0, 0, 0.3)"},gradients:{surface:"linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 245, 0.9) 100%)",homePage:"linear-gradient(90deg, rgba(227, 242, 253, 1) 0%, rgba(187, 222, 251, 1) 100%)"},qrCode:{dotsColor:"rgba(33, 150, 243, 1)",cornersColor:"rgba(33, 150, 243, 1)",cornerDotsColor:"rgba(33, 150, 243, 1)",backgroundColor:"rgba(255, 255, 255, 1)"}},nr={colors:{primary:"rgba(33, 150, 243, 1)",primaryHover:"rgba(25, 118, 210, 1)",secondary:"rgba(79, 195, 247, 1)",accent:"rgba(255, 64, 129, 1)",background:"rgba(15, 14, 31, 1)",backgroundSecondary:"rgba(26, 24, 41, 1)",surfaceOverlay:"rgba(255, 255, 255, 0.05)",text:"rgba(255, 255, 255, 1)",textSecondary:"rgba(117, 117, 117, 1)",textInverse:"rgba(33, 33, 33, 1)",success:"rgba(102, 187, 106, 1)",error:"rgba(239, 83, 80, 1)",warning:"rgba(255, 167, 38, 1)",border:"rgba(44, 42, 63, 1)",shadow:"rgba(0, 0, 0, 0.3)",shadowMedium:"rgba(0, 0, 0, 0.4)",shadowStrong:"rgba(0, 0, 0, 0.5)",backdrop:"rgba(16, 54, 84, 0.3)"},gradients:{surface:"linear-gradient(180deg, rgba(8, 19, 28, 0.7) 0%, rgba(8, 19, 28, 0.4) 100%)",homePage:"linear-gradient(90deg, rgba(11, 11, 39, 1) 0%, rgba(30, 27, 126, 1) 100%)"},qrCode:{dotsColor:"rgba(33, 150, 243, 1)",cornersColor:"rgba(33, 150, 243, 1)",cornerDotsColor:"rgba(33, 150, 243, 1)",backgroundColor:"rgba(255, 255, 255, 1)"}};function rr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var ir,or=(0,v.createContext)(),ar=function(e){var t,n,r=e.children,i=(t=(0,v.useState)(p),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(t,n)||function(e,t){if(e){if("string"==typeof e)return rr(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rr(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=i[0],a=i[1],s=o===h?tr:nr,l={theme:s,themeMode:o,setTheme:function(e){e!==h&&e!==p||a(e)},isDark:o===p,isLight:o===h};return(0,X.jsx)(or.Provider,{value:l,children:(0,X.jsx)(Vn,{theme:s,children:r})})};function sr(e){var t=e.children;return(0,X.jsx)(ar,{children:(0,X.jsx)(ie,{children:(0,X.jsx)(he,{children:t})})})}function lr(){return lr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lr.apply(null,arguments)}const ur=function(e){return v.createElement("svg",lr({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),ir||(ir=v.createElement("path",{fill:"#0F0F0F",d:"M6.995 7.006a1 1 0 0 0 0 1.415l3.585 3.585-3.585 3.585a1 1 0 1 0 1.414 1.414l3.585-3.585 3.585 3.585a1 1 0 0 0 1.415-1.414l-3.586-3.585 3.586-3.585a1 1 0 0 0-1.415-1.415l-3.585 3.585L8.41 7.007a1 1 0 0 0-1.414 0"})))};var cr,dr,fr,hr,pr,gr,mr,yr,vr=Zn.button(cr||(mr=["\n all: initial;\n position: absolute;\n top: 12px;\n right: 8px;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n width: 24px;\n height: 24px;\n padding: 0;\n\n background: transparent;\n border: none;\n cursor: pointer;\n\n svg {\n width: 24px;\n height: 24px;\n\n path {\n fill: ",";\n }\n\n &:hover path {\n fill: ",";\n }\n }\n"],yr||(yr=mr.slice(0)),cr=Object.freeze(Object.defineProperties(mr,{raw:{value:Object.freeze(yr)}}))),function(e){return e.theme.colors.text},function(e){return e.theme.colors.primary});function br(){var e=re().callbacks;return(0,X.jsx)(vr,{onClick:function(){e[t]()},children:(0,X.jsx)(ur,{})})}function wr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Sr(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var kr,xr,_r,Cr=er(dr||(dr=Sr(["\n 0% { transform: rotateY(0deg); opacity: 1; }\n 100% { transform: rotateY(90deg); opacity: 0; }\n"]))),Er=Zn.div(fr||(fr=Sr(["\n all: initial;\n box-sizing: border-box;\n position: fixed;\n top: -10000px;\n left: -10000px;\n right: -10000px;\n bottom: -10000px;\n z-index: ",";\n backdrop-filter: blur(8px);\n"])),function(){return a}),Or=Zn.div(hr||(hr=Sr(["\n all: initial;\n box-sizing: border-box;\n position: fixed;\n inset: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n\n z-index: ",';\n p,\n span,\n button,\n a,\n h1,\n h2 {\n font-family: "Roboto", Arial, sans-serif;\n }\n a {\n text-decoration: none;\n }\n'])),function(){return a}),Pr=Zn.div(pr||(pr=Sr(["\n all: initial;\n box-sizing: border-box;\n position: relative;\n display: flex;\n flex-direction: column;\n gap: 4px;\n width: 375px;\n margin: 0 auto;\n padding: 40px 24px;\n min-height: 500px;\n user-select: none;\n background-color: ",";\n box-shadow: 0 0 0 9999px ",";\n border-radius: 12px;\n\n transform-style: preserve-3d;\n backface-visibility: hidden;\n transform-origin: center;\n\n ","\n\n @media (max-width: 480px) {\n width: 100%;\n height: 100dvh;\n border-radius: 0;\n padding: 24px 16px;\n }\n"])),function(e){return e.theme.colors.background},function(e){return e.theme.colors.backdrop},function(e){return e.$isClosing&&Yn(gr||(gr=Sr(["\n animation: "," 500ms linear;\n "])),Cr)}),zr=function(e){var n=e.children,r=re(),i=r.callbacks,o=r.closing,a=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return wr(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?wr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,v.useState)(!1),2),s=a[0],l=a[1];return(0,v.useEffect)(function(){if(o){var e=setTimeout(function(){return l(!0)},4e3);return function(){return clearTimeout(e)}}},[o]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Er,{}),(0,X.jsx)(Or,{children:(0,X.jsxs)(Pr,{$isClosing:s,onAnimationEnd:function(){s&&i[t]()},children:[(0,X.jsx)(br,{}),n]})})]})};function Lr(){return Lr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lr.apply(null,arguments)}const Ar=function(e){return v.createElement("svg",Lr({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 1024 1024"},e),kr||(kr=v.createElement("path",{fill:"#fff",d:"M182 898.827V795.173h15.835v89.433h56.47v14.221zM268.804 898.827V795.173h15.835v103.654zM309.357 898.827V795.173h40.186q7.62 0 13.894 1.319 6.423 1.174 11.055 4.252 4.63 2.933 7.021 8.064 2.54 4.985 2.54 12.608 0 7.477-3.436 13.489-3.436 5.863-10.458 8.796 9.412 2.053 14.192 8.357 4.93 6.304 4.93 16.567 0 8.798-3.286 14.661-3.287 5.865-9.113 9.237t-13.445 4.838q-7.62 1.466-16.284 1.466zm15.836-14.221h22.558a92 92 0 0 0 8.963-.44q4.482-.587 8.217-2.199 3.884-1.613 6.125-4.838 2.39-3.226 2.39-8.65 0-4.545-1.793-7.478-1.792-3.078-4.78-4.838-2.988-1.759-7.022-2.492a43.4 43.4 0 0 0-8.067-.733h-26.591zm0-45.01h20.018q5.08 0 9.262-.88 4.333-.879 7.47-2.932t4.78-5.131q1.793-3.226 1.793-7.771.15-6.01-2.689-8.796-2.69-2.933-7.32-3.812-4.632-1.026-10.159-1.026h-23.155zM408.42 898.827V795.173h72.753v14.221h-56.918v31.082h50.344v14.074h-50.344v30.056h56.918v14.221zM500.184 898.827V795.173h40.634q8.515 0 15.536 1.759 7.022 1.613 12.25 5.425 5.229 3.665 8.067 9.969 2.84 6.305 2.839 15.541 0 8.357-2.988 14.368t-8.216 9.97-11.802 6.011l22.558 40.611h-17.479l-20.915-38.119h-24.649v38.119zm15.835-52.047h21.512q5.379 0 10.009-.733 4.78-.88 8.366-2.932 3.585-2.199 5.528-5.865 2.091-3.811 2.091-9.676.15-6.744-2.689-10.703-2.69-4.104-8.067-5.717-5.378-1.76-12.997-1.76h-23.753zM599.972 898.827V795.173h15.835v103.654zM685.342 900q-16.283 0-27.637-6.744-11.204-6.89-17.03-18.913t-5.827-27.27q0-15.393 5.827-27.416 5.826-12.022 17.179-18.766Q669.209 794 685.492 794q16.432 0 27.637 6.744 11.204 6.744 17.03 18.766 5.826 12.023 5.826 27.417 0 15.248-5.826 27.269-5.826 12.022-17.18 18.913Q701.776 900 685.342 900m.15-14.221q11.95 0 19.57-5.425 7.619-5.425 11.204-14.221 3.585-8.797 3.585-19.06 0-7.77-2.091-14.807-1.942-7.038-6.125-12.462-4.183-5.425-10.756-8.504t-15.387-3.079q-11.803 0-19.57 5.425-7.62 5.425-11.354 14.221-3.735 8.798-3.735 19.206 0 10.263 3.585 19.06 3.735 8.796 11.354 14.221 7.768 5.424 19.72 5.425M754.906 898.827V795.173h18.375l53.033 80.929v-80.929H842v103.654h-17.927l-53.332-80.49v80.49zM300.339 274.015C339.543 196.967 419.631 144.182 512 144.182s172.457 52.785 211.661 129.833c3.1-2.681 6.14-5.421 9.14-8.241a347 347 0 0 0 6.201-5.961C695.578 178.945 610.19 124 512 124s-183.578 54.945-227.002 135.813c2.04 2 4.1 4.001 6.2 5.961a298 298 0 0 0 9.141 8.241M412.93 558.303c0-.16 0-.34-.04-.5-1.4-21.182-6.28-43.845-19.002-62.186-22.002-31.723-68.506-52.005-83.868-58.706-4.68-2.04-19.522-8.581-32.823-23.502-2.04-2.301-5.121-6.101-8.261-11.621-.6-1.081-1.22-2.201-1.82-3.421-5.641 56.406 7.941 83.108 22.782 96.97 23.302 21.782 55.246 16.981 96.77 50.905a185 185 0 0 1 26.502 26.602c.04-5.08-.06-9.921-.26-14.541z"})),xr||(xr=v.createElement("path",{fill:"#fff",d:"M516.701 206.526c-1.581-.1-3.141-.14-4.701-.14s-3.12.04-4.7.14c-36.204 2.28-65.587 31.623-67.907 67.826-2.74 42.365 30.823 77.608 72.607 77.608s75.347-35.243 72.607-77.608c-2.32-36.203-31.703-65.546-67.906-67.826M755.084 401.788c-3.12 5.52-6.201 9.32-8.261 11.621-13.301 14.941-28.143 21.462-32.823 23.502-15.362 6.701-61.866 26.983-83.868 58.706-12.742 18.341-17.622 41.004-19.002 62.186 0 .16 0 .34-.04.5-.2 4.62-.3 9.461-.26 14.541 5.62-6.92 14.361-16.701 26.502-26.602 41.544-33.924 73.468-29.123 96.77-50.905 14.841-13.862 28.423-40.564 22.782-96.97-.58 1.2-1.2 2.34-1.82 3.421z"})),_r||(_r=v.createElement("path",{fill:"#fff",d:"M594.208 604.349c-2.86-26.483-9.281-84.789 18.542-124.313 24.063-34.203 74.887-56.045 91.689-63.266 5.121-2.2 21.342-9.261 35.884-25.342 2.24-2.48 5.6-6.581 9.02-12.521 3.061-5.321 6.161-12.142 8.541-20.642 5.501-19.662 4.521-40.604-2.06-59.926a259 259 0 0 0-7.601-19.582 312 312 0 0 1-15.421 15.461C675.076 348.404 597.429 381.567 512 381.567c-85.428 0-163.076-33.163-220.801-87.349a312 312 0 0 1-15.422-15.461 260 260 0 0 0-7.601 19.582c-6.58 19.322-7.56 40.264-2.06 59.926 2.381 8.5 5.481 15.321 8.541 20.642 3.42 5.94 6.781 10.041 9.021 12.521 14.541 16.081 30.763 23.142 35.884 25.342 16.801 7.221 67.626 29.063 91.688 63.266 27.823 39.524 21.403 97.83 18.542 124.313-.72 6.64-1.66 13.461-2.8 20.422-4.42 27.082-11.961 56.325-23.122 86.668 0 0 23.682 12.681 80.808 12.561 4.38-18.421 8.54-37.503 12.401-57.205 1.84-9.381 3.58-18.662 5.2-27.843 1.2-6.741 2.341-13.441 3.421-20.062q1.92-11.761 3.6-23.282c.24-1.56 1.48-2.34 2.7-2.32 1.22 0 2.461.76 2.701 2.32q1.68 11.521 3.6 23.282c1.08 6.621 2.22 13.321 3.42 20.062 1.62 9.181 3.361 18.462 5.201 27.843A1465 1465 0 0 0 539.323 724c57.126.12 80.808-12.561 80.808-12.561-11.161-30.343-18.702-59.586-23.122-86.668a380 380 0 0 1-2.801-20.422"})))};var Nr,jr;function Tr(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Ir=Zn.div(Nr||(Nr=Tr(["\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n\n svg {\n width: 300px;\n path {\n fill: ",";\n }\n }\n"])),function(e){return e.theme.colors.primary}),Rr=Zn.div(jr||(jr=Tr(["\n display: inline-block;\n width: 70px;\n height: 70px;\n margin: 0 auto;\n border-radius: 50%;\n\n border-top: 5px solid ",";\n border-right: 5px solid transparent;\n box-sizing: border-box;\n animation: rotation 1s linear infinite;\n\n @keyframes rotation {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n"])),function(e){return e.theme.colors.primary});function Mr(){return(0,X.jsxs)(Ir,{children:[(0,X.jsx)(Ar,{}),(0,X.jsx)(Rr,{})]})}function $r(){var e=re().navigate,t=fe(),n=t.link,r=t.authStatus;return(0,v.useEffect)(function(){(n||r===u)&&setTimeout(function(){e({path:Y,params:{}})},200)},[n,e,r]),(0,X.jsx)(Mr,{})}const Dr=e=>"string"==typeof e,Fr=()=>{let e,t;const n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},Ur=e=>null==e?"":""+e,Br=/###/g,qr=e=>e&&e.indexOf("###")>-1?e.replace(Br,"."):e,Hr=e=>!e||Dr(e),Vr=(e,t,n)=>{const r=Dr(t)?t.split("."):t;let i=0;for(;i<r.length-1;){if(Hr(e))return{};const t=qr(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return Hr(e)?{}:{obj:e,k:qr(r[i])}},Wr=(e,t,n)=>{const{obj:r,k:i}=Vr(e,t,Object);if(void 0!==r||1===t.length)return void(r[i]=n);let o=t[t.length-1],a=t.slice(0,t.length-1),s=Vr(e,a,Object);for(;void 0===s.obj&&a.length;)o=`${a[a.length-1]}.${o}`,a=a.slice(0,a.length-1),s=Vr(e,a,Object),s?.obj&&void 0!==s.obj[`${s.k}.${o}`]&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=n},Qr=(e,t)=>{const{obj:n,k:r}=Vr(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},Kr=(e,t,n)=>{for(const r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?Dr(e[r])||e[r]instanceof String||Dr(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):Kr(e[r],t[r],n):e[r]=t[r]);return e},Gr=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Yr={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const Xr=e=>Dr(e)?e.replace(/[&<>"'\/]/g,e=>Yr[e]):e,Jr=[" ",",","?","!",";"],Zr=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}(20),ei=(e,t,n=".")=>{if(!e)return;if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return;return e[t]}const r=t.split(n);let i=e;for(let o=0;o<r.length;){if(!i||"object"!=typeof i)return;let e,t="";for(let a=o;a<r.length;++a)if(a!==o&&(t+=n),t+=r[a],e=i[t],void 0!==e){if(["string","number","boolean"].indexOf(typeof e)>-1&&a<r.length-1)continue;o+=a-o+1;break}i=e}return i},ti=e=>e?.replace("_","-"),ni={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){}};class ri{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||ni,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,n,r){return r&&!this.debug?null:(Dr(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new ri(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new ri(this.logger,e)}}var ii=new ri;class oi{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);const n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r<n;r++)e(...t)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([n,r])=>{for(let i=0;i<r;i++)n.apply(n,[e,...t])})}}class ai extends oi{constructor(e,t={ns:["translation"],defaultNS:"translation"}){super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n,r={}){const i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;e.indexOf(".")>-1?a=e.split("."):(a=[e,t],n&&(Array.isArray(n)?a.push(...n):Dr(n)&&i?a.push(...n.split(i)):a.push(n)));const s=Qr(this.data,a);return!s&&!t&&!n&&e.indexOf(".")>-1&&(e=a[0],t=a[1],n=a.slice(2).join(".")),!s&&o&&Dr(n)?ei(this.data?.[e]?.[t],n,i):s}addResource(e,t,n,r,i={silent:!1}){const o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator;let a=[e,t];n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),Wr(this.data,a,r),i.silent||this.emit("added",e,t,n,r)}addResources(e,t,n,r={silent:!1}){for(const i in n)(Dr(n[i])||Array.isArray(n[i]))&&this.addResource(e,t,i,n[i],{silent:!0});r.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,i,o={silent:!1,skipCopy:!1}){let a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),r=n,n=t,t=a[1]),this.addNamespaces(t);let s=Qr(this.data,a)||{};o.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?Kr(s,n,i):s={...s,...n},Wr(this.data,a,s),o.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var si={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,i)??t}),t}};const li=Symbol("i18next/PATH_KEY");function ui(e,t){const{[li]:n}=e(function(){const e=[],t=Object.create(null);let n;return t.get=(r,i)=>(n?.revoke?.(),i===li?e:(e.push(i),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}());return n.join(t?.keySeparator??".")}const ci={},di=e=>!Dr(e)&&"boolean"!=typeof e&&"number"!=typeof e;class fi extends oi{constructor(e,t={}){super(),((e,t,n)=>{["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach(e=>{t[e]&&(n[e]=t[e])})})(0,e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=ii.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){const n={...t};if(null==e)return!1;const r=this.resolve(e,n);if(void 0===r?.res)return!1;const i=di(r.res);return!1!==n.returnObjects||!i}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");const r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let i=t.ns||this.options.defaultNS||[];const o=n&&e.indexOf(n)>-1,a=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||((e,t,n)=>{t=t||"",n=n||"";const r=Jr.filter(e=>t.indexOf(e)<0&&n.indexOf(e)<0);if(0===r.length)return!0;const i=Zr.getRegExp(`(${r.map(e=>"?"===e?"\\?":e).join("|")})`);let o=!i.test(e);if(!o){const t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(o=!0)}return o})(e,n,r));if(o&&!a){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:Dr(i)?[i]:i};const o=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(o[0])>-1)&&(i=o.shift()),e=o.join(r)}return{key:e,namespaces:Dr(i)?[i]:i}}translate(e,t,n){let r="object"==typeof t?{...t}:t;if("object"!=typeof r&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof r&&(r={...r}),r||(r={}),null==e)return"";"function"==typeof e&&(e=ui(e,{...this.options,...r})),Array.isArray(e)||(e=[String(e)]);const i=void 0!==r.returnDetails?r.returnDetails:this.options.returnDetails,o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,{key:a,namespaces:s}=this.extractFromKey(e[e.length-1],r),l=s[s.length-1];let u=void 0!==r.nsSeparator?r.nsSeparator:this.options.nsSeparator;void 0===u&&(u=":");const c=r.lng||this.language,d=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if("cimode"===c?.toLowerCase())return d?i?{res:`${l}${u}${a}`,usedKey:a,exactUsedKey:a,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(r)}:`${l}${u}${a}`:i?{res:a,usedKey:a,exactUsedKey:a,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(r)}:a;const f=this.resolve(e,r);let h=f?.res;const p=f?.usedKey||a,g=f?.exactUsedKey||a,m=void 0!==r.joinArrays?r.joinArrays:this.options.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,v=void 0!==r.count&&!Dr(r.count),b=fi.hasDefaultValue(r),w=v?this.pluralResolver.getSuffix(c,r.count,r):"",S=r.ordinal&&v?this.pluralResolver.getSuffix(c,r.count,{ordinal:!1}):"",k=v&&!r.ordinal&&0===r.count,x=k&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${w}`]||r[`defaultValue${S}`]||r.defaultValue;let _=h;y&&!h&&b&&(_=x);const C=di(_),E=Object.prototype.toString.apply(_);if(!(y&&_&&C&&["[object Number]","[object Function]","[object RegExp]"].indexOf(E)<0)||Dr(m)&&Array.isArray(_))if(y&&Dr(m)&&Array.isArray(h))h=h.join(m),h&&(h=this.extendTranslation(h,e,r,n));else{let t=!1,i=!1;!this.isValidLookup(h)&&b&&(t=!0,h=x),this.isValidLookup(h)||(i=!0,h=a);const s=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&i?void 0:h,d=b&&x!==h&&this.options.updateMissing;if(i||t||d){if(this.logger.log(d?"updateKey":"missingKey",c,l,a,d?x:h),o){const e=this.resolve(a,{...r,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if("fallback"===this.options.saveMissingTo&&t&&t[0])for(let r=0;r<t.length;r++)e.push(t[r]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(r.lng||this.language):e.push(r.lng||this.language);const n=(e,t,n)=>{const i=b&&n!==h?n:s;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,t,i,d,r):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,l,t,i,d,r),this.emit("missingKey",e,l,t,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&v?e.forEach(e=>{const t=this.pluralResolver.getSuffixes(e,r);k&&r[`defaultValue${this.options.pluralSeparator}zero`]&&t.indexOf(`${this.options.pluralSeparator}zero`)<0&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],a+t,r[`defaultValue${t}`]||x)})}):n(e,a,x))}h=this.extendTranslation(h,e,r,f,n),i&&h===a&&this.options.appendNamespaceToMissingKey&&(h=`${l}${u}${a}`),(i||t)&&this.options.parseMissingKeyHandler&&(h=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}${u}${a}`:a,t?h:void 0,r))}else{if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,_,{...r,ns:s}):`key '${a} (${this.language})' returned an object instead of string.`;return i?(f.res=e,f.usedParams=this.getUsedParamsDetails(r),f):e}if(o){const e=Array.isArray(_),t=e?[]:{},n=e?g:p;for(const i in _)if(Object.prototype.hasOwnProperty.call(_,i)){const e=`${n}${o}${i}`;t[i]=b&&!h?this.translate(e,{...r,defaultValue:di(x)?x[i]:void 0,joinArrays:!1,ns:s}):this.translate(e,{...r,joinArrays:!1,ns:s}),t[i]===e&&(t[i]=_[i])}h=t}}return i?(f.res=h,f.usedParams=this.getUsedParamsDetails(r),f):h}extendTranslation(e,t,n,r,i){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const o=Dr(e)&&(void 0!==n?.interpolation?.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let a;if(o){const t=e.match(this.interpolator.nestingRegexp);a=t&&t.length}let s=n.replace&&!Dr(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),e=this.interpolator.interpolate(e,s,n.lng||this.language||r.usedLng,n),o){const t=e.match(this.interpolator.nestingRegexp);a<(t&&t.length)&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,(...e)=>i?.[0]!==e[0]||n.context?this.translate(...e,t):(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null),n)),n.interpolation&&this.interpolator.reset()}const o=n.postProcess||this.options.postProcess,a=Dr(o)?[o]:o;return null!=e&&a?.length&&!1!==n.applyPostProcessor&&(e=si.handle(a,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e,t={}){let n,r,i,o,a;return Dr(e)&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(n))return;const s=this.extractFromKey(e,t),l=s.key;r=l;let u=s.namespaces;this.options.fallbackNS&&(u=u.concat(this.options.fallbackNS));const c=void 0!==t.count&&!Dr(t.count),d=c&&!t.ordinal&&0===t.count,f=void 0!==t.context&&(Dr(t.context)||"number"==typeof t.context)&&""!==t.context,h=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);u.forEach(e=>{this.isValidLookup(n)||(a=e,ci[`${h[0]}-${e}`]||!this.utils?.hasLoadedNamespace||this.utils?.hasLoadedNamespace(a)||(ci[`${h[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${h.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach(r=>{if(this.isValidLookup(n))return;o=r;const a=[l];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(a,l,r,e,t);else{let e;c&&(e=this.pluralResolver.getSuffix(r,t.count,t));const n=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(c&&(t.ordinal&&0===e.indexOf(i)&&a.push(l+e.replace(i,this.options.pluralSeparator)),a.push(l+e),d&&a.push(l+n)),f){const r=`${l}${this.options.contextSeparator||"_"}${t.context}`;a.push(r),c&&(t.ordinal&&0===e.indexOf(i)&&a.push(r+e.replace(i,this.options.pluralSeparator)),a.push(r+e),d&&a.push(r+n))}}let s;for(;s=a.pop();)this.isValidLookup(n)||(i=s,n=this.getResource(r,e,s,t))}))})}),{res:n,usedKey:r,exactUsedKey:i,usedLng:o,usedNS:a}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(e={}){const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=e.replace&&!Dr(e.replace);let r=n?e.replace:e;if(n&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(const e of t)delete r[e]}return r}static hasDefaultValue(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,12)&&void 0!==e[t])return!0;return!1}}class hi{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ii.create("languageUtils")}getScriptPartFromCode(e){if(!(e=ti(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=ti(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(Dr(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch(mr){}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;const n=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(n)||(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;const n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;const r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>e===r?e:e.indexOf("-")<0&&r.indexOf("-")<0?void 0:e.indexOf("-")>0&&r.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===r||0===e.indexOf(r)&&r.length>1?e:void 0)}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),Dr(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){const n=this.getFallbackCodes((!1===t?[]:t)||this.options.fallbackLng||[],e),r=[],i=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return Dr(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):Dr(e)&&i(this.formatLanguageCode(e)),n.forEach(e=>{r.indexOf(e)<0&&i(this.formatLanguageCode(e))}),r}}const pi={zero:0,one:1,two:2,few:3,many:4,other:5},gi={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class mi{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=ii.create("pluralResolver"),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){const n=ti("dev"===e?"en":e),r=t.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let o;try{o=new Intl.PluralRules(n,{type:r})}catch(a){if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),gi;if(!e.match(/-|_/))return gi;const n=this.languageUtils.getLanguagePartFromCode(e);o=this.getRule(n,t)}return this.pluralRulesCache[i]=o,o}needsPlural(e,t={}){let n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?n.resolvedOptions().pluralCategories.sort((e,t)=>pi[e]-pi[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):[]}getSuffix(e,t,n={}){const r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,n))}}const yi=(e,t,n,r=".",i=!0)=>{let o=((e,t,n)=>{const r=Qr(e,n);return void 0!==r?r:Qr(t,n)})(e,t,n);return!o&&i&&Dr(n)&&(o=ei(e,n,r),void 0===o&&(o=ei(t,n,r))),o},vi=e=>e.replace(/\$/g,"$$$$");class bi{constructor(e={}){this.logger=ii.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:o,suffix:a,suffixEscaped:s,formatSeparator:l,unescapeSuffix:u,unescapePrefix:c,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:h,nestingSuffixEscaped:p,nestingOptionsSeparator:g,maxReplaces:m,alwaysFormat:y}=e.interpolation;this.escape=void 0!==t?t:Xr,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=i?Gr(i):o||"{{",this.suffix=a?Gr(a):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=u?"":c||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=d?Gr(d):f||Gr("$t("),this.nestingSuffix=h?Gr(h):p||Gr(")"),this.nestingOptionsSeparator=g||",",this.maxReplaces=m||1e3,this.alwaysFormat=void 0!==y&&y,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,o,a;const s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},l=e=>{if(e.indexOf(this.formatSeparator)<0){const i=yi(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}const i=e.split(this.formatSeparator),o=i.shift().trim(),a=i.join(this.formatSeparator).trim();return this.format(yi(t,s,o,this.options.keySeparator,this.options.ignoreJSONStructure),a,n,{...r,...t,interpolationkey:o})};this.resetRegExp();const u=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,c=void 0!==r?.interpolation?.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>vi(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?vi(this.escape(e)):vi(e)}].forEach(t=>{for(a=0;i=t.regex.exec(e);){const n=i[1].trim();if(o=l(n),void 0===o)if("function"==typeof u){const t=u(e,i,r);o=Dr(t)?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))o="";else{if(c){o=i[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),o=""}else Dr(o)||this.useRawValueToEscape||(o=Ur(o));const s=t.safeValue(o);if(e=e.replace(i[0],s),c?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,a++,a>=this.maxReplaces)break}}),e}nest(e,t,n={}){let r,i,o;const a=(e,t)=>{const n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;const r=e.split(new RegExp(`${n}[ ]*{`));let i=`{${r[1]}`;e=r[0],i=this.interpolate(i,o);const a=i.match(/'/g),s=i.match(/"/g);((a?.length??0)%2==0&&!s||s.length%2!=0)&&(i=i.replace(/'/g,'"'));try{o=JSON.parse(i),t&&(o={...t,...o})}catch(mr){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,mr),`${e}${n}${i}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,e};for(;r=this.nestingRegexp.exec(e);){let s=[];o={...n},o=o.replace&&!Dr(o.replace)?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;const l=/{.*}/.test(r[1])?r[1].lastIndexOf("}")+1:r[1].indexOf(this.formatSeparator);if(-1!==l&&(s=r[1].slice(l).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),r[1]=r[1].slice(0,l)),i=t(a.call(this,r[1].trim(),o),o),i&&r[0]===e&&!Dr(i))return i;Dr(i)||(i=Ur(i)),i||(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),i=""),s.length&&(i=s.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),i.trim())),e=e.replace(r[0],i),this.regexp.lastIndex=0}return e}}const wi=e=>{const t={};return(n,r,i)=>{let o=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(o={...o,[i.interpolationkey]:void 0});const a=r+JSON.stringify(o);let s=t[a];return s||(s=e(ti(r),i),t[a]=s),s(n)}},Si=e=>(t,n,r)=>e(ti(n),r)(t);class ki{constructor(e={}){this.logger=ii.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";const n=t.cacheInBuiltFormats?wi:Si;this.formats={number:n((e,t)=>{const n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{const n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)}),datetime:n((e,t)=>{const n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{const n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")}),list:n((e,t)=>{const n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=wi(t)}format(e,t,n,r={}){const i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&i[0].indexOf(")")<0&&i.find(e=>e.indexOf(")")>-1)){const e=i.findIndex(e=>e.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}const o=i.reduce((e,t)=>{const{formatName:i,formatOptions:o}=(e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const i=r[1].substring(0,r[1].length-1);"currency"===t&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):"relativetime"===t&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach(e=>{if(e){const[t,...r]=e.split(":"),i=r.join(":").trim().replace(/^'+|'+$/g,""),o=t.trim();n[o]||(n[o]=i),"false"===i&&(n[o]=!1),"true"===i&&(n[o]=!0),isNaN(i)||(n[o]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}})(t);if(this.formats[i]){let t=e;try{const a=r?.formatParams?.[r.interpolationkey]||{},s=a.locale||a.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...o,...r,...a})}catch(to){this.logger.warn(to)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e);return o}}class xi extends oi{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=ii.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){const i={},o={},a={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{const a=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===o[a]&&(o[a]=!0):(this.state[a]=1,r=!1,void 0===o[a]&&(o[a]=!0),void 0===i[a]&&(i[a]=!0),void 0===s[t]&&(s[t]=!0)))}),r||(a[e]=!0)}),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){const r=e.split("|"),i=r[0],o=r[1];t&&this.emit("failedLoading",i,o,t),!t&&n&&this.store.addResourceBundle(i,o,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);const a={};this.queue.forEach(n=>{((e,t,n)=>{const{obj:r,k:i}=Vr(e,t,Object);r[i]=r[i]||[],r[i].push(n)})(n.loaded,[i],o),((e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)})(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(e=>{a[e]||(a[e]={});const t=n.loaded[e];t.length&&t.forEach(t=>{void 0===a[e][t]&&(a[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,i=this.retryTimeout,o){if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:o});this.readingCalls++;const a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}a&&s&&r<this.maxRetries?setTimeout(()=>{this.read.call(this,e,t,n,r+1,2*i,o)},i):o(a,s)},s=this.backend[n].bind(this.backend);if(2!==s.length)return s(e,t,a);try{const n=s(e,t);n&&"function"==typeof n.then?n.then(e=>a(null,e)).catch(a):a(null,n)}catch(l){a(l)}}prepareLoading(e,t,n={},r){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();Dr(e)&&(e=this.languageUtils.toResolveHierarchy(e)),Dr(t)&&(t=[t]);const i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=""){const n=e.split("|"),r=n[0],i=n[1];this.read(r,i,"read",void 0,void 0,(n,o)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&o&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,o),this.loaded(e,n,o)})}saveMissing(e,t,n,r,i,o={},a=()=>{}){if(!this.services?.utils?.hasLoadedNamespace||this.services?.utils?.hasLoadedNamespace(t)){if(null!=n&&""!==n){if(this.backend?.create){const l={...o,isUpdate:i},u=this.backend.create.bind(this.backend);if(u.length<6)try{let i;i=5===u.length?u(e,t,n,r,l):u(e,t,n,r),i&&"function"==typeof i.then?i.then(e=>a(null,e)).catch(a):a(null,i)}catch(s){a(s)}else u(e,t,n,r,a,l)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}else this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")}}const _i=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),Dr(e[1])&&(t.defaultValue=e[1]),Dr(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),Ci=e=>(Dr(e.ns)&&(e.ns=[e.ns]),Dr(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Dr(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),"boolean"==typeof e.initImmediate&&(e.initAsync=e.initImmediate),e),Ei=()=>{};class Oi extends oi{constructor(e={},t){var n;if(super(),this.options=Ci(e),this.services={},this.logger=ii,this.modules={external:[]},n=this,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(e=>{"function"==typeof n[e]&&(n[e]=n[e].bind(n))}),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,"function"==typeof e&&(t=e,e={}),null==e.defaultNS&&e.ns&&(Dr(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));const n=_i();this.options={...n,...this.options,...Ci(e)},this.options.interpolation={...n.interpolation,...this.options.interpolation},void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator),"function"!=typeof this.options.overloadTranslationOptionHandler&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler);const r=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let e;this.modules.logger?ii.init(r(this.modules.logger),this.options):ii.init(null,this.options),e=this.modules.formatter?this.modules.formatter:ki;const t=new hi(this.options);this.store=new ai(this.options.resources,this.options);const i=this.services;i.logger=ii,i.resourceStore=this.store,i.languageUtils=t,i.pluralResolver=new mi(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),!e||this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format||(i.formatter=r(e),i.formatter.init&&i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new bi(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new xi(r(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(i.languageDetector=r(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=r(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new fi(this.services,this.options),this.translator.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||(t=Ei),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});const i=Fr(),o=()=>{const e=(e,n)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),i.resolve(n),t(e,n)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?o():setTimeout(o,0),i}loadResources(e,t=Ei){let n=t;const r=Dr(e)?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if("cimode"===r?.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return n();const e=[],t=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)})};r?t(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){const r=Fr();return"function"==typeof e&&(n=e,e=void 0),"function"==typeof t&&(n=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),n||(n=Ei),this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&si.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1)){for(let e=0;e<this.languages.length;e++){const t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;const n=Fr();this.emit("languageChanging",e);const r=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(i,o)=>{o?this.isLanguageChangingTo===e&&(r(o),this.translator.changeLanguage(o),this.isLanguageChangingTo=void 0,this.emit("languageChanged",o),this.logger.log("languageChanged",o)):this.isLanguageChangingTo=void 0,n.resolve((...e)=>this.t(...e)),t&&t(i,(...e)=>this.t(...e))},o=t=>{e||t||!this.services.languageDetector||(t=[]);const n=Dr(t)?t:t&&t[0],o=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes(Dr(t)?[t]:t);o&&(this.language||r(o),this.translator.language||this.translator.changeLanguage(o),this.services.languageDetector?.cacheUserLanguage?.(o)),this.loadResources(o,e=>{i(e,o)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(o):this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),n}getFixedT(e,t,n){const r=(e,t,...i)=>{let o;o="object"!=typeof t?this.options.overloadTranslationOptionHandler([e,t].concat(i)):{...t},o.lng=o.lng||r.lng,o.lngs=o.lngs||r.lngs,o.ns=o.ns||r.ns,""!==o.keyPrefix&&(o.keyPrefix=o.keyPrefix||n||r.keyPrefix);const a=this.options.keySeparator||".";let s;return o.keyPrefix&&Array.isArray(e)?s=e.map(e=>("function"==typeof e&&(e=ui(e,{...this.options,...t})),`${o.keyPrefix}${a}${e}`)):("function"==typeof e&&(e=ui(e,{...this.options,...t})),s=o.keyPrefix?`${o.keyPrefix}${a}${e}`:e),this.t(s,o)};return Dr(e)?r.lng=e:r.lngs=e,r.ns=t,r.keyPrefix=n,r}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const o=(e,t)=>{const n=this.services.backendConnector.state[`${e}|${t}`];return-1===n||0===n||2===n};if(t.precheck){const e=t.precheck(this,o);if(void 0!==e)return e}return!(!this.hasResourceBundle(n,e)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!o(n,e)||r&&!o(i,e)))}loadNamespaces(e,t){const n=Fr();return this.options.ns?(Dr(e)&&(e=[e]),e.forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){const n=Fr();Dr(e)&&(e=[e]);const r=this.options.preload||[],i=e.filter(e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return i.length?(this.options.preload=r.concat(i),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{const t=new Intl.Locale(e);if(t&&t.getTextInfo){const e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch(mr){}const t=this.services?.languageUtils||new hi(_i());return e.toLowerCase().indexOf("-latn")>1?"ltr":["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){const n=new Oi(e,t);return n.createInstance=Oi.createInstance,n}cloneInstance(e={},t=Ei){const n=e.forkResourceStore;n&&delete e.forkResourceStore;const r={...this.options,...e,isClone:!0},i=new Oi(r);if(void 0===e.debug&&void 0===e.prefix||(i.logger=i.logger.clone(e)),["store","services","language"].forEach(e=>{i[e]=this[e]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n){const e=Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((n,r)=>(n[r]={...e[t][r]},n),e[t]),e),{});i.store=new ai(e,r),i.services.resourceStore=i.store}return e.interpolation&&(i.services.interpolator=new bi(r)),i.translator=new fi(i.services,r),i.translator.on("*",(e,...t)=>{i.emit(e,...t)}),i.init(r,t),i.translator.options=r,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Pi=Oi.createInstance();Pi.createInstance,Pi.dir,Pi.init,Pi.loadResources,Pi.reloadResources,Pi.use,Pi.changeLanguage,Pi.getFixedT,Pi.t,Pi.exists,Pi.setDefaultNamespace,Pi.hasLoadedNamespace,Pi.loadNamespaces,Pi.loadLanguages,n(752),Object.create(null);const zi=(e,t,n,r)=>{const i=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(i,"warn","react-i18next::",!0);Ii(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...i):console},Li={},Ai=(e,t,n,r)=>{Ii(n)&&Li[n]||(Ii(n)&&(Li[n]=new Date),zi(e,t,n,r))},Ni=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},ji=(e,t,n)=>{e.loadNamespaces(t,Ni(e,n))},Ti=(e,t,n,r)=>{if(Ii(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return ji(e,n,r);n.forEach(t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)}),e.loadLanguages(t,Ni(e,r))},Ii=e=>"string"==typeof e,Ri=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Mi={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},$i=e=>Mi[e];let Di,Fi={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(Ri,$i),transDefaultProps:void 0};const Ui=()=>Di,Bi={type:"3rdParty",init(e){((e={})=>{Fi={...Fi,...e}})(e.options.react),(e=>{Di=e})(e)}},qi=(0,v.createContext)();class Hi{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}Error;const Vi={"&nbsp;":" ","&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&apos;":"'","&copy;":"©","&reg;":"®","&trade;":"™","&hellip;":"…","&ndash;":"–","&mdash;":"—","&lsquo;":"‘","&rsquo;":"’","&sbquo;":"‚","&ldquo;":"“","&rdquo;":"”","&bdquo;":"„","&dagger;":"†","&Dagger;":"‡","&bull;":"•","&prime;":"′","&Prime;":"″","&lsaquo;":"‹","&rsaquo;":"›","&sect;":"§","&para;":"¶","&middot;":"·","&ensp;":" ","&emsp;":" ","&thinsp;":" ","&euro;":"€","&pound;":"£","&yen;":"¥","&cent;":"¢","&curren;":"¤","&times;":"×","&divide;":"÷","&minus;":"−","&plusmn;":"±","&ne;":"≠","&le;":"≤","&ge;":"≥","&asymp;":"≈","&equiv;":"≡","&infin;":"∞","&int;":"∫","&sum;":"∑","&prod;":"∏","&radic;":"√","&part;":"∂","&permil;":"‰","&deg;":"°","&micro;":"µ","&larr;":"←","&uarr;":"↑","&rarr;":"→","&darr;":"↓","&harr;":"↔","&crarr;":"↵","&lArr;":"⇐","&uArr;":"⇑","&rArr;":"⇒","&dArr;":"⇓","&hArr;":"⇔","&alpha;":"α","&beta;":"β","&gamma;":"γ","&delta;":"δ","&epsilon;":"ε","&zeta;":"ζ","&eta;":"η","&theta;":"θ","&iota;":"ι","&kappa;":"κ","&lambda;":"λ","&mu;":"μ","&nu;":"ν","&xi;":"ξ","&omicron;":"ο","&pi;":"π","&rho;":"ρ","&sigma;":"σ","&tau;":"τ","&upsilon;":"υ","&phi;":"φ","&chi;":"χ","&psi;":"ψ","&omega;":"ω","&Alpha;":"Α","&Beta;":"Β","&Gamma;":"Γ","&Delta;":"Δ","&Epsilon;":"Ε","&Zeta;":"Ζ","&Eta;":"Η","&Theta;":"Θ","&Iota;":"Ι","&Kappa;":"Κ","&Lambda;":"Λ","&Mu;":"Μ","&Nu;":"Ν","&Xi;":"Ξ","&Omicron;":"Ο","&Pi;":"Π","&Rho;":"Ρ","&Sigma;":"Σ","&Tau;":"Τ","&Upsilon;":"Υ","&Phi;":"Φ","&Chi;":"Χ","&Psi;":"Ψ","&Omega;":"Ω","&Agrave;":"À","&Aacute;":"Á","&Acirc;":"Â","&Atilde;":"Ã","&Auml;":"Ä","&Aring;":"Å","&AElig;":"Æ","&Ccedil;":"Ç","&Egrave;":"È","&Eacute;":"É","&Ecirc;":"Ê","&Euml;":"Ë","&Igrave;":"Ì","&Iacute;":"Í","&Icirc;":"Î","&Iuml;":"Ï","&ETH;":"Ð","&Ntilde;":"Ñ","&Ograve;":"Ò","&Oacute;":"Ó","&Ocirc;":"Ô","&Otilde;":"Õ","&Ouml;":"Ö","&Oslash;":"Ø","&Ugrave;":"Ù","&Uacute;":"Ú","&Ucirc;":"Û","&Uuml;":"Ü","&Yacute;":"Ý","&THORN;":"Þ","&szlig;":"ß","&agrave;":"à","&aacute;":"á","&acirc;":"â","&atilde;":"ã","&auml;":"ä","&aring;":"å","&aelig;":"æ","&ccedil;":"ç","&egrave;":"è","&eacute;":"é","&ecirc;":"ê","&euml;":"ë","&igrave;":"ì","&iacute;":"í","&icirc;":"î","&iuml;":"ï","&eth;":"ð","&ntilde;":"ñ","&ograve;":"ò","&oacute;":"ó","&ocirc;":"ô","&otilde;":"õ","&ouml;":"ö","&oslash;":"ø","&ugrave;":"ù","&uacute;":"ú","&ucirc;":"û","&uuml;":"ü","&yacute;":"ý","&thorn;":"þ","&yuml;":"ÿ","&iexcl;":"¡","&iquest;":"¿","&fnof;":"ƒ","&circ;":"ˆ","&tilde;":"˜","&OElig;":"Œ","&oelig;":"œ","&Scaron;":"Š","&scaron;":"š","&Yuml;":"Ÿ","&ordf;":"ª","&ordm;":"º","&macr;":"¯","&acute;":"´","&cedil;":"¸","&sup1;":"¹","&sup2;":"²","&sup3;":"³","&frac14;":"¼","&frac12;":"½","&frac34;":"¾","&spades;":"♠","&clubs;":"♣","&hearts;":"♥","&diams;":"♦","&loz;":"◊","&oline;":"‾","&frasl;":"⁄","&weierp;":"℘","&image;":"ℑ","&real;":"ℜ","&alefsym;":"ℵ"};new RegExp(Object.keys(Vi).map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),"g");var Wi=n(624);const Qi={t:(e,t)=>{return Ii(t)?t:"object"==typeof(n=t)&&null!==n&&Ii(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e;var n},ready:!1},Ki=()=>()=>{},Gi=(e,t={})=>{const{i18n:n}=t,{i18n:r,defaultNS:i}=(0,v.useContext)(qi)||{},o=n||r||Ui();o&&!o.reportNamespaces&&(o.reportNamespaces=new Hi),o||Ai(o,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const a=(0,v.useMemo)(()=>({...Fi,...o?.options?.react,...t}),[o,t]),{useSuspense:s,keyPrefix:l}=a,u=e||i||o?.options?.defaultNS,c=Ii(u)?[u]:u||["translation"],d=(0,v.useMemo)(()=>c,c);o?.reportNamespaces?.addUsedNamespaces?.(d);const f=(0,v.useRef)(0),h=(0,v.useCallback)(e=>{if(!o)return Ki;const{bindI18n:t,bindI18nStore:n}=a,r=()=>{f.current+=1,e()};return t&&o.on(t,r),n&&o.store.on(n,r),()=>{t&&t.split(" ").forEach(e=>o.off(e,r)),n&&n.split(" ").forEach(e=>o.store.off(e,r))}},[o,a]),p=(0,v.useRef)(),g=(0,v.useCallback)(()=>{if(!o)return Qi;const e=!(!o.isInitialized&&!o.initializedStoreOnce)&&d.every(e=>((e,t,n={})=>t.languages&&t.languages.length?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):(Ai(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0))(e,o,a)),n=t.lng||o.language,r=f.current,i=p.current;if(i&&i.ready===e&&i.lng===n&&i.keyPrefix===l&&i.revision===r)return i;const s={t:o.getFixedT(n,"fallback"===a.nsMode?d:d[0],l),ready:e,lng:n,keyPrefix:l,revision:r};return p.current=s,s},[o,d,l,a,t.lng]),[m,y]=(0,v.useState)(0),{t:b,ready:w}=(0,Wi.useSyncExternalStore)(h,g,g);(0,v.useEffect)(()=>{if(o&&!w&&!s){const e=()=>y(e=>e+1);t.lng?Ti(o,t.lng,d,e):ji(o,d,e)}},[o,t.lng,d,w,s,m]);const S=o||{},k=(0,v.useRef)(null),x=(0,v.useRef)(),_=e=>{const t=Object.getOwnPropertyDescriptors(e);t.__original&&delete t.__original;const n=Object.create(Object.getPrototypeOf(e),t);if(!Object.prototype.hasOwnProperty.call(n,"__original"))try{Object.defineProperty(n,"__original",{value:e,writable:!1,enumerable:!1,configurable:!1})}catch(kt){}return n},C=(0,v.useMemo)(()=>{const e=S,t=e?.language;let n=e;e&&(k.current&&k.current.__original===e?x.current!==t?(n=_(e),k.current=n,x.current=t):n=k.current:(n=_(e),k.current=n,x.current=t));const r=[b,n,w];return r.t=b,r.i18n=n,r.ready=w,r},[b,S,w,S.resolvedLanguage,S.language,S.languages]);if(o&&s&&!w)throw new Promise(e=>{const n=()=>e();t.lng?Ti(o,t.lng,d,n):ji(o,d,n)});return C};var Yi;function Xi(){return Xi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xi.apply(null,arguments)}const Ji=function(e){return v.createElement("svg",Xi({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 96 96"},e),Yi||(Yi=v.createElement("path",{stroke:"#5AD608",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M81 27 39 69 18 48"})))};var Zi;function eo(){return eo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eo.apply(null,arguments)}const to=function(e){return v.createElement("svg",eo({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 96 96"},e),Zi||(Zi=v.createElement("path",{stroke:"#FF6464",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M75 21 21 75M75 75 21 21"})))};var no;function ro(){return ro=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ro.apply(null,arguments)}const io=function(e){return v.createElement("svg",ro({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 25"},e),no||(no=v.createElement("path",{fill:"orange",fillRule:"evenodd",d:"M11.719 1.268a2.2 2.2 0 0 0-1.294.635c-.107.106-.243.269-.303.361-.12.19-9.766 17.989-9.91 18.288-.157.328-.196.52-.196.948 0 .303.01.407.052.559a2.27 2.27 0 0 0 1.919 1.673c.288.033 19.738.033 20.026 0a2.24 2.24 0 0 0 1.776-1.29c.098-.209.187-.514.187-.644 0-.044.01-.086.024-.094.013-.008.024-.117.024-.243 0-.146-.009-.222-.024-.213-.014.009-.024-.014-.024-.055 0-.123-.094-.444-.188-.64-.142-.297-9.788-18.098-9.91-18.289a2.4 2.4 0 0 0-1.077-.868 2.5 2.5 0 0 0-1.082-.128m.089 1.51a.9.9 0 0 0-.34.21c-.062.064-1.594 2.868-4.979 9.116a1783 1783 0 0 0-4.933 9.138.764.764 0 0 0 .383.938l.113.052h19.896l.113-.052a.764.764 0 0 0 .383-.938 1793 1793 0 0 0-4.933-9.138c-3.39-6.256-4.916-9.052-4.978-9.116a.7.7 0 0 0-.497-.223 1 1 0 0 0-.228.012m.052 5.238a.74.74 0 0 0-.548.442l-.057.124.007 3.573.006 3.573.055.103c.07.132.214.276.346.346.087.046.14.055.331.055.192 0 .245-.009.331-.055a.94.94 0 0 0 .346-.346l.055-.103.006-3.573.007-3.573-.057-.124a.8.8 0 0 0-.312-.358c-.09-.053-.144-.068-.34-.098a1 1 0 0 0-.176.014m-.208 9.782a1.25 1.25 0 0 0-.67.587c-.204.42-.12.936.21 1.27.236.24.461.336.796.34.277.002.471-.06.678-.217.376-.285.53-.705.428-1.165a1.17 1.17 0 0 0-.638-.77c-.14-.067-.183-.075-.42-.081-.206-.005-.29.003-.384.036M.009 21.488c0 .132.004.183.009.113s.005-.177 0-.24c-.005-.062-.01-.005-.01.127",clipRule:"evenodd"})))};var oo;function ao(){return ao=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ao.apply(null,arguments)}const so=function(e){return v.createElement("svg",ao({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),oo||(oo=v.createElement("path",{stroke:"orange",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 13V9m9-3-2-2m-9-2h4m-2 19a8 8 0 1 1 0-16 8 8 0 0 1 0 16"})))};var lo,uo,co,fo,ho,po,go;function mo(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var yo=Zn.div(lo||(lo=mo(["\n all: initial;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 264px;\n height: 264px;\n margin: 0 auto;\n"]))),vo=Zn.div(uo||(uo=mo(["\n all: initial;\n box-sizing: border-box;\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: 234px;\n height: 234px;\n\n border-width: 3px;\n border-style: solid;\n border-radius: 50%;\n\n animation: showResultIcon 0.8s linear;\n\n ","\n\n ","\n\n ","\n\n ","\n\n svg {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 96px;\n height: 96px;\n transform: translate(-50%, -50%);\n animation: showIcon 0.8s linear;\n\n @keyframes showIcon {\n 0% {\n width: 0;\n height: 0;\n }\n 100% {\n width: 96px;\n height: 96px;\n }\n }\n }\n\n @keyframes showResultIcon {\n 0% {\n width: 234px;\n height: 234px;\n border-width: 1px;\n }\n 50% {\n width: 264px;\n height: 264px;\n border-width: 9px;\n }\n 100% {\n width: 234px;\n height: 234px;\n border-width: 3px;\n }\n }\n"])),function(e){return e.$status===l&&Yn(co||(co=mo(["\n border-color: ",";\n "])),function(e){return e.theme.colors.success})},function(e){return e.$status===u&&Yn(fo||(fo=mo(["\n border-color: ",";\n "])),function(e){return e.theme.colors.error})},function(e){return e.$status===d&&Yn(ho||(ho=mo(["\n border-color: ",";\n "])),function(e){return e.theme.colors.warning})},function(e){return e.$status===c&&Yn(po||(po=mo(["\n border-color: ",";\n "])),function(e){return e.theme.colors.warning})}),bo=Zn.div(go||(go=mo(["\n all: initial;\n width: 200px;\n height: 200px;\n\n border-radius: 50%;\n background-color: ",";\n"])),function(e){return e.theme.colors.backgroundSecondary});function wo(e){var t,n=e.status;switch(n){case l:t=(0,X.jsx)(Ji,{});break;case u:t=(0,X.jsx)(to,{});break;case c:t=(0,X.jsx)(io,{});break;case d:t=(0,X.jsx)(so,{});break;default:t=(0,X.jsx)(to,{})}return(0,X.jsx)(yo,{children:(0,X.jsxs)(vo,{$status:n,children:[(0,X.jsx)(bo,{}),t]})})}var So,ko=n(400),xo=n.n(ko);function _o(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof s?r:s,u=Object.create(l.prototype);return Co(u,"_invoke",function(n,r,i){var o,s,l,u=0,c=i||[],d=!1,f={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,n){return o=t,s=0,l=e,f.n=n,a}};function h(n,r){for(s=n,l=r,t=0;!d&&u&&!i&&t<c.length;t++){var i,o=c[t],h=f.p,p=o[2];n>3?(i=p===r)&&(l=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=e):o[0]<=h&&((i=n<2&&h<o[1])?(s=0,f.v=r,f.n=o[1]):h<p&&(i=n<3||o[0]>r||r>p)&&(o[4]=n,o[5]=r,f.n=p,s=0))}if(i||n>1)return a;throw d=!0,r}return function(i,c,p){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&h(c,p),s=c,l=p;(t=s<2?e:l)||!d;){o||(s?s<3?(s>1&&(f.n=-1),h(s,l)):f.n=l:f.v=l);try{if(u=2,o){if(s||(i="next"),t=o[i]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=o.return)&&t.call(o),s<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=e}else if((t=(d=f.n<0)?l:n.call(r,f))!==a)break}catch(t){o=e,s=1,l=t}finally{u=1}}return{value:t,done:d}}}(n,i,o),!0),u}var a={};function s(){}function l(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Co(t={},r,function(){return this}),t),d=u.prototype=s.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Co(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=u,Co(d,"constructor",u),Co(u,"constructor",l),l.displayName="GeneratorFunction",Co(u,i,"GeneratorFunction"),Co(d),Co(d,i,"Generator"),Co(d,r,function(){return this}),Co(d,"toString",function(){return"[object Generator]"}),(_o=function(){return{w:o,m:f}})()}function Co(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}Co=function(e,t,n,r){function o(t,n){Co(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Co(e,t,n,r)}function Eo(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function Oo(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){Eo(o,r,i,a,s,"next",e)}function s(e){Eo(o,r,i,a,s,"throw",e)}a(void 0)})}}var Po,zo,Lo,Ao,No,jo,To,Io=Zn.div(So||(So=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n"]))),Ro=320;function Mo(e){var t=e.link,n=(0,v.useRef)(null),r=(0,v.useRef)(null),i=function(){var e=(0,v.useContext)(Hn);if(!e)throw on(18);return e}(),o=(0,v.useCallback)(Oo(_o().m(function e(){return _o().w(function(e){for(;;)switch(e.p=e.n){case 0:if(e.p=0,!t){e.n=1;break}return e.n=1,navigator.clipboard.writeText(t);case 1:e.n=3;break;case 2:e.p=2,e.v,w();case 3:return e.a(2)}},e,null,[[0,2]])})),[t]);return(0,v.useEffect)(function(){if(t){var e={width:Ro,height:Ro,type:"svg",data:t,dotsOptions:{color:i.qrCode.dotsColor,type:"rounded"},cornersSquareOptions:{color:i.qrCode.cornersColor,type:"extra-rounded"},cornersDotOptions:{color:i.qrCode.cornerDotsColor,type:"dot"},backgroundOptions:{color:i.qrCode.backgroundColor}},o=n.current;return o&&(o.innerHTML="",r.current=new(xo())(e),r.current.append(o),o.style.width="".concat(Ro,"px"),o.style.height="".concat(Ro,"px")),function(){o&&(o.innerHTML="")}}},[t,i]),(0,X.jsx)(Io,{style:{width:"".concat(Ro,"px"),height:"".concat(Ro,"px")},onClick:o,children:(0,X.jsx)("div",{ref:n})})}function $o(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof s?r:s,u=Object.create(l.prototype);return Do(u,"_invoke",function(n,r,i){var o,s,l,u=0,c=i||[],d=!1,f={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,n){return o=t,s=0,l=e,f.n=n,a}};function h(n,r){for(s=n,l=r,t=0;!d&&u&&!i&&t<c.length;t++){var i,o=c[t],h=f.p,p=o[2];n>3?(i=p===r)&&(l=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=e):o[0]<=h&&((i=n<2&&h<o[1])?(s=0,f.v=r,f.n=o[1]):h<p&&(i=n<3||o[0]>r||r>p)&&(o[4]=n,o[5]=r,f.n=p,s=0))}if(i||n>1)return a;throw d=!0,r}return function(i,c,p){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&h(c,p),s=c,l=p;(t=s<2?e:l)||!d;){o||(s?s<3?(s>1&&(f.n=-1),h(s,l)):f.n=l:f.v=l);try{if(u=2,o){if(s||(i="next"),t=o[i]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=o.return)&&t.call(o),s<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=e}else if((t=(d=f.n<0)?l:n.call(r,f))!==a)break}catch(t){o=e,s=1,l=t}finally{u=1}}return{value:t,done:d}}}(n,i,o),!0),u}var a={};function s(){}function l(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Do(t={},r,function(){return this}),t),d=u.prototype=s.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Do(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=u,Do(d,"constructor",u),Do(u,"constructor",l),l.displayName="GeneratorFunction",Do(u,i,"GeneratorFunction"),Do(d),Do(d,i,"Generator"),Do(d,r,function(){return this}),Do(d,"toString",function(){return"[object Generator]"}),($o=function(){return{w:o,m:f}})()}function Do(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}Do=function(e,t,n,r){function o(t,n){Do(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Do(e,t,n,r)}function Fo(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function Uo(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){Fo(o,r,i,a,s,"next",e)}function s(e){Fo(o,r,i,a,s,"throw",e)}a(void 0)})}}function Bo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return qo(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qo(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ho(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Vo,Wo,Qo,Ko,Go,Yo,Xo=Zn.p(Po||(Po=Ho(["\n all: initial;\n box-sizing: border-box;\n\n text-align: center;\n font-weight: 500;\n font-size: 16px;\n line-height: 24px;\n max-width: 90%;\n margin: 0 auto 16px;\n color: ",";\n opacity: 0.85;\n"])),function(e){return e.theme.colors.textSecondary}),Jo=Zn.div(zo||(zo=Ho(["\n all: initial;\n box-sizing: border-box;\n\n position: relative;\n width: 100%;\n max-width: 320px;\n aspect-ratio: 1 / 1;\n margin: 0 auto;\n overflow: hidden;\n border-radius: 16px;\n box-shadow: 0 6px 30px ",";\n background: ",";\n"])),function(e){return e.theme.colors.shadowStrong},function(e){return e.theme.gradients.surface}),Zo=Zn.div(Lo||(Lo=Ho(["\n all: initial;\n box-sizing: border-box;\n\n margin-top: 16px;\n padding: 12px;\n border-radius: 16px;\n background: ",";\n display: flex;\n flex-direction: column;\n gap: 12px;\n backdrop-filter: blur(4px);\n border: 1px solid ",';\n\n * {\n font-family: "Roboto", Arial, sans-serif;\n box-sizing: border-box;\n }\n'])),function(e){return e.theme.colors.surfaceOverlay},function(e){return e.theme.colors.border}),ea=Zn.div(Ao||(Ao=Ho(["\n all: initial;\n box-sizing: border-box;\n\n display: flex;\n flex-direction: column;\n line-height: 1.4;\n padding: 8px;\n\n strong {\n font-size: 14px;\n font-weight: 600;\n color: ",";\n text-align: center;\n }\n\n span {\n margin-top: 4px;\n font-size: 14px;\n font-weight: 400;\n color: ",";\n text-align: center;\n }\n"])),function(e){return e.theme.colors.text},function(e){return e.theme.colors.textSecondary}),ta=Zn.button(No||(No=Ho(["\n all: initial;\n box-sizing: border-box;\n\n appearance: none;\n cursor: pointer;\n border: 0;\n border-radius: 12px;\n padding: 12px;\n font-size: 14px;\n font-weight: 600;\n line-height: 1.2;\n text-align: center;\n text-decoration: none;\n\n background: ",";\n color: ",";\n box-shadow: 0 4px 12px ",";\n\n white-space: nowrap;\n width: 100%;\n transition: all 0.2s ease;\n\n &:hover {\n background: ",";\n box-shadow: 0 6px 16px ",";\n color: ",";\n }\n\n &:active {\n transform: scale(0.98);\n }\n"])),function(e){return e.theme.colors.primary},function(e){return e.theme.colors.textInverse},function(e){return e.theme.colors.shadow},function(e){return e.theme.colors.primaryHover},function(e){return e.theme.colors.shadowMedium},function(e){return e.theme.colors.textInverse}),na=Zn.button(jo||(jo=Ho(["\n all: initial;\n box-sizing: border-box;\n\n appearance: none;\n cursor: pointer;\n border-radius: 12px;\n padding: 12px;\n font-size: 14px;\n font-weight: 500;\n line-height: 1.2;\n text-align: center;\n text-decoration: none;\n border: 1px solid ",";\n\n background-color: ",";\n color: ",";\n box-shadow: 0 2px 8px ",";\n\n white-space: nowrap;\n width: 100%;\n transition: all 0.2s ease;\n\n &:hover {\n background-color: ",";\n box-shadow: 0 4px 12px ",";\n }\n\n &:active {\n transform: scale(0.98);\n }\n"])),function(e){return e.theme.colors.border},function(e){return e.theme.colors.surfaceOverlay},function(e){return e.theme.colors.text},function(e){return e.theme.colors.shadow},function(e){return e.theme.colors.backgroundSecondary},function(e){return e.theme.colors.shadowMedium}),ra=Zn.a(To||(To=Ho(["\n all: initial;\n box-sizing: border-box;\n\n color: ",';\n cursor: pointer;\n\n padding: 12px;\n font-family: "Roboto", Arial, sans-serif;\n font-size: 14px;\n font-weight: 500;\n line-height: 1.2;\n text-align: center;\n text-decoration: none;\n transition: opacity 0.2s ease;\n\n &:hover {\n opacity: 0.8;\n }\n\n &:active {\n transform: scale(0.98);\n }\n'])),function(e){return e.theme.colors.primary});function ia(){var e=Bo((0,v.useState)(function(){return"undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent||"")?y:function(){var e;if("undefined"==typeof navigator)return!1;var t=navigator.userAgent||navigator.vendor||(null===(e=window)||void 0===e?void 0:e.opera)||"",n=/iPhone|iPad|iPod/i.test(t),r=!n&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1;return n||r}()?"ios":m}),1)[0],t=Bo((0,v.useState)(!1),2),n=t[0],r=t[1],i=Gi().t,o=fe().link,a=function(){try{if(o&&S(o)){var e=new URL(o);return"".concat(e.origin,"/install")}}catch(to){}return"/install"}(),s=S(o)?o:"#",l=(0,v.useCallback)(Uo($o().m(function e(){return $o().w(function(e){for(;;)switch(e.p=e.n){case 0:if(e.p=0,!o){e.n=2;break}return e.n=1,navigator.clipboard.writeText(o);case 1:r(!0);case 2:e.n=4;break;case 3:e.p=3,e.v,w();case 4:return e.a(2)}},e,null,[[0,3]])})),[o]);return function(){switch(e){case m:return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Xo,{children:i("auth.about")}),(0,X.jsx)(Jo,{children:(0,X.jsx)(Mo,{link:o})}),(0,X.jsxs)(Zo,{children:[(0,X.jsx)(ea,{children:(0,X.jsx)("span",{children:i("auth.scan_qr_desc")})}),(0,X.jsx)(ta,{as:"a",href:a,target:"_blank",rel:"noopener noreferrer",role:"button","aria-label":i("auth.install_app"),children:i("auth.install_app")})]})]});case y:return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Xo,{children:i("auth.about")}),(0,X.jsxs)(Zo,{children:[(0,X.jsx)(ea,{children:(0,X.jsx)("strong",{children:i("auth.install_required_android")})}),(0,X.jsx)(na,{as:"a",href:s,target:"_blank",rel:"noopener noreferrer",role:"button","aria-label":i("auth.open_app"),children:i("auth.open_app")})]}),(0,X.jsx)(ra,{as:"a",href:a,target:"_blank",rel:"noopener noreferrer",role:"button","aria-label":i("auth.install_app"),children:i("auth.install_app")})]});case"ios":return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Xo,{children:i("auth.about")}),(0,X.jsxs)(Zo,{children:[(0,X.jsx)(ea,{children:(0,X.jsx)("strong",{children:i("auth.install_required_ios")})}),(0,X.jsx)(na,{onClick:l,role:"button","aria-label":i(n?"auth.open_app_continue":"auth.continue_auth"),children:i(n?"auth.open_app_continue":"auth.continue_auth")})]}),(0,X.jsx)(ra,{as:"a",href:a,target:"_blank",rel:"noopener noreferrer",role:"button","aria-label":i("auth.install_app"),children:i("auth.install_app")})]});default:return null}}()}function oa(e){return oa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oa(e)}function aa(e,t,n){return(t=function(e){var t=function(e){if("object"!=oa(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=oa(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==oa(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sa(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var la=er(Vo||(Vo=sa(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"]))),ua=Zn.h1(Wo||(Wo=sa(['\n all: initial;\n box-sizing: border-box;\n margin: 0 0 12px;\n font-family: "Roboto", Arial, sans-serif;\n font-style: normal;\n font-size: 30px;\n font-weight: 700;\n text-align: center;\n color: ',";\n"])),function(e){return e.theme.colors.text}),ca=Zn.div(Qo||(Qo=sa(["\n position: relative;\n width: 100%;\n height: 264px;\n"]))),da=Zn.div(Ko||(Ko=sa(["\n position: absolute;\n left: 50%;\n top: 50%;\n width: 150px;\n height: 150px;\n margin: -75px 0 0 -75px;\n border-radius: 50%;\n border: 3px solid transparent;\n border-top-color: ",";\n animation: ",' 2s linear infinite;\n\n &:before {\n content: "";\n position: absolute;\n top: 5px;\n left: 5px;\n right: 5px;\n bottom: 5px;\n border-radius: 50%;\n border: 3px solid transparent;\n border-top-color: ',";\n animation: ",' 3s linear infinite;\n }\n\n &:after {\n content: "";\n position: absolute;\n top: 15px;\n left: 15px;\n right: 15px;\n bottom: 15px;\n border-radius: 50%;\n border: 3px solid transparent;\n border-top-color: ',";\n animation: "," 1.5s linear infinite;\n }\n"])),function(e){return e.theme.colors.primary},la,function(e){return e.theme.colors.secondary},la,function(e){return e.theme.colors.accent},la),fa=Zn.p(Go||(Go=sa(['\n all: initial;\n box-sizing: border-box;\n\n font-family: "Roboto", Arial, sans-serif;\n font-weight: 600;\n font-size: 22px;\n line-height: 36px;\n text-align: center;\n color: ',";\n"])),function(e){return e.theme.colors.text}),ha=Zn.div(Yo||(Yo=sa(["\n display: grid;\n justify-items: center;\n gap: 8px;\n padding: 12px 0;\n"])));function pa(){var e=Gi().t,t=fe().authStatus,n={title:e("Liberion ID"),inProgress:e("app.auth_in_progress"),success:e("app.auth_success"),error:e("app.auth_failed"),cancelled:e("app.auth_cancelled"),timeout:e("app.auth_timeout"),reconnectFailed:e("app.reconnect_failed")},r=aa(aa(aa(aa(aa(aa({},l,{text:n.success,icon:l}),s,{text:n.inProgress,loader:!0}),u,{text:n.error,icon:u}),c,{text:n.cancelled,icon:c}),d,{text:n.timeout,icon:d}),f,{text:n.reconnectFailed,icon:u})[t];return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(ua,{"aria-live":"polite",children:n.title}),r?(0,X.jsxs)(ha,{role:"status","aria-live":"polite",children:[r.loader?(0,X.jsx)(ca,{children:(0,X.jsx)(da,{})}):r.icon&&(0,X.jsx)(wo,{status:r.icon}),(0,X.jsx)(fa,{children:r.text})]}):(0,X.jsx)(ia,{})]})}function ga(e){return ga="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ga(e)}function ma(e,t,n){return(t=function(e){var t=function(e){if("object"!=ga(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ga(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ga(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ya(){var e=re().screen;return(0,X.jsx)(X.Fragment,{children:ma(ma({},G,(0,X.jsx)($r,{})),Y,(0,X.jsx)(pa,{}))[e.path]})}function va(e){return va="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},va(e)}function ba(e,t,n){return(t=function(e){var t=function(e){if("object"!=va(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=va(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==va(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wa(e){var n=e.backendUrl,r=e.closeCb,a=e.successCb,s=e.failedCb,l=e.theme,u=void 0===l?p:l,c=re().setCallbacks,d=fe().setBackendUrl,f=function(){var e=(0,v.useContext)(or);if(!e)throw new Error("useThemeContext must be used within ThemeProvider");return e}().setTheme;return(0,v.useEffect)(function(){c(function(e){return ba(ba(ba({},t,null!=r?r:e[t]),i,null!=a?a:e[i]),o,null!=s?s:e[o])}),d(n),f(u)},[r,a,s,n,u,d,c,f]),(0,X.jsx)(zr,{children:(0,X.jsx)(ya,{})})}var Sa,ka={en:{translation:JSON.parse('{"app.auth_success":"Access granted","app.auth_in_progress":"Authorization in progress..","app.auth_failed":"Authorization failed","app.auth_cancelled":"Authorization cancelled","app.auth_timeout":"Authorization expired","app.reconnect_failed":"Connection lost. Please try again.","app.about_auth":"Post-Quantum KYC Authorization","auth.about":"Post-Quantum KYC Authorization","auth.scan_qr_desc":"Scan the QR code with the Liberion App to complete authentication.","auth.install_app":"Install Liberion App","auth.install_required_android":"To continue authentication you must have the Liberion App installed","auth.install_required_ios":"To continue authentication you must have the Liberion App installed","auth.open_app":"Open Liberion App","auth.open_app_continue":"Open Liberion App to continue","auth.continue_auth":"Continue Authentication","home.title":"Recognize the whole world on","home.title_highlight":"one platform","home.copyright":"All rights reserved"}')},ru:{translation:JSON.parse('{"app.auth_success":"Доступ предоставлен","app.auth_in_progress":"Авторизация в процессе..","app.auth_failed":"Авторизация не удалась","app.auth_cancelled":"Авторизация отменена","app.auth_timeout":"Сессия истекла","app.reconnect_failed":"Соединение потеряно. Попробуйте снова.","app.about_auth":"Пост-Квантовая авторизация","auth.about":"Пост-Квантовая авторизация","auth.scan_qr_desc":"Отсканируйте QR-код приложением Liberion для завершения авторизации.","auth.install_app":"Установить приложение Liberion","auth.install_required_android":"Для продолжения авторизации необходимо установить приложение Liberion","auth.install_required_ios":"Для продолжения авторизации необходимо установить приложение Liberion","auth.open_app":"Открыть приложение Liberion","auth.open_app_continue":"Откройте приложение Liberion для продолжения","auth.continue_auth":"Продолжить авторизацию","home.title":"Распознавайте весь мир на","home.title_highlight":"одной платформе","home.copyright":"Все права защищены"}')}};Pi.use(Bi).init({resources:ka,lng:(Sa=navigator.language||navigator.userLanguage,null!=Sa&&Sa.toLowerCase().startsWith("ru")?"ru":"en"),fallbackLng:"en",interpolation:{escapeValue:!1}});var xa=null,_a=null,Ca=null,Ea=function(){var e;if(xa){try{xa.unmount()}catch(to){}xa=null}if(null!==(e=_a)&&void 0!==e&&e.parentNode&&_a.parentNode.removeChild(_a),_a=null,"function"==typeof Ca)try{Ca()}catch(to){}Ca=null},Oa=function(t){var n=t.backendUrl,r=t.successCb,i=t.closeCb,o=t.failedCb,a=t.theme;(_a||xa)&&Ea(),(_a=document.createElement("div")).id="liberion-auth-widget-script-id",document.body.appendChild(_a),xa=(0,e.createRoot)(_a),Ca=i,xa.render((0,X.jsx)(sr,{children:(0,X.jsx)(wa,{backendUrl:n,successCb:r,failedCb:o,closeCb:function(){return Ea()},theme:a})}))}})(),r})());
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.LiberionAuth=t():e.LiberionAuth=t()}(this,()=>(()=>{var e={18(e,t,n){"use strict";var r=n(99),i=n(81),o=n(92);function a(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function l(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function u(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function c(e){if(s(e)!==e)throw Error(a(188))}function f(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=f(e)))return t;e=e.sibling}return null}var d=Object.assign,h=Symbol.for("react.element"),p=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),b=Symbol.for("react.consumer"),w=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),_=Symbol.for("react.memo"),C=Symbol.for("react.lazy");Symbol.for("react.scope");var E=Symbol.for("react.activity");Symbol.for("react.legacy_hidden"),Symbol.for("react.tracing_marker");var O=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var P=Symbol.iterator;function z(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=P&&e[P]||e["@@iterator"])?e:null}var A=Symbol.for("react.client.reference");function L(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===A?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case m:return"Fragment";case v:return"Profiler";case y:return"StrictMode";case k:return"Suspense";case x:return"SuspenseList";case E:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case g:return"Portal";case w:return e.displayName||"Context";case b:return(e._context.displayName||"Context")+".Consumer";case S:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case _:return null!==(t=e.displayName||null)?t:L(e.type)||"Memo";case C:t=e._payload,e=e._init;try{return L(e(t))}catch(n){}}return null}var N=Array.isArray,j=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,T=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I={pending:!1,data:null,method:null,action:null},R=[],M=-1;function $(e){return{current:e}}function D(e){0>M||(e.current=R[M],R[M]=null,M--)}function F(e,t){M++,R[M]=e.current,e.current=t}var U,B,q=$(null),H=$(null),V=$(null),W=$(null);function Q(e,t){switch(F(V,t),F(H,e),F(q,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?yf(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=vf(t=yf(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}D(q),F(q,e)}function K(){D(q),D(H),D(V)}function G(e){null!==e.memoizedState&&F(W,e);var t=q.current,n=vf(t,e.type);t!==n&&(F(H,e),F(q,n))}function Y(e){H.current===e&&(D(q),D(H)),W.current===e&&(D(W),cd._currentValue=I)}function X(e){if(void 0===U)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);U=t&&t[1]||"",B=-1<n.stack.indexOf("\n at")?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+U+e+B}var J=!1;function Z(e,t){if(!e||J)return"";J=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(i){var r=i}Reflect.construct(e,[],n)}else{try{n.call()}catch(o){r=o}e.call(n.prototype)}}else{try{throw Error()}catch(a){r=a}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(s){if(s&&r&&"string"==typeof s.stack)return[s.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=r.DetermineComponentFrameRoot(),a=o[0],s=o[1];if(a&&s){var l=a.split("\n"),u=s.split("\n");for(i=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;i<u.length&&!u[i].includes("DetermineComponentFrameRoot");)i++;if(r===l.length||i===u.length)for(r=l.length-1,i=u.length-1;1<=r&&0<=i&&l[r]!==u[i];)i--;for(;1<=r&&0<=i;r--,i--)if(l[r]!==u[i]){if(1!==r||1!==i)do{if(r--,0>--i||l[r]!==u[i]){var c="\n"+l[r].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}}while(1<=r&&0<=i);break}}}finally{J=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?X(n):""}function ee(e,t){switch(e.tag){case 26:case 27:case 5:return X(e.type);case 16:return X("Lazy");case 13:return e.child!==t&&null!==t?X("Suspense Fallback"):X("Suspense");case 19:return X("SuspenseList");case 0:case 15:return Z(e.type,!1);case 11:return Z(e.type.render,!1);case 1:return Z(e.type,!0);case 31:return X("Activity");default:return""}}function te(e){try{var t="",n=null;do{t+=ee(e,n),n=e,e=e.return}while(e);return t}catch(r){return"\nError generating stack: "+r.message+"\n"+r.stack}}var ne=Object.prototype.hasOwnProperty,re=r.unstable_scheduleCallback,ie=r.unstable_cancelCallback,oe=r.unstable_shouldYield,ae=r.unstable_requestPaint,se=r.unstable_now,le=r.unstable_getCurrentPriorityLevel,ue=r.unstable_ImmediatePriority,ce=r.unstable_UserBlockingPriority,fe=r.unstable_NormalPriority,de=r.unstable_LowPriority,he=r.unstable_IdlePriority,pe=r.log,ge=r.unstable_setDisableYieldValue,me=null,ye=null;function ve(e){if("function"==typeof pe&&ge(e),ye&&"function"==typeof ye.setStrictMode)try{ye.setStrictMode(me,e)}catch(t){}}var be=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(we(e)/Se|0)|0},we=Math.log,Se=Math.LN2,ke=256,xe=262144,_e=4194304;function Ce(e){var t=42&e;if(0!==t)return t;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ee(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var i=0,o=e.suspendedLanes,a=e.pingedLanes;e=e.warmLanes;var s=134217727&r;return 0!==s?0!==(r=s&~o)?i=Ce(r):0!==(a&=s)?i=Ce(a):n||0!==(n=s&~e)&&(i=Ce(n)):0!==(s=r&~o)?i=Ce(s):0!==a?i=Ce(a):n||0!==(n=r&~e)&&(i=Ce(n)),0===i?0:0!==t&&t!==i&&0===(t&o)&&((o=i&-i)>=(n=t&-t)||32===o&&4194048&n)?t:i}function Oe(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function Pe(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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 t+5e3;default:return-1}}function ze(){var e=_e;return!(62914560&(_e<<=1))&&(_e=4194304),e}function Ae(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Le(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ne(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-be(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|261930&n}function je(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-be(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function Te(e,t){var n=t&-t;return 0!==((n=42&n?1:Ie(n))&(e.suspendedLanes|t))?0:n}function Ie(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Re(e){return 2<(e&=-e)?8<e?134217727&e?32:268435456:8:2}function Me(){var e=T.p;return 0!==e?e:void 0===(e=window.event)?32:_d(e.type)}function $e(e,t){var n=T.p;try{return T.p=e,t()}finally{T.p=n}}var De=Math.random().toString(36).slice(2),Fe="__reactFiber$"+De,Ue="__reactProps$"+De,Be="__reactContainer$"+De,qe="__reactEvents$"+De,He="__reactListeners$"+De,Ve="__reactHandles$"+De,We="__reactResources$"+De,Qe="__reactMarker$"+De;function Ke(e){delete e[Fe],delete e[Ue],delete e[qe],delete e[He],delete e[Ve]}function Ge(e){var t=e[Fe];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Be]||n[Fe]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Rf(e);null!==e;){if(n=e[Fe])return n;e=Rf(e)}return t}n=(e=n).parentNode}return null}function Ye(e){if(e=e[Fe]||e[Be]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function Xe(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(a(33))}function Je(e){var t=e[We];return t||(t=e[We]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ze(e){e[Qe]=!0}var et=new Set,tt={};function nt(e,t){rt(e,t),rt(e+"Capture",t)}function rt(e,t){for(tt[e]=t,e=0;e<t.length;e++)et.add(t[e])}var it=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),ot={},at={};function st(e,t,n){if(i=t,ne.call(at,i)||!ne.call(ot,i)&&(it.test(i)?at[i]=!0:(ot[i]=!0,0)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}var i}function lt(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function ut(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}e.setAttributeNS(t,n,""+r)}}function ct(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ft(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function dt(e){if(!e._valueTracker){var t=ft(e)?"checked":"value";e._valueTracker=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var i=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function ht(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ft(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function pt(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var gt=/[\n"\\]/g;function mt(e){return e.replace(gt,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function yt(e,t,n,r,i,o,a,s){e.name="",null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a?e.type=a:e.removeAttribute("type"),null!=t?"number"===a?(0===t&&""===e.value||e.value!=t)&&(e.value=""+ct(t)):e.value!==""+ct(t)&&(e.value=""+ct(t)):"submit"!==a&&"reset"!==a||e.removeAttribute("value"),null!=t?bt(e,a,ct(t)):null!=n?bt(e,a,ct(n)):null!=r&&e.removeAttribute("value"),null==i&&null!=o&&(e.defaultChecked=!!o),null!=i&&(e.checked=i&&"function"!=typeof i&&"symbol"!=typeof i),null!=s&&"function"!=typeof s&&"symbol"!=typeof s&&"boolean"!=typeof s?e.name=""+ct(s):e.removeAttribute("name")}function vt(e,t,n,r,i,o,a,s){if(null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o&&(e.type=o),null!=t||null!=n){if(("submit"===o||"reset"===o)&&null==t)return void dt(e);n=null!=n?""+ct(n):"",t=null!=t?""+ct(t):n,s||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:i)&&"symbol"!=typeof r&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(e.name=a),dt(e)}function bt(e,t,n){"number"===t&&pt(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function wt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ct(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function St(e,t,n){null==t||((t=""+ct(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+ct(n):"":e.defaultValue!==t&&(e.defaultValue=t)}function kt(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error(a(92));if(N(r)){if(1<r.length)throw Error(a(93));r=r[0]}n=r}null==n&&(n=""),t=n}n=ct(t),e.defaultValue=n,(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r),dt(e)}function xt(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 _t=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Ct(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||_t.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Et(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(a(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="");for(var i in t)r=t[i],t.hasOwnProperty(i)&&n[i]!==r&&Ct(e,i,r)}else for(var o in t)t.hasOwnProperty(o)&&Ct(e,o,t[o])}function Ot(e){if(-1===e.indexOf("-"))return!1;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 Pt=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["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"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["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"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["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"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),zt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function At(e){return zt.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Lt(){}var Nt=null;function jt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Tt=null,It=null;function Rt(e){var t=Ye(e);if(t&&(e=t.stateNode)){var n=e[Ue]||null;e:switch(e=t.stateNode,t.type){case"input":if(yt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+mt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=r[Ue]||null;if(!i)throw Error(a(90));yt(r,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&ht(r)}break e;case"textarea":St(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&wt(e,!!n.multiple,t,!1)}}}var Mt=!1;function $t(e,t,n){if(Mt)return e(t,n);Mt=!0;try{return e(t)}finally{if(Mt=!1,(null!==Tt||null!==It)&&(Ju(),Tt&&(t=Tt,e=It,It=Tt=null,Rt(t),e)))for(t=0;t<e.length;t++)Rt(e[t])}}function Dt(e,t){var n=e.stateNode;if(null===n)return null;var r=n[Ue]||null;if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}var Ft=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),Ut=!1;if(Ft)try{var Bt={};Object.defineProperty(Bt,"passive",{get:function(){Ut=!0}}),window.addEventListener("test",Bt,Bt),window.removeEventListener("test",Bt,Bt)}catch(Gd){Ut=!1}var qt=null,Ht=null,Vt=null;function Wt(){if(Vt)return Vt;var e,t,n=Ht,r=n.length,i="value"in qt?qt.value:qt.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return Vt=i.slice(e,1<t?1-t:void 0)}function Qt(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Kt(){return!0}function Gt(){return!1}function Yt(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?Kt:Gt,this.isPropagationStopped=Gt,this}return d(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Kt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Kt)},persist:function(){},isPersistent:Kt}),t}var Xt,Jt,Zt,en={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},tn=Yt(en),nn=d({},en,{view:0,detail:0}),rn=Yt(nn),on=d({},nn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:mn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Zt&&(Zt&&"mousemove"===e.type?(Xt=e.screenX-Zt.screenX,Jt=e.screenY-Zt.screenY):Jt=Xt=0,Zt=e),Xt)},movementY:function(e){return"movementY"in e?e.movementY:Jt}}),an=Yt(on),sn=Yt(d({},on,{dataTransfer:0})),ln=Yt(d({},nn,{relatedTarget:0})),un=Yt(d({},en,{animationName:0,elapsedTime:0,pseudoElement:0})),cn=Yt(d({},en,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),fn=Yt(d({},en,{data:0})),dn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},hn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},pn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function gn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=pn[e])&&!!t[e]}function mn(){return gn}var yn=Yt(d({},nn,{key:function(e){if(e.key){var t=dn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Qt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?hn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:mn,charCode:function(e){return"keypress"===e.type?Qt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Qt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),vn=Yt(d({},on,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),bn=Yt(d({},nn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:mn})),wn=Yt(d({},en,{propertyName:0,elapsedTime:0,pseudoElement:0})),Sn=Yt(d({},on,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),kn=Yt(d({},en,{newState:0,oldState:0})),xn=[9,13,27,32],_n=Ft&&"CompositionEvent"in window,Cn=null;Ft&&"documentMode"in document&&(Cn=document.documentMode);var En=Ft&&"TextEvent"in window&&!Cn,On=Ft&&(!_n||Cn&&8<Cn&&11>=Cn),Pn=String.fromCharCode(32),zn=!1;function An(e,t){switch(e){case"keyup":return-1!==xn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ln(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Nn=!1,jn={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 Tn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!jn[e.type]:"textarea"===t}function In(e,t,n,r){Tt?It?It.push(r):It=[r]:Tt=r,0<(t=nf(t,"onChange")).length&&(n=new tn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Rn=null,Mn=null;function $n(e){Kc(e,0)}function Dn(e){if(ht(Xe(e)))return e}function Fn(e,t){if("change"===e)return t}var Un=!1;if(Ft){var Bn;if(Ft){var qn="oninput"in document;if(!qn){var Hn=document.createElement("div");Hn.setAttribute("oninput","return;"),qn="function"==typeof Hn.oninput}Bn=qn}else Bn=!1;Un=Bn&&(!document.documentMode||9<document.documentMode)}function Vn(){Rn&&(Rn.detachEvent("onpropertychange",Wn),Mn=Rn=null)}function Wn(e){if("value"===e.propertyName&&Dn(Mn)){var t=[];In(t,Mn,e,jt(e)),$t($n,t)}}function Qn(e,t,n){"focusin"===e?(Vn(),Mn=n,(Rn=t).attachEvent("onpropertychange",Wn)):"focusout"===e&&Vn()}function Kn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Dn(Mn)}function Gn(e,t){if("click"===e)return Dn(t)}function Yn(e,t){if("input"===e||"change"===e)return Dn(t)}var Xn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Jn(e,t){if(Xn(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!ne.call(t,i)||!Xn(e[i],t[i]))return!1}return!0}function Zn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function er(e,t){var n,r=Zn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=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=Zn(r)}}function tr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?tr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function nr(e){for(var t=pt((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=pt((e=t.contentWindow).document)}return t}function rr(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)}var ir=Ft&&"documentMode"in document&&11>=document.documentMode,or=null,ar=null,sr=null,lr=!1;function ur(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;lr||null==or||or!==pt(r)||(r="selectionStart"in(r=or)&&rr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},sr&&Jn(sr,r)||(sr=r,0<(r=nf(ar,"onSelect")).length&&(t=new tn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=or)))}function cr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var fr={animationend:cr("Animation","AnimationEnd"),animationiteration:cr("Animation","AnimationIteration"),animationstart:cr("Animation","AnimationStart"),transitionrun:cr("Transition","TransitionRun"),transitionstart:cr("Transition","TransitionStart"),transitioncancel:cr("Transition","TransitionCancel"),transitionend:cr("Transition","TransitionEnd")},dr={},hr={};function pr(e){if(dr[e])return dr[e];if(!fr[e])return e;var t,n=fr[e];for(t in n)if(n.hasOwnProperty(t)&&t in hr)return dr[e]=n[t];return e}Ft&&(hr=document.createElement("div").style,"AnimationEvent"in window||(delete fr.animationend.animation,delete fr.animationiteration.animation,delete fr.animationstart.animation),"TransitionEvent"in window||delete fr.transitionend.transition);var gr=pr("animationend"),mr=pr("animationiteration"),yr=pr("animationstart"),vr=pr("transitionrun"),br=pr("transitionstart"),wr=pr("transitioncancel"),Sr=pr("transitionend"),kr=new Map,xr="abort auxClick beforeToggle 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 _r(e,t){kr.set(e,t),nt(t,[e])}xr.push("scrollEnd");var Cr="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e)},Er=[],Or=0,Pr=0;function zr(){for(var e=Or,t=Pr=Or=0;t<e;){var n=Er[t];Er[t++]=null;var r=Er[t];Er[t++]=null;var i=Er[t];Er[t++]=null;var o=Er[t];if(Er[t++]=null,null!==r&&null!==i){var a=r.pending;null===a?i.next=i:(i.next=a.next,a.next=i),r.pending=i}0!==o&&jr(n,i,o)}}function Ar(e,t,n,r){Er[Or++]=e,Er[Or++]=t,Er[Or++]=n,Er[Or++]=r,Pr|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function Lr(e,t,n,r){return Ar(e,t,n,r),Tr(e)}function Nr(e,t){return Ar(e,null,null,t),Tr(e)}function jr(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var i=!1,o=e.return;null!==o;)o.childLanes|=n,null!==(r=o.alternate)&&(r.childLanes|=n),22===o.tag&&(null===(e=o.stateNode)||1&e._visibility||(i=!0)),e=o,o=o.return;return 3===e.tag?(o=e.stateNode,i&&null!==t&&(i=31-be(n),null===(r=(e=o.hiddenUpdates)[i])?e[i]=[t]:r.push(t),t.lane=536870912|n),o):null}function Tr(e){if(50<qu)throw qu=0,Hu=null,Error(a(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var Ir={};function Rr(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.refCleanup=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 Mr(e,t,n,r){return new Rr(e,t,n,r)}function $r(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Dr(e,t){var n=e.alternate;return null===n?((n=Mr(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=65011712&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.refCleanup=e.refCleanup,n}function Fr(e,t){e.flags&=65011714;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Ur(e,t,n,r,i,o){var s=0;if(r=e,"function"==typeof e)$r(e)&&(s=1);else if("string"==typeof e)s=function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;return"stylesheet"!==t.rel||(e=t.disabled,"string"==typeof t.precedence&&null==e);case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,q.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(e){case E:return(e=Mr(31,n,t,i)).elementType=E,e.lanes=o,e;case m:return Br(n.children,i,o,t);case y:s=8,i|=24;break;case v:return(e=Mr(12,n,t,2|i)).elementType=v,e.lanes=o,e;case k:return(e=Mr(13,n,t,i)).elementType=k,e.lanes=o,e;case x:return(e=Mr(19,n,t,i)).elementType=x,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case w:s=10;break e;case b:s=9;break e;case S:s=11;break e;case _:s=14;break e;case C:s=16,r=null;break e}s=29,n=Error(a(130,null===e?"null":typeof e,"")),r=null}return(t=Mr(s,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function Br(e,t,n,r){return(e=Mr(7,e,r,t)).lanes=n,e}function qr(e,t,n){return(e=Mr(6,e,null,t)).lanes=n,e}function Hr(e){var t=Mr(18,null,null,0);return t.stateNode=e,t}function Vr(e,t,n){return(t=Mr(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Wr=new WeakMap;function Qr(e,t){if("object"==typeof e&&null!==e){var n=Wr.get(e);return void 0!==n?n:(t={value:e,source:t,stack:te(t)},Wr.set(e,t),t)}return{value:e,source:t,stack:te(t)}}var Kr=[],Gr=0,Yr=null,Xr=0,Jr=[],Zr=0,ei=null,ti=1,ni="";function ri(e,t){Kr[Gr++]=Xr,Kr[Gr++]=Yr,Yr=e,Xr=t}function ii(e,t,n){Jr[Zr++]=ti,Jr[Zr++]=ni,Jr[Zr++]=ei,ei=e;var r=ti;e=ni;var i=32-be(r)-1;r&=~(1<<i),n+=1;var o=32-be(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,ti=1<<32-be(t)+i|n<<i|r,ni=o+e}else ti=1<<o|n<<i|r,ni=e}function oi(e){null!==e.return&&(ri(e,1),ii(e,1,0))}function ai(e){for(;e===Yr;)Yr=Kr[--Gr],Kr[Gr]=null,Xr=Kr[--Gr],Kr[Gr]=null;for(;e===ei;)ei=Jr[--Zr],Jr[Zr]=null,ni=Jr[--Zr],Jr[Zr]=null,ti=Jr[--Zr],Jr[Zr]=null}function si(e,t){Jr[Zr++]=ti,Jr[Zr++]=ni,Jr[Zr++]=ei,ti=t.id,ni=t.overflow,ei=e}var li=null,ui=null,ci=!1,fi=null,di=!1,hi=Error(a(519));function pi(e){throw wi(Qr(Error(a(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML","")),e)),hi}function gi(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Fe]=e,t[Ue]=r,n){case"dialog":Gc("cancel",t),Gc("close",t);break;case"iframe":case"object":case"embed":Gc("load",t);break;case"video":case"audio":for(n=0;n<Wc.length;n++)Gc(Wc[n],t);break;case"source":Gc("error",t);break;case"img":case"image":case"link":Gc("error",t),Gc("load",t);break;case"details":Gc("toggle",t);break;case"input":Gc("invalid",t),vt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":Gc("invalid",t);break;case"textarea":Gc("invalid",t),kt(t,r.value,r.defaultValue,r.children)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||uf(t.textContent,n)?(null!=r.popover&&(Gc("beforetoggle",t),Gc("toggle",t)),null!=r.onScroll&&Gc("scroll",t),null!=r.onScrollEnd&&Gc("scrollend",t),null!=r.onClick&&(t.onclick=Lt),t=!0):t=!1,t||pi(e,!0)}function mi(e){for(li=e.return;li;)switch(li.tag){case 5:case 31:case 13:return void(di=!1);case 27:case 3:return void(di=!0);default:li=li.return}}function yi(e){if(e!==li)return!1;if(!ci)return mi(e),ci=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t=!("form"!==(t=e.type)&&"button"!==t)||bf(e.type,e.memoizedProps)),t=!t),t&&ui&&pi(e),mi(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));ui=If(e)}else if(31===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));ui=If(e)}else 27===n?(n=ui,Ef(e.type)?(e=Tf,Tf=null,ui=e):ui=n):ui=li?jf(e.stateNode.nextSibling):null;return!0}function vi(){ui=li=null,ci=!1}function bi(){var e=fi;return null!==e&&(null===zu?zu=e:zu.push.apply(zu,e),fi=null),e}function wi(e){null===fi?fi=[e]:fi.push(e)}var Si=$(null),ki=null,xi=null;function _i(e,t,n){F(Si,t._currentValue),t._currentValue=n}function Ci(e){e._currentValue=Si.current,D(Si)}function Ei(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 Oi(e,t,n,r){var i=e.child;for(null!==i&&(i.return=e);null!==i;){var o=i.dependencies;if(null!==o){var s=i.child;o=o.firstContext;e:for(;null!==o;){var l=o;o=i;for(var u=0;u<t.length;u++)if(l.context===t[u]){o.lanes|=n,null!==(l=o.alternate)&&(l.lanes|=n),Ei(o.return,n,e),r||(s=null);break e}o=l.next}}else if(18===i.tag){if(null===(s=i.return))throw Error(a(341));s.lanes|=n,null!==(o=s.alternate)&&(o.lanes|=n),Ei(s,n,e),s=null}else s=i.child;if(null!==s)s.return=i;else for(s=i;null!==s;){if(s===e){s=null;break}if(null!==(i=s.sibling)){i.return=s.return,s=i;break}s=s.return}i=s}}function Pi(e,t,n,r){e=null;for(var i=t,o=!1;null!==i;){if(!o)if(524288&i.flags)o=!0;else if(262144&i.flags)break;if(10===i.tag){var s=i.alternate;if(null===s)throw Error(a(387));if(null!==(s=s.memoizedProps)){var l=i.type;Xn(i.pendingProps.value,s.value)||(null!==e?e.push(l):e=[l])}}else if(i===W.current){if(null===(s=i.alternate))throw Error(a(387));s.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(null!==e?e.push(cd):e=[cd])}i=i.return}null!==e&&Oi(t,e,n,r),t.flags|=262144}function zi(e){for(e=e.firstContext;null!==e;){if(!Xn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ai(e){ki=e,xi=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function Li(e){return ji(ki,e)}function Ni(e,t){return null===ki&&Ai(e),ji(e,t)}function ji(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===xi){if(null===e)throw Error(a(308));xi=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else xi=xi.next=t;return n}var Ti="undefined"!=typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},Ii=r.unstable_scheduleCallback,Ri=r.unstable_NormalPriority,Mi={$$typeof:w,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function $i(){return{controller:new Ti,data:new Map,refCount:0}}function Di(e){e.refCount--,0===e.refCount&&Ii(Ri,function(){e.controller.abort()})}var Fi=null,Ui=0,Bi=0,qi=null;function Hi(){if(0===--Ui&&null!==Fi){null!==qi&&(qi.status="fulfilled");var e=Fi;Fi=null,Bi=0,qi=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var Vi=j.S;j.S=function(e,t){Nu=se(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===Fi){var n=Fi=[];Ui=0,Bi=Uc(),qi={status:"pending",value:void 0,then:function(e){n.push(e)}}}Ui++,t.then(Hi,Hi)}(0,t),null!==Vi&&Vi(e,t)};var Wi=$(null);function Qi(){var e=Wi.current;return null!==e?e:hu.pooledCache}function Ki(e,t){F(Wi,null===t?Wi.current:t.pool)}function Gi(){var e=Qi();return null===e?null:{parent:Mi._currentValue,pool:e}}var Yi=Error(a(460)),Xi=Error(a(474)),Ji=Error(a(542)),Zi={then:function(){}};function eo(e){return"fulfilled"===(e=e.status)||"rejected"===e}function to(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(Lt,Lt),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw oo(e=t.reason),e;default:if("string"==typeof t.status)t.then(Lt,Lt);else{if(null!==(e=hu)&&100<e.shellSuspendCounter)throw Error(a(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw oo(e=t.reason),e}throw ro=t,Yi}}function no(e){try{return(0,e._init)(e._payload)}catch(t){if(null!==t&&"object"==typeof t&&"function"==typeof t.then)throw ro=t,Yi;throw t}}var ro=null;function io(){if(null===ro)throw Error(a(459));var e=ro;return ro=null,e}function oo(e){if(e===Yi||e===Ji)throw Error(a(483))}var ao=null,so=0;function lo(e){var t=so;return so+=1,null===ao&&(ao=[]),to(ao,e,t)}function uo(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function co(e,t){if(t.$$typeof===h)throw Error(a(525));throw e=Object.prototype.toString.call(t),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function fo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function i(e,t){return(e=Dr(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=67108866,n):r:(t.flags|=67108866,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=67108866),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=qr(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function u(e,t,n,r){var o=n.type;return o===m?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===C&&no(o)===t.type)?(uo(t=i(t,n.props),n),t.return=e,t):(uo(t=Ur(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Vr(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function f(e,t,n,r,o){return null===t||7!==t.tag?((t=Br(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=qr(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case p:return uo(n=Ur(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case g:return(t=Vr(t,e.mode,n)).return=e,t;case C:return d(e,t=no(t),n)}if(N(t)||z(t))return(t=Br(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return d(e,lo(t),n);if(t.$$typeof===w)return d(e,Ni(e,t),n);co(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==i?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case p:return n.key===i?u(e,t,n,r):null;case g:return n.key===i?c(e,t,n,r):null;case C:return h(e,t,n=no(n),r)}if(N(n)||z(n))return null!==i?null:f(e,t,n,r,null);if("function"==typeof n.then)return h(e,t,lo(n),r);if(n.$$typeof===w)return h(e,t,Ni(e,n),r);co(e,n)}return null}function y(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case p:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case g:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case C:return y(e,t,n,r=no(r),i)}if(N(r)||z(r))return f(t,e=e.get(n)||null,r,i,null);if("function"==typeof r.then)return y(e,t,n,lo(r),i);if(r.$$typeof===w)return y(e,t,n,Ni(t,r),i);co(t,r)}return null}function v(l,u,c,f){if("object"==typeof c&&null!==c&&c.type===m&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case p:e:{for(var b=c.key;null!==u;){if(u.key===b){if((b=c.type)===m){if(7===u.tag){n(l,u.sibling),(f=i(u,c.props.children)).return=l,l=f;break e}}else if(u.elementType===b||"object"==typeof b&&null!==b&&b.$$typeof===C&&no(b)===u.type){n(l,u.sibling),uo(f=i(u,c.props),c),f.return=l,l=f;break e}n(l,u);break}t(l,u),u=u.sibling}c.type===m?((f=Br(c.props.children,l.mode,f,c.key)).return=l,l=f):(uo(f=Ur(c.type,c.key,c.props,null,l.mode,f),c),f.return=l,l=f)}return s(l);case g:e:{for(b=c.key;null!==u;){if(u.key===b){if(4===u.tag&&u.stateNode.containerInfo===c.containerInfo&&u.stateNode.implementation===c.implementation){n(l,u.sibling),(f=i(u,c.children||[])).return=l,l=f;break e}n(l,u);break}t(l,u),u=u.sibling}(f=Vr(c,l.mode,f)).return=l,l=f}return s(l);case C:return v(l,u,c=no(c),f)}if(N(c))return function(i,a,s,l){for(var u=null,c=null,f=a,p=a=0,g=null;null!==f&&p<s.length;p++){f.index>p?(g=f,f=null):g=f.sibling;var m=h(i,f,s[p],l);if(null===m){null===f&&(f=g);break}e&&f&&null===m.alternate&&t(i,f),a=o(m,a,p),null===c?u=m:c.sibling=m,c=m,f=g}if(p===s.length)return n(i,f),ci&&ri(i,p),u;if(null===f){for(;p<s.length;p++)null!==(f=d(i,s[p],l))&&(a=o(f,a,p),null===c?u=f:c.sibling=f,c=f);return ci&&ri(i,p),u}for(f=r(f);p<s.length;p++)null!==(g=y(f,i,p,s[p],l))&&(e&&null!==g.alternate&&f.delete(null===g.key?p:g.key),a=o(g,a,p),null===c?u=g:c.sibling=g,c=g);return e&&f.forEach(function(e){return t(i,e)}),ci&&ri(i,p),u}(l,u,c,f);if(z(c)){if("function"!=typeof(b=z(c)))throw Error(a(150));return function(i,s,l,u){if(null==l)throw Error(a(151));for(var c=null,f=null,p=s,g=s=0,m=null,v=l.next();null!==p&&!v.done;g++,v=l.next()){p.index>g?(m=p,p=null):m=p.sibling;var b=h(i,p,v.value,u);if(null===b){null===p&&(p=m);break}e&&p&&null===b.alternate&&t(i,p),s=o(b,s,g),null===f?c=b:f.sibling=b,f=b,p=m}if(v.done)return n(i,p),ci&&ri(i,g),c;if(null===p){for(;!v.done;g++,v=l.next())null!==(v=d(i,v.value,u))&&(s=o(v,s,g),null===f?c=v:f.sibling=v,f=v);return ci&&ri(i,g),c}for(p=r(p);!v.done;g++,v=l.next())null!==(v=y(p,i,g,v.value,u))&&(e&&null!==v.alternate&&p.delete(null===v.key?g:v.key),s=o(v,s,g),null===f?c=v:f.sibling=v,f=v);return e&&p.forEach(function(e){return t(i,e)}),ci&&ri(i,g),c}(l,u,c=b.call(c),f)}if("function"==typeof c.then)return v(l,u,lo(c),f);if(c.$$typeof===w)return v(l,u,Ni(l,c),f);co(l,c)}return"string"==typeof c&&""!==c||"number"==typeof c||"bigint"==typeof c?(c=""+c,null!==u&&6===u.tag?(n(l,u.sibling),(f=i(u,c)).return=l,l=f):(n(l,u),(f=qr(c,l.mode,f)).return=l,l=f),s(l)):n(l,u)}return function(e,t,n,r){try{so=0;var i=v(e,t,n,r);return ao=null,i}catch(a){if(a===Yi||a===Ji)throw a;var o=Mr(29,a,null,e.mode);return o.lanes=r,o.return=e,o}}}var ho=fo(!0),po=fo(!1),go=!1;function mo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function yo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function vo(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function bo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&du){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=Tr(e),jr(e,null,n),t}return Ar(e,r,t,n),Tr(e)}function wo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194048&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,je(e,n)}}function So(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,callbacks:r.callbacks},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var ko=!1;function xo(){if(ko&&null!==qi)throw qi}function _o(e,t,n,r){ko=!1;var i=e.updateQueue;go=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,u=l.next;l.next=null,null===a?o=u:a.next=u,a=l;var c=e.alternate;null!==c&&(s=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l)}if(null!==o){var f=i.baseState;for(a=0,c=u=l=null,s=o;;){var h=-536870913&s.lane,p=h!==s.lane;if(p?(gu&h)===h:(r&h)===h){0!==h&&h===Bi&&(ko=!0),null!==c&&(c=c.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var g=e,m=s;h=t;var y=n;switch(m.tag){case 1:if("function"==typeof(g=m.payload)){f=g.call(y,f,h);break e}f=g;break e;case 3:g.flags=-65537&g.flags|128;case 0:if(null==(h="function"==typeof(g=m.payload)?g.call(y,f,h):g))break e;f=d({},f,h);break e;case 2:go=!0}}null!==(h=s.callback)&&(e.flags|=64,p&&(e.flags|=8192),null===(p=i.callbacks)?i.callbacks=[h]:p.push(h))}else p={lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=p,l=f):c=c.next=p,a|=h;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(p=s).next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}null===c&&(l=f),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,null===o&&(i.shared.lanes=0),xu|=a,e.lanes=a,e.memoizedState=f}}function Co(e,t){if("function"!=typeof e)throw Error(a(191,e));e.call(t)}function Eo(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)Co(n[e],t)}var Oo=$(null),Po=$(0);function zo(e,t){F(Po,e=Su),F(Oo,t),Su=e|t.baseLanes}function Ao(){F(Po,Su),F(Oo,Oo.current)}function Lo(){Su=Po.current,D(Oo),D(Po)}var No=$(null),jo=null;function To(e){var t=e.alternate;F(Do,1&Do.current),F(No,e),null===jo&&(null===t||null!==Oo.current||null!==t.memoizedState)&&(jo=e)}function Io(e){F(Do,Do.current),F(No,e),null===jo&&(jo=e)}function Ro(e){22===e.tag?(F(Do,Do.current),F(No,e),null===jo&&(jo=e)):Mo()}function Mo(){F(Do,Do.current),F(No,No.current)}function $o(e){D(No),jo===e&&(jo=null),D(Do)}var Do=$(0);function Fo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||Lf(n)||Nf(n)))return t}else if(19!==t.tag||"forwards"!==t.memoizedProps.revealOrder&&"backwards"!==t.memoizedProps.revealOrder&&"unstable_legacy-backwards"!==t.memoizedProps.revealOrder&&"together"!==t.memoizedProps.revealOrder){if(null!==t.child){t.child.return=t,t=t.child;continue}}else if(128&t.flags)return t;if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Uo=0,Bo=null,qo=null,Ho=null,Vo=!1,Wo=!1,Qo=!1,Ko=0,Go=0,Yo=null,Xo=0;function Jo(){throw Error(a(321))}function Zo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Xn(e[n],t[n]))return!1;return!0}function ea(e,t,n,r,i,o){return Uo=o,Bo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,j.H=null===e||null===e.memoizedState?gs:ms,Qo=!1,o=n(r,i),Qo=!1,Wo&&(o=na(t,n,r,i)),ta(e),o}function ta(e){j.H=ps;var t=null!==qo&&null!==qo.next;if(Uo=0,Ho=qo=Bo=null,Vo=!1,Go=0,Yo=null,t)throw Error(a(300));null===e||Ns||null!==(e=e.dependencies)&&zi(e)&&(Ns=!0)}function na(e,t,n,r){Bo=e;var i=0;do{if(Wo&&(Yo=null),Go=0,Wo=!1,25<=i)throw Error(a(301));if(i+=1,Ho=qo=null,null!=e.updateQueue){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,null!=o.memoCache&&(o.memoCache.index=0)}j.H=ys,o=t(n,r)}while(Wo);return o}function ra(){var e=j.H,t=e.useState()[0];return t="function"==typeof t.then?ua(t):t,e=e.useState()[0],(null!==qo?qo.memoizedState:null)!==e&&(Bo.flags|=1024),t}function ia(){var e=0!==Ko;return Ko=0,e}function oa(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function aa(e){if(Vo){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}Vo=!1}Uo=0,Ho=qo=Bo=null,Wo=!1,Go=Ko=0,Yo=null}function sa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ho?Bo.memoizedState=Ho=e:Ho=Ho.next=e,Ho}function la(){if(null===qo){var e=Bo.alternate;e=null!==e?e.memoizedState:null}else e=qo.next;var t=null===Ho?Bo.memoizedState:Ho.next;if(null!==t)Ho=t,qo=e;else{if(null===e){if(null===Bo.alternate)throw Error(a(467));throw Error(a(310))}e={memoizedState:(qo=e).memoizedState,baseState:qo.baseState,baseQueue:qo.baseQueue,queue:qo.queue,next:null},null===Ho?Bo.memoizedState=Ho=e:Ho=Ho.next=e}return Ho}function ua(e){var t=Go;return Go+=1,null===Yo&&(Yo=[]),e=to(Yo,e,t),t=Bo,null===(null===Ho?t.memoizedState:Ho.next)&&(t=t.alternate,j.H=null===t||null===t.memoizedState?gs:ms),e}function ca(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return ua(e);if(e.$$typeof===w)return Li(e)}throw Error(a(438,String(e)))}function fa(e){var t=null,n=Bo.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=Bo.alternate;null!==r&&null!==(r=r.updateQueue)&&null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})}if(null==t&&(t={data:[],index:0}),null===n&&(n={lastEffect:null,events:null,stores:null,memoCache:null},Bo.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=O;return t.index++,n}function da(e,t){return"function"==typeof t?t(e):t}function ha(e){return pa(la(),qo,e)}function pa(e,t,n){var r=e.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=n;var i=e.baseQueue,o=r.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}t.baseQueue=i=o,r.pending=null}if(o=e.baseState,null===i)e.memoizedState=o;else{var l=s=null,u=null,c=t=i.next,f=!1;do{var d=-536870913&c.lane;if(d!==c.lane?(gu&d)===d:(Uo&d)===d){var h=c.revertLane;if(0===h)null!==u&&(u=u.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),d===Bi&&(f=!0);else{if((Uo&h)===h){c=c.next,h===Bi&&(f=!0);continue}d={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=d,s=o):u=u.next=d,Bo.lanes|=h,xu|=h}d=c.action,Qo&&n(o,d),o=c.hasEagerState?c.eagerState:n(o,d)}else h={lane:d,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=h,s=o):u=u.next=h,Bo.lanes|=d,xu|=d;c=c.next}while(null!==c&&c!==t);if(null===u?s=o:u.next=l,!Xn(o,e.memoizedState)&&(Ns=!0,f&&null!==(n=qi)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=u,r.lastRenderedState=o}return null===i&&(r.lanes=0),[e.memoizedState,r.dispatch]}function ga(e){var t=la(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);Xn(o,t.memoizedState)||(Ns=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ma(e,t,n){var r=Bo,i=la(),o=ci;if(o){if(void 0===n)throw Error(a(407));n=n()}else n=t();var s=!Xn((qo||i).memoizedState,n);if(s&&(i.memoizedState=n,Ns=!0),i=i.queue,Ua(ba.bind(null,r,i,e),[e]),i.getSnapshot!==t||s||null!==Ho&&1&Ho.memoizedState.tag){if(r.flags|=2048,Ra(9,{destroy:void 0},va.bind(null,r,i,n,t),null),null===hu)throw Error(a(349));o||127&Uo||ya(r,t,n)}return n}function ya(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=Bo.updateQueue)?(t={lastEffect:null,events:null,stores:null,memoCache:null},Bo.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function va(e,t,n,r){t.value=n,t.getSnapshot=r,wa(t)&&Sa(e)}function ba(e,t,n){return n(function(){wa(t)&&Sa(e)})}function wa(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Xn(e,n)}catch(r){return!0}}function Sa(e){var t=Nr(e,2);null!==t&&Qu(t,0,2)}function ka(e){var t=sa();if("function"==typeof e){var n=e;if(e=n(),Qo){ve(!0);try{n()}finally{ve(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:da,lastRenderedState:e},t}function xa(e,t,n,r){return e.baseState=n,pa(e,qo,"function"==typeof r?r:da)}function _a(e,t,n,r,i){if(fs(e))throw Error(a(485));if(null!==(e=t.action)){var o={payload:i,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};null!==j.T?n(!0):o.isTransition=!1,r(o),null===(n=t.pending)?(o.next=t.pending=o,Ca(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Ca(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var o=j.T,a={};j.T=a;try{var s=n(i,r),l=j.S;null!==l&&l(a,s),Ea(e,t,s)}catch(u){Pa(e,t,u)}finally{null!==o&&null!==a.types&&(o.types=a.types),j.T=o}}else try{Ea(e,t,o=n(i,r))}catch(c){Pa(e,t,c)}}function Ea(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){Oa(e,t,n)},function(n){return Pa(e,t,n)}):Oa(e,t,n)}function Oa(e,t,n){t.status="fulfilled",t.value=n,za(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,Ca(e,n)))}function Pa(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do{t.status="rejected",t.reason=n,za(t),t=t.next}while(t!==r)}e.action=null}function za(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Aa(e,t){return t}function La(e,t){if(ci){var n=hu.formState;if(null!==n){e:{var r=Bo;if(ci){if(ui){t:{for(var i=ui,o=di;8!==i.nodeType;){if(!o){i=null;break t}if(null===(i=jf(i.nextSibling))){i=null;break t}}i="F!"===(o=i.data)||"F"===o?i:null}if(i){ui=jf(i.nextSibling),r="F!"===i.data;break e}}pi(r)}r=!1}r&&(t=n[0])}}return(n=sa()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Aa,lastRenderedState:t},n.queue=r,n=ls.bind(null,Bo,r),r.dispatch=n,r=ka(!1),o=cs.bind(null,Bo,!1,r.queue),i={state:t,dispatch:null,action:e,pending:null},(r=sa()).queue=i,n=_a.bind(null,Bo,i,o,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function Na(e){return ja(la(),qo,e)}function ja(e,t,n){if(t=pa(e,t,Aa)[0],e=ha(da)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=ua(t)}catch(a){if(a===Yi)throw Ji;throw a}else r=t;var i=(t=la()).queue,o=i.dispatch;return n!==t.memoizedState&&(Bo.flags|=2048,Ra(9,{destroy:void 0},Ta.bind(null,i,n),null)),[r,o,e]}function Ta(e,t){e.action=t}function Ia(e){var t=la(),n=qo;if(null!==n)return ja(t,n,e);la(),t=t.memoizedState;var r=(n=la()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function Ra(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=Bo.updateQueue)&&(t={lastEffect:null,events:null,stores:null,memoCache:null},Bo.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ma(){return la().memoizedState}function $a(e,t,n,r){var i=sa();Bo.flags|=e,i.memoizedState=Ra(1|t,{destroy:void 0},n,void 0===r?null:r)}function Da(e,t,n,r){var i=la();r=void 0===r?null:r;var o=i.memoizedState.inst;null!==qo&&null!==r&&Zo(r,qo.memoizedState.deps)?i.memoizedState=Ra(t,o,n,r):(Bo.flags|=e,i.memoizedState=Ra(1|t,o,n,r))}function Fa(e,t){$a(8390656,8,e,t)}function Ua(e,t){Da(2048,8,e,t)}function Ba(e){var t=la().memoizedState;return function(e){Bo.flags|=4;var t=Bo.updateQueue;if(null===t)t={lastEffect:null,events:null,stores:null,memoCache:null},Bo.updateQueue=t,t.events=[e];else{var n=t.events;null===n?t.events=[e]:n.push(e)}}({ref:t,nextImpl:e}),function(){if(2&du)throw Error(a(440));return t.impl.apply(void 0,arguments)}}function qa(e,t){return Da(4,2,e,t)}function Ha(e,t){return Da(4,4,e,t)}function Va(e,t){if("function"==typeof t){e=e();var n=t(e);return function(){"function"==typeof n?n():t(null)}}if(null!=t)return e=e(),t.current=e,function(){t.current=null}}function Wa(e,t,n){n=null!=n?n.concat([e]):null,Da(4,4,Va.bind(null,t,e),n)}function Qa(){}function Ka(e,t){var n=la();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&Zo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ga(e,t){var n=la();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&Zo(t,r[1]))return r[0];if(r=e(),Qo){ve(!0);try{e()}finally{ve(!1)}}return n.memoizedState=[r,t],r}function Ya(e,t,n){return void 0===n||1073741824&Uo&&!(261930&gu)?e.memoizedState=t:(e.memoizedState=n,e=Wu(),Bo.lanes|=e,xu|=e,n)}function Xa(e,t,n,r){return Xn(n,t)?n:null!==Oo.current?(e=Ya(e,n,r),Xn(e,t)||(Ns=!0),e):42&Uo&&(!(1073741824&Uo)||261930&gu)?(e=Wu(),Bo.lanes|=e,xu|=e,t):(Ns=!0,e.memoizedState=n)}function Ja(e,t,n,r,i){var o=T.p;T.p=0!==o&&8>o?o:8;var a,s,l,u=j.T,c={};j.T=c,cs(e,!1,t,n);try{var f=i(),d=j.S;null!==d&&d(c,f),null!==f&&"object"==typeof f&&"function"==typeof f.then?us(e,t,(a=r,s=[],l={status:"pending",value:null,reason:null,then:function(e){s.push(e)}},f.then(function(){l.status="fulfilled",l.value=a;for(var e=0;e<s.length;e++)(0,s[e])(a)},function(e){for(l.status="rejected",l.reason=e,e=0;e<s.length;e++)(0,s[e])(void 0)}),l),Vu()):us(e,t,r,Vu())}catch(h){us(e,t,{then:function(){},status:"rejected",reason:h},Vu())}finally{T.p=o,null!==u&&null!==c.types&&(u.types=c.types),j.T=u}}function Za(){}function es(e,t,n,r){if(5!==e.tag)throw Error(a(476));var i=ts(e).queue;Ja(e,i,t,I,null===n?Za:function(){return ns(e),n(r)})}function ts(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:I,baseState:I,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:da,lastRenderedState:I},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:da,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function ns(e){var t=ts(e);null===t.next&&(t=e.alternate.memoizedState),us(e,t.next.queue,{},Vu())}function rs(){return Li(cd)}function is(){return la().memoizedState}function os(){return la().memoizedState}function as(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=Vu(),r=bo(t,e=vo(n),n);return null!==r&&(Qu(r,0,n),wo(r,t,n)),t={cache:$i()},void(e.payload=t)}t=t.return}}function ss(e,t,n){var r=Vu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},fs(e)?ds(t,n):null!==(n=Lr(e,t,n,r))&&(Qu(n,0,r),hs(n,t,r))}function ls(e,t,n){us(e,t,n,Vu())}function us(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(fs(e))ds(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,Xn(s,a))return Ar(e,t,i,0),null===hu&&zr(),!1}catch(l){}if(null!==(n=Lr(e,t,i,r)))return Qu(n,0,r),hs(n,t,r),!0}return!1}function cs(e,t,n,r){if(r={lane:2,revertLane:Uc(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},fs(e)){if(t)throw Error(a(479))}else null!==(t=Lr(e,n,r,2))&&Qu(t,0,2)}function fs(e){var t=e.alternate;return e===Bo||null!==t&&t===Bo}function ds(e,t){Wo=Vo=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function hs(e,t,n){if(4194048&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,je(e,n)}}var ps={readContext:Li,use:ca,useCallback:Jo,useContext:Jo,useEffect:Jo,useImperativeHandle:Jo,useLayoutEffect:Jo,useInsertionEffect:Jo,useMemo:Jo,useReducer:Jo,useRef:Jo,useState:Jo,useDebugValue:Jo,useDeferredValue:Jo,useTransition:Jo,useSyncExternalStore:Jo,useId:Jo,useHostTransitionStatus:Jo,useFormState:Jo,useActionState:Jo,useOptimistic:Jo,useMemoCache:Jo,useCacheRefresh:Jo};ps.useEffectEvent=Jo;var gs={readContext:Li,use:ca,useCallback:function(e,t){return sa().memoizedState=[e,void 0===t?null:t],e},useContext:Li,useEffect:Fa,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,$a(4194308,4,Va.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $a(4194308,4,e,t)},useInsertionEffect:function(e,t){$a(4,2,e,t)},useMemo:function(e,t){var n=sa();t=void 0===t?null:t;var r=e();if(Qo){ve(!0);try{e()}finally{ve(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=sa();if(void 0!==n){var i=n(t);if(Qo){ve(!0);try{n(t)}finally{ve(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=ss.bind(null,Bo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},sa().memoizedState=e},useState:function(e){var t=(e=ka(e)).queue,n=ls.bind(null,Bo,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Qa,useDeferredValue:function(e,t){return Ya(sa(),e,t)},useTransition:function(){var e=ka(!1);return e=Ja.bind(null,Bo,e.queue,!0,!1),sa().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=Bo,i=sa();if(ci){if(void 0===n)throw Error(a(407));n=n()}else{if(n=t(),null===hu)throw Error(a(349));127&gu||ya(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Fa(ba.bind(null,r,o,e),[e]),r.flags|=2048,Ra(9,{destroy:void 0},va.bind(null,r,o,n,t),null),n},useId:function(){var e=sa(),t=hu.identifierPrefix;if(ci){var n=ni;t="_"+t+"R_"+(n=(ti&~(1<<32-be(ti)-1)).toString(32)+n),0<(n=Ko++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=Xo++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:rs,useFormState:La,useActionState:La,useOptimistic:function(e){var t=sa();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=cs.bind(null,Bo,!0,n),n.dispatch=t,[e,t]},useMemoCache:fa,useCacheRefresh:function(){return sa().memoizedState=as.bind(null,Bo)},useEffectEvent:function(e){var t=sa(),n={impl:e};return t.memoizedState=n,function(){if(2&du)throw Error(a(440));return n.impl.apply(void 0,arguments)}}},ms={readContext:Li,use:ca,useCallback:Ka,useContext:Li,useEffect:Ua,useImperativeHandle:Wa,useInsertionEffect:qa,useLayoutEffect:Ha,useMemo:Ga,useReducer:ha,useRef:Ma,useState:function(){return ha(da)},useDebugValue:Qa,useDeferredValue:function(e,t){return Xa(la(),qo.memoizedState,e,t)},useTransition:function(){var e=ha(da)[0],t=la().memoizedState;return["boolean"==typeof e?e:ua(e),t]},useSyncExternalStore:ma,useId:is,useHostTransitionStatus:rs,useFormState:Na,useActionState:Na,useOptimistic:function(e,t){return xa(la(),0,e,t)},useMemoCache:fa,useCacheRefresh:os};ms.useEffectEvent=Ba;var ys={readContext:Li,use:ca,useCallback:Ka,useContext:Li,useEffect:Ua,useImperativeHandle:Wa,useInsertionEffect:qa,useLayoutEffect:Ha,useMemo:Ga,useReducer:ga,useRef:Ma,useState:function(){return ga(da)},useDebugValue:Qa,useDeferredValue:function(e,t){var n=la();return null===qo?Ya(n,e,t):Xa(n,qo.memoizedState,e,t)},useTransition:function(){var e=ga(da)[0],t=la().memoizedState;return["boolean"==typeof e?e:ua(e),t]},useSyncExternalStore:ma,useId:is,useHostTransitionStatus:rs,useFormState:Ia,useActionState:Ia,useOptimistic:function(e,t){var n=la();return null!==qo?xa(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:fa,useCacheRefresh:os};function vs(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:d({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}ys.useEffectEvent=Ba;var bs={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Vu(),i=vo(r);i.payload=t,null!=n&&(i.callback=n),null!==(t=bo(e,i,r))&&(Qu(t,0,r),wo(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Vu(),i=vo(r);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=bo(e,i,r))&&(Qu(t,0,r),wo(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Vu(),r=vo(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=bo(e,r,n))&&(Qu(t,0,n),wo(t,e,n))}};function ws(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!(t.prototype&&t.prototype.isPureReactComponent&&Jn(n,r)&&Jn(i,o))}function Ss(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&&bs.enqueueReplaceState(t,t.state,null)}function ks(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=d({},n)),e)void 0===n[i]&&(n[i]=e[i]);return n}function xs(e){Cr(e)}function _s(e){}function Cs(e){Cr(e)}function Es(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function Os(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function Ps(e,t,n){return(n=vo(n)).tag=3,n.payload={element:null},n.callback=function(){Es(e,t)},n}function zs(e){return(e=vo(e)).tag=3,e}function As(e,t,n,r){var i=n.type.getDerivedStateFromError;if("function"==typeof i){var o=r.value;e.payload=function(){return i(o)},e.callback=function(){Os(t,n,r)}}var a=n.stateNode;null!==a&&"function"==typeof a.componentDidCatch&&(e.callback=function(){Os(t,n,r),"function"!=typeof i&&(null===Iu?Iu=new Set([this]):Iu.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var Ls=Error(a(461)),Ns=!1;function js(e,t,n,r){t.child=null===e?po(t,null,n,r):ho(t,e.child,n,r)}function Ts(e,t,n,r,i){n=n.render;var o=t.ref;if("ref"in r){var a={};for(var s in r)"ref"!==s&&(a[s]=r[s])}else a=r;return Ai(t),r=ea(e,t,n,a,o,i),s=ia(),null===e||Ns?(ci&&s&&oi(t),t.flags|=1,js(e,t,r,i),t.child):(oa(e,t,i),rl(e,t,i))}function Is(e,t,n,r,i){if(null===e){var o=n.type;return"function"!=typeof o||$r(o)||void 0!==o.defaultProps||null!==n.compare?((e=Ur(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Rs(e,t,o,r,i))}if(o=e.child,!il(e,i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:Jn)(a,r)&&e.ref===t.ref)return rl(e,t,i)}return t.flags|=1,(e=Dr(o,r)).ref=t.ref,e.return=t,t.child=e}function Rs(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(Jn(o,r)&&e.ref===t.ref){if(Ns=!1,t.pendingProps=r=o,!il(e,i))return t.lanes=e.lanes,rl(e,t,i);131072&e.flags&&(Ns=!0)}}return qs(e,t,n,r,i)}function Ms(e,t,n,r){var i=r.children,o=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===r.mode){if(128&t.flags){if(o=null!==o?o.baseLanes|n:n,null!==e){for(r=t.child=e.child,i=0;null!==r;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~o}else r=0,t.child=null;return Ds(e,t,o,n,r)}if(!(536870912&n))return r=t.lanes=536870912,Ds(e,t,null!==o?o.baseLanes|n:n,n,r);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&Ki(0,null!==o?o.cachePool:null),null!==o?zo(t,o):Ao(),Ro(t)}else null!==o?(Ki(0,o.cachePool),zo(t,o),Mo(),t.memoizedState=null):(null!==e&&Ki(0,null),Ao(),Mo());return js(e,t,i,n),t.child}function $s(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Ds(e,t,n,r,i){var o=Qi();return o=null===o?null:{parent:Mi._currentValue,pool:o},t.memoizedState={baseLanes:n,cachePool:o},null!==e&&Ki(0,null),Ao(),Ro(t),null!==e&&Pi(e,t,r,!0),t.childLanes=i,null}function Fs(e,t){return(t=Js({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function Us(e,t,n){return ho(t,e.child,null,n),(e=Fs(t,t.pendingProps)).flags|=2,$o(t),t.memoizedState=null,e}function Bs(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(a(284));null!==e&&e.ref===n||(t.flags|=4194816)}}function qs(e,t,n,r,i){return Ai(t),n=ea(e,t,n,r,void 0,i),r=ia(),null===e||Ns?(ci&&r&&oi(t),t.flags|=1,js(e,t,n,i),t.child):(oa(e,t,i),rl(e,t,i))}function Hs(e,t,n,r,i,o){return Ai(t),t.updateQueue=null,n=na(t,r,n,i),ta(e),r=ia(),null===e||Ns?(ci&&r&&oi(t),t.flags|=1,js(e,t,n,o),t.child):(oa(e,t,o),rl(e,t,o))}function Vs(e,t,n,r,i){if(Ai(t),null===t.stateNode){var o=Ir,a=n.contextType;"object"==typeof a&&null!==a&&(o=Li(a)),o=new n(r,o),t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,o.updater=bs,t.stateNode=o,o._reactInternals=t,(o=t.stateNode).props=r,o.state=t.memoizedState,o.refs={},mo(t),a=n.contextType,o.context="object"==typeof a&&null!==a?Li(a):Ir,o.state=t.memoizedState,"function"==typeof(a=n.getDerivedStateFromProps)&&(vs(t,n,a,r),o.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(a=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),a!==o.state&&bs.enqueueReplaceState(o,o.state,null),_o(t,r,o,i),xo(),o.state=t.memoizedState),"function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){o=t.stateNode;var s=t.memoizedProps,l=ks(n,s);o.props=l;var u=o.context,c=n.contextType;a=Ir,"object"==typeof c&&null!==c&&(a=Li(c));var f=n.getDerivedStateFromProps;c="function"==typeof f||"function"==typeof o.getSnapshotBeforeUpdate,s=t.pendingProps!==s,c||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s||u!==a)&&Ss(t,o,r,a),go=!1;var d=t.memoizedState;o.state=d,_o(t,r,o,i),xo(),u=t.memoizedState,s||d!==u||go?("function"==typeof f&&(vs(t,n,f,r),u=t.memoizedState),(l=go||ws(t,n,l,r,d,u,a))?(c||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),o.props=r,o.state=u,o.context=a,r=l):("function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,yo(e,t),c=ks(n,a=t.memoizedProps),o.props=c,f=t.pendingProps,d=o.context,u=n.contextType,l=Ir,"object"==typeof u&&null!==u&&(l=Li(u)),(u="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(a!==f||d!==l)&&Ss(t,o,r,l),go=!1,d=t.memoizedState,o.state=d,_o(t,r,o,i),xo();var h=t.memoizedState;a!==f||d!==h||go||null!==e&&null!==e.dependencies&&zi(e.dependencies)?("function"==typeof s&&(vs(t,n,s,r),h=t.memoizedState),(c=go||ws(t,n,c,r,d,h,l)||null!==e&&null!==e.dependencies&&zi(e.dependencies))?(u||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,h,l),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),o.props=r,o.state=h,o.context=l,r=c):("function"!=typeof o.componentDidUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return o=r,Bs(e,t),r=!!(128&t.flags),o||r?(o=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:o.render(),t.flags|=1,null!==e&&r?(t.child=ho(t,e.child,null,i),t.child=ho(t,null,n,i)):js(e,t,n,i),t.memoizedState=o.state,e=t.child):e=rl(e,t,i),e}function Ws(e,t,n,r){return vi(),t.flags|=256,js(e,t,n,r),t.child}var Qs={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ks(e){return{baseLanes:e,cachePool:Gi()}}function Gs(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=Eu),e}function Ys(e,t,n){var r,i=t.pendingProps,o=!1,s=!!(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&!!(2&Do.current)),r&&(o=!0,t.flags&=-129),r=!!(32&t.flags),t.flags&=-33,null===e){if(ci){if(o?To(t):Mo(),(e=ui)?null!==(e=null!==(e=Af(e,di))&&"&"!==e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==ei?{id:ti,overflow:ni}:null,retryLane:536870912,hydrationErrors:null},(n=Hr(e)).return=t,t.child=n,li=t,ui=null):e=null,null===e)throw pi(t);return Nf(e)?t.lanes=32:t.lanes=536870912,null}var l=i.children;return i=i.fallback,o?(Mo(),l=Js({mode:"hidden",children:l},o=t.mode),i=Br(i,o,n,null),l.return=t,i.return=t,l.sibling=i,t.child=l,(i=t.child).memoizedState=Ks(n),i.childLanes=Gs(e,r,n),t.memoizedState=Qs,$s(null,i)):(To(t),Xs(t,l))}var u=e.memoizedState;if(null!==u&&null!==(l=u.dehydrated)){if(s)256&t.flags?(To(t),t.flags&=-257,t=Zs(e,t,n)):null!==t.memoizedState?(Mo(),t.child=e.child,t.flags|=128,t=null):(Mo(),l=i.fallback,o=t.mode,i=Js({mode:"visible",children:i.children},o),(l=Br(l,o,n,null)).flags|=2,i.return=t,l.return=t,i.sibling=l,t.child=i,ho(t,e.child,null,n),(i=t.child).memoizedState=Ks(n),i.childLanes=Gs(e,r,n),t.memoizedState=Qs,t=$s(null,i));else if(To(t),Nf(l)){if(r=l.nextSibling&&l.nextSibling.dataset)var c=r.dgst;r=c,(i=Error(a(419))).stack="",i.digest=r,wi({value:i,source:null,stack:null}),t=Zs(e,t,n)}else if(Ns||Pi(e,t,n,!1),r=0!==(n&e.childLanes),Ns||r){if(null!==(r=hu)&&0!==(i=Te(r,n))&&i!==u.retryLane)throw u.retryLane=i,Nr(e,i),Qu(r,0,i),Ls;Lf(l)||oc(),t=Zs(e,t,n)}else Lf(l)?(t.flags|=192,t.child=e.child,t=null):(e=u.treeContext,ui=jf(l.nextSibling),li=t,ci=!0,fi=null,di=!1,null!==e&&si(t,e),(t=Xs(t,i.children)).flags|=4096);return t}return o?(Mo(),l=i.fallback,o=t.mode,c=(u=e.child).sibling,(i=Dr(u,{mode:"hidden",children:i.children})).subtreeFlags=65011712&u.subtreeFlags,null!==c?l=Dr(c,l):(l=Br(l,o,n,null)).flags|=2,l.return=t,i.return=t,i.sibling=l,t.child=i,$s(null,i),i=t.child,null===(l=e.child.memoizedState)?l=Ks(n):(null!==(o=l.cachePool)?(u=Mi._currentValue,o=o.parent!==u?{parent:u,pool:u}:o):o=Gi(),l={baseLanes:l.baseLanes|n,cachePool:o}),i.memoizedState=l,i.childLanes=Gs(e,r,n),t.memoizedState=Qs,$s(e.child,i)):(To(t),e=(n=e.child).sibling,(n=Dr(n,{mode:"visible",children:i.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function Xs(e,t){return(t=Js({mode:"visible",children:t},e.mode)).return=e,e.child=t}function Js(e,t){return(e=Mr(22,e,null,t)).lanes=0,e}function Zs(e,t,n){return ho(t,e.child,null,n),(e=Xs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function el(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ei(e.return,t,n)}function tl(e,t,n,r,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i,a.treeForkCount=o)}function nl(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;r=r.children;var a=Do.current,s=!!(2&a);if(s?(a=1&a|2,t.flags|=128):a&=1,F(Do,a),js(e,t,r,n),r=ci?Xr:0,!s&&null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&el(e,n,t);else if(19===e.tag)el(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}switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Fo(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),tl(t,!1,i,n,o,r);break;case"backwards":case"unstable_legacy-backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Fo(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}tl(t,!0,n,null,o,r);break;case"together":tl(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function rl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),xu|=t.lanes,0===(n&t.childLanes)){if(null===e)return null;if(Pi(e,t,n,!1),0===(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Dr(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Dr(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function il(e,t){return 0!==(e.lanes&t)||!(null===(e=e.dependencies)||!zi(e))}function ol(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)Ns=!0;else{if(!(il(e,n)||128&t.flags))return Ns=!1,function(e,t,n){switch(t.tag){case 3:Q(t,t.stateNode.containerInfo),_i(0,Mi,e.memoizedState.cache),vi();break;case 27:case 5:G(t);break;case 4:Q(t,t.stateNode.containerInfo);break;case 10:_i(0,t.type,t.memoizedProps.value);break;case 31:if(null!==t.memoizedState)return t.flags|=128,Io(t),null;break;case 13:var r=t.memoizedState;if(null!==r)return null!==r.dehydrated?(To(t),t.flags|=128,null):0!==(n&t.child.childLanes)?Ys(e,t,n):(To(t),null!==(e=rl(e,t,n))?e.sibling:null);To(t);break;case 19:var i=!!(128&e.flags);if((r=0!==(n&t.childLanes))||(Pi(e,t,n,!1),r=0!==(n&t.childLanes)),i){if(r)return nl(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),F(Do,Do.current),r)break;return null;case 22:return t.lanes=0,Ms(e,t,n,t.pendingProps);case 24:_i(0,Mi,e.memoizedState.cache)}return rl(e,t,n)}(e,t,n);Ns=!!(131072&e.flags)}else Ns=!1,ci&&1048576&t.flags&&ii(t,Xr,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=no(t.elementType),t.type=e,"function"!=typeof e){if(null!=e){var i=e.$$typeof;if(i===S){t.tag=11,t=Ts(null,t,e,r,n);break e}if(i===_){t.tag=14,t=Is(null,t,e,r,n);break e}}throw t=L(e)||e,Error(a(306,t,""))}$r(e)?(r=ks(e,r),t.tag=1,t=Vs(null,t,e,r,n)):(t.tag=0,t=qs(null,t,e,r,n))}return t;case 0:return qs(e,t,t.type,t.pendingProps,n);case 1:return Vs(e,t,r=t.type,i=ks(r,t.pendingProps),n);case 3:e:{if(Q(t,t.stateNode.containerInfo),null===e)throw Error(a(387));r=t.pendingProps;var o=t.memoizedState;i=o.element,yo(e,t),_o(t,r,null,n);var s=t.memoizedState;if(r=s.cache,_i(0,Mi,r),r!==o.cache&&Oi(t,[Mi],n,!0),xo(),r=s.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=Ws(e,t,r,n);break e}if(r!==i){wi(i=Qr(Error(a(424)),t)),t=Ws(e,t,r,n);break e}for(e=9===(e=t.stateNode.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,ui=jf(e.firstChild),li=t,ci=!0,fi=null,di=!0,n=po(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(vi(),r===i){t=rl(e,t,n);break e}js(e,t,r,n)}t=t.child}return t;case 26:return Bs(e,t),null===e?(n=Vf(t.type,null,t.pendingProps,null))?t.memoizedState=n:ci||(n=t.type,e=t.pendingProps,(r=mf(V.current).createElement(n))[Fe]=t,r[Ue]=e,df(r,n,e),Ze(r),t.stateNode=r):t.memoizedState=Vf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return G(t),null===e&&ci&&(r=t.stateNode=Mf(t.type,t.pendingProps,V.current),li=t,di=!0,i=ui,Ef(t.type)?(Tf=i,ui=jf(r.firstChild)):ui=i),js(e,t,t.pendingProps.children,n),Bs(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&ci&&((i=r=ui)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[Qe])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(o=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(o!==i.rel||e.getAttribute("href")!==(null==i.href||""===i.href?null:i.href)||e.getAttribute("crossorigin")!==(null==i.crossOrigin?null:i.crossOrigin)||e.getAttribute("title")!==(null==i.title?null:i.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((o=e.getAttribute("src"))!==(null==i.src?null:i.src)||e.getAttribute("type")!==(null==i.type?null:i.type)||e.getAttribute("crossorigin")!==(null==i.crossOrigin?null:i.crossOrigin))&&o&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var o=null==i.name?null:""+i.name;if("hidden"===i.type&&e.getAttribute("name")===o)return e}if(null===(e=jf(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,di))?(t.stateNode=r,li=t,ui=jf(r.firstChild),di=!1,i=!0):i=!1),i||pi(t)),G(t),i=t.type,o=t.pendingProps,s=null!==e?e.memoizedProps:null,r=o.children,bf(i,o)?r=null:null!==s&&bf(i,s)&&(t.flags|=32),null!==t.memoizedState&&(i=ea(e,t,ra,null,null,n),cd._currentValue=i),Bs(e,t),js(e,t,r,n),t.child;case 6:return null===e&&ci&&((e=n=ui)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n)return null;if(null===(e=jf(e.nextSibling)))return null}return e}(n,t.pendingProps,di))?(t.stateNode=n,li=t,ui=null,e=!0):e=!1),e||pi(t)),null;case 13:return Ys(e,t,n);case 4:return Q(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ho(t,null,r,n):js(e,t,r,n),t.child;case 11:return Ts(e,t,t.type,t.pendingProps,n);case 7:return js(e,t,t.pendingProps,n),t.child;case 8:case 12:return js(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,_i(0,t.type,r.value),js(e,t,r.children,n),t.child;case 9:return i=t.type._context,r=t.pendingProps.children,Ai(t),r=r(i=Li(i)),t.flags|=1,js(e,t,r,n),t.child;case 14:return Is(e,t,t.type,t.pendingProps,n);case 15:return Rs(e,t,t.type,t.pendingProps,n);case 19:return nl(e,t,n);case 31:return function(e,t,n){var r=t.pendingProps,i=!!(128&t.flags);if(t.flags&=-129,null===e){if(ci){if("hidden"===r.mode)return e=Fs(t,r),t.lanes=536870912,$s(null,e);if(Io(t),(e=ui)?null!==(e=null!==(e=Af(e,di))&&"&"===e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==ei?{id:ti,overflow:ni}:null,retryLane:536870912,hydrationErrors:null},(n=Hr(e)).return=t,t.child=n,li=t,ui=null):e=null,null===e)throw pi(t);return t.lanes=536870912,null}return Fs(t,r)}var o=e.memoizedState;if(null!==o){var s=o.dehydrated;if(Io(t),i)if(256&t.flags)t.flags&=-257,t=Us(e,t,n);else{if(null===t.memoizedState)throw Error(a(558));t.child=e.child,t.flags|=128,t=null}else if(Ns||Pi(e,t,n,!1),i=0!==(n&e.childLanes),Ns||i){if(null!==(r=hu)&&0!==(s=Te(r,n))&&s!==o.retryLane)throw o.retryLane=s,Nr(e,s),Qu(r,0,s),Ls;oc(),t=Us(e,t,n)}else e=o.treeContext,ui=jf(s.nextSibling),li=t,ci=!0,fi=null,di=!1,null!==e&&si(t,e),(t=Fs(t,r)).flags|=4096;return t}return(e=Dr(e.child,{mode:r.mode,children:r.children})).ref=t.ref,t.child=e,e.return=t,e}(e,t,n);case 22:return Ms(e,t,n,t.pendingProps);case 24:return Ai(t),r=Li(Mi),null===e?(null===(i=Qi())&&(i=hu,o=$i(),i.pooledCache=o,o.refCount++,null!==o&&(i.pooledCacheLanes|=n),i=o),t.memoizedState={parent:r,cache:i},mo(t),_i(0,Mi,i)):(0!==(e.lanes&n)&&(yo(e,t),_o(t,null,null,n),xo()),i=e.memoizedState,o=t.memoizedState,i.parent!==r?(i={parent:r,cache:r},t.memoizedState=i,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=i),_i(0,Mi,r)):(r=o.cache,_i(0,Mi,r),r!==i.cache&&Oi(t,[Mi],n,!0))),js(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(a(156,t.tag))}function al(e){e.flags|=4}function sl(e,t,n,r,i){if((t=!!(32&e.mode))&&(t=!1),t){if(e.flags|=16777216,(335544128&i)===i)if(e.stateNode.complete)e.flags|=8192;else{if(!nc())throw ro=Zi,Xi;e.flags|=8192}}else e.flags&=-16777217}function ll(e,t){if("stylesheet"!==t.type||4&t.state.loading)e.flags&=-16777217;else if(e.flags|=16777216,!id(t)){if(!nc())throw ro=Zi,Xi;e.flags|=8192}}function ul(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?ze():536870912,e.lanes|=t,Ou|=t)}function cl(e,t){if(!ci)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 fl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=65011712&i.subtreeFlags,r|=65011712&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function dl(e,t,n){var r=t.pendingProps;switch(ai(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return fl(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Ci(Mi),K(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(yi(t)?al(t):null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,bi())),fl(t),null;case 26:var i=t.type,o=t.memoizedState;return null===e?(al(t),null!==o?(fl(t),ll(t,o)):(fl(t),sl(t,i,0,0,n))):o?o!==e.memoizedState?(al(t),fl(t),ll(t,o)):(fl(t),t.flags&=-16777217):((e=e.memoizedProps)!==r&&al(t),fl(t),sl(t,i,0,0,n)),null;case 27:if(Y(t),n=V.current,i=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&al(t);else{if(!r){if(null===t.stateNode)throw Error(a(166));return fl(t),null}e=q.current,yi(t)?gi(t):(e=Mf(i,r,n),t.stateNode=e,al(t))}return fl(t),null;case 5:if(Y(t),i=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&al(t);else{if(!r){if(null===t.stateNode)throw Error(a(166));return fl(t),null}if(o=q.current,yi(t))gi(t);else{var s=mf(V.current);switch(o){case 1:o=s.createElementNS("http://www.w3.org/2000/svg",i);break;case 2:o=s.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;default:switch(i){case"svg":o=s.createElementNS("http://www.w3.org/2000/svg",i);break;case"math":o=s.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;case"script":(o=s.createElement("div")).innerHTML="<script><\/script>",o=o.removeChild(o.firstChild);break;case"select":o="string"==typeof r.is?s.createElement("select",{is:r.is}):s.createElement("select"),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o="string"==typeof r.is?s.createElement(i,{is:r.is}):s.createElement(i)}}o[Fe]=t,o[Ue]=r;e:for(s=t.child;null!==s;){if(5===s.tag||6===s.tag)o.appendChild(s.stateNode);else if(4!==s.tag&&27!==s.tag&&null!==s.child){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;null===s.sibling;){if(null===s.return||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;e:switch(df(o,i,r),i){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&al(t)}}return fl(t),sl(t,t.type,null===e||e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&al(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));if(e=V.current,yi(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(i=li))switch(i.tag){case 27:case 5:r=i.memoizedProps}e[Fe]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||uf(e.nodeValue,n)))||pi(t,!0)}else(e=mf(e).createTextNode(r))[Fe]=t,t.stateNode=e}return fl(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(r=yi(t),null!==n){if(null===e){if(!r)throw Error(a(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(a(557));e[Fe]=t}else vi(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;fl(t),e=!1}else n=bi(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return 256&t.flags?($o(t),t):($o(t),null);if(128&t.flags)throw Error(a(558))}return fl(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(i=yi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(a(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(a(317));i[Fe]=t}else vi(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;fl(t),i=!1}else i=bi(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return 256&t.flags?($o(t),t):($o(t),null)}return $o(t),128&t.flags?(t.lanes=n,t):(n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(i=null,null!==(r=t.child).alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(i=r.alternate.memoizedState.cachePool.pool),o=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(o=r.memoizedState.cachePool.pool),o!==i&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),ul(t,t.updateQueue),fl(t),null);case 4:return K(),null===e&&Jc(t.stateNode.containerInfo),fl(t),null;case 10:return Ci(t.type),fl(t),null;case 19:if(D(Do),null===(r=t.memoizedState))return fl(t),null;if(i=!!(128&t.flags),null===(o=r.rendering))if(i)cl(r,!1);else{if(0!==ku||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(o=Fo(e))){for(t.flags|=128,cl(r,!1),e=o.updateQueue,t.updateQueue=e,ul(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)Fr(n,e),n=n.sibling;return F(Do,1&Do.current|2),ci&&ri(t,r.treeForkCount),t.child}e=e.sibling}null!==r.tail&&se()>ju&&(t.flags|=128,i=!0,cl(r,!1),t.lanes=4194304)}else{if(!i)if(null!==(e=Fo(o))){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,ul(t,e),cl(r,!0),null===r.tail&&"hidden"===r.tailMode&&!o.alternate&&!ci)return fl(t),null}else 2*se()-r.renderingStartTime>ju&&536870912!==n&&(t.flags|=128,i=!0,cl(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(null!==(e=r.last)?e.sibling=o:t.child=o,r.last=o)}return null!==r.tail?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=se(),e.sibling=null,n=Do.current,F(Do,i?1&n|2:1&n),ci&&ri(t,r.treeForkCount),e):(fl(t),null);case 22:case 23:return $o(t),Lo(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?!!(536870912&n)&&!(128&t.flags)&&(fl(t),6&t.subtreeFlags&&(t.flags|=8192)):fl(t),null!==(n=t.updateQueue)&&ul(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&D(Wi),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Ci(Mi),fl(t),null;case 25:case 30:return null}throw Error(a(156,t.tag))}function hl(e,t){switch(ai(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Ci(Mi),K(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return Y(t),null;case 31:if(null!==t.memoizedState){if($o(t),null===t.alternate)throw Error(a(340));vi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if($o(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));vi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return D(Do),null;case 4:return K(),null;case 10:return Ci(t.type),null;case 22:case 23:return $o(t),Lo(),null!==e&&D(Wi),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return Ci(Mi),null;default:return null}}function pl(e,t){switch(ai(t),t.tag){case 3:Ci(Mi),K();break;case 26:case 27:case 5:Y(t);break;case 4:K();break;case 31:null!==t.memoizedState&&$o(t);break;case 13:$o(t);break;case 19:D(Do);break;case 10:Ci(t.type);break;case 22:case 23:$o(t),Lo(),null!==e&&D(Wi);break;case 24:Ci(Mi)}}function gl(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var o=n.create,a=n.inst;r=o(),a.destroy=r}n=n.next}while(n!==i)}}catch(s){kc(t,t.return,s)}}function ml(e,t,n){try{var r=t.updateQueue,i=null!==r?r.lastEffect:null;if(null!==i){var o=i.next;r=o;do{if((r.tag&e)===e){var a=r.inst,s=a.destroy;if(void 0!==s){a.destroy=void 0,i=t;var l=n,u=s;try{u()}catch(c){kc(i,l,c)}}}r=r.next}while(r!==o)}}catch(c){kc(t,t.return,c)}}function yl(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{Eo(t,n)}catch(r){kc(e,e.return,r)}}}function vl(e,t,n){n.props=ks(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(r){kc(e,t,r)}}function bl(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(i){kc(e,t,i)}}function wl(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(i){kc(e,t,i)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(o){kc(e,t,o)}else n.current=null}function Sl(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break e;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(i){kc(e,e.return,i)}}function kl(e,t,n){try{var r=e.stateNode;!function(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,o=null,s=null,l=null,u=null,c=null,f=null;for(p in n){var d=n[p];if(n.hasOwnProperty(p)&&null!=d)switch(p){case"checked":case"value":break;case"defaultValue":u=d;default:r.hasOwnProperty(p)||cf(e,t,p,null,r,d)}}for(var h in r){var p=r[h];if(d=n[h],r.hasOwnProperty(h)&&(null!=p||null!=d))switch(h){case"type":o=p;break;case"name":i=p;break;case"checked":c=p;break;case"defaultChecked":f=p;break;case"value":s=p;break;case"defaultValue":l=p;break;case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(a(137,t));break;default:p!==d&&cf(e,t,h,p,r,d)}}return void yt(e,s,l,u,c,f,o,i);case"select":for(o in p=s=l=h=null,n)if(u=n[o],n.hasOwnProperty(o)&&null!=u)switch(o){case"value":break;case"multiple":p=u;default:r.hasOwnProperty(o)||cf(e,t,o,null,r,u)}for(i in r)if(o=r[i],u=n[i],r.hasOwnProperty(i)&&(null!=o||null!=u))switch(i){case"value":h=o;break;case"defaultValue":l=o;break;case"multiple":s=o;default:o!==u&&cf(e,t,i,o,r,u)}return t=l,n=s,r=p,void(null!=h?wt(e,!!n,h,!1):!!r!=!!n&&(null!=t?wt(e,!!n,t,!0):wt(e,!!n,n?[]:"",!1)));case"textarea":for(l in p=h=null,n)if(i=n[l],n.hasOwnProperty(l)&&null!=i&&!r.hasOwnProperty(l))switch(l){case"value":case"children":break;default:cf(e,t,l,null,r,i)}for(s in r)if(i=r[s],o=n[s],r.hasOwnProperty(s)&&(null!=i||null!=o))switch(s){case"value":h=i;break;case"defaultValue":p=i;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=i)throw Error(a(91));break;default:i!==o&&cf(e,t,s,i,r,o)}return void St(e,h,p);case"option":for(var g in n)h=n[g],n.hasOwnProperty(g)&&null!=h&&!r.hasOwnProperty(g)&&("selected"===g?e.selected=!1:cf(e,t,g,null,r,h));for(u in r)h=r[u],p=n[u],!r.hasOwnProperty(u)||h===p||null==h&&null==p||("selected"===u?e.selected=h&&"function"!=typeof h&&"symbol"!=typeof h:cf(e,t,u,h,r,p));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var m in n)h=n[m],n.hasOwnProperty(m)&&null!=h&&!r.hasOwnProperty(m)&&cf(e,t,m,null,r,h);for(c in r)if(h=r[c],p=n[c],r.hasOwnProperty(c)&&h!==p&&(null!=h||null!=p))switch(c){case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(a(137,t));break;default:cf(e,t,c,h,r,p)}return;default:if(Ot(t)){for(var y in n)h=n[y],n.hasOwnProperty(y)&&void 0!==h&&!r.hasOwnProperty(y)&&ff(e,t,y,void 0,r,h);for(f in r)h=r[f],p=n[f],!r.hasOwnProperty(f)||h===p||void 0===h&&void 0===p||ff(e,t,f,h,r,p);return}}for(var v in n)h=n[v],n.hasOwnProperty(v)&&null!=h&&!r.hasOwnProperty(v)&&cf(e,t,v,null,r,h);for(d in r)h=r[d],p=n[d],!r.hasOwnProperty(d)||h===p||null==h&&null==p||cf(e,t,d,h,r,p)}(r,e.type,n,t),r[Ue]=t}catch(i){kc(e,e.return,i)}}function xl(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&Ef(e.type)||4===e.tag}function _l(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||xl(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(27===e.tag&&Ef(e.type))continue e;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 Cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?(9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).insertBefore(e,t):((t=9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Lt));else if(4!==r&&(27===r&&Ef(e.type)&&(n=e.stateNode,t=null),null!==(e=e.child)))for(Cl(e,t,n),e=e.sibling;null!==e;)Cl(e,t,n),e=e.sibling}function El(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&&(27===r&&Ef(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(El(e,t,n),e=e.sibling;null!==e;)El(e,t,n),e=e.sibling}function Ol(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);df(t,r,n),t[Fe]=e,t[Ue]=n}catch(o){kc(e,e.return,o)}}var Pl=!1,zl=!1,Al=!1,Ll="function"==typeof WeakSet?WeakSet:Set,Nl=null;function jl(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Ql(e,n),4&r&&gl(5,n);break;case 1:if(Ql(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(a){kc(n,n.return,a)}else{var i=ks(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(s){kc(n,n.return,s)}}64&r&&yl(n),512&r&&bl(n,n.return);break;case 3:if(Ql(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{Eo(e,t)}catch(a){kc(n,n.return,a)}}break;case 27:null===t&&4&r&&Ol(n);case 26:case 5:Ql(e,n),null===t&&4&r&&Sl(n),512&r&&bl(n,n.return);break;case 12:Ql(e,n);break;case 31:Ql(e,n),4&r&&Dl(e,n);break;case 13:Ql(e,n),4&r&&Fl(e,n),64&r&&null!==(e=n.memoizedState)&&null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$~"===e.data)e._reactRetry=t;else if("$?"!==e.data||"loading"!==n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=Ec.bind(null,n));break;case 22:if(!(r=null!==n.memoizedState||Pl)){t=null!==t&&null!==t.memoizedState||zl,i=Pl;var o=zl;Pl=r,(zl=t)&&!o?Gl(e,n,!!(8772&n.subtreeFlags)):Ql(e,n),Pl=i,zl=o}break;case 30:break;default:Ql(e,n)}}function Tl(e){var t=e.alternate;null!==t&&(e.alternate=null,Tl(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&Ke(t),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Il=null,Rl=!1;function Ml(e,t,n){for(n=n.child;null!==n;)$l(e,t,n),n=n.sibling}function $l(e,t,n){if(ye&&"function"==typeof ye.onCommitFiberUnmount)try{ye.onCommitFiberUnmount(me,n)}catch(o){}switch(n.tag){case 26:zl||wl(n,t),Ml(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:zl||wl(n,t);var r=Il,i=Rl;Ef(n.type)&&(Il=n.stateNode,Rl=!1),Ml(e,t,n),$f(n.stateNode),Il=r,Rl=i;break;case 5:zl||wl(n,t);case 6:if(r=Il,i=Rl,Il=null,Ml(e,t,n),Rl=i,null!==(Il=r))if(Rl)try{(9===Il.nodeType?Il.body:"HTML"===Il.nodeName?Il.ownerDocument.body:Il).removeChild(n.stateNode)}catch(a){kc(n,t,a)}else try{Il.removeChild(n.stateNode)}catch(a){kc(n,t,a)}break;case 18:null!==Il&&(Rl?(Of(9===(e=Il).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),Bd(e)):Of(Il,n.stateNode));break;case 4:r=Il,i=Rl,Il=n.stateNode.containerInfo,Rl=!0,Ml(e,t,n),Il=r,Rl=i;break;case 0:case 11:case 14:case 15:ml(2,n,t),zl||ml(4,n,t),Ml(e,t,n);break;case 1:zl||(wl(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&vl(n,t,r)),Ml(e,t,n);break;case 21:Ml(e,t,n);break;case 22:zl=(r=zl)||null!==n.memoizedState,Ml(e,t,n),zl=r;break;default:Ml(e,t,n)}}function Dl(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)){e=e.dehydrated;try{Bd(e)}catch(n){kc(t,t.return,n)}}}function Fl(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{Bd(e)}catch(n){kc(t,t.return,n)}}function Ul(e,t){var n=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new Ll),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new Ll),t;default:throw Error(a(435,e.tag))}}(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Oc.bind(null,e,t);t.then(r,r)}})}function Bl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r],o=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 27:if(Ef(l.type)){Il=l.stateNode,Rl=!1;break e}break;case 5:Il=l.stateNode,Rl=!1;break e;case 3:case 4:Il=l.stateNode.containerInfo,Rl=!0;break e}l=l.return}if(null===Il)throw Error(a(160));$l(o,s,i),Il=null,Rl=!1,null!==(o=i.alternate)&&(o.return=null),i.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)Hl(t,e),t=t.sibling}var ql=null;function Hl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Bl(t,e),Vl(e),4&r&&(ml(3,e,e.return),gl(3,e),ml(5,e,e.return));break;case 1:Bl(t,e),Vl(e),512&r&&(zl||null===n||wl(n,n.return)),64&r&&Pl&&null!==(e=e.updateQueue)&&null!==(r=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?r:n.concat(r));break;case 26:var i=ql;if(Bl(t,e),Vl(e),512&r&&(zl||null===n||wl(n,n.return)),4&r){var o=null!==n?n.memoizedState:null;if(r=e.memoizedState,null===n)if(null===r)if(null===e.stateNode){e:{r=e.type,n=e.memoizedProps,i=i.ownerDocument||i;t:switch(r){case"title":(!(o=i.getElementsByTagName("title")[0])||o[Qe]||o[Fe]||"http://www.w3.org/2000/svg"===o.namespaceURI||o.hasAttribute("itemprop"))&&(o=i.createElement(r),i.head.insertBefore(o,i.querySelector("head > title"))),df(o,r,n),o[Fe]=e,Ze(o),r=o;break e;case"link":var s=nd("link","href",i).get(r+(n.href||""));if(s)for(var l=0;l<s.length;l++)if((o=s[l]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&o.getAttribute("rel")===(null==n.rel?null:n.rel)&&o.getAttribute("title")===(null==n.title?null:n.title)&&o.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){s.splice(l,1);break t}df(o=i.createElement(r),r,n),i.head.appendChild(o);break;case"meta":if(s=nd("meta","content",i).get(r+(n.content||"")))for(l=0;l<s.length;l++)if((o=s[l]).getAttribute("content")===(null==n.content?null:""+n.content)&&o.getAttribute("name")===(null==n.name?null:n.name)&&o.getAttribute("property")===(null==n.property?null:n.property)&&o.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&o.getAttribute("charset")===(null==n.charSet?null:n.charSet)){s.splice(l,1);break t}df(o=i.createElement(r),r,n),i.head.appendChild(o);break;default:throw Error(a(468,r))}o[Fe]=e,Ze(o),r=o}e.stateNode=r}else rd(i,e.type,e.stateNode);else e.stateNode=Xf(i,r,e.memoizedProps);else o!==r?(null===o?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):o.count--,null===r?rd(i,e.type,e.stateNode):Xf(i,r,e.memoizedProps)):null===r&&null!==e.stateNode&&kl(e,e.memoizedProps,n.memoizedProps)}break;case 27:Bl(t,e),Vl(e),512&r&&(zl||null===n||wl(n,n.return)),null!==n&&4&r&&kl(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Bl(t,e),Vl(e),512&r&&(zl||null===n||wl(n,n.return)),32&e.flags){i=e.stateNode;try{xt(i,"")}catch(g){kc(e,e.return,g)}}4&r&&null!=e.stateNode&&kl(e,i=e.memoizedProps,null!==n?n.memoizedProps:i),1024&r&&(Al=!0);break;case 6:if(Bl(t,e),Vl(e),4&r){if(null===e.stateNode)throw Error(a(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(g){kc(e,e.return,g)}}break;case 3:if(td=null,i=ql,ql=Uf(t.containerInfo),Bl(t,e),ql=i,Vl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Bd(t.containerInfo)}catch(g){kc(e,e.return,g)}Al&&(Al=!1,Wl(e));break;case 4:r=ql,ql=Uf(e.stateNode.containerInfo),Bl(t,e),Vl(e),ql=r;break;case 12:default:Bl(t,e),Vl(e);break;case 31:case 19:Bl(t,e),Vl(e),4&r&&null!==(r=e.updateQueue)&&(e.updateQueue=null,Ul(e,r));break;case 13:Bl(t,e),Vl(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==n&&null!==n.memoizedState)&&(Lu=se()),4&r&&null!==(r=e.updateQueue)&&(e.updateQueue=null,Ul(e,r));break;case 22:i=null!==e.memoizedState;var u=null!==n&&null!==n.memoizedState,c=Pl,f=zl;if(Pl=c||i,zl=f||u,Bl(t,e),zl=f,Pl=c,Vl(e),8192&r)e:for(t=e.stateNode,t._visibility=i?-2&t._visibility:1|t._visibility,i&&(null===n||u||Pl||zl||Kl(e)),n=null,t=e;;){if(5===t.tag||26===t.tag){if(null===n){u=n=t;try{if(o=u.stateNode,i)"function"==typeof(s=o.style).setProperty?s.setProperty("display","none","important"):s.display="none";else{l=u.stateNode;var d=u.memoizedProps.style,h=null!=d&&d.hasOwnProperty("display")?d.display:null;l.style.display=null==h||"boolean"==typeof h?"":(""+h).trim()}}catch(g){kc(u,u.return,g)}}}else if(6===t.tag){if(null===n){u=t;try{u.stateNode.nodeValue=i?"":u.memoizedProps}catch(g){kc(u,u.return,g)}}}else if(18===t.tag){if(null===n){u=t;try{var p=u.stateNode;i?Pf(p,!0):Pf(u.stateNode,!1)}catch(g){kc(u,u.return,g)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}4&r&&null!==(r=e.updateQueue)&&null!==(n=r.retryQueue)&&(r.retryQueue=null,Ul(e,n));case 30:case 21:}}function Vl(e){var t=e.flags;if(2&t){try{for(var n,r=e.return;null!==r;){if(xl(r)){n=r;break}r=r.return}if(null==n)throw Error(a(160));switch(n.tag){case 27:var i=n.stateNode;El(e,_l(e),i);break;case 5:var o=n.stateNode;32&n.flags&&(xt(o,""),n.flags&=-33),El(e,_l(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;Cl(e,_l(e),s);break;default:throw Error(a(161))}}catch(l){kc(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Wl(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;Wl(t),5===t.tag&&1024&t.flags&&t.stateNode.reset(),e=e.sibling}}function Ql(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)jl(e,t.alternate,t),t=t.sibling}function Kl(e){for(e=e.child;null!==e;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:ml(4,t,t.return),Kl(t);break;case 1:wl(t,t.return);var n=t.stateNode;"function"==typeof n.componentWillUnmount&&vl(t,t.return,n),Kl(t);break;case 27:$f(t.stateNode);case 26:case 5:wl(t,t.return),Kl(t);break;case 22:null===t.memoizedState&&Kl(t);break;default:Kl(t)}e=e.sibling}}function Gl(e,t,n){for(n=n&&!!(8772&t.subtreeFlags),t=t.child;null!==t;){var r=t.alternate,i=e,o=t,a=o.flags;switch(o.tag){case 0:case 11:case 15:Gl(i,o,n),gl(4,o);break;case 1:if(Gl(i,o,n),"function"==typeof(i=(r=o).stateNode).componentDidMount)try{i.componentDidMount()}catch(u){kc(r,r.return,u)}if(null!==(i=(r=o).updateQueue)){var s=r.stateNode;try{var l=i.shared.hiddenCallbacks;if(null!==l)for(i.shared.hiddenCallbacks=null,i=0;i<l.length;i++)Co(l[i],s)}catch(u){kc(r,r.return,u)}}n&&64&a&&yl(o),bl(o,o.return);break;case 27:Ol(o);case 26:case 5:Gl(i,o,n),n&&null===r&&4&a&&Sl(o),bl(o,o.return);break;case 12:Gl(i,o,n);break;case 31:Gl(i,o,n),n&&4&a&&Dl(i,o);break;case 13:Gl(i,o,n),n&&4&a&&Fl(i,o);break;case 22:null===o.memoizedState&&Gl(i,o,n),bl(o,o.return);break;case 30:break;default:Gl(i,o,n)}t=t.sibling}}function Yl(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&Di(n))}function Xl(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Di(e))}function Jl(e,t,n,r){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)Zl(e,t,n,r),t=t.sibling}function Zl(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:Jl(e,t,n,r),2048&i&&gl(9,t);break;case 1:case 31:case 13:default:Jl(e,t,n,r);break;case 3:Jl(e,t,n,r),2048&i&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Di(e)));break;case 12:if(2048&i){Jl(e,t,n,r),e=t.stateNode;try{var o=t.memoizedProps,a=o.id,s=o.onPostCommit;"function"==typeof s&&s(a,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(l){kc(t,t.return,l)}}else Jl(e,t,n,r);break;case 23:break;case 22:o=t.stateNode,a=t.alternate,null!==t.memoizedState?2&o._visibility?Jl(e,t,n,r):tu(e,t):2&o._visibility?Jl(e,t,n,r):(o._visibility|=2,eu(e,t,n,r,!!(10256&t.subtreeFlags)||!1)),2048&i&&Yl(a,t);break;case 24:Jl(e,t,n,r),2048&i&&Xl(t.alternate,t)}}function eu(e,t,n,r,i){for(i=i&&(!!(10256&t.subtreeFlags)||!1),t=t.child;null!==t;){var o=e,a=t,s=n,l=r,u=a.flags;switch(a.tag){case 0:case 11:case 15:eu(o,a,s,l,i),gl(8,a);break;case 23:break;case 22:var c=a.stateNode;null!==a.memoizedState?2&c._visibility?eu(o,a,s,l,i):tu(o,a):(c._visibility|=2,eu(o,a,s,l,i)),i&&2048&u&&Yl(a.alternate,a);break;case 24:eu(o,a,s,l,i),i&&2048&u&&Xl(a.alternate,a);break;default:eu(o,a,s,l,i)}t=t.sibling}}function tu(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:tu(n,r),2048&i&&Yl(r.alternate,r);break;case 24:tu(n,r),2048&i&&Xl(r.alternate,r);break;default:tu(n,r)}t=t.sibling}}var nu=8192;function ru(e,t,n){if(e.subtreeFlags&nu)for(e=e.child;null!==e;)iu(e,t,n),e=e.sibling}function iu(e,t,n){switch(e.tag){case 26:ru(e,t,n),e.flags&nu&&null!==e.memoizedState&&function(e,t,n,r){if(!("stylesheet"!==n.type||"string"==typeof r.media&&!1===matchMedia(r.media).matches||4&n.state.loading)){if(null===n.instance){var i=Wf(r.href),o=t.querySelector(Qf(i));if(o)return null!==(t=o._p)&&"object"==typeof t&&"function"==typeof t.then&&(e.count++,e=ad.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=o,void Ze(o);o=t.ownerDocument||t,r=Kf(r),(i=Df.get(i))&&Zf(r,i),Ze(o=o.createElement("link"));var a=o;a._p=new Promise(function(e,t){a.onload=e,a.onerror=t}),df(o,"link",r),n.instance=o}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(3&n.state.loading)&&(e.count++,n=ad.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}(n,ql,e.memoizedState,e.memoizedProps);break;case 5:default:ru(e,t,n);break;case 3:case 4:var r=ql;ql=Uf(e.stateNode.containerInfo),ru(e,t,n),ql=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=nu,nu=16777216,ru(e,t,n),nu=r):ru(e,t,n))}}function ou(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function au(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];Nl=r,uu(r,e)}ou(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)su(e),e=e.sibling}function su(e){switch(e.tag){case 0:case 11:case 15:au(e),2048&e.flags&&ml(9,e,e.return);break;case 3:case 12:default:au(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,lu(e)):au(e)}}function lu(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];Nl=r,uu(r,e)}ou(e)}for(e=e.child;null!==e;){switch((t=e).tag){case 0:case 11:case 15:ml(8,t,t.return),lu(t);break;case 22:2&(n=t.stateNode)._visibility&&(n._visibility&=-3,lu(t));break;default:lu(t)}e=e.sibling}}function uu(e,t){for(;null!==Nl;){var n=Nl;switch(n.tag){case 0:case 11:case 15:ml(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:Di(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,Nl=r;else e:for(n=e;null!==Nl;){var i=(r=Nl).sibling,o=r.return;if(Tl(r),r===n){Nl=null;break e}if(null!==i){i.return=o,Nl=i;break e}Nl=o}}}var cu={getCacheForType:function(e){var t=Li(Mi),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Li(Mi).controller.signal}},fu="function"==typeof WeakMap?WeakMap:Map,du=0,hu=null,pu=null,gu=0,mu=0,yu=null,vu=!1,bu=!1,wu=!1,Su=0,ku=0,xu=0,_u=0,Cu=0,Eu=0,Ou=0,Pu=null,zu=null,Au=!1,Lu=0,Nu=0,ju=1/0,Tu=null,Iu=null,Ru=0,Mu=null,$u=null,Du=0,Fu=0,Uu=null,Bu=null,qu=0,Hu=null;function Vu(){return 2&du&&0!==gu?gu&-gu:null!==j.T?Uc():Me()}function Wu(){if(0===Eu)if(536870912&gu&&!ci)Eu=536870912;else{var e=xe;!(3932160&(xe<<=1))&&(xe=262144),Eu=e}return null!==(e=No.current)&&(e.flags|=32),Eu}function Qu(e,t,n){(e!==hu||2!==mu&&9!==mu)&&null===e.cancelPendingCommit||(ec(e,0),Xu(e,gu,Eu,!1)),Le(e,n),2&du&&e===hu||(e===hu&&(!(2&du)&&(_u|=n),4===ku&&Xu(e,gu,Eu,!1)),Tc(e))}function Ku(e,t,n){if(6&du)throw Error(a(327));for(var r=!n&&!(127&t)&&0===(t&e.expiredLanes)||Oe(e,t),i=r?function(e,t){var n=du;du|=2;var r=rc(),i=ic();hu!==e||gu!==t?(Tu=null,ju=se()+500,ec(e,t)):bu=Oe(e,t);e:for(;;)try{if(0!==mu&&null!==pu){t=pu;var o=yu;t:switch(mu){case 1:mu=0,yu=null,fc(e,t,o,1);break;case 2:case 9:if(eo(o)){mu=0,yu=null,cc(t);break}t=function(){2!==mu&&9!==mu||hu!==e||(mu=7),Tc(e)},o.then(t,t);break e;case 3:mu=7;break e;case 4:mu=5;break e;case 7:eo(o)?(mu=0,yu=null,cc(t)):(mu=0,yu=null,fc(e,t,o,7));break;case 5:var s=null;switch(pu.tag){case 26:s=pu.memoizedState;case 5:case 27:var l=pu;if(s?id(s):l.stateNode.complete){mu=0,yu=null;var u=l.sibling;if(null!==u)pu=u;else{var c=l.return;null!==c?(pu=c,dc(c)):pu=null}break t}}mu=0,yu=null,fc(e,t,o,5);break;case 6:mu=0,yu=null,fc(e,t,o,6);break;case 8:Zu(),ku=6;break e;default:throw Error(a(462))}}lc();break}catch(f){tc(e,f)}return xi=ki=null,j.H=r,j.A=i,du=n,null!==pu?0:(hu=null,gu=0,zr(),ku)}(e,t):ac(e,t,!0),o=r;;){if(0===i){bu&&!r&&Xu(e,t,0,!1);break}if(n=e.current.alternate,!o||Yu(n)){if(2===i){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=0!=(s=-536870913&e.pendingLanes)?s:536870912&s?536870912:0;if(0!==s){t=s;e:{var l=e;i=Pu;var u=l.current.memoizedState.isDehydrated;if(u&&(ec(l,s).flags|=256),2!==(s=ac(l,s,!1))){if(wu&&!u){l.errorRecoveryDisabledLanes|=o,_u|=o,i=4;break e}o=zu,zu=i,null!==o&&(null===zu?zu=o:zu.push.apply(zu,o))}i=s}if(o=!1,2!==i)continue}}if(1===i){ec(e,0),Xu(e,t,0,!0);break}e:{switch(r=e,o=i){case 0:case 1:throw Error(a(345));case 4:if((4194048&t)!==t)break;case 6:Xu(r,t,Eu,!vu);break e;case 2:zu=null;break;case 3:case 5:break;default:throw Error(a(329))}if((62914560&t)===t&&10<(i=Lu+300-se())){if(Xu(r,t,Eu,!vu),0!==Ee(r,0,!0))break e;Du=t,r.timeoutHandle=Sf(Gu.bind(null,r,n,zu,Tu,Au,t,Eu,_u,Ou,vu,o,"Throttled",-0,0),i)}else Gu(r,n,zu,Tu,Au,t,Eu,_u,Ou,vu,o,null,-0,0)}break}i=ac(e,t,!1),o=!1}Tc(e)}function Gu(e,t,n,r,i,o,a,s,l,u,c,f,d,h){if(e.timeoutHandle=-1,8192&(f=t.subtreeFlags)||!(16785408&~f)){iu(t,o,f={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Lt});var p=(62914560&o)===o?Lu-se():(4194048&o)===o?Nu-se():0;if(null!==(p=function(e,t){return e.stylesheets&&0===e.count&&ld(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&ld(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&0===od&&(od=62500*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var i=n[r],o=i.transferSize,a=i.initiatorType,s=i.duration;if(o&&s&&hf(a)){for(a=0,s=i.responseEnd,r+=1;r<n.length;r++){var l=n[r],u=l.startTime;if(u>s)break;var c=l.transferSize,f=l.initiatorType;c&&hf(f)&&(a+=c*((l=l.responseEnd)<s?1:(s-u)/(l-u)))}if(--r,t+=8*(o+a)/(i.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&"number"==typeof(e=navigator.connection.downlink)?e:5}());var i=setTimeout(function(){if(e.waitingForImages=!1,0===e.count&&(e.stylesheets&&ld(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>od?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}(f,p)))return Du=o,e.cancelPendingCommit=p(pc.bind(null,e,t,o,n,r,i,a,s,l,c,f,null,d,h)),void Xu(e,o,a,!u)}pc(e,t,o,n,r,i,a,s,l)}function Yu(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&null!==(n=t.updateQueue)&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!Xn(o(),i))return!1}catch(a){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Xu(e,t,n,r){t&=~Cu,t&=~_u,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var o=31-be(i),a=1<<o;r[o]=-1,i&=~a}0!==n&&Ne(e,n,t)}function Ju(){return!!(6&du)||(Ic(0,!1),!1)}function Zu(){if(null!==pu){if(0===mu)var e=pu.return;else xi=ki=null,aa(e=pu),ao=null,so=0,e=pu;for(;null!==e;)pl(e.alternate,e),e=e.return;pu=null}}function ec(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,kf(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),Du=0,Zu(),hu=e,pu=n=Dr(e.current,null),gu=t,mu=0,yu=null,vu=!1,bu=Oe(e,t),wu=!1,Ou=Eu=Cu=_u=xu=ku=0,zu=Pu=null,Au=!1,8&t&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var i=31-be(r),o=1<<i;t|=e[i],r&=~o}return Su=t,zr(),n}function tc(e,t){Bo=null,j.H=ps,t===Yi||t===Ji?(t=io(),mu=3):t===Xi?(t=io(),mu=4):mu=t===Ls?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,yu=t,null===pu&&(ku=1,Es(e,Qr(t,e.current)))}function nc(){var e=No.current;return null===e||((4194048&gu)===gu?null===jo:!!((62914560&gu)===gu||536870912&gu)&&e===jo)}function rc(){var e=j.H;return j.H=ps,null===e?ps:e}function ic(){var e=j.A;return j.A=cu,e}function oc(){ku=4,vu||(4194048&gu)!==gu&&null!==No.current||(bu=!0),!(134217727&xu)&&!(134217727&_u)||null===hu||Xu(hu,gu,Eu,!1)}function ac(e,t,n){var r=du;du|=2;var i=rc(),o=ic();hu===e&&gu===t||(Tu=null,ec(e,t)),t=!1;var a=ku;e:for(;;)try{if(0!==mu&&null!==pu){var s=pu,l=yu;switch(mu){case 8:Zu(),a=6;break e;case 3:case 2:case 9:case 6:null===No.current&&(t=!0);var u=mu;if(mu=0,yu=null,fc(e,s,l,u),n&&bu){a=0;break e}break;default:u=mu,mu=0,yu=null,fc(e,s,l,u)}}sc(),a=ku;break}catch(c){tc(e,c)}return t&&e.shellSuspendCounter++,xi=ki=null,du=r,j.H=i,j.A=o,null===pu&&(hu=null,gu=0,zr()),a}function sc(){for(;null!==pu;)uc(pu)}function lc(){for(;null!==pu&&!oe();)uc(pu)}function uc(e){var t=ol(e.alternate,e,Su);e.memoizedProps=e.pendingProps,null===t?dc(e):pu=t}function cc(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Hs(n,t,t.pendingProps,t.type,void 0,gu);break;case 11:t=Hs(n,t,t.pendingProps,t.type.render,t.ref,gu);break;case 5:aa(t);default:pl(n,t),t=ol(n,t=pu=Fr(t,Su),Su)}e.memoizedProps=e.pendingProps,null===t?dc(e):pu=t}function fc(e,t,n,r){xi=ki=null,aa(t),ao=null,so=0;var i=t.return;try{if(function(e,t,n,r,i){if(n.flags|=32768,null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=n.alternate)&&Pi(t,n,i,!0),null!==(n=No.current)){switch(n.tag){case 31:case 13:return null===jo?oc():null===n.alternate&&0===ku&&(ku=3),n.flags&=-257,n.flags|=65536,n.lanes=i,r===Zi?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),xc(e,r,i)),!1;case 22:return n.flags|=65536,r===Zi?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),xc(e,r,i)),!1}throw Error(a(435,n.tag))}return xc(e,r,i),oc(),!1}if(ci)return null!==(t=No.current)?(!(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=i,r!==hi&&wi(Qr(e=Error(a(422),{cause:r}),n))):(r!==hi&&wi(Qr(t=Error(a(423),{cause:r}),n)),(e=e.current.alternate).flags|=65536,i&=-i,e.lanes|=i,r=Qr(r,n),So(e,i=Ps(e.stateNode,r,i)),4!==ku&&(ku=2)),!1;var o=Error(a(520),{cause:r});if(o=Qr(o,n),null===Pu?Pu=[o]:Pu.push(o),4!==ku&&(ku=2),null===t)return!0;r=Qr(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,So(n,e=Ps(n.stateNode,r,e)),!1;case 1:if(t=n.type,o=n.stateNode,!(128&n.flags||"function"!=typeof t.getDerivedStateFromError&&(null===o||"function"!=typeof o.componentDidCatch||null!==Iu&&Iu.has(o))))return n.flags|=65536,i&=-i,n.lanes|=i,As(i=zs(i),e,n,r),So(n,i),!1}n=n.return}while(null!==n);return!1}(e,i,t,n,gu))return ku=1,Es(e,Qr(n,e.current)),void(pu=null)}catch(o){if(null!==i)throw pu=i,o;return ku=1,Es(e,Qr(n,e.current)),void(pu=null)}32768&t.flags?(ci||1===r?e=!0:bu||536870912&gu?e=!1:(vu=e=!0,(2===r||9===r||3===r||6===r)&&null!==(r=No.current)&&13===r.tag&&(r.flags|=16384)),hc(t,e)):dc(t)}function dc(e){var t=e;do{if(32768&t.flags)return void hc(t,vu);e=t.return;var n=dl(t.alternate,t,Su);if(null!==n)return void(pu=n);if(null!==(t=t.sibling))return void(pu=t);pu=t=e}while(null!==t);0===ku&&(ku=5)}function hc(e,t){do{var n=hl(e.alternate,e);if(null!==n)return n.flags&=32767,void(pu=n);if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling))return void(pu=e);pu=e=n}while(null!==e);ku=6,pu=null}function pc(e,t,n,r,i,o,s,l,u){e.cancelPendingCommit=null;do{bc()}while(0!==Ru);if(6&du)throw Error(a(327));if(null!==t){if(t===e.current)throw Error(a(177));if(o=t.lanes|t.childLanes,function(e,t,n,r,i,o){var a=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,l=e.expirationTimes,u=e.hiddenUpdates;for(n=a&~n;0<n;){var c=31-be(n),f=1<<c;s[c]=0,l[c]=-1;var d=u[c];if(null!==d)for(u[c]=null,c=0;c<d.length;c++){var h=d[c];null!==h&&(h.lane&=-536870913)}n&=~f}0!==r&&Ne(e,r,0),0!==o&&0===i&&0!==e.tag&&(e.suspendedLanes|=o&~(a&~t))}(e,n,o|=Pr,s,l,u),e===hu&&(pu=hu=null,gu=0),$u=t,Mu=e,Du=n,Fu=o,Uu=i,Bu=r,10256&t.subtreeFlags||10256&t.flags?(e.callbackNode=null,e.callbackPriority=0,re(fe,function(){return wc(),null})):(e.callbackNode=null,e.callbackPriority=0),r=!!(13878&t.flags),13878&t.subtreeFlags||r){r=j.T,j.T=null,i=T.p,T.p=2,s=du,du|=4;try{!function(e,t){if(e=e.containerInfo,pf=yd,rr(e=nr(e))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch(m){n=null;break e}var s=0,l=-1,u=-1,c=0,f=0,d=e,h=null;t:for(;;){for(var p;d!==n||0!==i&&3!==d.nodeType||(l=s+i),d!==o||0!==r&&3!==d.nodeType||(u=s+r),3===d.nodeType&&(s+=d.nodeValue.length),null!==(p=d.firstChild);)h=d,d=p;for(;;){if(d===e)break t;if(h===n&&++c===i&&(l=s),h===o&&++f===r&&(u=s),null!==(p=d.nextSibling))break;h=(d=h).parentNode}d=p}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(gf={focusedElem:e,selectionRange:n},yd=!1,Nl=t;null!==Nl;)if(e=(t=Nl).child,1028&t.subtreeFlags&&null!==e)e.return=t,Nl=e;else for(;null!==Nl;){switch(o=(t=Nl).alternate,e=t.flags,t.tag){case 0:if(4&e&&null!==(e=null!==(e=t.updateQueue)?e.events:null))for(n=0;n<e.length;n++)(i=e[n]).ref.impl=i.nextImpl;break;case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(1024&e&&null!==o){e=void 0,n=t,i=o.memoizedProps,o=o.memoizedState,r=n.stateNode;try{var g=ks(n.type,i);e=r.getSnapshotBeforeUpdate(g,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(y){kc(n,n.return,y)}}break;case 3:if(1024&e)if(9===(n=(e=t.stateNode.containerInfo).nodeType))zf(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":zf(e);break;default:e.textContent=""}break;default:if(1024&e)throw Error(a(163))}if(null!==(e=t.sibling)){e.return=t.return,Nl=e;break}Nl=t.return}}(e,t)}finally{du=s,T.p=i,j.T=r}}Ru=1,gc(),mc(),yc()}}function gc(){if(1===Ru){Ru=0;var e=Mu,t=$u,n=!!(13878&t.flags);if(13878&t.subtreeFlags||n){n=j.T,j.T=null;var r=T.p;T.p=2;var i=du;du|=4;try{Hl(t,e);var o=gf,a=nr(e.containerInfo),s=o.focusedElem,l=o.selectionRange;if(a!==s&&s&&s.ownerDocument&&tr(s.ownerDocument.documentElement,s)){if(null!==l&&rr(s)){var u=l.start,c=l.end;if(void 0===c&&(c=u),"selectionStart"in s)s.selectionStart=u,s.selectionEnd=Math.min(c,s.value.length);else{var f=s.ownerDocument||document,d=f&&f.defaultView||window;if(d.getSelection){var h=d.getSelection(),p=s.textContent.length,g=Math.min(l.start,p),m=void 0===l.end?g:Math.min(l.end,p);!h.extend&&g>m&&(a=m,m=g,g=a);var y=er(s,g),v=er(s,m);if(y&&v&&(1!==h.rangeCount||h.anchorNode!==y.node||h.anchorOffset!==y.offset||h.focusNode!==v.node||h.focusOffset!==v.offset)){var b=f.createRange();b.setStart(y.node,y.offset),h.removeAllRanges(),g>m?(h.addRange(b),h.extend(v.node,v.offset)):(b.setEnd(v.node,v.offset),h.addRange(b))}}}}for(f=[],h=s;h=h.parentNode;)1===h.nodeType&&f.push({element:h,left:h.scrollLeft,top:h.scrollTop});for("function"==typeof s.focus&&s.focus(),s=0;s<f.length;s++){var w=f[s];w.element.scrollLeft=w.left,w.element.scrollTop=w.top}}yd=!!pf,gf=pf=null}finally{du=i,T.p=r,j.T=n}}e.current=t,Ru=2}}function mc(){if(2===Ru){Ru=0;var e=Mu,t=$u,n=!!(8772&t.flags);if(8772&t.subtreeFlags||n){n=j.T,j.T=null;var r=T.p;T.p=2;var i=du;du|=4;try{jl(e,t.alternate,t)}finally{du=i,T.p=r,j.T=n}}Ru=3}}function yc(){if(4===Ru||3===Ru){Ru=0,ae();var e=Mu,t=$u,n=Du,r=Bu;10256&t.subtreeFlags||10256&t.flags?Ru=5:(Ru=0,$u=Mu=null,vc(e,e.pendingLanes));var i=e.pendingLanes;if(0===i&&(Iu=null),Re(n),t=t.stateNode,ye&&"function"==typeof ye.onCommitFiberRoot)try{ye.onCommitFiberRoot(me,t,void 0,!(128&~t.current.flags))}catch(l){}if(null!==r){t=j.T,i=T.p,T.p=2,j.T=null;try{for(var o=e.onRecoverableError,a=0;a<r.length;a++){var s=r[a];o(s.value,{componentStack:s.stack})}}finally{j.T=t,T.p=i}}3&Du&&bc(),Tc(e),i=e.pendingLanes,261930&n&&42&i?e===Hu?qu++:(qu=0,Hu=e):qu=0,Ic(0,!1)}}function vc(e,t){0===(e.pooledCacheLanes&=t)&&null!=(t=e.pooledCache)&&(e.pooledCache=null,Di(t))}function bc(){return gc(),mc(),yc(),wc()}function wc(){if(5!==Ru)return!1;var e=Mu,t=Fu;Fu=0;var n=Re(Du),r=j.T,i=T.p;try{T.p=32>n?32:n,j.T=null,n=Uu,Uu=null;var o=Mu,s=Du;if(Ru=0,$u=Mu=null,Du=0,6&du)throw Error(a(331));var l=du;if(du|=4,su(o.current),Zl(o,o.current,s,n),du=l,Ic(0,!1),ye&&"function"==typeof ye.onPostCommitFiberRoot)try{ye.onPostCommitFiberRoot(me,o)}catch(u){}return!0}finally{T.p=i,j.T=r,vc(e,t)}}function Sc(e,t,n){t=Qr(n,t),null!==(e=bo(e,t=Ps(e.stateNode,t,2),2))&&(Le(e,2),Tc(e))}function kc(e,t,n){if(3===e.tag)Sc(e,e,n);else for(;null!==t;){if(3===t.tag){Sc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Iu||!Iu.has(r))){e=Qr(n,e),null!==(r=bo(t,n=zs(2),2))&&(As(n,r,t,e),Le(r,2),Tc(r));break}}t=t.return}}function xc(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fu;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(wu=!0,i.add(n),e=_c.bind(null,e,t,n),t.then(e,e))}function _c(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,hu===e&&(gu&n)===n&&(4===ku||3===ku&&(62914560&gu)===gu&&300>se()-Lu?!(2&du)&&ec(e,0):Cu|=n,Ou===gu&&(Ou=0)),Tc(e)}function Cc(e,t){0===t&&(t=ze()),null!==(e=Nr(e,t))&&(Le(e,t),Tc(e))}function Ec(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Cc(e,n)}function Oc(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(a(314))}null!==r&&r.delete(t),Cc(e,n)}var Pc=null,zc=null,Ac=!1,Lc=!1,Nc=!1,jc=0;function Tc(e){e!==zc&&null===e.next&&(null===zc?Pc=zc=e:zc=zc.next=e),Lc=!0,Ac||(Ac=!0,_f(function(){6&du?re(ue,Rc):Mc()}))}function Ic(e,t){if(!Nc&&Lc){Nc=!0;do{for(var n=!1,r=Pc;null!==r;){if(!t)if(0!==e){var i=r.pendingLanes;if(0===i)var o=0;else{var a=r.suspendedLanes,s=r.pingedLanes;o=(1<<31-be(42|e)+1)-1,o=201326741&(o&=i&~(a&~s))?201326741&o|1:o?2|o:0}0!==o&&(n=!0,Fc(r,o))}else o=gu,!(3&(o=Ee(r,r===hu?o:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||Oe(r,o)||(n=!0,Fc(r,o));r=r.next}}while(n);Nc=!1}}function Rc(){Mc()}function Mc(){Lc=Ac=!1;var e,t=0;0!==jc&&((e=window.event)&&"popstate"===e.type?e!==wf&&(wf=e,1):(wf=null,0))&&(t=jc);for(var n=se(),r=null,i=Pc;null!==i;){var o=i.next,a=$c(i,n);0===a?(i.next=null,null===r?Pc=o:r.next=o,null===o&&(zc=r)):(r=i,(0!==t||3&a)&&(Lc=!0)),i=o}0!==Ru&&5!==Ru||Ic(t,!1),0!==jc&&(jc=0)}function $c(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=-62914561&e.pendingLanes;0<o;){var a=31-be(o),s=1<<a,l=i[a];-1===l?0!==(s&n)&&0===(s&r)||(i[a]=Pe(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}if(n=gu,n=Ee(e,e===(t=hu)?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===mu||9===mu)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&ie(r),e.callbackNode=null,e.callbackPriority=0;if(!(3&n)||Oe(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&ie(r),Re(n)){case 2:case 8:n=ce;break;case 32:default:n=fe;break;case 268435456:n=he}return r=Dc.bind(null,e),n=re(n,r),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&ie(r),e.callbackPriority=2,e.callbackNode=null,2}function Dc(e,t){if(0!==Ru&&5!==Ru)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(bc()&&e.callbackNode!==n)return null;var r=gu;return 0===(r=Ee(e,e===hu?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(Ku(e,r,t),$c(e,se()),null!=e.callbackNode&&e.callbackNode===n?Dc.bind(null,e):null)}function Fc(e,t){if(bc())return null;Ku(e,t,!0)}function Uc(){if(0===jc){var e=Bi;0===e&&(e=ke,!(261888&(ke<<=1))&&(ke=256)),jc=e}return jc}function Bc(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:At(""+e)}function qc(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var Hc=0;Hc<xr.length;Hc++){var Vc=xr[Hc];_r(Vc.toLowerCase(),"on"+(Vc[0].toUpperCase()+Vc.slice(1)))}_r(gr,"onAnimationEnd"),_r(mr,"onAnimationIteration"),_r(yr,"onAnimationStart"),_r("dblclick","onDoubleClick"),_r("focusin","onFocus"),_r("focusout","onBlur"),_r(vr,"onTransitionRun"),_r(br,"onTransitionStart"),_r(wr,"onTransitionCancel"),_r(Sr,"onTransitionEnd"),rt("onMouseEnter",["mouseout","mouseover"]),rt("onMouseLeave",["mouseout","mouseover"]),rt("onPointerEnter",["pointerout","pointerover"]),rt("onPointerLeave",["pointerout","pointerover"]),nt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),nt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),nt("onBeforeInput",["compositionend","keypress","textInput","paste"]),nt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),nt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),nt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Wc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Qc=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Wc));function Kc(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;o=s,i.currentTarget=u;try{o(i)}catch(c){Cr(c)}i.currentTarget=null,o=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,u=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;o=s,i.currentTarget=u;try{o(i)}catch(c){Cr(c)}i.currentTarget=null,o=l}}}}function Gc(e,t){var n=t[qe];void 0===n&&(n=t[qe]=new Set);var r=e+"__bubble";n.has(r)||(Zc(t,e,2,!1),n.add(r))}function Yc(e,t,n){var r=0;t&&(r|=4),Zc(n,e,r,t)}var Xc="_reactListening"+Math.random().toString(36).slice(2);function Jc(e){if(!e[Xc]){e[Xc]=!0,et.forEach(function(t){"selectionchange"!==t&&(Qc.has(t)||Yc(t,!1,e),Yc(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Xc]||(t[Xc]=!0,Yc("selectionchange",!1,t))}}function Zc(e,t,n,r){switch(_d(t)){case 2:var i=vd;break;case 8:i=bd;break;default:i=wd}n=i.bind(null,t,n,e),i=void 0,!Ut||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function ef(e,t,n,r,i){var o=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===i)break;if(4===a)for(a=r.return;null!==a;){var u=a.tag;if((3===u||4===u)&&a.stateNode.containerInfo===i)return;a=a.return}for(;null!==l;){if(null===(a=Ge(l)))return;if(5===(u=a.tag)||6===u||26===u||27===u){r=o=a;continue e}l=l.parentNode}}r=r.return}$t(function(){var r=o,i=jt(n),a=[];e:{var l=kr.get(e);if(void 0!==l){var u=tn,c=e;switch(e){case"keypress":if(0===Qt(n))break e;case"keydown":case"keyup":u=yn;break;case"focusin":c="focus",u=ln;break;case"focusout":c="blur",u=ln;break;case"beforeblur":case"afterblur":u=ln;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=an;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=sn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=bn;break;case gr:case mr:case yr:u=un;break;case Sr:u=wn;break;case"scroll":case"scrollend":u=rn;break;case"wheel":u=Sn;break;case"copy":case"cut":case"paste":u=cn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=vn;break;case"toggle":case"beforetoggle":u=kn}var f=!!(4&t),d=!f&&("scroll"===e||"scrollend"===e),h=f?null!==l?l+"Capture":null:l;f=[];for(var p,g=r;null!==g;){var m=g;if(p=m.stateNode,5!==(m=m.tag)&&26!==m&&27!==m||null===p||null===h||null!=(m=Dt(g,h))&&f.push(tf(g,m,p)),d)break;g=g.return}0<f.length&&(l=new u(l,c,null,n,i),a.push({event:l,listeners:f}))}}if(!(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===Nt||!(c=n.relatedTarget||n.fromElement)||!Ge(c)&&!c[Be])&&(u||l)&&(l=i.window===i?i:(l=i.ownerDocument)?l.defaultView||l.parentWindow:window,u?(u=r,null!==(c=(c=n.relatedTarget||n.toElement)?Ge(c):null)&&(d=s(c),f=c.tag,c!==d||5!==f&&27!==f&&6!==f)&&(c=null)):(u=null,c=r),u!==c)){if(f=an,m="onMouseLeave",h="onMouseEnter",g="mouse","pointerout"!==e&&"pointerover"!==e||(f=vn,m="onPointerLeave",h="onPointerEnter",g="pointer"),d=null==u?l:Xe(u),p=null==c?l:Xe(c),(l=new f(m,g+"leave",u,n,i)).target=d,l.relatedTarget=p,m=null,Ge(i)===r&&((f=new f(h,g+"enter",c,n,i)).target=p,f.relatedTarget=d,m=f),d=m,u&&c)e:{for(f=rf,g=c,p=0,m=h=u;m;m=f(m))p++;m=0;for(var y=g;y;y=f(y))m++;for(;0<p-m;)h=f(h),p--;for(;0<m-p;)g=f(g),m--;for(;p--;){if(h===g||null!==g&&h===g.alternate){f=h;break e}h=f(h),g=f(g)}f=null}else f=null;null!==u&&of(a,l,u,f,!1),null!==c&&null!==d&&of(a,d,c,f,!0)}if("select"===(u=(l=r?Xe(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type)var v=Fn;else if(Tn(l))if(Un)v=Yn;else{v=Kn;var b=Qn}else!(u=l.nodeName)||"input"!==u.toLowerCase()||"checkbox"!==l.type&&"radio"!==l.type?r&&Ot(r.elementType)&&(v=Fn):v=Gn;switch(v&&(v=v(e,r))?In(a,v,n,i):(b&&b(e,l,r),"focusout"===e&&r&&"number"===l.type&&null!=r.memoizedProps.value&&bt(l,"number",l.value)),b=r?Xe(r):window,e){case"focusin":(Tn(b)||"true"===b.contentEditable)&&(or=b,ar=r,sr=null);break;case"focusout":sr=ar=or=null;break;case"mousedown":lr=!0;break;case"contextmenu":case"mouseup":case"dragend":lr=!1,ur(a,n,i);break;case"selectionchange":if(ir)break;case"keydown":case"keyup":ur(a,n,i)}var w;if(_n)e:{switch(e){case"compositionstart":var S="onCompositionStart";break e;case"compositionend":S="onCompositionEnd";break e;case"compositionupdate":S="onCompositionUpdate";break e}S=void 0}else Nn?An(e,n)&&(S="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(S="onCompositionStart");S&&(On&&"ko"!==n.locale&&(Nn||"onCompositionStart"!==S?"onCompositionEnd"===S&&Nn&&(w=Wt()):(Ht="value"in(qt=i)?qt.value:qt.textContent,Nn=!0)),0<(b=nf(r,S)).length&&(S=new fn(S,e,null,n,i),a.push({event:S,listeners:b}),(w||null!==(w=Ln(n)))&&(S.data=w))),(w=En?function(e,t){switch(e){case"compositionend":return Ln(t);case"keypress":return 32!==t.which?null:(zn=!0,Pn);case"textInput":return(e=t.data)===Pn&&zn?null:e;default:return null}}(e,n):function(e,t){if(Nn)return"compositionend"===e||!_n&&An(e,t)?(e=Wt(),Vt=Ht=qt=null,Nn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return On&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(S=nf(r,"onBeforeInput")).length&&(b=new fn("onBeforeInput","beforeinput",null,n,i),a.push({event:b,listeners:S}),b.data=w),function(e,t,n,r,i){if("submit"===t&&n&&n.stateNode===i){var o=Bc((i[Ue]||null).action),a=r.submitter;a&&null!==(t=(t=a[Ue]||null)?Bc(t.formAction):a.getAttribute("formAction"))&&(o=t,a=null);var s=new tn("action","action",null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==jc){var e=a?qc(i,a):new FormData(i);es(n,{pending:!0,data:e,method:i.method,action:o},null,e)}}else"function"==typeof o&&(s.preventDefault(),e=a?qc(i,a):new FormData(i),es(n,{pending:!0,data:e,method:i.method,action:o},o,e))},currentTarget:i}]})}}(a,e,r,n,i)}Kc(a,t)})}function tf(e,t,n){return{instance:e,listener:t,currentTarget:n}}function nf(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;if(5!==(i=i.tag)&&26!==i&&27!==i||null===o||(null!=(i=Dt(e,n))&&r.unshift(tf(e,i,o)),null!=(i=Dt(e,t))&&r.push(tf(e,i,o))),3===e.tag)return r;e=e.return}return[]}function rf(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function of(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(s=s.tag,null!==l&&l===r)break;5!==s&&26!==s&&27!==s||null===u||(l=u,i?null!=(u=Dt(n,o))&&a.unshift(tf(n,u,l)):i||null!=(u=Dt(n,o))&&a.push(tf(n,u,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var af=/\r\n?/g,sf=/\u0000|\uFFFD/g;function lf(e){return("string"==typeof e?e:""+e).replace(af,"\n").replace(sf,"")}function uf(e,t){return t=lf(t),lf(e)===t}function cf(e,t,n,r,i,o){switch(n){case"children":"string"==typeof r?"body"===t||"textarea"===t&&""===r||xt(e,r):("number"==typeof r||"bigint"==typeof r)&&"body"!==t&&xt(e,""+r);break;case"className":lt(e,"class",r);break;case"tabIndex":lt(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":lt(e,n,r);break;case"style":Et(e,r,o);break;case"data":if("object"!==t){lt(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)){e.removeAttribute(n);break}if(null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=At(""+r),e.setAttribute(n,r);break;case"action":case"formAction":if("function"==typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof o&&("formAction"===n?("input"!==t&&cf(e,t,"name",i.name,i,null),cf(e,t,"formEncType",i.formEncType,i,null),cf(e,t,"formMethod",i.formMethod,i,null),cf(e,t,"formTarget",i.formTarget,i,null)):(cf(e,t,"encType",i.encType,i,null),cf(e,t,"method",i.method,i,null),cf(e,t,"target",i.target,i,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=At(""+r),e.setAttribute(n,r);break;case"onClick":null!=r&&(e.onclick=Lt);break;case"onScroll":null!=r&&Gc("scroll",e);break;case"onScrollEnd":null!=r&&Gc("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(a(61));if(null!=(n=r.__html)){if(null!=i.children)throw Error(a(60));e.innerHTML=n}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}n=At(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""+r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":Gc("beforetoggle",e),Gc("toggle",e),st(e,"popover",r);break;case"xlinkActuate":ut(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":ut(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":ut(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":ut(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":ut(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":ut(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":ut(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":ut(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":ut(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":st(e,"is",r);break;case"innerText":case"textContent":break;default:(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&st(e,n=Pt.get(n)||n,r)}}function ff(e,t,n,r,i,o){switch(n){case"style":Et(e,r,o);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(a(61));if(null!=(n=r.__html)){if(null!=i.children)throw Error(a(60));e.innerHTML=n}}break;case"children":"string"==typeof r?xt(e,r):("number"==typeof r||"bigint"==typeof r)&&xt(e,""+r);break;case"onScroll":null!=r&&Gc("scroll",e);break;case"onScrollEnd":null!=r&&Gc("scrollend",e);break;case"onClick":null!=r&&(e.onclick=Lt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:tt.hasOwnProperty(n)||("o"!==n[0]||"n"!==n[1]||(i=n.endsWith("Capture"),t=n.slice(2,i?n.length-7:void 0),"function"==typeof(o=null!=(o=e[Ue]||null)?o[n]:null)&&e.removeEventListener(t,o,i),"function"!=typeof r)?n in e?e[n]=r:!0===r?e.setAttribute(n,""):st(e,n,r):("function"!=typeof o&&null!==o&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,i)))}}function df(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Gc("error",e),Gc("load",e);var r,i=!1,o=!1;for(r in n)if(n.hasOwnProperty(r)){var s=n[r];if(null!=s)switch(r){case"src":i=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,t));default:cf(e,t,r,s,n,null)}}return o&&cf(e,t,"srcSet",n.srcSet,n,null),void(i&&cf(e,t,"src",n.src,n,null));case"input":Gc("invalid",e);var l=r=s=o=null,u=null,c=null;for(i in n)if(n.hasOwnProperty(i)){var f=n[i];if(null!=f)switch(i){case"name":o=f;break;case"type":s=f;break;case"checked":u=f;break;case"defaultChecked":c=f;break;case"value":r=f;break;case"defaultValue":l=f;break;case"children":case"dangerouslySetInnerHTML":if(null!=f)throw Error(a(137,t));break;default:cf(e,t,i,f,n,null)}}return void vt(e,r,l,u,c,s,o,!1);case"select":for(o in Gc("invalid",e),i=s=r=null,n)if(n.hasOwnProperty(o)&&null!=(l=n[o]))switch(o){case"value":r=l;break;case"defaultValue":s=l;break;case"multiple":i=l;default:cf(e,t,o,l,n,null)}return t=r,n=s,e.multiple=!!i,void(null!=t?wt(e,!!i,t,!1):null!=n&&wt(e,!!i,n,!0));case"textarea":for(s in Gc("invalid",e),r=o=i=null,n)if(n.hasOwnProperty(s)&&null!=(l=n[s]))switch(s){case"value":i=l;break;case"defaultValue":o=l;break;case"children":r=l;break;case"dangerouslySetInnerHTML":if(null!=l)throw Error(a(91));break;default:cf(e,t,s,l,n,null)}return void kt(e,i,o,r);case"option":for(u in n)n.hasOwnProperty(u)&&null!=(i=n[u])&&("selected"===u?e.selected=i&&"function"!=typeof i&&"symbol"!=typeof i:cf(e,t,u,i,n,null));return;case"dialog":Gc("beforetoggle",e),Gc("toggle",e),Gc("cancel",e),Gc("close",e);break;case"iframe":case"object":Gc("load",e);break;case"video":case"audio":for(i=0;i<Wc.length;i++)Gc(Wc[i],e);break;case"image":Gc("error",e),Gc("load",e);break;case"details":Gc("toggle",e);break;case"embed":case"source":case"link":Gc("error",e),Gc("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&null!=(i=n[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,t));default:cf(e,t,c,i,n,null)}return;default:if(Ot(t)){for(f in n)n.hasOwnProperty(f)&&void 0!==(i=n[f])&&ff(e,t,f,i,n,void 0);return}}for(l in n)n.hasOwnProperty(l)&&null!=(i=n[l])&&cf(e,t,l,i,n,null)}function hf(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var pf=null,gf=null;function mf(e){return 9===e.nodeType?e:e.ownerDocument}function yf(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function vf(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function bf(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var wf=null,Sf="function"==typeof setTimeout?setTimeout:void 0,kf="function"==typeof clearTimeout?clearTimeout:void 0,xf="function"==typeof Promise?Promise:void 0,_f="function"==typeof queueMicrotask?queueMicrotask:void 0!==xf?function(e){return xf.resolve(null).then(e).catch(Cf)}:Sf;function Cf(e){setTimeout(function(){throw e})}function Ef(e){return"head"===e}function Of(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)||"/&"===n){if(0===r)return e.removeChild(i),void Bd(t);r--}else if("$"===n||"$?"===n||"$~"===n||"$!"===n||"&"===n)r++;else if("html"===n)$f(e.ownerDocument.documentElement);else if("head"===n){$f(n=e.ownerDocument.head);for(var o=n.firstChild;o;){var a=o.nextSibling,s=o.nodeName;o[Qe]||"SCRIPT"===s||"STYLE"===s||"LINK"===s&&"stylesheet"===o.rel.toLowerCase()||n.removeChild(o),o=a}}else"body"===n&&$f(e.ownerDocument.body);n=i}while(n);Bd(t)}function Pf(e,t){var n=e;e=0;do{var r=n.nextSibling;if(1===n.nodeType?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",""===n.getAttribute("style")&&n.removeAttribute("style")):3===n.nodeType&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&8===r.nodeType)if("/$"===(n=r.data)){if(0===e)break;e--}else"$"!==n&&"$?"!==n&&"$~"!==n&&"$!"!==n||e++;n=r}while(n)}function zf(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":zf(n),Ke(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function Af(e,t){for(;8!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t)return null;if(null===(e=jf(e.nextSibling)))return null}return e}function Lf(e){return"$?"===e.data||"$~"===e.data}function Nf(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}function jf(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"$~"===t||"&"===t||"F!"===t||"F"===t)break;if("/$"===t||"/&"===t)return null}}return e}var Tf=null;function If(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n||"/&"===n){if(0===t)return jf(e.nextSibling);t--}else"$"!==n&&"$!"!==n&&"$?"!==n&&"$~"!==n&&"&"!==n||t++}e=e.nextSibling}return null}function Rf(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n||"$~"===n||"&"===n){if(0===t)return e;t--}else"/$"!==n&&"/&"!==n||t++}e=e.previousSibling}return null}function Mf(e,t,n){switch(t=mf(n),e){case"html":if(!(e=t.documentElement))throw Error(a(452));return e;case"head":if(!(e=t.head))throw Error(a(453));return e;case"body":if(!(e=t.body))throw Error(a(454));return e;default:throw Error(a(451))}}function $f(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ke(e)}var Df=new Map,Ff=new Set;function Uf(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var Bf=T.d;T.d={f:function(){var e=Bf.f(),t=Ju();return e||t},r:function(e){var t=Ye(e);null!==t&&5===t.tag&&"form"===t.type?ns(t):Bf.r(e)},D:function(e){Bf.D(e),Hf("dns-prefetch",e,null)},C:function(e,t){Bf.C(e,t),Hf("preconnect",e,t)},L:function(e,t,n){Bf.L(e,t,n);var r=qf;if(r&&e&&t){var i='link[rel="preload"][as="'+mt(t)+'"]';"image"===t&&n&&n.imageSrcSet?(i+='[imagesrcset="'+mt(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(i+='[imagesizes="'+mt(n.imageSizes)+'"]')):i+='[href="'+mt(e)+'"]';var o=i;switch(t){case"style":o=Wf(e);break;case"script":o=Gf(e)}Df.has(o)||(e=d({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),Df.set(o,e),null!==r.querySelector(i)||"style"===t&&r.querySelector(Qf(o))||"script"===t&&r.querySelector(Yf(o))||(df(t=r.createElement("link"),"link",e),Ze(t),r.head.appendChild(t)))}},m:function(e,t){Bf.m(e,t);var n=qf;if(n&&e){var r=t&&"string"==typeof t.as?t.as:"script",i='link[rel="modulepreload"][as="'+mt(r)+'"][href="'+mt(e)+'"]',o=i;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=Gf(e)}if(!Df.has(o)&&(e=d({rel:"modulepreload",href:e},t),Df.set(o,e),null===n.querySelector(i))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Yf(o)))return}df(r=n.createElement("link"),"link",e),Ze(r),n.head.appendChild(r)}}},X:function(e,t){Bf.X(e,t);var n=qf;if(n&&e){var r=Je(n).hoistableScripts,i=Gf(e),o=r.get(i);o||((o=n.querySelector(Yf(i)))||(e=d({src:e,async:!0},t),(t=Df.get(i))&&ed(e,t),Ze(o=n.createElement("script")),df(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},r.set(i,o))}},S:function(e,t,n){Bf.S(e,t,n);var r=qf;if(r&&e){var i=Je(r).hoistableStyles,o=Wf(e);t=t||"default";var a=i.get(o);if(!a){var s={loading:0,preload:null};if(a=r.querySelector(Qf(o)))s.loading=5;else{e=d({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Df.get(o))&&Zf(e,n);var l=a=r.createElement("link");Ze(l),df(l,"link",e),l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),l.addEventListener("load",function(){s.loading|=1}),l.addEventListener("error",function(){s.loading|=2}),s.loading|=4,Jf(a,t,r)}a={type:"stylesheet",instance:a,count:1,state:s},i.set(o,a)}}},M:function(e,t){Bf.M(e,t);var n=qf;if(n&&e){var r=Je(n).hoistableScripts,i=Gf(e),o=r.get(i);o||((o=n.querySelector(Yf(i)))||(e=d({src:e,async:!0,type:"module"},t),(t=Df.get(i))&&ed(e,t),Ze(o=n.createElement("script")),df(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},r.set(i,o))}}};var qf="undefined"==typeof document?null:document;function Hf(e,t,n){var r=qf;if(r&&"string"==typeof t&&t){var i=mt(t);i='link[rel="'+e+'"][href="'+i+'"]',"string"==typeof n&&(i+='[crossorigin="'+n+'"]'),Ff.has(i)||(Ff.add(i),e={rel:e,crossOrigin:n,href:t},null===r.querySelector(i)&&(df(t=r.createElement("link"),"link",e),Ze(t),r.head.appendChild(t)))}}function Vf(e,t,n,r){var i,o,s,l,u=(u=V.current)?Uf(u):null;if(!u)throw Error(a(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(t=Wf(n.href),(r=(n=Je(u).hoistableStyles).get(t))||(r={type:"style",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=Wf(n.href);var c=Je(u).hoistableStyles,f=c.get(e);if(f||(u=u.ownerDocument||u,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,f),(c=u.querySelector(Qf(e)))&&!c._p&&(f.instance=c,f.state.loading=5),Df.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Df.set(e,n),c||(i=u,o=e,s=n,l=f.state,i.querySelector('link[rel="preload"][as="style"]['+o+"]")?l.loading=1:(o=i.createElement("link"),l.preload=o,o.addEventListener("load",function(){return l.loading|=1}),o.addEventListener("error",function(){return l.loading|=2}),df(o,"link",s),Ze(o),i.head.appendChild(o))))),t&&null===r)throw Error(a(528,""));return f}if(t&&null!==r)throw Error(a(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=Gf(n),(r=(n=Je(u).hoistableScripts).get(t))||(r={type:"script",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,e))}}function Wf(e){return'href="'+mt(e)+'"'}function Qf(e){return'link[rel="stylesheet"]['+e+"]"}function Kf(e){return d({},e,{"data-precedence":e.precedence,precedence:null})}function Gf(e){return'[src="'+mt(e)+'"]'}function Yf(e){return"script[async]"+e}function Xf(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+mt(n.href)+'"]');if(r)return t.instance=r,Ze(r),r;var i=d({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return Ze(r=(e.ownerDocument||e).createElement("style")),df(r,"style",i),Jf(r,n.precedence,e),t.instance=r;case"stylesheet":i=Wf(n.href);var o=e.querySelector(Qf(i));if(o)return t.state.loading|=4,t.instance=o,Ze(o),o;r=Kf(n),(i=Df.get(i))&&Zf(r,i),Ze(o=(e.ownerDocument||e).createElement("link"));var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),df(o,"link",r),t.state.loading|=4,Jf(o,n.precedence,e),t.instance=o;case"script":return o=Gf(n.src),(i=e.querySelector(Yf(o)))?(t.instance=i,Ze(i),i):(r=n,(i=Df.get(o))&&ed(r=d({},n),i),Ze(i=(e=e.ownerDocument||e).createElement("script")),df(i,"link",r),e.head.appendChild(i),t.instance=i);case"void":return null;default:throw Error(a(443,t.type))}else"stylesheet"===t.type&&!(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,Jf(r,n.precedence,e));return t.instance}function Jf(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=r.length?r[r.length-1]:null,o=i,a=0;a<r.length;a++){var s=r[a];if(s.dataset.precedence===t)o=s;else if(o!==i)break}o?o.parentNode.insertBefore(e,o.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function Zf(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function ed(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var td=null;function nd(e,t,n){if(null===td){var r=new Map,i=td=new Map;i.set(n,r)}else(r=(i=td).get(n))||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var o=n[i];if(!(o[Qe]||o[Fe]||"link"===e&&"stylesheet"===o.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==o.namespaceURI){var a=o.getAttribute(t)||"";a=e+a;var s=r.get(a);s?s.push(o):r.set(a,[o])}}return r}function rd(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function id(e){return!!("stylesheet"!==e.type||3&e.state.loading)}var od=0;function ad(){if(this.count--,0===this.count&&(0===this.imgCount||!this.waitingForImages))if(this.stylesheets)ld(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}var sd=null;function ld(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,sd=new Map,t.forEach(ud,e),sd=null,ad.call(e))}function ud(e,t){if(!(4&t.state.loading)){var n=sd.get(e);if(n)var r=n.get(null);else{n=new Map,sd.set(e,n);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<i.length;o++){var a=i[o];"LINK"!==a.nodeName&&"not all"===a.getAttribute("media")||(n.set(a.dataset.precedence,a),r=a)}r&&n.set(null,r)}a=(i=t.instance).getAttribute("data-precedence"),(o=n.get(a)||r)===r&&n.set(null,i),n.set(a,i),this.count++,r=ad.bind(this),i.addEventListener("load",r),i.addEventListener("error",r),o?o.parentNode.insertBefore(i,o.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(i,e.firstChild),t.state.loading|=4}}var cd={$$typeof:w,Provider:null,Consumer:null,_currentValue:I,_currentValue2:I,_threadCount:0};function fd(e,t,n,r,i,o,a,s,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ae(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ae(0),this.hiddenUpdates=Ae(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=o,this.onRecoverableError=a,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map}function dd(e,t,n,r,i,o){i=function(e){return e?e=Ir:Ir}(i),null===r.context?r.context=i:r.pendingContext=i,(r=vo(t)).payload={element:n},null!==(o=void 0===o?null:o)&&(r.callback=o),null!==(n=bo(e,r,t))&&(Qu(n,0,t),wo(n,e,t))}function hd(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function pd(e,t){hd(e,t),(e=e.alternate)&&hd(e,t)}function gd(e){if(13===e.tag||31===e.tag){var t=Nr(e,67108864);null!==t&&Qu(t,0,67108864),pd(e,67108864)}}function md(e){if(13===e.tag||31===e.tag){var t=Vu(),n=Nr(e,t=Ie(t));null!==n&&Qu(n,0,t),pd(e,t)}}var yd=!0;function vd(e,t,n,r){var i=j.T;j.T=null;var o=T.p;try{T.p=2,wd(e,t,n,r)}finally{T.p=o,j.T=i}}function bd(e,t,n,r){var i=j.T;j.T=null;var o=T.p;try{T.p=8,wd(e,t,n,r)}finally{T.p=o,j.T=i}}function wd(e,t,n,r){if(yd){var i=Sd(r);if(null===i)ef(e,t,r,kd,n),jd(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return Ed=Td(Ed,e,t,n,r,i),!0;case"dragenter":return Od=Td(Od,e,t,n,r,i),!0;case"mouseover":return Pd=Td(Pd,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return zd.set(o,Td(zd.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Ad.set(o,Td(Ad.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(jd(e,r),4&t&&-1<Nd.indexOf(e)){for(;null!==i;){var o=Ye(i);if(null!==o)switch(o.tag){case 3:if((o=o.stateNode).current.memoizedState.isDehydrated){var a=Ce(o.pendingLanes);if(0!==a){var s=o;for(s.pendingLanes|=2,s.entangledLanes|=2;a;){var l=1<<31-be(a);s.entanglements[1]|=l,a&=~l}Tc(o),!(6&du)&&(ju=se()+500,Ic(0,!1))}}break;case 31:case 13:null!==(s=Nr(o,2))&&Qu(s,0,2),Ju(),pd(o,2)}if(null===(o=Sd(r))&&ef(e,t,r,kd,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else ef(e,t,r,null,n)}}function Sd(e){return xd(e=jt(e))}var kd=null;function xd(e){if(kd=null,null!==(e=Ge(e))){var t=s(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=l(t)))return e;e=null}else if(31===n){if(null!==(e=u(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return kd=e,null}function _d(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(le()){case ue:return 2;case ce:return 8;case fe:case de:return 32;case he:return 268435456;default:return 32}default:return 32}}var Cd=!1,Ed=null,Od=null,Pd=null,zd=new Map,Ad=new Map,Ld=[],Nd="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function jd(e,t){switch(e){case"focusin":case"focusout":Ed=null;break;case"dragenter":case"dragleave":Od=null;break;case"mouseover":case"mouseout":Pd=null;break;case"pointerover":case"pointerout":zd.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ad.delete(t.pointerId)}}function Td(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==t&&null!==(t=Ye(t))&&gd(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function Id(e){var t=Ge(e.target);if(null!==t){var n=s(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=l(n)))return e.blockedOn=t,void $e(e.priority,function(){md(n)})}else if(31===t){if(null!==(t=u(n)))return e.blockedOn=t,void $e(e.priority,function(){md(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Rd(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Sd(e.nativeEvent);if(null!==n)return null!==(t=Ye(n))&&gd(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);Nt=r,n.target.dispatchEvent(r),Nt=null,t.shift()}return!0}function Md(e,t,n){Rd(e)&&n.delete(t)}function $d(){Cd=!1,null!==Ed&&Rd(Ed)&&(Ed=null),null!==Od&&Rd(Od)&&(Od=null),null!==Pd&&Rd(Pd)&&(Pd=null),zd.forEach(Md),Ad.forEach(Md)}function Dd(e,t){e.blockedOn===t&&(e.blockedOn=null,Cd||(Cd=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,$d)))}var Fd=null;function Ud(e){Fd!==e&&(Fd=e,r.unstable_scheduleCallback(r.unstable_NormalPriority,function(){Fd===e&&(Fd=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if("function"!=typeof r){if(null===xd(r||n))continue;break}var o=Ye(n);null!==o&&(e.splice(t,3),t-=3,es(o,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Bd(e){function t(t){return Dd(t,e)}null!==Ed&&Dd(Ed,e),null!==Od&&Dd(Od,e),null!==Pd&&Dd(Pd,e),zd.forEach(t),Ad.forEach(t);for(var n=0;n<Ld.length;n++){var r=Ld[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Ld.length&&null===(n=Ld[0]).blockedOn;)Id(n),null===n.blockedOn&&Ld.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var i=n[r],o=n[r+1],a=i[Ue]||null;if("function"==typeof o)a||Ud(n);else if(a){var s=null;if(o&&o.hasAttribute("formAction")){if(i=o,a=o[Ue]||null)s=a.formAction;else if(null!==xd(i))continue}else s=a.action;"function"==typeof s?n[r+1]=s:(n.splice(r,3),r-=3),Ud(n)}}}function qd(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==i&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var r=!1,i=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==i&&(i(),i=null)}}}function Hd(e){this._internalRoot=e}function Vd(e){this._internalRoot=e}Vd.prototype.render=Hd.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(a(409));dd(t.current,Vu(),e,t,null,null)},Vd.prototype.unmount=Hd.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;dd(e.current,2,null,e,null,null),Ju(),t[Be]=null}},Vd.prototype.unstable_scheduleHydration=function(e){if(e){var t=Me();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ld.length&&0!==t&&t<Ld[n].priority;n++);Ld.splice(n,0,e),0===n&&Id(e)}};var Wd=i.version;if("19.2.3"!==Wd)throw Error(a(527,Wd,"19.2.3"));T.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw e=Object.keys(e).join(","),Error(a(268,e))}return e=function(e){var t=e.alternate;if(!t){if(null===(t=s(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return c(i),e;if(o===r)return c(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var l=!1,u=i.child;u;){if(u===n){l=!0,n=i,r=o;break}if(u===r){l=!0,r=i,n=o;break}u=u.sibling}if(!l){for(u=o.child;u;){if(u===n){l=!0,n=o,r=i;break}if(u===r){l=!0,r=o,n=i;break}u=u.sibling}if(!l)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(t),null===(e=null!==e?f(e):null)?null:e.stateNode};var Qd={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:j,reconcilerVersion:"19.2.3"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Kd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Kd.isDisabled&&Kd.supportsFiber)try{me=Kd.inject(Qd),ye=Kd}catch(Yd){}}t.createRoot=function(e,t){if(!(n=e)||1!==n.nodeType&&9!==n.nodeType&&11!==n.nodeType)throw Error(a(299));var n,r=!1,i="",o=xs,s=_s,l=Cs;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(i=t.identifierPrefix),void 0!==t.onUncaughtError&&(o=t.onUncaughtError),void 0!==t.onCaughtError&&(s=t.onCaughtError),void 0!==t.onRecoverableError&&(l=t.onRecoverableError)),t=function(e,t,n,r,i,o,a,s,l,u,c,f){return e=new fd(e,t,n,a,l,u,c,f,s),t=1,!0===o&&(t|=24),o=Mr(3,null,null,t),e.current=o,o.stateNode=e,(t=$i()).refCount++,e.pooledCache=t,t.refCount++,o.memoizedState={element:r,isDehydrated:n,cache:t},mo(o),e}(e,1,!1,null,0,r,i,null,o,s,l,qd),e[Be]=t.current,Jc(e),new Hd(t)}},81(e,t,n){"use strict";e.exports=n(686)},92(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){}}(),e.exports=n(466)},99(e,t,n){"use strict";e.exports=n(146)},146(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(0>o(l,n))u<i&&0>o(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else{if(!(u<i&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var u=[],c=[],f=1,d=null,h=3,p=!1,g=!1,m=!1,y=!1,v="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,w="undefined"!=typeof setImmediate?setImmediate:null;function S(e){for(var t=r(c);null!==t;){if(null===t.callback)i(c);else{if(!(t.startTime<=e))break;i(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function k(e){if(m=!1,S(e),!g)if(null!==r(u))g=!0,_||(_=!0,x());else{var t=r(c);null!==t&&N(k,t.startTime-e)}}var x,_=!1,C=-1,E=5,O=-1;function P(){return!(!y&&t.unstable_now()-O<E)}function z(){if(y=!1,_){var e=t.unstable_now();O=e;var n=!0;try{e:{g=!1,m&&(m=!1,b(C),C=-1),p=!0;var o=h;try{t:{for(S(e),d=r(u);null!==d&&!(d.expirationTime>e&&P());){var a=d.callback;if("function"==typeof a){d.callback=null,h=d.priorityLevel;var s=a(d.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof s){d.callback=s,S(e),n=!0;break t}d===r(u)&&i(u),S(e)}else i(u);d=r(u)}if(null!==d)n=!0;else{var l=r(c);null!==l&&N(k,l.startTime-e),n=!1}}break e}finally{d=null,h=o,p=!1}n=void 0}}finally{n?x():_=!1}}}if("function"==typeof w)x=function(){w(z)};else if("undefined"!=typeof MessageChannel){var A=new MessageChannel,L=A.port2;A.port1.onmessage=z,x=function(){L.postMessage(null)}}else x=function(){v(z,0)};function N(e,n){C=v(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_forceFrameRate=function(e){0>e||125<e||(E=0<e?Math.floor(1e3/e):5)},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_requestPaint=function(){y=!0},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,i,o){var a=t.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?a+o:a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:f++,callback:i,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>a?(e.sortIndex=o,n(c,e),null===r(u)&&e===r(c)&&(m?(b(C),C=-1):m=!0,N(k,o-a))):(e.sortIndex=s,n(u,e),g||p||(g=!0,_||(_=!0,x()))),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},181(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){}}(),e.exports=n(18)},357(e,t){"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function i(e,t,r){var i=null;if(void 0!==r&&(i=""+r),void 0!==t.key&&(i=""+t.key),"key"in t)for(var o in r={},t)"key"!==o&&(r[o]=t[o]);else r=t;return t=r.ref,{$$typeof:n,type:e,key:i,ref:void 0!==t?t:null,props:r}}t.Fragment=r,t.jsx=i,t.jsxs=i},400(e){var t;t=()=>(()=>{var e={873:(e,t)=>{var n,r,i=function(){var e=function(e,t){var n=e,r=a[t],i=null,o=0,l=null,m=[],y={},b=function(e,t){i=function(e){for(var t=new Array(e),n=0;n<e;n+=1){t[n]=new Array(e);for(var r=0;r<e;r+=1)t[n][r]=null}return t}(o=4*n+17),w(0,0),w(o-7,0),w(0,o-7),k(),S(),_(e,t),n>=7&&x(e),null==l&&(l=E(n,r,m)),C(l,t)},w=function(e,t){for(var n=-1;n<=7;n+=1)if(!(e+n<=-1||o<=e+n))for(var r=-1;r<=7;r+=1)t+r<=-1||o<=t+r||(i[e+n][t+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},S=function(){for(var e=8;e<o-8;e+=1)null==i[e][6]&&(i[e][6]=e%2==0);for(var t=8;t<o-8;t+=1)null==i[6][t]&&(i[6][t]=t%2==0)},k=function(){for(var e=s.getPatternPosition(n),t=0;t<e.length;t+=1)for(var r=0;r<e.length;r+=1){var o=e[t],a=e[r];if(null==i[o][a])for(var l=-2;l<=2;l+=1)for(var u=-2;u<=2;u+=1)i[o+l][a+u]=-2==l||2==l||-2==u||2==u||0==l&&0==u}},x=function(e){for(var t=s.getBCHTypeNumber(n),r=0;r<18;r+=1){var a=!e&&1==(t>>r&1);i[Math.floor(r/3)][r%3+o-8-3]=a}for(r=0;r<18;r+=1)a=!e&&1==(t>>r&1),i[r%3+o-8-3][Math.floor(r/3)]=a},_=function(e,t){for(var n=r<<3|t,a=s.getBCHTypeInfo(n),l=0;l<15;l+=1){var u=!e&&1==(a>>l&1);l<6?i[l][8]=u:l<8?i[l+1][8]=u:i[o-15+l][8]=u}for(l=0;l<15;l+=1)u=!e&&1==(a>>l&1),l<8?i[8][o-l-1]=u:l<9?i[8][15-l-1+1]=u:i[8][15-l-1]=u;i[o-8][8]=!e},C=function(e,t){for(var n=-1,r=o-1,a=7,l=0,u=s.getMaskFunction(t),c=o-1;c>0;c-=2)for(6==c&&(c-=1);;){for(var f=0;f<2;f+=1)if(null==i[r][c-f]){var d=!1;l<e.length&&(d=1==(e[l]>>>a&1)),u(r,c-f)&&(d=!d),i[r][c-f]=d,-1==(a-=1)&&(l+=1,a=7)}if((r+=n)<0||o<=r){r-=n,n=-n;break}}},E=function(e,t,n){for(var r=c.getRSBlocks(e,t),i=f(),o=0;o<n.length;o+=1){var a=n[o];i.put(a.getMode(),4),i.put(a.getLength(),s.getLengthInBits(a.getMode(),e)),a.write(i)}var l=0;for(o=0;o<r.length;o+=1)l+=r[o].dataCount;if(i.getLengthInBits()>8*l)throw"code length overflow. ("+i.getLengthInBits()+">"+8*l+")";for(i.getLengthInBits()+4<=8*l&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(!1);for(;!(i.getLengthInBits()>=8*l||(i.put(236,8),i.getLengthInBits()>=8*l));)i.put(17,8);return function(e,t){for(var n=0,r=0,i=0,o=new Array(t.length),a=new Array(t.length),l=0;l<t.length;l+=1){var c=t[l].dataCount,f=t[l].totalCount-c;r=Math.max(r,c),i=Math.max(i,f),o[l]=new Array(c);for(var d=0;d<o[l].length;d+=1)o[l][d]=255&e.getBuffer()[d+n];n+=c;var h=s.getErrorCorrectPolynomial(f),p=u(o[l],h.getLength()-1).mod(h);for(a[l]=new Array(h.getLength()-1),d=0;d<a[l].length;d+=1){var g=d+p.getLength()-a[l].length;a[l][d]=g>=0?p.getAt(g):0}}var m=0;for(d=0;d<t.length;d+=1)m+=t[d].totalCount;var y=new Array(m),v=0;for(d=0;d<r;d+=1)for(l=0;l<t.length;l+=1)d<o[l].length&&(y[v]=o[l][d],v+=1);for(d=0;d<i;d+=1)for(l=0;l<t.length;l+=1)d<a[l].length&&(y[v]=a[l][d],v+=1);return y}(i,r)};y.addData=function(e,t){var n=null;switch(t=t||"Byte"){case"Numeric":n=d(e);break;case"Alphanumeric":n=h(e);break;case"Byte":n=p(e);break;case"Kanji":n=g(e);break;default:throw"mode:"+t}m.push(n),l=null},y.isDark=function(e,t){if(e<0||o<=e||t<0||o<=t)throw e+","+t;return i[e][t]},y.getModuleCount=function(){return o},y.make=function(){if(n<1){for(var e=1;e<40;e++){for(var t=c.getRSBlocks(e,r),i=f(),o=0;o<m.length;o++){var a=m[o];i.put(a.getMode(),4),i.put(a.getLength(),s.getLengthInBits(a.getMode(),e)),a.write(i)}var l=0;for(o=0;o<t.length;o++)l+=t[o].dataCount;if(i.getLengthInBits()<=8*l)break}n=e}b(!1,function(){for(var e=0,t=0,n=0;n<8;n+=1){b(!0,n);var r=s.getLostPoint(y);(0==n||e>r)&&(e=r,t=n)}return t}())},y.createTableTag=function(e,t){e=e||2;var n="";n+='<table style="',n+=" border-width: 0px; border-style: none;",n+=" border-collapse: collapse;",n+=" padding: 0px; margin: "+(t=void 0===t?4*e:t)+"px;",n+='">',n+="<tbody>";for(var r=0;r<y.getModuleCount();r+=1){n+="<tr>";for(var i=0;i<y.getModuleCount();i+=1)n+='<td style="',n+=" border-width: 0px; border-style: none;",n+=" border-collapse: collapse;",n+=" padding: 0px; margin: 0px;",n+=" width: "+e+"px;",n+=" height: "+e+"px;",n+=" background-color: ",n+=y.isDark(r,i)?"#000000":"#ffffff",n+=";",n+='"/>';n+="</tr>"}return(n+="</tbody>")+"</table>"},y.createSvgTag=function(e,t,n,r){var i={};"object"==typeof arguments[0]&&(e=(i=arguments[0]).cellSize,t=i.margin,n=i.alt,r=i.title),e=e||2,t=void 0===t?4*e:t,(n="string"==typeof n?{text:n}:n||{}).text=n.text||null,n.id=n.text?n.id||"qrcode-description":null,(r="string"==typeof r?{text:r}:r||{}).text=r.text||null,r.id=r.text?r.id||"qrcode-title":null;var o,a,s,l,u=y.getModuleCount()*e+2*t,c="";for(l="l"+e+",0 0,"+e+" -"+e+",0 0,-"+e+"z ",c+='<svg version="1.1" xmlns="http://www.w3.org/2000/svg"',c+=i.scalable?"":' width="'+u+'px" height="'+u+'px"',c+=' viewBox="0 0 '+u+" "+u+'" ',c+=' preserveAspectRatio="xMinYMin meet"',c+=r.text||n.text?' role="img" aria-labelledby="'+O([r.id,n.id].join(" ").trim())+'"':"",c+=">",c+=r.text?'<title id="'+O(r.id)+'">'+O(r.text)+"</title>":"",c+=n.text?'<description id="'+O(n.id)+'">'+O(n.text)+"</description>":"",c+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',c+='<path d="',a=0;a<y.getModuleCount();a+=1)for(s=a*e+t,o=0;o<y.getModuleCount();o+=1)y.isDark(a,o)&&(c+="M"+(o*e+t)+","+s+l);return(c+='" stroke="transparent" fill="black"/>')+"</svg>"},y.createDataURL=function(e,t){e=e||2,t=void 0===t?4*e:t;var n=y.getModuleCount()*e+2*t,r=t,i=n-t;return v(n,n,function(t,n){if(r<=t&&t<i&&r<=n&&n<i){var o=Math.floor((t-r)/e),a=Math.floor((n-r)/e);return y.isDark(a,o)?0:1}return 1})},y.createImgTag=function(e,t,n){e=e||2,t=void 0===t?4*e:t;var r=y.getModuleCount()*e+2*t,i="";return i+="<img",i+=' src="',i+=y.createDataURL(e,t),i+='"',i+=' width="',i+=r,i+='"',i+=' height="',i+=r,i+='"',n&&(i+=' alt="',i+=O(n),i+='"'),i+"/>"};var O=function(e){for(var t="",n=0;n<e.length;n+=1){var r=e.charAt(n);switch(r){case"<":t+="&lt;";break;case">":t+="&gt;";break;case"&":t+="&amp;";break;case'"':t+="&quot;";break;default:t+=r}}return t};return y.createASCII=function(e,t){if((e=e||1)<2)return function(e){e=void 0===e?2:e;var t,n,r,i,o,a=1*y.getModuleCount()+2*e,s=e,l=a-e,u={"██":"█","█ ":"▀"," █":"▄"," ":" "},c={"██":"▀","█ ":"▀"," █":" "," ":" "},f="";for(t=0;t<a;t+=2){for(r=Math.floor((t-s)/1),i=Math.floor((t+1-s)/1),n=0;n<a;n+=1)o="█",s<=n&&n<l&&s<=t&&t<l&&y.isDark(r,Math.floor((n-s)/1))&&(o=" "),s<=n&&n<l&&s<=t+1&&t+1<l&&y.isDark(i,Math.floor((n-s)/1))?o+=" ":o+="█",f+=e<1&&t+1>=l?c[o]:u[o];f+="\n"}return a%2&&e>0?f.substring(0,f.length-a-1)+Array(a+1).join("▀"):f.substring(0,f.length-1)}(t);e-=1,t=void 0===t?2*e:t;var n,r,i,o,a=y.getModuleCount()*e+2*t,s=t,l=a-t,u=Array(e+1).join("██"),c=Array(e+1).join(" "),f="",d="";for(n=0;n<a;n+=1){for(i=Math.floor((n-s)/e),d="",r=0;r<a;r+=1)o=1,s<=r&&r<l&&s<=n&&n<l&&y.isDark(i,Math.floor((r-s)/e))&&(o=0),d+=o?u:c;for(i=0;i<e;i+=1)f+=d+"\n"}return f.substring(0,f.length-1)},y.renderTo2dContext=function(e,t){t=t||2;for(var n=y.getModuleCount(),r=0;r<n;r++)for(var i=0;i<n;i++)e.fillStyle=y.isDark(r,i)?"black":"white",e.fillRect(r*t,i*t,t,t)},y};e.stringToBytes=(e.stringToBytesFuncs={default:function(e){for(var t=[],n=0;n<e.length;n+=1){var r=e.charCodeAt(n);t.push(255&r)}return t}}).default,e.createStringToBytes=function(e,t){var n=function(){for(var n=y(e),r=function(){var e=n.read();if(-1==e)throw"eof";return e},i=0,o={};;){var a=n.read();if(-1==a)break;var s=r(),l=r()<<8|r();o[String.fromCharCode(a<<8|s)]=l,i+=1}if(i!=t)throw i+" != "+t;return o}(),r="?".charCodeAt(0);return function(e){for(var t=[],i=0;i<e.length;i+=1){var o=e.charCodeAt(i);if(o<128)t.push(o);else{var a=n[e.charAt(i)];"number"==typeof a?(255&a)==a?t.push(a):(t.push(a>>>8),t.push(255&a)):t.push(r)}}return t}};var t,n,r,i,o,a={L:1,M:0,Q:3,H:2},s=(t=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],n=1335,r=7973,o=function(e){for(var t=0;0!=e;)t+=1,e>>>=1;return t},(i={}).getBCHTypeInfo=function(e){for(var t=e<<10;o(t)-o(n)>=0;)t^=n<<o(t)-o(n);return 21522^(e<<10|t)},i.getBCHTypeNumber=function(e){for(var t=e<<12;o(t)-o(r)>=0;)t^=r<<o(t)-o(r);return e<<12|t},i.getPatternPosition=function(e){return t[e-1]},i.getMaskFunction=function(e){switch(e){case 0:return function(e,t){return(e+t)%2==0};case 1:return function(e,t){return e%2==0};case 2:return function(e,t){return t%3==0};case 3:return function(e,t){return(e+t)%3==0};case 4:return function(e,t){return(Math.floor(e/2)+Math.floor(t/3))%2==0};case 5:return function(e,t){return e*t%2+e*t%3==0};case 6:return function(e,t){return(e*t%2+e*t%3)%2==0};case 7:return function(e,t){return(e*t%3+(e+t)%2)%2==0};default:throw"bad maskPattern:"+e}},i.getErrorCorrectPolynomial=function(e){for(var t=u([1],0),n=0;n<e;n+=1)t=t.multiply(u([1,l.gexp(n)],0));return t},i.getLengthInBits=function(e,t){if(1<=t&&t<10)switch(e){case 1:return 10;case 2:return 9;case 4:case 8:return 8;default:throw"mode:"+e}else if(t<27)switch(e){case 1:return 12;case 2:return 11;case 4:return 16;case 8:return 10;default:throw"mode:"+e}else{if(!(t<41))throw"type:"+t;switch(e){case 1:return 14;case 2:return 13;case 4:return 16;case 8:return 12;default:throw"mode:"+e}}},i.getLostPoint=function(e){for(var t=e.getModuleCount(),n=0,r=0;r<t;r+=1)for(var i=0;i<t;i+=1){for(var o=0,a=e.isDark(r,i),s=-1;s<=1;s+=1)if(!(r+s<0||t<=r+s))for(var l=-1;l<=1;l+=1)i+l<0||t<=i+l||0==s&&0==l||a==e.isDark(r+s,i+l)&&(o+=1);o>5&&(n+=3+o-5)}for(r=0;r<t-1;r+=1)for(i=0;i<t-1;i+=1){var u=0;e.isDark(r,i)&&(u+=1),e.isDark(r+1,i)&&(u+=1),e.isDark(r,i+1)&&(u+=1),e.isDark(r+1,i+1)&&(u+=1),0!=u&&4!=u||(n+=3)}for(r=0;r<t;r+=1)for(i=0;i<t-6;i+=1)e.isDark(r,i)&&!e.isDark(r,i+1)&&e.isDark(r,i+2)&&e.isDark(r,i+3)&&e.isDark(r,i+4)&&!e.isDark(r,i+5)&&e.isDark(r,i+6)&&(n+=40);for(i=0;i<t;i+=1)for(r=0;r<t-6;r+=1)e.isDark(r,i)&&!e.isDark(r+1,i)&&e.isDark(r+2,i)&&e.isDark(r+3,i)&&e.isDark(r+4,i)&&!e.isDark(r+5,i)&&e.isDark(r+6,i)&&(n+=40);var c=0;for(i=0;i<t;i+=1)for(r=0;r<t;r+=1)e.isDark(r,i)&&(c+=1);return n+Math.abs(100*c/t/t-50)/5*10},i),l=function(){for(var e=new Array(256),t=new Array(256),n=0;n<8;n+=1)e[n]=1<<n;for(n=8;n<256;n+=1)e[n]=e[n-4]^e[n-5]^e[n-6]^e[n-8];for(n=0;n<255;n+=1)t[e[n]]=n;return{glog:function(e){if(e<1)throw"glog("+e+")";return t[e]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return e[t]}}}();function u(e,t){if(void 0===e.length)throw e.length+"/"+t;var n=function(){for(var n=0;n<e.length&&0==e[n];)n+=1;for(var r=new Array(e.length-n+t),i=0;i<e.length-n;i+=1)r[i]=e[i+n];return r}(),r={getAt:function(e){return n[e]},getLength:function(){return n.length},multiply:function(e){for(var t=new Array(r.getLength()+e.getLength()-1),n=0;n<r.getLength();n+=1)for(var i=0;i<e.getLength();i+=1)t[n+i]^=l.gexp(l.glog(r.getAt(n))+l.glog(e.getAt(i)));return u(t,0)},mod:function(e){if(r.getLength()-e.getLength()<0)return r;for(var t=l.glog(r.getAt(0))-l.glog(e.getAt(0)),n=new Array(r.getLength()),i=0;i<r.getLength();i+=1)n[i]=r.getAt(i);for(i=0;i<e.getLength();i+=1)n[i]^=l.gexp(l.glog(e.getAt(i))+t);return u(n,0).mod(e)}};return r}var c=function(){var e=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],t=function(e,t){var n={};return n.totalCount=e,n.dataCount=t,n},n={getRSBlocks:function(n,r){var i=function(t,n){switch(n){case a.L:return e[4*(t-1)+0];case a.M:return e[4*(t-1)+1];case a.Q:return e[4*(t-1)+2];case a.H:return e[4*(t-1)+3];default:return}}(n,r);if(void 0===i)throw"bad rs block @ typeNumber:"+n+"/errorCorrectionLevel:"+r;for(var o=i.length/3,s=[],l=0;l<o;l+=1)for(var u=i[3*l+0],c=i[3*l+1],f=i[3*l+2],d=0;d<u;d+=1)s.push(t(c,f));return s}};return n}(),f=function(){var e=[],t=0,n={getBuffer:function(){return e},getAt:function(t){var n=Math.floor(t/8);return 1==(e[n]>>>7-t%8&1)},put:function(e,t){for(var r=0;r<t;r+=1)n.putBit(1==(e>>>t-r-1&1))},getLengthInBits:function(){return t},putBit:function(n){var r=Math.floor(t/8);e.length<=r&&e.push(0),n&&(e[r]|=128>>>t%8),t+=1}};return n},d=function(e){var t=e,n={getMode:function(){return 1},getLength:function(e){return t.length},write:function(e){for(var n=t,i=0;i+2<n.length;)e.put(r(n.substring(i,i+3)),10),i+=3;i<n.length&&(n.length-i==1?e.put(r(n.substring(i,i+1)),4):n.length-i==2&&e.put(r(n.substring(i,i+2)),7))}},r=function(e){for(var t=0,n=0;n<e.length;n+=1)t=10*t+i(e.charAt(n));return t},i=function(e){if("0"<=e&&e<="9")return e.charCodeAt(0)-"0".charCodeAt(0);throw"illegal char :"+e};return n},h=function(e){var t=e,n={getMode:function(){return 2},getLength:function(e){return t.length},write:function(e){for(var n=t,i=0;i+1<n.length;)e.put(45*r(n.charAt(i))+r(n.charAt(i+1)),11),i+=2;i<n.length&&e.put(r(n.charAt(i)),6)}},r=function(e){if("0"<=e&&e<="9")return e.charCodeAt(0)-"0".charCodeAt(0);if("A"<=e&&e<="Z")return e.charCodeAt(0)-"A".charCodeAt(0)+10;switch(e){case" ":return 36;case"$":return 37;case"%":return 38;case"*":return 39;case"+":return 40;case"-":return 41;case".":return 42;case"/":return 43;case":":return 44;default:throw"illegal char :"+e}};return n},p=function(t){var n=e.stringToBytes(t);return{getMode:function(){return 4},getLength:function(e){return n.length},write:function(e){for(var t=0;t<n.length;t+=1)e.put(n[t],8)}}},g=function(t){var n=e.stringToBytesFuncs.SJIS;if(!n)throw"sjis not supported.";!function(){var e=n("友");if(2!=e.length||38726!=(e[0]<<8|e[1]))throw"sjis not supported."}();var r=n(t),i={getMode:function(){return 8},getLength:function(e){return~~(r.length/2)},write:function(e){for(var t=r,n=0;n+1<t.length;){var i=(255&t[n])<<8|255&t[n+1];if(33088<=i&&i<=40956)i-=33088;else{if(!(57408<=i&&i<=60351))throw"illegal char at "+(n+1)+"/"+i;i-=49472}i=192*(i>>>8&255)+(255&i),e.put(i,13),n+=2}if(n<t.length)throw"illegal char at "+(n+1)}};return i},m=function(){var e=[],t={writeByte:function(t){e.push(255&t)},writeShort:function(e){t.writeByte(e),t.writeByte(e>>>8)},writeBytes:function(e,n,r){n=n||0,r=r||e.length;for(var i=0;i<r;i+=1)t.writeByte(e[i+n])},writeString:function(e){for(var n=0;n<e.length;n+=1)t.writeByte(e.charCodeAt(n))},toByteArray:function(){return e},toString:function(){var t="";t+="[";for(var n=0;n<e.length;n+=1)n>0&&(t+=","),t+=e[n];return t+"]"}};return t},y=function(e){var t=e,n=0,r=0,i=0,o={read:function(){for(;i<8;){if(n>=t.length){if(0==i)return-1;throw"unexpected end of file./"+i}var e=t.charAt(n);if(n+=1,"="==e)return i=0,-1;e.match(/^\s$/)||(r=r<<6|a(e.charCodeAt(0)),i+=6)}var o=r>>>i-8&255;return i-=8,o}},a=function(e){if(65<=e&&e<=90)return e-65;if(97<=e&&e<=122)return e-97+26;if(48<=e&&e<=57)return e-48+52;if(43==e)return 62;if(47==e)return 63;throw"c:"+e};return o},v=function(e,t,n){for(var r=function(e,t){var n=e,r=t,i=new Array(e*t),o={setPixel:function(e,t,r){i[t*n+e]=r},write:function(e){e.writeString("GIF87a"),e.writeShort(n),e.writeShort(r),e.writeByte(128),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(255),e.writeByte(255),e.writeByte(255),e.writeString(","),e.writeShort(0),e.writeShort(0),e.writeShort(n),e.writeShort(r),e.writeByte(0);var t=a(2);e.writeByte(2);for(var i=0;t.length-i>255;)e.writeByte(255),e.writeBytes(t,i,255),i+=255;e.writeByte(t.length-i),e.writeBytes(t,i,t.length-i),e.writeByte(0),e.writeString(";")}},a=function(e){for(var t=1<<e,n=1+(1<<e),r=e+1,o=s(),a=0;a<t;a+=1)o.add(String.fromCharCode(a));o.add(String.fromCharCode(t)),o.add(String.fromCharCode(n));var l,u,c,f=m(),d=(l=f,u=0,c=0,{write:function(e,t){if(e>>>t!=0)throw"length over";for(;u+t>=8;)l.writeByte(255&(e<<u|c)),t-=8-u,e>>>=8-u,c=0,u=0;c|=e<<u,u+=t},flush:function(){u>0&&l.writeByte(c)}});d.write(t,r);var h=0,p=String.fromCharCode(i[h]);for(h+=1;h<i.length;){var g=String.fromCharCode(i[h]);h+=1,o.contains(p+g)?p+=g:(d.write(o.indexOf(p),r),o.size()<4095&&(o.size()==1<<r&&(r+=1),o.add(p+g)),p=g)}return d.write(o.indexOf(p),r),d.write(n,r),d.flush(),f.toByteArray()},s=function(){var e={},t=0,n={add:function(r){if(n.contains(r))throw"dup key:"+r;e[r]=t,t+=1},size:function(){return t},indexOf:function(t){return e[t]},contains:function(t){return void 0!==e[t]}};return n};return o}(e,t),i=0;i<t;i+=1)for(var o=0;o<e;o+=1)r.setPixel(o,i,n(o,i));var a=m();r.write(a);for(var s=function(){var e=0,t=0,n=0,r="",i={},o=function(e){r+=String.fromCharCode(a(63&e))},a=function(e){if(e<0);else{if(e<26)return 65+e;if(e<52)return e-26+97;if(e<62)return e-52+48;if(62==e)return 43;if(63==e)return 47}throw"n:"+e};return i.writeByte=function(r){for(e=e<<8|255&r,t+=8,n+=1;t>=6;)o(e>>>t-6),t-=6},i.flush=function(){if(t>0&&(o(e<<6-t),e=0,t=0),n%3!=0)for(var i=3-n%3,a=0;a<i;a+=1)r+="="},i.toString=function(){return r},i}(),l=a.toByteArray(),u=0;u<l.length;u+=1)s.writeByte(l[u]);return s.flush(),"data:image/gif;base64,"+s};return e}();i.stringToBytesFuncs["UTF-8"]=function(e){return function(e){for(var t=[],n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t.push(r):r<2048?t.push(192|r>>6,128|63&r):r<55296||r>=57344?t.push(224|r>>12,128|r>>6&63,128|63&r):(n++,r=65536+((1023&r)<<10|1023&e.charCodeAt(n)),t.push(240|r>>18,128|r>>12&63,128|r>>6&63,128|63&r))}return t}(e)},void 0===(r="function"==typeof(n=function(){return i})?n.apply(t,[]):n)||(e.exports=r)}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},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);var r={};return(()=>{"use strict";n.d(r,{default:()=>O});const e=e=>!!e&&"object"==typeof e&&!Array.isArray(e);function t(n,...r){if(!r.length)return n;const i=r.shift();return void 0!==i&&e(n)&&e(i)?(n=Object.assign({},n),Object.keys(i).forEach(r=>{const o=n[r],a=i[r];Array.isArray(o)&&Array.isArray(a)?n[r]=a:e(o)&&e(a)?n[r]=t(Object.assign({},o),a):n[r]=a}),t(n,...r)):n}function i(e,t){const n=document.createElement("a");n.download=t,n.href=e,document.body.appendChild(n),n.click(),document.body.removeChild(n)}const o={L:.07,M:.15,Q:.25,H:.3};class a{constructor({svg:e,type:t,window:n}){this._svg=e,this._type=t,this._window=n}draw(e,t,n,r){let i;switch(this._type){case"dots":i=this._drawDot;break;case"classy":i=this._drawClassy;break;case"classy-rounded":i=this._drawClassyRounded;break;case"rounded":i=this._drawRounded;break;case"extra-rounded":i=this._drawExtraRounded;break;default:i=this._drawSquare}i.call(this,{x:e,y:t,size:n,getNeighbor:r})}_rotateFigure({x:e,y:t,size:n,rotation:r=0,draw:i}){var o;const a=e+n/2,s=t+n/2;i(),null===(o=this._element)||void 0===o||o.setAttribute("transform",`rotate(${180*r/Math.PI},${a},${s})`)}_basicDot(e){const{size:t,x:n,y:r}=e;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","circle"),this._element.setAttribute("cx",String(n+t/2)),this._element.setAttribute("cy",String(r+t/2)),this._element.setAttribute("r",String(t/2))}}))}_basicSquare(e){const{size:t,x:n,y:r}=e;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect"),this._element.setAttribute("x",String(n)),this._element.setAttribute("y",String(r)),this._element.setAttribute("width",String(t)),this._element.setAttribute("height",String(t))}}))}_basicSideRounded(e){const{size:t,x:n,y:r}=e;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${n} ${r}v ${t}h `+t/2+`a ${t/2} ${t/2}, 0, 0, 0, 0 ${-t}`)}}))}_basicCornerRounded(e){const{size:t,x:n,y:r}=e;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${n} ${r}v ${t}h ${t}v `+-t/2+`a ${t/2} ${t/2}, 0, 0, 0, ${-t/2} ${-t/2}`)}}))}_basicCornerExtraRounded(e){const{size:t,x:n,y:r}=e;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${n} ${r}v ${t}h ${t}a ${t} ${t}, 0, 0, 0, ${-t} ${-t}`)}}))}_basicCornersRounded(e){const{size:t,x:n,y:r}=e;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${n} ${r}v `+t/2+`a ${t/2} ${t/2}, 0, 0, 0, ${t/2} ${t/2}h `+t/2+"v "+-t/2+`a ${t/2} ${t/2}, 0, 0, 0, ${-t/2} ${-t/2}`)}}))}_drawDot({x:e,y:t,size:n}){this._basicDot({x:e,y:t,size:n,rotation:0})}_drawSquare({x:e,y:t,size:n}){this._basicSquare({x:e,y:t,size:n,rotation:0})}_drawRounded({x:e,y:t,size:n,getNeighbor:r}){const i=r?+r(-1,0):0,o=r?+r(1,0):0,a=r?+r(0,-1):0,s=r?+r(0,1):0,l=i+o+a+s;if(0!==l)if(l>2||i&&o||a&&s)this._basicSquare({x:e,y:t,size:n,rotation:0});else{if(2===l){let r=0;return i&&a?r=Math.PI/2:a&&o?r=Math.PI:o&&s&&(r=-Math.PI/2),void this._basicCornerRounded({x:e,y:t,size:n,rotation:r})}if(1===l){let r=0;return a?r=Math.PI/2:o?r=Math.PI:s&&(r=-Math.PI/2),void this._basicSideRounded({x:e,y:t,size:n,rotation:r})}}else this._basicDot({x:e,y:t,size:n,rotation:0})}_drawExtraRounded({x:e,y:t,size:n,getNeighbor:r}){const i=r?+r(-1,0):0,o=r?+r(1,0):0,a=r?+r(0,-1):0,s=r?+r(0,1):0,l=i+o+a+s;if(0!==l)if(l>2||i&&o||a&&s)this._basicSquare({x:e,y:t,size:n,rotation:0});else{if(2===l){let r=0;return i&&a?r=Math.PI/2:a&&o?r=Math.PI:o&&s&&(r=-Math.PI/2),void this._basicCornerExtraRounded({x:e,y:t,size:n,rotation:r})}if(1===l){let r=0;return a?r=Math.PI/2:o?r=Math.PI:s&&(r=-Math.PI/2),void this._basicSideRounded({x:e,y:t,size:n,rotation:r})}}else this._basicDot({x:e,y:t,size:n,rotation:0})}_drawClassy({x:e,y:t,size:n,getNeighbor:r}){const i=r?+r(-1,0):0,o=r?+r(1,0):0,a=r?+r(0,-1):0,s=r?+r(0,1):0;0!==i+o+a+s?i||a?o||s?this._basicSquare({x:e,y:t,size:n,rotation:0}):this._basicCornerRounded({x:e,y:t,size:n,rotation:Math.PI/2}):this._basicCornerRounded({x:e,y:t,size:n,rotation:-Math.PI/2}):this._basicCornersRounded({x:e,y:t,size:n,rotation:Math.PI/2})}_drawClassyRounded({x:e,y:t,size:n,getNeighbor:r}){const i=r?+r(-1,0):0,o=r?+r(1,0):0,a=r?+r(0,-1):0,s=r?+r(0,1):0;0!==i+o+a+s?i||a?o||s?this._basicSquare({x:e,y:t,size:n,rotation:0}):this._basicCornerExtraRounded({x:e,y:t,size:n,rotation:Math.PI/2}):this._basicCornerExtraRounded({x:e,y:t,size:n,rotation:-Math.PI/2}):this._basicCornersRounded({x:e,y:t,size:n,rotation:Math.PI/2})}}const s={dot:"dot",square:"square",extraRounded:"extra-rounded"},l=Object.values(s);class u{constructor({svg:e,type:t,window:n}){this._svg=e,this._type=t,this._window=n}draw(e,t,n,r){let i;switch(this._type){case s.square:i=this._drawSquare;break;case s.extraRounded:i=this._drawExtraRounded;break;default:i=this._drawDot}i.call(this,{x:e,y:t,size:n,rotation:r})}_rotateFigure({x:e,y:t,size:n,rotation:r=0,draw:i}){var o;const a=e+n/2,s=t+n/2;i(),null===(o=this._element)||void 0===o||o.setAttribute("transform",`rotate(${180*r/Math.PI},${a},${s})`)}_basicDot(e){const{size:t,x:n,y:r}=e,i=t/7;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("clip-rule","evenodd"),this._element.setAttribute("d",`M ${n+t/2} ${r}a ${t/2} ${t/2} 0 1 0 0.1 0zm 0 ${i}a ${t/2-i} ${t/2-i} 0 1 1 -0.1 0Z`)}}))}_basicSquare(e){const{size:t,x:n,y:r}=e,i=t/7;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("clip-rule","evenodd"),this._element.setAttribute("d",`M ${n} ${r}v ${t}h ${t}v `+-t+"z"+`M ${n+i} ${r+i}h `+(t-2*i)+"v "+(t-2*i)+"h "+(2*i-t)+"z")}}))}_basicExtraRounded(e){const{size:t,x:n,y:r}=e,i=t/7;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("clip-rule","evenodd"),this._element.setAttribute("d",`M ${n} ${r+2.5*i}v `+2*i+`a ${2.5*i} ${2.5*i}, 0, 0, 0, ${2.5*i} ${2.5*i}h `+2*i+`a ${2.5*i} ${2.5*i}, 0, 0, 0, ${2.5*i} ${2.5*-i}v `+-2*i+`a ${2.5*i} ${2.5*i}, 0, 0, 0, ${2.5*-i} ${2.5*-i}h `+-2*i+`a ${2.5*i} ${2.5*i}, 0, 0, 0, ${2.5*-i} ${2.5*i}`+`M ${n+2.5*i} ${r+i}h `+2*i+`a ${1.5*i} ${1.5*i}, 0, 0, 1, ${1.5*i} ${1.5*i}v `+2*i+`a ${1.5*i} ${1.5*i}, 0, 0, 1, ${1.5*-i} ${1.5*i}h `+-2*i+`a ${1.5*i} ${1.5*i}, 0, 0, 1, ${1.5*-i} ${1.5*-i}v `+-2*i+`a ${1.5*i} ${1.5*i}, 0, 0, 1, ${1.5*i} ${1.5*-i}`)}}))}_drawDot({x:e,y:t,size:n,rotation:r}){this._basicDot({x:e,y:t,size:n,rotation:r})}_drawSquare({x:e,y:t,size:n,rotation:r}){this._basicSquare({x:e,y:t,size:n,rotation:r})}_drawExtraRounded({x:e,y:t,size:n,rotation:r}){this._basicExtraRounded({x:e,y:t,size:n,rotation:r})}}const c={dot:"dot",square:"square"},f=Object.values(c);class d{constructor({svg:e,type:t,window:n}){this._svg=e,this._type=t,this._window=n}draw(e,t,n,r){let i;i=this._type===c.square?this._drawSquare:this._drawDot,i.call(this,{x:e,y:t,size:n,rotation:r})}_rotateFigure({x:e,y:t,size:n,rotation:r=0,draw:i}){var o;const a=e+n/2,s=t+n/2;i(),null===(o=this._element)||void 0===o||o.setAttribute("transform",`rotate(${180*r/Math.PI},${a},${s})`)}_basicDot(e){const{size:t,x:n,y:r}=e;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","circle"),this._element.setAttribute("cx",String(n+t/2)),this._element.setAttribute("cy",String(r+t/2)),this._element.setAttribute("r",String(t/2))}}))}_basicSquare(e){const{size:t,x:n,y:r}=e;this._rotateFigure(Object.assign(Object.assign({},e),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect"),this._element.setAttribute("x",String(n)),this._element.setAttribute("y",String(r)),this._element.setAttribute("width",String(t)),this._element.setAttribute("height",String(t))}}))}_drawDot({x:e,y:t,size:n,rotation:r}){this._basicDot({x:e,y:t,size:n,rotation:r})}_drawSquare({x:e,y:t,size:n,rotation:r}){this._basicSquare({x:e,y:t,size:n,rotation:r})}}const h="circle",p=[[1,1,1,1,1,1,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,1,1,1,1,1,1]],g=[[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,1,1,1,0,0],[0,0,1,1,1,0,0],[0,0,1,1,1,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]];class m{constructor(e,t){this._roundSize=e=>this._options.dotsOptions.roundSize?Math.floor(e):e,this._window=t,this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","svg"),this._element.setAttribute("width",String(e.width)),this._element.setAttribute("height",String(e.height)),this._element.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),e.dotsOptions.roundSize||this._element.setAttribute("shape-rendering","crispEdges"),this._element.setAttribute("viewBox",`0 0 ${e.width} ${e.height}`),this._defs=this._window.document.createElementNS("http://www.w3.org/2000/svg","defs"),this._element.appendChild(this._defs),this._imageUri=e.image,this._instanceId=m.instanceCount++,this._options=e}get width(){return this._options.width}get height(){return this._options.height}getElement(){return this._element}async drawQR(e){const t=e.getModuleCount(),n=Math.min(this._options.width,this._options.height)-2*this._options.margin,r=this._options.shape===h?n/Math.sqrt(2):n,i=this._roundSize(r/t);let a={hideXDots:0,hideYDots:0,width:0,height:0};if(this._qr=e,this._options.image){if(await this.loadImage(),!this._image)return;const{imageOptions:e,qrOptions:n}=this._options,r=e.imageSize*o[n.errorCorrectionLevel],s=Math.floor(r*t*t);a=function({originalHeight:e,originalWidth:t,maxHiddenDots:n,maxHiddenAxisDots:r,dotSize:i}){const o={x:0,y:0},a={x:0,y:0};if(e<=0||t<=0||n<=0||i<=0)return{height:0,width:0,hideYDots:0,hideXDots:0};const s=e/t;return o.x=Math.floor(Math.sqrt(n/s)),o.x<=0&&(o.x=1),r&&r<o.x&&(o.x=r),o.x%2==0&&o.x--,a.x=o.x*i,o.y=1+2*Math.ceil((o.x*s-1)/2),a.y=Math.round(a.x*s),(o.y*o.x>n||r&&r<o.y)&&(r&&r<o.y?(o.y=r,o.y%2==0&&o.x--):o.y-=2,a.y=o.y*i,o.x=1+2*Math.ceil((o.y/s-1)/2),a.x=Math.round(a.y/s)),{height:a.y,width:a.x,hideYDots:o.y,hideXDots:o.x}}({originalWidth:this._image.width,originalHeight:this._image.height,maxHiddenDots:s,maxHiddenAxisDots:t-14,dotSize:i})}this.drawBackground(),this.drawDots((e,n)=>{var r,i,o,s,l,u;return!(this._options.imageOptions.hideBackgroundDots&&e>=(t-a.hideYDots)/2&&e<(t+a.hideYDots)/2&&n>=(t-a.hideXDots)/2&&n<(t+a.hideXDots)/2||(null===(r=p[e])||void 0===r?void 0:r[n])||(null===(i=p[e-t+7])||void 0===i?void 0:i[n])||(null===(o=p[e])||void 0===o?void 0:o[n-t+7])||(null===(s=g[e])||void 0===s?void 0:s[n])||(null===(l=g[e-t+7])||void 0===l?void 0:l[n])||(null===(u=g[e])||void 0===u?void 0:u[n-t+7]))}),this.drawCorners(),this._options.image&&await this.drawImage({width:a.width,height:a.height,count:t,dotSize:i})}drawBackground(){var e,t,n;const r=this._element,i=this._options;if(r){const r=null===(e=i.backgroundOptions)||void 0===e?void 0:e.gradient,o=null===(t=i.backgroundOptions)||void 0===t?void 0:t.color;let a=i.height,s=i.width;if(r||o){const e=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect");this._backgroundClipPath=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._backgroundClipPath.setAttribute("id",`clip-path-background-color-${this._instanceId}`),this._defs.appendChild(this._backgroundClipPath),(null===(n=i.backgroundOptions)||void 0===n?void 0:n.round)&&(a=s=Math.min(i.width,i.height),e.setAttribute("rx",String(a/2*i.backgroundOptions.round))),e.setAttribute("x",String(this._roundSize((i.width-s)/2))),e.setAttribute("y",String(this._roundSize((i.height-a)/2))),e.setAttribute("width",String(s)),e.setAttribute("height",String(a)),this._backgroundClipPath.appendChild(e),this._createColor({options:r,color:o,additionalRotation:0,x:0,y:0,height:i.height,width:i.width,name:`background-color-${this._instanceId}`})}}}drawDots(e){var t,n;if(!this._qr)throw"QR code is not defined";const r=this._options,i=this._qr.getModuleCount();if(i>r.width||i>r.height)throw"The canvas is too small.";const o=Math.min(r.width,r.height)-2*r.margin,s=r.shape===h?o/Math.sqrt(2):o,l=this._roundSize(s/i),u=this._roundSize((r.width-i*l)/2),c=this._roundSize((r.height-i*l)/2),f=new a({svg:this._element,type:r.dotsOptions.type,window:this._window});this._dotsClipPath=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._dotsClipPath.setAttribute("id",`clip-path-dot-color-${this._instanceId}`),this._defs.appendChild(this._dotsClipPath),this._createColor({options:null===(t=r.dotsOptions)||void 0===t?void 0:t.gradient,color:r.dotsOptions.color,additionalRotation:0,x:0,y:0,height:r.height,width:r.width,name:`dot-color-${this._instanceId}`});for(let a=0;a<i;a++)for(let t=0;t<i;t++)e&&!e(a,t)||(null===(n=this._qr)||void 0===n?void 0:n.isDark(a,t))&&(f.draw(u+t*l,c+a*l,l,(n,r)=>!(t+n<0||a+r<0||t+n>=i||a+r>=i)&&!(e&&!e(a+r,t+n))&&!!this._qr&&this._qr.isDark(a+r,t+n)),f._element&&this._dotsClipPath&&this._dotsClipPath.appendChild(f._element));if(r.shape===h){const e=this._roundSize((o/l-i)/2),t=i+2*e,n=u-e*l,r=c-e*l,a=[],s=this._roundSize(t/2);for(let o=0;o<t;o++){a[o]=[];for(let n=0;n<t;n++)o>=e-1&&o<=t-e&&n>=e-1&&n<=t-e||Math.sqrt((o-s)*(o-s)+(n-s)*(n-s))>s?a[o][n]=0:a[o][n]=this._qr.isDark(n-2*e<0?n:n>=i?n-2*e:n-e,o-2*e<0?o:o>=i?o-2*e:o-e)?1:0}for(let i=0;i<t;i++)for(let e=0;e<t;e++)a[i][e]&&(f.draw(n+e*l,r+i*l,l,(t,n)=>{var r;return!!(null===(r=a[i+n])||void 0===r?void 0:r[e+t])}),f._element&&this._dotsClipPath&&this._dotsClipPath.appendChild(f._element))}}drawCorners(){if(!this._qr)throw"QR code is not defined";const e=this._element,t=this._options;if(!e)throw"Element code is not defined";const n=this._qr.getModuleCount(),r=Math.min(t.width,t.height)-2*t.margin,i=t.shape===h?r/Math.sqrt(2):r,o=this._roundSize(i/n),s=7*o,c=3*o,m=this._roundSize((t.width-n*o)/2),y=this._roundSize((t.height-n*o)/2);[[0,0,0],[1,0,Math.PI/2],[0,1,-Math.PI/2]].forEach(([e,r,i])=>{var h,v,b,w,S,k,x,_,C,E,O,P,z,A;const L=m+e*o*(n-7),N=y+r*o*(n-7);let j=this._dotsClipPath,T=this._dotsClipPath;if(((null===(h=t.cornersSquareOptions)||void 0===h?void 0:h.gradient)||(null===(v=t.cornersSquareOptions)||void 0===v?void 0:v.color))&&(j=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),j.setAttribute("id",`clip-path-corners-square-color-${e}-${r}-${this._instanceId}`),this._defs.appendChild(j),this._cornersSquareClipPath=this._cornersDotClipPath=T=j,this._createColor({options:null===(b=t.cornersSquareOptions)||void 0===b?void 0:b.gradient,color:null===(w=t.cornersSquareOptions)||void 0===w?void 0:w.color,additionalRotation:i,x:L,y:N,height:s,width:s,name:`corners-square-color-${e}-${r}-${this._instanceId}`})),(null===(S=t.cornersSquareOptions)||void 0===S?void 0:S.type)&&l.includes(t.cornersSquareOptions.type)){const e=new u({svg:this._element,type:t.cornersSquareOptions.type,window:this._window});e.draw(L,N,s,i),e._element&&j&&j.appendChild(e._element)}else{const e=new a({svg:this._element,type:(null===(k=t.cornersSquareOptions)||void 0===k?void 0:k.type)||t.dotsOptions.type,window:this._window});for(let t=0;t<p.length;t++)for(let n=0;n<p[t].length;n++)(null===(x=p[t])||void 0===x?void 0:x[n])&&(e.draw(L+n*o,N+t*o,o,(e,r)=>{var i;return!!(null===(i=p[t+r])||void 0===i?void 0:i[n+e])}),e._element&&j&&j.appendChild(e._element))}if(((null===(_=t.cornersDotOptions)||void 0===_?void 0:_.gradient)||(null===(C=t.cornersDotOptions)||void 0===C?void 0:C.color))&&(T=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),T.setAttribute("id",`clip-path-corners-dot-color-${e}-${r}-${this._instanceId}`),this._defs.appendChild(T),this._cornersDotClipPath=T,this._createColor({options:null===(E=t.cornersDotOptions)||void 0===E?void 0:E.gradient,color:null===(O=t.cornersDotOptions)||void 0===O?void 0:O.color,additionalRotation:i,x:L+2*o,y:N+2*o,height:c,width:c,name:`corners-dot-color-${e}-${r}-${this._instanceId}`})),(null===(P=t.cornersDotOptions)||void 0===P?void 0:P.type)&&f.includes(t.cornersDotOptions.type)){const e=new d({svg:this._element,type:t.cornersDotOptions.type,window:this._window});e.draw(L+2*o,N+2*o,c,i),e._element&&T&&T.appendChild(e._element)}else{const e=new a({svg:this._element,type:(null===(z=t.cornersDotOptions)||void 0===z?void 0:z.type)||t.dotsOptions.type,window:this._window});for(let t=0;t<g.length;t++)for(let n=0;n<g[t].length;n++)(null===(A=g[t])||void 0===A?void 0:A[n])&&(e.draw(L+n*o,N+t*o,o,(e,r)=>{var i;return!!(null===(i=g[t+r])||void 0===i?void 0:i[n+e])}),e._element&&T&&T.appendChild(e._element))}})}loadImage(){return new Promise((e,t)=>{var n;const r=this._options;if(!r.image)return t("Image is not defined");if(null===(n=r.nodeCanvas)||void 0===n?void 0:n.loadImage)r.nodeCanvas.loadImage(r.image).then(t=>{var n,i;if(this._image=t,this._options.imageOptions.saveAsBlob){const e=null===(n=r.nodeCanvas)||void 0===n?void 0:n.createCanvas(this._image.width,this._image.height);null===(i=null==e?void 0:e.getContext("2d"))||void 0===i||i.drawImage(t,0,0),this._imageUri=null==e?void 0:e.toDataURL()}e()}).catch(t);else{const t=new this._window.Image;"string"==typeof r.imageOptions.crossOrigin&&(t.crossOrigin=r.imageOptions.crossOrigin),this._image=t,t.onload=async()=>{this._options.imageOptions.saveAsBlob&&(this._imageUri=await async function(e,t){return new Promise(n=>{const r=new t.XMLHttpRequest;r.onload=function(){const e=new t.FileReader;e.onloadend=function(){n(e.result)},e.readAsDataURL(r.response)},r.open("GET",e),r.responseType="blob",r.send()})}(r.image||"",this._window)),e()},t.src=r.image}})}async drawImage({width:e,height:t,count:n,dotSize:r}){const i=this._options,o=this._roundSize((i.width-n*r)/2),a=this._roundSize((i.height-n*r)/2),s=o+this._roundSize(i.imageOptions.margin+(n*r-e)/2),l=a+this._roundSize(i.imageOptions.margin+(n*r-t)/2),u=e-2*i.imageOptions.margin,c=t-2*i.imageOptions.margin,f=this._window.document.createElementNS("http://www.w3.org/2000/svg","image");f.setAttribute("href",this._imageUri||""),f.setAttribute("xlink:href",this._imageUri||""),f.setAttribute("x",String(s)),f.setAttribute("y",String(l)),f.setAttribute("width",`${u}px`),f.setAttribute("height",`${c}px`),this._element.appendChild(f)}_createColor({options:e,color:t,additionalRotation:n,x:r,y:i,height:o,width:a,name:s}){const l=a>o?a:o,u=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect");if(u.setAttribute("x",String(r)),u.setAttribute("y",String(i)),u.setAttribute("height",String(o)),u.setAttribute("width",String(a)),u.setAttribute("clip-path",`url('#clip-path-${s}')`),e){let t;if("radial"===e.type)t=this._window.document.createElementNS("http://www.w3.org/2000/svg","radialGradient"),t.setAttribute("id",s),t.setAttribute("gradientUnits","userSpaceOnUse"),t.setAttribute("fx",String(r+a/2)),t.setAttribute("fy",String(i+o/2)),t.setAttribute("cx",String(r+a/2)),t.setAttribute("cy",String(i+o/2)),t.setAttribute("r",String(l/2));else{const l=((e.rotation||0)+n)%(2*Math.PI),u=(l+2*Math.PI)%(2*Math.PI);let c=r+a/2,f=i+o/2,d=r+a/2,h=i+o/2;u>=0&&u<=.25*Math.PI||u>1.75*Math.PI&&u<=2*Math.PI?(c-=a/2,f-=o/2*Math.tan(l),d+=a/2,h+=o/2*Math.tan(l)):u>.25*Math.PI&&u<=.75*Math.PI?(f-=o/2,c-=a/2/Math.tan(l),h+=o/2,d+=a/2/Math.tan(l)):u>.75*Math.PI&&u<=1.25*Math.PI?(c+=a/2,f+=o/2*Math.tan(l),d-=a/2,h-=o/2*Math.tan(l)):u>1.25*Math.PI&&u<=1.75*Math.PI&&(f+=o/2,c+=a/2/Math.tan(l),h-=o/2,d-=a/2/Math.tan(l)),t=this._window.document.createElementNS("http://www.w3.org/2000/svg","linearGradient"),t.setAttribute("id",s),t.setAttribute("gradientUnits","userSpaceOnUse"),t.setAttribute("x1",String(Math.round(c))),t.setAttribute("y1",String(Math.round(f))),t.setAttribute("x2",String(Math.round(d))),t.setAttribute("y2",String(Math.round(h)))}e.colorStops.forEach(({offset:e,color:n})=>{const r=this._window.document.createElementNS("http://www.w3.org/2000/svg","stop");r.setAttribute("offset",100*e+"%"),r.setAttribute("stop-color",n),t.appendChild(r)}),u.setAttribute("fill",`url('#${s}')`),this._defs.appendChild(t)}else t&&u.setAttribute("fill",t);this._element.appendChild(u)}}m.instanceCount=0;const y=m,v="canvas",b={};for(let n=0;n<=40;n++)b[n]=n;const w={type:v,shape:"square",width:300,height:300,data:"",margin:0,qrOptions:{typeNumber:b[0],mode:void 0,errorCorrectionLevel:"Q"},imageOptions:{saveAsBlob:!0,hideBackgroundDots:!0,imageSize:.4,crossOrigin:void 0,margin:0},dotsOptions:{type:"square",color:"#000",roundSize:!0},backgroundOptions:{round:0,color:"#fff"}};function S(e){const t=Object.assign({},e);if(!t.colorStops||!t.colorStops.length)throw"Field 'colorStops' is required in gradient";return t.rotation?t.rotation=Number(t.rotation):t.rotation=0,t.colorStops=t.colorStops.map(e=>Object.assign(Object.assign({},e),{offset:Number(e.offset)})),t}function k(e){const t=Object.assign({},e);return t.width=Number(t.width),t.height=Number(t.height),t.margin=Number(t.margin),t.imageOptions=Object.assign(Object.assign({},t.imageOptions),{hideBackgroundDots:Boolean(t.imageOptions.hideBackgroundDots),imageSize:Number(t.imageOptions.imageSize),margin:Number(t.imageOptions.margin)}),t.margin>Math.min(t.width,t.height)&&(t.margin=Math.min(t.width,t.height)),t.dotsOptions=Object.assign({},t.dotsOptions),t.dotsOptions.gradient&&(t.dotsOptions.gradient=S(t.dotsOptions.gradient)),t.cornersSquareOptions&&(t.cornersSquareOptions=Object.assign({},t.cornersSquareOptions),t.cornersSquareOptions.gradient&&(t.cornersSquareOptions.gradient=S(t.cornersSquareOptions.gradient))),t.cornersDotOptions&&(t.cornersDotOptions=Object.assign({},t.cornersDotOptions),t.cornersDotOptions.gradient&&(t.cornersDotOptions.gradient=S(t.cornersDotOptions.gradient))),t.backgroundOptions&&(t.backgroundOptions=Object.assign({},t.backgroundOptions),t.backgroundOptions.gradient&&(t.backgroundOptions.gradient=S(t.backgroundOptions.gradient))),t}var x=n(873),_=n.n(x);function C(e){if(!e)throw new Error("Extension must be defined");"."===e[0]&&(e=e.substring(1));const t={bmp:"image/bmp",gif:"image/gif",ico:"image/vnd.microsoft.icon",jpeg:"image/jpeg",jpg:"image/jpeg",png:"image/png",svg:"image/svg+xml",tif:"image/tiff",tiff:"image/tiff",webp:"image/webp",pdf:"application/pdf"}[e.toLowerCase()];if(!t)throw new Error(`Extension "${e}" is not supported`);return t}class E{constructor(e){(null==e?void 0:e.jsdom)?this._window=new e.jsdom("",{resources:"usable"}).window:this._window=window,this._options=e?k(t(w,e)):w,this.update()}static _clearContainer(e){e&&(e.innerHTML="")}_setupSvg(){if(!this._qr)return;const e=new y(this._options,this._window);this._svg=e.getElement(),this._svgDrawingPromise=e.drawQR(this._qr).then(()=>{var t;this._svg&&(null===(t=this._extension)||void 0===t||t.call(this,e.getElement(),this._options))})}_setupCanvas(){var e,t;this._qr&&((null===(e=this._options.nodeCanvas)||void 0===e?void 0:e.createCanvas)?(this._nodeCanvas=this._options.nodeCanvas.createCanvas(this._options.width,this._options.height),this._nodeCanvas.width=this._options.width,this._nodeCanvas.height=this._options.height):(this._domCanvas=document.createElement("canvas"),this._domCanvas.width=this._options.width,this._domCanvas.height=this._options.height),this._setupSvg(),this._canvasDrawingPromise=null===(t=this._svgDrawingPromise)||void 0===t?void 0:t.then(()=>{var e;if(!this._svg)return;const t=this._svg,n=(new this._window.XMLSerializer).serializeToString(t),r=btoa(n),i=`data:${C("svg")};base64,${r}`;if(null===(e=this._options.nodeCanvas)||void 0===e?void 0:e.loadImage)return this._options.nodeCanvas.loadImage(i).then(e=>{var t,n;e.width=this._options.width,e.height=this._options.height,null===(n=null===(t=this._nodeCanvas)||void 0===t?void 0:t.getContext("2d"))||void 0===n||n.drawImage(e,0,0)});{const e=new this._window.Image;return new Promise(t=>{e.onload=()=>{var n,r;null===(r=null===(n=this._domCanvas)||void 0===n?void 0:n.getContext("2d"))||void 0===r||r.drawImage(e,0,0),t()},e.src=i})}}))}async _getElement(e="png"){if(!this._qr)throw"QR code is empty";return"svg"===e.toLowerCase()?(this._svg&&this._svgDrawingPromise||this._setupSvg(),await this._svgDrawingPromise,this._svg):((this._domCanvas||this._nodeCanvas)&&this._canvasDrawingPromise||this._setupCanvas(),await this._canvasDrawingPromise,this._domCanvas||this._nodeCanvas)}update(e){E._clearContainer(this._container),this._options=e?k(t(this._options,e)):this._options,this._options.data&&(this._qr=_()(this._options.qrOptions.typeNumber,this._options.qrOptions.errorCorrectionLevel),this._qr.addData(this._options.data,this._options.qrOptions.mode||function(e){switch(!0){case/^[0-9]*$/.test(e):return"Numeric";case/^[0-9A-Z $%*+\-./:]*$/.test(e):return"Alphanumeric";default:return"Byte"}}(this._options.data)),this._qr.make(),this._options.type===v?this._setupCanvas():this._setupSvg(),this.append(this._container))}append(e){if(e){if("function"!=typeof e.appendChild)throw"Container should be a single DOM node";this._options.type===v?this._domCanvas&&e.appendChild(this._domCanvas):this._svg&&e.appendChild(this._svg),this._container=e}}applyExtension(e){if(!e)throw"Extension function should be defined.";this._extension=e,this.update()}deleteExtension(){this._extension=void 0,this.update()}async getRawData(e="png"){if(!this._qr)throw"QR code is empty";const t=await this._getElement(e),n=C(e);if(!t)return null;if("svg"===e.toLowerCase()){const e=`<?xml version="1.0" standalone="no"?>\r\n${(new this._window.XMLSerializer).serializeToString(t)}`;return"undefined"==typeof Blob||this._options.jsdom?Buffer.from(e):new Blob([e],{type:n})}return new Promise(e=>{const r=t;if("toBuffer"in r)if("image/png"===n)e(r.toBuffer(n));else if("image/jpeg"===n)e(r.toBuffer(n));else{if("application/pdf"!==n)throw Error("Unsupported extension");e(r.toBuffer(n))}else"toBlob"in r&&r.toBlob(e,n,1)})}async download(e){if(!this._qr)throw"QR code is empty";if("undefined"==typeof Blob)throw"Cannot download in Node.js, call getRawData instead.";let t="png",n="qr";"string"==typeof e?t=e:"object"==typeof e&&null!==e&&(e.name&&(n=e.name),e.extension&&(t=e.extension));const r=await this._getElement(t);if(r)if("svg"===t.toLowerCase()){let e=(new XMLSerializer).serializeToString(r);e='<?xml version="1.0" standalone="no"?>\r\n'+e,i(`data:${C(t)};charset=utf-8,${encodeURIComponent(e)}`,`${n}.svg`)}else i(r.toDataURL(C(t)),`${n}.${t}`)}}const O=E})(),r.default})(),e.exports=t()},466(e,t,n){"use strict";var r=n(81);function i(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var a={d:{f:o,r:function(){throw Error(i(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},s=Symbol.for("react.portal"),l=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(i(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:s,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.flushSync=function(e){var t=l.T,n=a.p;try{if(l.T=null,a.p=2,e)return e()}finally{l.T=t,a.p=n,a.d.f()}},t.preconnect=function(e,t){"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,a.d.C(e,t))},t.prefetchDNS=function(e){"string"==typeof e&&a.d.D(e)},t.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var n=t.as,r=u(n,t.crossOrigin),i="string"==typeof t.integrity?t.integrity:void 0,o="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?a.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:r,integrity:i,fetchPriority:o}):"script"===n&&a.d.X(e,{crossOrigin:r,integrity:i,fetchPriority:o,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},t.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=u(t.as,t.crossOrigin);a.d.M(e,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&a.d.M(e)},t.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var n=t.as,r=u(n,t.crossOrigin);a.d.L(e,n,{crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},t.preloadModule=function(e,t){if("string"==typeof e)if(t){var n=u(t.as,t.crossOrigin);a.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else a.d.m(e)},t.requestFormReset=function(e){a.d.r(e)},t.unstable_batchedUpdates=function(e,t){return e(t)},t.useFormState=function(e,t,n){return l.H.useFormState(e,t,n)},t.useFormStatus=function(){return l.H.useHostTransitionStatus()},t.version="19.2.3"},525(e,t,n){"use strict";e.exports=n(357)},624(e,t,n){"use strict";e.exports=n(906)},686(e,t){"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.for("react.activity"),p=Symbol.iterator,g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,y={};function v(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||g}function b(){}function w(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||g}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("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")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=v.prototype;var S=w.prototype=new b;S.constructor=w,m(S,v.prototype),S.isPureReactComponent=!0;var k=Array.isArray;function x(){}var _={H:null,A:null,T:null,S:null},C=Object.prototype.hasOwnProperty;function E(e,t,r){var i=r.ref;return{$$typeof:n,type:e,key:t,ref:void 0!==i?i:null,props:r}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var P=/\/+/g;function z(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var n,r}function A(e,t,i,o,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l,u,c=!1;if(null===e)c=!0;else switch(s){case"bigint":case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case n:case r:c=!0;break;case d:return A((c=e._init)(e._payload),t,i,o,a)}}if(c)return a=a(e),c=""===o?"."+z(e,0):o,k(a)?(i="",null!=c&&(i=c.replace(P,"$&/")+"/"),A(a,t,i,"",function(e){return e})):null!=a&&(O(a)&&(l=a,u=i+(null==a.key||e&&e.key===a.key?"":(""+a.key).replace(P,"$&/")+"/")+c,a=E(l.type,u,l.props)),t.push(a)),1;c=0;var f,h=""===o?".":o+":";if(k(e))for(var g=0;g<e.length;g++)c+=A(o=e[g],t,i,s=h+z(o,g),a);else if("function"==typeof(g=null===(f=e)||"object"!=typeof f?null:"function"==typeof(f=p&&f[p]||f["@@iterator"])?f:null))for(e=g.call(e),g=0;!(o=e.next()).done;)c+=A(o=o.value,t,i,s=h+z(o,g++),a);else if("object"===s){if("function"==typeof e.then)return A(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(x,x):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(e),t,i,o,a);throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return c}function L(e,t,n){if(null==e)return e;var r=[],i=0;return A(e,r,"","",function(e){return t.call(n,e,i++)}),r}function N(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var j="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e)},T={map:L,forEach:function(e,t,n){L(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return L(e,function(){t++}),t},toArray:function(e){return L(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};t.Activity=h,t.Children=T,t.Component=v,t.Fragment=i,t.Profiler=a,t.PureComponent=w,t.StrictMode=o,t.Suspense=c,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_,t.__COMPILER_RUNTIME={__proto__:null,c:function(e){return _.H.useMemoCache(e)}},t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cacheSignal=function(){return null},t.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=m({},e.props),i=e.key;if(null!=t)for(o in void 0!==t.key&&(i=""+t.key),t)!C.call(t,o)||"key"===o||"__self"===o||"__source"===o||"ref"===o&&void 0===t.ref||(r[o]=t[o]);var o=arguments.length-2;if(1===o)r.children=n;else if(1<o){for(var a=Array(o),s=0;s<o;s++)a[s]=arguments[s+2];r.children=a}return E(e.type,i,r)},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:s,_context:e},e},t.createElement=function(e,t,n){var r,i={},o=null;if(null!=t)for(r in void 0!==t.key&&(o=""+t.key),t)C.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(i[r]=t[r]);var a=arguments.length-2;if(1===a)i.children=n;else if(1<a){for(var s=Array(a),l=0;l<a;l++)s[l]=arguments[l+2];i.children=s}if(e&&e.defaultProps)for(r in a=e.defaultProps)void 0===i[r]&&(i[r]=a[r]);return E(e,o,i)},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=O,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:N}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=_.T,n={};_.T=n;try{var r=e(),i=_.S;null!==i&&i(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(x,j)}catch(o){j(o)}finally{null!==t&&null!==n.types&&(t.types=n.types),_.T=t}},t.unstable_useCacheRefresh=function(){return _.H.useCacheRefresh()},t.use=function(e){return _.H.use(e)},t.useActionState=function(e,t,n){return _.H.useActionState(e,t,n)},t.useCallback=function(e,t){return _.H.useCallback(e,t)},t.useContext=function(e){return _.H.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return _.H.useDeferredValue(e,t)},t.useEffect=function(e,t){return _.H.useEffect(e,t)},t.useEffectEvent=function(e){return _.H.useEffectEvent(e)},t.useId=function(){return _.H.useId()},t.useImperativeHandle=function(e,t,n){return _.H.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return _.H.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return _.H.useLayoutEffect(e,t)},t.useMemo=function(e,t){return _.H.useMemo(e,t)},t.useOptimistic=function(e,t){return _.H.useOptimistic(e,t)},t.useReducer=function(e,t,n){return _.H.useReducer(e,t,n)},t.useRef=function(e){return _.H.useRef(e)},t.useState=function(e){return _.H.useState(e)},t.useSyncExternalStore=function(e,t,n){return _.H.useSyncExternalStore(e,t,n)},t.useTransition=function(){return _.H.useTransition()},t.version="19.2.3"},752(e){e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},906(e,t,n){"use strict";var r=n(81),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(r){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return s(function(){i.value=n,i.getSnapshot=t,u(i)&&c({inst:i})},[e,n,t]),a(function(){return u(i)&&c({inst:i}),e(function(){u(i)&&c({inst:i})})},[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},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.nc=void 0;var r={};return(()=>{"use strict";n.r(r),n.d(r,{close:()=>Pa,open:()=>za});var e=n(181),t="close",i="success",o="failed",a=2147483647,s="awaiting",l="success",u="error",c="cancel",f="timeout",d="reconnect_failed",h="light",p="dark",g="auth_init",m="desktop",y="android",v=n(81),b=function(){return!1},w=function(){return!1},S=function(e){if(!e||"string"!=typeof e)return!1;try{var t=new URL(e);return!!["http:","https:"].includes(t.protocol)}catch(ro){return null==ro||ro.message,!1}};const k=new TextEncoder;function x(e,t,n){let r=t;const i=r+n,o=[];let a="";for(;r<i;){const t=e[r++];if(128&t)if(192==(224&t)){const n=63&e[r++];o.push((31&t)<<6|n)}else if(224==(240&t)){const n=63&e[r++],i=63&e[r++];o.push((31&t)<<12|n<<6|i)}else if(240==(248&t)){let n=(7&t)<<18|(63&e[r++])<<12|(63&e[r++])<<6|63&e[r++];n>65535&&(n-=65536,o.push(n>>>10&1023|55296),n=56320|1023&n),o.push(n)}else o.push(t);else o.push(t);o.length>=4096&&(a+=String.fromCharCode(...o),o.length=0)}return o.length>0&&(a+=String.fromCharCode(...o)),a}const _=new TextDecoder;class C{constructor(e,t){this.type=e,this.data=t}}class E extends Error{constructor(e){super(e);const t=Object.create(E.prototype);Object.setPrototypeOf(this,t),Object.defineProperty(this,"name",{configurable:!0,enumerable:!1,value:E.name})}}const O=4294967295;function P(e,t,n){const r=Math.floor(n/4294967296),i=n;e.setUint32(t,r),e.setUint32(t+4,i)}function z(e,t){return 4294967296*e.getInt32(t)+e.getUint32(t+4)}const A={type:-1,encode:function(e){if(e instanceof Date){return function({sec:e,nsec:t}){if(e>=0&&t>=0&&e<=17179869183){if(0===t&&e<=4294967295){const t=new Uint8Array(4);return new DataView(t.buffer).setUint32(0,e),t}{const n=e/4294967296,r=4294967295&e,i=new Uint8Array(8),o=new DataView(i.buffer);return o.setUint32(0,t<<2|3&n),o.setUint32(4,r),i}}{const n=new Uint8Array(12),r=new DataView(n.buffer);return r.setUint32(0,t),P(r,4,e),n}}(function(e){const t=e.getTime(),n=Math.floor(t/1e3),r=1e6*(t-1e3*n),i=Math.floor(r/1e9);return{sec:n+i,nsec:r-1e9*i}}(e))}return null},decode:function(e){const t=function(e){const t=new DataView(e.buffer,e.byteOffset,e.byteLength);switch(e.byteLength){case 4:return{sec:t.getUint32(0),nsec:0};case 8:{const e=t.getUint32(0);return{sec:4294967296*(3&e)+t.getUint32(4),nsec:e>>>2}}case 12:return{sec:z(t,4),nsec:t.getUint32(0)};default:throw new E(`Unrecognized data size for timestamp (expected 4, 8, or 12): ${e.length}`)}}(e);return new Date(1e3*t.sec+t.nsec/1e6)}};class L{constructor(){this.builtInEncoders=[],this.builtInDecoders=[],this.encoders=[],this.decoders=[],this.register(A)}register({type:e,encode:t,decode:n}){if(e>=0)this.encoders[e]=t,this.decoders[e]=n;else{const r=-1-e;this.builtInEncoders[r]=t,this.builtInDecoders[r]=n}}tryToEncode(e,t){for(let n=0;n<this.builtInEncoders.length;n++){const r=this.builtInEncoders[n];if(null!=r){const i=r(e,t);if(null!=i)return new C(-1-n,i)}}for(let n=0;n<this.encoders.length;n++){const r=this.encoders[n];if(null!=r){const i=r(e,t);if(null!=i)return new C(n,i)}}return e instanceof C?e:null}decode(e,t,n){const r=t<0?this.builtInDecoders[-1-t]:this.decoders[t];return r?r(e,t,n):new C(t,e)}}function N(e){return e instanceof Uint8Array?e:ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):function(e){return e instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&e instanceof SharedArrayBuffer}(e)?new Uint8Array(e):Uint8Array.from(e)}L.defaultCodec=new L;class j{constructor(e){this.entered=!1,this.extensionCodec=e?.extensionCodec??L.defaultCodec,this.context=e?.context,this.useBigInt64=e?.useBigInt64??!1,this.maxDepth=e?.maxDepth??100,this.initialBufferSize=e?.initialBufferSize??2048,this.sortKeys=e?.sortKeys??!1,this.forceFloat32=e?.forceFloat32??!1,this.ignoreUndefined=e?.ignoreUndefined??!1,this.forceIntegerToFloat=e?.forceIntegerToFloat??!1,this.pos=0,this.view=new DataView(new ArrayBuffer(this.initialBufferSize)),this.bytes=new Uint8Array(this.view.buffer)}clone(){return new j({extensionCodec:this.extensionCodec,context:this.context,useBigInt64:this.useBigInt64,maxDepth:this.maxDepth,initialBufferSize:this.initialBufferSize,sortKeys:this.sortKeys,forceFloat32:this.forceFloat32,ignoreUndefined:this.ignoreUndefined,forceIntegerToFloat:this.forceIntegerToFloat})}reinitializeState(){this.pos=0}encodeSharedRef(e){if(this.entered)return this.clone().encodeSharedRef(e);try{return this.entered=!0,this.reinitializeState(),this.doEncode(e,1),this.bytes.subarray(0,this.pos)}finally{this.entered=!1}}encode(e){if(this.entered)return this.clone().encode(e);try{return this.entered=!0,this.reinitializeState(),this.doEncode(e,1),this.bytes.slice(0,this.pos)}finally{this.entered=!1}}doEncode(e,t){if(t>this.maxDepth)throw new Error(`Too deep objects in depth ${t}`);null==e?this.encodeNil():"boolean"==typeof e?this.encodeBoolean(e):"number"==typeof e?this.forceIntegerToFloat?this.encodeNumberAsFloat(e):this.encodeNumber(e):"string"==typeof e?this.encodeString(e):this.useBigInt64&&"bigint"==typeof e?this.encodeBigInt64(e):this.encodeObject(e,t)}ensureBufferSizeToWrite(e){const t=this.pos+e;this.view.byteLength<t&&this.resizeBuffer(2*t)}resizeBuffer(e){const t=new ArrayBuffer(e),n=new Uint8Array(t),r=new DataView(t);n.set(this.bytes),this.view=r,this.bytes=n}encodeNil(){this.writeU8(192)}encodeBoolean(e){!1===e?this.writeU8(194):this.writeU8(195)}encodeNumber(e){!this.forceIntegerToFloat&&Number.isSafeInteger(e)?e>=0?e<128?this.writeU8(e):e<256?(this.writeU8(204),this.writeU8(e)):e<65536?(this.writeU8(205),this.writeU16(e)):e<4294967296?(this.writeU8(206),this.writeU32(e)):this.useBigInt64?this.encodeNumberAsFloat(e):(this.writeU8(207),this.writeU64(e)):e>=-32?this.writeU8(224|e+32):e>=-128?(this.writeU8(208),this.writeI8(e)):e>=-32768?(this.writeU8(209),this.writeI16(e)):e>=-2147483648?(this.writeU8(210),this.writeI32(e)):this.useBigInt64?this.encodeNumberAsFloat(e):(this.writeU8(211),this.writeI64(e)):this.encodeNumberAsFloat(e)}encodeNumberAsFloat(e){this.forceFloat32?(this.writeU8(202),this.writeF32(e)):(this.writeU8(203),this.writeF64(e))}encodeBigInt64(e){e>=BigInt(0)?(this.writeU8(207),this.writeBigUint64(e)):(this.writeU8(211),this.writeBigInt64(e))}writeStringHeader(e){if(e<32)this.writeU8(160+e);else if(e<256)this.writeU8(217),this.writeU8(e);else if(e<65536)this.writeU8(218),this.writeU16(e);else{if(!(e<4294967296))throw new Error(`Too long string: ${e} bytes in UTF-8`);this.writeU8(219),this.writeU32(e)}}encodeString(e){const t=function(e){const t=e.length;let n=0,r=0;for(;r<t;){let i=e.charCodeAt(r++);if(4294967168&i)if(4294965248&i){if(i>=55296&&i<=56319&&r<t){const t=e.charCodeAt(r);56320==(64512&t)&&(++r,i=((1023&i)<<10)+(1023&t)+65536)}n+=4294901760&i?4:3}else n+=2;else n++}return n}(e);var n,r,i;this.ensureBufferSizeToWrite(5+t),this.writeStringHeader(t),n=e,r=this.bytes,i=this.pos,n.length>50?function(e,t,n){k.encodeInto(e,t.subarray(n))}(n,r,i):function(e,t,n){const r=e.length;let i=n,o=0;for(;o<r;){let n=e.charCodeAt(o++);if(4294967168&n){if(4294965248&n){if(n>=55296&&n<=56319&&o<r){const t=e.charCodeAt(o);56320==(64512&t)&&(++o,n=((1023&n)<<10)+(1023&t)+65536)}4294901760&n?(t[i++]=n>>18&7|240,t[i++]=n>>12&63|128,t[i++]=n>>6&63|128):(t[i++]=n>>12&15|224,t[i++]=n>>6&63|128)}else t[i++]=n>>6&31|192;t[i++]=63&n|128}else t[i++]=n}}(n,r,i),this.pos+=t}encodeObject(e,t){const n=this.extensionCodec.tryToEncode(e,this.context);if(null!=n)this.encodeExtension(n);else if(Array.isArray(e))this.encodeArray(e,t);else if(ArrayBuffer.isView(e))this.encodeBinary(e);else{if("object"!=typeof e)throw new Error(`Unrecognized object: ${Object.prototype.toString.apply(e)}`);this.encodeMap(e,t)}}encodeBinary(e){const t=e.byteLength;if(t<256)this.writeU8(196),this.writeU8(t);else if(t<65536)this.writeU8(197),this.writeU16(t);else{if(!(t<4294967296))throw new Error(`Too large binary: ${t}`);this.writeU8(198),this.writeU32(t)}const n=N(e);this.writeU8a(n)}encodeArray(e,t){const n=e.length;if(n<16)this.writeU8(144+n);else if(n<65536)this.writeU8(220),this.writeU16(n);else{if(!(n<4294967296))throw new Error(`Too large array: ${n}`);this.writeU8(221),this.writeU32(n)}for(const r of e)this.doEncode(r,t+1)}countWithoutUndefined(e,t){let n=0;for(const r of t)void 0!==e[r]&&n++;return n}encodeMap(e,t){const n=Object.keys(e);this.sortKeys&&n.sort();const r=this.ignoreUndefined?this.countWithoutUndefined(e,n):n.length;if(r<16)this.writeU8(128+r);else if(r<65536)this.writeU8(222),this.writeU16(r);else{if(!(r<4294967296))throw new Error(`Too large map object: ${r}`);this.writeU8(223),this.writeU32(r)}for(const i of n){const n=e[i];this.ignoreUndefined&&void 0===n||(this.encodeString(i),this.doEncode(n,t+1))}}encodeExtension(e){if("function"==typeof e.data){const t=e.data(this.pos+6),n=t.length;if(n>=4294967296)throw new Error(`Too large extension object: ${n}`);return this.writeU8(201),this.writeU32(n),this.writeI8(e.type),void this.writeU8a(t)}const t=e.data.length;if(1===t)this.writeU8(212);else if(2===t)this.writeU8(213);else if(4===t)this.writeU8(214);else if(8===t)this.writeU8(215);else if(16===t)this.writeU8(216);else if(t<256)this.writeU8(199),this.writeU8(t);else if(t<65536)this.writeU8(200),this.writeU16(t);else{if(!(t<4294967296))throw new Error(`Too large extension object: ${t}`);this.writeU8(201),this.writeU32(t)}this.writeI8(e.type),this.writeU8a(e.data)}writeU8(e){this.ensureBufferSizeToWrite(1),this.view.setUint8(this.pos,e),this.pos++}writeU8a(e){const t=e.length;this.ensureBufferSizeToWrite(t),this.bytes.set(e,this.pos),this.pos+=t}writeI8(e){this.ensureBufferSizeToWrite(1),this.view.setInt8(this.pos,e),this.pos++}writeU16(e){this.ensureBufferSizeToWrite(2),this.view.setUint16(this.pos,e),this.pos+=2}writeI16(e){this.ensureBufferSizeToWrite(2),this.view.setInt16(this.pos,e),this.pos+=2}writeU32(e){this.ensureBufferSizeToWrite(4),this.view.setUint32(this.pos,e),this.pos+=4}writeI32(e){this.ensureBufferSizeToWrite(4),this.view.setInt32(this.pos,e),this.pos+=4}writeF32(e){this.ensureBufferSizeToWrite(4),this.view.setFloat32(this.pos,e),this.pos+=4}writeF64(e){this.ensureBufferSizeToWrite(8),this.view.setFloat64(this.pos,e),this.pos+=8}writeU64(e){this.ensureBufferSizeToWrite(8),function(e,t,n){const r=n/4294967296,i=n;e.setUint32(t,r),e.setUint32(t+4,i)}(this.view,this.pos,e),this.pos+=8}writeI64(e){this.ensureBufferSizeToWrite(8),P(this.view,this.pos,e),this.pos+=8}writeBigUint64(e){this.ensureBufferSizeToWrite(8),this.view.setBigUint64(this.pos,e),this.pos+=8}writeBigInt64(e){this.ensureBufferSizeToWrite(8),this.view.setBigInt64(this.pos,e),this.pos+=8}}function T(e){return`${e<0?"-":""}0x${Math.abs(e).toString(16).padStart(2,"0")}`}const I="array",R="map_key",M="map_value",$=e=>{if("string"==typeof e||"number"==typeof e)return e;throw new E("The type of key must be string or number but "+typeof e)};class D{constructor(){this.stack=[],this.stackHeadPosition=-1}get length(){return this.stackHeadPosition+1}top(){return this.stack[this.stackHeadPosition]}pushArrayState(e){const t=this.getUninitializedStateFromPool();t.type=I,t.position=0,t.size=e,t.array=new Array(e)}pushMapState(e){const t=this.getUninitializedStateFromPool();t.type=R,t.readCount=0,t.size=e,t.map={}}getUninitializedStateFromPool(){if(this.stackHeadPosition++,this.stackHeadPosition===this.stack.length){const e={type:void 0,size:0,array:void 0,position:0,readCount:0,map:void 0,key:null};this.stack.push(e)}return this.stack[this.stackHeadPosition]}release(e){if(this.stack[this.stackHeadPosition]!==e)throw new Error("Invalid stack state. Released state is not on top of the stack.");if(e.type===I){const t=e;t.size=0,t.array=void 0,t.position=0,t.type=void 0}if(e.type===R||e.type===M){const t=e;t.size=0,t.map=void 0,t.readCount=0,t.type=void 0}this.stackHeadPosition--}reset(){this.stack.length=0,this.stackHeadPosition=-1}}const F=new DataView(new ArrayBuffer(0)),U=new Uint8Array(F.buffer);try{F.getInt8(0)}catch(vr){if(!(vr instanceof RangeError))throw new Error("This module is not supported in the current JavaScript engine because DataView does not throw RangeError on out-of-bounds access")}const B=new RangeError("Insufficient data"),q=new class{constructor(e=16,t=16){this.hit=0,this.miss=0,this.maxKeyLength=e,this.maxLengthPerKey=t,this.caches=[];for(let n=0;n<this.maxKeyLength;n++)this.caches.push([])}canBeCached(e){return e>0&&e<=this.maxKeyLength}find(e,t,n){const r=this.caches[n-1];e:for(const i of r){const r=i.bytes;for(let i=0;i<n;i++)if(r[i]!==e[t+i])continue e;return i.str}return null}store(e,t){const n=this.caches[e.length-1],r={bytes:e,str:t};n.length>=this.maxLengthPerKey?n[Math.random()*n.length|0]=r:n.push(r)}decode(e,t,n){const r=this.find(e,t,n);if(null!=r)return this.hit++,r;this.miss++;const i=x(e,t,n),o=Uint8Array.prototype.slice.call(e,t,t+n);return this.store(o,i),i}};class H{constructor(e){this.totalPos=0,this.pos=0,this.view=F,this.bytes=U,this.headByte=-1,this.stack=new D,this.entered=!1,this.extensionCodec=e?.extensionCodec??L.defaultCodec,this.context=e?.context,this.useBigInt64=e?.useBigInt64??!1,this.rawStrings=e?.rawStrings??!1,this.maxStrLength=e?.maxStrLength??O,this.maxBinLength=e?.maxBinLength??O,this.maxArrayLength=e?.maxArrayLength??O,this.maxMapLength=e?.maxMapLength??O,this.maxExtLength=e?.maxExtLength??O,this.keyDecoder=void 0!==e?.keyDecoder?e.keyDecoder:q,this.mapKeyConverter=e?.mapKeyConverter??$}clone(){return new H({extensionCodec:this.extensionCodec,context:this.context,useBigInt64:this.useBigInt64,rawStrings:this.rawStrings,maxStrLength:this.maxStrLength,maxBinLength:this.maxBinLength,maxArrayLength:this.maxArrayLength,maxMapLength:this.maxMapLength,maxExtLength:this.maxExtLength,keyDecoder:this.keyDecoder})}reinitializeState(){this.totalPos=0,this.headByte=-1,this.stack.reset()}setBuffer(e){const t=N(e);this.bytes=t,this.view=new DataView(t.buffer,t.byteOffset,t.byteLength),this.pos=0}appendBuffer(e){if(-1!==this.headByte||this.hasRemaining(1)){const t=this.bytes.subarray(this.pos),n=N(e),r=new Uint8Array(t.length+n.length);r.set(t),r.set(n,t.length),this.setBuffer(r)}else this.setBuffer(e)}hasRemaining(e){return this.view.byteLength-this.pos>=e}createExtraByteError(e){const{view:t,pos:n}=this;return new RangeError(`Extra ${t.byteLength-n} of ${t.byteLength} byte(s) found at buffer[${e}]`)}decode(e){if(this.entered)return this.clone().decode(e);try{this.entered=!0,this.reinitializeState(),this.setBuffer(e);const t=this.doDecodeSync();if(this.hasRemaining(1))throw this.createExtraByteError(this.pos);return t}finally{this.entered=!1}}*decodeMulti(e){if(this.entered){const t=this.clone();return void(yield*t.decodeMulti(e))}try{for(this.entered=!0,this.reinitializeState(),this.setBuffer(e);this.hasRemaining(1);)yield this.doDecodeSync()}finally{this.entered=!1}}async decodeAsync(e){if(this.entered)return this.clone().decodeAsync(e);try{this.entered=!0;let t,n=!1;for await(const a of e){if(n)throw this.entered=!1,this.createExtraByteError(this.totalPos);this.appendBuffer(a);try{t=this.doDecodeSync(),n=!0}catch(vr){if(!(vr instanceof RangeError))throw vr}this.totalPos+=this.pos}if(n){if(this.hasRemaining(1))throw this.createExtraByteError(this.totalPos);return t}const{headByte:r,pos:i,totalPos:o}=this;throw new RangeError(`Insufficient data in parsing ${T(r)} at ${o} (${i} in the current buffer)`)}finally{this.entered=!1}}decodeArrayStream(e){return this.decodeMultiAsync(e,!0)}decodeStream(e){return this.decodeMultiAsync(e,!1)}async*decodeMultiAsync(e,t){if(this.entered){const n=this.clone();return void(yield*n.decodeMultiAsync(e,t))}try{this.entered=!0;let n=t,r=-1;for await(const i of e){if(t&&0===r)throw this.createExtraByteError(this.totalPos);this.appendBuffer(i),n&&(r=this.readArraySize(),n=!1,this.complete());try{for(;yield this.doDecodeSync(),0!==--r;);}catch(vr){if(!(vr instanceof RangeError))throw vr}this.totalPos+=this.pos}}finally{this.entered=!1}}doDecodeSync(){e:for(;;){const e=this.readHeadByte();let t;if(e>=224)t=e-256;else if(e<192)if(e<128)t=e;else if(e<144){const n=e-128;if(0!==n){this.pushMapState(n),this.complete();continue e}t={}}else if(e<160){const n=e-144;if(0!==n){this.pushArrayState(n),this.complete();continue e}t=[]}else{const n=e-160;t=this.decodeString(n,0)}else if(192===e)t=null;else if(194===e)t=!1;else if(195===e)t=!0;else if(202===e)t=this.readF32();else if(203===e)t=this.readF64();else if(204===e)t=this.readU8();else if(205===e)t=this.readU16();else if(206===e)t=this.readU32();else if(207===e)t=this.useBigInt64?this.readU64AsBigInt():this.readU64();else if(208===e)t=this.readI8();else if(209===e)t=this.readI16();else if(210===e)t=this.readI32();else if(211===e)t=this.useBigInt64?this.readI64AsBigInt():this.readI64();else if(217===e){const e=this.lookU8();t=this.decodeString(e,1)}else if(218===e){const e=this.lookU16();t=this.decodeString(e,2)}else if(219===e){const e=this.lookU32();t=this.decodeString(e,4)}else if(220===e){const e=this.readU16();if(0!==e){this.pushArrayState(e),this.complete();continue e}t=[]}else if(221===e){const e=this.readU32();if(0!==e){this.pushArrayState(e),this.complete();continue e}t=[]}else if(222===e){const e=this.readU16();if(0!==e){this.pushMapState(e),this.complete();continue e}t={}}else if(223===e){const e=this.readU32();if(0!==e){this.pushMapState(e),this.complete();continue e}t={}}else if(196===e){const e=this.lookU8();t=this.decodeBinary(e,1)}else if(197===e){const e=this.lookU16();t=this.decodeBinary(e,2)}else if(198===e){const e=this.lookU32();t=this.decodeBinary(e,4)}else if(212===e)t=this.decodeExtension(1,0);else if(213===e)t=this.decodeExtension(2,0);else if(214===e)t=this.decodeExtension(4,0);else if(215===e)t=this.decodeExtension(8,0);else if(216===e)t=this.decodeExtension(16,0);else if(199===e){const e=this.lookU8();t=this.decodeExtension(e,1)}else if(200===e){const e=this.lookU16();t=this.decodeExtension(e,2)}else{if(201!==e)throw new E(`Unrecognized type byte: ${T(e)}`);{const e=this.lookU32();t=this.decodeExtension(e,4)}}this.complete();const n=this.stack;for(;n.length>0;){const e=n.top();if(e.type===I){if(e.array[e.position]=t,e.position++,e.position!==e.size)continue e;t=e.array,n.release(e)}else{if(e.type===R){if("__proto__"===t)throw new E("The key __proto__ is not allowed");e.key=this.mapKeyConverter(t),e.type=M;continue e}if(e.map[e.key]=t,e.readCount++,e.readCount!==e.size){e.key=null,e.type=R;continue e}t=e.map,n.release(e)}}return t}}readHeadByte(){return-1===this.headByte&&(this.headByte=this.readU8()),this.headByte}complete(){this.headByte=-1}readArraySize(){const e=this.readHeadByte();switch(e){case 220:return this.readU16();case 221:return this.readU32();default:if(e<160)return e-144;throw new E(`Unrecognized array type byte: ${T(e)}`)}}pushMapState(e){if(e>this.maxMapLength)throw new E(`Max length exceeded: map length (${e}) > maxMapLengthLength (${this.maxMapLength})`);this.stack.pushMapState(e)}pushArrayState(e){if(e>this.maxArrayLength)throw new E(`Max length exceeded: array length (${e}) > maxArrayLength (${this.maxArrayLength})`);this.stack.pushArrayState(e)}decodeString(e,t){return!this.rawStrings||this.stateIsMapKey()?this.decodeUtf8String(e,t):this.decodeBinary(e,t)}decodeUtf8String(e,t){if(e>this.maxStrLength)throw new E(`Max length exceeded: UTF-8 byte length (${e}) > maxStrLength (${this.maxStrLength})`);if(this.bytes.byteLength<this.pos+t+e)throw B;const n=this.pos+t;let r;return r=this.stateIsMapKey()&&this.keyDecoder?.canBeCached(e)?this.keyDecoder.decode(this.bytes,n,e):function(e,t,n){return n>200?function(e,t,n){const r=e.subarray(t,t+n);return _.decode(r)}(e,t,n):x(e,t,n)}(this.bytes,n,e),this.pos+=t+e,r}stateIsMapKey(){return this.stack.length>0&&this.stack.top().type===R}decodeBinary(e,t){if(e>this.maxBinLength)throw new E(`Max length exceeded: bin length (${e}) > maxBinLength (${this.maxBinLength})`);if(!this.hasRemaining(e+t))throw B;const n=this.pos+t,r=this.bytes.subarray(n,n+e);return this.pos+=t+e,r}decodeExtension(e,t){if(e>this.maxExtLength)throw new E(`Max length exceeded: ext length (${e}) > maxExtLength (${this.maxExtLength})`);const n=this.view.getInt8(this.pos+t),r=this.decodeBinary(e,t+1);return this.extensionCodec.decode(r,n,this.context)}lookU8(){return this.view.getUint8(this.pos)}lookU16(){return this.view.getUint16(this.pos)}lookU32(){return this.view.getUint32(this.pos)}readU8(){const e=this.view.getUint8(this.pos);return this.pos++,e}readI8(){const e=this.view.getInt8(this.pos);return this.pos++,e}readU16(){const e=this.view.getUint16(this.pos);return this.pos+=2,e}readI16(){const e=this.view.getInt16(this.pos);return this.pos+=2,e}readU32(){const e=this.view.getUint32(this.pos);return this.pos+=4,e}readI32(){const e=this.view.getInt32(this.pos);return this.pos+=4,e}readU64(){const e=(t=this.view,n=this.pos,4294967296*t.getUint32(n)+t.getUint32(n+4));var t,n;return this.pos+=8,e}readI64(){const e=z(this.view,this.pos);return this.pos+=8,e}readU64AsBigInt(){const e=this.view.getBigUint64(this.pos);return this.pos+=8,e}readI64AsBigInt(){const e=this.view.getBigInt64(this.pos);return this.pos+=8,e}readF32(){const e=this.view.getFloat32(this.pos);return this.pos+=4,e}readF64(){const e=this.view.getFloat64(this.pos);return this.pos+=8,e}}function V(e){return V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V(e)}function W(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Q(r.key),r)}}function Q(e){var t=function(e){if("object"!=V(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=V(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==V(t)?t:t+""}var K=function(){return e=function e(t){var n=t.address,r=t.onClose,i=t.onMessage;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.address=n,this.onClose=r,this.onMessage=i,this.resolver=null,this.rejector=null},t=[{key:"encode",value:function(e){return t=e,new j(void 0).encodeSharedRef(t);var t}},{key:"decode",value:function(e){return t=e,new H(void 0).decode(t);var t}},{key:"open",value:function(){var e=this;return new Promise(function(t,n){e.ws=new WebSocket(e.address),e.ws.binaryType="arraybuffer",e.ws.onopen=function(e){return t(e.target)},e.ws.onclose=function(t){var n;e.rejector&&1e3!==t.code&&e.rejector(new Error("Connection closed")),e.rejector=null,e.resolver=null;try{var r,i=t.reason&&"string"==typeof t.reason?JSON.parse(t.reason):null;i&&"error"===i._&&(null===(r=e.onMessage)||void 0===r||r.call(e,i))}catch(ro){}null===(n=e.onClose)||void 0===n||n.call(e,t)},e.ws.onmessage=function(t){var n=e.resolver,r=e.rejector;e.resolver=null,e.rejector=null;try{var i,o,a,s=e.decode(t.data);if("error"===s._)return void(r?r(new Error(null!==(o=s.message)&&void 0!==o?o:"Server error")):null===(a=e.onMessage)||void 0===a||a.call(e,s));n?n(s):null===(i=e.onMessage)||void 0===i||i.call(e,s)}catch(ro){null==r||r(new Error("Bad server response"))}},e.ws.onerror=function(){n(new Error("Connection to ".concat(e.address," failed")))}})}},{key:"close",value:function(){this.ws&&(this.ws.readyState!==WebSocket.OPEN&&this.ws.readyState!==WebSocket.CONNECTING||this.ws.close())}},{key:"reconnect",value:function(){return this.open()}},{key:"send",value:function(e){var t=this,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).timeout,r=void 0===n?15e3:n;return new Promise(function(n,i){if(t.ws.readyState!==WebSocket.OPEN)return i(new Error("Websocket is closed"));var o=setTimeout(function(){t.resolver=null,t.rejector=null,i(new Error("Request timed out"))},r);t.resolver=function(e){clearTimeout(o),t.resolver=null,t.rejector=null,n(e)},t.rejector=function(e){clearTimeout(o),t.resolver=null,t.rejector=null,i(e)};try{t.ws.send(t.encode(e))}catch(ro){t.rejector(ro)}})}}],t&&W(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}(),G="/loading",Y="/auth",X=n(525);function J(e){return J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},J(e)}function Z(e,t,n){return(t=function(e){var t=function(e){if("object"!=J(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=J(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==J(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ee(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return te(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?te(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function te(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var ne=(0,v.createContext)(),re=function(){return(0,v.useContext)(ne)},ie=function(e){var n=e.children,r=ee((0,v.useState)({path:G,params:{}}),2),a=r[0],s=r[1],l=ee((0,v.useState)(Z(Z(Z({},t,function(){return!1}),i,function(){return!1}),o,function(){return!1})),2),u=l[0],c=l[1],f=ee((0,v.useState)(!1),2),d=f[0],h=f[1],p={screen:a,navigate:(0,v.useCallback)(function(e){var t=e.path,n=e.params;s({path:t,params:n})},[]),callbacks:u,setCallbacks:c,closing:d,setClosing:h};return(0,X.jsx)(ne.Provider,{value:p,children:n})};function oe(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof s?r:s,u=Object.create(l.prototype);return ae(u,"_invoke",function(n,r,i){var o,s,l,u=0,c=i||[],f=!1,d={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,n){return o=t,s=0,l=e,d.n=n,a}};function h(n,r){for(s=n,l=r,t=0;!f&&u&&!i&&t<c.length;t++){var i,o=c[t],h=d.p,p=o[2];n>3?(i=p===r)&&(l=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=e):o[0]<=h&&((i=n<2&&h<o[1])?(s=0,d.v=r,d.n=o[1]):h<p&&(i=n<3||o[0]>r||r>p)&&(o[4]=n,o[5]=r,d.n=p,s=0))}if(i||n>1)return a;throw f=!0,r}return function(i,c,p){if(u>1)throw TypeError("Generator is already running");for(f&&1===c&&h(c,p),s=c,l=p;(t=s<2?e:l)||!f;){o||(s?s<3?(s>1&&(d.n=-1),h(s,l)):d.n=l:d.v=l);try{if(u=2,o){if(s||(i="next"),t=o[i]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=o.return)&&t.call(o),s<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=e}else if((t=(f=d.n<0)?l:n.call(r,d))!==a)break}catch(t){o=e,s=1,l=t}finally{u=1}}return{value:t,done:f}}}(n,i,o),!0),u}var a={};function s(){}function l(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(ae(t={},r,function(){return this}),t),f=u.prototype=s.prototype=Object.create(c);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,ae(e,i,"GeneratorFunction")),e.prototype=Object.create(f),e}return l.prototype=u,ae(f,"constructor",u),ae(u,"constructor",l),l.displayName="GeneratorFunction",ae(u,i,"GeneratorFunction"),ae(f),ae(f,i,"Generator"),ae(f,r,function(){return this}),ae(f,"toString",function(){return"[object Generator]"}),(oe=function(){return{w:o,m:d}})()}function ae(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}ae=function(e,t,n,r){function o(t,n){ae(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},ae(e,t,n,r)}function se(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function le(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){se(o,r,i,a,s,"next",e)}function s(e){se(o,r,i,a,s,"throw",e)}a(void 0)})}}function ue(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ce(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ce(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var fe=(0,v.createContext)(),de=function(){return(0,v.useContext)(fe)},he=function(e){var t=e.children,n=ue((0,v.useState)(""),2),r=n[0],a=n[1],h=ue((0,v.useState)(""),2),p=h[0],m=h[1],y=ue((0,v.useState)("default"),2),w=y[0],S=y[1],k=(0,v.useRef)(null),x=(0,v.useRef)(null),_=(0,v.useRef)(!1),C=re(),E=C.callbacks,O=C.setClosing,P=(0,v.useCallback)(function(){var e=le(oe().m(function e(t){var n,r,a;return oe().w(function(e){for(;;)switch(e.p=e.n){case 0:return n=function(e){var t,n,r,a;"activated"===(null==e?void 0:e._)&&S(s),"error"===(null==e?void 0:e._)&&(S(u),null===(t=E[o])||void 0===t||t.call(E)),"Authorization declined"===(null==e?void 0:e.message)&&(S(c),null===(n=E[o])||void 0===n||n.call(E)),"Authorization timeout"===(null==e?void 0:e.message)&&(S(f),O(!0),null===(r=E[o])||void 0===r||r.call(E)),"welcome"===(null==e?void 0:e.message)&&(null===(a=E[i])||void 0===a||a.call(E,{token:e.payload.token}),S(l),O(!0),k.current=null,x.current=null,_.current=!1)},r=new K({address:t,onClose:function(){var e=le(oe().m(function e(t){var r,i,o;return oe().w(function(e){for(;;)switch(e.p=e.n){case 0:if(b(),r=k.current,(i=x.current)&&!_.current){e.n=1;break}return e.a(2);case 1:return _.current=!0,b(),e.p=2,e.n=3,r.reconnect();case 3:return e.n=4,r.send({_:"reconnect",sessionId:i});case 4:o=e.v,b(),_.current=!1,"activated"===o.status&&S(s),n(o),e.n=6;break;case 5:e.p=5,e.v,b(),S(d);case 6:return e.a(2)}},e,null,[[2,5]])}));return function(t){return e.apply(this,arguments)}}(),onMessage:n}),e.p=1,e.n=2,r.open();case 2:return e.n=3,r.send({_:g});case 3:(null==(a=e.v)?void 0:a._)===g&&null!=a&&a.linkWeb&&(m(a.linkWeb),a.sessionId&&(x.current=a.sessionId,b(a.sessionId))),k.current=r,e.n=5;break;case 4:e.p=4,e.v,b(),S(u),O(!0);try{r.close()}catch(h){b()}case 5:return e.a(2)}},e,null,[[1,4]])}));return function(t){return e.apply(this,arguments)}}(),[E,O]);(0,v.useEffect)(function(){return r&&P(r),function(){var e;return null===(e=k.current)||void 0===e?void 0:e.close()}},[r]);var z={setBackendUrl:a,authStatus:w,link:p};return(0,X.jsx)(fe.Provider,{value:z,children:t})},pe=function(){return pe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},pe.apply(this,arguments)};function ge(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var me="-ms-",ye="-moz-",ve="-webkit-",be="comm",we="rule",Se="decl",ke="@keyframes",xe=Math.abs,_e=String.fromCharCode,Ce=Object.assign;function Ee(e){return e.trim()}function Oe(e,t){return(e=t.exec(e))?e[0]:e}function Pe(e,t,n){return e.replace(t,n)}function ze(e,t,n){return e.indexOf(t,n)}function Ae(e,t){return 0|e.charCodeAt(t)}function Le(e,t,n){return e.slice(t,n)}function Ne(e){return e.length}function je(e){return e.length}function Te(e,t){return t.push(e),e}function Ie(e,t){return e.filter(function(e){return!Oe(e,t)})}var Re=1,Me=1,$e=0,De=0,Fe=0,Ue="";function Be(e,t,n,r,i,o,a,s){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:Re,column:Me,length:a,return:"",siblings:s}}function qe(e,t){return Ce(Be("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function He(e){for(;e.root;)e=qe(e.root,{children:[e]});Te(e,e.siblings)}function Ve(){return Fe=De>0?Ae(Ue,--De):0,Me--,10===Fe&&(Me=1,Re--),Fe}function We(){return Fe=De<$e?Ae(Ue,De++):0,Me++,10===Fe&&(Me=1,Re++),Fe}function Qe(){return Ae(Ue,De)}function Ke(){return De}function Ge(e,t){return Le(Ue,e,t)}function Ye(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Xe(e){return Ee(Ge(De-1,et(91===e?e+2:40===e?e+1:e)))}function Je(e){for(;(Fe=Qe())&&Fe<33;)We();return Ye(e)>2||Ye(Fe)>3?"":" "}function Ze(e,t){for(;--t&&We()&&!(Fe<48||Fe>102||Fe>57&&Fe<65||Fe>70&&Fe<97););return Ge(e,Ke()+(t<6&&32==Qe()&&32==We()))}function et(e){for(;We();)switch(Fe){case e:return De;case 34:case 39:34!==e&&39!==e&&et(Fe);break;case 40:41===e&&et(e);break;case 92:We()}return De}function tt(e,t){for(;We()&&e+Fe!==57&&(e+Fe!==84||47!==Qe()););return"/*"+Ge(t,De-1)+"*"+_e(47===e?e:We())}function nt(e){for(;!Ye(Qe());)We();return Ge(e,De)}function rt(e){return function(e){return Ue="",e}(it("",null,null,null,[""],e=function(e){return Re=Me=1,$e=Ne(Ue=e),De=0,[]}(e),0,[0],e))}function it(e,t,n,r,i,o,a,s,l){for(var u=0,c=0,f=a,d=0,h=0,p=0,g=1,m=1,y=1,v=0,b="",w=i,S=o,k=r,x=b;m;)switch(p=v,v=We()){case 40:if(108!=p&&58==Ae(x,f-1)){-1!=ze(x+=Pe(Xe(v),"&","&\f"),"&\f",xe(u?s[u-1]:0))&&(y=-1);break}case 34:case 39:case 91:x+=Xe(v);break;case 9:case 10:case 13:case 32:x+=Je(p);break;case 92:x+=Ze(Ke()-1,7);continue;case 47:switch(Qe()){case 42:case 47:Te(at(tt(We(),Ke()),t,n,l),l),5!=Ye(p||1)&&5!=Ye(Qe()||1)||!Ne(x)||" "===Le(x,-1,void 0)||(x+=" ");break;default:x+="/"}break;case 123*g:s[u++]=Ne(x)*y;case 125*g:case 59:case 0:switch(v){case 0:case 125:m=0;case 59+c:-1==y&&(x=Pe(x,/\f/g,"")),h>0&&(Ne(x)-f||0===g&&47===p)&&Te(h>32?st(x+";",r,n,f-1,l):st(Pe(x," ","")+";",r,n,f-2,l),l);break;case 59:x+=";";default:if(Te(k=ot(x,t,n,u,c,i,s,b,w=[],S=[],f,o),o),123===v)if(0===c)it(x,t,k,k,w,o,f,s,S);else{switch(d){case 99:if(110===Ae(x,3))break;case 108:if(97===Ae(x,2))break;default:c=0;case 100:case 109:case 115:}c?it(e,k,k,r&&Te(ot(e,k,k,0,0,i,s,b,i,w=[],f,S),S),i,S,f,s,r?w:S):it(x,k,k,k,[""],S,0,s,S)}}u=c=h=0,g=y=1,b=x="",f=a;break;case 58:f=1+Ne(x),h=p;default:if(g<1)if(123==v)--g;else if(125==v&&0==g++&&125==Ve())continue;switch(x+=_e(v),v*g){case 38:y=c>0?1:(x+="\f",-1);break;case 44:s[u++]=(Ne(x)-1)*y,y=1;break;case 64:45===Qe()&&(x+=Xe(We())),d=Qe(),c=f=Ne(b=x+=nt(Ke())),v++;break;case 45:45===p&&2==Ne(x)&&(g=0)}}return o}function ot(e,t,n,r,i,o,a,s,l,u,c,f){for(var d=i-1,h=0===i?o:[""],p=je(h),g=0,m=0,y=0;g<r;++g)for(var v=0,b=Le(e,d+1,d=xe(m=a[g])),w=e;v<p;++v)(w=Ee(m>0?h[v]+" "+b:Pe(b,/&\f/g,h[v])))&&(l[y++]=w);return Be(e,t,n,0===i?we:s,l,u,c,f)}function at(e,t,n,r){return Be(e,t,n,be,_e(Fe),Le(e,2,-2),0,r)}function st(e,t,n,r,i){return Be(e,t,n,Se,Le(e,0,r),Le(e,r+1,-1),r,i)}function lt(e,t,n){switch(function(e,t){return 45^Ae(e,0)?(((t<<2^Ae(e,0))<<2^Ae(e,1))<<2^Ae(e,2))<<2^Ae(e,3):0}(e,t)){case 5103:return ve+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return ve+e+e;case 4855:return ve+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return ye+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ve+e+ye+e+me+e+e;case 5936:switch(Ae(e,t+11)){case 114:return ve+e+me+Pe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ve+e+me+Pe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ve+e+me+Pe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return ve+e+me+e+e;case 6165:return ve+e+me+"flex-"+e+e;case 5187:return ve+e+Pe(e,/(\w+).+(:[^]+)/,ve+"box-$1$2"+me+"flex-$1$2")+e;case 5443:return ve+e+me+"flex-item-"+Pe(e,/flex-|-self/g,"")+(Oe(e,/flex-|baseline/)?"":me+"grid-row-"+Pe(e,/flex-|-self/g,""))+e;case 4675:return ve+e+me+"flex-line-pack"+Pe(e,/align-content|flex-|-self/g,"")+e;case 5548:return ve+e+me+Pe(e,"shrink","negative")+e;case 5292:return ve+e+me+Pe(e,"basis","preferred-size")+e;case 6060:return ve+"box-"+Pe(e,"-grow","")+ve+e+me+Pe(e,"grow","positive")+e;case 4554:return ve+Pe(e,/([^-])(transform)/g,"$1"+ve+"$2")+e;case 6187:return Pe(Pe(Pe(e,/(zoom-|grab)/,ve+"$1"),/(image-set)/,ve+"$1"),e,"")+e;case 5495:case 3959:return Pe(e,/(image-set\([^]*)/,ve+"$1$`$1");case 4968:return Pe(Pe(e,/(.+:)(flex-)?(.*)/,ve+"box-pack:$3"+me+"flex-pack:$3"),/space-between/,"justify")+ve+e+e;case 4200:if(!Oe(e,/flex-|baseline/))return me+"grid-column-align"+Le(e,t)+e;break;case 2592:case 3360:return me+Pe(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(e,n){return t=n,Oe(e.props,/grid-\w+-end/)})?~ze(e+(n=n[t].value),"span",0)?e:me+Pe(e,"-start","")+e+me+"grid-row-span:"+(~ze(n,"span",0)?Oe(n,/\d+/):+Oe(n,/\d+/)-+Oe(e,/\d+/))+";":me+Pe(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(e){return Oe(e.props,/grid-\w+-start/)})?e:me+Pe(Pe(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Pe(e,/(.+)-inline(.+)/,ve+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ne(e)-1-t>6)switch(Ae(e,t+1)){case 109:if(45!==Ae(e,t+4))break;case 102:return Pe(e,/(.+:)(.+)-([^]+)/,"$1"+ve+"$2-$3$1"+ye+(108==Ae(e,t+3)?"$3":"$2-$3"))+e;case 115:return~ze(e,"stretch",0)?lt(Pe(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return Pe(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,n,r,i,o,a,s){return me+n+":"+r+s+(i?me+n+"-span:"+(o?a:+a-+r)+s:"")+e});case 4949:if(121===Ae(e,t+6))return Pe(e,":",":"+ve)+e;break;case 6444:switch(Ae(e,45===Ae(e,14)?18:11)){case 120:return Pe(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+ve+(45===Ae(e,14)?"inline-":"")+"box$3$1"+ve+"$2$3$1"+me+"$2box$3")+e;case 100:return Pe(e,":",":"+me)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Pe(e,"scroll-","scroll-snap-")+e}return e}function ut(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function ct(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case"@namespace":case Se:return e.return=e.return||e.value;case be:return"";case ke:return e.return=e.value+"{"+ut(e.children,r)+"}";case we:if(!Ne(e.value=e.props.join(",")))return""}return Ne(n=ut(e.children,r))?e.return=e.value+"{"+n+"}":""}function ft(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Se:return void(e.return=lt(e.value,e.length,n));case ke:return ut([qe(e,{value:Pe(e.value,"@","@"+ve)})],r);case we:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,function(t){switch(Oe(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":He(qe(e,{props:[Pe(t,/:(read-\w+)/,":-moz-$1")]})),He(qe(e,{props:[t]})),Ce(e,{props:Ie(n,r)});break;case"::placeholder":He(qe(e,{props:[Pe(t,/:(plac\w+)/,":"+ve+"input-$1")]})),He(qe(e,{props:[Pe(t,/:(plac\w+)/,":-moz-$1")]})),He(qe(e,{props:[Pe(t,/:(plac\w+)/,me+"input-$1")]})),He(qe(e,{props:[t]})),Ce(e,{props:Ie(n,r)})}return""})}}var dt={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ht="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",pt="active",gt="data-styled-version",mt="6.3.8",yt="/*!sc*/\n",vt="undefined"!=typeof window&&"undefined"!=typeof document,bt=void 0===v.createContext,wt=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),St=(new Set,Object.freeze([])),kt=Object.freeze({});var xt=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]),_t=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Ct=/(^-|-$)/g;function Et(e){return e.replace(_t,"-").replace(Ct,"")}var Ot=/(a)(d)/gi,Pt=function(e){return String.fromCharCode(e+(e>25?39:97))};function zt(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Pt(t%52)+n;return(Pt(t%52)+n).replace(Ot,"$1-$2")}var At,Lt=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Nt=function(e){return Lt(5381,e)};function jt(e){return zt(Nt(e)>>>0)}function Tt(e){return"string"==typeof e&&!0}var It="function"==typeof Symbol&&Symbol.for,Rt=It?Symbol.for("react.memo"):60115,Mt=It?Symbol.for("react.forward_ref"):60112,$t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Dt={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ft={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ut=((At={})[Mt]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},At[Rt]=Ft,At);function Bt(e){return("type"in(t=e)&&t.type.$$typeof)===Rt?Ft:"$$typeof"in e?Ut[e.$$typeof]:$t;var t}var qt=Object.defineProperty,Ht=Object.getOwnPropertyNames,Vt=Object.getOwnPropertySymbols,Wt=Object.getOwnPropertyDescriptor,Qt=Object.getPrototypeOf,Kt=Object.prototype;function Gt(e,t,n){if("string"!=typeof t){if(Kt){var r=Qt(t);r&&r!==Kt&&Gt(e,r,n)}var i=Ht(t);Vt&&(i=i.concat(Vt(t)));for(var o=Bt(e),a=Bt(t),s=0;s<i.length;++s){var l=i[s];if(!(l in Dt||n&&n[l]||a&&l in a||o&&l in o)){var u=Wt(t,l);try{qt(e,l,u)}catch(e){}}}}return e}function Yt(e){return"function"==typeof e}function Xt(e){return"object"==typeof e&&"styledComponentId"in e}function Jt(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Zt(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=t?t+e[r]:e[r];return n}function en(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function tn(e,t,n){if(void 0===n&&(n=!1),!n&&!en(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=tn(e[r],t[r]);else if(en(t))for(var r in t)e[r]=tn(e[r],t[r]);return e}function nn(e,t){Object.defineProperty(e,"toString",{value:t})}function rn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var on=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)if((i<<=1)<0)throw rn(16,"".concat(e));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=(o=0,t.length);o<s;o++)this.tag.insertRule(a,t[o])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o<i;o++)t+="".concat(this.tag.getRule(o)).concat(yt);return t},e}(),an=new Map,sn=new Map,ln=1,un=function(e){if(an.has(e))return an.get(e);for(;sn.has(ln);)ln++;var t=ln++;return an.set(e,t),sn.set(t,e),t},cn=function(e,t){ln=t+1,an.set(e,t),sn.set(t,e)},fn="style[".concat(ht,"][").concat(gt,'="').concat(mt,'"]'),dn=new RegExp("^".concat(ht,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),hn=function(e,t,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&e.registerName(t,r)},pn=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(yt),i=[],o=0,a=r.length;o<a;o++){var s=r[o].trim();if(s){var l=s.match(dn);if(l){var u=0|parseInt(l[1],10),c=l[2];0!==u&&(cn(c,u),hn(e,c,l[3]),e.getTag().insertRules(u,i)),i.length=0}else i.push(s)}}},gn=function(e){for(var t=document.querySelectorAll(fn),n=0,r=t.length;n<r;n++){var i=t[n];i&&i.getAttribute(ht)!==pt&&(pn(e,i),i.parentNode&&i.parentNode.removeChild(i))}};function mn(){return n.nc}var yn=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(e){var t=Array.from(e.querySelectorAll("style[".concat(ht,"]")));return t[t.length-1]}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(ht,pt),r.setAttribute(gt,mt);var a=mn();return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},vn=function(){function e(e){this.element=yn(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}throw rn(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),bn=function(){function e(e){this.element=yn(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),wn=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Sn=vt,kn={isServer:!vt,useCSSOMInjection:!wt},xn=function(){function e(e,t,n){void 0===e&&(e=kt),void 0===t&&(t={});var r=this;this.options=pe(pe({},kn),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&vt&&Sn&&(Sn=!1,gn(this)),nn(this,function(){return function(e){for(var t=e.getTag(),n=t.length,r="",i=function(n){var i=function(e){return sn.get(e)}(n);if(void 0===i)return"continue";var o=e.names.get(i),a=t.getGroup(n);if(void 0===o||!o.size||0===a.length)return"continue";var s="".concat(ht,".g").concat(n,'[id="').concat(i,'"]'),l="";void 0!==o&&o.forEach(function(e){e.length>0&&(l+="".concat(e,","))}),r+="".concat(a).concat(s,'{content:"').concat(l,'"}').concat(yt)},o=0;o<n;o++)i(o);return r}(r)})}return e.registerId=function(e){return un(e)},e.prototype.rehydrate=function(){!this.server&&vt&&gn(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(pe(pe({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new wn(n):t?new vn(n):new bn(n)}(this.options),new on(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(un(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(un(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(un(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),_n=/&/g,Cn=47;function En(e){if(-1===e.indexOf("}"))return!1;for(var t=e.length,n=0,r=0,i=!1,o=0;o<t;o++){var a=e.charCodeAt(o);if(0!==r||i||a!==Cn||42!==e.charCodeAt(o+1))if(i)42===a&&e.charCodeAt(o+1)===Cn&&(i=!1,o++);else if(34!==a&&39!==a||0!==o&&92===e.charCodeAt(o-1)){if(0===r)if(123===a)n++;else if(125===a&&--n<0)return!0}else 0===r?r=a:r===a&&(r=0);else i=!0,o++}return 0!==n||0!==r}function On(e,t){return e.map(function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return"".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=On(e.children,t)),e})}function Pn(e){var t,n,r,i=void 0===e?kt:e,o=i.options,a=void 0===o?kt:o,s=i.plugins,l=void 0===s?St:s,u=function(e,r,i){return i.startsWith(n)&&i.endsWith(n)&&i.replaceAll(n,"").length>0?".".concat(t):e},c=l.slice();c.push(function(e){e.type===we&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(_n,n).replace(r,u))}),a.prefix&&c.push(ft),c.push(ct);var f=function(e,i,o,s){void 0===i&&(i=""),void 0===o&&(o=""),void 0===s&&(s="&"),t=s,n=i,r=new RegExp("\\".concat(n,"\\b"),"g");var l=function(e){if(!En(e))return e;for(var t=e.length,n="",r=0,i=0,o=0,a=!1,s=0;s<t;s++){var l=e.charCodeAt(s);if(0!==o||a||l!==Cn||42!==e.charCodeAt(s+1))if(a)42===l&&e.charCodeAt(s+1)===Cn&&(a=!1,s++);else if(34!==l&&39!==l||0!==s&&92===e.charCodeAt(s-1)){if(0===o)if(123===l)i++;else if(125===l){if(--i<0){for(var u=s+1;u<t;){var c=e.charCodeAt(u);if(59===c||10===c)break;u++}u<t&&59===e.charCodeAt(u)&&u++,i=0,s=u-1,r=u;continue}0===i&&(n+=e.substring(r,s+1),r=s+1)}else 59===l&&0===i&&(n+=e.substring(r,s+1),r=s+1)}else 0===o?o=l:o===l&&(o=0);else a=!0,s++}if(r<t){var f=e.substring(r);En(f)||(n+=f)}return n}(function(e){if(-1===e.indexOf("//"))return e;for(var t=e.length,n=[],r=0,i=0,o=0,a=0;i<t;){var s=e.charCodeAt(i);if(34!==s&&39!==s||0!==i&&92===e.charCodeAt(i-1))if(0===o)if(40===s&&i>=3&&108==(32|e.charCodeAt(i-1))&&114==(32|e.charCodeAt(i-2))&&117==(32|e.charCodeAt(i-3)))a=1,i++;else if(a>0)41===s?a--:40===s&&a++,i++;else if(s===Cn&&i+1<t&&e.charCodeAt(i+1)===Cn){for(i>r&&n.push(e.substring(r,i));i<t&&10!==e.charCodeAt(i);)i++;r=i}else i++;else i++;else 0===o?o=s:o===s&&(o=0),i++}return 0===r?e:(r<t&&n.push(e.substring(r)),n.join(""))}(e)),u=rt(o||i?"".concat(o," ").concat(i," { ").concat(l," }"):l);a.namespace&&(u=On(u,a.namespace));var f,d,h,p=[];return ut(u,(f=c.concat((h=function(e){return p.push(e)},function(e){e.root||(e=e.return)&&h(e)})),d=je(f),function(e,t,n,r){for(var i="",o=0;o<d;o++)i+=f[o](e,t,n,r)||"";return i})),p};return f.hash=l.length?l.reduce(function(e,t){return t.name||rn(15),Lt(e,t.name)},5381).toString():"",f}var zn=new xn,An=Pn(),Ln={shouldForwardProp:void 0,styleSheet:zn,stylis:An},Nn=bt?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(Ln)}}:v.createContext(Ln),jn=(Nn.Consumer,bt?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(void 0)}}:v.createContext(void 0));function Tn(){return bt?Ln:v.useContext(Nn)}function In(e){if(bt||!v.useMemo)return e.children;var t=Tn().styleSheet,n=v.useMemo(function(){var n=t;return e.sheet?n=e.sheet:e.target&&(n=n.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(n=n.reconstructWithOptions({useCSSOMInjection:!1})),n},[e.disableCSSOMInjection,e.sheet,e.target,t]),r=v.useMemo(function(){return Pn({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:e.stylisPlugins})},[e.enableVendorPrefixes,e.namespace,e.stylisPlugins]),i=v.useMemo(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:n,stylis:r}},[e.shouldForwardProp,n,r]);return v.createElement(Nn.Provider,{value:i},v.createElement(jn.Provider,{value:r},e.children))}var Rn=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=An);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,nn(this,function(){throw rn(12,String(n.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=An),this.name+e.hash},e}();function Mn(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||e in dt||e.startsWith("--")?String(t).trim():"".concat(t,"px")}var $n=function(e){return e>="A"&&e<="Z"};function Dn(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;$n(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var Fn=function(e){return null==e||!1===e||""===e},Un=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!Fn(r)&&(Array.isArray(r)&&r.isCss||Yt(r)?t.push("".concat(Dn(n),":"),r,";"):en(r)?t.push.apply(t,ge(ge(["".concat(n," {")],Un(r),!1),["}"],!1)):t.push("".concat(Dn(n),": ").concat(Mn(n,r),";")))}return t};function Bn(e,t,n,r){return Fn(e)?[]:Xt(e)?[".".concat(e.styledComponentId)]:Yt(e)?!Yt(i=e)||i.prototype&&i.prototype.isReactComponent||!t?[e]:Bn(e(t),t,n,r):e instanceof Rn?n?(e.inject(n,r),[e.getName(r)]):[e]:en(e)?Un(e):Array.isArray(e)?Array.prototype.concat.apply(St,e.map(function(e){return Bn(e,t,n,r)})):[e.toString()];var i}function qn(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Yt(n)&&!Xt(n))return!1}return!0}var Hn=Nt(mt),Vn=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&qn(e),this.componentId=t,this.baseHash=Lt(Hn,t),this.baseStyle=n,xn.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n).className:"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=Jt(r,this.staticRulesId);else{var i=Zt(Bn(this.rules,e,t,n)),o=zt(Lt(this.baseHash,i)>>>0);if(!t.hasNameForId(this.componentId,o)){var a=n(i,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,a)}r=Jt(r,o),this.staticRulesId=o}else{for(var s=Lt(this.baseHash,n.hash),l="",u=0;u<this.rules.length;u++){var c=this.rules[u];if("string"==typeof c)l+=c;else if(c){var f=Zt(Bn(c,e,t,n));s=Lt(s,f+u),l+=f}}if(l){var d=zt(s>>>0);if(!t.hasNameForId(this.componentId,d)){var h=n(l,".".concat(d),void 0,this.componentId);t.insertRules(this.componentId,d,h)}r=Jt(r,d)}}return{className:r,css:"undefined"==typeof window?t.getTag().getGroup(un(this.componentId)):""}},e}(),Wn=bt?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(void 0)}}:v.createContext(void 0);function Qn(e){if(bt)return e.children;var t=v.useContext(Wn),n=v.useMemo(function(){return function(e,t){if(!e)throw rn(14);if(Yt(e))return e(t);if(Array.isArray(e)||"object"!=typeof e)throw rn(8);return t?pe(pe({},t),e):e}(e.theme,t)},[e.theme,t]);return e.children?v.createElement(Wn.Provider,{value:n},e.children):null}Wn.Consumer;var Kn={};function Gn(e,t,n){var r=Xt(e),i=e,o=!Tt(e),a=t.attrs,s=void 0===a?St:a,l=t.componentId,u=void 0===l?function(e,t){var n="string"!=typeof e?"sc":Et(e);Kn[n]=(Kn[n]||0)+1;var r="".concat(n,"-").concat(jt(mt+n+Kn[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):l,c=t.displayName,f=void 0===c?function(e){return Tt(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):c,d=t.displayName&&t.componentId?"".concat(Et(t.displayName),"-").concat(t.componentId):t.componentId||u,h=r&&i.attrs?i.attrs.concat(s).filter(Boolean):s,p=t.shouldForwardProp;if(r&&i.shouldForwardProp){var g=i.shouldForwardProp;if(t.shouldForwardProp){var m=t.shouldForwardProp;p=function(e,t){return g(e,t)&&m(e,t)}}else p=g}var y=new Vn(n,d,r?i.componentStyle:void 0);function b(e,t){return function(e,t,n){var r=e.attrs,i=e.componentStyle,o=e.defaultProps,a=e.foldedComponentIds,s=e.styledComponentId,l=e.target,u=bt?void 0:v.useContext(Wn),c=Tn(),f=e.shouldForwardProp||c.shouldForwardProp,d=function(e,t,n){return void 0===n&&(n=kt),e.theme!==n.theme&&e.theme||t||n.theme}(t,u,o)||kt,h=function(e,t,n){for(var r,i=pe(pe({},t),{className:void 0,theme:n}),o=0;o<e.length;o+=1){var a=Yt(r=e[o])?r(i):r;for(var s in a)"className"===s?i.className=Jt(i.className,a[s]):"style"===s?i.style=pe(pe({},i.style),a[s]):i[s]=a[s]}return"className"in t&&"string"==typeof t.className&&(i.className=Jt(i.className,t.className)),i}(r,t,d),p=h.as||l,g={};for(var m in h)void 0===h[m]||"$"===m[0]||"as"===m||"theme"===m&&h.theme===d||("forwardedAs"===m?g.as=h.forwardedAs:f&&!f(m,p)||(g[m]=h[m]));var y=function(e,t){var n=Tn();return e.generateAndInjectStyles(t,n.styleSheet,n.stylis)}(i,h),b=y.className,w=y.css,S=Jt(a,s);b&&(S+=" "+b),h.className&&(S+=" "+h.className),g[Tt(p)&&!xt.has(p)?"class":"className"]=S,n&&(g.ref=n);var k=(0,v.createElement)(p,g);return bt&&w?v.createElement(v.Fragment,null,v.createElement("style",{precedence:"styled-components",href:"sc-".concat(s,"-").concat(b),children:w}),k):k}(w,e,t)}b.displayName=f;var w=v.forwardRef(b);return w.attrs=h,w.componentStyle=y,w.displayName=f,w.shouldForwardProp=p,w.foldedComponentIds=r?Jt(i.foldedComponentIds,i.styledComponentId):"",w.styledComponentId=d,w.target=r?i.target:e,Object.defineProperty(w,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=r?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,i=t;r<i.length;r++)tn(e,i[r],!0);return e}({},i.defaultProps,e):e}}),nn(w,function(){return".".concat(w.styledComponentId)}),o&&Gt(w,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),w}function Yn(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n}new Set;var Xn=function(e){return Object.assign(e,{isCss:!0})};function Jn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Yt(e)||en(e))return Xn(Bn(Yn(St,ge([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?Bn(r):Xn(Bn(Yn(r,t)))}function Zn(e,t,n){if(void 0===n&&(n=kt),!t)throw rn(1,t);var r=function(r){for(var i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];return e(t,n,Jn.apply(void 0,ge([r],i,!1)))};return r.attrs=function(r){return Zn(e,t,pe(pe({},n),{attrs:Array.prototype.concat(n.attrs,r).filter(Boolean)}))},r.withConfig=function(r){return Zn(e,t,pe(pe({},n),r))},r}var er=function(e){return Zn(Gn,e)},tr=er;function nr(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=Zt(Jn.apply(void 0,ge([e],t,!1))),i=jt(r);return new Rn(i,r)}xt.forEach(function(e){tr[e]=er(e)}),function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=qn(e),xn.registerId(this.componentId+1)}e.prototype.createStyles=function(e,t,n,r){var i=r(Zt(Bn(this.rules,t,n,r)),""),o=this.componentId+e;n.insertRules(o,o,i)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&xn.registerId(this.componentId+e);var i=this.componentId+e;this.isStatic?n.hasNameForId(i,i)||this.createStyles(e,t,n,r):(this.removeStyles(e,n),this.createStyles(e,t,n,r))}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=mn(),r=Zt([n&&'nonce="'.concat(n,'"'),"".concat(ht,'="true"'),"".concat(gt,'="').concat(mt,'"')].filter(Boolean)," ");return"<style ".concat(r,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw rn(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw rn(2);var n=e.instance.toString();if(!n)return[];var r=((t={})[ht]="",t[gt]=mt,t.dangerouslySetInnerHTML={__html:n},t),i=mn();return i&&(r.nonce=i),[v.createElement("style",pe({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new xn({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw rn(2);return v.createElement(In,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw rn(3)}}(),"__sc-".concat(ht,"__");var rr={colors:{primary:"rgba(33, 150, 243, 1)",primaryHover:"rgba(25, 118, 210, 1)",secondary:"rgba(3, 169, 244, 1)",accent:"rgba(255, 64, 129, 1)",background:"rgba(255, 255, 255, 1)",backgroundSecondary:"rgba(245, 245, 245, 1)",surfaceOverlay:"rgba(0, 0, 0, 0.05)",text:"rgba(33, 33, 33, 1)",textSecondary:"rgba(117, 117, 117, 1)",textInverse:"rgba(255, 255, 255, 1)",success:"rgba(76, 175, 80, 1)",error:"rgba(244, 67, 54, 1)",warning:"rgba(255, 152, 0, 1)",border:"rgba(224, 224, 224, 1)",shadow:"rgba(0, 0, 0, 0.1)",shadowMedium:"rgba(0, 0, 0, 0.15)",shadowStrong:"rgba(0, 0, 0, 0.25)",backdrop:"rgba(0, 0, 0, 0.3)"},gradients:{surface:"linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 245, 0.9) 100%)",homePage:"linear-gradient(90deg, rgba(227, 242, 253, 1) 0%, rgba(187, 222, 251, 1) 100%)"},qrCode:{dotsColor:"rgba(33, 150, 243, 1)",cornersColor:"rgba(33, 150, 243, 1)",cornerDotsColor:"rgba(33, 150, 243, 1)",backgroundColor:"rgba(255, 255, 255, 1)"}},ir={colors:{primary:"rgba(33, 150, 243, 1)",primaryHover:"rgba(25, 118, 210, 1)",secondary:"rgba(79, 195, 247, 1)",accent:"rgba(255, 64, 129, 1)",background:"rgba(15, 14, 31, 1)",backgroundSecondary:"rgba(26, 24, 41, 1)",surfaceOverlay:"rgba(255, 255, 255, 0.05)",text:"rgba(255, 255, 255, 1)",textSecondary:"rgba(117, 117, 117, 1)",textInverse:"rgba(33, 33, 33, 1)",success:"rgba(102, 187, 106, 1)",error:"rgba(239, 83, 80, 1)",warning:"rgba(255, 167, 38, 1)",border:"rgba(44, 42, 63, 1)",shadow:"rgba(0, 0, 0, 0.3)",shadowMedium:"rgba(0, 0, 0, 0.4)",shadowStrong:"rgba(0, 0, 0, 0.5)",backdrop:"rgba(16, 54, 84, 0.3)"},gradients:{surface:"linear-gradient(180deg, rgba(8, 19, 28, 0.7) 0%, rgba(8, 19, 28, 0.4) 100%)",homePage:"linear-gradient(90deg, rgba(11, 11, 39, 1) 0%, rgba(30, 27, 126, 1) 100%)"},qrCode:{dotsColor:"rgba(33, 150, 243, 1)",cornersColor:"rgba(33, 150, 243, 1)",cornerDotsColor:"rgba(33, 150, 243, 1)",backgroundColor:"rgba(255, 255, 255, 1)"}};function or(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var ar,sr=(0,v.createContext)(),lr=function(e){var t,n,r=e.children,i=(t=(0,v.useState)(p),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(t,n)||function(e,t){if(e){if("string"==typeof e)return or(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?or(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=i[0],a=i[1],s=o===h?rr:ir,l={theme:s,themeMode:o,setTheme:function(e){e!==h&&e!==p||a(e)},isDark:o===p,isLight:o===h};return(0,X.jsx)(sr.Provider,{value:l,children:(0,X.jsx)(Qn,{theme:s,children:r})})};function ur(e){var t=e.children;return(0,X.jsx)(lr,{children:(0,X.jsx)(ie,{children:(0,X.jsx)(he,{children:t})})})}function cr(){return cr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cr.apply(null,arguments)}const fr=function(e){return v.createElement("svg",cr({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),ar||(ar=v.createElement("path",{fill:"#0F0F0F",d:"M6.995 7.006a1 1 0 0 0 0 1.415l3.585 3.585-3.585 3.585a1 1 0 1 0 1.414 1.414l3.585-3.585 3.585 3.585a1 1 0 0 0 1.415-1.414l-3.586-3.585 3.586-3.585a1 1 0 0 0-1.415-1.415l-3.585 3.585L8.41 7.007a1 1 0 0 0-1.414 0"})))};var dr,hr,pr,gr,mr,yr,vr,br,wr=tr.button(dr||(vr=["\n all: initial;\n position: absolute;\n top: 12px;\n right: 8px;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n width: 24px;\n height: 24px;\n padding: 0;\n\n background: transparent;\n border: none;\n cursor: pointer;\n\n svg {\n width: 24px;\n height: 24px;\n\n path {\n fill: ",";\n }\n\n &:hover path {\n fill: ",";\n }\n }\n"],br||(br=vr.slice(0)),dr=Object.freeze(Object.defineProperties(vr,{raw:{value:Object.freeze(br)}}))),function(e){return e.theme.colors.text},function(e){return e.theme.colors.primary});function Sr(){var e=re().callbacks;return(0,X.jsx)(wr,{onClick:function(){e[t]()},children:(0,X.jsx)(fr,{})})}function kr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function xr(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var _r,Cr,Er,Or=nr(hr||(hr=xr(["\n 0% { transform: rotateY(0deg); opacity: 1; }\n 100% { transform: rotateY(90deg); opacity: 0; }\n"]))),Pr=tr.div(pr||(pr=xr(["\n all: initial;\n box-sizing: border-box;\n position: fixed;\n top: -10000px;\n left: -10000px;\n right: -10000px;\n bottom: -10000px;\n z-index: ",";\n backdrop-filter: blur(8px);\n"])),function(){return a}),zr=tr.div(gr||(gr=xr(["\n all: initial;\n box-sizing: border-box;\n position: fixed;\n inset: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n\n z-index: ",';\n p,\n span,\n button,\n a,\n h1,\n h2 {\n font-family: "Roboto", Arial, sans-serif;\n }\n a {\n text-decoration: none;\n }\n'])),function(){return a}),Ar=tr.div(mr||(mr=xr(["\n all: initial;\n box-sizing: border-box;\n position: relative;\n display: flex;\n flex-direction: column;\n gap: 4px;\n width: 375px;\n margin: 0 auto;\n padding: 40px 24px;\n min-height: 500px;\n user-select: none;\n background-color: ",";\n box-shadow: 0 0 0 9999px ",";\n border-radius: 12px;\n\n transform-style: preserve-3d;\n backface-visibility: hidden;\n transform-origin: center;\n\n ","\n\n @media (max-width: 480px) {\n width: 100%;\n height: 100dvh;\n border-radius: 0;\n padding: 24px 16px;\n }\n"])),function(e){return e.theme.colors.background},function(e){return e.theme.colors.backdrop},function(e){return e.$isClosing&&Jn(yr||(yr=xr(["\n animation: "," 500ms linear;\n "])),Or)}),Lr=function(e){var n=e.children,r=re(),i=r.callbacks,o=r.closing,a=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return kr(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?kr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,v.useState)(!1),2),s=a[0],l=a[1];return(0,v.useEffect)(function(){if(o){var e=setTimeout(function(){return l(!0)},4e3);return function(){return clearTimeout(e)}}},[o]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Pr,{}),(0,X.jsx)(zr,{children:(0,X.jsxs)(Ar,{$isClosing:s,onAnimationEnd:function(){s&&i[t]()},children:[(0,X.jsx)(Sr,{}),n]})})]})};function Nr(){return Nr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nr.apply(null,arguments)}const jr=function(e){return v.createElement("svg",Nr({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 1024 1024"},e),_r||(_r=v.createElement("path",{fill:"#fff",d:"M182 898.827V795.173h15.835v89.433h56.47v14.221zM268.804 898.827V795.173h15.835v103.654zM309.357 898.827V795.173h40.186q7.62 0 13.894 1.319 6.423 1.174 11.055 4.252 4.63 2.933 7.021 8.064 2.54 4.985 2.54 12.608 0 7.477-3.436 13.489-3.436 5.863-10.458 8.796 9.412 2.053 14.192 8.357 4.93 6.304 4.93 16.567 0 8.798-3.286 14.661-3.287 5.865-9.113 9.237t-13.445 4.838q-7.62 1.466-16.284 1.466zm15.836-14.221h22.558a92 92 0 0 0 8.963-.44q4.482-.587 8.217-2.199 3.884-1.613 6.125-4.838 2.39-3.226 2.39-8.65 0-4.545-1.793-7.478-1.792-3.078-4.78-4.838-2.988-1.759-7.022-2.492a43.4 43.4 0 0 0-8.067-.733h-26.591zm0-45.01h20.018q5.08 0 9.262-.88 4.333-.879 7.47-2.932t4.78-5.131q1.793-3.226 1.793-7.771.15-6.01-2.689-8.796-2.69-2.933-7.32-3.812-4.632-1.026-10.159-1.026h-23.155zM408.42 898.827V795.173h72.753v14.221h-56.918v31.082h50.344v14.074h-50.344v30.056h56.918v14.221zM500.184 898.827V795.173h40.634q8.515 0 15.536 1.759 7.022 1.613 12.25 5.425 5.229 3.665 8.067 9.969 2.84 6.305 2.839 15.541 0 8.357-2.988 14.368t-8.216 9.97-11.802 6.011l22.558 40.611h-17.479l-20.915-38.119h-24.649v38.119zm15.835-52.047h21.512q5.379 0 10.009-.733 4.78-.88 8.366-2.932 3.585-2.199 5.528-5.865 2.091-3.811 2.091-9.676.15-6.744-2.689-10.703-2.69-4.104-8.067-5.717-5.378-1.76-12.997-1.76h-23.753zM599.972 898.827V795.173h15.835v103.654zM685.342 900q-16.283 0-27.637-6.744-11.204-6.89-17.03-18.913t-5.827-27.27q0-15.393 5.827-27.416 5.826-12.022 17.179-18.766Q669.209 794 685.492 794q16.432 0 27.637 6.744 11.204 6.744 17.03 18.766 5.826 12.023 5.826 27.417 0 15.248-5.826 27.269-5.826 12.022-17.18 18.913Q701.776 900 685.342 900m.15-14.221q11.95 0 19.57-5.425 7.619-5.425 11.204-14.221 3.585-8.797 3.585-19.06 0-7.77-2.091-14.807-1.942-7.038-6.125-12.462-4.183-5.425-10.756-8.504t-15.387-3.079q-11.803 0-19.57 5.425-7.62 5.425-11.354 14.221-3.735 8.798-3.735 19.206 0 10.263 3.585 19.06 3.735 8.796 11.354 14.221 7.768 5.424 19.72 5.425M754.906 898.827V795.173h18.375l53.033 80.929v-80.929H842v103.654h-17.927l-53.332-80.49v80.49zM300.339 274.015C339.543 196.967 419.631 144.182 512 144.182s172.457 52.785 211.661 129.833c3.1-2.681 6.14-5.421 9.14-8.241a347 347 0 0 0 6.201-5.961C695.578 178.945 610.19 124 512 124s-183.578 54.945-227.002 135.813c2.04 2 4.1 4.001 6.2 5.961a298 298 0 0 0 9.141 8.241M412.93 558.303c0-.16 0-.34-.04-.5-1.4-21.182-6.28-43.845-19.002-62.186-22.002-31.723-68.506-52.005-83.868-58.706-4.68-2.04-19.522-8.581-32.823-23.502-2.04-2.301-5.121-6.101-8.261-11.621-.6-1.081-1.22-2.201-1.82-3.421-5.641 56.406 7.941 83.108 22.782 96.97 23.302 21.782 55.246 16.981 96.77 50.905a185 185 0 0 1 26.502 26.602c.04-5.08-.06-9.921-.26-14.541z"})),Cr||(Cr=v.createElement("path",{fill:"#fff",d:"M516.701 206.526c-1.581-.1-3.141-.14-4.701-.14s-3.12.04-4.7.14c-36.204 2.28-65.587 31.623-67.907 67.826-2.74 42.365 30.823 77.608 72.607 77.608s75.347-35.243 72.607-77.608c-2.32-36.203-31.703-65.546-67.906-67.826M755.084 401.788c-3.12 5.52-6.201 9.32-8.261 11.621-13.301 14.941-28.143 21.462-32.823 23.502-15.362 6.701-61.866 26.983-83.868 58.706-12.742 18.341-17.622 41.004-19.002 62.186 0 .16 0 .34-.04.5-.2 4.62-.3 9.461-.26 14.541 5.62-6.92 14.361-16.701 26.502-26.602 41.544-33.924 73.468-29.123 96.77-50.905 14.841-13.862 28.423-40.564 22.782-96.97-.58 1.2-1.2 2.34-1.82 3.421z"})),Er||(Er=v.createElement("path",{fill:"#fff",d:"M594.208 604.349c-2.86-26.483-9.281-84.789 18.542-124.313 24.063-34.203 74.887-56.045 91.689-63.266 5.121-2.2 21.342-9.261 35.884-25.342 2.24-2.48 5.6-6.581 9.02-12.521 3.061-5.321 6.161-12.142 8.541-20.642 5.501-19.662 4.521-40.604-2.06-59.926a259 259 0 0 0-7.601-19.582 312 312 0 0 1-15.421 15.461C675.076 348.404 597.429 381.567 512 381.567c-85.428 0-163.076-33.163-220.801-87.349a312 312 0 0 1-15.422-15.461 260 260 0 0 0-7.601 19.582c-6.58 19.322-7.56 40.264-2.06 59.926 2.381 8.5 5.481 15.321 8.541 20.642 3.42 5.94 6.781 10.041 9.021 12.521 14.541 16.081 30.763 23.142 35.884 25.342 16.801 7.221 67.626 29.063 91.688 63.266 27.823 39.524 21.403 97.83 18.542 124.313-.72 6.64-1.66 13.461-2.8 20.422-4.42 27.082-11.961 56.325-23.122 86.668 0 0 23.682 12.681 80.808 12.561 4.38-18.421 8.54-37.503 12.401-57.205 1.84-9.381 3.58-18.662 5.2-27.843 1.2-6.741 2.341-13.441 3.421-20.062q1.92-11.761 3.6-23.282c.24-1.56 1.48-2.34 2.7-2.32 1.22 0 2.461.76 2.701 2.32q1.68 11.521 3.6 23.282c1.08 6.621 2.22 13.321 3.42 20.062 1.62 9.181 3.361 18.462 5.201 27.843A1465 1465 0 0 0 539.323 724c57.126.12 80.808-12.561 80.808-12.561-11.161-30.343-18.702-59.586-23.122-86.668a380 380 0 0 1-2.801-20.422"})))};var Tr,Ir;function Rr(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Mr=tr.div(Tr||(Tr=Rr(["\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n\n svg {\n width: 300px;\n path {\n fill: ",";\n }\n }\n"])),function(e){return e.theme.colors.primary}),$r=tr.div(Ir||(Ir=Rr(["\n display: inline-block;\n width: 70px;\n height: 70px;\n margin: 0 auto;\n border-radius: 50%;\n\n border-top: 5px solid ",";\n border-right: 5px solid transparent;\n box-sizing: border-box;\n animation: rotation 1s linear infinite;\n\n @keyframes rotation {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n"])),function(e){return e.theme.colors.primary});function Dr(){return(0,X.jsxs)(Mr,{children:[(0,X.jsx)(jr,{}),(0,X.jsx)($r,{})]})}function Fr(){var e=re().navigate,t=de(),n=t.link,r=t.authStatus;return(0,v.useEffect)(function(){(n||r===u)&&setTimeout(function(){e({path:Y,params:{}})},200)},[n,e,r]),(0,X.jsx)(Dr,{})}const Ur=e=>"string"==typeof e,Br=()=>{let e,t;const n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},qr=e=>null==e?"":""+e,Hr=/###/g,Vr=e=>e&&e.indexOf("###")>-1?e.replace(Hr,"."):e,Wr=e=>!e||Ur(e),Qr=(e,t,n)=>{const r=Ur(t)?t.split("."):t;let i=0;for(;i<r.length-1;){if(Wr(e))return{};const t=Vr(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return Wr(e)?{}:{obj:e,k:Vr(r[i])}},Kr=(e,t,n)=>{const{obj:r,k:i}=Qr(e,t,Object);if(void 0!==r||1===t.length)return void(r[i]=n);let o=t[t.length-1],a=t.slice(0,t.length-1),s=Qr(e,a,Object);for(;void 0===s.obj&&a.length;)o=`${a[a.length-1]}.${o}`,a=a.slice(0,a.length-1),s=Qr(e,a,Object),s?.obj&&void 0!==s.obj[`${s.k}.${o}`]&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=n},Gr=(e,t)=>{const{obj:n,k:r}=Qr(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},Yr=(e,t,n)=>{for(const r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?Ur(e[r])||e[r]instanceof String||Ur(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):Yr(e[r],t[r],n):e[r]=t[r]);return e},Xr=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Jr={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const Zr=e=>Ur(e)?e.replace(/[&<>"'\/]/g,e=>Jr[e]):e,ei=[" ",",","?","!",";"],ti=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}(20),ni=(e,t,n=".")=>{if(!e)return;if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return;return e[t]}const r=t.split(n);let i=e;for(let o=0;o<r.length;){if(!i||"object"!=typeof i)return;let e,t="";for(let a=o;a<r.length;++a)if(a!==o&&(t+=n),t+=r[a],e=i[t],void 0!==e){if(["string","number","boolean"].indexOf(typeof e)>-1&&a<r.length-1)continue;o+=a-o+1;break}i=e}return i},ri=e=>e?.replace("_","-"),ii={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){}};class oi{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||ii,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,n,r){return r&&!this.debug?null:(Ur(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new oi(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new oi(this.logger,e)}}var ai=new oi;class si{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);const n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r<n;r++)e(...t)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([n,r])=>{for(let i=0;i<r;i++)n.apply(n,[e,...t])})}}class li extends si{constructor(e,t={ns:["translation"],defaultNS:"translation"}){super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n,r={}){const i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;e.indexOf(".")>-1?a=e.split("."):(a=[e,t],n&&(Array.isArray(n)?a.push(...n):Ur(n)&&i?a.push(...n.split(i)):a.push(n)));const s=Gr(this.data,a);return!s&&!t&&!n&&e.indexOf(".")>-1&&(e=a[0],t=a[1],n=a.slice(2).join(".")),!s&&o&&Ur(n)?ni(this.data?.[e]?.[t],n,i):s}addResource(e,t,n,r,i={silent:!1}){const o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator;let a=[e,t];n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),Kr(this.data,a,r),i.silent||this.emit("added",e,t,n,r)}addResources(e,t,n,r={silent:!1}){for(const i in n)(Ur(n[i])||Array.isArray(n[i]))&&this.addResource(e,t,i,n[i],{silent:!0});r.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,i,o={silent:!1,skipCopy:!1}){let a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),r=n,n=t,t=a[1]),this.addNamespaces(t);let s=Gr(this.data,a)||{};o.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?Yr(s,n,i):s={...s,...n},Kr(this.data,a,s),o.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var ui={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,i)??t}),t}};const ci=Symbol("i18next/PATH_KEY");function fi(e,t){const{[ci]:n}=e(function(){const e=[],t=Object.create(null);let n;return t.get=(r,i)=>(n?.revoke?.(),i===ci?e:(e.push(i),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}());return n.join(t?.keySeparator??".")}const di={},hi=e=>!Ur(e)&&"boolean"!=typeof e&&"number"!=typeof e;class pi extends si{constructor(e,t={}){super(),((e,t,n)=>{["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach(e=>{t[e]&&(n[e]=t[e])})})(0,e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=ai.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){const n={...t};if(null==e)return!1;const r=this.resolve(e,n);if(void 0===r?.res)return!1;const i=hi(r.res);return!1!==n.returnObjects||!i}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");const r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let i=t.ns||this.options.defaultNS||[];const o=n&&e.indexOf(n)>-1,a=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||((e,t,n)=>{t=t||"",n=n||"";const r=ei.filter(e=>t.indexOf(e)<0&&n.indexOf(e)<0);if(0===r.length)return!0;const i=ti.getRegExp(`(${r.map(e=>"?"===e?"\\?":e).join("|")})`);let o=!i.test(e);if(!o){const t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(o=!0)}return o})(e,n,r));if(o&&!a){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:Ur(i)?[i]:i};const o=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(o[0])>-1)&&(i=o.shift()),e=o.join(r)}return{key:e,namespaces:Ur(i)?[i]:i}}translate(e,t,n){let r="object"==typeof t?{...t}:t;if("object"!=typeof r&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof r&&(r={...r}),r||(r={}),null==e)return"";"function"==typeof e&&(e=fi(e,{...this.options,...r})),Array.isArray(e)||(e=[String(e)]);const i=void 0!==r.returnDetails?r.returnDetails:this.options.returnDetails,o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,{key:a,namespaces:s}=this.extractFromKey(e[e.length-1],r),l=s[s.length-1];let u=void 0!==r.nsSeparator?r.nsSeparator:this.options.nsSeparator;void 0===u&&(u=":");const c=r.lng||this.language,f=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if("cimode"===c?.toLowerCase())return f?i?{res:`${l}${u}${a}`,usedKey:a,exactUsedKey:a,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(r)}:`${l}${u}${a}`:i?{res:a,usedKey:a,exactUsedKey:a,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(r)}:a;const d=this.resolve(e,r);let h=d?.res;const p=d?.usedKey||a,g=d?.exactUsedKey||a,m=void 0!==r.joinArrays?r.joinArrays:this.options.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,v=void 0!==r.count&&!Ur(r.count),b=pi.hasDefaultValue(r),w=v?this.pluralResolver.getSuffix(c,r.count,r):"",S=r.ordinal&&v?this.pluralResolver.getSuffix(c,r.count,{ordinal:!1}):"",k=v&&!r.ordinal&&0===r.count,x=k&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${w}`]||r[`defaultValue${S}`]||r.defaultValue;let _=h;y&&!h&&b&&(_=x);const C=hi(_),E=Object.prototype.toString.apply(_);if(!(y&&_&&C&&["[object Number]","[object Function]","[object RegExp]"].indexOf(E)<0)||Ur(m)&&Array.isArray(_))if(y&&Ur(m)&&Array.isArray(h))h=h.join(m),h&&(h=this.extendTranslation(h,e,r,n));else{let t=!1,i=!1;!this.isValidLookup(h)&&b&&(t=!0,h=x),this.isValidLookup(h)||(i=!0,h=a);const s=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&i?void 0:h,f=b&&x!==h&&this.options.updateMissing;if(i||t||f){if(this.logger.log(f?"updateKey":"missingKey",c,l,a,f?x:h),o){const e=this.resolve(a,{...r,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if("fallback"===this.options.saveMissingTo&&t&&t[0])for(let r=0;r<t.length;r++)e.push(t[r]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(r.lng||this.language):e.push(r.lng||this.language);const n=(e,t,n)=>{const i=b&&n!==h?n:s;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,t,i,f,r):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,l,t,i,f,r),this.emit("missingKey",e,l,t,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&v?e.forEach(e=>{const t=this.pluralResolver.getSuffixes(e,r);k&&r[`defaultValue${this.options.pluralSeparator}zero`]&&t.indexOf(`${this.options.pluralSeparator}zero`)<0&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],a+t,r[`defaultValue${t}`]||x)})}):n(e,a,x))}h=this.extendTranslation(h,e,r,d,n),i&&h===a&&this.options.appendNamespaceToMissingKey&&(h=`${l}${u}${a}`),(i||t)&&this.options.parseMissingKeyHandler&&(h=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}${u}${a}`:a,t?h:void 0,r))}else{if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,_,{...r,ns:s}):`key '${a} (${this.language})' returned an object instead of string.`;return i?(d.res=e,d.usedParams=this.getUsedParamsDetails(r),d):e}if(o){const e=Array.isArray(_),t=e?[]:{},n=e?g:p;for(const i in _)if(Object.prototype.hasOwnProperty.call(_,i)){const e=`${n}${o}${i}`;t[i]=b&&!h?this.translate(e,{...r,defaultValue:hi(x)?x[i]:void 0,joinArrays:!1,ns:s}):this.translate(e,{...r,joinArrays:!1,ns:s}),t[i]===e&&(t[i]=_[i])}h=t}}return i?(d.res=h,d.usedParams=this.getUsedParamsDetails(r),d):h}extendTranslation(e,t,n,r,i){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const o=Ur(e)&&(void 0!==n?.interpolation?.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let a;if(o){const t=e.match(this.interpolator.nestingRegexp);a=t&&t.length}let s=n.replace&&!Ur(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),e=this.interpolator.interpolate(e,s,n.lng||this.language||r.usedLng,n),o){const t=e.match(this.interpolator.nestingRegexp);a<(t&&t.length)&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,(...e)=>i?.[0]!==e[0]||n.context?this.translate(...e,t):(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null),n)),n.interpolation&&this.interpolator.reset()}const o=n.postProcess||this.options.postProcess,a=Ur(o)?[o]:o;return null!=e&&a?.length&&!1!==n.applyPostProcessor&&(e=ui.handle(a,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e,t={}){let n,r,i,o,a;return Ur(e)&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(n))return;const s=this.extractFromKey(e,t),l=s.key;r=l;let u=s.namespaces;this.options.fallbackNS&&(u=u.concat(this.options.fallbackNS));const c=void 0!==t.count&&!Ur(t.count),f=c&&!t.ordinal&&0===t.count,d=void 0!==t.context&&(Ur(t.context)||"number"==typeof t.context)&&""!==t.context,h=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);u.forEach(e=>{this.isValidLookup(n)||(a=e,di[`${h[0]}-${e}`]||!this.utils?.hasLoadedNamespace||this.utils?.hasLoadedNamespace(a)||(di[`${h[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${h.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach(r=>{if(this.isValidLookup(n))return;o=r;const a=[l];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(a,l,r,e,t);else{let e;c&&(e=this.pluralResolver.getSuffix(r,t.count,t));const n=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(c&&(t.ordinal&&0===e.indexOf(i)&&a.push(l+e.replace(i,this.options.pluralSeparator)),a.push(l+e),f&&a.push(l+n)),d){const r=`${l}${this.options.contextSeparator||"_"}${t.context}`;a.push(r),c&&(t.ordinal&&0===e.indexOf(i)&&a.push(r+e.replace(i,this.options.pluralSeparator)),a.push(r+e),f&&a.push(r+n))}}let s;for(;s=a.pop();)this.isValidLookup(n)||(i=s,n=this.getResource(r,e,s,t))}))})}),{res:n,usedKey:r,exactUsedKey:i,usedLng:o,usedNS:a}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(e={}){const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=e.replace&&!Ur(e.replace);let r=n?e.replace:e;if(n&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(const e of t)delete r[e]}return r}static hasDefaultValue(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,12)&&void 0!==e[t])return!0;return!1}}class gi{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ai.create("languageUtils")}getScriptPartFromCode(e){if(!(e=ri(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=ri(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(Ur(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch(vr){}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;const n=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(n)||(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;const n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;const r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>e===r?e:e.indexOf("-")<0&&r.indexOf("-")<0?void 0:e.indexOf("-")>0&&r.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===r||0===e.indexOf(r)&&r.length>1?e:void 0)}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),Ur(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){const n=this.getFallbackCodes((!1===t?[]:t)||this.options.fallbackLng||[],e),r=[],i=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return Ur(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):Ur(e)&&i(this.formatLanguageCode(e)),n.forEach(e=>{r.indexOf(e)<0&&i(this.formatLanguageCode(e))}),r}}const mi={zero:0,one:1,two:2,few:3,many:4,other:5},yi={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class vi{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=ai.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){const n=ri("dev"===e?"en":e),r=t.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let o;try{o=new Intl.PluralRules(n,{type:r})}catch(a){if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),yi;if(!e.match(/-|_/))return yi;const n=this.languageUtils.getLanguagePartFromCode(e);o=this.getRule(n,t)}return this.pluralRulesCache[i]=o,o}needsPlural(e,t={}){let n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?n.resolvedOptions().pluralCategories.sort((e,t)=>mi[e]-mi[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):[]}getSuffix(e,t,n={}){const r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,n))}}const bi=(e,t,n,r=".",i=!0)=>{let o=((e,t,n)=>{const r=Gr(e,n);return void 0!==r?r:Gr(t,n)})(e,t,n);return!o&&i&&Ur(n)&&(o=ni(e,n,r),void 0===o&&(o=ni(t,n,r))),o},wi=e=>e.replace(/\$/g,"$$$$");class Si{constructor(e={}){this.logger=ai.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:o,suffix:a,suffixEscaped:s,formatSeparator:l,unescapeSuffix:u,unescapePrefix:c,nestingPrefix:f,nestingPrefixEscaped:d,nestingSuffix:h,nestingSuffixEscaped:p,nestingOptionsSeparator:g,maxReplaces:m,alwaysFormat:y}=e.interpolation;this.escape=void 0!==t?t:Zr,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=i?Xr(i):o||"{{",this.suffix=a?Xr(a):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=u?"":c||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=f?Xr(f):d||Xr("$t("),this.nestingSuffix=h?Xr(h):p||Xr(")"),this.nestingOptionsSeparator=g||",",this.maxReplaces=m||1e3,this.alwaysFormat=void 0!==y&&y,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,o,a;const s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},l=e=>{if(e.indexOf(this.formatSeparator)<0){const i=bi(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}const i=e.split(this.formatSeparator),o=i.shift().trim(),a=i.join(this.formatSeparator).trim();return this.format(bi(t,s,o,this.options.keySeparator,this.options.ignoreJSONStructure),a,n,{...r,...t,interpolationkey:o})};this.resetRegExp();const u=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,c=void 0!==r?.interpolation?.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>wi(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?wi(this.escape(e)):wi(e)}].forEach(t=>{for(a=0;i=t.regex.exec(e);){const n=i[1].trim();if(o=l(n),void 0===o)if("function"==typeof u){const t=u(e,i,r);o=Ur(t)?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))o="";else{if(c){o=i[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),o=""}else Ur(o)||this.useRawValueToEscape||(o=qr(o));const s=t.safeValue(o);if(e=e.replace(i[0],s),c?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,a++,a>=this.maxReplaces)break}}),e}nest(e,t,n={}){let r,i,o;const a=(e,t)=>{const n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;const r=e.split(new RegExp(`${n}[ ]*{`));let i=`{${r[1]}`;e=r[0],i=this.interpolate(i,o);const a=i.match(/'/g),s=i.match(/"/g);((a?.length??0)%2==0&&!s||s.length%2!=0)&&(i=i.replace(/'/g,'"'));try{o=JSON.parse(i),t&&(o={...t,...o})}catch(vr){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,vr),`${e}${n}${i}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,e};for(;r=this.nestingRegexp.exec(e);){let s=[];o={...n},o=o.replace&&!Ur(o.replace)?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;const l=/{.*}/.test(r[1])?r[1].lastIndexOf("}")+1:r[1].indexOf(this.formatSeparator);if(-1!==l&&(s=r[1].slice(l).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),r[1]=r[1].slice(0,l)),i=t(a.call(this,r[1].trim(),o),o),i&&r[0]===e&&!Ur(i))return i;Ur(i)||(i=qr(i)),i||(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),i=""),s.length&&(i=s.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),i.trim())),e=e.replace(r[0],i),this.regexp.lastIndex=0}return e}}const ki=e=>{const t={};return(n,r,i)=>{let o=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(o={...o,[i.interpolationkey]:void 0});const a=r+JSON.stringify(o);let s=t[a];return s||(s=e(ri(r),i),t[a]=s),s(n)}},xi=e=>(t,n,r)=>e(ri(n),r)(t);class _i{constructor(e={}){this.logger=ai.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";const n=t.cacheInBuiltFormats?ki:xi;this.formats={number:n((e,t)=>{const n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{const n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)}),datetime:n((e,t)=>{const n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{const n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")}),list:n((e,t)=>{const n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=ki(t)}format(e,t,n,r={}){const i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&i[0].indexOf(")")<0&&i.find(e=>e.indexOf(")")>-1)){const e=i.findIndex(e=>e.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}const o=i.reduce((e,t)=>{const{formatName:i,formatOptions:o}=(e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const i=r[1].substring(0,r[1].length-1);"currency"===t&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):"relativetime"===t&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach(e=>{if(e){const[t,...r]=e.split(":"),i=r.join(":").trim().replace(/^'+|'+$/g,""),o=t.trim();n[o]||(n[o]=i),"false"===i&&(n[o]=!1),"true"===i&&(n[o]=!0),isNaN(i)||(n[o]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}})(t);if(this.formats[i]){let t=e;try{const a=r?.formatParams?.[r.interpolationkey]||{},s=a.locale||a.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...o,...r,...a})}catch(ro){this.logger.warn(ro)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e);return o}}class Ci extends si{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=ai.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){const i={},o={},a={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{const a=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===o[a]&&(o[a]=!0):(this.state[a]=1,r=!1,void 0===o[a]&&(o[a]=!0),void 0===i[a]&&(i[a]=!0),void 0===s[t]&&(s[t]=!0)))}),r||(a[e]=!0)}),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){const r=e.split("|"),i=r[0],o=r[1];t&&this.emit("failedLoading",i,o,t),!t&&n&&this.store.addResourceBundle(i,o,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);const a={};this.queue.forEach(n=>{((e,t,n)=>{const{obj:r,k:i}=Qr(e,t,Object);r[i]=r[i]||[],r[i].push(n)})(n.loaded,[i],o),((e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)})(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(e=>{a[e]||(a[e]={});const t=n.loaded[e];t.length&&t.forEach(t=>{void 0===a[e][t]&&(a[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,i=this.retryTimeout,o){if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:o});this.readingCalls++;const a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}a&&s&&r<this.maxRetries?setTimeout(()=>{this.read.call(this,e,t,n,r+1,2*i,o)},i):o(a,s)},s=this.backend[n].bind(this.backend);if(2!==s.length)return s(e,t,a);try{const n=s(e,t);n&&"function"==typeof n.then?n.then(e=>a(null,e)).catch(a):a(null,n)}catch(l){a(l)}}prepareLoading(e,t,n={},r){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();Ur(e)&&(e=this.languageUtils.toResolveHierarchy(e)),Ur(t)&&(t=[t]);const i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=""){const n=e.split("|"),r=n[0],i=n[1];this.read(r,i,"read",void 0,void 0,(n,o)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&o&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,o),this.loaded(e,n,o)})}saveMissing(e,t,n,r,i,o={},a=()=>{}){if(!this.services?.utils?.hasLoadedNamespace||this.services?.utils?.hasLoadedNamespace(t)){if(null!=n&&""!==n){if(this.backend?.create){const l={...o,isUpdate:i},u=this.backend.create.bind(this.backend);if(u.length<6)try{let i;i=5===u.length?u(e,t,n,r,l):u(e,t,n,r),i&&"function"==typeof i.then?i.then(e=>a(null,e)).catch(a):a(null,i)}catch(s){a(s)}else u(e,t,n,r,a,l)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}else this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")}}const Ei=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),Ur(e[1])&&(t.defaultValue=e[1]),Ur(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),Oi=e=>(Ur(e.ns)&&(e.ns=[e.ns]),Ur(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Ur(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),"boolean"==typeof e.initImmediate&&(e.initAsync=e.initImmediate),e),Pi=()=>{};class zi extends si{constructor(e={},t){var n;if(super(),this.options=Oi(e),this.services={},this.logger=ai,this.modules={external:[]},n=this,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(e=>{"function"==typeof n[e]&&(n[e]=n[e].bind(n))}),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,"function"==typeof e&&(t=e,e={}),null==e.defaultNS&&e.ns&&(Ur(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));const n=Ei();this.options={...n,...this.options,...Oi(e)},this.options.interpolation={...n.interpolation,...this.options.interpolation},void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator),"function"!=typeof this.options.overloadTranslationOptionHandler&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler);const r=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let e;this.modules.logger?ai.init(r(this.modules.logger),this.options):ai.init(null,this.options),e=this.modules.formatter?this.modules.formatter:_i;const t=new gi(this.options);this.store=new li(this.options.resources,this.options);const i=this.services;i.logger=ai,i.resourceStore=this.store,i.languageUtils=t,i.pluralResolver=new vi(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),!e||this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format||(i.formatter=r(e),i.formatter.init&&i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new Si(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new Ci(r(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(i.languageDetector=r(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=r(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new pi(this.services,this.options),this.translator.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||(t=Pi),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});const i=Br(),o=()=>{const e=(e,n)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),i.resolve(n),t(e,n)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?o():setTimeout(o,0),i}loadResources(e,t=Pi){let n=t;const r=Ur(e)?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if("cimode"===r?.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return n();const e=[],t=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)})};r?t(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){const r=Br();return"function"==typeof e&&(n=e,e=void 0),"function"==typeof t&&(n=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),n||(n=Pi),this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&ui.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1)){for(let e=0;e<this.languages.length;e++){const t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;const n=Br();this.emit("languageChanging",e);const r=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(i,o)=>{o?this.isLanguageChangingTo===e&&(r(o),this.translator.changeLanguage(o),this.isLanguageChangingTo=void 0,this.emit("languageChanged",o),this.logger.log("languageChanged",o)):this.isLanguageChangingTo=void 0,n.resolve((...e)=>this.t(...e)),t&&t(i,(...e)=>this.t(...e))},o=t=>{e||t||!this.services.languageDetector||(t=[]);const n=Ur(t)?t:t&&t[0],o=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes(Ur(t)?[t]:t);o&&(this.language||r(o),this.translator.language||this.translator.changeLanguage(o),this.services.languageDetector?.cacheUserLanguage?.(o)),this.loadResources(o,e=>{i(e,o)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(o):this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),n}getFixedT(e,t,n){const r=(e,t,...i)=>{let o;o="object"!=typeof t?this.options.overloadTranslationOptionHandler([e,t].concat(i)):{...t},o.lng=o.lng||r.lng,o.lngs=o.lngs||r.lngs,o.ns=o.ns||r.ns,""!==o.keyPrefix&&(o.keyPrefix=o.keyPrefix||n||r.keyPrefix);const a=this.options.keySeparator||".";let s;return o.keyPrefix&&Array.isArray(e)?s=e.map(e=>("function"==typeof e&&(e=fi(e,{...this.options,...t})),`${o.keyPrefix}${a}${e}`)):("function"==typeof e&&(e=fi(e,{...this.options,...t})),s=o.keyPrefix?`${o.keyPrefix}${a}${e}`:e),this.t(s,o)};return Ur(e)?r.lng=e:r.lngs=e,r.ns=t,r.keyPrefix=n,r}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const o=(e,t)=>{const n=this.services.backendConnector.state[`${e}|${t}`];return-1===n||0===n||2===n};if(t.precheck){const e=t.precheck(this,o);if(void 0!==e)return e}return!(!this.hasResourceBundle(n,e)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!o(n,e)||r&&!o(i,e)))}loadNamespaces(e,t){const n=Br();return this.options.ns?(Ur(e)&&(e=[e]),e.forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){const n=Br();Ur(e)&&(e=[e]);const r=this.options.preload||[],i=e.filter(e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return i.length?(this.options.preload=r.concat(i),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{const t=new Intl.Locale(e);if(t&&t.getTextInfo){const e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch(vr){}const t=this.services?.languageUtils||new gi(Ei());return e.toLowerCase().indexOf("-latn")>1?"ltr":["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){const n=new zi(e,t);return n.createInstance=zi.createInstance,n}cloneInstance(e={},t=Pi){const n=e.forkResourceStore;n&&delete e.forkResourceStore;const r={...this.options,...e,isClone:!0},i=new zi(r);if(void 0===e.debug&&void 0===e.prefix||(i.logger=i.logger.clone(e)),["store","services","language"].forEach(e=>{i[e]=this[e]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n){const e=Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((n,r)=>(n[r]={...e[t][r]},n),e[t]),e),{});i.store=new li(e,r),i.services.resourceStore=i.store}if(e.interpolation){const t={...Ei().interpolation,...this.options.interpolation,...e.interpolation},n={...r,interpolation:t};i.services.interpolator=new Si(n)}return i.translator=new pi(i.services,r),i.translator.on("*",(e,...t)=>{i.emit(e,...t)}),i.init(r,t),i.translator.options=r,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Ai=zi.createInstance();Ai.createInstance,Ai.dir,Ai.init,Ai.loadResources,Ai.reloadResources,Ai.use,Ai.changeLanguage,Ai.getFixedT,Ai.t,Ai.exists,Ai.setDefaultNamespace,Ai.hasLoadedNamespace,Ai.loadNamespaces,Ai.loadLanguages,n(752),Object.create(null);const Li=(e,t,n,r)=>{const i=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(i,"warn","react-i18next::",!0);Mi(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...i):console},Ni={},ji=(e,t,n,r)=>{Mi(n)&&Ni[n]||(Mi(n)&&(Ni[n]=new Date),Li(e,t,n,r))},Ti=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},Ii=(e,t,n)=>{e.loadNamespaces(t,Ti(e,n))},Ri=(e,t,n,r)=>{if(Mi(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return Ii(e,n,r);n.forEach(t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)}),e.loadLanguages(t,Ti(e,r))},Mi=e=>"string"==typeof e,$i=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Di={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},Fi=e=>Di[e];let Ui,Bi={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace($i,Fi),transDefaultProps:void 0};const qi=()=>Ui,Hi={type:"3rdParty",init(e){((e={})=>{Bi={...Bi,...e}})(e.options.react),(e=>{Ui=e})(e)}},Vi=(0,v.createContext)();class Wi{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}Error;const Qi={"&nbsp;":" ","&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&apos;":"'","&copy;":"©","&reg;":"®","&trade;":"™","&hellip;":"…","&ndash;":"–","&mdash;":"—","&lsquo;":"‘","&rsquo;":"’","&sbquo;":"‚","&ldquo;":"“","&rdquo;":"”","&bdquo;":"„","&dagger;":"†","&Dagger;":"‡","&bull;":"•","&prime;":"′","&Prime;":"″","&lsaquo;":"‹","&rsaquo;":"›","&sect;":"§","&para;":"¶","&middot;":"·","&ensp;":" ","&emsp;":" ","&thinsp;":" ","&euro;":"€","&pound;":"£","&yen;":"¥","&cent;":"¢","&curren;":"¤","&times;":"×","&divide;":"÷","&minus;":"−","&plusmn;":"±","&ne;":"≠","&le;":"≤","&ge;":"≥","&asymp;":"≈","&equiv;":"≡","&infin;":"∞","&int;":"∫","&sum;":"∑","&prod;":"∏","&radic;":"√","&part;":"∂","&permil;":"‰","&deg;":"°","&micro;":"µ","&larr;":"←","&uarr;":"↑","&rarr;":"→","&darr;":"↓","&harr;":"↔","&crarr;":"↵","&lArr;":"⇐","&uArr;":"⇑","&rArr;":"⇒","&dArr;":"⇓","&hArr;":"⇔","&alpha;":"α","&beta;":"β","&gamma;":"γ","&delta;":"δ","&epsilon;":"ε","&zeta;":"ζ","&eta;":"η","&theta;":"θ","&iota;":"ι","&kappa;":"κ","&lambda;":"λ","&mu;":"μ","&nu;":"ν","&xi;":"ξ","&omicron;":"ο","&pi;":"π","&rho;":"ρ","&sigma;":"σ","&tau;":"τ","&upsilon;":"υ","&phi;":"φ","&chi;":"χ","&psi;":"ψ","&omega;":"ω","&Alpha;":"Α","&Beta;":"Β","&Gamma;":"Γ","&Delta;":"Δ","&Epsilon;":"Ε","&Zeta;":"Ζ","&Eta;":"Η","&Theta;":"Θ","&Iota;":"Ι","&Kappa;":"Κ","&Lambda;":"Λ","&Mu;":"Μ","&Nu;":"Ν","&Xi;":"Ξ","&Omicron;":"Ο","&Pi;":"Π","&Rho;":"Ρ","&Sigma;":"Σ","&Tau;":"Τ","&Upsilon;":"Υ","&Phi;":"Φ","&Chi;":"Χ","&Psi;":"Ψ","&Omega;":"Ω","&Agrave;":"À","&Aacute;":"Á","&Acirc;":"Â","&Atilde;":"Ã","&Auml;":"Ä","&Aring;":"Å","&AElig;":"Æ","&Ccedil;":"Ç","&Egrave;":"È","&Eacute;":"É","&Ecirc;":"Ê","&Euml;":"Ë","&Igrave;":"Ì","&Iacute;":"Í","&Icirc;":"Î","&Iuml;":"Ï","&ETH;":"Ð","&Ntilde;":"Ñ","&Ograve;":"Ò","&Oacute;":"Ó","&Ocirc;":"Ô","&Otilde;":"Õ","&Ouml;":"Ö","&Oslash;":"Ø","&Ugrave;":"Ù","&Uacute;":"Ú","&Ucirc;":"Û","&Uuml;":"Ü","&Yacute;":"Ý","&THORN;":"Þ","&szlig;":"ß","&agrave;":"à","&aacute;":"á","&acirc;":"â","&atilde;":"ã","&auml;":"ä","&aring;":"å","&aelig;":"æ","&ccedil;":"ç","&egrave;":"è","&eacute;":"é","&ecirc;":"ê","&euml;":"ë","&igrave;":"ì","&iacute;":"í","&icirc;":"î","&iuml;":"ï","&eth;":"ð","&ntilde;":"ñ","&ograve;":"ò","&oacute;":"ó","&ocirc;":"ô","&otilde;":"õ","&ouml;":"ö","&oslash;":"ø","&ugrave;":"ù","&uacute;":"ú","&ucirc;":"û","&uuml;":"ü","&yacute;":"ý","&thorn;":"þ","&yuml;":"ÿ","&iexcl;":"¡","&iquest;":"¿","&fnof;":"ƒ","&circ;":"ˆ","&tilde;":"˜","&OElig;":"Œ","&oelig;":"œ","&Scaron;":"Š","&scaron;":"š","&Yuml;":"Ÿ","&ordf;":"ª","&ordm;":"º","&macr;":"¯","&acute;":"´","&cedil;":"¸","&sup1;":"¹","&sup2;":"²","&sup3;":"³","&frac14;":"¼","&frac12;":"½","&frac34;":"¾","&spades;":"♠","&clubs;":"♣","&hearts;":"♥","&diams;":"♦","&loz;":"◊","&oline;":"‾","&frasl;":"⁄","&weierp;":"℘","&image;":"ℑ","&real;":"ℜ","&alefsym;":"ℵ"};new RegExp(Object.keys(Qi).map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),"g");var Ki=n(624);const Gi={t:(e,t)=>{return Mi(t)?t:"object"==typeof(n=t)&&null!==n&&Mi(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e;var n},ready:!1},Yi=()=>()=>{},Xi=(e,t={})=>{const{i18n:n}=t,{i18n:r,defaultNS:i}=(0,v.useContext)(Vi)||{},o=n||r||qi();o&&!o.reportNamespaces&&(o.reportNamespaces=new Wi),o||ji(o,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const a=(0,v.useMemo)(()=>({...Bi,...o?.options?.react,...t}),[o,t]),{useSuspense:s,keyPrefix:l}=a,u=e||i||o?.options?.defaultNS,c=Mi(u)?[u]:u||["translation"],f=(0,v.useMemo)(()=>c,c);o?.reportNamespaces?.addUsedNamespaces?.(f);const d=(0,v.useRef)(0),h=(0,v.useCallback)(e=>{if(!o)return Yi;const{bindI18n:t,bindI18nStore:n}=a,r=()=>{d.current+=1,e()};return t&&o.on(t,r),n&&o.store.on(n,r),()=>{t&&t.split(" ").forEach(e=>o.off(e,r)),n&&n.split(" ").forEach(e=>o.store.off(e,r))}},[o,a]),p=(0,v.useRef)(),g=(0,v.useCallback)(()=>{if(!o)return Gi;const e=!(!o.isInitialized&&!o.initializedStoreOnce)&&f.every(e=>((e,t,n={})=>t.languages&&t.languages.length?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):(ji(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0))(e,o,a)),n=t.lng||o.language,r=d.current,i=p.current;if(i&&i.ready===e&&i.lng===n&&i.keyPrefix===l&&i.revision===r)return i;const s={t:o.getFixedT(n,"fallback"===a.nsMode?f:f[0],l),ready:e,lng:n,keyPrefix:l,revision:r};return p.current=s,s},[o,f,l,a,t.lng]),[m,y]=(0,v.useState)(0),{t:b,ready:w}=(0,Ki.useSyncExternalStore)(h,g,g);(0,v.useEffect)(()=>{if(o&&!w&&!s){const e=()=>y(e=>e+1);t.lng?Ri(o,t.lng,f,e):Ii(o,f,e)}},[o,t.lng,f,w,s,m]);const S=o||{},k=(0,v.useRef)(null),x=(0,v.useRef)(),_=e=>{const t=Object.getOwnPropertyDescriptors(e);t.__original&&delete t.__original;const n=Object.create(Object.getPrototypeOf(e),t);if(!Object.prototype.hasOwnProperty.call(n,"__original"))try{Object.defineProperty(n,"__original",{value:e,writable:!1,enumerable:!1,configurable:!1})}catch(Pt){}return n},C=(0,v.useMemo)(()=>{const e=S,t=e?.language;let n=e;e&&(k.current&&k.current.__original===e?x.current!==t?(n=_(e),k.current=n,x.current=t):n=k.current:(n=_(e),k.current=n,x.current=t));const r=[b,n,w];return r.t=b,r.i18n=n,r.ready=w,r},[b,S,w,S.resolvedLanguage,S.language,S.languages]);if(o&&s&&!w)throw new Promise(e=>{const n=()=>e();t.lng?Ri(o,t.lng,f,n):Ii(o,f,n)});return C};var Ji;function Zi(){return Zi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zi.apply(null,arguments)}const eo=function(e){return v.createElement("svg",Zi({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 96 96"},e),Ji||(Ji=v.createElement("path",{stroke:"#5AD608",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M81 27 39 69 18 48"})))};var to;function no(){return no=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},no.apply(null,arguments)}const ro=function(e){return v.createElement("svg",no({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 96 96"},e),to||(to=v.createElement("path",{stroke:"#FF6464",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M75 21 21 75M75 75 21 21"})))};var io;function oo(){return oo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oo.apply(null,arguments)}const ao=function(e){return v.createElement("svg",oo({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 25"},e),io||(io=v.createElement("path",{fill:"orange",fillRule:"evenodd",d:"M11.719 1.268a2.2 2.2 0 0 0-1.294.635c-.107.106-.243.269-.303.361-.12.19-9.766 17.989-9.91 18.288-.157.328-.196.52-.196.948 0 .303.01.407.052.559a2.27 2.27 0 0 0 1.919 1.673c.288.033 19.738.033 20.026 0a2.24 2.24 0 0 0 1.776-1.29c.098-.209.187-.514.187-.644 0-.044.01-.086.024-.094.013-.008.024-.117.024-.243 0-.146-.009-.222-.024-.213-.014.009-.024-.014-.024-.055 0-.123-.094-.444-.188-.64-.142-.297-9.788-18.098-9.91-18.289a2.4 2.4 0 0 0-1.077-.868 2.5 2.5 0 0 0-1.082-.128m.089 1.51a.9.9 0 0 0-.34.21c-.062.064-1.594 2.868-4.979 9.116a1783 1783 0 0 0-4.933 9.138.764.764 0 0 0 .383.938l.113.052h19.896l.113-.052a.764.764 0 0 0 .383-.938 1793 1793 0 0 0-4.933-9.138c-3.39-6.256-4.916-9.052-4.978-9.116a.7.7 0 0 0-.497-.223 1 1 0 0 0-.228.012m.052 5.238a.74.74 0 0 0-.548.442l-.057.124.007 3.573.006 3.573.055.103c.07.132.214.276.346.346.087.046.14.055.331.055.192 0 .245-.009.331-.055a.94.94 0 0 0 .346-.346l.055-.103.006-3.573.007-3.573-.057-.124a.8.8 0 0 0-.312-.358c-.09-.053-.144-.068-.34-.098a1 1 0 0 0-.176.014m-.208 9.782a1.25 1.25 0 0 0-.67.587c-.204.42-.12.936.21 1.27.236.24.461.336.796.34.277.002.471-.06.678-.217.376-.285.53-.705.428-1.165a1.17 1.17 0 0 0-.638-.77c-.14-.067-.183-.075-.42-.081-.206-.005-.29.003-.384.036M.009 21.488c0 .132.004.183.009.113s.005-.177 0-.24c-.005-.062-.01-.005-.01.127",clipRule:"evenodd"})))};var so;function lo(){return lo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lo.apply(null,arguments)}const uo=function(e){return v.createElement("svg",lo({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),so||(so=v.createElement("path",{stroke:"orange",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 13V9m9-3-2-2m-9-2h4m-2 19a8 8 0 1 1 0-16 8 8 0 0 1 0 16"})))};var co,fo,ho,po,go,mo,yo;function vo(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var bo=tr.div(co||(co=vo(["\n all: initial;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 264px;\n height: 264px;\n margin: 0 auto;\n"]))),wo=tr.div(fo||(fo=vo(["\n all: initial;\n box-sizing: border-box;\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: 234px;\n height: 234px;\n\n border-width: 3px;\n border-style: solid;\n border-radius: 50%;\n\n animation: showResultIcon 0.8s linear;\n\n ","\n\n ","\n\n ","\n\n ","\n\n svg {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 96px;\n height: 96px;\n transform: translate(-50%, -50%);\n animation: showIcon 0.8s linear;\n\n @keyframes showIcon {\n 0% {\n width: 0;\n height: 0;\n }\n 100% {\n width: 96px;\n height: 96px;\n }\n }\n }\n\n @keyframes showResultIcon {\n 0% {\n width: 234px;\n height: 234px;\n border-width: 1px;\n }\n 50% {\n width: 264px;\n height: 264px;\n border-width: 9px;\n }\n 100% {\n width: 234px;\n height: 234px;\n border-width: 3px;\n }\n }\n"])),function(e){return e.$status===l&&Jn(ho||(ho=vo(["\n border-color: ",";\n "])),function(e){return e.theme.colors.success})},function(e){return e.$status===u&&Jn(po||(po=vo(["\n border-color: ",";\n "])),function(e){return e.theme.colors.error})},function(e){return e.$status===f&&Jn(go||(go=vo(["\n border-color: ",";\n "])),function(e){return e.theme.colors.warning})},function(e){return e.$status===c&&Jn(mo||(mo=vo(["\n border-color: ",";\n "])),function(e){return e.theme.colors.warning})}),So=tr.div(yo||(yo=vo(["\n all: initial;\n width: 200px;\n height: 200px;\n\n border-radius: 50%;\n background-color: ",";\n"])),function(e){return e.theme.colors.backgroundSecondary});function ko(e){var t,n=e.status;switch(n){case l:t=(0,X.jsx)(eo,{});break;case u:t=(0,X.jsx)(ro,{});break;case c:t=(0,X.jsx)(ao,{});break;case f:t=(0,X.jsx)(uo,{});break;default:t=(0,X.jsx)(ro,{})}return(0,X.jsx)(bo,{children:(0,X.jsxs)(wo,{$status:n,children:[(0,X.jsx)(So,{}),t]})})}var xo,_o=n(400),Co=n.n(_o);function Eo(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof s?r:s,u=Object.create(l.prototype);return Oo(u,"_invoke",function(n,r,i){var o,s,l,u=0,c=i||[],f=!1,d={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,n){return o=t,s=0,l=e,d.n=n,a}};function h(n,r){for(s=n,l=r,t=0;!f&&u&&!i&&t<c.length;t++){var i,o=c[t],h=d.p,p=o[2];n>3?(i=p===r)&&(l=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=e):o[0]<=h&&((i=n<2&&h<o[1])?(s=0,d.v=r,d.n=o[1]):h<p&&(i=n<3||o[0]>r||r>p)&&(o[4]=n,o[5]=r,d.n=p,s=0))}if(i||n>1)return a;throw f=!0,r}return function(i,c,p){if(u>1)throw TypeError("Generator is already running");for(f&&1===c&&h(c,p),s=c,l=p;(t=s<2?e:l)||!f;){o||(s?s<3?(s>1&&(d.n=-1),h(s,l)):d.n=l:d.v=l);try{if(u=2,o){if(s||(i="next"),t=o[i]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=o.return)&&t.call(o),s<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=e}else if((t=(f=d.n<0)?l:n.call(r,d))!==a)break}catch(t){o=e,s=1,l=t}finally{u=1}}return{value:t,done:f}}}(n,i,o),!0),u}var a={};function s(){}function l(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Oo(t={},r,function(){return this}),t),f=u.prototype=s.prototype=Object.create(c);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Oo(e,i,"GeneratorFunction")),e.prototype=Object.create(f),e}return l.prototype=u,Oo(f,"constructor",u),Oo(u,"constructor",l),l.displayName="GeneratorFunction",Oo(u,i,"GeneratorFunction"),Oo(f),Oo(f,i,"Generator"),Oo(f,r,function(){return this}),Oo(f,"toString",function(){return"[object Generator]"}),(Eo=function(){return{w:o,m:d}})()}function Oo(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}Oo=function(e,t,n,r){function o(t,n){Oo(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Oo(e,t,n,r)}function Po(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function zo(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){Po(o,r,i,a,s,"next",e)}function s(e){Po(o,r,i,a,s,"throw",e)}a(void 0)})}}var Ao,Lo,No,jo,To,Io,Ro,Mo=tr.div(xo||(xo=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n"]))),$o=320;function Do(e){var t=e.link,n=(0,v.useRef)(null),r=(0,v.useRef)(null),i=function(){var e=bt?void 0:v.useContext(Wn);if(!e)throw rn(18);return e}(),o=(0,v.useCallback)(zo(Eo().m(function e(){return Eo().w(function(e){for(;;)switch(e.p=e.n){case 0:if(e.p=0,!t){e.n=1;break}return e.n=1,navigator.clipboard.writeText(t);case 1:e.n=3;break;case 2:e.p=2,e.v,w();case 3:return e.a(2)}},e,null,[[0,2]])})),[t]);return(0,v.useEffect)(function(){if(t){var e={width:$o,height:$o,type:"svg",data:t,dotsOptions:{color:i.qrCode.dotsColor,type:"rounded"},cornersSquareOptions:{color:i.qrCode.cornersColor,type:"extra-rounded"},cornersDotOptions:{color:i.qrCode.cornerDotsColor,type:"dot"},backgroundOptions:{color:i.qrCode.backgroundColor}},o=n.current;return o&&(o.innerHTML="",r.current=new(Co())(e),r.current.append(o),o.style.width="".concat($o,"px"),o.style.height="".concat($o,"px")),function(){o&&(o.innerHTML="")}}},[t,i]),(0,X.jsx)(Mo,{style:{width:"".concat($o,"px"),height:"".concat($o,"px")},onClick:o,children:(0,X.jsx)("div",{ref:n})})}function Fo(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof s?r:s,u=Object.create(l.prototype);return Uo(u,"_invoke",function(n,r,i){var o,s,l,u=0,c=i||[],f=!1,d={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,n){return o=t,s=0,l=e,d.n=n,a}};function h(n,r){for(s=n,l=r,t=0;!f&&u&&!i&&t<c.length;t++){var i,o=c[t],h=d.p,p=o[2];n>3?(i=p===r)&&(l=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=e):o[0]<=h&&((i=n<2&&h<o[1])?(s=0,d.v=r,d.n=o[1]):h<p&&(i=n<3||o[0]>r||r>p)&&(o[4]=n,o[5]=r,d.n=p,s=0))}if(i||n>1)return a;throw f=!0,r}return function(i,c,p){if(u>1)throw TypeError("Generator is already running");for(f&&1===c&&h(c,p),s=c,l=p;(t=s<2?e:l)||!f;){o||(s?s<3?(s>1&&(d.n=-1),h(s,l)):d.n=l:d.v=l);try{if(u=2,o){if(s||(i="next"),t=o[i]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=o.return)&&t.call(o),s<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=e}else if((t=(f=d.n<0)?l:n.call(r,d))!==a)break}catch(t){o=e,s=1,l=t}finally{u=1}}return{value:t,done:f}}}(n,i,o),!0),u}var a={};function s(){}function l(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Uo(t={},r,function(){return this}),t),f=u.prototype=s.prototype=Object.create(c);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Uo(e,i,"GeneratorFunction")),e.prototype=Object.create(f),e}return l.prototype=u,Uo(f,"constructor",u),Uo(u,"constructor",l),l.displayName="GeneratorFunction",Uo(u,i,"GeneratorFunction"),Uo(f),Uo(f,i,"Generator"),Uo(f,r,function(){return this}),Uo(f,"toString",function(){return"[object Generator]"}),(Fo=function(){return{w:o,m:d}})()}function Uo(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}Uo=function(e,t,n,r){function o(t,n){Uo(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Uo(e,t,n,r)}function Bo(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function qo(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){Bo(o,r,i,a,s,"next",e)}function s(e){Bo(o,r,i,a,s,"throw",e)}a(void 0)})}}function Ho(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Vo(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Vo(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Wo(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Qo,Ko,Go,Yo,Xo,Jo,Zo=tr.p(Ao||(Ao=Wo(["\n all: initial;\n box-sizing: border-box;\n\n text-align: center;\n font-weight: 500;\n font-size: 16px;\n line-height: 24px;\n max-width: 90%;\n margin: 0 auto 16px;\n color: ",";\n opacity: 0.85;\n"])),function(e){return e.theme.colors.textSecondary}),ea=tr.div(Lo||(Lo=Wo(["\n all: initial;\n box-sizing: border-box;\n\n position: relative;\n width: 100%;\n max-width: 320px;\n aspect-ratio: 1 / 1;\n margin: 0 auto;\n overflow: hidden;\n border-radius: 16px;\n box-shadow: 0 6px 30px ",";\n background: ",";\n"])),function(e){return e.theme.colors.shadowStrong},function(e){return e.theme.gradients.surface}),ta=tr.div(No||(No=Wo(["\n all: initial;\n box-sizing: border-box;\n\n margin-top: 16px;\n padding: 12px;\n border-radius: 16px;\n background: ",";\n display: flex;\n flex-direction: column;\n gap: 12px;\n backdrop-filter: blur(4px);\n border: 1px solid ",';\n\n * {\n font-family: "Roboto", Arial, sans-serif;\n box-sizing: border-box;\n }\n'])),function(e){return e.theme.colors.surfaceOverlay},function(e){return e.theme.colors.border}),na=tr.div(jo||(jo=Wo(["\n all: initial;\n box-sizing: border-box;\n\n display: flex;\n flex-direction: column;\n line-height: 1.4;\n padding: 8px;\n\n strong {\n font-size: 14px;\n font-weight: 600;\n color: ",";\n text-align: center;\n }\n\n span {\n margin-top: 4px;\n font-size: 14px;\n font-weight: 400;\n color: ",";\n text-align: center;\n }\n"])),function(e){return e.theme.colors.text},function(e){return e.theme.colors.textSecondary}),ra=tr.button(To||(To=Wo(["\n all: initial;\n box-sizing: border-box;\n\n appearance: none;\n cursor: pointer;\n border: 0;\n border-radius: 12px;\n padding: 12px;\n font-size: 14px;\n font-weight: 600;\n line-height: 1.2;\n text-align: center;\n text-decoration: none;\n\n background: ",";\n color: ",";\n box-shadow: 0 4px 12px ",";\n\n white-space: nowrap;\n width: 100%;\n transition: all 0.2s ease;\n\n &:hover {\n background: ",";\n box-shadow: 0 6px 16px ",";\n color: ",";\n }\n\n &:active {\n transform: scale(0.98);\n }\n"])),function(e){return e.theme.colors.primary},function(e){return e.theme.colors.textInverse},function(e){return e.theme.colors.shadow},function(e){return e.theme.colors.primaryHover},function(e){return e.theme.colors.shadowMedium},function(e){return e.theme.colors.textInverse}),ia=tr.button(Io||(Io=Wo(["\n all: initial;\n box-sizing: border-box;\n\n appearance: none;\n cursor: pointer;\n border-radius: 12px;\n padding: 12px;\n font-size: 14px;\n font-weight: 500;\n line-height: 1.2;\n text-align: center;\n text-decoration: none;\n border: 1px solid ",";\n\n background-color: ",";\n color: ",";\n box-shadow: 0 2px 8px ",";\n\n white-space: nowrap;\n width: 100%;\n transition: all 0.2s ease;\n\n &:hover {\n background-color: ",";\n box-shadow: 0 4px 12px ",";\n }\n\n &:active {\n transform: scale(0.98);\n }\n"])),function(e){return e.theme.colors.border},function(e){return e.theme.colors.surfaceOverlay},function(e){return e.theme.colors.text},function(e){return e.theme.colors.shadow},function(e){return e.theme.colors.backgroundSecondary},function(e){return e.theme.colors.shadowMedium}),oa=tr.a(Ro||(Ro=Wo(["\n all: initial;\n box-sizing: border-box;\n\n color: ",';\n cursor: pointer;\n\n padding: 12px;\n font-family: "Roboto", Arial, sans-serif;\n font-size: 14px;\n font-weight: 500;\n line-height: 1.2;\n text-align: center;\n text-decoration: none;\n transition: opacity 0.2s ease;\n\n &:hover {\n opacity: 0.8;\n }\n\n &:active {\n transform: scale(0.98);\n }\n'])),function(e){return e.theme.colors.primary});function aa(){var e=Ho((0,v.useState)(function(){return"undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent||"")?y:function(){var e;if("undefined"==typeof navigator)return!1;var t=navigator.userAgent||navigator.vendor||(null===(e=window)||void 0===e?void 0:e.opera)||"",n=/iPhone|iPad|iPod/i.test(t),r=!n&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1;return n||r}()?"ios":m}),1)[0],t=Ho((0,v.useState)(!1),2),n=t[0],r=t[1],i=Xi().t,o=de().link,a=function(){try{if(o&&S(o)){var e=new URL(o);return"".concat(e.origin,"/install")}}catch(ro){}return"/install"}(),s=S(o)?o:"#",l=(0,v.useCallback)(qo(Fo().m(function e(){return Fo().w(function(e){for(;;)switch(e.p=e.n){case 0:if(e.p=0,!o){e.n=2;break}return e.n=1,navigator.clipboard.writeText(o);case 1:r(!0);case 2:e.n=4;break;case 3:e.p=3,e.v,w();case 4:return e.a(2)}},e,null,[[0,3]])})),[o]);return function(){switch(e){case m:return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Zo,{children:i("auth.about")}),(0,X.jsx)(ea,{children:(0,X.jsx)(Do,{link:o})}),(0,X.jsxs)(ta,{children:[(0,X.jsx)(na,{children:(0,X.jsx)("span",{children:i("auth.scan_qr_desc")})}),(0,X.jsx)(ra,{as:"a",href:a,target:"_blank",rel:"noopener noreferrer",role:"button","aria-label":i("auth.install_app"),children:i("auth.install_app")})]})]});case y:return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Zo,{children:i("auth.about")}),(0,X.jsxs)(ta,{children:[(0,X.jsx)(na,{children:(0,X.jsx)("strong",{children:i("auth.install_required_android")})}),(0,X.jsx)(ia,{as:"a",href:s,target:"_blank",rel:"noopener noreferrer",role:"button","aria-label":i("auth.open_app"),children:i("auth.open_app")})]}),(0,X.jsx)(oa,{as:"a",href:a,target:"_blank",rel:"noopener noreferrer",role:"button","aria-label":i("auth.install_app"),children:i("auth.install_app")})]});case"ios":return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Zo,{children:i("auth.about")}),(0,X.jsxs)(ta,{children:[(0,X.jsx)(na,{children:(0,X.jsx)("strong",{children:i("auth.install_required_ios")})}),(0,X.jsx)(ia,{onClick:l,role:"button","aria-label":i(n?"auth.open_app_continue":"auth.continue_auth"),children:i(n?"auth.open_app_continue":"auth.continue_auth")})]}),(0,X.jsx)(oa,{as:"a",href:a,target:"_blank",rel:"noopener noreferrer",role:"button","aria-label":i("auth.install_app"),children:i("auth.install_app")})]});default:return null}}()}function sa(e){return sa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sa(e)}function la(e,t,n){return(t=function(e){var t=function(e){if("object"!=sa(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=sa(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==sa(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ua(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var ca=nr(Qo||(Qo=ua(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"]))),fa=tr.h1(Ko||(Ko=ua(['\n all: initial;\n box-sizing: border-box;\n margin: 0 0 12px;\n font-family: "Roboto", Arial, sans-serif;\n font-style: normal;\n font-size: 30px;\n font-weight: 700;\n text-align: center;\n color: ',";\n"])),function(e){return e.theme.colors.text}),da=tr.div(Go||(Go=ua(["\n position: relative;\n width: 100%;\n height: 264px;\n"]))),ha=tr.div(Yo||(Yo=ua(["\n position: absolute;\n left: 50%;\n top: 50%;\n width: 150px;\n height: 150px;\n margin: -75px 0 0 -75px;\n border-radius: 50%;\n border: 3px solid transparent;\n border-top-color: ",";\n animation: ",' 2s linear infinite;\n\n &:before {\n content: "";\n position: absolute;\n top: 5px;\n left: 5px;\n right: 5px;\n bottom: 5px;\n border-radius: 50%;\n border: 3px solid transparent;\n border-top-color: ',";\n animation: ",' 3s linear infinite;\n }\n\n &:after {\n content: "";\n position: absolute;\n top: 15px;\n left: 15px;\n right: 15px;\n bottom: 15px;\n border-radius: 50%;\n border: 3px solid transparent;\n border-top-color: ',";\n animation: "," 1.5s linear infinite;\n }\n"])),function(e){return e.theme.colors.primary},ca,function(e){return e.theme.colors.secondary},ca,function(e){return e.theme.colors.accent},ca),pa=tr.p(Xo||(Xo=ua(['\n all: initial;\n box-sizing: border-box;\n\n font-family: "Roboto", Arial, sans-serif;\n font-weight: 600;\n font-size: 22px;\n line-height: 36px;\n text-align: center;\n color: ',";\n"])),function(e){return e.theme.colors.text}),ga=tr.div(Jo||(Jo=ua(["\n display: grid;\n justify-items: center;\n gap: 8px;\n padding: 12px 0;\n"])));function ma(){var e=Xi().t,t=de().authStatus,n={title:e("Liberion ID"),inProgress:e("app.auth_in_progress"),success:e("app.auth_success"),error:e("app.auth_failed"),cancelled:e("app.auth_cancelled"),timeout:e("app.auth_timeout"),reconnectFailed:e("app.reconnect_failed")},r=la(la(la(la(la(la({},l,{text:n.success,icon:l}),s,{text:n.inProgress,loader:!0}),u,{text:n.error,icon:u}),c,{text:n.cancelled,icon:c}),f,{text:n.timeout,icon:f}),d,{text:n.reconnectFailed,icon:u})[t];return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(fa,{"aria-live":"polite",children:n.title}),r?(0,X.jsxs)(ga,{role:"status","aria-live":"polite",children:[r.loader?(0,X.jsx)(da,{children:(0,X.jsx)(ha,{})}):r.icon&&(0,X.jsx)(ko,{status:r.icon}),(0,X.jsx)(pa,{children:r.text})]}):(0,X.jsx)(aa,{})]})}function ya(e){return ya="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ya(e)}function va(e,t,n){return(t=function(e){var t=function(e){if("object"!=ya(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ya(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ya(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ba(){var e=re().screen;return(0,X.jsx)(X.Fragment,{children:va(va({},G,(0,X.jsx)(Fr,{})),Y,(0,X.jsx)(ma,{}))[e.path]})}function wa(e){return wa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wa(e)}function Sa(e,t,n){return(t=function(e){var t=function(e){if("object"!=wa(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=wa(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==wa(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ka(e){var n=e.backendUrl,r=e.closeCb,a=e.successCb,s=e.failedCb,l=e.theme,u=void 0===l?p:l,c=re().setCallbacks,f=de().setBackendUrl,d=function(){var e=(0,v.useContext)(sr);if(!e)throw new Error("useThemeContext must be used within ThemeProvider");return e}().setTheme;return(0,v.useEffect)(function(){c(function(e){return Sa(Sa(Sa({},t,null!=r?r:e[t]),i,null!=a?a:e[i]),o,null!=s?s:e[o])}),f(n),d(u)},[r,a,s,n,u,f,c,d]),(0,X.jsx)(Lr,{children:(0,X.jsx)(ba,{})})}var xa,_a={en:{translation:JSON.parse('{"app.auth_success":"Access granted","app.auth_in_progress":"Authorization in progress..","app.auth_failed":"Authorization failed","app.auth_cancelled":"Authorization cancelled","app.auth_timeout":"Authorization expired","app.reconnect_failed":"Connection lost. Please try again.","app.about_auth":"Post-Quantum KYC Authorization","auth.about":"Post-Quantum KYC Authorization","auth.scan_qr_desc":"Scan the QR code with the Liberion App to complete authentication.","auth.install_app":"Install Liberion App","auth.install_required_android":"To continue authentication you must have the Liberion App installed","auth.install_required_ios":"To continue authentication you must have the Liberion App installed","auth.open_app":"Open Liberion App","auth.open_app_continue":"Open Liberion App to continue","auth.continue_auth":"Continue Authentication","home.title":"Recognize the whole world on","home.title_highlight":"one platform","home.copyright":"All rights reserved"}')},ru:{translation:JSON.parse('{"app.auth_success":"Доступ предоставлен","app.auth_in_progress":"Авторизация в процессе..","app.auth_failed":"Авторизация не удалась","app.auth_cancelled":"Авторизация отменена","app.auth_timeout":"Сессия истекла","app.reconnect_failed":"Соединение потеряно. Попробуйте снова.","app.about_auth":"Пост-Квантовая авторизация","auth.about":"Пост-Квантовая авторизация","auth.scan_qr_desc":"Отсканируйте QR-код приложением Liberion для завершения авторизации.","auth.install_app":"Установить приложение Liberion","auth.install_required_android":"Для продолжения авторизации необходимо установить приложение Liberion","auth.install_required_ios":"Для продолжения авторизации необходимо установить приложение Liberion","auth.open_app":"Открыть приложение Liberion","auth.open_app_continue":"Откройте приложение Liberion для продолжения","auth.continue_auth":"Продолжить авторизацию","home.title":"Распознавайте весь мир на","home.title_highlight":"одной платформе","home.copyright":"Все права защищены"}')}};Ai.use(Hi).init({resources:_a,lng:(xa=navigator.language||navigator.userLanguage,null!=xa&&xa.toLowerCase().startsWith("ru")?"ru":"en"),fallbackLng:"en",interpolation:{escapeValue:!1}});var Ca=null,Ea=null,Oa=null,Pa=function(){var e;if(Ca){try{Ca.unmount()}catch(ro){}Ca=null}if(null!==(e=Ea)&&void 0!==e&&e.parentNode&&Ea.parentNode.removeChild(Ea),Ea=null,"function"==typeof Oa)try{Oa()}catch(ro){}Oa=null},za=function(t){var n=t.backendUrl,r=t.successCb,i=t.closeCb,o=t.failedCb,a=t.theme;(Ea||Ca)&&Pa(),(Ea=document.createElement("div")).id="liberion-auth-widget-script-id",document.body.appendChild(Ea),Ca=(0,e.createRoot)(Ea),Oa=i,Ca.render((0,X.jsx)(ur,{children:(0,X.jsx)(ka,{backendUrl:n,successCb:r,failedCb:o,closeCb:function(){return Pa()},theme:a})}))}})(),r})());