kh_quote/static/js/main.75d58ab6.js
2024-06-16 03:05:50 -04:00

3 lines
No EOL
272 KiB
JavaScript

/*! For license information please see main.75d58ab6.js.LICENSE.txt */
(()=>{var e={740:e=>{"use strict";e.exports=function(e,t,n,r,o,i,a,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,i,a,l],c=0;(s=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},197:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,i.default)((function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=null;return t.forEach((function(e){if(null==o){var t=e.apply(void 0,n);null!=t&&(o=t)}})),o}))};var r,o=n(534),i=(r=o)&&r.__esModule?r:{default:r};e.exports=t.default},534:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,n,r,o,i,a){var l=o||"<<anonymous>>",s=a||r;if(null==n[r])return t?new Error("Required "+i+" `"+s+"` was not specified in `"+l+"`."):null;for(var u=arguments.length,c=Array(u>6?u-6:0),d=6;d<u;d++)c[d-6]=arguments[d];return e.apply(void 0,[n,r,l,i,s].concat(c))}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n},e.exports=t.default},497:(e,t,n)=>{"use strict";var r=n(218);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},173:(e,t,n)=>{e.exports=n(497)()},218:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},730:(e,t,n)=>{"use strict";var r=n(43),o=n(853);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;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."}var a=new Set,l={};function s(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)a.add(t[e])}var c=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[: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]*$/,p={},h={};function m(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function y(e,t,n,r){var o=g.hasOwnProperty(t)?g[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(h,e)||!d.call(p,e)&&(f.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,b);g[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,b);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,b);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var _=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),k=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),N=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),A=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var j=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var I=Symbol.iterator;function D(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=I&&e[I]||e["@@iterator"])?e:null}var R,M=Object.assign;function z(e){if(void 0===R)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);R=t&&t[1]||""}return"\n"+R+e}var F=!1;function B(e,t){if(!e||F)return"";F=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&"string"===typeof u.stack){for(var o=u.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(1!==a||1!==l)do{if(a--,0>--l||o[a]!==i[l]){var s="\n"+o[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=a&&0<=l);break}}}finally{F=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?z(e):""}function H(e){switch(e.tag){case 5:return z(e.type);case 16:return z("Lazy");case 13:return z("Suspense");case 19:return z("SuspenseList");case 0:case 2:case 15:return e=B(e.type,!1);case 11:return e=B(e.type.render,!1);case 1:return e=B(e.type,!0);default:return""}}function U(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case x:return"Fragment";case k:return"Portal";case S:return"Profiler";case E:return"StrictMode";case O:return"Suspense";case P:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case N:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case L:return null!==(t=e.displayName||null)?t:U(e.type)||"Memo";case A:t=e._payload,e=e._init;try{return U(e(t))}catch(n){}}return null}function W(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return U(t);case 8:return t===E?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function V(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function q(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function K(e){e._valueTracker||(e._valueTracker=function(e){var t=q(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=q(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function $(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Y(e,t){var n=t.checked;return M({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function X(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=V(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function G(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function Z(e,t){G(e,t);var n=V(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,V(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&$(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+V(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return M({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:V(n)}}function ie(e,t){var n=V(t.value),r=V(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function se(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ve=M({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function be(e,t){if(t){if(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(i(62))}}function ye(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var _e=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ke=null,xe=null,Ee=null;function Se(e){if(e=_o(e)){if("function"!==typeof ke)throw Error(i(280));var t=e.stateNode;t&&(t=ko(t),ke(e.stateNode,e.type,t))}}function Ce(e){xe?Ee?Ee.push(e):Ee=[e]:xe=e}function Ne(){if(xe){var e=xe,t=Ee;if(Ee=xe=null,Se(e),t)for(e=0;e<t.length;e++)Se(t[e])}}function Te(e,t){return e(t)}function Oe(){}var Pe=!1;function Le(e,t,n){if(Pe)return e(t,n);Pe=!0;try{return Te(e,t,n)}finally{Pe=!1,(null!==xe||null!==Ee)&&(Oe(),Ne())}}function Ae(e,t){var n=e.stateNode;if(null===n)return null;var r=ko(n);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(i(231,t,typeof n));return n}var je=!1;if(c)try{var Ie={};Object.defineProperty(Ie,"passive",{get:function(){je=!0}}),window.addEventListener("test",Ie,Ie),window.removeEventListener("test",Ie,Ie)}catch(ce){je=!1}function De(e,t,n,r,o,i,a,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Re=!1,Me=null,ze=!1,Fe=null,Be={onError:function(e){Re=!0,Me=e}};function He(e,t,n,r,o,i,a,l,s){Re=!1,Me=null,De.apply(Be,arguments)}function Ue(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function We(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 Ve(e){if(Ue(e)!==e)throw Error(i(188))}function qe(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ue(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return Ve(o),e;if(a===r)return Ve(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var l=!1,s=o.child;s;){if(s===n){l=!0,n=o,r=a;break}if(s===r){l=!0,r=o,n=a;break}s=s.sibling}if(!l){for(s=a.child;s;){if(s===n){l=!0,n=a,r=o;break}if(s===r){l=!0,r=a,n=o;break}s=s.sibling}if(!l)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?Ke(e):null}function Ke(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ke(e);if(null!==t)return t;e=e.sibling}return null}var Qe=o.unstable_scheduleCallback,$e=o.unstable_cancelCallback,Ye=o.unstable_shouldYield,Xe=o.unstable_requestPaint,Ge=o.unstable_now,Ze=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(lt(e)/st|0)|0},lt=Math.log,st=Math.LN2;var ut=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var l=a&~o;0!==l?r=dt(l):0!==(i&=a)&&(r=dt(i))}else 0!==(a=n&~o)?r=dt(a):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!==(4194240&i)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ut;return 0===(4194240&(ut<<=1))&&(ut=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function bt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var yt=0;function _t(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var wt,kt,xt,Et,St,Ct=!1,Nt=[],Tt=null,Ot=null,Pt=null,Lt=new Map,At=new Map,jt=[],It="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 submit".split(" ");function Dt(e,t){switch(e){case"focusin":case"focusout":Tt=null;break;case"dragenter":case"dragleave":Ot=null;break;case"mouseover":case"mouseout":Pt=null;break;case"pointerover":case"pointerout":Lt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":At.delete(t.pointerId)}}function Rt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=_o(t))&&kt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Mt(e){var t=yo(e.target);if(null!==t){var n=Ue(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=We(n)))return e.blockedOn=t,void St(e.priority,(function(){xt(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 zt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=_o(n))&&kt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);_e=r,n.target.dispatchEvent(r),_e=null,t.shift()}return!0}function Ft(e,t,n){zt(e)&&n.delete(t)}function Bt(){Ct=!1,null!==Tt&&zt(Tt)&&(Tt=null),null!==Ot&&zt(Ot)&&(Ot=null),null!==Pt&&zt(Pt)&&(Pt=null),Lt.forEach(Ft),At.forEach(Ft)}function Ht(e,t){e.blockedOn===t&&(e.blockedOn=null,Ct||(Ct=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Bt)))}function Ut(e){function t(t){return Ht(t,e)}if(0<Nt.length){Ht(Nt[0],e);for(var n=1;n<Nt.length;n++){var r=Nt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Tt&&Ht(Tt,e),null!==Ot&&Ht(Ot,e),null!==Pt&&Ht(Pt,e),Lt.forEach(t),At.forEach(t),n=0;n<jt.length;n++)(r=jt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<jt.length&&null===(n=jt[0]).blockedOn;)Mt(n),null===n.blockedOn&&jt.shift()}var Wt=_.ReactCurrentBatchConfig,Vt=!0;function qt(e,t,n,r){var o=yt,i=Wt.transition;Wt.transition=null;try{yt=1,Qt(e,t,n,r)}finally{yt=o,Wt.transition=i}}function Kt(e,t,n,r){var o=yt,i=Wt.transition;Wt.transition=null;try{yt=4,Qt(e,t,n,r)}finally{yt=o,Wt.transition=i}}function Qt(e,t,n,r){if(Vt){var o=Yt(e,t,n,r);if(null===o)Vr(e,t,r,$t,n),Dt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Tt=Rt(Tt,e,t,n,r,o),!0;case"dragenter":return Ot=Rt(Ot,e,t,n,r,o),!0;case"mouseover":return Pt=Rt(Pt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Lt.set(i,Rt(Lt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,At.set(i,Rt(At.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Dt(e,r),4&t&&-1<It.indexOf(e)){for(;null!==o;){var i=_o(o);if(null!==i&&wt(i),null===(i=Yt(e,t,n,r))&&Vr(e,t,r,$t,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Vr(e,t,r,null,n)}}var $t=null;function Yt(e,t,n,r){if($t=null,null!==(e=yo(e=we(r))))if(null===(t=Ue(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=We(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 $t=e,null}function Xt(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ze()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Gt=null,Zt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Zt,r=n.length,o="value"in Gt?Gt.value:Gt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tn(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 nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return M(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=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,ln,sn,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(un),dn=M({},un,{view:0,detail:0}),fn=on(dn),pn=M({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Sn,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!==sn&&(sn&&"mousemove"===e.type?(an=e.screenX-sn.screenX,ln=e.screenY-sn.screenY):ln=an=0,sn=e),an)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),hn=on(pn),mn=on(M({},pn,{dataTransfer:0})),gn=on(M({},dn,{relatedTarget:0})),vn=on(M({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),bn=M({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yn=on(bn),_n=on(M({},un,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kn={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"},xn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=xn[e])&&!!t[e]}function Sn(){return En}var Cn=M({},dn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?kn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Sn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Nn=on(Cn),Tn=on(M({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),On=on(M({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Sn})),Pn=on(M({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ln=M({},pn,{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}),An=on(Ln),jn=[9,13,27,32],In=c&&"CompositionEvent"in window,Dn=null;c&&"documentMode"in document&&(Dn=document.documentMode);var Rn=c&&"TextEvent"in window&&!Dn,Mn=c&&(!In||Dn&&8<Dn&&11>=Dn),zn=String.fromCharCode(32),Fn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==jn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Un=!1;var Wn={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 Vn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Wn[e.type]:"textarea"===t}function qn(e,t,n,r){Ce(r),0<(t=Kr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Kn=null,Qn=null;function $n(e){zr(e,0)}function Yn(e){if(Q(wo(e)))return e}function Xn(e,t){if("change"===e)return t}var Gn=!1;if(c){var Zn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"===typeof er.oninput}Zn=Jn}else Zn=!1;Gn=Zn&&(!document.documentMode||9<document.documentMode)}function tr(){Kn&&(Kn.detachEvent("onpropertychange",nr),Qn=Kn=null)}function nr(e){if("value"===e.propertyName&&Yn(Qn)){var t=[];qn(t,Qn,e,we(e)),Le($n,t)}}function rr(e,t,n){"focusin"===e?(tr(),Qn=n,(Kn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yn(Qn)}function ir(e,t){if("click"===e)return Yn(t)}function ar(e,t){if("input"===e||"change"===e)return Yn(t)}var lr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function sr(e,t){if(lr(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 o=n[r];if(!d.call(t,o)||!lr(e[o],t[o]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(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=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=$();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=$((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=cr(n,i);var a=cr(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=c&&"documentMode"in document&&11>=document.documentMode,gr=null,vr=null,br=null,yr=!1;function _r(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;yr||null==gr||gr!==$(r)||("selectionStart"in(r=gr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},br&&sr(br,r)||(br=r,0<(r=Kr(vr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},xr={},Er={};function Sr(e){if(xr[e])return xr[e];if(!kr[e])return e;var t,n=kr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return xr[e]=n[t];return e}c&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete kr.animationend.animation,delete kr.animationiteration.animation,delete kr.animationstart.animation),"TransitionEvent"in window||delete kr.transitionend.transition);var Cr=Sr("animationend"),Nr=Sr("animationiteration"),Tr=Sr("animationstart"),Or=Sr("transitionend"),Pr=new Map,Lr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Ar(e,t){Pr.set(e,t),s(t,[e])}for(var jr=0;jr<Lr.length;jr++){var Ir=Lr[jr];Ar(Ir.toLowerCase(),"on"+(Ir[0].toUpperCase()+Ir.slice(1)))}Ar(Cr,"onAnimationEnd"),Ar(Nr,"onAnimationIteration"),Ar(Tr,"onAnimationStart"),Ar("dblclick","onDoubleClick"),Ar("focusin","onFocus"),Ar("focusout","onBlur"),Ar(Or,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Dr="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(" "),Rr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Dr));function Mr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,l,s,u){if(He.apply(this,arguments),Re){if(!Re)throw Error(i(198));var c=Me;Re=!1,Me=null,ze||(ze=!0,Fe=c)}}(r,t,void 0,e),e.currentTarget=null}function zr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==i&&o.isPropagationStopped())break e;Mr(o,l,u),i=s}else for(a=0;a<r.length;a++){if(s=(l=r[a]).instance,u=l.currentTarget,l=l.listener,s!==i&&o.isPropagationStopped())break e;Mr(o,l,u),i=s}}}if(ze)throw e=Fe,ze=!1,Fe=null,e}function Fr(e,t){var n=t[go];void 0===n&&(n=t[go]=new Set);var r=e+"__bubble";n.has(r)||(Wr(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),Wr(n,e,r,t)}var Hr="_reactListening"+Math.random().toString(36).slice(2);function Ur(e){if(!e[Hr]){e[Hr]=!0,a.forEach((function(t){"selectionchange"!==t&&(Rr.has(t)||Br(t,!1,e),Br(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Hr]||(t[Hr]=!0,Br("selectionchange",!1,t))}}function Wr(e,t,n,r){switch(Xt(t)){case 1:var o=qt;break;case 4:o=Kt;break;default:o=Qt}n=o.bind(null,t,n,e),o=void 0,!je||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Vr(e,t,n,r,o){var i=r;if(0===(1&t)&&0===(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===o||8===l.nodeType&&l.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var s=a.tag;if((3===s||4===s)&&((s=a.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;a=a.return}for(;null!==l;){if(null===(a=yo(l)))return;if(5===(s=a.tag)||6===s){r=i=a;continue e}l=l.parentNode}}r=r.return}Le((function(){var r=i,o=we(n),a=[];e:{var l=Pr.get(e);if(void 0!==l){var s=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":s=Nn;break;case"focusin":u="focus",s=gn;break;case"focusout":u="blur",s=gn;break;case"beforeblur":case"afterblur":s=gn;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":s=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=On;break;case Cr:case Nr:case Tr:s=vn;break;case Or:s=Pn;break;case"scroll":s=fn;break;case"wheel":s=An;break;case"copy":case"cut":case"paste":s=yn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Tn}var c=0!==(4&t),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=Ae(h,f))&&c.push(qr(h,m,p)))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,o),a.push({event:l,listeners:c}))}}if(0===(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===_e||!(u=n.relatedTarget||n.fromElement)||!yo(u)&&!u[mo])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?yo(u):null)&&(u!==(d=Ue(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=hn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Tn,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:wo(s),p=null==u?l:wo(u),(l=new c(m,h+"leave",s,n,o)).target=d,l.relatedTarget=p,m=null,yo(o)===r&&((c=new c(f,h+"enter",u,n,o)).target=p,c.relatedTarget=d,m=c),d=m,s&&u)e:{for(f=u,h=0,p=c=s;p;p=Qr(p))h++;for(p=0,m=f;m;m=Qr(m))p++;for(;0<h-p;)c=Qr(c),h--;for(;0<p-h;)f=Qr(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=Qr(c),f=Qr(f)}c=null}else c=null;null!==s&&$r(a,l,s,c,!1),null!==u&&null!==d&&$r(a,d,u,c,!0)}if("select"===(s=(l=r?wo(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=Xn;else if(Vn(l))if(Gn)g=ar;else{g=or;var v=rr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=ir);switch(g&&(g=g(e,r))?qn(a,g,n,o):(v&&v(e,l,r),"focusout"===e&&(v=l._wrapperState)&&v.controlled&&"number"===l.type&&ee(l,"number",l.value)),v=r?wo(r):window,e){case"focusin":(Vn(v)||"true"===v.contentEditable)&&(gr=v,vr=r,br=null);break;case"focusout":br=vr=gr=null;break;case"mousedown":yr=!0;break;case"contextmenu":case"mouseup":case"dragend":yr=!1,_r(a,n,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":_r(a,n,o)}var b;if(In)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else Un?Bn(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(Mn&&"ko"!==n.locale&&(Un||"onCompositionStart"!==y?"onCompositionEnd"===y&&Un&&(b=en()):(Zt="value"in(Gt=o)?Gt.value:Gt.textContent,Un=!0)),0<(v=Kr(r,y)).length&&(y=new _n(y,e,null,n,o),a.push({event:y,listeners:v}),b?y.data=b:null!==(b=Hn(n))&&(y.data=b))),(b=Rn?function(e,t){switch(e){case"compositionend":return Hn(t);case"keypress":return 32!==t.which?null:(Fn=!0,zn);case"textInput":return(e=t.data)===zn&&Fn?null:e;default:return null}}(e,n):function(e,t){if(Un)return"compositionend"===e||!In&&Bn(e,t)?(e=en(),Jt=Zt=Gt=null,Un=!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 Mn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Kr(r,"onBeforeInput")).length&&(o=new _n("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=b))}zr(a,t)}))}function qr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Kr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Ae(e,n))&&r.unshift(qr(e,i,o)),null!=(i=Ae(e,t))&&r.push(qr(e,i,o))),e=e.return}return r}function Qr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function $r(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,o?null!=(s=Ae(n,i))&&a.unshift(qr(n,s,l)):o||null!=(s=Ae(n,i))&&a.push(qr(n,s,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Yr=/\r\n?/g,Xr=/\u0000|\uFFFD/g;function Gr(e){return("string"===typeof e?e:""+e).replace(Yr,"\n").replace(Xr,"")}function Zr(e,t,n){if(t=Gr(t),Gr(e)!==t&&n)throw Error(i(425))}function Jr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"===typeof setTimeout?setTimeout:void 0,oo="function"===typeof clearTimeout?clearTimeout:void 0,io="function"===typeof Promise?Promise:void 0,ao="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof io?function(e){return io.resolve(null).then(e).catch(lo)}:ro;function lo(e){setTimeout((function(){throw e}))}function so(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Ut(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Ut(t)}function uo(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)break;if("/$"===t)return null}}return e}function co(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),po="__reactFiber$"+fo,ho="__reactProps$"+fo,mo="__reactContainer$"+fo,go="__reactEvents$"+fo,vo="__reactListeners$"+fo,bo="__reactHandles$"+fo;function yo(e){var t=e[po];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mo]||n[po]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=co(e);null!==e;){if(n=e[po])return n;e=co(e)}return t}n=(e=n).parentNode}return null}function _o(e){return!(e=e[po]||e[mo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function ko(e){return e[ho]||null}var xo=[],Eo=-1;function So(e){return{current:e}}function Co(e){0>Eo||(e.current=xo[Eo],xo[Eo]=null,Eo--)}function No(e,t){Eo++,xo[Eo]=e.current,e.current=t}var To={},Oo=So(To),Po=So(!1),Lo=To;function Ao(e,t){var n=e.type.contextTypes;if(!n)return To;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function jo(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Io(){Co(Po),Co(Oo)}function Do(e,t,n){if(Oo.current!==To)throw Error(i(168));No(Oo,t),No(Po,n)}function Ro(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,W(e)||"Unknown",o));return M({},n,r)}function Mo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||To,Lo=Oo.current,No(Oo,e),No(Po,Po.current),!0}function zo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Ro(e,t,Lo),r.__reactInternalMemoizedMergedChildContext=e,Co(Po),Co(Oo),No(Oo,e)):Co(Po),No(Po,n)}var Fo=null,Bo=!1,Ho=!1;function Uo(e){null===Fo?Fo=[e]:Fo.push(e)}function Wo(){if(!Ho&&null!==Fo){Ho=!0;var e=0,t=yt;try{var n=Fo;for(yt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Fo=null,Bo=!1}catch(o){throw null!==Fo&&(Fo=Fo.slice(e+1)),Qe(Je,Wo),o}finally{yt=t,Ho=!1}}return null}var Vo=[],qo=0,Ko=null,Qo=0,$o=[],Yo=0,Xo=null,Go=1,Zo="";function Jo(e,t){Vo[qo++]=Qo,Vo[qo++]=Ko,Ko=e,Qo=t}function ei(e,t,n){$o[Yo++]=Go,$o[Yo++]=Zo,$o[Yo++]=Xo,Xo=e;var r=Go;e=Zo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Go=1<<32-at(t)+o|n<<o|r,Zo=i+e}else Go=1<<i|n<<o|r,Zo=e}function ti(e){null!==e.return&&(Jo(e,1),ei(e,1,0))}function ni(e){for(;e===Ko;)Ko=Vo[--qo],Vo[qo]=null,Qo=Vo[--qo],Vo[qo]=null;for(;e===Xo;)Xo=$o[--Yo],$o[Yo]=null,Zo=$o[--Yo],$o[Yo]=null,Go=$o[--Yo],$o[Yo]=null}var ri=null,oi=null,ii=!1,ai=null;function li(e,t){var n=Lu(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function si(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,oi=uo(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Xo?{id:Go,overflow:Zo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Lu(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function ui(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function ci(e){if(ii){var t=oi;if(t){var n=t;if(!si(e,t)){if(ui(e))throw Error(i(418));t=uo(n.nextSibling);var r=ri;t&&si(e,t)?li(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(ui(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function di(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function fi(e){if(e!==ri)return!1;if(!ii)return di(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(ui(e))throw pi(),Error(i(418));for(;t;)li(e,t),t=uo(t.nextSibling)}if(di(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=uo(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?uo(e.stateNode.nextSibling):null;return!0}function pi(){for(var e=oi;e;)e=uo(e.nextSibling)}function hi(){oi=ri=null,ii=!1}function mi(e){null===ai?ai=[e]:ai.push(e)}var gi=_.ReactCurrentBatchConfig;function vi(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!==typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function bi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function yi(e){return(0,e._init)(e._payload)}function _i(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,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=ju(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Mu(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){var i=n.type;return i===x?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"===typeof i&&null!==i&&i.$$typeof===A&&yi(i)===t.type)?((r=o(t,n.props)).ref=vi(e,t,n),r.return=e,r):((r=Iu(n.type,n.key,n.props,null,e.mode,r)).ref=vi(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=zu(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Du(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=Mu(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Iu(t.type,t.key,t.props,null,e.mode,n)).ref=vi(e,null,t),n.return=e,n;case k:return(t=zu(t,e.mode,n)).return=e,t;case A:return f(e,(0,t._init)(t._payload),n)}if(te(t)||D(t))return(t=Du(t,e.mode,n,null)).return=e,t;bi(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==o?null:s(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===o?u(e,t,n,r):null;case k:return n.key===o?c(e,t,n,r):null;case A:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||D(n))return null!==o?null:d(e,t,n,r,null);bi(e,n)}return null}function h(e,t,n,r,o){if("string"===typeof r&&""!==r||"number"===typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case w:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case k:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case A:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||D(r))return d(t,e=e.get(n)||null,r,o,null);bi(t,r)}return null}function m(o,i,l,s){for(var u=null,c=null,d=i,m=i=0,g=null;null!==d&&m<l.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=p(o,d,l[m],s);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(o,d),i=a(v,i,m),null===c?u=v:c.sibling=v,c=v,d=g}if(m===l.length)return n(o,d),ii&&Jo(o,m),u;if(null===d){for(;m<l.length;m++)null!==(d=f(o,l[m],s))&&(i=a(d,i,m),null===c?u=d:c.sibling=d,c=d);return ii&&Jo(o,m),u}for(d=r(o,d);m<l.length;m++)null!==(g=h(d,o,m,l[m],s))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),i=a(g,i,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach((function(e){return t(o,e)})),ii&&Jo(o,m),u}function g(o,l,s,u){var c=D(s);if("function"!==typeof c)throw Error(i(150));if(null==(s=c.call(s)))throw Error(i(151));for(var d=c=null,m=l,g=l=0,v=null,b=s.next();null!==m&&!b.done;g++,b=s.next()){m.index>g?(v=m,m=null):v=m.sibling;var y=p(o,m,b.value,u);if(null===y){null===m&&(m=v);break}e&&m&&null===y.alternate&&t(o,m),l=a(y,l,g),null===d?c=y:d.sibling=y,d=y,m=v}if(b.done)return n(o,m),ii&&Jo(o,g),c;if(null===m){for(;!b.done;g++,b=s.next())null!==(b=f(o,b.value,u))&&(l=a(b,l,g),null===d?c=b:d.sibling=b,d=b);return ii&&Jo(o,g),c}for(m=r(o,m);!b.done;g++,b=s.next())null!==(b=h(m,o,g,b.value,u))&&(e&&null!==b.alternate&&m.delete(null===b.key?g:b.key),l=a(b,l,g),null===d?c=b:d.sibling=b,d=b);return e&&m.forEach((function(e){return t(o,e)})),ii&&Jo(o,g),c}return function e(r,i,a,s){if("object"===typeof a&&null!==a&&a.type===x&&null===a.key&&(a=a.props.children),"object"===typeof a&&null!==a){switch(a.$$typeof){case w:e:{for(var u=a.key,c=i;null!==c;){if(c.key===u){if((u=a.type)===x){if(7===c.tag){n(r,c.sibling),(i=o(c,a.props.children)).return=r,r=i;break e}}else if(c.elementType===u||"object"===typeof u&&null!==u&&u.$$typeof===A&&yi(u)===c.type){n(r,c.sibling),(i=o(c,a.props)).ref=vi(r,c,a),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}a.type===x?((i=Du(a.props.children,r.mode,s,a.key)).return=r,r=i):((s=Iu(a.type,a.key,a.props,null,r.mode,s)).ref=vi(r,i,a),s.return=r,r=s)}return l(r);case k:e:{for(c=a.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=zu(a,r.mode,s)).return=r,r=i}return l(r);case A:return e(r,i,(c=a._init)(a._payload),s)}if(te(a))return m(r,i,a,s);if(D(a))return g(r,i,a,s);bi(r,a)}return"string"===typeof a&&""!==a||"number"===typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=Mu(a,r.mode,s)).return=r,r=i),l(r)):n(r,i)}}var wi=_i(!0),ki=_i(!1),xi=So(null),Ei=null,Si=null,Ci=null;function Ni(){Ci=Si=Ei=null}function Ti(e){var t=xi.current;Co(xi),e._currentValue=t}function Oi(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 Pi(e,t){Ei=e,Ci=Si=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(yl=!0),e.firstContext=null)}function Li(e){var t=e._currentValue;if(Ci!==e)if(e={context:e,memoizedValue:t,next:null},null===Si){if(null===Ei)throw Error(i(308));Si=e,Ei.dependencies={lanes:0,firstContext:e}}else Si=Si.next=e;return t}var Ai=null;function ji(e){null===Ai?Ai=[e]:Ai.push(e)}function Ii(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,ji(t)):(n.next=o.next,o.next=n),t.interleaved=n,Di(e,r)}function Di(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ri=!1;function Mi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function zi(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Fi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Bi(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Ts)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Di(e,n)}return null===(o=r.interleaved)?(t.next=t,ji(r)):(t.next=o.next,o.next=t),r.interleaved=t,Di(e,n)}function Hi(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}function Ui(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Wi(e,t,n,r){var o=e.updateQueue;Ri=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===a?i=u:a.next=u,a=s;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(null!==i){var d=o.baseState;for(a=0,c=u=s=null,l=i;;){var f=l.lane,p=l.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,m=l;switch(f=t,p=n,m.tag){case 1:if("function"===typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null===(f="function"===typeof(h=m.payload)?h.call(p,d,f):h)||void 0===f)break e;d=M({},d,f);break e;case 2:Ri=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,a|=f;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(f=l).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===c&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Rs|=a,e.lanes=a,e.memoizedState=d}}function Vi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!==typeof o)throw Error(i(191,o));o.call(r)}}}var qi={},Ki=So(qi),Qi=So(qi),$i=So(qi);function Yi(e){if(e===qi)throw Error(i(174));return e}function Xi(e,t){switch(No($i,t),No(Qi,e),No(Ki,qi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:se(null,"");break;default:t=se(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Co(Ki),No(Ki,t)}function Gi(){Co(Ki),Co(Qi),Co($i)}function Zi(e){Yi($i.current);var t=Yi(Ki.current),n=se(t,e.type);t!==n&&(No(Qi,e),No(Ki,n))}function Ji(e){Qi.current===e&&(Co(Ki),Co(Qi))}var ea=So(0);function ta(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}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 na=[];function ra(){for(var e=0;e<na.length;e++)na[e]._workInProgressVersionPrimary=null;na.length=0}var oa=_.ReactCurrentDispatcher,ia=_.ReactCurrentBatchConfig,aa=0,la=null,sa=null,ua=null,ca=!1,da=!1,fa=0,pa=0;function ha(){throw Error(i(321))}function ma(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function ga(e,t,n,r,o,a){if(aa=a,la=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,oa.current=null===e||null===e.memoizedState?Ja:el,e=n(r,o),da){a=0;do{if(da=!1,fa=0,25<=a)throw Error(i(301));a+=1,ua=sa=null,t.updateQueue=null,oa.current=tl,e=n(r,o)}while(da)}if(oa.current=Za,t=null!==sa&&null!==sa.next,aa=0,ua=sa=la=null,ca=!1,t)throw Error(i(300));return e}function va(){var e=0!==fa;return fa=0,e}function ba(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ua?la.memoizedState=ua=e:ua=ua.next=e,ua}function ya(){if(null===sa){var e=la.alternate;e=null!==e?e.memoizedState:null}else e=sa.next;var t=null===ua?la.memoizedState:ua.next;if(null!==t)ua=t,sa=e;else{if(null===e)throw Error(i(310));e={memoizedState:(sa=e).memoizedState,baseState:sa.baseState,baseQueue:sa.baseQueue,queue:sa.queue,next:null},null===ua?la.memoizedState=ua=e:ua=ua.next=e}return ua}function _a(e,t){return"function"===typeof t?t(e):t}function wa(e){var t=ya(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=sa,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var l=o.next;o.next=a.next,a.next=l}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var s=l=null,u=null,c=a;do{var d=c.lane;if((aa&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(s=u=f,l=r):u=u.next=f,la.lanes|=d,Rs|=d}c=c.next}while(null!==c&&c!==a);null===u?l=r:u.next=s,lr(r,t.memoizedState)||(yl=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,la.lanes|=a,Rs|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ka(e){var t=ya(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var l=o=o.next;do{a=e(a,l.action),l=l.next}while(l!==o);lr(a,t.memoizedState)||(yl=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function xa(){}function Ea(e,t){var n=la,r=ya(),o=t(),a=!lr(r.memoizedState,o);if(a&&(r.memoizedState=o,yl=!0),r=r.queue,Ra(Na.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ua&&1&ua.memoizedState.tag){if(n.flags|=2048,La(9,Ca.bind(null,n,r,o,t),void 0,null),null===Os)throw Error(i(349));0!==(30&aa)||Sa(n,t,o)}return o}function Sa(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=la.updateQueue)?(t={lastEffect:null,stores:null},la.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ca(e,t,n,r){t.value=n,t.getSnapshot=r,Ta(t)&&Oa(e)}function Na(e,t,n){return n((function(){Ta(t)&&Oa(e)}))}function Ta(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(r){return!0}}function Oa(e){var t=Di(e,1);null!==t&&nu(t,e,1,-1)}function Pa(e){var t=ba();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:_a,lastRenderedState:e},t.queue=e,e=e.dispatch=$a.bind(null,la,e),[t.memoizedState,e]}function La(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=la.updateQueue)?(t={lastEffect:null,stores:null},la.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Aa(){return ya().memoizedState}function ja(e,t,n,r){var o=ba();la.flags|=e,o.memoizedState=La(1|t,n,void 0,void 0===r?null:r)}function Ia(e,t,n,r){var o=ya();r=void 0===r?null:r;var i=void 0;if(null!==sa){var a=sa.memoizedState;if(i=a.destroy,null!==r&&ma(r,a.deps))return void(o.memoizedState=La(t,n,i,r))}la.flags|=e,o.memoizedState=La(1|t,n,i,r)}function Da(e,t){return ja(8390656,8,e,t)}function Ra(e,t){return Ia(2048,8,e,t)}function Ma(e,t){return Ia(4,2,e,t)}function za(e,t){return Ia(4,4,e,t)}function Fa(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ba(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Ia(4,4,Fa.bind(null,t,e),n)}function Ha(){}function Ua(e,t){var n=ya();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ma(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Wa(e,t){var n=ya();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ma(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Va(e,t,n){return 0===(21&aa)?(e.baseState&&(e.baseState=!1,yl=!0),e.memoizedState=n):(lr(n,t)||(n=mt(),la.lanes|=n,Rs|=n,e.baseState=!0),t)}function qa(e,t){var n=yt;yt=0!==n&&4>n?n:4,e(!0);var r=ia.transition;ia.transition={};try{e(!1),t()}finally{yt=n,ia.transition=r}}function Ka(){return ya().memoizedState}function Qa(e,t,n){var r=tu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ya(e))Xa(t,n);else if(null!==(n=Ii(e,t,n,r))){nu(n,e,r,eu()),Ga(n,t,r)}}function $a(e,t,n){var r=tu(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ya(e))Xa(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,lr(l,a)){var s=t.interleaved;return null===s?(o.next=o,ji(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(u){}null!==(n=Ii(e,t,o,r))&&(nu(n,e,r,o=eu()),Ga(n,t,r))}}function Ya(e){var t=e.alternate;return e===la||null!==t&&t===la}function Xa(e,t){da=ca=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ga(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}var Za={readContext:Li,useCallback:ha,useContext:ha,useEffect:ha,useImperativeHandle:ha,useInsertionEffect:ha,useLayoutEffect:ha,useMemo:ha,useReducer:ha,useRef:ha,useState:ha,useDebugValue:ha,useDeferredValue:ha,useTransition:ha,useMutableSource:ha,useSyncExternalStore:ha,useId:ha,unstable_isNewReconciler:!1},Ja={readContext:Li,useCallback:function(e,t){return ba().memoizedState=[e,void 0===t?null:t],e},useContext:Li,useEffect:Da,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,ja(4194308,4,Fa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ja(4194308,4,e,t)},useInsertionEffect:function(e,t){return ja(4,2,e,t)},useMemo:function(e,t){var n=ba();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ba();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Qa.bind(null,la,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ba().memoizedState=e},useState:Pa,useDebugValue:Ha,useDeferredValue:function(e){return ba().memoizedState=e},useTransition:function(){var e=Pa(!1),t=e[0];return e=qa.bind(null,e[1]),ba().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=la,o=ba();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Os)throw Error(i(349));0!==(30&aa)||Sa(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Da(Na.bind(null,r,a,e),[e]),r.flags|=2048,La(9,Ca.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=ba(),t=Os.identifierPrefix;if(ii){var n=Zo;t=":"+t+"R"+(n=(Go&~(1<<32-at(Go)-1)).toString(32)+n),0<(n=fa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=pa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},el={readContext:Li,useCallback:Ua,useContext:Li,useEffect:Ra,useImperativeHandle:Ba,useInsertionEffect:Ma,useLayoutEffect:za,useMemo:Wa,useReducer:wa,useRef:Aa,useState:function(){return wa(_a)},useDebugValue:Ha,useDeferredValue:function(e){return Va(ya(),sa.memoizedState,e)},useTransition:function(){return[wa(_a)[0],ya().memoizedState]},useMutableSource:xa,useSyncExternalStore:Ea,useId:Ka,unstable_isNewReconciler:!1},tl={readContext:Li,useCallback:Ua,useContext:Li,useEffect:Ra,useImperativeHandle:Ba,useInsertionEffect:Ma,useLayoutEffect:za,useMemo:Wa,useReducer:ka,useRef:Aa,useState:function(){return ka(_a)},useDebugValue:Ha,useDeferredValue:function(e){var t=ya();return null===sa?t.memoizedState=e:Va(t,sa.memoizedState,e)},useTransition:function(){return[ka(_a)[0],ya().memoizedState]},useMutableSource:xa,useSyncExternalStore:Ea,useId:Ka,unstable_isNewReconciler:!1};function nl(e,t){if(e&&e.defaultProps){for(var n in t=M({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function rl(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:M({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ol={isMounted:function(e){return!!(e=e._reactInternals)&&Ue(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=eu(),o=tu(e),i=Fi(r,o);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Bi(e,i,o))&&(nu(t,e,o,r),Hi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=eu(),o=tu(e),i=Fi(r,o);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Bi(e,i,o))&&(nu(t,e,o,r),Hi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=eu(),r=tu(e),o=Fi(n,r);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),null!==(t=Bi(e,o,r))&&(nu(t,e,r,n),Hi(t,e,r))}};function il(e,t,n,r,o,i,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!sr(n,r)||!sr(o,i))}function al(e,t,n){var r=!1,o=To,i=t.contextType;return"object"===typeof i&&null!==i?i=Li(i):(o=jo(t)?Lo:Oo.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?Ao(e,o):To),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ol,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function ll(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&&ol.enqueueReplaceState(t,t.state,null)}function sl(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Mi(e);var i=t.contextType;"object"===typeof i&&null!==i?o.context=Li(i):(i=jo(t)?Lo:Oo.current,o.context=Ao(e,i)),o.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(rl(e,t,i,n),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&ol.enqueueReplaceState(o,o.state,null),Wi(e,n,o,r),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.flags|=4194308)}function ul(e,t){try{var n="",r=t;do{n+=H(r),r=r.return}while(r);var o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:o,digest:null}}function cl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function dl(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var fl="function"===typeof WeakMap?WeakMap:Map;function pl(e,t,n){(n=Fi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Vs||(Vs=!0,qs=r),dl(0,t)},n}function hl(e,t,n){(n=Fi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){dl(0,t)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){dl(0,t),"function"!==typeof r&&(null===Ks?Ks=new Set([this]):Ks.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ml(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fl;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Su.bind(null,e,t,n),t.then(e,e))}function gl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function vl(e,t,n,r,o){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Fi(-1,1)).tag=2,Bi(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var bl=_.ReactCurrentOwner,yl=!1;function _l(e,t,n,r){t.child=null===e?ki(t,null,n,r):wi(t,e.child,n,r)}function wl(e,t,n,r,o){n=n.render;var i=t.ref;return Pi(t,o),r=ga(e,t,n,r,i,o),n=va(),null===e||yl?(ii&&n&&ti(t),t.flags|=1,_l(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Vl(e,t,o))}function kl(e,t,n,r,o){if(null===e){var i=n.type;return"function"!==typeof i||Au(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Iu(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,xl(e,t,i,r,o))}if(i=e.child,0===(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(a,r)&&e.ref===t.ref)return Vl(e,t,o)}return t.flags|=1,(e=ju(i,r)).ref=t.ref,e.return=t,t.child=e}function xl(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(sr(i,r)&&e.ref===t.ref){if(yl=!1,t.pendingProps=r=i,0===(e.lanes&o))return t.lanes=e.lanes,Vl(e,t,o);0!==(131072&e.flags)&&(yl=!0)}}return Cl(e,t,n,r,o)}function El(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},No(js,As),As|=n;else{if(0===(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,No(js,As),As|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,No(js,As),As|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,No(js,As),As|=r;return _l(e,t,o,n),t.child}function Sl(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Cl(e,t,n,r,o){var i=jo(n)?Lo:Oo.current;return i=Ao(t,i),Pi(t,o),n=ga(e,t,n,r,i,o),r=va(),null===e||yl?(ii&&r&&ti(t),t.flags|=1,_l(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Vl(e,t,o))}function Nl(e,t,n,r,o){if(jo(n)){var i=!0;Mo(t)}else i=!1;if(Pi(t,o),null===t.stateNode)Wl(e,t),al(t,n,r),sl(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=n.contextType;"object"===typeof u&&null!==u?u=Li(u):u=Ao(t,u=jo(n)?Lo:Oo.current);var c=n.getDerivedStateFromProps,d="function"===typeof c||"function"===typeof a.getSnapshotBeforeUpdate;d||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(l!==r||s!==u)&&ll(t,a,r,u),Ri=!1;var f=t.memoizedState;a.state=f,Wi(t,r,a,o),s=t.memoizedState,l!==r||f!==s||Po.current||Ri?("function"===typeof c&&(rl(t,n,c,r),s=t.memoizedState),(l=Ri||il(t,n,l,r,f,s,u))?(d||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4194308)):("function"===typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=u,r=l):("function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,zi(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:nl(t.type,l),a.props=u,d=t.pendingProps,f=a.context,"object"===typeof(s=n.contextType)&&null!==s?s=Li(s):s=Ao(t,s=jo(n)?Lo:Oo.current);var p=n.getDerivedStateFromProps;(c="function"===typeof p||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(l!==d||f!==s)&&ll(t,a,r,s),Ri=!1,f=t.memoizedState,a.state=f,Wi(t,r,a,o);var h=t.memoizedState;l!==d||f!==h||Po.current||Ri?("function"===typeof p&&(rl(t,n,p,r),h=t.memoizedState),(u=Ri||il(t,n,u,r,f,h,s)||!1)?(c||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=u):("function"!==typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Tl(e,t,n,r,i,o)}function Tl(e,t,n,r,o,i){Sl(e,t);var a=0!==(128&t.flags);if(!r&&!a)return o&&zo(t,n,!1),Vl(e,t,i);r=t.stateNode,bl.current=t;var l=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=wi(t,e.child,null,i),t.child=wi(t,null,l,i)):_l(e,t,l,i),t.memoizedState=r.state,o&&zo(t,n,!0),t.child}function Ol(e){var t=e.stateNode;t.pendingContext?Do(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Do(0,t.context,!1),Xi(e,t.containerInfo)}function Pl(e,t,n,r,o){return hi(),mi(o),t.flags|=256,_l(e,t,n,r),t.child}var Ll,Al,jl,Il,Dl={dehydrated:null,treeContext:null,retryLane:0};function Rl(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ml(e,t,n){var r,o=t.pendingProps,a=ea.current,l=!1,s=0!==(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!==(2&a)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),No(ea,1&a),null===e)return ci(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(s=o.children,e=o.fallback,l?(o=t.mode,l=t.child,s={mode:"hidden",children:s},0===(1&o)&&null!==l?(l.childLanes=0,l.pendingProps=s):l=Ru(s,o,0,null),e=Du(e,o,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Rl(n),t.memoizedState=Dl,e):zl(t,s));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,l){if(n)return 256&t.flags?(t.flags&=-257,Fl(e,t,l,r=cl(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Ru({mode:"visible",children:r.children},o,0,null),(a=Du(a,o,l,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!==(1&t.mode)&&wi(t,e.child,null,l),t.child.memoizedState=Rl(l),t.memoizedState=Dl,a);if(0===(1&t.mode))return Fl(e,t,l,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var s=r.dgst;return r=s,Fl(e,t,l,r=cl(a=Error(i(419)),r,void 0))}if(s=0!==(l&e.childLanes),yl||s){if(null!==(r=Os)){switch(l&-l){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(r.suspendedLanes|l))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Di(e,o),nu(r,e,o,-1))}return mu(),Fl(e,t,l,r=cl(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Nu.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=uo(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&($o[Yo++]=Go,$o[Yo++]=Zo,$o[Yo++]=Xo,Go=e.id,Zo=e.overflow,Xo=t),t=zl(t,r.children),t.flags|=4096,t)}(e,t,s,o,r,a,n);if(l){l=o.fallback,s=t.mode,r=(a=e.child).sibling;var u={mode:"hidden",children:o.children};return 0===(1&s)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=u,t.deletions=null):(o=ju(a,u)).subtreeFlags=14680064&a.subtreeFlags,null!==r?l=ju(r,l):(l=Du(l,s,n,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,o=l,l=t.child,s=null===(s=e.child.memoizedState)?Rl(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Dl,o}return e=(l=e.child).sibling,o=ju(l,{mode:"visible",children:o.children}),0===(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function zl(e,t){return(t=Ru({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Fl(e,t,n,r){return null!==r&&mi(r),wi(t,e.child,null,n),(e=zl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Bl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Oi(e.return,t,n)}function Hl(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Ul(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(_l(e,t,r.children,n),0!==(2&(r=ea.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Bl(e,n,t);else if(19===e.tag)Bl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(No(ea,r),0===(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ta(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Hl(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ta(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Hl(t,!0,n,null,i);break;case"together":Hl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Wl(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Vl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Rs|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=ju(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=ju(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function ql(e,t){if(!ii)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 Kl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ql(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Kl(t),null;case 1:case 17:return jo(t.type)&&Io(),Kl(t),null;case 3:return r=t.stateNode,Gi(),Co(Po),Co(Oo),ra(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==ai&&(au(ai),ai=null))),Al(e,t),Kl(t),null;case 5:Ji(t);var o=Yi($i.current);if(n=t.type,null!==e&&null!=t.stateNode)jl(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Kl(t),null}if(e=Yi(Ki.current),fi(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[po]=t,r[ho]=a,e=0!==(1&t.mode),n){case"dialog":Fr("cancel",r),Fr("close",r);break;case"iframe":case"object":case"embed":Fr("load",r);break;case"video":case"audio":for(o=0;o<Dr.length;o++)Fr(Dr[o],r);break;case"source":Fr("error",r);break;case"img":case"image":case"link":Fr("error",r),Fr("load",r);break;case"details":Fr("toggle",r);break;case"input":X(r,a),Fr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Fr("invalid",r);break;case"textarea":oe(r,a),Fr("invalid",r)}for(var s in be(n,a),o=null,a)if(a.hasOwnProperty(s)){var u=a[s];"children"===s?"string"===typeof u?r.textContent!==u&&(!0!==a.suppressHydrationWarning&&Zr(r.textContent,u,e),o=["children",u]):"number"===typeof u&&r.textContent!==""+u&&(!0!==a.suppressHydrationWarning&&Zr(r.textContent,u,e),o=["children",""+u]):l.hasOwnProperty(s)&&null!=u&&"onScroll"===s&&Fr("scroll",r)}switch(n){case"input":K(r),J(r,a,!0);break;case"textarea":K(r),ae(r);break;case"select":case"option":break;default:"function"===typeof a.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{s=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[po]=t,e[ho]=r,Ll(e,t,!1,!1),t.stateNode=e;e:{switch(s=ye(n,r),n){case"dialog":Fr("cancel",e),Fr("close",e),o=r;break;case"iframe":case"object":case"embed":Fr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Dr.length;o++)Fr(Dr[o],e);o=r;break;case"source":Fr("error",e),o=r;break;case"img":case"image":case"link":Fr("error",e),Fr("load",e),o=r;break;case"details":Fr("toggle",e),o=r;break;case"input":X(e,r),o=Y(e,r),Fr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=M({},r,{value:void 0}),Fr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Fr("invalid",e)}for(a in be(n,o),u=o)if(u.hasOwnProperty(a)){var c=u[a];"style"===a?ge(e,c):"dangerouslySetInnerHTML"===a?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===a?"string"===typeof c?("textarea"!==n||""!==c)&&fe(e,c):"number"===typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(l.hasOwnProperty(a)?null!=c&&"onScroll"===a&&Fr("scroll",e):null!=c&&y(e,a,c,s))}switch(n){case"input":K(e),J(e,r,!1);break;case"textarea":K(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+V(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Kl(t),null;case 6:if(e&&null!=t.stateNode)Il(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(i(166));if(n=Yi($i.current),Yi(Ki.current),fi(t)){if(r=t.stateNode,n=t.memoizedProps,r[po]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Zr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Zr(r.nodeValue,n,0!==(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[po]=t,t.stateNode=r}return Kl(t),null;case 13:if(Co(ea),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&0!==(1&t.mode)&&0===(128&t.flags))pi(),hi(),t.flags|=98560,a=!1;else if(a=fi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[po]=t}else hi(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Kl(t),a=!1}else null!==ai&&(au(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&ea.current)?0===Is&&(Is=3):mu())),null!==t.updateQueue&&(t.flags|=4),Kl(t),null);case 4:return Gi(),Al(e,t),null===e&&Ur(t.stateNode.containerInfo),Kl(t),null;case 10:return Ti(t.type._context),Kl(t),null;case 19:if(Co(ea),null===(a=t.memoizedState))return Kl(t),null;if(r=0!==(128&t.flags),null===(s=a.rendering))if(r)ql(a,!1);else{if(0!==Is||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(s=ta(e))){for(t.flags|=128,ql(a,!1),null!==(r=s.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(s=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=s.childLanes,a.lanes=s.lanes,a.child=s.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=s.memoizedProps,a.memoizedState=s.memoizedState,a.updateQueue=s.updateQueue,a.type=s.type,e=s.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return No(ea,1&ea.current|2),t.child}e=e.sibling}null!==a.tail&&Ge()>Us&&(t.flags|=128,r=!0,ql(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ta(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),ql(a,!0),null===a.tail&&"hidden"===a.tailMode&&!s.alternate&&!ii)return Kl(t),null}else 2*Ge()-a.renderingStartTime>Us&&1073741824!==n&&(t.flags|=128,r=!0,ql(a,!1),t.lanes=4194304);a.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=a.last)?n.sibling=s:t.child=s,a.last=s)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ge(),t.sibling=null,n=ea.current,No(ea,r?1&n|2:1&n),t):(Kl(t),null);case 22:case 23:return du(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&As)&&(Kl(t),6&t.subtreeFlags&&(t.flags|=8192)):Kl(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function $l(e,t){switch(ni(t),t.tag){case 1:return jo(t.type)&&Io(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Gi(),Co(Po),Co(Oo),ra(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ji(t),null;case 13:if(Co(ea),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));hi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Co(ea),null;case 4:return Gi(),null;case 10:return Ti(t.type._context),null;case 22:case 23:return du(),null;default:return null}}Ll=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Al=function(){},jl=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Yi(Ki.current);var i,a=null;switch(n){case"input":o=Y(e,o),r=Y(e,r),a=[];break;case"select":o=M({},o,{value:void 0}),r=M({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(e.onclick=Jr)}for(c in be(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var s=o[c];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(l.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(i in s)!s.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&s[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(a||(a=[]),a.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(a=a||[]).push(c,u)):"children"===c?"string"!==typeof u&&"number"!==typeof u||(a=a||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(l.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Fr("scroll",e),a||s===u||(a=[])):(a=a||[]).push(c,u))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},Il=function(e,t,n,r){n!==r&&(t.flags|=4)};var Yl=!1,Xl=!1,Gl="function"===typeof WeakSet?WeakSet:Set,Zl=null;function Jl(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Eu(e,t,r)}else n.current=null}function es(e,t,n){try{n()}catch(r){Eu(e,t,r)}}var ts=!1;function ns(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&es(t,n,i)}o=o.next}while(o!==r)}}function rs(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function os(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function is(e){var t=e.alternate;null!==t&&(e.alternate=null,is(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[po],delete t[ho],delete t[go],delete t[vo],delete t[bo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function as(e){return 5===e.tag||3===e.tag||4===e.tag}function ls(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||as(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ss(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(ss(e,t,n),e=e.sibling;null!==e;)ss(e,t,n),e=e.sibling}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}var cs=null,ds=!1;function fs(e,t,n){for(n=n.child;null!==n;)ps(e,t,n),n=n.sibling}function ps(e,t,n){if(it&&"function"===typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(l){}switch(n.tag){case 5:Xl||Jl(n,t);case 6:var r=cs,o=ds;cs=null,fs(e,t,n),ds=o,null!==(cs=r)&&(ds?(e=cs,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):cs.removeChild(n.stateNode));break;case 18:null!==cs&&(ds?(e=cs,n=n.stateNode,8===e.nodeType?so(e.parentNode,n):1===e.nodeType&&so(e,n),Ut(e)):so(cs,n.stateNode));break;case 4:r=cs,o=ds,cs=n.stateNode.containerInfo,ds=!0,fs(e,t,n),cs=r,ds=o;break;case 0:case 11:case 14:case 15:if(!Xl&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!==(2&i)||0!==(4&i))&&es(n,t,a),o=o.next}while(o!==r)}fs(e,t,n);break;case 1:if(!Xl&&(Jl(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Eu(n,t,l)}fs(e,t,n);break;case 21:fs(e,t,n);break;case 22:1&n.mode?(Xl=(r=Xl)||null!==n.memoizedState,fs(e,t,n),Xl=r):fs(e,t,n);break;default:fs(e,t,n)}}function hs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Gl),t.forEach((function(t){var r=Tu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ms(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:cs=s.stateNode,ds=!1;break e;case 3:case 4:cs=s.stateNode.containerInfo,ds=!0;break e}s=s.return}if(null===cs)throw Error(i(160));ps(a,l,o),cs=null,ds=!1;var u=o.alternate;null!==u&&(u.return=null),o.return=null}catch(c){Eu(o,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gs(t,e),t=t.sibling}function gs(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ms(t,e),vs(e),4&r){try{ns(3,e,e.return),rs(3,e)}catch(g){Eu(e,e.return,g)}try{ns(5,e,e.return)}catch(g){Eu(e,e.return,g)}}break;case 1:ms(t,e),vs(e),512&r&&null!==n&&Jl(n,n.return);break;case 5:if(ms(t,e),vs(e),512&r&&null!==n&&Jl(n,n.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(g){Eu(e,e.return,g)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,l=null!==n?n.memoizedProps:a,s=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===s&&"radio"===a.type&&null!=a.name&&G(o,a),ye(s,l);var c=ye(s,a);for(l=0;l<u.length;l+=2){var d=u[l],f=u[l+1];"style"===d?ge(o,f):"dangerouslySetInnerHTML"===d?de(o,f):"children"===d?fe(o,f):y(o,d,f,c)}switch(s){case"input":Z(o,a);break;case"textarea":ie(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ne(o,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[ho]=a}catch(g){Eu(e,e.return,g)}}break;case 6:if(ms(t,e),vs(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(g){Eu(e,e.return,g)}}break;case 3:if(ms(t,e),vs(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ut(t.containerInfo)}catch(g){Eu(e,e.return,g)}break;case 4:default:ms(t,e),vs(e);break;case 13:ms(t,e),vs(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Hs=Ge())),4&r&&hs(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Xl=(c=Xl)||d,ms(t,e),Xl=c):ms(t,e),vs(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!==(1&e.mode))for(Zl=e,d=e.child;null!==d;){for(f=Zl=d;null!==Zl;){switch(h=(p=Zl).child,p.tag){case 0:case 11:case 14:case 15:ns(4,p,p.return);break;case 1:Jl(p,p.return);var m=p.stateNode;if("function"===typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(g){Eu(r,n,g)}}break;case 5:Jl(p,p.return);break;case 22:if(null!==p.memoizedState){ws(f);continue}}null!==h?(h.return=p,Zl=h):ws(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,c?"function"===typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(s=f.stateNode,l=void 0!==(u=f.memoizedProps.style)&&null!==u&&u.hasOwnProperty("display")?u.display:null,s.style.display=me("display",l))}catch(g){Eu(e,e.return,g)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(g){Eu(e,e.return,g)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:ms(t,e),vs(e),4&r&&hs(e);case 21:}}function vs(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(as(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(fe(o,""),r.flags&=-33),us(e,ls(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;ss(e,ls(e),a);break;default:throw Error(i(161))}}catch(l){Eu(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bs(e,t,n){Zl=e,ys(e,t,n)}function ys(e,t,n){for(var r=0!==(1&e.mode);null!==Zl;){var o=Zl,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Yl;if(!a){var l=o.alternate,s=null!==l&&null!==l.memoizedState||Xl;l=Yl;var u=Xl;if(Yl=a,(Xl=s)&&!u)for(Zl=o;null!==Zl;)s=(a=Zl).child,22===a.tag&&null!==a.memoizedState?ks(o):null!==s?(s.return=a,Zl=s):ks(o);for(;null!==i;)Zl=i,ys(i,t,n),i=i.sibling;Zl=o,Yl=l,Xl=u}_s(e)}else 0!==(8772&o.subtreeFlags)&&null!==i?(i.return=o,Zl=i):_s(e)}}function _s(e){for(;null!==Zl;){var t=Zl;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Xl||rs(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Xl)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:nl(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Vi(t,a,r);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Vi(t,l,n)}break;case 5:var s=t.stateNode;if(null===n&&4&t.flags){n=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Ut(f)}}}break;default:throw Error(i(163))}Xl||512&t.flags&&os(t)}catch(p){Eu(t,t.return,p)}}if(t===e){Zl=null;break}if(null!==(n=t.sibling)){n.return=t.return,Zl=n;break}Zl=t.return}}function ws(e){for(;null!==Zl;){var t=Zl;if(t===e){Zl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Zl=n;break}Zl=t.return}}function ks(e){for(;null!==Zl;){var t=Zl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rs(4,t)}catch(s){Eu(t,n,s)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(s){Eu(t,o,s)}}var i=t.return;try{os(t)}catch(s){Eu(t,i,s)}break;case 5:var a=t.return;try{os(t)}catch(s){Eu(t,a,s)}}}catch(s){Eu(t,t.return,s)}if(t===e){Zl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Zl=l;break}Zl=t.return}}var xs,Es=Math.ceil,Ss=_.ReactCurrentDispatcher,Cs=_.ReactCurrentOwner,Ns=_.ReactCurrentBatchConfig,Ts=0,Os=null,Ps=null,Ls=0,As=0,js=So(0),Is=0,Ds=null,Rs=0,Ms=0,zs=0,Fs=null,Bs=null,Hs=0,Us=1/0,Ws=null,Vs=!1,qs=null,Ks=null,Qs=!1,$s=null,Ys=0,Xs=0,Gs=null,Zs=-1,Js=0;function eu(){return 0!==(6&Ts)?Ge():-1!==Zs?Zs:Zs=Ge()}function tu(e){return 0===(1&e.mode)?1:0!==(2&Ts)&&0!==Ls?Ls&-Ls:null!==gi.transition?(0===Js&&(Js=mt()),Js):0!==(e=yt)?e:e=void 0===(e=window.event)?16:Xt(e.type)}function nu(e,t,n,r){if(50<Xs)throw Xs=0,Gs=null,Error(i(185));vt(e,n,r),0!==(2&Ts)&&e===Os||(e===Os&&(0===(2&Ts)&&(Ms|=n),4===Is&&lu(e,Ls)),ru(e,r),1===n&&0===Ts&&0===(1&t.mode)&&(Us=Ge()+500,Bo&&Wo()))}function ru(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),l=1<<a,s=o[a];-1===s?0!==(l&n)&&0===(l&r)||(o[a]=pt(l,t)):s<=t&&(e.expiredLanes|=l),i&=~l}}(e,t);var r=ft(e,e===Os?Ls:0);if(0===r)null!==n&&$e(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&$e(n),1===t)0===e.tag?function(e){Bo=!0,Uo(e)}(su.bind(null,e)):Uo(su.bind(null,e)),ao((function(){0===(6&Ts)&&Wo()})),n=null;else{switch(_t(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Ou(n,ou.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ou(e,t){if(Zs=-1,Js=0,0!==(6&Ts))throw Error(i(327));var n=e.callbackNode;if(ku()&&e.callbackNode!==n)return null;var r=ft(e,e===Os?Ls:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=gu(e,r);else{t=r;var o=Ts;Ts|=2;var a=hu();for(Os===e&&Ls===t||(Ws=null,Us=Ge()+500,fu(e,t));;)try{bu();break}catch(s){pu(e,s)}Ni(),Ss.current=a,Ts=o,null!==Ps?t=0:(Os=null,Ls=0,t=Is)}if(0!==t){if(2===t&&(0!==(o=ht(e))&&(r=o,t=iu(e,o))),1===t)throw n=Ds,fu(e,0),lu(e,r),ru(e,Ge()),n;if(6===t)lu(e,r);else{if(o=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!lr(i(),o))return!1}catch(l){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}(o)&&(2===(t=gu(e,r))&&(0!==(a=ht(e))&&(r=a,t=iu(e,a))),1===t))throw n=Ds,fu(e,0),lu(e,r),ru(e,Ge()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:wu(e,Bs,Ws);break;case 3:if(lu(e,r),(130023424&r)===r&&10<(t=Hs+500-Ge())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){eu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(wu.bind(null,e,Bs,Ws),t);break}wu(e,Bs,Ws);break;case 4:if(lu(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var l=31-at(r);a=1<<l,(l=t[l])>o&&(o=l),r&=~a}if(r=o,10<(r=(120>(r=Ge()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Es(r/1960))-r)){e.timeoutHandle=ro(wu.bind(null,e,Bs,Ws),r);break}wu(e,Bs,Ws);break;default:throw Error(i(329))}}}return ru(e,Ge()),e.callbackNode===n?ou.bind(null,e):null}function iu(e,t){var n=Fs;return e.current.memoizedState.isDehydrated&&(fu(e,t).flags|=256),2!==(e=gu(e,t))&&(t=Bs,Bs=n,null!==t&&au(t)),e}function au(e){null===Bs?Bs=e:Bs.push.apply(Bs,e)}function lu(e,t){for(t&=~zs,t&=~Ms,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function su(e){if(0!==(6&Ts))throw Error(i(327));ku();var t=ft(e,0);if(0===(1&t))return ru(e,Ge()),null;var n=gu(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=iu(e,r))}if(1===n)throw n=Ds,fu(e,0),lu(e,t),ru(e,Ge()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wu(e,Bs,Ws),ru(e,Ge()),null}function uu(e,t){var n=Ts;Ts|=1;try{return e(t)}finally{0===(Ts=n)&&(Us=Ge()+500,Bo&&Wo())}}function cu(e){null!==$s&&0===$s.tag&&0===(6&Ts)&&ku();var t=Ts;Ts|=1;var n=Ns.transition,r=yt;try{if(Ns.transition=null,yt=1,e)return e()}finally{yt=r,Ns.transition=n,0===(6&(Ts=t))&&Wo()}}function du(){As=js.current,Co(js)}function fu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Ps)for(n=Ps.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Io();break;case 3:Gi(),Co(Po),Co(Oo),ra();break;case 5:Ji(r);break;case 4:Gi();break;case 13:case 19:Co(ea);break;case 10:Ti(r.type._context);break;case 22:case 23:du()}n=n.return}if(Os=e,Ps=e=ju(e.current,null),Ls=As=t,Is=0,Ds=null,zs=Ms=Rs=0,Bs=Fs=null,null!==Ai){for(t=0;t<Ai.length;t++)if(null!==(r=(n=Ai[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Ai=null}return e}function pu(e,t){for(;;){var n=Ps;try{if(Ni(),oa.current=Za,ca){for(var r=la.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ca=!1}if(aa=0,ua=sa=la=null,da=!1,fa=0,Cs.current=null,null===n||null===n.return){Is=1,Ds=t,Ps=null;break}e:{var a=e,l=n.return,s=n,u=t;if(t=Ls,s.flags|=32768,null!==u&&"object"===typeof u&&"function"===typeof u.then){var c=u,d=s,f=d.tag;if(0===(1&d.mode)&&(0===f||11===f||15===f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=gl(l);if(null!==h){h.flags&=-257,vl(h,l,s,0,t),1&h.mode&&ml(a,c,t),u=c;var m=(t=h).updateQueue;if(null===m){var g=new Set;g.add(u),t.updateQueue=g}else m.add(u);break e}if(0===(1&t)){ml(a,c,t),mu();break e}u=Error(i(426))}else if(ii&&1&s.mode){var v=gl(l);if(null!==v){0===(65536&v.flags)&&(v.flags|=256),vl(v,l,s,0,t),mi(ul(u,s));break e}}a=u=ul(u,s),4!==Is&&(Is=2),null===Fs?Fs=[a]:Fs.push(a),a=l;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Ui(a,pl(0,u,t));break e;case 1:s=u;var b=a.type,y=a.stateNode;if(0===(128&a.flags)&&("function"===typeof b.getDerivedStateFromError||null!==y&&"function"===typeof y.componentDidCatch&&(null===Ks||!Ks.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t,Ui(a,hl(a,s,t));break e}}a=a.return}while(null!==a)}_u(n)}catch(_){t=_,Ps===n&&null!==n&&(Ps=n=n.return);continue}break}}function hu(){var e=Ss.current;return Ss.current=Za,null===e?Za:e}function mu(){0!==Is&&3!==Is&&2!==Is||(Is=4),null===Os||0===(268435455&Rs)&&0===(268435455&Ms)||lu(Os,Ls)}function gu(e,t){var n=Ts;Ts|=2;var r=hu();for(Os===e&&Ls===t||(Ws=null,fu(e,t));;)try{vu();break}catch(o){pu(e,o)}if(Ni(),Ts=n,Ss.current=r,null!==Ps)throw Error(i(261));return Os=null,Ls=0,Is}function vu(){for(;null!==Ps;)yu(Ps)}function bu(){for(;null!==Ps&&!Ye();)yu(Ps)}function yu(e){var t=xs(e.alternate,e,As);e.memoizedProps=e.pendingProps,null===t?_u(e):Ps=t,Cs.current=null}function _u(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Ql(n,t,As)))return void(Ps=n)}else{if(null!==(n=$l(n,t)))return n.flags&=32767,void(Ps=n);if(null===e)return Is=6,void(Ps=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Ps=t);Ps=t=e}while(null!==t);0===Is&&(Is=5)}function wu(e,t,n){var r=yt,o=Ns.transition;try{Ns.transition=null,yt=1,function(e,t,n,r){do{ku()}while(null!==$s);if(0!==(6&Ts))throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===Os&&(Ps=Os=null,Ls=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Qs||(Qs=!0,Ou(tt,(function(){return ku(),null}))),a=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||a){a=Ns.transition,Ns.transition=null;var l=yt;yt=1;var s=Ts;Ts|=4,Cs.current=null,function(e,t){if(eo=Vt,pr(e=fr())){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 o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(w){n=null;break e}var l=0,s=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==o&&3!==f.nodeType||(s=l+o),f!==a||0!==r&&3!==f.nodeType||(u=l+r),3===f.nodeType&&(l+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++c===o&&(s=l),p===a&&++d===r&&(u=l),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===s||-1===u?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},Vt=!1,Zl=t;null!==Zl;)if(e=(t=Zl).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Zl=e;else for(;null!==Zl;){t=Zl;try{var m=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,v=m.memoizedState,b=t.stateNode,y=b.getSnapshotBeforeUpdate(t.elementType===t.type?g:nl(t.type,g),v);b.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var _=t.stateNode.containerInfo;1===_.nodeType?_.textContent="":9===_.nodeType&&_.documentElement&&_.removeChild(_.documentElement);break;default:throw Error(i(163))}}catch(w){Eu(t,t.return,w)}if(null!==(e=t.sibling)){e.return=t.return,Zl=e;break}Zl=t.return}m=ts,ts=!1}(e,n),gs(n,e),hr(to),Vt=!!eo,to=eo=null,e.current=n,bs(n,e,o),Xe(),Ts=s,yt=l,Ns.transition=a}else e.current=n;if(Qs&&(Qs=!1,$s=e,Ys=o),a=e.pendingLanes,0===a&&(Ks=null),function(e){if(it&&"function"===typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),ru(e,Ge()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Vs)throw Vs=!1,e=qs,qs=null,e;0!==(1&Ys)&&0!==e.tag&&ku(),a=e.pendingLanes,0!==(1&a)?e===Gs?Xs++:(Xs=0,Gs=e):Xs=0,Wo()}(e,t,n,r)}finally{Ns.transition=o,yt=r}return null}function ku(){if(null!==$s){var e=_t(Ys),t=Ns.transition,n=yt;try{if(Ns.transition=null,yt=16>e?16:e,null===$s)var r=!1;else{if(e=$s,$s=null,Ys=0,0!==(6&Ts))throw Error(i(331));var o=Ts;for(Ts|=4,Zl=e.current;null!==Zl;){var a=Zl,l=a.child;if(0!==(16&Zl.flags)){var s=a.deletions;if(null!==s){for(var u=0;u<s.length;u++){var c=s[u];for(Zl=c;null!==Zl;){var d=Zl;switch(d.tag){case 0:case 11:case 15:ns(8,d,a)}var f=d.child;if(null!==f)f.return=d,Zl=f;else for(;null!==Zl;){var p=(d=Zl).sibling,h=d.return;if(is(d),d===c){Zl=null;break}if(null!==p){p.return=h,Zl=p;break}Zl=h}}}var m=a.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}Zl=a}}if(0!==(2064&a.subtreeFlags)&&null!==l)l.return=a,Zl=l;else e:for(;null!==Zl;){if(0!==(2048&(a=Zl).flags))switch(a.tag){case 0:case 11:case 15:ns(9,a,a.return)}var b=a.sibling;if(null!==b){b.return=a.return,Zl=b;break e}Zl=a.return}}var y=e.current;for(Zl=y;null!==Zl;){var _=(l=Zl).child;if(0!==(2064&l.subtreeFlags)&&null!==_)_.return=l,Zl=_;else e:for(l=y;null!==Zl;){if(0!==(2048&(s=Zl).flags))try{switch(s.tag){case 0:case 11:case 15:rs(9,s)}}catch(k){Eu(s,s.return,k)}if(s===l){Zl=null;break e}var w=s.sibling;if(null!==w){w.return=s.return,Zl=w;break e}Zl=s.return}}if(Ts=o,Wo(),it&&"function"===typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(k){}r=!0}return r}finally{yt=n,Ns.transition=t}}return!1}function xu(e,t,n){e=Bi(e,t=pl(0,t=ul(n,t),1),1),t=eu(),null!==e&&(vt(e,1,t),ru(e,t))}function Eu(e,t,n){if(3===e.tag)xu(e,e,n);else for(;null!==t;){if(3===t.tag){xu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Ks||!Ks.has(r))){t=Bi(t,e=hl(t,e=ul(n,e),1),1),e=eu(),null!==t&&(vt(t,1,e),ru(t,e));break}}t=t.return}}function Su(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=eu(),e.pingedLanes|=e.suspendedLanes&n,Os===e&&(Ls&n)===n&&(4===Is||3===Is&&(130023424&Ls)===Ls&&500>Ge()-Hs?fu(e,0):zs|=n),ru(e,t)}function Cu(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var n=eu();null!==(e=Di(e,t))&&(vt(e,t,n),ru(e,n))}function Nu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Cu(e,n)}function Tu(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Cu(e,n)}function Ou(e,t){return Qe(e,t)}function Pu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Lu(e,t,n,r){return new Pu(e,t,n,r)}function Au(e){return!(!(e=e.prototype)||!e.isReactComponent)}function ju(e,t){var n=e.alternate;return null===n?((n=Lu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Iu(e,t,n,r,o,a){var l=2;if(r=e,"function"===typeof e)Au(e)&&(l=1);else if("string"===typeof e)l=5;else e:switch(e){case x:return Du(n.children,o,a,t);case E:l=8,o|=8;break;case S:return(e=Lu(12,n,t,2|o)).elementType=S,e.lanes=a,e;case O:return(e=Lu(13,n,t,o)).elementType=O,e.lanes=a,e;case P:return(e=Lu(19,n,t,o)).elementType=P,e.lanes=a,e;case j:return Ru(n,o,a,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case C:l=10;break e;case N:l=9;break e;case T:l=11;break e;case L:l=14;break e;case A:l=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Lu(l,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Du(e,t,n,r){return(e=Lu(7,e,r,t)).lanes=n,e}function Ru(e,t,n,r){return(e=Lu(22,e,r,t)).elementType=j,e.lanes=n,e.stateNode={isHidden:!1},e}function Mu(e,t,n){return(e=Lu(6,e,null,t)).lanes=n,e}function zu(e,t,n){return(t=Lu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fu(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Bu(e,t,n,r,o,i,a,l,s){return e=new Fu(e,t,n,l,s),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Lu(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mi(i),e}function Hu(e){if(!e)return To;e:{if(Ue(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(jo(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(jo(n))return Ro(e,n,t)}return t}function Uu(e,t,n,r,o,i,a,l,s){return(e=Bu(n,r,!0,e,0,i,0,l,s)).context=Hu(null),n=e.current,(i=Fi(r=eu(),o=tu(n))).callback=void 0!==t&&null!==t?t:null,Bi(n,i,o),e.current.lanes=o,vt(e,o,r),ru(e,r),e}function Wu(e,t,n,r){var o=t.current,i=eu(),a=tu(o);return n=Hu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Fi(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Bi(o,t,a))&&(nu(e,o,a,i),Hi(e,o,a)),a}function Vu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function qu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Ku(e,t){qu(e,t),(e=e.alternate)&&qu(e,t)}xs=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Po.current)yl=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return yl=!1,function(e,t,n){switch(t.tag){case 3:Ol(t),hi();break;case 5:Zi(t);break;case 1:jo(t.type)&&Mo(t);break;case 4:Xi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;No(xi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(No(ea,1&ea.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Ml(e,t,n):(No(ea,1&ea.current),null!==(e=Vl(e,t,n))?e.sibling:null);No(ea,1&ea.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Ul(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),No(ea,ea.current),r)break;return null;case 22:case 23:return t.lanes=0,El(e,t,n)}return Vl(e,t,n)}(e,t,n);yl=0!==(131072&e.flags)}else yl=!1,ii&&0!==(1048576&t.flags)&&ei(t,Qo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Wl(e,t),e=t.pendingProps;var o=Ao(t,Oo.current);Pi(t,n),o=ga(null,t,r,e,o,n);var a=va();return t.flags|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,jo(r)?(a=!0,Mo(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Mi(t),o.updater=ol,t.stateNode=o,o._reactInternals=t,sl(t,r,e,n),t=Tl(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),_l(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Wl(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"===typeof e)return Au(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===T)return 11;if(e===L)return 14}return 2}(r),e=nl(r,e),o){case 0:t=Cl(null,t,r,e,n);break e;case 1:t=Nl(null,t,r,e,n);break e;case 11:t=wl(null,t,r,e,n);break e;case 14:t=kl(null,t,r,nl(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Cl(e,t,r,o=t.elementType===r?o:nl(r,o),n);case 1:return r=t.type,o=t.pendingProps,Nl(e,t,r,o=t.elementType===r?o:nl(r,o),n);case 3:e:{if(Ol(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,zi(e,t),Wi(t,r,null,n);var l=t.memoizedState;if(r=l.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Pl(e,t,r,n,o=ul(Error(i(423)),t));break e}if(r!==o){t=Pl(e,t,r,n,o=ul(Error(i(424)),t));break e}for(oi=uo(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=ki(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(hi(),r===o){t=Vl(e,t,n);break e}_l(e,t,r,n)}t=t.child}return t;case 5:return Zi(t),null===e&&ci(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,l=o.children,no(r,o)?l=null:null!==a&&no(r,a)&&(t.flags|=32),Sl(e,t),_l(e,t,l,n),t.child;case 6:return null===e&&ci(t),null;case 13:return Ml(e,t,n);case 4:return Xi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=wi(t,null,r,n):_l(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,wl(e,t,r,o=t.elementType===r?o:nl(r,o),n);case 7:return _l(e,t,t.pendingProps,n),t.child;case 8:case 12:return _l(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,l=o.value,No(xi,r._currentValue),r._currentValue=l,null!==a)if(lr(a.value,l)){if(a.children===o.children&&!Po.current){t=Vl(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var s=a.dependencies;if(null!==s){l=a.child;for(var u=s.firstContext;null!==u;){if(u.context===r){if(1===a.tag){(u=Fi(-1,n&-n)).tag=2;var c=a.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}a.lanes|=n,null!==(u=a.alternate)&&(u.lanes|=n),Oi(a.return,n,t),s.lanes|=n;break}u=u.next}}else if(10===a.tag)l=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(l=a.return))throw Error(i(341));l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),Oi(l,n,t),l=a.sibling}else l=a.child;if(null!==l)l.return=a;else for(l=a;null!==l;){if(l===t){l=null;break}if(null!==(a=l.sibling)){a.return=l.return,l=a;break}l=l.return}a=l}_l(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Pi(t,n),r=r(o=Li(o)),t.flags|=1,_l(e,t,r,n),t.child;case 14:return o=nl(r=t.type,t.pendingProps),kl(e,t,r,o=nl(r.type,o),n);case 15:return xl(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:nl(r,o),Wl(e,t),t.tag=1,jo(r)?(e=!0,Mo(t)):e=!1,Pi(t,n),al(t,r,o),sl(t,r,o,n),Tl(null,t,r,!0,e,n);case 19:return Ul(e,t,n);case 22:return El(e,t,n)}throw Error(i(156,t.tag))};var Qu="function"===typeof reportError?reportError:function(e){console.error(e)};function $u(e){this._internalRoot=e}function Yu(e){this._internalRoot=e}function Xu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Gu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Zu(){}function Ju(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"===typeof o){var l=o;o=function(){var e=Vu(a);l.call(e)}}Wu(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"===typeof r){var i=r;r=function(){var e=Vu(a);i.call(e)}}var a=Uu(t,r,e,0,null,!1,0,"",Zu);return e._reactRootContainer=a,e[mo]=a.current,Ur(8===e.nodeType?e.parentNode:e),cu(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"===typeof r){var l=r;r=function(){var e=Vu(s);l.call(e)}}var s=Bu(e,0,!1,null,0,!1,0,"",Zu);return e._reactRootContainer=s,e[mo]=s.current,Ur(8===e.nodeType?e.parentNode:e),cu((function(){Wu(t,s,n,r)})),s}(n,t,e,o,r);return Vu(a)}Yu.prototype.render=$u.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Wu(e,t,null,null)},Yu.prototype.unmount=$u.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cu((function(){Wu(null,e,null,null)})),t[mo]=null}},Yu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<jt.length&&0!==t&&t<jt[n].priority;n++);jt.splice(n,0,e),0===n&&Mt(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(bt(t,1|n),ru(t,Ge()),0===(6&Ts)&&(Us=Ge()+500,Wo()))}break;case 13:cu((function(){var t=Di(e,1);if(null!==t){var n=eu();nu(t,e,1,n)}})),Ku(e,1)}},kt=function(e){if(13===e.tag){var t=Di(e,134217728);if(null!==t)nu(t,e,134217728,eu());Ku(e,134217728)}},xt=function(e){if(13===e.tag){var t=tu(e),n=Di(e,t);if(null!==n)nu(n,e,t,eu());Ku(e,t)}},Et=function(){return yt},St=function(e,t){var n=yt;try{return yt=e,t()}finally{yt=n}},ke=function(e,t,n){switch(t){case"input":if(Z(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=ko(r);if(!o)throw Error(i(90));Q(r),Z(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Te=uu,Oe=cu;var ec={usingClientEntryPoint:!1,Events:[_o,wo,ko,Ce,Ne,uu]},tc={findFiberByHostInstance:yo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nc={bundleType:tc.bundleType,version:tc.version,rendererPackageName:tc.rendererPackageName,rendererConfig:tc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:_.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=qe(e))?null:e.stateNode},findFiberByHostInstance:tc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var rc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rc.isDisabled&&rc.supportsFiber)try{ot=rc.inject(nc),it=rc}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ec,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Xu(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Xu(e))throw Error(i(299));var n=!1,r="",o=Qu;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Bu(e,1,!1,null,0,n,0,r,o),e[mo]=t.current,Ur(8===e.nodeType?e.parentNode:e),new $u(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=qe(t))?null:e.stateNode},t.flushSync=function(e){return cu(e)},t.hydrate=function(e,t,n){if(!Gu(t))throw Error(i(200));return Ju(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Xu(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",l=Qu;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=Uu(t,null,e,1,null!=n?n:null,o,0,a,l),e[mo]=t.current,Ur(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Yu(t)},t.render=function(e,t,n){if(!Gu(t))throw Error(i(200));return Ju(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Gu(e))throw Error(i(40));return!!e._reactRootContainer&&(cu((function(){Ju(null,null,e,!1,(function(){e._reactRootContainer=null,e[mo]=null}))})),!0)},t.unstable_batchedUpdates=uu,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Gu(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return Ju(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},391:(e,t,n)=>{"use strict";var r=n(950);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},950:(e,t,n)=>{"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(730)},153:(e,t,n)=>{"use strict";var r=n(43),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,i={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,r)&&!s.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:u,ref:c,props:i,_owner:l.current}}t.Fragment=i,t.jsx=u,t.jsxs=u},202:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=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"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function b(){}function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=v.prototype;var _=y.prototype=new b;_.constructor=y,m(_,v.prototype),_.isPureReactComponent=!0;var w=Array.isArray,k=Object.prototype.hasOwnProperty,x={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,r){var o,i={},a=null,l=null;if(null!=t)for(o in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)k.call(t,o)&&!E.hasOwnProperty(o)&&(i[o]=t[o]);var s=arguments.length-2;if(1===s)i.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];i.children=u}if(e&&e.defaultProps)for(o in s=e.defaultProps)void 0===i[o]&&(i[o]=s[o]);return{$$typeof:n,type:e,key:a,ref:l,props:i,_owner:x.current}}function C(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var N=/\/+/g;function T(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function O(e,t,o,i,a){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s=!1;if(null===e)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case n:case r:s=!0}}if(s)return a=a(s=e),e=""===i?"."+T(s,0):i,w(a)?(o="",null!=e&&(o=e.replace(N,"$&/")+"/"),O(a,t,o,"",(function(e){return e}))):null!=a&&(C(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||s&&s.key===a.key?"":(""+a.key).replace(N,"$&/")+"/")+e)),t.push(a)),1;if(s=0,i=""===i?".":i+":",w(e))for(var u=0;u<e.length;u++){var c=i+T(l=e[u],u);s+=O(l,t,o,c,a)}else if(c=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"===typeof c)for(e=c.call(e),u=0;!(l=e.next()).done;)s+=O(l=l.value,t,o,c=i+T(l,u++),a);else if("object"===l)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 s}function P(e,t,n){if(null==e)return e;var r=[],o=0;return O(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function L(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 A={current:null},j={transition:null},I={ReactCurrentDispatcher:A,ReactCurrentBatchConfig:j,ReactCurrentOwner:x};function D(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:P,forEach:function(e,t,n){P(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return P(e,(function(){t++})),t},toArray:function(e){return P(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=v,t.Fragment=o,t.Profiler=a,t.PureComponent=y,t.StrictMode=i,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,t.act=D,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=m({},e.props),i=e.key,a=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,l=x.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)k.call(t,u)&&!E.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];o.children=s}return{$$typeof:n,type:e.type,key:i,ref:a,props:o,_owner:l}},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:L}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=j.transition;j.transition={};try{e()}finally{j.transition=t}},t.unstable_act=D,t.useCallback=function(e,t){return A.current.useCallback(e,t)},t.useContext=function(e){return A.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return A.current.useDeferredValue(e)},t.useEffect=function(e,t){return A.current.useEffect(e,t)},t.useId=function(){return A.current.useId()},t.useImperativeHandle=function(e,t,n){return A.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return A.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return A.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return A.current.useMemo(e,t)},t.useReducer=function(e,t,n){return A.current.useReducer(e,t,n)},t.useRef=function(e){return A.current.useRef(e)},t.useState=function(e){return A.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return A.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return A.current.useTransition()},t.version="18.3.1"},43:(e,t,n)=>{"use strict";e.exports=n(202)},579:(e,t,n)=>{"use strict";e.exports=n(153)},234:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(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,o=e.length,a=o>>>1;r<a;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>i(s,n))u<o&&0>i(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<o&&0>i(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}var u=[],c=[],d=1,f=null,p=3,h=!1,m=!1,g=!1,v="function"===typeof setTimeout?setTimeout:null,b="function"===typeof clearTimeout?clearTimeout:null,y="undefined"!==typeof setImmediate?setImmediate:null;function _(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function w(e){if(g=!1,_(e),!m)if(null!==r(u))m=!0,j(k);else{var t=r(c);null!==t&&I(w,t.startTime-e)}}function k(e,n){m=!1,g&&(g=!1,b(C),C=-1),h=!0;var i=p;try{for(_(n),f=r(u);null!==f&&(!(f.expirationTime>n)||e&&!O());){var a=f.callback;if("function"===typeof a){f.callback=null,p=f.priorityLevel;var l=a(f.expirationTime<=n);n=t.unstable_now(),"function"===typeof l?f.callback=l:f===r(u)&&o(u),_(n)}else o(u);f=r(u)}if(null!==f)var s=!0;else{var d=r(c);null!==d&&I(w,d.startTime-n),s=!1}return s}finally{f=null,p=i,h=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,E=!1,S=null,C=-1,N=5,T=-1;function O(){return!(t.unstable_now()-T<N)}function P(){if(null!==S){var e=t.unstable_now();T=e;var n=!0;try{n=S(!0,e)}finally{n?x():(E=!1,S=null)}}else E=!1}if("function"===typeof y)x=function(){y(P)};else if("undefined"!==typeof MessageChannel){var L=new MessageChannel,A=L.port2;L.port1.onmessage=P,x=function(){A.postMessage(null)}}else x=function(){v(P,0)};function j(e){S=e,E||(E=!0,x())}function I(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_continueExecution=function(){m||h||(m=!0,j(k))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:i,expirationTime:l=i+l,sortIndex:-1},i>a?(e.sortIndex=i,n(c,e),null===r(u)&&e===r(c)&&(g?(b(C),C=-1):g=!0,I(w,i-a))):(e.sortIndex=l,n(u,e),m||h||(m=!0,j(k))),e},t.unstable_shouldYield=O,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},853:(e,t,n)=>{"use strict";e.exports=n(234)},139:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"===typeof e||"number"===typeof e)return e;if("object"!==typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.m=e,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.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,r)=>(n.f[r](e,t),t)),[])),n.u=e=>"static/js/"+e+".204fac4a.chunk.js",n.miniCssF=e=>{},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="kh_quote:";n.l=(r,o,i,a)=>{if(e[r])e[r].push(o);else{var l,s;if(void 0!==i)for(var u=document.getElementsByTagName("script"),c=0;c<u.length;c++){var d=u[c];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==t+i){l=d;break}}l||(s=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,n.nc&&l.setAttribute("nonce",n.nc),l.setAttribute("data-webpack",t+i),l.src=r),e[r]=[o];var f=(t,n)=>{l.onerror=l.onload=null,clearTimeout(p);var o=e[r];if(delete e[r],l.parentNode&&l.parentNode.removeChild(l),o&&o.forEach((e=>e(n))),t)return t(n)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=f.bind(null,l.onerror),l.onload=f.bind(null,l.onload),s&&document.head.appendChild(l)}}})(),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="/kh_quote/",(()=>{var e={792:0};n.f.j=(t,r)=>{var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var i=new Promise(((n,r)=>o=e[t]=[n,r]));r.push(o[2]=i);var a=n.p+n.u(t),l=new Error;n.l(a,(r=>{if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;l.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",l.name="ChunkLoadError",l.type=i,l.request=a,o[1](l)}}),"chunk-"+t,t)}};var t=(t,r)=>{var o,i,a=r[0],l=r[1],s=r[2],u=0;if(a.some((t=>0!==e[t]))){for(o in l)n.o(l,o)&&(n.m[o]=l[o]);if(s)s(n)}for(t&&t(r);u<a.length;u++)i=a[u],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=self.webpackChunkkh_quote=self.webpackChunkkh_quote||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),(()=>{"use strict";var e={};n.r(e),n.d(e,{afterMain:()=>Mn,afterRead:()=>In,afterWrite:()=>Bn,applyStyles:()=>Qn,arrow:()=>pr,auto:()=>kn,basePlacements:()=>xn,beforeMain:()=>Dn,beforeRead:()=>An,beforeWrite:()=>zn,bottom:()=>yn,clippingParents:()=>Cn,computeStyles:()=>vr,createPopper:()=>$r,createPopperBase:()=>Qr,createPopperLite:()=>Yr,detectOverflow:()=>jr,end:()=>Sn,eventListeners:()=>yr,flip:()=>Ir,hide:()=>Mr,left:()=>wn,main:()=>Rn,modifierPhases:()=>Hn,offset:()=>zr,placements:()=>Ln,popper:()=>Tn,popperGenerator:()=>Kr,popperOffsets:()=>Fr,preventOverflow:()=>Br,read:()=>jn,reference:()=>On,right:()=>_n,start:()=>En,top:()=>bn,variationPlacements:()=>Pn,viewport:()=>Nn,write:()=>Fn});var t=n(43),r=n(391),o=n(139),i=n.n(o),a=n(579);const l=["xxl","xl","lg","md","sm","xs"],s="xs",u=t.createContext({prefixes:{},breakpoints:l,minBreakpoint:s}),{Consumer:c,Provider:d}=u;function f(e,n){const{prefixes:r}=(0,t.useContext)(u);return e||r[n]||n}function p(){const{breakpoints:e}=(0,t.useContext)(u);return e}function h(){const{minBreakpoint:e}=(0,t.useContext)(u);return e}const m=t.forwardRef(((e,t)=>{let{bsPrefix:n,fluid:r=!1,as:o="div",className:l,...s}=e;const u=f(n,"container"),c="string"===typeof r?"-".concat(r):"-fluid";return(0,a.jsx)(o,{ref:t,...s,className:i()(l,r?"".concat(u).concat(c):u)})}));m.displayName="Container";const g=m;n(197);function v(){return v=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},v.apply(null,arguments)}function b(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}n(740);function y(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function _(e){var t=function(e,t){if("object"!==typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===typeof t?t:String(t)}function w(e,n){return Object.keys(n).reduce((function(r,o){var i,a=r,l=a[y(o)],s=a[o],u=b(a,[y(o),o].map(_)),c=n[o],d=function(e,n,r){var o=(0,t.useRef)(void 0!==e),i=(0,t.useState)(n),a=i[0],l=i[1],s=void 0!==e,u=o.current;return o.current=s,!s&&u&&a!==n&&l(n),[s?e:a,(0,t.useCallback)((function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];r&&r.apply(void 0,[e].concat(n)),l(e)}),[r])]}(s,l,e[c]),f=d[0],p=d[1];return v({},u,((i={})[o]=f,i[c]=p,i))}),e)}function k(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function x(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}.bind(this))}function E(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}k.__suppressDeprecationWarning=!0,x.__suppressDeprecationWarning=!0,E.__suppressDeprecationWarning=!0;var S=Function.prototype.bind.call(Function.prototype.call,[].slice);function C(e,t){return S(e.querySelectorAll(t))}const N=e=>e&&"function"!==typeof e?t=>{e.current=t}:e;const T=function(e,n){return(0,t.useMemo)((()=>function(e,t){const n=N(e),r=N(t);return e=>{n&&n(e),r&&r(e)}}(e,n)),[e,n])},O=t.createContext(null);O.displayName="NavContext";const P=O,L=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return null!=e?String(e):t||null},A=t.createContext(null),j=t.createContext(null),I="data-rr-ui-";function D(e){return"".concat(I).concat(e)}const R=function(e){const n=(0,t.useRef)(e);return(0,t.useEffect)((()=>{n.current=e}),[e]),n};function M(e){const n=R(e);return(0,t.useCallback)((function(){return n.current&&n.current(...arguments)}),[n])}const z=["as","disabled"];function F(e){let{tagName:t,disabled:n,href:r,target:o,rel:i,role:a,onClick:l,tabIndex:s=0,type:u}=e;t||(t=null!=r||null!=o||null!=i?"a":"button");const c={tagName:t};if("button"===t)return[{type:u||"button",disabled:n},c];const d=e=>{(n||"a"===t&&function(e){return!e||"#"===e.trim()}(r))&&e.preventDefault(),n?e.stopPropagation():null==l||l(e)};return"a"===t&&(r||(r="#"),n&&(r=void 0)),[{role:null!=a?a:"button",disabled:void 0,tabIndex:n?void 0:s,href:r,target:"a"===t?o:void 0,"aria-disabled":n||void 0,rel:"a"===t?i:void 0,onClick:d,onKeyDown:e=>{" "===e.key&&(e.preventDefault(),d(e))}},c]}const B=t.forwardRef(((e,t)=>{let{as:n,disabled:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,z);const[i,{tagName:l}]=F(Object.assign({tagName:n,disabled:r},o));return(0,a.jsx)(l,Object.assign({},o,i,{ref:t}))}));B.displayName="Button";const H=B,U=["as","active","eventKey"];function W(e){let{key:n,onClick:r,active:o,id:i,role:a,disabled:l}=e;const s=(0,t.useContext)(A),u=(0,t.useContext)(P),c=(0,t.useContext)(j);let d=o;const f={role:a};if(u){a||"tablist"!==u.role||(f.role="tab");const e=u.getControllerId(null!=n?n:null),t=u.getControlledId(null!=n?n:null);f[D("event-key")]=n,f.id=e||i,d=null==o&&null!=n?u.activeKey===n:o,!d&&(null!=c&&c.unmountOnExit||null!=c&&c.mountOnEnter)||(f["aria-controls"]=t)}return"tab"===f.role&&(f["aria-selected"]=d,d||(f.tabIndex=-1),l&&(f.tabIndex=-1,f["aria-disabled"]=!0)),f.onClick=M((e=>{l||(null==r||r(e),null!=n&&s&&!e.isPropagationStopped()&&s(n,e))})),[f,{isActive:d}]}const V=t.forwardRef(((e,t)=>{let{as:n=H,active:r,eventKey:o}=e,i=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,U);const[l,s]=W(Object.assign({key:L(o,i.href),active:r},i));return l[D("active")]=s.isActive,(0,a.jsx)(n,Object.assign({},i,l,{ref:t}))}));V.displayName="NavItem";const q=V,K=["as","onSelect","activeKey","role","onKeyDown"];const Q=()=>{},$=D("event-key"),Y=t.forwardRef(((e,n)=>{let{as:r="div",onSelect:o,activeKey:i,role:l,onKeyDown:s}=e,u=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,K);const c=function(){const[,e]=(0,t.useReducer)((e=>!e),!1);return e}(),d=(0,t.useRef)(!1),f=(0,t.useContext)(A),p=(0,t.useContext)(j);let h,m;p&&(l=l||"tablist",i=p.activeKey,h=p.getControlledId,m=p.getControllerId);const g=(0,t.useRef)(null),v=e=>{const t=g.current;if(!t)return null;const n=C(t,"[".concat($,"]:not([aria-disabled=true])")),r=t.querySelector("[aria-selected=true]");if(!r||r!==document.activeElement)return null;const o=n.indexOf(r);if(-1===o)return null;let i=o+e;return i>=n.length&&(i=0),i<0&&(i=n.length-1),n[i]},b=(e,t)=>{null!=e&&(null==o||o(e,t),null==f||f(e,t))};(0,t.useEffect)((()=>{if(g.current&&d.current){const e=g.current.querySelector("[".concat($,"][aria-selected=true]"));null==e||e.focus()}d.current=!1}));const y=T(n,g);return(0,a.jsx)(A.Provider,{value:b,children:(0,a.jsx)(P.Provider,{value:{role:l,activeKey:L(i),getControlledId:h||Q,getControllerId:m||Q},children:(0,a.jsx)(r,Object.assign({},u,{onKeyDown:e=>{if(null==s||s(e),!p)return;let t;switch(e.key){case"ArrowLeft":case"ArrowUp":t=v(-1);break;case"ArrowRight":case"ArrowDown":t=v(1);break;default:return}var n;t&&(e.preventDefault(),b(t.dataset[(n="EventKey","".concat("rrUi").concat(n))]||null,e),d.current=!0,c())},ref:y,role:l}))})})}));Y.displayName="Nav";const X=Object.assign(Y,{Item:q}),G=t.createContext(null);G.displayName="NavbarContext";const Z=G,J=t.createContext(null);J.displayName="CardHeaderContext";const ee=J,te=t.forwardRef(((e,t)=>{let{className:n,bsPrefix:r,as:o="div",...l}=e;return r=f(r,"nav-item"),(0,a.jsx)(o,{ref:t,className:i()(n,r),...l})}));te.displayName="NavItem";const ne=te;function re(){const e=(0,t.useRef)(!0),n=(0,t.useRef)((()=>e.current));return(0,t.useEffect)((()=>(e.current=!0,()=>{e.current=!1})),[]),n.current}const oe="undefined"!==typeof n.g&&n.g.navigator&&"ReactNative"===n.g.navigator.product,ie="undefined"!==typeof document||oe?t.useLayoutEffect:t.useEffect;new WeakMap;const ae=["onKeyDown"];const le=t.forwardRef(((e,t)=>{let{onKeyDown:n}=e,r=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,ae);const[o]=F(Object.assign({tagName:"a"},r)),i=M((e=>{o.onKeyDown(e),null==n||n(e)}));return(l=r.href)&&"#"!==l.trim()&&"button"!==r.role?(0,a.jsx)("a",Object.assign({ref:t},r,{onKeyDown:n})):(0,a.jsx)("a",Object.assign({ref:t},r,o,{onKeyDown:i}));var l}));le.displayName="Anchor";const se=le,ue=t.forwardRef(((e,t)=>{let{bsPrefix:n,className:r,as:o=se,active:l,eventKey:s,disabled:u=!1,...c}=e;n=f(n,"nav-link");const[d,p]=W({key:L(s,c.href),active:l,disabled:u,...c});return(0,a.jsx)(o,{...c,...d,ref:t,disabled:u,className:i()(r,n,u&&"disabled",p.isActive&&"active")})}));ue.displayName="NavLink";const ce=ue,de=t.forwardRef(((e,n)=>{const{as:r="div",bsPrefix:o,variant:l,fill:s=!1,justify:u=!1,navbar:c,navbarScroll:d,className:p,activeKey:h,...m}=w(e,{activeKey:"onSelect"}),g=f(o,"nav");let v,b,y=!1;const _=(0,t.useContext)(Z),k=(0,t.useContext)(ee);return _?(v=_.bsPrefix,y=null==c||c):k&&({cardHeaderBsPrefix:b}=k),(0,a.jsx)(X,{as:r,ref:n,activeKey:h,className:i()(p,{[g]:!y,["".concat(v,"-nav")]:y,["".concat(v,"-nav-scroll")]:y&&d,["".concat(b,"-").concat(l)]:!!b,["".concat(g,"-").concat(l)]:!!l,["".concat(g,"-fill")]:s,["".concat(g,"-justified")]:u}),...m})}));de.displayName="Nav";const fe=Object.assign(de,{Item:ne,Link:ce}),pe=t.forwardRef(((e,t)=>{let{bsPrefix:n,className:r,as:o,...l}=e;n=f(n,"navbar-brand");const s=o||(l.href?"a":"span");return(0,a.jsx)(s,{...l,ref:t,className:i()(r,n)})}));pe.displayName="NavbarBrand";const he=pe;function me(e){return e&&e.ownerDocument||document}function ge(e,t){return function(e){var t=me(e);return t&&t.defaultView||window}(e).getComputedStyle(e,t)}var ve=/([A-Z])/g;var be=/^ms-/;function ye(e){return function(e){return e.replace(ve,"-$1").toLowerCase()}(e).replace(be,"-ms-")}var _e=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;const we=function(e,t){var n="",r="";if("string"===typeof t)return e.style.getPropertyValue(ye(t))||ge(e).getPropertyValue(ye(t));Object.keys(t).forEach((function(o){var i=t[o];i||0===i?!function(e){return!(!e||!_e.test(e))}(o)?n+=ye(o)+": "+i+";":r+=o+"("+i+") ":e.style.removeProperty(ye(o))})),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n};function ke(e,t){return ke=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ke(e,t)}var xe=n(950);const Ee=!1,Se=t.createContext(null);var Ce="unmounted",Ne="exited",Te="entering",Oe="entered",Pe="exiting",Le=function(e){var n,r;function o(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=Ne,r.appearStatus=Te):o=Oe:o=t.unmountOnExit||t.mountOnEnter?Ce:Ne,r.state={status:o},r.nextCallback=null,r}r=e,(n=o).prototype=Object.create(r.prototype),n.prototype.constructor=n,ke(n,r),o.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Ce?{status:Ne}:null};var i=o.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Te&&n!==Oe&&(t=Te):n!==Te&&n!==Oe||(t=Pe)}this.updateStatus(!1,t)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},i.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Te){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:xe.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ne&&this.setState({status:Ce})},i.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[xe.findDOMNode(this),r],i=o[0],a=o[1],l=this.getTimeouts(),s=r?l.appear:l.enter;!e&&!n||Ee?this.safeSetState({status:Oe},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:Te},(function(){t.props.onEntering(i,a),t.onTransitionEnd(s,(function(){t.safeSetState({status:Oe},(function(){t.props.onEntered(i,a)}))}))})))},i.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:xe.findDOMNode(this);t&&!Ee?(this.props.onExit(r),this.safeSetState({status:Pe},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Ne},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Ne},(function(){e.props.onExited(r)}))},i.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},i.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},i.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:xe.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},i.render=function(){var e=this.state.status;if(e===Ce)return null;var n=this.props,r=n.children,o=(n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef,b(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return t.createElement(Se.Provider,{value:null},"function"===typeof r?r(e,o):t.cloneElement(t.Children.only(r),o))},o}(t.Component);function Ae(){}Le.contextType=Se,Le.propTypes={},Le.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ae,onEntering:Ae,onEntered:Ae,onExit:Ae,onExiting:Ae,onExited:Ae},Le.UNMOUNTED=Ce,Le.EXITED=Ne,Le.ENTERING=Te,Le.ENTERED=Oe,Le.EXITING=Pe;const je=Le,Ie=!("undefined"===typeof window||!window.document||!window.document.createElement);var De=!1,Re=!1;try{var Me={get passive(){return De=!0},get once(){return Re=De=!0}};Ie&&(window.addEventListener("test",Me,Me),window.removeEventListener("test",Me,!0))}catch(lu){}const ze=function(e,t,n,r){if(r&&"boolean"!==typeof r&&!Re){var o=r.once,i=r.capture,a=n;!Re&&o&&(a=n.__once||function e(r){this.removeEventListener(t,e,i),n.call(this,r)},n.__once=a),e.addEventListener(t,a,De?r:i)}e.addEventListener(t,n,r)};const Fe=function(e,t,n,r){var o=r&&"boolean"!==typeof r?r.capture:r;e.removeEventListener(t,n,o),n.__once&&e.removeEventListener(t,n.__once,o)};const Be=function(e,t,n,r){return ze(e,t,n,r),function(){Fe(e,t,n,r)}};function He(e,t,n){void 0===n&&(n=5);var r=!1,o=setTimeout((function(){r||function(e,t,n,r){if(void 0===n&&(n=!1),void 0===r&&(r=!0),e){var o=document.createEvent("HTMLEvents");o.initEvent(t,n,r),e.dispatchEvent(o)}}(e,"transitionend",!0)}),t+n),i=Be(e,"transitionend",(function(){r=!0}),{once:!0});return function(){clearTimeout(o),i()}}function Ue(e,t,n,r){null==n&&(n=function(e){var t=we(e,"transitionDuration")||"",n=-1===t.indexOf("ms")?1e3:1;return parseFloat(t)*n}(e)||0);var o=He(e,n,r),i=Be(e,"transitionend",t);return function(){o(),i()}}function We(e,t){const n=we(e,t)||"",r=-1===n.indexOf("ms")?1e3:1;return parseFloat(n)*r}function Ve(e,t){const n=We(e,"transitionDuration"),r=We(e,"transitionDelay"),o=Ue(e,(n=>{n.target===e&&(o(),t(n))}),n+r)}const qe=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((e=>null!=e)).reduce(((e,t)=>{if("function"!==typeof t)throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?t:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}}),null)};function Ke(e){e.offsetHeight}const Qe=t.forwardRef(((e,n)=>{let{onEnter:r,onEntering:o,onEntered:i,onExit:l,onExiting:s,onExited:u,addEndListener:c,children:d,childRef:f,...p}=e;const h=(0,t.useRef)(null),m=T(h,f),g=e=>{var t;m((t=e)&&"setState"in t?xe.findDOMNode(t):null!=t?t:null)},v=e=>t=>{e&&h.current&&e(h.current,t)},b=(0,t.useCallback)(v(r),[r]),y=(0,t.useCallback)(v(o),[o]),_=(0,t.useCallback)(v(i),[i]),w=(0,t.useCallback)(v(l),[l]),k=(0,t.useCallback)(v(s),[s]),x=(0,t.useCallback)(v(u),[u]),E=(0,t.useCallback)(v(c),[c]);return(0,a.jsx)(je,{ref:n,...p,onEnter:b,onEntered:_,onEntering:y,onExit:w,onExited:x,onExiting:k,addEndListener:E,nodeRef:h,children:"function"===typeof d?(e,t)=>d(e,{...t,ref:g}):t.cloneElement(d,{ref:g})})})),$e={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function Ye(e,t){const n=t["offset".concat(e[0].toUpperCase()).concat(e.slice(1))],r=$e[e];return n+parseInt(we(t,r[0]),10)+parseInt(we(t,r[1]),10)}const Xe={[Ne]:"collapse",[Pe]:"collapsing",[Te]:"collapsing",[Oe]:"collapse show"},Ge=t.forwardRef(((e,n)=>{let{onEnter:r,onEntering:o,onEntered:l,onExit:s,onExiting:u,className:c,children:d,dimension:f="height",in:p=!1,timeout:h=300,mountOnEnter:m=!1,unmountOnExit:g=!1,appear:v=!1,getDimensionValue:b=Ye,...y}=e;const _="function"===typeof f?f():f,w=(0,t.useMemo)((()=>qe((e=>{e.style[_]="0"}),r)),[_,r]),k=(0,t.useMemo)((()=>qe((e=>{const t="scroll".concat(_[0].toUpperCase()).concat(_.slice(1));e.style[_]="".concat(e[t],"px")}),o)),[_,o]),x=(0,t.useMemo)((()=>qe((e=>{e.style[_]=null}),l)),[_,l]),E=(0,t.useMemo)((()=>qe((e=>{e.style[_]="".concat(b(_,e),"px"),Ke(e)}),s)),[s,b,_]),S=(0,t.useMemo)((()=>qe((e=>{e.style[_]=null}),u)),[_,u]);return(0,a.jsx)(Qe,{ref:n,addEndListener:Ve,...y,"aria-expanded":y.role?p:null,onEnter:w,onEntering:k,onEntered:x,onExit:E,onExiting:S,childRef:d.ref,in:p,timeout:h,mountOnEnter:m,unmountOnExit:g,appear:v,children:(e,n)=>t.cloneElement(d,{...n,className:i()(c,d.props.className,Xe[e],"width"===_&&"collapse-horizontal")})})})),Ze=Ge,Je=t.forwardRef(((e,n)=>{let{children:r,bsPrefix:o,...i}=e;o=f(o,"navbar-collapse");const l=(0,t.useContext)(Z);return(0,a.jsx)(Ze,{in:!(!l||!l.expanded),...i,children:(0,a.jsx)("div",{ref:n,className:o,children:r})})}));Je.displayName="NavbarCollapse";const et=Je,tt=t.forwardRef(((e,n)=>{let{bsPrefix:r,className:o,children:l,label:s="Toggle navigation",as:u="button",onClick:c,...d}=e;r=f(r,"navbar-toggler");const{onToggle:p,expanded:h}=(0,t.useContext)(Z)||{},m=M((e=>{c&&c(e),p&&p()}));return"button"===u&&(d.type="button"),(0,a.jsx)(u,{...d,ref:n,onClick:m,"aria-label":s,className:i()(o,r,!h&&"collapsed"),children:l||(0,a.jsx)("span",{className:"".concat(r,"-icon")})})}));tt.displayName="NavbarToggle";const nt=tt,rt=new WeakMap,ot=(e,t)=>{if(!e||!t)return;const n=rt.get(t)||new Map;rt.set(t,n);let r=n.get(e);return r||(r=t.matchMedia(e),r.refCount=0,n.set(r.media,r)),r};function it(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"undefined"===typeof window?void 0:window;const r=ot(e,n),[o,i]=(0,t.useState)((()=>!!r&&r.matches));return ie((()=>{let t=ot(e,n);if(!t)return i(!1);let r=rt.get(n);const o=()=>{i(t.matches)};return t.refCount++,t.addListener(o),o(),()=>{t.removeListener(o),t.refCount--,t.refCount<=0&&(null==r||r.delete(t.media)),t=void 0}}),[e]),o}const at=function(e){const n=Object.keys(e);function r(e,t){return e===t?t:e?"".concat(e," and ").concat(t):t}function o(t){const r=function(e){return n[Math.min(n.indexOf(e)+1,n.length-1)]}(t);let o=e[r];return o="number"===typeof o?"".concat(o-.2,"px"):"calc(".concat(o," - 0.2px)"),"(max-width: ".concat(o,")")}return function(n,i,a){let l;return"object"===typeof n?(l=n,a=i,i=!0):(i=i||!0,l={[n]:i}),it((0,t.useMemo)((()=>Object.entries(l).reduce(((t,n)=>{let[i,a]=n;return"up"!==a&&!0!==a||(t=r(t,function(t){let n=e[t];return"number"===typeof n&&(n="".concat(n,"px")),"(min-width: ".concat(n,")")}(i))),"down"!==a&&!0!==a||(t=r(t,o(i))),t}),"")),[JSON.stringify(l)]),a)}}({xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400});function lt(e){void 0===e&&(e=me());try{var t=e.activeElement;return t&&t.nodeName?t:null}catch(lu){return e.body}}function st(e,t){return e.contains?e.contains(t):e.compareDocumentPosition?e===t||!!(16&e.compareDocumentPosition(t)):void 0}function ut(e){const n=function(e){const n=(0,t.useRef)(e);return n.current=e,n}(e);(0,t.useEffect)((()=>()=>n.current()),[])}const ct=D("modal-open");const dt=class{constructor(){let{ownerDocument:e,handleContainerOverflow:t=!0,isRTL:n=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.handleContainerOverflow=t,this.isRTL=n,this.modals=[],this.ownerDocument=e}getScrollbarWidth(){return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(e){}removeModalAttributes(e){}setContainerStyle(e){const t={overflow:"hidden"},n=this.isRTL?"paddingLeft":"paddingRight",r=this.getElement();e.style={overflow:r.style.overflow,[n]:r.style[n]},e.scrollBarWidth&&(t[n]="".concat(parseInt(we(r,n)||"0",10)+e.scrollBarWidth,"px")),r.setAttribute(ct,""),we(r,t)}reset(){[...this.modals].forEach((e=>this.remove(e)))}removeContainerStyle(e){const t=this.getElement();t.removeAttribute(ct),Object.assign(t.style,e.style)}add(e){let t=this.modals.indexOf(e);return-1!==t?t:(t=this.modals.length,this.modals.push(e),this.setModalAttributes(e),0!==t||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),t)}remove(e){const t=this.modals.indexOf(e);-1!==t&&(this.modals.splice(t,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(e))}isTopModal(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e}},ft=(0,t.createContext)(Ie?window:void 0);ft.Provider;function pt(){return(0,t.useContext)(ft)}const ht=(e,t)=>Ie?null==e?(t||me()).body:("function"===typeof e&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;const mt=function(e){let{children:n,in:r,onExited:o,mountOnEnter:i,unmountOnExit:a}=e;const l=(0,t.useRef)(null),s=(0,t.useRef)(r),u=M(o);(0,t.useEffect)((()=>{r?s.current=!0:u(l.current)}),[r,u]);const c=T(l,n.ref),d=(0,t.cloneElement)(n,{ref:c});return r?d:a||!s.current&&i?null:d};const gt=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function vt(e){let{onEnter:n,onEntering:r,onEntered:o,onExit:i,onExiting:a,onExited:l,addEndListener:s,children:u}=e,c=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,gt);const{major:d}=function(){const e=t.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}(),f=d>=19?u.props.ref:u.ref,p=(0,t.useRef)(null),h=T(p,"function"===typeof u?null:f),m=e=>t=>{e&&p.current&&e(p.current,t)},g=(0,t.useCallback)(m(n),[n]),v=(0,t.useCallback)(m(r),[r]),b=(0,t.useCallback)(m(o),[o]),y=(0,t.useCallback)(m(i),[i]),_=(0,t.useCallback)(m(a),[a]),w=(0,t.useCallback)(m(l),[l]),k=(0,t.useCallback)(m(s),[s]);return Object.assign({},c,{nodeRef:p},n&&{onEnter:g},r&&{onEntering:v},o&&{onEntered:b},i&&{onExit:y},a&&{onExiting:_},l&&{onExited:w},s&&{addEndListener:k},{children:"function"===typeof u?(e,t)=>u(e,Object.assign({},t,{ref:h})):(0,t.cloneElement)(u,{ref:h})})}const bt=["component"];const yt=t.forwardRef(((e,t)=>{let{component:n}=e;const r=vt(function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,bt));return(0,a.jsx)(n,Object.assign({ref:t},r))}));function _t(e){let{children:n,in:r,onExited:o,onEntered:i,transition:a}=e;const[l,s]=(0,t.useState)(!r);r&&l&&s(!1);const u=function(e){let{in:n,onTransition:r}=e;const o=(0,t.useRef)(null),i=(0,t.useRef)(!0),a=M(r);return ie((()=>{if(!o.current)return;let e=!1;return a({in:n,element:o.current,initial:i.current,isStale:()=>e}),()=>{e=!0}}),[n,a]),ie((()=>(i.current=!1,()=>{i.current=!0})),[]),o}({in:!!r,onTransition:e=>{Promise.resolve(a(e)).then((()=>{e.isStale()||(e.in?null==i||i(e.element,e.initial):(s(!0),null==o||o(e.element)))}),(t=>{throw e.in||s(!0),t}))}}),c=T(u,n.ref);return l&&!r?null:(0,t.cloneElement)(n,{ref:c})}function wt(e,t,n){return e?(0,a.jsx)(yt,Object.assign({},n,{component:e})):t?(0,a.jsx)(_t,Object.assign({},n,{transition:t})):(0,a.jsx)(mt,Object.assign({},n))}const kt=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];let xt;function Et(e){const n=pt(),r=e||function(e){return xt||(xt=new dt({ownerDocument:null==e?void 0:e.document})),xt}(n),o=(0,t.useRef)({dialog:null,backdrop:null});return Object.assign(o.current,{add:()=>r.add(o.current),remove:()=>r.remove(o.current),isTopModal:()=>r.isTopModal(o.current),setDialogRef:(0,t.useCallback)((e=>{o.current.dialog=e}),[]),setBackdropRef:(0,t.useCallback)((e=>{o.current.backdrop=e}),[])})}const St=(0,t.forwardRef)(((e,n)=>{let{show:r=!1,role:o="dialog",className:i,style:l,children:s,backdrop:u=!0,keyboard:c=!0,onBackdropClick:d,onEscapeKeyDown:f,transition:p,runTransition:h,backdropTransition:m,runBackdropTransition:g,autoFocus:v=!0,enforceFocus:b=!0,restoreFocus:y=!0,restoreFocusOptions:_,renderDialog:w,renderBackdrop:k=(e=>(0,a.jsx)("div",Object.assign({},e))),manager:x,container:E,onShow:S,onHide:C=(()=>{}),onExit:N,onExited:T,onExiting:O,onEnter:P,onEntering:L,onEntered:A}=e,j=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,kt);const I=pt(),D=function(e,n){const r=pt(),[o,i]=(0,t.useState)((()=>ht(e,null==r?void 0:r.document)));if(!o){const t=ht(e);t&&i(t)}return(0,t.useEffect)((()=>{n&&o&&n(o)}),[n,o]),(0,t.useEffect)((()=>{const t=ht(e);t!==o&&i(t)}),[e,o]),o}(E),R=Et(x),z=re(),F=function(e){const n=(0,t.useRef)(null);return(0,t.useEffect)((()=>{n.current=e})),n.current}(r),[B,H]=(0,t.useState)(!r),U=(0,t.useRef)(null);(0,t.useImperativeHandle)(n,(()=>R),[R]),Ie&&!F&&r&&(U.current=lt(null==I?void 0:I.document)),r&&B&&H(!1);const W=M((()=>{if(R.add(),Y.current=Be(document,"keydown",Q),$.current=Be(document,"focus",(()=>setTimeout(q)),!0),S&&S(),v){var e,t;const n=lt(null!=(e=null==(t=R.dialog)?void 0:t.ownerDocument)?e:null==I?void 0:I.document);R.dialog&&n&&!st(R.dialog,n)&&(U.current=n,R.dialog.focus())}})),V=M((()=>{var e;(R.remove(),null==Y.current||Y.current(),null==$.current||$.current(),y)&&(null==(e=U.current)||null==e.focus||e.focus(_),U.current=null)}));(0,t.useEffect)((()=>{r&&D&&W()}),[r,D,W]),(0,t.useEffect)((()=>{B&&V()}),[B,V]),ut((()=>{V()}));const q=M((()=>{if(!b||!z()||!R.isTopModal())return;const e=lt(null==I?void 0:I.document);R.dialog&&e&&!st(R.dialog,e)&&R.dialog.focus()})),K=M((e=>{e.target===e.currentTarget&&(null==d||d(e),!0===u&&C())})),Q=M((e=>{c&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&R.isTopModal()&&(null==f||f(e),e.defaultPrevented||C())})),$=(0,t.useRef)(),Y=(0,t.useRef)();if(!D)return null;const X=Object.assign({role:o,ref:R.setDialogRef,"aria-modal":"dialog"===o||void 0},j,{style:l,className:i,tabIndex:-1});let G=w?w(X):(0,a.jsx)("div",Object.assign({},X,{children:t.cloneElement(s,{role:"document"})}));G=wt(p,h,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!r,onExit:N,onExiting:O,onExited:function(){H(!0),null==T||T(...arguments)},onEnter:P,onEntering:L,onEntered:A,children:G});let Z=null;return u&&(Z=k({ref:R.setBackdropRef,onClick:K}),Z=wt(m,g,{in:!!r,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:Z})),(0,a.jsx)(a.Fragment,{children:xe.createPortal((0,a.jsxs)(a.Fragment,{children:[Z,G]}),D)})}));St.displayName="Modal";const Ct=Object.assign(St,{Manager:dt}),Nt={[Te]:"show",[Oe]:"show"},Tt=t.forwardRef(((e,n)=>{let{className:r,children:o,transitionClasses:l={},onEnter:s,...u}=e;const c={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...u},d=(0,t.useCallback)(((e,t)=>{Ke(e),null==s||s(e,t)}),[s]);return(0,a.jsx)(Qe,{ref:n,addEndListener:Ve,...c,onEnter:d,childRef:o.ref,children:(e,n)=>t.cloneElement(o,{...n,className:i()("fade",r,o.props.className,Nt[e],l[e])})})}));Tt.displayName="Fade";const Ot=Tt,Pt=t.forwardRef(((e,t)=>{let{className:n,bsPrefix:r,as:o="div",...l}=e;return r=f(r,"offcanvas-body"),(0,a.jsx)(o,{ref:t,className:i()(n,r),...l})}));Pt.displayName="OffcanvasBody";const Lt=Pt,At={[Te]:"show",[Oe]:"show"},jt=t.forwardRef(((e,n)=>{let{bsPrefix:r,className:o,children:l,in:s=!1,mountOnEnter:u=!1,unmountOnExit:c=!1,appear:d=!1,...p}=e;return r=f(r,"offcanvas"),(0,a.jsx)(Qe,{ref:n,addEndListener:Ve,in:s,mountOnEnter:u,unmountOnExit:c,appear:d,...p,childRef:l.ref,children:(e,n)=>t.cloneElement(l,{...n,className:i()(o,l.props.className,(e===Te||e===Pe)&&"".concat(r,"-toggling"),At[e])})})}));jt.displayName="OffcanvasToggling";const It=jt,Dt=t.createContext({onHide(){}});var Rt=n(173),Mt=n.n(Rt);const zt={"aria-label":Mt().string,onClick:Mt().func,variant:Mt().oneOf(["white"])},Ft=t.forwardRef(((e,t)=>{let{className:n,variant:r,"aria-label":o="Close",...l}=e;return(0,a.jsx)("button",{ref:t,type:"button",className:i()("btn-close",r&&"btn-close-".concat(r),n),"aria-label":o,...l})}));Ft.displayName="CloseButton",Ft.propTypes=zt;const Bt=Ft,Ht=t.forwardRef(((e,n)=>{let{closeLabel:r="Close",closeVariant:o,closeButton:i=!1,onHide:l,children:s,...u}=e;const c=(0,t.useContext)(Dt),d=M((()=>{null==c||c.onHide(),null==l||l()}));return(0,a.jsxs)("div",{ref:n,...u,children:[s,i&&(0,a.jsx)(Bt,{"aria-label":r,variant:o,onClick:d})]})})),Ut=Ht,Wt=t.forwardRef(((e,t)=>{let{bsPrefix:n,className:r,closeLabel:o="Close",closeButton:l=!1,...s}=e;return n=f(n,"offcanvas-header"),(0,a.jsx)(Ut,{ref:t,...s,className:i()(r,n),closeLabel:o,closeButton:l})}));Wt.displayName="OffcanvasHeader";const Vt=Wt,qt=(Kt="h5",t.forwardRef(((e,t)=>(0,a.jsx)("div",{...e,ref:t,className:i()(e.className,Kt)}))));var Kt;const Qt=t.forwardRef(((e,t)=>{let{className:n,bsPrefix:r,as:o=qt,...l}=e;return r=f(r,"offcanvas-title"),(0,a.jsx)(o,{ref:t,className:i()(n,r),...l})}));Qt.displayName="OffcanvasTitle";const $t=Qt;function Yt(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}const Xt=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Gt=".sticky-top",Zt=".navbar-toggler";class Jt extends dt{adjustAndStore(e,t,n){const r=t.style[e];t.dataset[e]=r,we(t,{[e]:"".concat(parseFloat(we(t,e))+n,"px")})}restore(e,t){const n=t.dataset[e];void 0!==n&&(delete t.dataset[e],we(t,{[e]:n}))}setContainerStyle(e){super.setContainerStyle(e);const t=this.getElement();if(function(e,t){e.classList?e.classList.add(t):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(e,t)||("string"===typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}(t,"modal-open"),!e.scrollBarWidth)return;const n=this.isRTL?"paddingLeft":"paddingRight",r=this.isRTL?"marginLeft":"marginRight";C(t,Xt).forEach((t=>this.adjustAndStore(n,t,e.scrollBarWidth))),C(t,Gt).forEach((t=>this.adjustAndStore(r,t,-e.scrollBarWidth))),C(t,Zt).forEach((t=>this.adjustAndStore(r,t,e.scrollBarWidth)))}removeContainerStyle(e){super.removeContainerStyle(e);const t=this.getElement();!function(e,t){e.classList?e.classList.remove(t):"string"===typeof e.className?e.className=Yt(e.className,t):e.setAttribute("class",Yt(e.className&&e.className.baseVal||"",t))}(t,"modal-open");const n=this.isRTL?"paddingLeft":"paddingRight",r=this.isRTL?"marginLeft":"marginRight";C(t,Xt).forEach((e=>this.restore(n,e))),C(t,Gt).forEach((e=>this.restore(r,e))),C(t,Zt).forEach((e=>this.restore(r,e)))}}let en;const tn=Jt;function nn(e){return(0,a.jsx)(It,{...e})}function rn(e){return(0,a.jsx)(Ot,{...e})}const on=t.forwardRef(((e,n)=>{let{bsPrefix:r,className:o,children:l,"aria-labelledby":s,placement:u="start",responsive:c,show:d=!1,backdrop:p=!0,keyboard:h=!0,scroll:m=!1,onEscapeKeyDown:g,onShow:v,onHide:b,container:y,autoFocus:_=!0,enforceFocus:w=!0,restoreFocus:k=!0,restoreFocusOptions:x,onEntered:E,onExit:S,onExiting:C,onEnter:N,onEntering:T,onExited:O,backdropClassName:P,manager:L,renderStaticNode:A=!1,...j}=e;const I=(0,t.useRef)();r=f(r,"offcanvas");const{onToggle:D}=(0,t.useContext)(Z)||{},[R,z]=(0,t.useState)(!1),F=at(c||"xs","up");(0,t.useEffect)((()=>{z(c?d&&!F:d)}),[d,c,F]);const B=M((()=>{null==D||D(),null==b||b()})),H=(0,t.useMemo)((()=>({onHide:B})),[B]);const U=(0,t.useCallback)((e=>(0,a.jsx)("div",{...e,className:i()("".concat(r,"-backdrop"),P)})),[P,r]),W=e=>(0,a.jsx)("div",{...e,...j,className:i()(o,c?"".concat(r,"-").concat(c):r,"".concat(r,"-").concat(u)),"aria-labelledby":s,children:l});return(0,a.jsxs)(a.Fragment,{children:[!R&&(c||A)&&W({}),(0,a.jsx)(Dt.Provider,{value:H,children:(0,a.jsx)(Ct,{show:R,ref:n,backdrop:p,container:y,keyboard:h,autoFocus:_,enforceFocus:w&&!m,restoreFocus:k,restoreFocusOptions:x,onEscapeKeyDown:g,onShow:v,onHide:B,onEnter:function(e){e&&(e.style.visibility="visible");for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];null==N||N(e,...n)},onEntering:T,onEntered:E,onExit:S,onExiting:C,onExited:function(e){e&&(e.style.visibility="");for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];null==O||O(...n)},manager:L||(m?(I.current||(I.current=new tn({handleContainerOverflow:!1})),I.current):function(e){return en||(en=new Jt(e)),en}()),transition:nn,backdropTransition:rn,renderBackdrop:U,renderDialog:W})})]})}));on.displayName="Offcanvas";const an=Object.assign(on,{Body:Lt,Header:Vt,Title:$t}),ln=t.forwardRef(((e,n)=>{const r=(0,t.useContext)(Z);return(0,a.jsx)(an,{ref:n,show:!(null==r||!r.expanded),...e,renderStaticNode:!0})}));ln.displayName="NavbarOffcanvas";const sn=ln,un=t.forwardRef(((e,t)=>{let{className:n,bsPrefix:r,as:o="span",...l}=e;return r=f(r,"navbar-text"),(0,a.jsx)(o,{ref:t,className:i()(n,r),...l})}));un.displayName="NavbarText";const cn=un,dn=t.forwardRef(((e,n)=>{const{bsPrefix:r,expand:o=!0,variant:l="light",bg:s,fixed:u,sticky:c,className:d,as:p="nav",expanded:h,onToggle:m,onSelect:g,collapseOnSelect:v=!1,...b}=w(e,{expanded:"onToggle"}),y=f(r,"navbar"),_=(0,t.useCallback)((function(){null==g||g(...arguments),v&&h&&(null==m||m(!1))}),[g,v,h,m]);void 0===b.role&&"nav"!==p&&(b.role="navigation");let k="".concat(y,"-expand");"string"===typeof o&&(k="".concat(k,"-").concat(o));const x=(0,t.useMemo)((()=>({onToggle:()=>null==m?void 0:m(!h),bsPrefix:y,expanded:!!h,expand:o})),[y,h,o,m]);return(0,a.jsx)(Z.Provider,{value:x,children:(0,a.jsx)(A.Provider,{value:_,children:(0,a.jsx)(p,{ref:n,...b,className:i()(d,y,o&&k,l&&"".concat(y,"-").concat(l),s&&"bg-".concat(s),c&&"sticky-".concat(c),u&&"fixed-".concat(u))})})})}));dn.displayName="Navbar";const fn=Object.assign(dn,{Brand:he,Collapse:et,Offcanvas:sn,Text:cn,Toggle:nt});function pn(){return(0,a.jsx)("div",{children:(0,a.jsx)(fn,{bg:"dark","data-bs-theme":"dark",children:(0,a.jsxs)(g,{children:[(0,a.jsx)(fn.Brand,{href:"https://miguelalmodo.com",children:"Miguel's Asteroid"}),(0,a.jsxs)(fe,{className:"me-auto",children:[(0,a.jsx)(fe.Link,{href:"#https://library.miguelalmodo.com/",children:"Bookshelf"}),(0,a.jsx)(fe.Link,{href:"#https://miguelalmodo.com/blog",children:"Blog"})]})]})})})}const hn=[{quote:"So many places I want to see... I know I'll get there someday. I'll find a way somehow. I'm sure of it.",author:"ARIEL",game:"Kingdom Hearts"},{quote:"You be careful, now, both of you.",author:"DAISY DUCK",game:"Kingdom Hearts"},{quote:"All for one, and one for all!",author:"GOOFY",game:"Kingdom Hearts"},{quote:"Cricket's the name. Jiminy Cricket, at your service.",author:"JIMINY CRICKET",game:"Kingdom Hearts"},{quote:"I want to be a part of your life no matter what. That's all.",author:"KAIRI",game:"Kingdom Hearts III"},{quote:"There will always be a door to the light.",author:"KING MICKEY",game:"Kingdom Hearts II"},{quote:"We may never meet again, but we'll never forget each other.",author:"LEON",game:"Kingdom Hearts"},{quote:"The heart of all kingdoms, the heart of all that lives. A dominion fit to be called Kingdom Hearts must be MY dominion.",author:"MALEFICENT",game:"Kingdom Hearts II"},{quote:"The name is Merlin! I'm a powerful wizard, and I'll have you know a lot of wisdom comes with age.",author:"MERLIN",game:"Kingdom Hearts Birth by Sleep"},{quote:"Kid, I got two words of advice for you: Attack!",author:"PHILOCTETES",game:"Kingdom Hearts"},{quote:"What really makes someone a hero isn't what they wear or what they say it's the things they do and how they treat everyone.",author:"QUEEN MINNIE MOUSE",game:"Kingdom Hearts Birth by Sleep"},{quote:"I'm going to face my past.",author:"SIMBA",game:"Kingdom Hearts II"},{quote:"My friends are my power!",author:"SORA",game:"Kingdom Hearts"},{quote:"But the girl could prove useful. And I've got the Heartless on my side. Triton, my old friend...Your day is coming.",author:"URSULA",game:"Kingdom Hearts"}],mn=t.forwardRef(((e,t)=>{let{as:n,bsPrefix:r,variant:o="primary",size:l,active:s=!1,disabled:u=!1,className:c,...d}=e;const p=f(r,"btn"),[h,{tagName:m}]=F({tagName:n,disabled:u,...d}),g=m;return(0,a.jsx)(g,{...h,...d,ref:t,disabled:u,className:i()(c,p,s&&"active",o&&"".concat(p,"-").concat(o),l&&"".concat(p,"-").concat(l),d.href&&u&&"disabled")})}));mn.displayName="Button";const gn=mn;function vn(e){const{quote:t,generateRandomQuote:n,whatGameAlert:r}=e;return(0,a.jsx)("div",{className:"card",children:(0,a.jsxs)("div",{className:"card-body",children:[(0,a.jsx)("quote",{className:"card-text",children:t.quote}),(0,a.jsxs)("h5",{className:"card-title",children:["- ",t.author]}),(0,a.jsx)(gn,{className:"btn-primary",onClick:()=>n(t),type:"submit",children:"WEPA!"}),(0,a.jsx)(gn,{variant:"dark",onClick:()=>{r(t)},type:"submit",children:"Source"})]})})}var bn="top",yn="bottom",_n="right",wn="left",kn="auto",xn=[bn,yn,_n,wn],En="start",Sn="end",Cn="clippingParents",Nn="viewport",Tn="popper",On="reference",Pn=xn.reduce((function(e,t){return e.concat([t+"-"+En,t+"-"+Sn])}),[]),Ln=[].concat(xn,[kn]).reduce((function(e,t){return e.concat([t,t+"-"+En,t+"-"+Sn])}),[]),An="beforeRead",jn="read",In="afterRead",Dn="beforeMain",Rn="main",Mn="afterMain",zn="beforeWrite",Fn="write",Bn="afterWrite",Hn=[An,jn,In,Dn,Rn,Mn,zn,Fn,Bn];function Un(e){return e?(e.nodeName||"").toLowerCase():null}function Wn(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Vn(e){return e instanceof Wn(e).Element||e instanceof Element}function qn(e){return e instanceof Wn(e).HTMLElement||e instanceof HTMLElement}function Kn(e){return"undefined"!==typeof ShadowRoot&&(e instanceof Wn(e).ShadowRoot||e instanceof ShadowRoot)}const Qn={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];qn(o)&&Un(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});qn(r)&&Un(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function $n(e){return e.split("-")[0]}var Yn=Math.max,Xn=Math.min,Gn=Math.round;function Zn(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Jn(){return!/^((?!chrome|android).)*safari/i.test(Zn())}function er(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&qn(e)&&(o=e.offsetWidth>0&&Gn(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Gn(r.height)/e.offsetHeight||1);var a=(Vn(e)?Wn(e):window).visualViewport,l=!Jn()&&n,s=(r.left+(l&&a?a.offsetLeft:0))/o,u=(r.top+(l&&a?a.offsetTop:0))/i,c=r.width/o,d=r.height/i;return{width:c,height:d,top:u,right:s+c,bottom:u+d,left:s,x:s,y:u}}function tr(e){var t=er(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function nr(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Kn(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function rr(e){return Wn(e).getComputedStyle(e)}function or(e){return["table","td","th"].indexOf(Un(e))>=0}function ir(e){return((Vn(e)?e.ownerDocument:e.document)||window.document).documentElement}function ar(e){return"html"===Un(e)?e:e.assignedSlot||e.parentNode||(Kn(e)?e.host:null)||ir(e)}function lr(e){return qn(e)&&"fixed"!==rr(e).position?e.offsetParent:null}function sr(e){for(var t=Wn(e),n=lr(e);n&&or(n)&&"static"===rr(n).position;)n=lr(n);return n&&("html"===Un(n)||"body"===Un(n)&&"static"===rr(n).position)?t:n||function(e){var t=/firefox/i.test(Zn());if(/Trident/i.test(Zn())&&qn(e)&&"fixed"===rr(e).position)return null;var n=ar(e);for(Kn(n)&&(n=n.host);qn(n)&&["html","body"].indexOf(Un(n))<0;){var r=rr(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function ur(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function cr(e,t,n){return Yn(e,Xn(t,n))}function dr(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function fr(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}const pr={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=$n(n.placement),s=ur(l),u=[wn,_n].indexOf(l)>=0?"height":"width";if(i&&a){var c=function(e,t){return dr("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:fr(e,xn))}(o.padding,n),d=tr(i),f="y"===s?bn:wn,p="y"===s?yn:_n,h=n.rects.reference[u]+n.rects.reference[s]-a[s]-n.rects.popper[u],m=a[s]-n.rects.reference[s],g=sr(i),v=g?"y"===s?g.clientHeight||0:g.clientWidth||0:0,b=h/2-m/2,y=c[f],_=v-d[u]-c[p],w=v/2-d[u]/2+b,k=cr(y,w,_),x=s;n.modifiersData[r]=((t={})[x]=k,t.centerOffset=k-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&nr(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function hr(e){return e.split("-")[1]}var mr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function gr(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,f=a.x,p=void 0===f?0:f,h=a.y,m=void 0===h?0:h,g="function"===typeof c?c({x:p,y:m}):{x:p,y:m};p=g.x,m=g.y;var v=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),y=wn,_=bn,w=window;if(u){var k=sr(n),x="clientHeight",E="clientWidth";if(k===Wn(n)&&"static"!==rr(k=ir(n)).position&&"absolute"===l&&(x="scrollHeight",E="scrollWidth"),o===bn||(o===wn||o===_n)&&i===Sn)_=yn,m-=(d&&k===w&&w.visualViewport?w.visualViewport.height:k[x])-r.height,m*=s?1:-1;if(o===wn||(o===bn||o===yn)&&i===Sn)y=_n,p-=(d&&k===w&&w.visualViewport?w.visualViewport.width:k[E])-r.width,p*=s?1:-1}var S,C=Object.assign({position:l},u&&mr),N=!0===c?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Gn(n*o)/o||0,y:Gn(r*o)/o||0}}({x:p,y:m},Wn(n)):{x:p,y:m};return p=N.x,m=N.y,s?Object.assign({},C,((S={})[_]=b?"0":"",S[y]=v?"0":"",S.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",S)):Object.assign({},C,((t={})[_]=b?m+"px":"",t[y]=v?p+"px":"",t.transform="",t))}const vr={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,l=n.roundOffsets,s=void 0===l||l,u={placement:$n(t.placement),variation:hr(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,gr(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,gr(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var br={passive:!0};const yr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,l=void 0===a||a,s=Wn(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,br)})),l&&s.addEventListener("resize",n.update,br),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,br)})),l&&s.removeEventListener("resize",n.update,br)}},data:{}};var _r={left:"right",right:"left",bottom:"top",top:"bottom"};function wr(e){return e.replace(/left|right|bottom|top/g,(function(e){return _r[e]}))}var kr={start:"end",end:"start"};function xr(e){return e.replace(/start|end/g,(function(e){return kr[e]}))}function Er(e){var t=Wn(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Sr(e){return er(ir(e)).left+Er(e).scrollLeft}function Cr(e){var t=rr(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Nr(e){return["html","body","#document"].indexOf(Un(e))>=0?e.ownerDocument.body:qn(e)&&Cr(e)?e:Nr(ar(e))}function Tr(e,t){var n;void 0===t&&(t=[]);var r=Nr(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Wn(r),a=o?[i].concat(i.visualViewport||[],Cr(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(Tr(ar(a)))}function Or(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Pr(e,t,n){return t===Nn?Or(function(e,t){var n=Wn(e),r=ir(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;var u=Jn();(u||!u&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l+Sr(e),y:s}}(e,n)):Vn(t)?function(e,t){var n=er(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Or(function(e){var t,n=ir(e),r=Er(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=Yn(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Yn(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Sr(e),s=-r.scrollTop;return"rtl"===rr(o||n).direction&&(l+=Yn(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(ir(e)))}function Lr(e,t,n,r){var o="clippingParents"===t?function(e){var t=Tr(ar(e)),n=["absolute","fixed"].indexOf(rr(e).position)>=0&&qn(e)?sr(e):e;return Vn(n)?t.filter((function(e){return Vn(e)&&nr(e,n)&&"body"!==Un(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],l=i.reduce((function(t,n){var o=Pr(e,n,r);return t.top=Yn(o.top,t.top),t.right=Xn(o.right,t.right),t.bottom=Xn(o.bottom,t.bottom),t.left=Yn(o.left,t.left),t}),Pr(e,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Ar(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?$n(o):null,a=o?hr(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case bn:t={x:l,y:n.y-r.height};break;case yn:t={x:l,y:n.y+n.height};break;case _n:t={x:n.x+n.width,y:s};break;case wn:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=i?ur(i):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case En:t[u]=t[u]-(n[c]/2-r[c]/2);break;case Sn:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}function jr(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,l=n.boundary,s=void 0===l?Cn:l,u=n.rootBoundary,c=void 0===u?Nn:u,d=n.elementContext,f=void 0===d?Tn:d,p=n.altBoundary,h=void 0!==p&&p,m=n.padding,g=void 0===m?0:m,v=dr("number"!==typeof g?g:fr(g,xn)),b=f===Tn?On:Tn,y=e.rects.popper,_=e.elements[h?b:f],w=Lr(Vn(_)?_:_.contextElement||ir(e.elements.popper),s,c,a),k=er(e.elements.reference),x=Ar({reference:k,element:y,strategy:"absolute",placement:o}),E=Or(Object.assign({},y,x)),S=f===Tn?E:k,C={top:w.top-S.top+v.top,bottom:S.bottom-w.bottom+v.bottom,left:w.left-S.left+v.left,right:S.right-w.right+v.right},N=e.modifiersData.offset;if(f===Tn&&N){var T=N[o];Object.keys(C).forEach((function(e){var t=[_n,yn].indexOf(e)>=0?1:-1,n=[bn,yn].indexOf(e)>=0?"y":"x";C[e]+=T[n]*t}))}return C}const Ir={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0===a||a,s=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,g=t.options.placement,v=$n(g),b=s||(v===g||!h?[wr(g)]:function(e){if($n(e)===kn)return[];var t=wr(e);return[xr(e),t,xr(t)]}(g)),y=[g].concat(b).reduce((function(e,n){return e.concat($n(n)===kn?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,u=void 0===s?Ln:s,c=hr(r),d=c?l?Pn:Pn.filter((function(e){return hr(e)===c})):xn,f=d.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=jr(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[$n(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),_=t.rects.reference,w=t.rects.popper,k=new Map,x=!0,E=y[0],S=0;S<y.length;S++){var C=y[S],N=$n(C),T=hr(C)===En,O=[bn,yn].indexOf(N)>=0,P=O?"width":"height",L=jr(t,{placement:C,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),A=O?T?_n:wn:T?yn:bn;_[P]>w[P]&&(A=wr(A));var j=wr(A),I=[];if(i&&I.push(L[N]<=0),l&&I.push(L[A]<=0,L[j]<=0),I.every((function(e){return e}))){E=C,x=!1;break}k.set(C,I)}if(x)for(var D=function(e){var t=y.find((function(t){var n=k.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},R=h?3:1;R>0;R--){if("break"===D(R))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Dr(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Rr(e){return[bn,_n,yn,wn].some((function(t){return e[t]>=0}))}const Mr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=jr(t,{elementContext:"reference"}),l=jr(t,{altBoundary:!0}),s=Dr(a,r),u=Dr(l,o,i),c=Rr(s),d=Rr(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}};const zr={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=Ln.reduce((function(e,n){return e[n]=function(e,t,n){var r=$n(e),o=[wn,bn].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*o,[wn,_n].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}(n,t.rects,i),e}),{}),l=a[t.placement],s=l.x,u=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}};const Fr={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Ar({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};const Br={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0!==a&&a,s=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,h=n.tetherOffset,m=void 0===h?0:h,g=jr(t,{boundary:s,rootBoundary:u,padding:d,altBoundary:c}),v=$n(t.placement),b=hr(t.placement),y=!b,_=ur(v),w="x"===_?"y":"x",k=t.modifiersData.popperOffsets,x=t.rects.reference,E=t.rects.popper,S="function"===typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,C="number"===typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(k){if(i){var O,P="y"===_?bn:wn,L="y"===_?yn:_n,A="y"===_?"height":"width",j=k[_],I=j+g[P],D=j-g[L],R=p?-E[A]/2:0,M=b===En?x[A]:E[A],z=b===En?-E[A]:-x[A],F=t.elements.arrow,B=p&&F?tr(F):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},U=H[P],W=H[L],V=cr(0,x[A],B[A]),q=y?x[A]/2-R-V-U-C.mainAxis:M-V-U-C.mainAxis,K=y?-x[A]/2+R+V+W+C.mainAxis:z+V+W+C.mainAxis,Q=t.elements.arrow&&sr(t.elements.arrow),$=Q?"y"===_?Q.clientTop||0:Q.clientLeft||0:0,Y=null!=(O=null==N?void 0:N[_])?O:0,X=j+K-Y,G=cr(p?Xn(I,j+q-Y-$):I,j,p?Yn(D,X):D);k[_]=G,T[_]=G-j}if(l){var Z,J="x"===_?bn:wn,ee="x"===_?yn:_n,te=k[w],ne="y"===w?"height":"width",re=te+g[J],oe=te-g[ee],ie=-1!==[bn,wn].indexOf(v),ae=null!=(Z=null==N?void 0:N[w])?Z:0,le=ie?re:te-x[ne]-E[ne]-ae+C.altAxis,se=ie?te+x[ne]+E[ne]-ae-C.altAxis:oe,ue=p&&ie?function(e,t,n){var r=cr(e,t,n);return r>n?n:r}(le,te,se):cr(p?le:re,te,p?se:oe);k[w]=ue,T[w]=ue-te}t.modifiersData[r]=T}},requiresIfExists:["offset"]};function Hr(e,t,n){void 0===n&&(n=!1);var r=qn(t),o=qn(t)&&function(e){var t=e.getBoundingClientRect(),n=Gn(t.width)/e.offsetWidth||1,r=Gn(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=ir(t),a=er(e,o,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==Un(t)||Cr(i))&&(l=function(e){return e!==Wn(e)&&qn(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:Er(e);var t}(t)),qn(t)?((s=er(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=Sr(i))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function Ur(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function Wr(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var Vr={placement:"bottom",modifiers:[],strategy:"absolute"};function qr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function Kr(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?Vr:o;return function(e,t,n){void 0===n&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},Vr,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],l=!1,s={state:o,setOptions:function(n){var l="function"===typeof n?n(o.options):n;u(),o.options=Object.assign({},i,o.options,l),o.scrollParents={reference:Vn(e)?Tr(e):e.contextElement?Tr(e.contextElement):[],popper:Tr(t)};var c=function(e){var t=Ur(e);return Hn.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,o.options.modifiers)));return o.orderedModifiers=c.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"===typeof i){var l=i({state:o,name:t,instance:s,options:r}),u=function(){};a.push(l||u)}})),s.update()},forceUpdate:function(){if(!l){var e=o.elements,t=e.reference,n=e.popper;if(qr(t,n)){o.rects={reference:Hr(t,sr(n),"fixed"===o.options.strategy),popper:tr(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var i=o.orderedModifiers[r],a=i.fn,u=i.options,c=void 0===u?{}:u,d=i.name;"function"===typeof a&&(o=a({state:o,options:c,name:d,instance:s})||o)}else o.reset=!1,r=-1}}},update:Wr((function(){return new Promise((function(e){s.forceUpdate(),e(o)}))})),destroy:function(){u(),l=!0}};if(!qr(e,t))return s;function u(){a.forEach((function(e){return e()})),a=[]}return s.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),s}}var Qr=Kr(),$r=Kr({defaultModifiers:[yr,Fr,vr,Qn,zr,Ir,Br,pr,Mr]}),Yr=Kr({defaultModifiers:[yr,Fr,vr,Qn]});const Xr=new Map,Gr={set(e,t,n){Xr.has(e)||Xr.set(e,new Map);const r=Xr.get(e);r.has(t)||0===r.size?r.set(t,n):console.error("Bootstrap doesn't allow more than one instance per element. Bound instance: ".concat(Array.from(r.keys())[0],"."))},get:(e,t)=>Xr.has(e)&&Xr.get(e).get(t)||null,remove(e,t){if(!Xr.has(e))return;const n=Xr.get(e);n.delete(t),0===n.size&&Xr.delete(e)}},Zr="transitionend",Jr=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,((e,t)=>"#".concat(CSS.escape(t))))),e),eo=e=>{e.dispatchEvent(new Event(Zr))},to=e=>!(!e||"object"!==typeof e)&&("undefined"!==typeof e.jquery&&(e=e[0]),"undefined"!==typeof e.nodeType),no=e=>to(e)?e.jquery?e[0]:e:"string"===typeof e&&e.length>0?document.querySelector(Jr(e)):null,ro=e=>{if(!to(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t},oo=e=>!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||("undefined"!==typeof e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))),io=e=>{if(!document.documentElement.attachShadow)return null;if("function"===typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?io(e.parentNode):null},ao=()=>{},lo=e=>{e.offsetHeight},so=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,uo=[],co=()=>"rtl"===document.documentElement.dir,fo=e=>{var t;t=()=>{const t=so();if(t){const n=e.NAME,r=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=r,e.jQueryInterface)}},"loading"===document.readyState?(uo.length||document.addEventListener("DOMContentLoaded",(()=>{for(const e of uo)e()})),uo.push(t)):t()},po=function(e){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;return"function"===typeof e?e(...arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]):t},ho=function(e,t){if(!(!(arguments.length>2&&void 0!==arguments[2])||arguments[2]))return void po(e);const n=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const r=Number.parseFloat(t),o=Number.parseFloat(n);return r||o?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let r=!1;const o=n=>{let{target:i}=n;i===t&&(r=!0,t.removeEventListener(Zr,o),po(e))};t.addEventListener(Zr,o),setTimeout((()=>{r||eo(t)}),n)},mo=(e,t,n,r)=>{const o=e.length;let i=e.indexOf(t);return-1===i?!n&&r?e[o-1]:e[0]:(i+=n?1:-1,r&&(i=(i+o)%o),e[Math.max(0,Math.min(i,o-1))])},go=/[^.]*(?=\..*)\.|.*/,vo=/\..*/,bo=/::\d+$/,yo={};let _o=1;const wo={mouseenter:"mouseover",mouseleave:"mouseout"},ko=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function xo(e,t){return t&&"".concat(t,"::").concat(_o++)||e.uidEvent||_o++}function Eo(e){const t=xo(e);return e.uidEvent=t,yo[t]=yo[t]||{},yo[t]}function So(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===n))}function Co(e,t,n){const r="string"===typeof t,o=r?n:t||n;let i=Po(e);return ko.has(i)||(i=e),[r,o,i]}function No(e,t,n,r,o){if("string"!==typeof t||!e)return;let[i,a,l]=Co(t,n,r);if(t in wo){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};a=e(a)}const s=Eo(e),u=s[l]||(s[l]={}),c=So(u,a,i?n:null);if(c)return void(c.oneOff=c.oneOff&&o);const d=xo(a,t.replace(go,"")),f=i?function(e,t,n){return function r(o){const i=e.querySelectorAll(t);for(let{target:a}=o;a&&a!==this;a=a.parentNode)for(const l of i)if(l===a)return Ao(o,{delegateTarget:a}),r.oneOff&&Lo.off(e,o.type,t,n),n.apply(a,[o])}}(e,n,a):function(e,t){return function n(r){return Ao(r,{delegateTarget:e}),n.oneOff&&Lo.off(e,r.type,t),t.apply(e,[r])}}(e,a);f.delegationSelector=i?n:null,f.callable=a,f.oneOff=o,f.uidEvent=d,u[d]=f,e.addEventListener(l,f,i)}function To(e,t,n,r,o){const i=So(t[n],r,o);i&&(e.removeEventListener(n,i,Boolean(o)),delete t[n][i.uidEvent])}function Oo(e,t,n,r){const o=t[n]||{};for(const[i,a]of Object.entries(o))i.includes(r)&&To(e,t,n,a.callable,a.delegationSelector)}function Po(e){return e=e.replace(vo,""),wo[e]||e}const Lo={on(e,t,n,r){No(e,t,n,r,!1)},one(e,t,n,r){No(e,t,n,r,!0)},off(e,t,n,r){if("string"!==typeof t||!e)return;const[o,i,a]=Co(t,n,r),l=a!==t,s=Eo(e),u=s[a]||{},c=t.startsWith(".");if("undefined"===typeof i){if(c)for(const n of Object.keys(s))Oo(e,s,n,t.slice(1));for(const[n,r]of Object.entries(u)){const o=n.replace(bo,"");l&&!t.includes(o)||To(e,s,a,r.callable,r.delegationSelector)}}else{if(!Object.keys(u).length)return;To(e,s,a,i,o?n:null)}},trigger(e,t,n){if("string"!==typeof t||!e)return null;const r=so();let o=null,i=!0,a=!0,l=!1;t!==Po(t)&&r&&(o=r.Event(t,n),r(e).trigger(o),i=!o.isPropagationStopped(),a=!o.isImmediatePropagationStopped(),l=o.isDefaultPrevented());const s=Ao(new Event(t,{bubbles:i,cancelable:!0}),n);return l&&s.preventDefault(),a&&e.dispatchEvent(s),s.defaultPrevented&&o&&o.preventDefault(),s}};function Ao(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(const[r,o]of Object.entries(t))try{e[r]=o}catch(n){Object.defineProperty(e,r,{configurable:!0,get:()=>o})}return e}function jo(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!==typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function Io(e){return e.replace(/[A-Z]/g,(e=>"-".concat(e.toLowerCase())))}const Do={setDataAttribute(e,t,n){e.setAttribute("data-bs-".concat(Io(t)),n)},removeDataAttribute(e,t){e.removeAttribute("data-bs-".concat(Io(t)))},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter((e=>e.startsWith("bs")&&!e.startsWith("bsConfig")));for(const r of n){let n=r.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),t[n]=jo(e.dataset[r])}return t},getDataAttribute:(e,t)=>jo(e.getAttribute("data-bs-".concat(Io(t))))};class Ro{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const n=to(t)?Do.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"===typeof n?n:{},...to(t)?Do.getDataAttributes(t):{},..."object"===typeof e?e:{}}}_typeCheckConfig(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.constructor.DefaultType;for(const[r,o]of Object.entries(t)){const t=e[r],i=to(t)?"element":null===(n=t)||void 0===n?"".concat(n):Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(i))throw new TypeError("".concat(this.constructor.NAME.toUpperCase(),': Option "').concat(r,'" provided type "').concat(i,'" but expected type "').concat(o,'".'))}var n}}class Mo extends Ro{constructor(e,t){super(),(e=no(e))&&(this._element=e,this._config=this._getConfig(t),Gr.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Gr.remove(this._element,this.constructor.DATA_KEY),Lo.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t){ho(e,t,!(arguments.length>2&&void 0!==arguments[2])||arguments[2])}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Gr.get(no(e),this.DATA_KEY)}static getOrCreateInstance(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.getInstance(e)||new this(e,"object"===typeof t?t:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return"bs.".concat(this.NAME)}static get EVENT_KEY(){return".".concat(this.DATA_KEY)}static eventName(e){return"".concat(e).concat(this.EVENT_KEY)}}const zo=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n="#".concat(n.split("#")[1])),t=n&&"#"!==n?n.trim():null}return t?t.split(",").map((e=>Jr(e))).join(","):null},Fo={find(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return Element.prototype.querySelector.call(t,e)},children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const n=[];let r=e.parentNode.closest(t);for(;r;)n.push(r),r=r.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>"".concat(e,':not([tabindex^="-"])'))).join(",");return this.find(t,e).filter((e=>!oo(e)&&ro(e)))},getSelectorFromElement(e){const t=zo(e);return t&&Fo.findOne(t)?t:null},getElementFromSelector(e){const t=zo(e);return t?Fo.findOne(t):null},getMultipleElementsFromSelector(e){const t=zo(e);return t?Fo.find(t):[]}},Bo=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"hide";const n="click.dismiss".concat(e.EVENT_KEY),r=e.NAME;Lo.on(document,n,'[data-bs-dismiss="'.concat(r,'"]'),(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),oo(this))return;const o=Fo.getElementFromSelector(this)||this.closest(".".concat(r));e.getOrCreateInstance(o)[t]()}))},Ho=".".concat("bs.alert"),Uo="close".concat(Ho),Wo="closed".concat(Ho);class Vo extends Mo{static get NAME(){return"alert"}close(){if(Lo.trigger(this._element,Uo).defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),Lo.trigger(this._element,Wo),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=Vo.getOrCreateInstance(this);if("string"===typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e](this)}}))}}Bo(Vo,"close"),fo(Vo);const qo=".".concat("bs.button"),Ko='[data-bs-toggle="button"]',Qo="click".concat(qo).concat(".data-api");class $o extends Mo{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const t=$o.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}Lo.on(document,Qo,Ko,(e=>{e.preventDefault();const t=e.target.closest(Ko);$o.getOrCreateInstance(t).toggle()})),fo($o);const Yo=".bs.swipe",Xo="touchstart".concat(Yo),Go="touchmove".concat(Yo),Zo="touchend".concat(Yo),Jo="pointerdown".concat(Yo),ei="pointerup".concat(Yo),ti={endCallback:null,leftCallback:null,rightCallback:null},ni={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ri extends Ro{constructor(e,t){super(),this._element=e,e&&ri.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return ti}static get DefaultType(){return ni}static get NAME(){return"swipe"}dispose(){Lo.off(this._element,Yo)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),po(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=40)return;const t=e/this._deltaX;this._deltaX=0,t&&po(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(Lo.on(this._element,Jo,(e=>this._start(e))),Lo.on(this._element,ei,(e=>this._end(e))),this._element.classList.add("pointer-event")):(Lo.on(this._element,Xo,(e=>this._start(e))),Lo.on(this._element,Go,(e=>this._move(e))),Lo.on(this._element,Zo,(e=>this._end(e))))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const oi=".".concat("bs.carousel"),ii=".data-api",ai="ArrowLeft",li="ArrowRight",si="next",ui="prev",ci="left",di="right",fi="slide".concat(oi),pi="slid".concat(oi),hi="keydown".concat(oi),mi="mouseenter".concat(oi),gi="mouseleave".concat(oi),vi="dragstart".concat(oi),bi="load".concat(oi).concat(ii),yi="click".concat(oi).concat(ii),_i="carousel",wi="active",ki=".active",xi=".carousel-item",Ei=ki+xi,Si={[ai]:di,[li]:ci},Ci={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Ni={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Ti extends Mo{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Fo.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===_i&&this.cycle()}static get Default(){return Ci}static get DefaultType(){return Ni}static get NAME(){return"carousel"}next(){this._slide(si)}nextWhenVisible(){!document.hidden&&ro(this._element)&&this.next()}prev(){this._slide(ui)}pause(){this._isSliding&&eo(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?Lo.one(this._element,pi,(()=>this.cycle())):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void Lo.one(this._element,pi,(()=>this.to(e)));const n=this._getItemIndex(this._getActive());if(n===e)return;const r=e>n?si:ui;this._slide(r,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&Lo.on(this._element,hi,(e=>this._keydown(e))),"hover"===this._config.pause&&(Lo.on(this._element,mi,(()=>this.pause())),Lo.on(this._element,gi,(()=>this._maybeEnableCycle()))),this._config.touch&&ri.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of Fo.find(".carousel-item img",this._element))Lo.on(t,vi,(e=>e.preventDefault()));const e={leftCallback:()=>this._slide(this._directionToOrder(ci)),rightCallback:()=>this._slide(this._directionToOrder(di)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new ri(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=Si[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=Fo.findOne(ki,this._indicatorsElement);t.classList.remove(wi),t.removeAttribute("aria-current");const n=Fo.findOne('[data-bs-slide-to="'.concat(e,'"]'),this._indicatorsElement);n&&(n.classList.add(wi),n.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(this._isSliding)return;const n=this._getActive(),r=e===si,o=t||mo(this._getItems(),n,r,this._config.wrap);if(o===n)return;const i=this._getItemIndex(o),a=t=>Lo.trigger(this._element,t,{relatedTarget:o,direction:this._orderToDirection(e),from:this._getItemIndex(n),to:i});if(a(fi).defaultPrevented)return;if(!n||!o)return;const l=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(i),this._activeElement=o;const s=r?"carousel-item-start":"carousel-item-end",u=r?"carousel-item-next":"carousel-item-prev";o.classList.add(u),lo(o),n.classList.add(s),o.classList.add(s);this._queueCallback((()=>{o.classList.remove(s,u),o.classList.add(wi),n.classList.remove(wi,u,s),this._isSliding=!1,a(pi)}),n,this._isAnimated()),l&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return Fo.findOne(Ei,this._element)}_getItems(){return Fo.find(xi,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return co()?e===ci?ui:si:e===ci?si:ui}_orderToDirection(e){return co()?e===ui?ci:di:e===ui?di:ci}static jQueryInterface(e){return this.each((function(){const t=Ti.getOrCreateInstance(this,e);if("number"!==typeof e){if("string"===typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}else t.to(e)}))}}Lo.on(document,yi,"[data-bs-slide], [data-bs-slide-to]",(function(e){const t=Fo.getElementFromSelector(this);if(!t||!t.classList.contains(_i))return;e.preventDefault();const n=Ti.getOrCreateInstance(t),r=this.getAttribute("data-bs-slide-to");return r?(n.to(r),void n._maybeEnableCycle()):"next"===Do.getDataAttribute(this,"slide")?(n.next(),void n._maybeEnableCycle()):(n.prev(),void n._maybeEnableCycle())})),Lo.on(window,bi,(()=>{const e=Fo.find('[data-bs-ride="carousel"]');for(const t of e)Ti.getOrCreateInstance(t)})),fo(Ti);const Oi=".".concat("bs.collapse"),Pi="show".concat(Oi),Li="shown".concat(Oi),Ai="hide".concat(Oi),ji="hidden".concat(Oi),Ii="click".concat(Oi).concat(".data-api"),Di="show",Ri="collapse",Mi="collapsing",zi=":scope .".concat(Ri," .").concat(Ri),Fi='[data-bs-toggle="collapse"]',Bi={parent:null,toggle:!0},Hi={parent:"(null|element)",toggle:"boolean"};class Ui extends Mo{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const n=Fo.find(Fi);for(const r of n){const e=Fo.getSelectorFromElement(r),t=Fo.find(e).filter((e=>e===this._element));null!==e&&t.length&&this._triggerArray.push(r)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Bi}static get DefaultType(){return Hi}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((e=>e!==this._element)).map((e=>Ui.getOrCreateInstance(e,{toggle:!1})))),e.length&&e[0]._isTransitioning)return;if(Lo.trigger(this._element,Pi).defaultPrevented)return;for(const o of e)o.hide();const t=this._getDimension();this._element.classList.remove(Ri),this._element.classList.add(Mi),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=t[0].toUpperCase()+t.slice(1),r="scroll".concat(n);this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Mi),this._element.classList.add(Ri,Di),this._element.style[t]="",Lo.trigger(this._element,Li)}),this._element,!0),this._element.style[t]="".concat(this._element[r],"px")}hide(){if(this._isTransitioning||!this._isShown())return;if(Lo.trigger(this._element,Ai).defaultPrevented)return;const e=this._getDimension();this._element.style[e]="".concat(this._element.getBoundingClientRect()[e],"px"),lo(this._element),this._element.classList.add(Mi),this._element.classList.remove(Ri,Di);for(const t of this._triggerArray){const e=Fo.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0;this._element.style[e]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Mi),this._element.classList.add(Ri),Lo.trigger(this._element,ji)}),this._element,!0)}_isShown(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._element).classList.contains(Di)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=no(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Fi);for(const t of e){const e=Fo.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=Fo.find(zi,this._config.parent);return Fo.find(e,this._config.parent).filter((e=>!t.includes(e)))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle("collapsed",!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"===typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each((function(){const n=Ui.getOrCreateInstance(this,t);if("string"===typeof e){if("undefined"===typeof n[e])throw new TypeError('No method named "'.concat(e,'"'));n[e]()}}))}}Lo.on(document,Ii,Fi,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const t of Fo.getMultipleElementsFromSelector(this))Ui.getOrCreateInstance(t,{toggle:!1}).toggle()})),fo(Ui);const Wi="dropdown",Vi=".".concat("bs.dropdown"),qi=".data-api",Ki="ArrowUp",Qi="ArrowDown",$i="hide".concat(Vi),Yi="hidden".concat(Vi),Xi="show".concat(Vi),Gi="shown".concat(Vi),Zi="click".concat(Vi).concat(qi),Ji="keydown".concat(Vi).concat(qi),ea="keyup".concat(Vi).concat(qi),ta="show",na='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',ra="".concat(na,".").concat(ta),oa=".dropdown-menu",ia=co()?"top-end":"top-start",aa=co()?"top-start":"top-end",la=co()?"bottom-end":"bottom-start",sa=co()?"bottom-start":"bottom-end",ua=co()?"left-start":"right-start",ca=co()?"right-start":"left-start",da={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},fa={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class pa extends Mo{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=Fo.next(this._element,oa)[0]||Fo.prev(this._element,oa)[0]||Fo.findOne(oa,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return da}static get DefaultType(){return fa}static get NAME(){return Wi}toggle(){return this._isShown()?this.hide():this.show()}show(){if(oo(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!Lo.trigger(this._element,Xi,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const e of[].concat(...document.body.children))Lo.on(e,"mouseover",ao);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(ta),this._element.classList.add(ta),Lo.trigger(this._element,Gi,e)}}hide(){if(oo(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!Lo.trigger(this._element,$i,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))Lo.off(e,"mouseover",ao);this._popper&&this._popper.destroy(),this._menu.classList.remove(ta),this._element.classList.remove(ta),this._element.setAttribute("aria-expanded","false"),Do.removeDataAttribute(this._menu,"popper"),Lo.trigger(this._element,Yi,e)}}_getConfig(e){if("object"===typeof(e=super._getConfig(e)).reference&&!to(e.reference)&&"function"!==typeof e.reference.getBoundingClientRect)throw new TypeError("".concat(Wi.toUpperCase(),': Option "reference" provided type "object" without a required "getBoundingClientRect" method.'));return e}_createPopper(){if("undefined"===typeof e)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=this._parent:to(this._config.reference)?t=no(this._config.reference):"object"===typeof this._config.reference&&(t=this._config.reference);const n=this._getPopperConfig();this._popper=$r(t,this._menu,n)}_isShown(){return this._menu.classList.contains(ta)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return ua;if(e.classList.contains("dropstart"))return ca;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?aa:ia:t?sa:la}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"===typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"===typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(Do.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...po(this._config.popperConfig,[e])}}_selectMenuItem(e){let{key:t,target:n}=e;const r=Fo.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((e=>ro(e)));r.length&&mo(r,n,t===Qi,!r.includes(n)).focus()}static jQueryInterface(e){return this.each((function(){const t=pa.getOrCreateInstance(this,e);if("string"===typeof e){if("undefined"===typeof t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=Fo.find(ra);for(const n of t){const t=pa.getInstance(n);if(!t||!1===t._config.autoClose)continue;const r=e.composedPath(),o=r.includes(t._menu);if(r.includes(t._element)||"inside"===t._config.autoClose&&!o||"outside"===t._config.autoClose&&o)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const i={relatedTarget:t._element};"click"===e.type&&(i.clickEvent=e),t._completeHide(i)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,r=[Ki,Qi].includes(e.key);if(!r&&!n)return;if(t&&!n)return;e.preventDefault();const o=this.matches(na)?this:Fo.prev(this,na)[0]||Fo.next(this,na)[0]||Fo.findOne(na,e.delegateTarget.parentNode),i=pa.getOrCreateInstance(o);if(r)return e.stopPropagation(),i.show(),void i._selectMenuItem(e);i._isShown()&&(e.stopPropagation(),i.hide(),o.focus())}}Lo.on(document,Ji,na,pa.dataApiKeydownHandler),Lo.on(document,Ji,oa,pa.dataApiKeydownHandler),Lo.on(document,Zi,pa.clearMenus),Lo.on(document,ea,pa.clearMenus),Lo.on(document,Zi,na,(function(e){e.preventDefault(),pa.getOrCreateInstance(this).toggle()})),fo(pa);const ha="backdrop",ma="show",ga="mousedown.bs.".concat(ha),va={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},ba={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class ya extends Ro{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return va}static get DefaultType(){return ba}static get NAME(){return ha}show(e){if(!this._config.isVisible)return void po(e);this._append();const t=this._getElement();this._config.isAnimated&&lo(t),t.classList.add(ma),this._emulateAnimation((()=>{po(e)}))}hide(e){this._config.isVisible?(this._getElement().classList.remove(ma),this._emulateAnimation((()=>{this.dispose(),po(e)}))):po(e)}dispose(){this._isAppended&&(Lo.off(this._element,ga),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=no(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),Lo.on(e,ga,(()=>{po(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(e){ho(e,this._getElement(),this._config.isAnimated)}}const _a=".".concat("bs.focustrap"),wa="focusin".concat(_a),ka="keydown.tab".concat(_a),xa="backward",Ea={autofocus:!0,trapElement:null},Sa={autofocus:"boolean",trapElement:"element"};class Ca extends Ro{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Ea}static get DefaultType(){return Sa}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),Lo.off(document,_a),Lo.on(document,wa,(e=>this._handleFocusin(e))),Lo.on(document,ka,(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,Lo.off(document,_a))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const n=Fo.focusableChildren(t);0===n.length?t.focus():this._lastTabNavDirection===xa?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?xa:"forward")}}const Na=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Ta=".sticky-top",Oa="padding-right",Pa="margin-right";class La{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Oa,(t=>t+e)),this._setElementAttributes(Na,Oa,(t=>t+e)),this._setElementAttributes(Ta,Pa,(t=>t-e))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Oa),this._resetElementAttributes(Na,Oa),this._resetElementAttributes(Ta,Pa)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const r=this.getWidth();this._applyManipulationCallback(e,(e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+r)return;this._saveInitialAttribute(e,t);const o=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,"".concat(n(Number.parseFloat(o)),"px"))}))}_saveInitialAttribute(e,t){const n=e.style.getPropertyValue(t);n&&Do.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(e=>{const n=Do.getDataAttribute(e,t);null!==n?(Do.removeDataAttribute(e,t),e.style.setProperty(t,n)):e.style.removeProperty(t)}))}_applyManipulationCallback(e,t){if(to(e))t(e);else for(const n of Fo.find(e,this._element))t(n)}}const Aa=".".concat("bs.modal"),ja="hide".concat(Aa),Ia="hidePrevented".concat(Aa),Da="hidden".concat(Aa),Ra="show".concat(Aa),Ma="shown".concat(Aa),za="resize".concat(Aa),Fa="click.dismiss".concat(Aa),Ba="mousedown.dismiss".concat(Aa),Ha="keydown.dismiss".concat(Aa),Ua="click".concat(Aa).concat(".data-api"),Wa="modal-open",Va="show",qa="modal-static",Ka={backdrop:!0,focus:!0,keyboard:!0},Qa={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class $a extends Mo{constructor(e,t){super(e,t),this._dialog=Fo.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new La,this._addEventListeners()}static get Default(){return Ka}static get DefaultType(){return Qa}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||this._isTransitioning)return;Lo.trigger(this._element,Ra,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Wa),this._adjustDialog(),this._backdrop.show((()=>this._showElement(e))))}hide(){if(!this._isShown||this._isTransitioning)return;Lo.trigger(this._element,ja).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Va),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated()))}dispose(){Lo.off(window,Aa),Lo.off(this._dialog,Aa),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ya({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ca({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=Fo.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),lo(this._element),this._element.classList.add(Va);this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,Lo.trigger(this._element,Ma,{relatedTarget:e})}),this._dialog,this._isAnimated())}_addEventListeners(){Lo.on(this._element,Ha,(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),Lo.on(window,za,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),Lo.on(this._element,Ba,(e=>{Lo.one(this._element,Fa,(t=>{this._element===e.target&&this._element===t.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(Wa),this._resetAdjustments(),this._scrollBar.reset(),Lo.trigger(this._element,Da)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(Lo.trigger(this._element,Ia).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(qa)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(qa),this._queueCallback((()=>{this._element.classList.remove(qa),this._queueCallback((()=>{this._element.style.overflowY=t}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;if(n&&!e){const e=co()?"paddingLeft":"paddingRight";this._element.style[e]="".concat(t,"px")}if(!n&&e){const e=co()?"paddingRight":"paddingLeft";this._element.style[e]="".concat(t,"px")}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const n=$a.getOrCreateInstance(this,e);if("string"===typeof e){if("undefined"===typeof n[e])throw new TypeError('No method named "'.concat(e,'"'));n[e](t)}}))}}Lo.on(document,Ua,'[data-bs-toggle="modal"]',(function(e){const t=Fo.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),Lo.one(t,Ra,(e=>{e.defaultPrevented||Lo.one(t,Da,(()=>{ro(this)&&this.focus()}))}));const n=Fo.findOne(".modal.show");n&&$a.getInstance(n).hide();$a.getOrCreateInstance(t).toggle(this)})),Bo($a),fo($a);const Ya=".".concat("bs.offcanvas"),Xa=".data-api",Ga="load".concat(Ya).concat(Xa),Za="show",Ja="showing",el="hiding",tl=".offcanvas.show",nl="show".concat(Ya),rl="shown".concat(Ya),ol="hide".concat(Ya),il="hidePrevented".concat(Ya),al="hidden".concat(Ya),ll="resize".concat(Ya),sl="click".concat(Ya).concat(Xa),ul="keydown.dismiss".concat(Ya),cl={backdrop:!0,keyboard:!0,scroll:!1},dl={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class fl extends Mo{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return cl}static get DefaultType(){return dl}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown)return;if(Lo.trigger(this._element,nl,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new La).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Ja);this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Za),this._element.classList.remove(Ja),Lo.trigger(this._element,rl,{relatedTarget:e})}),this._element,!0)}hide(){if(!this._isShown)return;if(Lo.trigger(this._element,ol).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(el),this._backdrop.hide();this._queueCallback((()=>{this._element.classList.remove(Za,el),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new La).reset(),Lo.trigger(this._element,al)}),this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=Boolean(this._config.backdrop);return new ya({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():Lo.trigger(this._element,il)}:null})}_initializeFocusTrap(){return new Ca({trapElement:this._element})}_addEventListeners(){Lo.on(this._element,ul,(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():Lo.trigger(this._element,il))}))}static jQueryInterface(e){return this.each((function(){const t=fl.getOrCreateInstance(this,e);if("string"===typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e](this)}}))}}Lo.on(document,sl,'[data-bs-toggle="offcanvas"]',(function(e){const t=Fo.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),oo(this))return;Lo.one(t,al,(()=>{ro(this)&&this.focus()}));const n=Fo.findOne(tl);n&&n!==t&&fl.getInstance(n).hide();fl.getOrCreateInstance(t).toggle(this)})),Lo.on(window,Ga,(()=>{for(const e of Fo.find(tl))fl.getOrCreateInstance(e).show()})),Lo.on(window,ll,(()=>{for(const e of Fo.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&fl.getOrCreateInstance(e).hide()})),Bo(fl),fo(fl);const pl={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},hl=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),ml=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,gl=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?!hl.has(n)||Boolean(ml.test(e.nodeValue)):t.filter((e=>e instanceof RegExp)).some((e=>e.test(n)))};const vl={allowList:pl,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},bl={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},yl={entry:"(string|element|function|null)",selector:"(string|element)"};class _l extends Ro{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return vl}static get DefaultType(){return bl}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((e=>this._resolvePossibleFunction(e))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[r,o]of Object.entries(this._config.content))this._setContent(e,o,r);const t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},yl)}_setContent(e,t,n){const r=Fo.findOne(n,e);r&&((t=this._resolvePossibleFunction(t))?to(t)?this._putElementInTemplate(no(t),r):this._config.html?r.innerHTML=this._maybeSanitize(t):r.textContent=t:r.remove())}_maybeSanitize(e){return this._config.sanitize?function(e,t,n){if(!e.length)return e;if(n&&"function"===typeof n)return n(e);const r=(new window.DOMParser).parseFromString(e,"text/html"),o=[].concat(...r.body.querySelectorAll("*"));for(const i of o){const e=i.nodeName.toLowerCase();if(!Object.keys(t).includes(e)){i.remove();continue}const n=[].concat(...i.attributes),r=[].concat(t["*"]||[],t[e]||[]);for(const t of n)gl(t,r)||i.removeAttribute(t.nodeName)}return r.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return po(e,[this])}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const wl=new Set(["sanitize","allowList","sanitizeFn"]),kl="fade",xl="show",El=".tooltip-inner",Sl=".".concat("modal"),Cl="hide.bs.modal",Nl="hover",Tl="focus",Ol={AUTO:"auto",TOP:"top",RIGHT:co()?"left":"right",BOTTOM:"bottom",LEFT:co()?"right":"left"},Pl={allowList:pl,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Ll={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Al extends Mo{constructor(t,n){if("undefined"===typeof e)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,n),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Pl}static get DefaultType(){return Ll}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),Lo.off(this._element.closest(Sl),Cl,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const e=Lo.trigger(this._element,this.constructor.eventName("show")),t=(io(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:r}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(r.append(n),Lo.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(n),n.classList.add(xl),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))Lo.on(o,"mouseover",ao);this._queueCallback((()=>{Lo.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(Lo.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;if(this._getTipElement().classList.remove(xl),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))Lo.off(e,"mouseover",ao);this._activeTrigger.click=!1,this._activeTrigger[Tl]=!1,this._activeTrigger[Nl]=!1,this._isHovered=null;this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),Lo.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(kl,xl),t.classList.add("bs-".concat(this.constructor.NAME,"-auto"));const n=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(kl),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new _l({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[El]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(kl)}_isShown(){return this.tip&&this.tip.classList.contains(xl)}_createPopper(e){const t=po(this._config.placement,[this,e,this._element]),n=Ol[t.toUpperCase()];return $r(this._element,e,this._getPopperConfig(n))}_getOffset(){const{offset:e}=this._config;return"string"===typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"===typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return po(e,[this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:".".concat(this.constructor.NAME,"-arrow")}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,...po(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)Lo.on(this._element,this.constructor.eventName("click"),this._config.selector,(e=>{this._initializeOnDelegatedTarget(e).toggle()}));else if("manual"!==t){const e=t===Nl?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=t===Nl?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");Lo.on(this._element,e,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?Tl:Nl]=!0,t._enter()})),Lo.on(this._element,n,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?Tl:Nl]=t._element.contains(e.relatedTarget),t._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},Lo.on(this._element.closest(Sl),Cl,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=Do.getDataAttributes(this._element);for(const n of Object.keys(t))wl.has(n)&&delete t[n];return e={...t,..."object"===typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:no(e.container),"number"===typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"===typeof e.title&&(e.title=e.title.toString()),"number"===typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,n]of Object.entries(this._config))this.constructor.Default[t]!==n&&(e[t]=n);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each((function(){const t=Al.getOrCreateInstance(this,e);if("string"===typeof e){if("undefined"===typeof t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}}fo(Al);const jl=".popover-header",Il=".popover-body",Dl={...Al.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Rl={...Al.DefaultType,content:"(null|string|element|function)"};class Ml extends Al{static get Default(){return Dl}static get DefaultType(){return Rl}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[jl]:this._getTitle(),[Il]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each((function(){const t=Ml.getOrCreateInstance(this,e);if("string"===typeof e){if("undefined"===typeof t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}}fo(Ml);const zl=".".concat("bs.scrollspy"),Fl="activate".concat(zl),Bl="click".concat(zl),Hl="load".concat(zl).concat(".data-api"),Ul="active",Wl="[href]",Vl=".nav-link",ql="".concat(Vl,", ").concat(".nav-item"," > ").concat(Vl,", ").concat(".list-group-item"),Kl={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Ql={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class $l extends Mo{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Kl}static get DefaultType(){return Ql}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=no(e.target)||document.body,e.rootMargin=e.offset?"".concat(e.offset,"px 0px -30%"):e.rootMargin,"string"===typeof e.threshold&&(e.threshold=e.threshold.split(",").map((e=>Number.parseFloat(e)))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(Lo.off(this._config.target,Bl),Lo.on(this._config.target,Bl,Wl,(e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const n=this._rootElement||window,r=t.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:r,behavior:"smooth"});n.scrollTop=r}})))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((e=>this._observerCallback(e)),e)}_observerCallback(e){const t=e=>this._targetLinks.get("#".concat(e.target.id)),n=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},r=(this._rootElement||document.documentElement).scrollTop,o=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(const i of e){if(!i.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(i));continue}const e=i.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(o&&e){if(n(i),!r)return}else o||e||n(i)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=Fo.find(Wl,this._config.target);for(const t of e){if(!t.hash||oo(t))continue;const e=Fo.findOne(decodeURI(t.hash),this._element);ro(e)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Ul),this._activateParents(e),Lo.trigger(this._element,Fl,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))Fo.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(Ul);else for(const t of Fo.parents(e,".nav, .list-group"))for(const e of Fo.prev(t,ql))e.classList.add(Ul)}_clearActiveClass(e){e.classList.remove(Ul);const t=Fo.find("".concat(Wl,".").concat(Ul),e);for(const n of t)n.classList.remove(Ul)}static jQueryInterface(e){return this.each((function(){const t=$l.getOrCreateInstance(this,e);if("string"===typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}}Lo.on(window,Hl,(()=>{for(const e of Fo.find('[data-bs-spy="scroll"]'))$l.getOrCreateInstance(e)})),fo($l);const Yl=".".concat("bs.tab"),Xl="hide".concat(Yl),Gl="hidden".concat(Yl),Zl="show".concat(Yl),Jl="shown".concat(Yl),es="click".concat(Yl),ts="keydown".concat(Yl),ns="load".concat(Yl),rs="ArrowLeft",os="ArrowRight",is="ArrowUp",as="ArrowDown",ls="Home",ss="End",us="active",cs="fade",ds="show",fs=".dropdown-toggle",ps=":not(".concat(fs,")"),hs=".nav-link".concat(ps,", .list-group-item").concat(ps,', [role="tab"]').concat(ps),ms='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',gs="".concat(hs,", ").concat(ms),vs=".".concat(us,'[data-bs-toggle="tab"], .').concat(us,'[data-bs-toggle="pill"], .').concat(us,'[data-bs-toggle="list"]');class bs extends Mo{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),Lo.on(this._element,ts,(e=>this._keydown(e))))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),n=t?Lo.trigger(t,Xl,{relatedTarget:e}):null;Lo.trigger(e,Zl,{relatedTarget:t}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(us),this._activate(Fo.getElementFromSelector(e));this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),Lo.trigger(e,Jl,{relatedTarget:t})):e.classList.add(ds)}),e,e.classList.contains(cs))}_deactivate(e,t){if(!e)return;e.classList.remove(us),e.blur(),this._deactivate(Fo.getElementFromSelector(e));this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),Lo.trigger(e,Gl,{relatedTarget:t})):e.classList.remove(ds)}),e,e.classList.contains(cs))}_keydown(e){if(![rs,os,is,as,ls,ss].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=this._getChildren().filter((e=>!oo(e)));let n;if([ls,ss].includes(e.key))n=t[e.key===ls?0:t.length-1];else{const r=[os,as].includes(e.key);n=mo(t,e.target,r,!0)}n&&(n.focus({preventScroll:!0}),bs.getOrCreateInstance(n).show())}_getChildren(){return Fo.find(gs,this._parent)}_getActiveElem(){return this._getChildren().find((e=>this._elemIsActive(e)))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const n of t)this._setInitialAttributesOnChild(n)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=Fo.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby","".concat(e.id)))}_toggleDropDown(e,t){const n=this._getOuterElement(e);if(!n.classList.contains("dropdown"))return;const r=(e,r)=>{const o=Fo.findOne(e,n);o&&o.classList.toggle(r,t)};r(fs,us),r(".dropdown-menu",ds),n.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(us)}_getInnerElement(e){return e.matches(gs)?e:Fo.findOne(gs,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each((function(){const t=bs.getOrCreateInstance(this);if("string"===typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}}Lo.on(document,es,ms,(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),oo(this)||bs.getOrCreateInstance(this).show()})),Lo.on(window,ns,(()=>{for(const e of Fo.find(vs))bs.getOrCreateInstance(e)})),fo(bs);const ys=".".concat("bs.toast"),_s="mouseover".concat(ys),ws="mouseout".concat(ys),ks="focusin".concat(ys),xs="focusout".concat(ys),Es="hide".concat(ys),Ss="hidden".concat(ys),Cs="show".concat(ys),Ns="shown".concat(ys),Ts="hide",Os="show",Ps="showing",Ls={animation:"boolean",autohide:"boolean",delay:"number"},As={animation:!0,autohide:!0,delay:5e3};class js extends Mo{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return As}static get DefaultType(){return Ls}static get NAME(){return"toast"}show(){if(Lo.trigger(this._element,Cs).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(Ts),lo(this._element),this._element.classList.add(Os,Ps),this._queueCallback((()=>{this._element.classList.remove(Ps),Lo.trigger(this._element,Ns),this._maybeScheduleHide()}),this._element,this._config.animation)}hide(){if(!this.isShown())return;if(Lo.trigger(this._element,Es).defaultPrevented)return;this._element.classList.add(Ps),this._queueCallback((()=>{this._element.classList.add(Ts),this._element.classList.remove(Ps,Os),Lo.trigger(this._element,Ss)}),this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Os),super.dispose()}isShown(){return this._element.classList.contains(Os)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){Lo.on(this._element,_s,(e=>this._onInteraction(e,!0))),Lo.on(this._element,ws,(e=>this._onInteraction(e,!1))),Lo.on(this._element,ks,(e=>this._onInteraction(e,!0))),Lo.on(this._element,xs,(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=js.getOrCreateInstance(this,e);if("string"===typeof e){if("undefined"===typeof t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e](this)}}))}}Bo(js),fo(js);const Is=function(e,n){const r=(0,t.useRef)(!0);(0,t.useEffect)((()=>{if(!r.current)return e();r.current=!1}),n)},Ds=2**31-1;function Rs(e,t,n){const r=n-Date.now();e.current=r<=Ds?setTimeout(t,r):setTimeout((()=>Rs(e,t,n)),Ds)}function Ms(){const e=re(),n=(0,t.useRef)();return ut((()=>clearTimeout(n.current))),(0,t.useMemo)((()=>{const t=()=>clearTimeout(n.current);return{set:function(r){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;e()&&(t(),o<=Ds?n.current=setTimeout(r,o):Rs(n,r,Date.now()+o))},clear:t,handleRef:n}}),[])}const zs=t.forwardRef(((e,t)=>{let{className:n,bsPrefix:r,as:o="div",...l}=e;return r=f(r,"carousel-caption"),(0,a.jsx)(o,{ref:t,className:i()(n,r),...l})}));zs.displayName="CarouselCaption";const Fs=zs,Bs=t.forwardRef(((e,t)=>{let{as:n="div",bsPrefix:r,className:o,...l}=e;const s=i()(o,f(r,"carousel-item"));return(0,a.jsx)(n,{ref:t,...l,className:s})}));Bs.displayName="CarouselItem";const Hs=Bs;function Us(e,n){let r=0;return t.Children.map(e,(e=>t.isValidElement(e)?n(e,r++):e))}const Ws=t.forwardRef(((e,n)=>{let{defaultActiveIndex:r=0,...o}=e;const{as:l="div",bsPrefix:s,slide:c=!0,fade:d=!1,controls:p=!0,indicators:h=!0,indicatorLabels:m=[],activeIndex:g,onSelect:v,onSlide:b,onSlid:y,interval:_=5e3,keyboard:k=!0,onKeyDown:x,pause:E="hover",onMouseOver:S,onMouseOut:C,wrap:N=!0,touch:T=!0,onTouchStart:O,onTouchMove:P,onTouchEnd:L,prevIcon:A=(0,a.jsx)("span",{"aria-hidden":"true",className:"carousel-control-prev-icon"}),prevLabel:j="Previous",nextIcon:I=(0,a.jsx)("span",{"aria-hidden":"true",className:"carousel-control-next-icon"}),nextLabel:D="Next",variant:z,className:F,children:B,...H}=w({defaultActiveIndex:r,...o},{activeIndex:"onSelect"}),U=f(s,"carousel"),W=function(){const{dir:e}=(0,t.useContext)(u);return"rtl"===e}(),V=(0,t.useRef)(null),[q,K]=(0,t.useState)("next"),[Q,$]=(0,t.useState)(!1),[Y,X]=(0,t.useState)(!1),[G,Z]=(0,t.useState)(g||0);(0,t.useEffect)((()=>{Y||g===G||(V.current?K(V.current):K((g||0)>G?"next":"prev"),c&&X(!0),Z(g||0))}),[g,Y,G,c]),(0,t.useEffect)((()=>{V.current&&(V.current=null)}));let J,ee=0;!function(e,n){let r=0;t.Children.forEach(e,(e=>{t.isValidElement(e)&&n(e,r++)}))}(B,((e,t)=>{++ee,t===g&&(J=e.props.interval)}));const te=R(J),ne=(0,t.useCallback)((e=>{if(Y)return;let t=G-1;if(t<0){if(!N)return;t=ee-1}V.current="prev",null==v||v(t,e)}),[Y,G,v,N,ee]),re=M((e=>{if(Y)return;let t=G+1;if(t>=ee){if(!N)return;t=0}V.current="next",null==v||v(t,e)})),oe=(0,t.useRef)();(0,t.useImperativeHandle)(n,(()=>({element:oe.current,prev:ne,next:re})));const ie=M((()=>{!document.hidden&&function(e){if(!e||!e.style||!e.parentNode||!e.parentNode.style)return!1;const t=getComputedStyle(e);return"none"!==t.display&&"hidden"!==t.visibility&&"none"!==getComputedStyle(e.parentNode).display}(oe.current)&&(W?ne():re())})),ae="next"===q?"start":"end";Is((()=>{c||(null==b||b(G,ae),null==y||y(G,ae))}),[G]);const le="".concat(U,"-item-").concat(q),ue="".concat(U,"-item-").concat(ae),ce=(0,t.useCallback)((e=>{Ke(e),null==b||b(G,ae)}),[b,G,ae]),de=(0,t.useCallback)((()=>{X(!1),null==y||y(G,ae)}),[y,G,ae]),fe=(0,t.useCallback)((e=>{if(k&&!/input|textarea/i.test(e.target.tagName))switch(e.key){case"ArrowLeft":return e.preventDefault(),void(W?re(e):ne(e));case"ArrowRight":return e.preventDefault(),void(W?ne(e):re(e))}null==x||x(e)}),[k,x,ne,re,W]),pe=(0,t.useCallback)((e=>{"hover"===E&&$(!0),null==S||S(e)}),[E,S]),he=(0,t.useCallback)((e=>{$(!1),null==C||C(e)}),[C]),me=(0,t.useRef)(0),ge=(0,t.useRef)(0),ve=Ms(),be=(0,t.useCallback)((e=>{me.current=e.touches[0].clientX,ge.current=0,"hover"===E&&$(!0),null==O||O(e)}),[E,O]),ye=(0,t.useCallback)((e=>{e.touches&&e.touches.length>1?ge.current=0:ge.current=e.touches[0].clientX-me.current,null==P||P(e)}),[P]),_e=(0,t.useCallback)((e=>{if(T){const t=ge.current;Math.abs(t)>40&&(t>0?ne(e):re(e))}"hover"===E&&ve.set((()=>{$(!1)}),_||void 0),null==L||L(e)}),[T,E,ne,re,ve,_,L]),we=null!=_&&!Q&&!Y,ke=(0,t.useRef)();(0,t.useEffect)((()=>{var e,t;if(!we)return;const n=W?ne:re;return ke.current=window.setInterval(document.visibilityState?ie:n,null!=(e=null!=(t=te.current)?t:_)?e:void 0),()=>{null!==ke.current&&clearInterval(ke.current)}}),[we,ne,re,te,_,ie,W]);const xe=(0,t.useMemo)((()=>h&&Array.from({length:ee},((e,t)=>e=>{null==v||v(t,e)}))),[h,ee,v]);return(0,a.jsxs)(l,{ref:oe,...H,onKeyDown:fe,onMouseOver:pe,onMouseOut:he,onTouchStart:be,onTouchMove:ye,onTouchEnd:_e,className:i()(F,U,c&&"slide",d&&"".concat(U,"-fade"),z&&"".concat(U,"-").concat(z)),children:[h&&(0,a.jsx)("div",{className:"".concat(U,"-indicators"),children:Us(B,((e,t)=>(0,a.jsx)("button",{type:"button","data-bs-target":"","aria-label":null!=m&&m.length?m[t]:"Slide ".concat(t+1),className:t===G?"active":void 0,onClick:xe?xe[t]:void 0,"aria-current":t===G},t)))}),(0,a.jsx)("div",{className:"".concat(U,"-inner"),children:Us(B,((e,n)=>{const r=n===G;return c?(0,a.jsx)(Qe,{in:r,onEnter:r?ce:void 0,onEntered:r?de:void 0,addEndListener:Ve,children:(n,o)=>t.cloneElement(e,{...o,className:i()(e.props.className,r&&"entered"!==n&&le,("entered"===n||"exiting"===n)&&"active",("entering"===n||"exiting"===n)&&ue)})}):t.cloneElement(e,{className:i()(e.props.className,r&&"active")})}))}),p&&(0,a.jsxs)(a.Fragment,{children:[(N||0!==g)&&(0,a.jsxs)(se,{className:"".concat(U,"-control-prev"),onClick:ne,children:[A,j&&(0,a.jsx)("span",{className:"visually-hidden",children:j})]}),(N||g!==ee-1)&&(0,a.jsxs)(se,{className:"".concat(U,"-control-next"),onClick:re,children:[I,D&&(0,a.jsx)("span",{className:"visually-hidden",children:D})]})]})]})}));Ws.displayName="Carousel";const Vs=Object.assign(Ws,{Caption:Fs,Item:Hs}),qs=n.p+"static/media/gfc-logo-12@2x_transp.035b584d6a241c7ec0a3.png",Ks=n.p+"static/media/nostr_logo.a01902db31288a2e6ca8.png",Qs=n.p+"static/media/pr_map.2cf016352d8256cc17ce.png";const $s=function(){return(0,a.jsxs)(Vs,{children:[(0,a.jsxs)(Vs.Item,{children:[(0,a.jsx)("img",{src:qs,alt:"first slide",className:"d-block w-100"}),(0,a.jsxs)(Vs.Caption,{children:[(0,a.jsx)("h3",{children:"Programming"}),(0,a.jsx)("p",{children:"Regular engagement in international GitFitCode Community."})]})]}),(0,a.jsxs)(Vs.Item,{children:[(0,a.jsx)("img",{src:Ks,alt:"second slide",className:"d-block w-100"}),(0,a.jsxs)(Vs.Caption,{children:[(0,a.jsx)("h3",{children:"Nostr"}),(0,a.jsx)("p",{children:"Find me on Nostr by searching miggymofongo@miguelalmodo.com on any nostr client."})]})]}),(0,a.jsxs)(Vs.Item,{children:[(0,a.jsx)("img",{src:Qs,alt:"third slide",className:"d-block w-100"}),(0,a.jsxs)(Vs.Caption,{children:[(0,a.jsx)("h3",{children:"Puerto Rico"}),(0,a.jsx)("p",{children:"I'm a pirate in the Caribbean!"})]})]})]})},Ys=t.forwardRef(((e,t)=>{let{bsPrefix:n,className:r,as:o="div",...l}=e;const s=f(n,"row"),u=p(),c=h(),d="".concat(s,"-cols"),m=[];return u.forEach((e=>{const t=l[e];let n;delete l[e],null!=t&&"object"===typeof t?({cols:n}=t):n=t;const r=e!==c?"-".concat(e):"";null!=n&&m.push("".concat(d).concat(r,"-").concat(n))})),(0,a.jsx)(o,{ref:t,...l,className:i()(r,s,...m)})}));Ys.displayName="Row";const Xs=Ys;const Gs=t.forwardRef(((e,t)=>{const[{className:n,...r},{as:o="div",bsPrefix:l,spans:s}]=function(e){let{as:t,bsPrefix:n,className:r,...o}=e;n=f(n,"col");const a=p(),l=h(),s=[],u=[];return a.forEach((e=>{const t=o[e];let r,i,a;delete o[e],"object"===typeof t&&null!=t?({span:r,offset:i,order:a}=t):r=t;const c=e!==l?"-".concat(e):"";r&&s.push(!0===r?"".concat(n).concat(c):"".concat(n).concat(c,"-").concat(r)),null!=a&&u.push("order".concat(c,"-").concat(a)),null!=i&&u.push("offset".concat(c,"-").concat(i))})),[{...o,className:i()(r,...s,...u)},{as:t,bsPrefix:n,spans:s}]}(e);return(0,a.jsx)(o,{...r,ref:t,className:i()(n,!s.length&&l)})}));Gs.displayName="Col";const Zs=Gs;function Js(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s;const r=[];return Object.entries(e).forEach((e=>{let[o,i]=e;null!=i&&("object"===typeof i?t.forEach((e=>{const t=i[e];if(null!=t){const i=e!==n?"-".concat(e):"";r.push("".concat(o).concat(i,"-").concat(t))}})):r.push("".concat(o,"-").concat(i)))})),r}const eu=t.forwardRef(((e,t)=>{let{as:n="div",bsPrefix:r,className:o,direction:l,gap:s,...u}=e;r=f(r,"horizontal"===l?"hstack":"vstack");const c=p(),d=h();return(0,a.jsx)(n,{...u,ref:t,className:i()(o,r,...Js({gap:s},c,d))})}));eu.displayName="Stack";const tu=eu,nu=(Mt().string,Mt().bool,Mt().bool,Mt().bool,Mt().bool,t.forwardRef(((e,t)=>{let{bsPrefix:n,className:r,fluid:o=!1,rounded:l=!1,roundedCircle:s=!1,thumbnail:u=!1,...c}=e;return n=f(n,"img"),(0,a.jsx)("img",{ref:t,...c,className:i()(r,o&&"".concat(n,"-fluid"),l&&"rounded",s&&"rounded-circle",u&&"".concat(n,"-thumbnail"))})})));nu.displayName="Image";const ru=nu;const ou=function(){return(0,a.jsx)("footer",{children:(0,a.jsx)(g,{fluid:!0,children:(0,a.jsxs)(Xs,{className:"bg-primary text-white",children:[(0,a.jsx)(Zs,{children:(0,a.jsxs)(tu,{children:[(0,a.jsx)(ru,{src:"https://migs.uber.space/img/WEPA.png",width:100,height:100}),(0,a.jsx)("h2",{children:"Miguel Almodovar"})]})}),(0,a.jsx)(Zs,{children:(0,a.jsxs)(fe,{className:"flex-column fs-5",children:["Useful Links",(0,a.jsx)(ce,{href:"https://library.miguelalmodo.com",className:"text-dark",children:"Bookshelf"}),(0,a.jsx)(ce,{href:"https://miguelalmodo.com/blog",className:"text-dark",children:"Blog"}),(0,a.jsx)(ce,{href:"",className:"",children:"Main Page"})]})}),(0,a.jsxs)(Zs,{children:[(0,a.jsx)("h4",{children:"Contact me!"}),(0,a.jsx)("a",{className:"text-dark",href:"mailto:contact@miguelalmodo.com",children:(0,a.jsx)("p",{children:"Email me at contact@miguelalmodo.com"})})]})]})})})};class iu extends t.Component{constructor(){super(...arguments),this.state={quote:hn[0].quote,author:hn[0].author,game:hn[0].game},this.generateRandomQuote=e=>{let t=Math.floor(Math.random()*hn.length),n=hn[t];this.setState({quote:n.quote,author:n.author,game:n.game}),this.shuffleQuotes(hn)},this.shuffleQuotes=e=>e.sort((function(){return.5-Math.random()})),this.whatGameAlert=()=>{alert(this.state.game)}}render(){return(0,a.jsxs)("div",{children:[(0,a.jsx)(pn,{}),(0,a.jsxs)("div",{className:"wrapper",children:[(0,a.jsx)("h1",{className:"text-center",children:"Random Kingdom Hearts Quote Generator"}),(0,a.jsx)("p",{children:" Click the WEPA! button to cycle through an array of different character quotes from the Kingdom Hearts video game series!"}),(0,a.jsx)(vn,{generateRandomQuote:this.generateRandomQuote,quote:this.state,author:this.state.author,whatGameAlert:this.whatGameAlert,game:this.state.game})]}),(0,a.jsx)("div",{className:"wrapper",children:(0,a.jsx)($s,{})}),(0,a.jsx)(ou,{})]})}}const au=e=>{e&&e instanceof Function&&n.e(453).then(n.bind(n,453)).then((t=>{let{getCLS:n,getFID:r,getFCP:o,getLCP:i,getTTFB:a}=t;n(e),r(e),o(e),i(e),a(e)}))};r.createRoot(document.getElementById("root")).render((0,a.jsx)(t.StrictMode,{children:(0,a.jsx)(iu,{})})),au()})()})();
//# sourceMappingURL=main.75d58ab6.js.map