(()=>{var e,t,n={540:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},961:(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(e){console.error(e)}}(),e.exports=n(2551)},1020:(e,t,n)=>{"use strict";var r=n(6540),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};
/**
 * @license React
 * react-jsx-runtime.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:a,type:e,key:c,ref:u,props:o,_owner:s.current}}t.jsx=c,t.jsxs=c},1113:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},1601:e=>{"use strict";e.exports=function(e){return e[1]}},2551:(e,t,n)=>{"use strict";
/**
 * @license React
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r=n(6540),a=n(9982);function o(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 i=new Set,s={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)i.add(t[e])}var u=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,p=/^[: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]*$/,f={},h={};function m(e,t,n,r,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}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 _=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function v(e,t,n,r){var a=g.hasOwnProperty(t)?g[t]:null;(null!==a?0!==a.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||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,a,r)&&(n=null),r||null===a?function(e){return!!d.call(h,e)||!d.call(f,e)&&(p.test(e)?h[e]=!0:(f[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(_,y);g[t]=new m(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(_,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(_,y);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 b=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,T=Symbol.for("react.element"),w=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),M=Symbol.for("react.provider"),C=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),A=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),z=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var N=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var R=Symbol.iterator;function O(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=R&&e[R]||e["@@iterator"])?e:null}var D,I=Object.assign;function j(e){if(void 0===D)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);D=t&&t[1]||""}return"\n"+D+e}var $=!1;function F(e,t){if(!e||$)return"";$=!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(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,s=o.length-1;1<=i&&0<=s&&a[i]!==o[s];)s--;for(;1<=i&&0<=s;i--,s--)if(a[i]!==o[s]){if(1!==i||1!==s)do{if(i--,0>--s||a[i]!==o[s]){var l="\n"+a[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=i&&0<=s);break}}}finally{$=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?j(e):""}function B(e){switch(e.tag){case 5:return j(e.type);case 16:return j("Lazy");case 13:return j("Suspense");case 19:return j("SuspenseList");case 0:case 2:case 15:return e=F(e.type,!1);case 11:return e=F(e.type.render,!1);case 1:return e=F(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 k:return"Fragment";case w:return"Portal";case x:return"Profiler";case S:return"StrictMode";case P:return"Suspense";case A:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case C:return(e.displayName||"Context")+".Consumer";case M:return(e._context.displayName||"Context")+".Provider";case E: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 z:t=e._payload,e=e._init;try{return U(e(t))}catch(e){}}return null}function V(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return U(t);case 8:return t===S?"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 H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function G(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function W(e){e._valueTracker||(e._valueTracker=function(e){var t=G(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=G(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function K(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Q(e,t){var n=t.checked;return I({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function J(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function X(e,t){J(e,t);var n=H(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,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Z(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&K(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+H(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return I({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:H(n)}}function oe(e,t){var n=H(t.value),r=H(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 ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(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 le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.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 ue(e,t)})}:ue);function pe(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 fe={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||fe.hasOwnProperty(e)&&fe[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("--"),a=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(fe).forEach(function(e){he.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]})});var _e=I({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 ye(e,t){if(t){if(_e[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62))}}function ve(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 be=null;function Te(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var we=null,ke=null,Se=null;function xe(e){if(e=va(e)){if("function"!=typeof we)throw Error(o(280));var t=e.stateNode;t&&(t=Ta(t),we(e.stateNode,e.type,t))}}function Me(e){ke?Se?Se.push(e):Se=[e]:ke=e}function Ce(){if(ke){var e=ke,t=Se;if(Se=ke=null,xe(e),t)for(e=0;e<t.length;e++)xe(t[e])}}function Ee(e,t){return e(t)}function Pe(){}var Ae=!1;function Le(e,t,n){if(Ae)return e(t,n);Ae=!0;try{return Ee(e,t,n)}finally{Ae=!1,(null!==ke||null!==Se)&&(Pe(),Ce())}}function ze(e,t){var n=e.stateNode;if(null===n)return null;var r=Ta(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(o(231,t,typeof n));return n}var Ne=!1;if(u)try{var Re={};Object.defineProperty(Re,"passive",{get:function(){Ne=!0}}),window.addEventListener("test",Re,Re),window.removeEventListener("test",Re,Re)}catch(ue){Ne=!1}function Oe(e,t,n,r,a,o,i,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var De=!1,Ie=null,je=!1,$e=null,Fe={onError:function(e){De=!0,Ie=e}};function Be(e,t,n,r,a,o,i,s,l){De=!1,Ie=null,Oe.apply(Fe,arguments)}function Ue(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ve(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 He(e){if(Ue(e)!==e)throw Error(o(188))}function Ge(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ue(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(r=a.return)){n=r;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===n)return He(a),e;if(i===r)return He(a),t;i=i.sibling}throw Error(o(188))}if(n.return!==r.return)n=a,r=i;else{for(var s=!1,l=a.child;l;){if(l===n){s=!0,n=a,r=i;break}if(l===r){s=!0,r=a,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=a;break}if(l===r){s=!0,r=i,n=a;break}l=l.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?We(e):null}function We(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=We(e);if(null!==t)return t;e=e.sibling}return null}var qe=a.unstable_scheduleCallback,Ke=a.unstable_cancelCallback,Qe=a.unstable_shouldYield,Ye=a.unstable_requestPaint,Je=a.unstable_now,Xe=a.unstable_getCurrentPriorityLevel,Ze=a.unstable_ImmediatePriority,et=a.unstable_UserBlockingPriority,tt=a.unstable_NormalPriority,nt=a.unstable_LowPriority,rt=a.unstable_IdlePriority,at=null,ot=null;var it=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ct=64,ut=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 pt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=268435455&n;if(0!==i){var s=i&~a;0!==s?r=dt(s):0!==(o&=i)&&(r=dt(o))}else 0!==(i=n&~a)?r=dt(i):0!==o&&(r=dt(o));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&4194240&o))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-it(t)),r|=e[n],t&=~a;return r}function ft(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=ct;return!(4194240&(ct<<=1))&&(ct=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function _t(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var vt=0;function bt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var Tt,wt,kt,St,xt,Mt=!1,Ct=[],Et=null,Pt=null,At=null,Lt=new Map,zt=new Map,Nt=[],Rt="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 Ot(e,t){switch(e){case"focusin":case"focusout":Et=null;break;case"dragenter":case"dragleave":Pt=null;break;case"mouseover":case"mouseout":At=null;break;case"pointerover":case"pointerout":Lt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":zt.delete(t.pointerId)}}function Dt(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&(null!==(t=va(t))&&wt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function It(e){var t=ya(e.target);if(null!==t){var n=Ue(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ve(n)))return e.blockedOn=t,void xt(e.priority,function(){kt(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 jt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=va(n))&&wt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);be=r,n.target.dispatchEvent(r),be=null,t.shift()}return!0}function $t(e,t,n){jt(e)&&n.delete(t)}function Ft(){Mt=!1,null!==Et&&jt(Et)&&(Et=null),null!==Pt&&jt(Pt)&&(Pt=null),null!==At&&jt(At)&&(At=null),Lt.forEach($t),zt.forEach($t)}function Bt(e,t){e.blockedOn===t&&(e.blockedOn=null,Mt||(Mt=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Ft)))}function Ut(e){function t(t){return Bt(t,e)}if(0<Ct.length){Bt(Ct[0],e);for(var n=1;n<Ct.length;n++){var r=Ct[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Et&&Bt(Et,e),null!==Pt&&Bt(Pt,e),null!==At&&Bt(At,e),Lt.forEach(t),zt.forEach(t),n=0;n<Nt.length;n++)(r=Nt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Nt.length&&null===(n=Nt[0]).blockedOn;)It(n),null===n.blockedOn&&Nt.shift()}var Vt=b.ReactCurrentBatchConfig,Ht=!0;function Gt(e,t,n,r){var a=vt,o=Vt.transition;Vt.transition=null;try{vt=1,qt(e,t,n,r)}finally{vt=a,Vt.transition=o}}function Wt(e,t,n,r){var a=vt,o=Vt.transition;Vt.transition=null;try{vt=4,qt(e,t,n,r)}finally{vt=a,Vt.transition=o}}function qt(e,t,n,r){if(Ht){var a=Qt(e,t,n,r);if(null===a)Hr(e,t,r,Kt,n),Ot(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return Et=Dt(Et,e,t,n,r,a),!0;case"dragenter":return Pt=Dt(Pt,e,t,n,r,a),!0;case"mouseover":return At=Dt(At,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return Lt.set(o,Dt(Lt.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,zt.set(o,Dt(zt.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(Ot(e,r),4&t&&-1<Rt.indexOf(e)){for(;null!==a;){var o=va(a);if(null!==o&&Tt(o),null===(o=Qt(e,t,n,r))&&Hr(e,t,r,Kt,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else Hr(e,t,r,null,n)}}var Kt=null;function Qt(e,t,n,r){if(Kt=null,null!==(e=ya(e=Te(r))))if(null===(t=Ue(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ve(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 Kt=e,null}function Yt(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(Xe()){case Ze:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Jt=null,Xt=null,Zt=null;function en(){if(Zt)return Zt;var e,t,n=Xt,r=n.length,a="value"in Jt?Jt.value:Jt.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return Zt=a.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 an(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return I(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 on,sn,ln,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=an(cn),dn=I({},cn,{view:0,detail:0}),pn=an(dn),fn=I({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xn,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!==ln&&(ln&&"mousemove"===e.type?(on=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=on=0,ln=e),on)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),hn=an(fn),mn=an(I({},fn,{dataTransfer:0})),gn=an(I({},dn,{relatedTarget:0})),_n=an(I({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=I({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vn=an(yn),bn=an(I({},cn,{data:0})),Tn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wn={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"},kn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=kn[e])&&!!t[e]}function xn(){return Sn}var Mn=I({},dn,{key:function(e){if(e.key){var t=Tn[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?wn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xn,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}}),Cn=an(Mn),En=an(I({},fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Pn=an(I({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xn})),An=an(I({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ln=I({},fn,{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}),zn=an(Ln),Nn=[9,13,27,32],Rn=u&&"CompositionEvent"in window,On=null;u&&"documentMode"in document&&(On=document.documentMode);var Dn=u&&"TextEvent"in window&&!On,In=u&&(!Rn||On&&8<On&&11>=On),jn=String.fromCharCode(32),$n=!1;function Fn(e,t){switch(e){case"keyup":return-1!==Nn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Un=!1;var Vn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Vn[e.type]:"textarea"===t}function Gn(e,t,n,r){Me(r),0<(t=Wr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wn=null,qn=null;function Kn(e){jr(e,0)}function Qn(e){if(q(ba(e)))return e}function Yn(e,t){if("change"===e)return t}var Jn=!1;if(u){var Xn;if(u){var Zn="oninput"in document;if(!Zn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Zn="function"==typeof er.oninput}Xn=Zn}else Xn=!1;Jn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){Wn&&(Wn.detachEvent("onpropertychange",nr),qn=Wn=null)}function nr(e){if("value"===e.propertyName&&Qn(qn)){var t=[];Gn(t,qn,e,Te(e)),Le(Kn,t)}}function rr(e,t,n){"focusin"===e?(tr(),qn=n,(Wn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qn(qn)}function or(e,t){if("click"===e)return Qn(t)}function ir(e,t){if("input"===e||"change"===e)return Qn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function lr(e,t){if(sr(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 a=n[r];if(!d.call(t,a)||!sr(e[a],t[a]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(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=cr(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 pr(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=K((e=t.contentWindow).document)}return t}function fr(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=pr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&fr(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 a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=ur(n,o);var i=ur(n,r);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=u&&"documentMode"in document&&11>=document.documentMode,gr=null,_r=null,yr=null,vr=!1;function br(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;vr||null==gr||gr!==K(r)||("selectionStart"in(r=gr)&&fr(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},yr&&lr(yr,r)||(yr=r,0<(r=Wr(_r,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function Tr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var wr={animationend:Tr("Animation","AnimationEnd"),animationiteration:Tr("Animation","AnimationIteration"),animationstart:Tr("Animation","AnimationStart"),transitionend:Tr("Transition","TransitionEnd")},kr={},Sr={};function xr(e){if(kr[e])return kr[e];if(!wr[e])return e;var t,n=wr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Sr)return kr[e]=n[t];return e}u&&(Sr=document.createElement("div").style,"AnimationEvent"in window||(delete wr.animationend.animation,delete wr.animationiteration.animation,delete wr.animationstart.animation),"TransitionEvent"in window||delete wr.transitionend.transition);var Mr=xr("animationend"),Cr=xr("animationiteration"),Er=xr("animationstart"),Pr=xr("transitionend"),Ar=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 zr(e,t){Ar.set(e,t),l(t,[e])}for(var Nr=0;Nr<Lr.length;Nr++){var Rr=Lr[Nr];zr(Rr.toLowerCase(),"on"+(Rr[0].toUpperCase()+Rr.slice(1)))}zr(Mr,"onAnimationEnd"),zr(Cr,"onAnimationIteration"),zr(Er,"onAnimationStart"),zr("dblclick","onDoubleClick"),zr("focusin","onFocus"),zr("focusout","onBlur"),zr(Pr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Or="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(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Or));function Ir(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,i,s,l,c){if(Be.apply(this,arguments),De){if(!De)throw Error(o(198));var u=Ie;De=!1,Ie=null,je||(je=!0,$e=u)}}(r,t,void 0,e),e.currentTarget=null}function jr(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var s=r[i],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&a.isPropagationStopped())break e;Ir(a,s,c),o=l}else for(i=0;i<r.length;i++){if(l=(s=r[i]).instance,c=s.currentTarget,s=s.listener,l!==o&&a.isPropagationStopped())break e;Ir(a,s,c),o=l}}}if(je)throw e=$e,je=!1,$e=null,e}function $r(e,t){var n=t[ma];void 0===n&&(n=t[ma]=new Set);var r=e+"__bubble";n.has(r)||(Vr(t,e,2,!1),n.add(r))}function Fr(e,t,n){var r=0;t&&(r|=4),Vr(n,e,r,t)}var Br="_reactListening"+Math.random().toString(36).slice(2);function Ur(e){if(!e[Br]){e[Br]=!0,i.forEach(function(t){"selectionchange"!==t&&(Dr.has(t)||Fr(t,!1,e),Fr(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Br]||(t[Br]=!0,Fr("selectionchange",!1,t))}}function Vr(e,t,n,r){switch(Yt(t)){case 1:var a=Gt;break;case 4:a=Wt;break;default:a=qt}n=a.bind(null,t,n,e),a=void 0,!Ne||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Hr(e,t,n,r,a){var o=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var s=r.stateNode.containerInfo;if(s===a||8===s.nodeType&&s.parentNode===a)break;if(4===i)for(i=r.return;null!==i;){var l=i.tag;if((3===l||4===l)&&((l=i.stateNode.containerInfo)===a||8===l.nodeType&&l.parentNode===a))return;i=i.return}for(;null!==s;){if(null===(i=ya(s)))return;if(5===(l=i.tag)||6===l){r=o=i;continue e}s=s.parentNode}}r=r.return}Le(function(){var r=o,a=Te(n),i=[];e:{var s=Ar.get(e);if(void 0!==s){var l=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=Cn;break;case"focusin":c="focus",l=gn;break;case"focusout":c="blur",l=gn;break;case"beforeblur":case"afterblur":l=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":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Pn;break;case Mr:case Cr:case Er:l=_n;break;case Pr:l=An;break;case"scroll":l=pn;break;case"wheel":l=zn;break;case"copy":case"cut":case"paste":l=vn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=En}var u=!!(4&t),d=!u&&"scroll"===e,p=u?null!==s?s+"Capture":null:s;u=[];for(var f,h=r;null!==h;){var m=(f=h).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==p&&(null!=(m=ze(h,p))&&u.push(Gr(h,m,f)))),d)break;h=h.return}0<u.length&&(s=new l(s,c,null,n,a),i.push({event:s,listeners:u}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===be||!(c=n.relatedTarget||n.fromElement)||!ya(c)&&!c[ha])&&(l||s)&&(s=a.window===a?a:(s=a.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?ya(c):null)&&(c!==(d=Ue(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=hn,m="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=En,m="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==l?s:ba(l),f=null==c?s:ba(c),(s=new u(m,h+"leave",l,n,a)).target=d,s.relatedTarget=f,m=null,ya(a)===r&&((u=new u(p,h+"enter",c,n,a)).target=f,u.relatedTarget=d,m=u),d=m,l&&c)e:{for(p=c,h=0,f=u=l;f;f=qr(f))h++;for(f=0,m=p;m;m=qr(m))f++;for(;0<h-f;)u=qr(u),h--;for(;0<f-h;)p=qr(p),f--;for(;h--;){if(u===p||null!==p&&u===p.alternate)break e;u=qr(u),p=qr(p)}u=null}else u=null;null!==l&&Kr(i,s,l,u,!1),null!==c&&null!==d&&Kr(i,d,c,u,!0)}if("select"===(l=(s=r?ba(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Yn;else if(Hn(s))if(Jn)g=ir;else{g=ar;var _=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=or);switch(g&&(g=g(e,r))?Gn(i,g,n,a):(_&&_(e,s,r),"focusout"===e&&(_=s._wrapperState)&&_.controlled&&"number"===s.type&&ee(s,"number",s.value)),_=r?ba(r):window,e){case"focusin":(Hn(_)||"true"===_.contentEditable)&&(gr=_,_r=r,yr=null);break;case"focusout":yr=_r=gr=null;break;case"mousedown":vr=!0;break;case"contextmenu":case"mouseup":case"dragend":vr=!1,br(i,n,a);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":br(i,n,a)}var y;if(Rn)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else Un?Fn(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(In&&"ko"!==n.locale&&(Un||"onCompositionStart"!==v?"onCompositionEnd"===v&&Un&&(y=en()):(Xt="value"in(Jt=a)?Jt.value:Jt.textContent,Un=!0)),0<(_=Wr(r,v)).length&&(v=new bn(v,e,null,n,a),i.push({event:v,listeners:_}),y?v.data=y:null!==(y=Bn(n))&&(v.data=y))),(y=Dn?function(e,t){switch(e){case"compositionend":return Bn(t);case"keypress":return 32!==t.which?null:($n=!0,jn);case"textInput":return(e=t.data)===jn&&$n?null:e;default:return null}}(e,n):function(e,t){if(Un)return"compositionend"===e||!Rn&&Fn(e,t)?(e=en(),Zt=Xt=Jt=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 In&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Wr(r,"onBeforeInput")).length&&(a=new bn("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=y))}jr(i,t)})}function Gr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=ze(e,n))&&r.unshift(Gr(e,o,a)),null!=(o=ze(e,t))&&r.push(Gr(e,o,a))),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 Kr(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,a?null!=(l=ze(n,o))&&i.unshift(Gr(n,l,s)):a||null!=(l=ze(n,o))&&i.push(Gr(n,l,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Qr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function Jr(e){return("string"==typeof e?e:""+e).replace(Qr,"\n").replace(Yr,"")}function Xr(e,t,n){if(t=Jr(t),Jr(e)!==t&&n)throw Error(o(425))}function Zr(){}var ea=null,ta=null;function na(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 ra="function"==typeof setTimeout?setTimeout:void 0,aa="function"==typeof clearTimeout?clearTimeout:void 0,oa="function"==typeof Promise?Promise:void 0,ia="function"==typeof queueMicrotask?queueMicrotask:void 0!==oa?function(e){return oa.resolve(null).then(e).catch(sa)}:ra;function sa(e){setTimeout(function(){throw e})}function la(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0===r)return e.removeChild(a),void Ut(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);Ut(t)}function ca(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 ua(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 da=Math.random().toString(36).slice(2),pa="__reactFiber$"+da,fa="__reactProps$"+da,ha="__reactContainer$"+da,ma="__reactEvents$"+da,ga="__reactListeners$"+da,_a="__reactHandles$"+da;function ya(e){var t=e[pa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ha]||n[pa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ua(e);null!==e;){if(n=e[pa])return n;e=ua(e)}return t}n=(e=n).parentNode}return null}function va(e){return!(e=e[pa]||e[ha])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ba(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function Ta(e){return e[fa]||null}var wa=[],ka=-1;function Sa(e){return{current:e}}function xa(e){0>ka||(e.current=wa[ka],wa[ka]=null,ka--)}function Ma(e,t){ka++,wa[ka]=e.current,e.current=t}var Ca={},Ea=Sa(Ca),Pa=Sa(!1),Aa=Ca;function La(e,t){var n=e.type.contextTypes;if(!n)return Ca;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function za(e){return null!=(e=e.childContextTypes)}function Na(){xa(Pa),xa(Ea)}function Ra(e,t,n){if(Ea.current!==Ca)throw Error(o(168));Ma(Ea,t),Ma(Pa,n)}function Oa(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(o(108,V(e)||"Unknown",a));return I({},n,r)}function Da(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ca,Aa=Ea.current,Ma(Ea,e),Ma(Pa,Pa.current),!0}function Ia(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Oa(e,t,Aa),r.__reactInternalMemoizedMergedChildContext=e,xa(Pa),xa(Ea),Ma(Ea,e)):xa(Pa),Ma(Pa,n)}var ja=null,$a=!1,Fa=!1;function Ba(e){null===ja?ja=[e]:ja.push(e)}function Ua(){if(!Fa&&null!==ja){Fa=!0;var e=0,t=vt;try{var n=ja;for(vt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}ja=null,$a=!1}catch(t){throw null!==ja&&(ja=ja.slice(e+1)),qe(Ze,Ua),t}finally{vt=t,Fa=!1}}return null}var Va=[],Ha=0,Ga=null,Wa=0,qa=[],Ka=0,Qa=null,Ya=1,Ja="";function Xa(e,t){Va[Ha++]=Wa,Va[Ha++]=Ga,Ga=e,Wa=t}function Za(e,t,n){qa[Ka++]=Ya,qa[Ka++]=Ja,qa[Ka++]=Qa,Qa=e;var r=Ya;e=Ja;var a=32-it(r)-1;r&=~(1<<a),n+=1;var o=32-it(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,Ya=1<<32-it(t)+a|n<<a|r,Ja=o+e}else Ya=1<<o|n<<a|r,Ja=e}function eo(e){null!==e.return&&(Xa(e,1),Za(e,1,0))}function to(e){for(;e===Ga;)Ga=Va[--Ha],Va[Ha]=null,Wa=Va[--Ha],Va[Ha]=null;for(;e===Qa;)Qa=qa[--Ka],qa[Ka]=null,Ja=qa[--Ka],qa[Ka]=null,Ya=qa[--Ka],qa[Ka]=null}var no=null,ro=null,ao=!1,oo=null;function io(e,t){var n=Lc(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 so(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,no=e,ro=ca(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Qa?{id:Ya,overflow:Ja}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Lc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function lo(e){return!(!(1&e.mode)||128&e.flags)}function co(e){if(ao){var t=ro;if(t){var n=t;if(!so(e,t)){if(lo(e))throw Error(o(418));t=ca(n.nextSibling);var r=no;t&&so(e,t)?io(r,n):(e.flags=-4097&e.flags|2,ao=!1,no=e)}}else{if(lo(e))throw Error(o(418));e.flags=-4097&e.flags|2,ao=!1,no=e}}}function uo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function po(e){if(e!==no)return!1;if(!ao)return uo(e),ao=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!na(e.type,e.memoizedProps)),t&&(t=ro)){if(lo(e))throw fo(),Error(o(418));for(;t;)io(e,t),t=ca(t.nextSibling)}if(uo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=ca(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?ca(e.stateNode.nextSibling):null;return!0}function fo(){for(var e=ro;e;)e=ca(e.nextSibling)}function ho(){ro=no=null,ao=!1}function mo(e){null===oo?oo=[e]:oo.push(e)}var go=b.ReactCurrentBatchConfig;function _o(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(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var a=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=a.refs;null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function yo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function vo(e){return(0,e._init)(e._payload)}function bo(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 a(e,t){return(e=Nc(e,t)).index=0,e.sibling=null,e}function i(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 s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Ic(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function c(e,t,n,r){var o=n.type;return o===k?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===z&&vo(o)===t.type)?((r=a(t,n.props)).ref=_o(e,t,n),r.return=e,r):((r=Rc(n.type,n.key,n.props,null,e.mode,r)).ref=_o(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=jc(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Oc(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Ic(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case T:return(n=Rc(t.type,t.key,t.props,null,e.mode,n)).ref=_o(e,null,t),n.return=e,n;case w:return(t=jc(t,e.mode,n)).return=e,t;case z:return p(e,(0,t._init)(t._payload),n)}if(te(t)||O(t))return(t=Oc(t,e.mode,n,null)).return=e,t;yo(e,t)}return null}function f(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==a?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case T:return n.key===a?c(e,t,n,r):null;case w:return n.key===a?u(e,t,n,r):null;case z:return f(e,t,(a=n._init)(n._payload),r)}if(te(n)||O(n))return null!==a?null:d(e,t,n,r,null);yo(e,n)}return null}function h(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case T:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case w:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case z:return h(e,t,n,(0,r._init)(r._payload),a)}if(te(r)||O(r))return d(t,e=e.get(n)||null,r,a,null);yo(t,r)}return null}function m(a,o,s,l){for(var c=null,u=null,d=o,m=o=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var _=f(a,d,s[m],l);if(null===_){null===d&&(d=g);break}e&&d&&null===_.alternate&&t(a,d),o=i(_,o,m),null===u?c=_:u.sibling=_,u=_,d=g}if(m===s.length)return n(a,d),ao&&Xa(a,m),c;if(null===d){for(;m<s.length;m++)null!==(d=p(a,s[m],l))&&(o=i(d,o,m),null===u?c=d:u.sibling=d,u=d);return ao&&Xa(a,m),c}for(d=r(a,d);m<s.length;m++)null!==(g=h(d,a,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),o=i(g,o,m),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(a,e)}),ao&&Xa(a,m),c}function g(a,s,l,c){var u=O(l);if("function"!=typeof u)throw Error(o(150));if(null==(l=u.call(l)))throw Error(o(151));for(var d=u=null,m=s,g=s=0,_=null,y=l.next();null!==m&&!y.done;g++,y=l.next()){m.index>g?(_=m,m=null):_=m.sibling;var v=f(a,m,y.value,c);if(null===v){null===m&&(m=_);break}e&&m&&null===v.alternate&&t(a,m),s=i(v,s,g),null===d?u=v:d.sibling=v,d=v,m=_}if(y.done)return n(a,m),ao&&Xa(a,g),u;if(null===m){for(;!y.done;g++,y=l.next())null!==(y=p(a,y.value,c))&&(s=i(y,s,g),null===d?u=y:d.sibling=y,d=y);return ao&&Xa(a,g),u}for(m=r(a,m);!y.done;g++,y=l.next())null!==(y=h(m,a,g,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),s=i(y,s,g),null===d?u=y:d.sibling=y,d=y);return e&&m.forEach(function(e){return t(a,e)}),ao&&Xa(a,g),u}return function e(r,o,i,l){if("object"==typeof i&&null!==i&&i.type===k&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case T:e:{for(var c=i.key,u=o;null!==u;){if(u.key===c){if((c=i.type)===k){if(7===u.tag){n(r,u.sibling),(o=a(u,i.props.children)).return=r,r=o;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===z&&vo(c)===u.type){n(r,u.sibling),(o=a(u,i.props)).ref=_o(r,u,i),o.return=r,r=o;break e}n(r,u);break}t(r,u),u=u.sibling}i.type===k?((o=Oc(i.props.children,r.mode,l,i.key)).return=r,r=o):((l=Rc(i.type,i.key,i.props,null,r.mode,l)).ref=_o(r,o,i),l.return=r,r=l)}return s(r);case w:e:{for(u=i.key;null!==o;){if(o.key===u){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(r,o.sibling),(o=a(o,i.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=jc(i,r.mode,l)).return=r,r=o}return s(r);case z:return e(r,o,(u=i._init)(i._payload),l)}if(te(i))return m(r,o,i,l);if(O(i))return g(r,o,i,l);yo(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==o&&6===o.tag?(n(r,o.sibling),(o=a(o,i)).return=r,r=o):(n(r,o),(o=Ic(i,r.mode,l)).return=r,r=o),s(r)):n(r,o)}}var To=bo(!0),wo=bo(!1),ko=Sa(null),So=null,xo=null,Mo=null;function Co(){Mo=xo=So=null}function Eo(e){var t=ko.current;xa(ko),e._currentValue=t}function Po(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 Ao(e,t){So=e,Mo=xo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(vs=!0),e.firstContext=null)}function Lo(e){var t=e._currentValue;if(Mo!==e)if(e={context:e,memoizedValue:t,next:null},null===xo){if(null===So)throw Error(o(308));xo=e,So.dependencies={lanes:0,firstContext:e}}else xo=xo.next=e;return t}var zo=null;function No(e){null===zo?zo=[e]:zo.push(e)}function Ro(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,No(t)):(n.next=a.next,a.next=n),t.interleaved=n,Oo(e,r)}function Oo(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 Do=!1;function Io(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function jo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function $o(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Fo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&El){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,Oo(e,n)}return null===(a=r.interleaved)?(t.next=t,No(r)):(t.next=a.next,a.next=t),r.interleaved=t,Oo(e,n)}function Bo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function Uo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Vo(e,t,n,r){var a=e.updateQueue;Do=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,s=a.shared.pending;if(null!==s){a.shared.pending=null;var l=s,c=l.next;l.next=null,null===i?o=c:i.next=c,i=l;var u=e.alternate;null!==u&&((s=(u=u.updateQueue).lastBaseUpdate)!==i&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(null!==o){var d=a.baseState;for(i=0,u=c=l=null,s=o;;){var p=s.lane,f=s.eventTime;if((r&p)===p){null!==u&&(u=u.next={eventTime:f,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,m=s;switch(p=t,f=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(f,d,p);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(p="function"==typeof(h=m.payload)?h.call(f,d,p):h))break e;d=I({},d,p);break e;case 2:Do=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(p=a.effects)?a.effects=[s]:p.push(s))}else f={eventTime:f,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=f,l=d):u=u.next=f,i|=p;if(null===(s=s.next)){if(null===(s=a.shared.pending))break;s=(p=s).next,p.next=null,a.lastBaseUpdate=p,a.shared.pending=null}}if(null===u&&(l=d),a.baseState=l,a.firstBaseUpdate=c,a.lastBaseUpdate=u,null!==(t=a.shared.interleaved)){a=t;do{i|=a.lane,a=a.next}while(a!==t)}else null===o&&(a.shared.lanes=0);Dl|=i,e.lanes=i,e.memoizedState=d}}function Ho(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!=typeof a)throw Error(o(191,a));a.call(r)}}}var Go={},Wo=Sa(Go),qo=Sa(Go),Ko=Sa(Go);function Qo(e){if(e===Go)throw Error(o(174));return e}function Yo(e,t){switch(Ma(Ko,t),Ma(qo,e),Ma(Wo,Go),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}xa(Wo),Ma(Wo,t)}function Jo(){xa(Wo),xa(qo),xa(Ko)}function Xo(e){Qo(Ko.current);var t=Qo(Wo.current),n=le(t,e.type);t!==n&&(Ma(qo,e),Ma(Wo,n))}function Zo(e){qo.current===e&&(xa(Wo),xa(qo))}var ei=Sa(0);function ti(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(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 ni=[];function ri(){for(var e=0;e<ni.length;e++)ni[e]._workInProgressVersionPrimary=null;ni.length=0}var ai=b.ReactCurrentDispatcher,oi=b.ReactCurrentBatchConfig,ii=0,si=null,li=null,ci=null,ui=!1,di=!1,pi=0,fi=0;function hi(){throw Error(o(321))}function mi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function gi(e,t,n,r,a,i){if(ii=i,si=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ai.current=null===e||null===e.memoizedState?Zi:es,e=n(r,a),di){i=0;do{if(di=!1,pi=0,25<=i)throw Error(o(301));i+=1,ci=li=null,t.updateQueue=null,ai.current=ts,e=n(r,a)}while(di)}if(ai.current=Xi,t=null!==li&&null!==li.next,ii=0,ci=li=si=null,ui=!1,t)throw Error(o(300));return e}function _i(){var e=0!==pi;return pi=0,e}function yi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ci?si.memoizedState=ci=e:ci=ci.next=e,ci}function vi(){if(null===li){var e=si.alternate;e=null!==e?e.memoizedState:null}else e=li.next;var t=null===ci?si.memoizedState:ci.next;if(null!==t)ci=t,li=e;else{if(null===e)throw Error(o(310));e={memoizedState:(li=e).memoizedState,baseState:li.baseState,baseQueue:li.baseQueue,queue:li.queue,next:null},null===ci?si.memoizedState=ci=e:ci=ci.next=e}return ci}function bi(e,t){return"function"==typeof t?t(e):t}function Ti(e){var t=vi(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=li,a=r.baseQueue,i=n.pending;if(null!==i){if(null!==a){var s=a.next;a.next=i.next,i.next=s}r.baseQueue=a=i,n.pending=null}if(null!==a){i=a.next,r=r.baseState;var l=s=null,c=null,u=i;do{var d=u.lane;if((ii&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var p={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=p,s=r):c=c.next=p,si.lanes|=d,Dl|=d}u=u.next}while(null!==u&&u!==i);null===c?s=r:c.next=l,sr(r,t.memoizedState)||(vs=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{i=a.lane,si.lanes|=i,Dl|=i,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function wi(e){var t=vi(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var s=a=a.next;do{i=e(i,s.action),s=s.next}while(s!==a);sr(i,t.memoizedState)||(vs=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function ki(){}function Si(e,t){var n=si,r=vi(),a=t(),i=!sr(r.memoizedState,a);if(i&&(r.memoizedState=a,vs=!0),r=r.queue,Di(Ci.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==ci&&1&ci.memoizedState.tag){if(n.flags|=2048,Li(9,Mi.bind(null,n,r,a,t),void 0,null),null===Pl)throw Error(o(349));30&ii||xi(n,t,a)}return a}function xi(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=si.updateQueue)?(t={lastEffect:null,stores:null},si.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Mi(e,t,n,r){t.value=n,t.getSnapshot=r,Ei(t)&&Pi(e)}function Ci(e,t,n){return n(function(){Ei(t)&&Pi(e)})}function Ei(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(e){return!0}}function Pi(e){var t=Oo(e,1);null!==t&&nc(t,e,1,-1)}function Ai(e){var t=yi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:bi,lastRenderedState:e},t.queue=e,e=e.dispatch=Ki.bind(null,si,e),[t.memoizedState,e]}function Li(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=si.updateQueue)?(t={lastEffect:null,stores:null},si.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 zi(){return vi().memoizedState}function Ni(e,t,n,r){var a=yi();si.flags|=e,a.memoizedState=Li(1|t,n,void 0,void 0===r?null:r)}function Ri(e,t,n,r){var a=vi();r=void 0===r?null:r;var o=void 0;if(null!==li){var i=li.memoizedState;if(o=i.destroy,null!==r&&mi(r,i.deps))return void(a.memoizedState=Li(t,n,o,r))}si.flags|=e,a.memoizedState=Li(1|t,n,o,r)}function Oi(e,t){return Ni(8390656,8,e,t)}function Di(e,t){return Ri(2048,8,e,t)}function Ii(e,t){return Ri(4,2,e,t)}function ji(e,t){return Ri(4,4,e,t)}function $i(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Fi(e,t,n){return n=null!=n?n.concat([e]):null,Ri(4,4,$i.bind(null,t,e),n)}function Bi(){}function Ui(e,t){var n=vi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&mi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Vi(e,t){var n=vi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&mi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Hi(e,t,n){return 21&ii?(sr(n,t)||(n=mt(),si.lanes|=n,Dl|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,vs=!0),e.memoizedState=n)}function Gi(e,t){var n=vt;vt=0!==n&&4>n?n:4,e(!0);var r=oi.transition;oi.transition={};try{e(!1),t()}finally{vt=n,oi.transition=r}}function Wi(){return vi().memoizedState}function qi(e,t,n){var r=tc(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Qi(e))Yi(t,n);else if(null!==(n=Ro(e,t,n,r))){nc(n,e,r,ec()),Ji(n,t,r)}}function Ki(e,t,n){var r=tc(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Qi(e))Yi(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,s=o(i,n);if(a.hasEagerState=!0,a.eagerState=s,sr(s,i)){var l=t.interleaved;return null===l?(a.next=a,No(t)):(a.next=l.next,l.next=a),void(t.interleaved=a)}}catch(e){}null!==(n=Ro(e,t,a,r))&&(nc(n,e,r,a=ec()),Ji(n,t,r))}}function Qi(e){var t=e.alternate;return e===si||null!==t&&t===si}function Yi(e,t){di=ui=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ji(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var Xi={readContext:Lo,useCallback:hi,useContext:hi,useEffect:hi,useImperativeHandle:hi,useInsertionEffect:hi,useLayoutEffect:hi,useMemo:hi,useReducer:hi,useRef:hi,useState:hi,useDebugValue:hi,useDeferredValue:hi,useTransition:hi,useMutableSource:hi,useSyncExternalStore:hi,useId:hi,unstable_isNewReconciler:!1},Zi={readContext:Lo,useCallback:function(e,t){return yi().memoizedState=[e,void 0===t?null:t],e},useContext:Lo,useEffect:Oi,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ni(4194308,4,$i.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ni(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ni(4,2,e,t)},useMemo:function(e,t){var n=yi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=yi();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=qi.bind(null,si,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},yi().memoizedState=e},useState:Ai,useDebugValue:Bi,useDeferredValue:function(e){return yi().memoizedState=e},useTransition:function(){var e=Ai(!1),t=e[0];return e=Gi.bind(null,e[1]),yi().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=si,a=yi();if(ao){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Pl)throw Error(o(349));30&ii||xi(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,Oi(Ci.bind(null,r,i,e),[e]),r.flags|=2048,Li(9,Mi.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=yi(),t=Pl.identifierPrefix;if(ao){var n=Ja;t=":"+t+"R"+(n=(Ya&~(1<<32-it(Ya)-1)).toString(32)+n),0<(n=pi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=fi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:Lo,useCallback:Ui,useContext:Lo,useEffect:Di,useImperativeHandle:Fi,useInsertionEffect:Ii,useLayoutEffect:ji,useMemo:Vi,useReducer:Ti,useRef:zi,useState:function(){return Ti(bi)},useDebugValue:Bi,useDeferredValue:function(e){return Hi(vi(),li.memoizedState,e)},useTransition:function(){return[Ti(bi)[0],vi().memoizedState]},useMutableSource:ki,useSyncExternalStore:Si,useId:Wi,unstable_isNewReconciler:!1},ts={readContext:Lo,useCallback:Ui,useContext:Lo,useEffect:Di,useImperativeHandle:Fi,useInsertionEffect:Ii,useLayoutEffect:ji,useMemo:Vi,useReducer:wi,useRef:zi,useState:function(){return wi(bi)},useDebugValue:Bi,useDeferredValue:function(e){var t=vi();return null===li?t.memoizedState=e:Hi(t,li.memoizedState,e)},useTransition:function(){return[wi(bi)[0],vi().memoizedState]},useMutableSource:ki,useSyncExternalStore:Si,useId:Wi,unstable_isNewReconciler:!1};function ns(e,t){if(e&&e.defaultProps){for(var n in t=I({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function rs(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:I({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var as={isMounted:function(e){return!!(e=e._reactInternals)&&Ue(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ec(),a=tc(e),o=$o(r,a);o.payload=t,null!=n&&(o.callback=n),null!==(t=Fo(e,o,a))&&(nc(t,e,a,r),Bo(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ec(),a=tc(e),o=$o(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=Fo(e,o,a))&&(nc(t,e,a,r),Bo(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ec(),r=tc(e),a=$o(n,r);a.tag=2,null!=t&&(a.callback=t),null!==(t=Fo(e,a,r))&&(nc(t,e,r,n),Bo(t,e,r))}};function os(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(a,o))}function is(e,t,n){var r=!1,a=Ca,o=t.contextType;return"object"==typeof o&&null!==o?o=Lo(o):(a=za(t)?Aa:Ea.current,o=(r=null!=(r=t.contextTypes))?La(e,a):Ca),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=as,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function ss(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&as.enqueueReplaceState(t,t.state,null)}function ls(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs={},Io(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=Lo(o):(o=za(t)?Aa:Ea.current,a.context=La(e,o)),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(rs(e,t,o,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&as.enqueueReplaceState(a,a.state,null),Vo(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function cs(e,t){try{var n="",r=t;do{n+=B(r),r=r.return}while(r);var a=n}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:a,digest:null}}function us(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var ps="function"==typeof WeakMap?WeakMap:Map;function fs(e,t,n){(n=$o(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Hl||(Hl=!0,Gl=r),ds(0,t)},n}function hs(e,t,n){(n=$o(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){ds(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){ds(0,t),"function"!=typeof r&&(null===Wl?Wl=new Set([this]):Wl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ms(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ps;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=xc.bind(null,e,t,n),t.then(e,e))}function gs(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 _s(e,t,n,r,a){return 1&e.mode?(e.flags|=65536,e.lanes=a,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=$o(-1,1)).tag=2,Fo(n,t,1))),n.lanes|=1),e)}var ys=b.ReactCurrentOwner,vs=!1;function bs(e,t,n,r){t.child=null===e?wo(t,null,n,r):To(t,e.child,n,r)}function Ts(e,t,n,r,a){n=n.render;var o=t.ref;return Ao(t,a),r=gi(e,t,n,r,o,a),n=_i(),null===e||vs?(ao&&n&&eo(t),t.flags|=1,bs(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Hs(e,t,a))}function ws(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||zc(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Rc(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,ks(e,t,o,r,a))}if(o=e.child,0===(e.lanes&a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(i,r)&&e.ref===t.ref)return Hs(e,t,a)}return t.flags|=1,(e=Nc(o,r)).ref=t.ref,e.return=t,t.child=e}function ks(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(lr(o,r)&&e.ref===t.ref){if(vs=!1,t.pendingProps=r=o,0===(e.lanes&a))return t.lanes=e.lanes,Hs(e,t,a);131072&e.flags&&(vs=!0)}}return Ms(e,t,n,r,a)}function Ss(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ma(Nl,zl),zl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Ma(Nl,zl),zl|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ma(Nl,zl),zl|=n;else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Ma(Nl,zl),zl|=r;return bs(e,t,a,n),t.child}function xs(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ms(e,t,n,r,a){var o=za(n)?Aa:Ea.current;return o=La(t,o),Ao(t,a),n=gi(e,t,n,r,o,a),r=_i(),null===e||vs?(ao&&r&&eo(t),t.flags|=1,bs(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Hs(e,t,a))}function Cs(e,t,n,r,a){if(za(n)){var o=!0;Da(t)}else o=!1;if(Ao(t,a),null===t.stateNode)Vs(e,t),is(t,n,r),ls(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,c=n.contextType;"object"==typeof c&&null!==c?c=Lo(c):c=La(t,c=za(n)?Aa:Ea.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==r||l!==c)&&ss(t,i,r,c),Do=!1;var p=t.memoizedState;i.state=p,Vo(t,r,i,a),l=t.memoizedState,s!==r||p!==l||Pa.current||Do?("function"==typeof u&&(rs(t,n,u,r),l=t.memoizedState),(s=Do||os(t,n,s,r,p,l,c))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=c,r=s):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,jo(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:ns(t.type,s),i.props=c,d=t.pendingProps,p=i.context,"object"==typeof(l=n.contextType)&&null!==l?l=Lo(l):l=La(t,l=za(n)?Aa:Ea.current);var f=n.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==d||p!==l)&&ss(t,i,r,l),Do=!1,p=t.memoizedState,i.state=p,Vo(t,r,i,a);var h=t.memoizedState;s!==d||p!==h||Pa.current||Do?("function"==typeof f&&(rs(t,n,f,r),h=t.memoizedState),(c=Do||os(t,n,c,r,p,h,l)||!1)?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=l,r=c):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Es(e,t,n,r,o,a)}function Es(e,t,n,r,a,o){xs(e,t);var i=!!(128&t.flags);if(!r&&!i)return a&&Ia(t,n,!1),Hs(e,t,o);r=t.stateNode,ys.current=t;var s=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=To(t,e.child,null,o),t.child=To(t,null,s,o)):bs(e,t,s,o),t.memoizedState=r.state,a&&Ia(t,n,!0),t.child}function Ps(e){var t=e.stateNode;t.pendingContext?Ra(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ra(0,t.context,!1),Yo(e,t.containerInfo)}function As(e,t,n,r,a){return ho(),mo(a),t.flags|=256,bs(e,t,n,r),t.child}var Ls,zs,Ns,Rs,Os={dehydrated:null,treeContext:null,retryLane:0};function Ds(e){return{baseLanes:e,cachePool:null,transitions:null}}function Is(e,t,n){var r,a=t.pendingProps,i=ei.current,s=!1,l=!!(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&!!(2&i)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Ma(ei,1&i),null===e)return co(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=a.children,e=a.fallback,s?(a=t.mode,s=t.child,l={mode:"hidden",children:l},1&a||null===s?s=Dc(l,a,0,null):(s.childLanes=0,s.pendingProps=l),e=Oc(e,a,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ds(n),t.memoizedState=Os,e):js(t,l));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,a,i,s){if(n)return 256&t.flags?(t.flags&=-257,$s(e,t,s,r=us(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,a=t.mode,r=Dc({mode:"visible",children:r.children},a,0,null),(i=Oc(i,a,s,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,1&t.mode&&To(t,e.child,null,s),t.child.memoizedState=Ds(s),t.memoizedState=Os,i);if(!(1&t.mode))return $s(e,t,s,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var l=r.dgst;return r=l,$s(e,t,s,r=us(i=Error(o(419)),r,void 0))}if(l=0!==(s&e.childLanes),vs||l){if(null!==(r=Pl)){switch(s&-s){case 4:a=2;break;case 16:a=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:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!==(a&(r.suspendedLanes|s))?0:a)&&a!==i.retryLane&&(i.retryLane=a,Oo(e,a),nc(r,e,a,-1))}return mc(),$s(e,t,s,r=us(Error(o(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Cc.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,ro=ca(a.nextSibling),no=t,ao=!0,oo=null,null!==e&&(qa[Ka++]=Ya,qa[Ka++]=Ja,qa[Ka++]=Qa,Ya=e.id,Ja=e.overflow,Qa=t),t=js(t,r.children),t.flags|=4096,t)}(e,t,l,a,r,i,n);if(s){s=a.fallback,l=t.mode,r=(i=e.child).sibling;var c={mode:"hidden",children:a.children};return 1&l||t.child===i?(a=Nc(i,c)).subtreeFlags=14680064&i.subtreeFlags:((a=t.child).childLanes=0,a.pendingProps=c,t.deletions=null),null!==r?s=Nc(r,s):(s=Oc(s,l,n,null)).flags|=2,s.return=t,a.return=t,a.sibling=s,t.child=a,a=s,s=t.child,l=null===(l=e.child.memoizedState)?Ds(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Os,a}return e=(s=e.child).sibling,a=Nc(s,{mode:"visible",children:a.children}),!(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function js(e,t){return(t=Dc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function $s(e,t,n,r){return null!==r&&mo(r),To(t,e.child,null,n),(e=js(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Fs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Po(e.return,t,n)}function Bs(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function Us(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(bs(e,t,r.children,n),2&(r=ei.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Fs(e,n,t);else if(19===e.tag)Fs(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(Ma(ei,r),1&t.mode)switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===ti(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Bs(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===ti(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Bs(t,!0,n,null,o);break;case"together":Bs(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Vs(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Hs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Dl|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Nc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Nc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Gs(e,t){if(!ao)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 Ws(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function qs(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ws(t),null;case 1:case 17:return za(t.type)&&Na(),Ws(t),null;case 3:return r=t.stateNode,Jo(),xa(Pa),xa(Ea),ri(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(po(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==oo&&(ic(oo),oo=null))),zs(e,t),Ws(t),null;case 5:Zo(t);var a=Qo(Ko.current);if(n=t.type,null!==e&&null!=t.stateNode)Ns(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Ws(t),null}if(e=Qo(Wo.current),po(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[pa]=t,r[fa]=i,e=!!(1&t.mode),n){case"dialog":$r("cancel",r),$r("close",r);break;case"iframe":case"object":case"embed":$r("load",r);break;case"video":case"audio":for(a=0;a<Or.length;a++)$r(Or[a],r);break;case"source":$r("error",r);break;case"img":case"image":case"link":$r("error",r),$r("load",r);break;case"details":$r("toggle",r);break;case"input":Y(r,i),$r("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},$r("invalid",r);break;case"textarea":ae(r,i),$r("invalid",r)}for(var l in ye(n,i),a=null,i)if(i.hasOwnProperty(l)){var c=i[l];"children"===l?"string"==typeof c?r.textContent!==c&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,c,e),a=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,c,e),a=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&$r("scroll",r)}switch(n){case"input":W(r),Z(r,i,!0);break;case"textarea":W(r),ie(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Zr)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[pa]=t,e[fa]=r,Ls(e,t,!1,!1),t.stateNode=e;e:{switch(l=ve(n,r),n){case"dialog":$r("cancel",e),$r("close",e),a=r;break;case"iframe":case"object":case"embed":$r("load",e),a=r;break;case"video":case"audio":for(a=0;a<Or.length;a++)$r(Or[a],e);a=r;break;case"source":$r("error",e),a=r;break;case"img":case"image":case"link":$r("error",e),$r("load",e),a=r;break;case"details":$r("toggle",e),a=r;break;case"input":Y(e,r),a=Q(e,r),$r("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=I({},r,{value:void 0}),$r("invalid",e);break;case"textarea":ae(e,r),a=re(e,r),$r("invalid",e)}for(i in ye(n,a),c=a)if(c.hasOwnProperty(i)){var u=c[i];"style"===i?ge(e,u):"dangerouslySetInnerHTML"===i?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===i?"string"==typeof u?("textarea"!==n||""!==u)&&pe(e,u):"number"==typeof u&&pe(e,""+u):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(s.hasOwnProperty(i)?null!=u&&"onScroll"===i&&$r("scroll",e):null!=u&&v(e,i,u,l))}switch(n){case"input":W(e),Z(e,r,!1);break;case"textarea":W(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=Zr)}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 Ws(t),null;case 6:if(e&&null!=t.stateNode)Rs(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));if(n=Qo(Ko.current),Qo(Wo.current),po(t)){if(r=t.stateNode,n=t.memoizedProps,r[pa]=t,(i=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Xr(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,!!(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[pa]=t,t.stateNode=r}return Ws(t),null;case 13:if(xa(ei),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ao&&null!==ro&&1&t.mode&&!(128&t.flags))fo(),ho(),t.flags|=98560,i=!1;else if(i=po(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(o(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(o(317));i[pa]=t}else ho(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ws(t),i=!1}else null!==oo&&(ic(oo),oo=null),i=!0;if(!i)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ei.current?0===Rl&&(Rl=3):mc())),null!==t.updateQueue&&(t.flags|=4),Ws(t),null);case 4:return Jo(),zs(e,t),null===e&&Ur(t.stateNode.containerInfo),Ws(t),null;case 10:return Eo(t.type._context),Ws(t),null;case 19:if(xa(ei),null===(i=t.memoizedState))return Ws(t),null;if(r=!!(128&t.flags),null===(l=i.rendering))if(r)Gs(i,!1);else{if(0!==Rl||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=ti(e))){for(t.flags|=128,Gs(i,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(l=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,i.type=l.type,e=l.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ma(ei,1&ei.current|2),t.child}e=e.sibling}null!==i.tail&&Je()>Ul&&(t.flags|=128,r=!0,Gs(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ti(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Gs(i,!0),null===i.tail&&"hidden"===i.tailMode&&!l.alternate&&!ao)return Ws(t),null}else 2*Je()-i.renderingStartTime>Ul&&1073741824!==n&&(t.flags|=128,r=!0,Gs(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=i.last)?n.sibling=l:t.child=l,i.last=l)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Je(),t.sibling=null,n=ei.current,Ma(ei,r?1&n|2:1&n),t):(Ws(t),null);case 22:case 23:return dc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&zl)&&(Ws(t),6&t.subtreeFlags&&(t.flags|=8192)):Ws(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Ks(e,t){switch(to(t),t.tag){case 1:return za(t.type)&&Na(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Jo(),xa(Pa),xa(Ea),ri(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Zo(t),null;case 13:if(xa(ei),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));ho()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return xa(ei),null;case 4:return Jo(),null;case 10:return Eo(t.type._context),null;case 22:case 23:return dc(),null;default:return null}}Ls=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}},zs=function(){},Ns=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,Qo(Wo.current);var o,i=null;switch(n){case"input":a=Q(e,a),r=Q(e,r),i=[];break;case"select":a=I({},a,{value:void 0}),r=I({},r,{value:void 0}),i=[];break;case"textarea":a=re(e,a),r=re(e,r),i=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=Zr)}for(u in ye(n,r),n=null,a)if(!r.hasOwnProperty(u)&&a.hasOwnProperty(u)&&null!=a[u])if("style"===u){var l=a[u];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var c=r[u];if(l=null!=a?a[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(o in l)!l.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&l[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(i||(i=[]),i.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(i=i||[]).push(u,c)):"children"===u?"string"!=typeof c&&"number"!=typeof c||(i=i||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&$r("scroll",e),i||l===c||(i=[])):(i=i||[]).push(u,c))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},Rs=function(e,t,n,r){n!==r&&(t.flags|=4)};var Qs=!1,Ys=!1,Js="function"==typeof WeakSet?WeakSet:Set,Xs=null;function Zs(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Sc(e,t,n)}else n.current=null}function el(e,t,n){try{n()}catch(n){Sc(e,t,n)}}var tl=!1;function nl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&el(t,n,o)}a=a.next}while(a!==r)}}function rl(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 al(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 ol(e){var t=e.alternate;null!==t&&(e.alternate=null,ol(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[pa],delete t[fa],delete t[ma],delete t[ga],delete t[_a])),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 il(e){return 5===e.tag||3===e.tag||4===e.tag}function sl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||il(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 ll(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)||null!==t.onclick||(t.onclick=Zr));else if(4!==r&&null!==(e=e.child))for(ll(e,t,n),e=e.sibling;null!==e;)ll(e,t,n),e=e.sibling}function cl(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(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}var ul=null,dl=!1;function pl(e,t,n){for(n=n.child;null!==n;)fl(e,t,n),n=n.sibling}function fl(e,t,n){if(ot&&"function"==typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(at,n)}catch(e){}switch(n.tag){case 5:Ys||Zs(n,t);case 6:var r=ul,a=dl;ul=null,pl(e,t,n),dl=a,null!==(ul=r)&&(dl?(e=ul,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ul.removeChild(n.stateNode));break;case 18:null!==ul&&(dl?(e=ul,n=n.stateNode,8===e.nodeType?la(e.parentNode,n):1===e.nodeType&&la(e,n),Ut(e)):la(ul,n.stateNode));break;case 4:r=ul,a=dl,ul=n.stateNode.containerInfo,dl=!0,pl(e,t,n),ul=r,dl=a;break;case 0:case 11:case 14:case 15:if(!Ys&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){a=r=r.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(2&o||4&o)&&el(n,t,i),a=a.next}while(a!==r)}pl(e,t,n);break;case 1:if(!Ys&&(Zs(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Sc(n,t,e)}pl(e,t,n);break;case 21:pl(e,t,n);break;case 22:1&n.mode?(Ys=(r=Ys)||null!==n.memoizedState,pl(e,t,n),Ys=r):pl(e,t,n);break;default:pl(e,t,n)}}function hl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Js),t.forEach(function(t){var r=Ec.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function ml(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var i=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:ul=l.stateNode,dl=!1;break e;case 3:case 4:ul=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===ul)throw Error(o(160));fl(i,s,a),ul=null,dl=!1;var c=a.alternate;null!==c&&(c.return=null),a.return=null}catch(e){Sc(a,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gl(t,e),t=t.sibling}function gl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ml(t,e),_l(e),4&r){try{nl(3,e,e.return),rl(3,e)}catch(t){Sc(e,e.return,t)}try{nl(5,e,e.return)}catch(t){Sc(e,e.return,t)}}break;case 1:ml(t,e),_l(e),512&r&&null!==n&&Zs(n,n.return);break;case 5:if(ml(t,e),_l(e),512&r&&null!==n&&Zs(n,n.return),32&e.flags){var a=e.stateNode;try{pe(a,"")}catch(t){Sc(e,e.return,t)}}if(4&r&&null!=(a=e.stateNode)){var i=e.memoizedProps,s=null!==n?n.memoizedProps:i,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===i.type&&null!=i.name&&J(a,i),ve(l,s);var u=ve(l,i);for(s=0;s<c.length;s+=2){var d=c[s],p=c[s+1];"style"===d?ge(a,p):"dangerouslySetInnerHTML"===d?de(a,p):"children"===d?pe(a,p):v(a,d,p,u)}switch(l){case"input":X(a,i);break;case"textarea":oe(a,i);break;case"select":var f=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!i.multiple;var h=i.value;null!=h?ne(a,!!i.multiple,h,!1):f!==!!i.multiple&&(null!=i.defaultValue?ne(a,!!i.multiple,i.defaultValue,!0):ne(a,!!i.multiple,i.multiple?[]:"",!1))}a[fa]=i}catch(t){Sc(e,e.return,t)}}break;case 6:if(ml(t,e),_l(e),4&r){if(null===e.stateNode)throw Error(o(162));a=e.stateNode,i=e.memoizedProps;try{a.nodeValue=i}catch(t){Sc(e,e.return,t)}}break;case 3:if(ml(t,e),_l(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ut(t.containerInfo)}catch(t){Sc(e,e.return,t)}break;case 4:default:ml(t,e),_l(e);break;case 13:ml(t,e),_l(e),8192&(a=e.child).flags&&(i=null!==a.memoizedState,a.stateNode.isHidden=i,!i||null!==a.alternate&&null!==a.alternate.memoizedState||(Bl=Je())),4&r&&hl(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Ys=(u=Ys)||d,ml(t,e),Ys=u):ml(t,e),_l(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&1&e.mode)for(Xs=e,d=e.child;null!==d;){for(p=Xs=d;null!==Xs;){switch(h=(f=Xs).child,f.tag){case 0:case 11:case 14:case 15:nl(4,f,f.return);break;case 1:Zs(f,f.return);var m=f.stateNode;if("function"==typeof m.componentWillUnmount){r=f,n=f.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Sc(r,n,e)}}break;case 5:Zs(f,f.return);break;case 22:if(null!==f.memoizedState){Tl(p);continue}}null!==h?(h.return=f,Xs=h):Tl(p)}d=d.sibling}e:for(d=null,p=e;;){if(5===p.tag){if(null===d){d=p;try{a=p.stateNode,u?"function"==typeof(i=a.style).setProperty?i.setProperty("display","none","important"):i.display="none":(l=p.stateNode,s=null!=(c=p.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,l.style.display=me("display",s))}catch(t){Sc(e,e.return,t)}}}else if(6===p.tag){if(null===d)try{p.stateNode.nodeValue=u?"":p.memoizedProps}catch(t){Sc(e,e.return,t)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:ml(t,e),_l(e),4&r&&hl(e);case 21:}}function _l(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(il(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(pe(a,""),r.flags&=-33),cl(e,sl(e),a);break;case 3:case 4:var i=r.stateNode.containerInfo;ll(e,sl(e),i);break;default:throw Error(o(161))}}catch(t){Sc(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function yl(e,t,n){Xs=e,vl(e,t,n)}function vl(e,t,n){for(var r=!!(1&e.mode);null!==Xs;){var a=Xs,o=a.child;if(22===a.tag&&r){var i=null!==a.memoizedState||Qs;if(!i){var s=a.alternate,l=null!==s&&null!==s.memoizedState||Ys;s=Qs;var c=Ys;if(Qs=i,(Ys=l)&&!c)for(Xs=a;null!==Xs;)l=(i=Xs).child,22===i.tag&&null!==i.memoizedState?wl(a):null!==l?(l.return=i,Xs=l):wl(a);for(;null!==o;)Xs=o,vl(o,t,n),o=o.sibling;Xs=a,Qs=s,Ys=c}bl(e)}else 8772&a.subtreeFlags&&null!==o?(o.return=a,Xs=o):bl(e)}}function bl(e){for(;null!==Xs;){var t=Xs;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Ys||rl(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Ys)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:ns(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Ho(t,i,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Ho(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.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 u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var p=d.dehydrated;null!==p&&Ut(p)}}}break;default:throw Error(o(163))}Ys||512&t.flags&&al(t)}catch(e){Sc(t,t.return,e)}}if(t===e){Xs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Xs=n;break}Xs=t.return}}function Tl(e){for(;null!==Xs;){var t=Xs;if(t===e){Xs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Xs=n;break}Xs=t.return}}function wl(e){for(;null!==Xs;){var t=Xs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rl(4,t)}catch(e){Sc(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(e){Sc(t,a,e)}}var o=t.return;try{al(t)}catch(e){Sc(t,o,e)}break;case 5:var i=t.return;try{al(t)}catch(e){Sc(t,i,e)}}}catch(e){Sc(t,t.return,e)}if(t===e){Xs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Xs=s;break}Xs=t.return}}var kl,Sl=Math.ceil,xl=b.ReactCurrentDispatcher,Ml=b.ReactCurrentOwner,Cl=b.ReactCurrentBatchConfig,El=0,Pl=null,Al=null,Ll=0,zl=0,Nl=Sa(0),Rl=0,Ol=null,Dl=0,Il=0,jl=0,$l=null,Fl=null,Bl=0,Ul=1/0,Vl=null,Hl=!1,Gl=null,Wl=null,ql=!1,Kl=null,Ql=0,Yl=0,Jl=null,Xl=-1,Zl=0;function ec(){return 6&El?Je():-1!==Xl?Xl:Xl=Je()}function tc(e){return 1&e.mode?2&El&&0!==Ll?Ll&-Ll:null!==go.transition?(0===Zl&&(Zl=mt()),Zl):0!==(e=vt)?e:e=void 0===(e=window.event)?16:Yt(e.type):1}function nc(e,t,n,r){if(50<Yl)throw Yl=0,Jl=null,Error(o(185));_t(e,n,r),2&El&&e===Pl||(e===Pl&&(!(2&El)&&(Il|=n),4===Rl&&sc(e,Ll)),rc(e,r),1===n&&0===El&&!(1&t.mode)&&(Ul=Je()+500,$a&&Ua()))}function rc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-it(o),s=1<<i,l=a[i];-1===l?0!==(s&n)&&0===(s&r)||(a[i]=ft(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}}(e,t);var r=pt(e,e===Pl?Ll:0);if(0===r)null!==n&&Ke(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ke(n),1===t)0===e.tag?function(e){$a=!0,Ba(e)}(lc.bind(null,e)):Ba(lc.bind(null,e)),ia(function(){!(6&El)&&Ua()}),n=null;else{switch(bt(r)){case 1:n=Ze;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Pc(n,ac.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ac(e,t){if(Xl=-1,Zl=0,6&El)throw Error(o(327));var n=e.callbackNode;if(wc()&&e.callbackNode!==n)return null;var r=pt(e,e===Pl?Ll:0);if(0===r)return null;if(30&r||0!==(r&e.expiredLanes)||t)t=gc(e,r);else{t=r;var a=El;El|=2;var i=hc();for(Pl===e&&Ll===t||(Vl=null,Ul=Je()+500,pc(e,t));;)try{yc();break}catch(t){fc(e,t)}Co(),xl.current=i,El=a,null!==Al?t=0:(Pl=null,Ll=0,t=Rl)}if(0!==t){if(2===t&&(0!==(a=ht(e))&&(r=a,t=oc(e,a))),1===t)throw n=Ol,pc(e,0),sc(e,r),rc(e,Je()),n;if(6===t)sc(e,r);else{if(a=e.current.alternate,!(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 a=n[r],o=a.getSnapshot;a=a.value;try{if(!sr(o(),a))return!1}catch(e){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}(a)||(t=gc(e,r),2===t&&(i=ht(e),0!==i&&(r=i,t=oc(e,i))),1!==t)))throw n=Ol,pc(e,0),sc(e,r),rc(e,Je()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:Tc(e,Fl,Vl);break;case 3:if(sc(e,r),(130023424&r)===r&&10<(t=Bl+500-Je())){if(0!==pt(e,0))break;if(((a=e.suspendedLanes)&r)!==r){ec(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ra(Tc.bind(null,e,Fl,Vl),t);break}Tc(e,Fl,Vl);break;case 4:if(sc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var s=31-it(r);i=1<<s,(s=t[s])>a&&(a=s),r&=~i}if(r=a,10<(r=(120>(r=Je()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Sl(r/1960))-r)){e.timeoutHandle=ra(Tc.bind(null,e,Fl,Vl),r);break}Tc(e,Fl,Vl);break;default:throw Error(o(329))}}}return rc(e,Je()),e.callbackNode===n?ac.bind(null,e):null}function oc(e,t){var n=$l;return e.current.memoizedState.isDehydrated&&(pc(e,t).flags|=256),2!==(e=gc(e,t))&&(t=Fl,Fl=n,null!==t&&ic(t)),e}function ic(e){null===Fl?Fl=e:Fl.push.apply(Fl,e)}function sc(e,t){for(t&=~jl,t&=~Il,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function lc(e){if(6&El)throw Error(o(327));wc();var t=pt(e,0);if(!(1&t))return rc(e,Je()),null;var n=gc(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=oc(e,r))}if(1===n)throw n=Ol,pc(e,0),sc(e,t),rc(e,Je()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Tc(e,Fl,Vl),rc(e,Je()),null}function cc(e,t){var n=El;El|=1;try{return e(t)}finally{0===(El=n)&&(Ul=Je()+500,$a&&Ua())}}function uc(e){null!==Kl&&0===Kl.tag&&!(6&El)&&wc();var t=El;El|=1;var n=Cl.transition,r=vt;try{if(Cl.transition=null,vt=1,e)return e()}finally{vt=r,Cl.transition=n,!(6&(El=t))&&Ua()}}function dc(){zl=Nl.current,xa(Nl)}function pc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aa(n)),null!==Al)for(n=Al.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Na();break;case 3:Jo(),xa(Pa),xa(Ea),ri();break;case 5:Zo(r);break;case 4:Jo();break;case 13:case 19:xa(ei);break;case 10:Eo(r.type._context);break;case 22:case 23:dc()}n=n.return}if(Pl=e,Al=e=Nc(e.current,null),Ll=zl=t,Rl=0,Ol=null,jl=Il=Dl=0,Fl=$l=null,null!==zo){for(t=0;t<zo.length;t++)if(null!==(r=(n=zo[t]).interleaved)){n.interleaved=null;var a=r.next,o=n.pending;if(null!==o){var i=o.next;o.next=a,r.next=i}n.pending=r}zo=null}return e}function fc(e,t){for(;;){var n=Al;try{if(Co(),ai.current=Xi,ui){for(var r=si.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}ui=!1}if(ii=0,ci=li=si=null,di=!1,pi=0,Ml.current=null,null===n||null===n.return){Rl=1,Ol=t,Al=null;break}e:{var i=e,s=n.return,l=n,c=t;if(t=Ll,l.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,d=l,p=d.tag;if(!(1&d.mode||0!==p&&11!==p&&15!==p)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=gs(s);if(null!==h){h.flags&=-257,_s(h,s,l,0,t),1&h.mode&&ms(i,u,t),c=u;var m=(t=h).updateQueue;if(null===m){var g=new Set;g.add(c),t.updateQueue=g}else m.add(c);break e}if(!(1&t)){ms(i,u,t),mc();break e}c=Error(o(426))}else if(ao&&1&l.mode){var _=gs(s);if(null!==_){!(65536&_.flags)&&(_.flags|=256),_s(_,s,l,0,t),mo(cs(c,l));break e}}i=c=cs(c,l),4!==Rl&&(Rl=2),null===$l?$l=[i]:$l.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Uo(i,fs(0,c,t));break e;case 1:l=c;var y=i.type,v=i.stateNode;if(!(128&i.flags||"function"!=typeof y.getDerivedStateFromError&&(null===v||"function"!=typeof v.componentDidCatch||null!==Wl&&Wl.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t,Uo(i,hs(i,l,t));break e}}i=i.return}while(null!==i)}bc(n)}catch(e){t=e,Al===n&&null!==n&&(Al=n=n.return);continue}break}}function hc(){var e=xl.current;return xl.current=Xi,null===e?Xi:e}function mc(){0!==Rl&&3!==Rl&&2!==Rl||(Rl=4),null===Pl||!(268435455&Dl)&&!(268435455&Il)||sc(Pl,Ll)}function gc(e,t){var n=El;El|=2;var r=hc();for(Pl===e&&Ll===t||(Vl=null,pc(e,t));;)try{_c();break}catch(t){fc(e,t)}if(Co(),El=n,xl.current=r,null!==Al)throw Error(o(261));return Pl=null,Ll=0,Rl}function _c(){for(;null!==Al;)vc(Al)}function yc(){for(;null!==Al&&!Qe();)vc(Al)}function vc(e){var t=kl(e.alternate,e,zl);e.memoizedProps=e.pendingProps,null===t?bc(e):Al=t,Ml.current=null}function bc(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Ks(n,t)))return n.flags&=32767,void(Al=n);if(null===e)return Rl=6,void(Al=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=qs(n,t,zl)))return void(Al=n);if(null!==(t=t.sibling))return void(Al=t);Al=t=e}while(null!==t);0===Rl&&(Rl=5)}function Tc(e,t,n){var r=vt,a=Cl.transition;try{Cl.transition=null,vt=1,function(e,t,n,r){do{wc()}while(null!==Kl);if(6&El)throw Error(o(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var i=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 a=31-it(n),o=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~o}}(e,i),e===Pl&&(Al=Pl=null,Ll=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||ql||(ql=!0,Pc(tt,function(){return wc(),null})),i=!!(15990&n.flags),!!(15990&n.subtreeFlags)||i){i=Cl.transition,Cl.transition=null;var s=vt;vt=1;var l=El;El|=4,Ml.current=null,function(e,t){if(ea=Ht,fr(e=pr())){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 a=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(e){n=null;break e}var s=0,l=-1,c=-1,u=0,d=0,p=e,f=null;t:for(;;){for(var h;p!==n||0!==a&&3!==p.nodeType||(l=s+a),p!==i||0!==r&&3!==p.nodeType||(c=s+r),3===p.nodeType&&(s+=p.nodeValue.length),null!==(h=p.firstChild);)f=p,p=h;for(;;){if(p===e)break t;if(f===n&&++u===a&&(l=s),f===i&&++d===r&&(c=s),null!==(h=p.nextSibling))break;f=(p=f).parentNode}p=h}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},Ht=!1,Xs=t;null!==Xs;)if(e=(t=Xs).child,1028&t.subtreeFlags&&null!==e)e.return=t,Xs=e;else for(;null!==Xs;){t=Xs;try{var m=t.alternate;if(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,_=m.memoizedState,y=t.stateNode,v=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:ns(t.type,g),_);y.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var b=t.stateNode.containerInfo;1===b.nodeType?b.textContent="":9===b.nodeType&&b.documentElement&&b.removeChild(b.documentElement);break;default:throw Error(o(163))}}catch(e){Sc(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Xs=e;break}Xs=t.return}m=tl,tl=!1}(e,n),gl(n,e),hr(ta),Ht=!!ea,ta=ea=null,e.current=n,yl(n,e,a),Ye(),El=l,vt=s,Cl.transition=i}else e.current=n;if(ql&&(ql=!1,Kl=e,Ql=a),i=e.pendingLanes,0===i&&(Wl=null),function(e){if(ot&&"function"==typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(at,e,void 0,!(128&~e.current.flags))}catch(e){}}(n.stateNode),rc(e,Je()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],r(a.value,{componentStack:a.stack,digest:a.digest});if(Hl)throw Hl=!1,e=Gl,Gl=null,e;!!(1&Ql)&&0!==e.tag&&wc(),i=e.pendingLanes,1&i?e===Jl?Yl++:(Yl=0,Jl=e):Yl=0,Ua()}(e,t,n,r)}finally{Cl.transition=a,vt=r}return null}function wc(){if(null!==Kl){var e=bt(Ql),t=Cl.transition,n=vt;try{if(Cl.transition=null,vt=16>e?16:e,null===Kl)var r=!1;else{if(e=Kl,Kl=null,Ql=0,6&El)throw Error(o(331));var a=El;for(El|=4,Xs=e.current;null!==Xs;){var i=Xs,s=i.child;if(16&Xs.flags){var l=i.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Xs=u;null!==Xs;){var d=Xs;switch(d.tag){case 0:case 11:case 15:nl(8,d,i)}var p=d.child;if(null!==p)p.return=d,Xs=p;else for(;null!==Xs;){var f=(d=Xs).sibling,h=d.return;if(ol(d),d===u){Xs=null;break}if(null!==f){f.return=h,Xs=f;break}Xs=h}}}var m=i.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var _=g.sibling;g.sibling=null,g=_}while(null!==g)}}Xs=i}}if(2064&i.subtreeFlags&&null!==s)s.return=i,Xs=s;else e:for(;null!==Xs;){if(2048&(i=Xs).flags)switch(i.tag){case 0:case 11:case 15:nl(9,i,i.return)}var y=i.sibling;if(null!==y){y.return=i.return,Xs=y;break e}Xs=i.return}}var v=e.current;for(Xs=v;null!==Xs;){var b=(s=Xs).child;if(2064&s.subtreeFlags&&null!==b)b.return=s,Xs=b;else e:for(s=v;null!==Xs;){if(2048&(l=Xs).flags)try{switch(l.tag){case 0:case 11:case 15:rl(9,l)}}catch(e){Sc(l,l.return,e)}if(l===s){Xs=null;break e}var T=l.sibling;if(null!==T){T.return=l.return,Xs=T;break e}Xs=l.return}}if(El=a,Ua(),ot&&"function"==typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(at,e)}catch(e){}r=!0}return r}finally{vt=n,Cl.transition=t}}return!1}function kc(e,t,n){e=Fo(e,t=fs(0,t=cs(n,t),1),1),t=ec(),null!==e&&(_t(e,1,t),rc(e,t))}function Sc(e,t,n){if(3===e.tag)kc(e,e,n);else for(;null!==t;){if(3===t.tag){kc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Wl||!Wl.has(r))){t=Fo(t,e=hs(t,e=cs(n,e),1),1),e=ec(),null!==t&&(_t(t,1,e),rc(t,e));break}}t=t.return}}function xc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ec(),e.pingedLanes|=e.suspendedLanes&n,Pl===e&&(Ll&n)===n&&(4===Rl||3===Rl&&(130023424&Ll)===Ll&&500>Je()-Bl?pc(e,0):jl|=n),rc(e,t)}function Mc(e,t){0===t&&(1&e.mode?(t=ut,!(130023424&(ut<<=1))&&(ut=4194304)):t=1);var n=ec();null!==(e=Oo(e,t))&&(_t(e,t,n),rc(e,n))}function Cc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Mc(e,n)}function Ec(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Mc(e,n)}function Pc(e,t){return qe(e,t)}function Ac(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 Lc(e,t,n,r){return new Ac(e,t,n,r)}function zc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Nc(e,t){var n=e.alternate;return null===n?((n=Lc(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 Rc(e,t,n,r,a,i){var s=2;if(r=e,"function"==typeof e)zc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case k:return Oc(n.children,a,i,t);case S:s=8,a|=8;break;case x:return(e=Lc(12,n,t,2|a)).elementType=x,e.lanes=i,e;case P:return(e=Lc(13,n,t,a)).elementType=P,e.lanes=i,e;case A:return(e=Lc(19,n,t,a)).elementType=A,e.lanes=i,e;case N:return Dc(n,a,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case M:s=10;break e;case C:s=9;break e;case E:s=11;break e;case L:s=14;break e;case z:s=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Lc(s,n,t,a)).elementType=e,t.type=r,t.lanes=i,t}function Oc(e,t,n,r){return(e=Lc(7,e,r,t)).lanes=n,e}function Dc(e,t,n,r){return(e=Lc(22,e,r,t)).elementType=N,e.lanes=n,e.stateNode={isHidden:!1},e}function Ic(e,t,n){return(e=Lc(6,e,null,t)).lanes=n,e}function jc(e,t,n){return(t=Lc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function $c(e,t,n,r,a){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=a,this.mutableSourceEagerHydrationData=null}function Fc(e,t,n,r,a,o,i,s,l){return e=new $c(e,t,n,s,l),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Lc(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Io(o),e}function Bc(e){if(!e)return Ca;e:{if(Ue(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(za(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(za(n))return Oa(e,n,t)}return t}function Uc(e,t,n,r,a,o,i,s,l){return(e=Fc(n,r,!0,e,0,o,0,s,l)).context=Bc(null),n=e.current,(o=$o(r=ec(),a=tc(n))).callback=null!=t?t:null,Fo(n,o,a),e.current.lanes=a,_t(e,a,r),rc(e,r),e}function Vc(e,t,n,r){var a=t.current,o=ec(),i=tc(a);return n=Bc(n),null===t.context?t.context=n:t.pendingContext=n,(t=$o(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Fo(a,t,i))&&(nc(e,a,i,o),Bo(e,a,i)),i}function Hc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Gc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Wc(e,t){Gc(e,t),(e=e.alternate)&&Gc(e,t)}kl=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Pa.current)vs=!0;else{if(0===(e.lanes&n)&&!(128&t.flags))return vs=!1,function(e,t,n){switch(t.tag){case 3:Ps(t),ho();break;case 5:Xo(t);break;case 1:za(t.type)&&Da(t);break;case 4:Yo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;Ma(ko,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ma(ei,1&ei.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Is(e,t,n):(Ma(ei,1&ei.current),null!==(e=Hs(e,t,n))?e.sibling:null);Ma(ei,1&ei.current);break;case 19:if(r=0!==(n&t.childLanes),128&e.flags){if(r)return Us(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),Ma(ei,ei.current),r)break;return null;case 22:case 23:return t.lanes=0,Ss(e,t,n)}return Hs(e,t,n)}(e,t,n);vs=!!(131072&e.flags)}else vs=!1,ao&&1048576&t.flags&&Za(t,Wa,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Vs(e,t),e=t.pendingProps;var a=La(t,Ea.current);Ao(t,n),a=gi(null,t,r,e,a,n);var i=_i();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,za(r)?(i=!0,Da(t)):i=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Io(t),a.updater=as,t.stateNode=a,a._reactInternals=t,ls(t,r,e,n),t=Es(null,t,r,!0,i,n)):(t.tag=0,ao&&i&&eo(t),bs(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Vs(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"==typeof e)return zc(e)?1:0;if(null!=e){if((e=e.$$typeof)===E)return 11;if(e===L)return 14}return 2}(r),e=ns(r,e),a){case 0:t=Ms(null,t,r,e,n);break e;case 1:t=Cs(null,t,r,e,n);break e;case 11:t=Ts(null,t,r,e,n);break e;case 14:t=ws(null,t,r,ns(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,Ms(e,t,r,a=t.elementType===r?a:ns(r,a),n);case 1:return r=t.type,a=t.pendingProps,Cs(e,t,r,a=t.elementType===r?a:ns(r,a),n);case 3:e:{if(Ps(t),null===e)throw Error(o(387));r=t.pendingProps,a=(i=t.memoizedState).element,jo(e,t),Vo(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=As(e,t,r,n,a=cs(Error(o(423)),t));break e}if(r!==a){t=As(e,t,r,n,a=cs(Error(o(424)),t));break e}for(ro=ca(t.stateNode.containerInfo.firstChild),no=t,ao=!0,oo=null,n=wo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ho(),r===a){t=Hs(e,t,n);break e}bs(e,t,r,n)}t=t.child}return t;case 5:return Xo(t),null===e&&co(t),r=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,s=a.children,na(r,a)?s=null:null!==i&&na(r,i)&&(t.flags|=32),xs(e,t),bs(e,t,s,n),t.child;case 6:return null===e&&co(t),null;case 13:return Is(e,t,n);case 4:return Yo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=To(t,null,r,n):bs(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,Ts(e,t,r,a=t.elementType===r?a:ns(r,a),n);case 7:return bs(e,t,t.pendingProps,n),t.child;case 8:case 12:return bs(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,i=t.memoizedProps,s=a.value,Ma(ko,r._currentValue),r._currentValue=s,null!==i)if(sr(i.value,s)){if(i.children===a.children&&!Pa.current){t=Hs(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var l=i.dependencies;if(null!==l){s=i.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===i.tag){(c=$o(-1,n&-n)).tag=2;var u=i.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}i.lanes|=n,null!==(c=i.alternate)&&(c.lanes|=n),Po(i.return,n,t),l.lanes|=n;break}c=c.next}}else if(10===i.tag)s=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(s=i.return))throw Error(o(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),Po(s,n,t),s=i.sibling}else s=i.child;if(null!==s)s.return=i;else for(s=i;null!==s;){if(s===t){s=null;break}if(null!==(i=s.sibling)){i.return=s.return,s=i;break}s=s.return}i=s}bs(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,Ao(t,n),r=r(a=Lo(a)),t.flags|=1,bs(e,t,r,n),t.child;case 14:return a=ns(r=t.type,t.pendingProps),ws(e,t,r,a=ns(r.type,a),n);case 15:return ks(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:ns(r,a),Vs(e,t),t.tag=1,za(r)?(e=!0,Da(t)):e=!1,Ao(t,n),is(t,r,a),ls(t,r,a,n),Es(null,t,r,!0,e,n);case 19:return Us(e,t,n);case 22:return Ss(e,t,n)}throw Error(o(156,t.tag))};var qc="function"==typeof reportError?reportError:function(e){console.error(e)};function Kc(e){this._internalRoot=e}function Qc(e){this._internalRoot=e}function Yc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Jc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Xc(){}function Zc(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o;if("function"==typeof a){var s=a;a=function(){var e=Hc(i);s.call(e)}}Vc(t,i,e,a)}else i=function(e,t,n,r,a){if(a){if("function"==typeof r){var o=r;r=function(){var e=Hc(i);o.call(e)}}var i=Uc(t,r,e,0,null,!1,0,"",Xc);return e._reactRootContainer=i,e[ha]=i.current,Ur(8===e.nodeType?e.parentNode:e),uc(),i}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof r){var s=r;r=function(){var e=Hc(l);s.call(e)}}var l=Fc(e,0,!1,null,0,!1,0,"",Xc);return e._reactRootContainer=l,e[ha]=l.current,Ur(8===e.nodeType?e.parentNode:e),uc(function(){Vc(t,l,n,r)}),l}(n,t,e,a,r);return Hc(i)}Qc.prototype.render=Kc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));Vc(e,t,null,null)},Qc.prototype.unmount=Kc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;uc(function(){Vc(null,e,null,null)}),t[ha]=null}},Qc.prototype.unstable_scheduleHydration=function(e){if(e){var t=St();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Nt.length&&0!==t&&t<Nt[n].priority;n++);Nt.splice(n,0,e),0===n&&It(e)}},Tt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),rc(t,Je()),!(6&El)&&(Ul=Je()+500,Ua()))}break;case 13:uc(function(){var t=Oo(e,1);if(null!==t){var n=ec();nc(t,e,1,n)}}),Wc(e,1)}},wt=function(e){if(13===e.tag){var t=Oo(e,134217728);if(null!==t)nc(t,e,134217728,ec());Wc(e,134217728)}},kt=function(e){if(13===e.tag){var t=tc(e),n=Oo(e,t);if(null!==n)nc(n,e,t,ec());Wc(e,t)}},St=function(){return vt},xt=function(e,t){var n=vt;try{return vt=e,t()}finally{vt=n}},we=function(e,t,n){switch(t){case"input":if(X(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 a=Ta(r);if(!a)throw Error(o(90));q(r),X(r,a)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Ee=cc,Pe=uc;var eu={usingClientEntryPoint:!1,Events:[va,ba,Ta,Me,Ce,cc]},tu={findFiberByHostInstance:ya,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nu={bundleType:tu.bundleType,version:tu.version,rendererPackageName:tu.rendererPackageName,rendererConfig:tu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:b.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ge(e))?null:e.stateNode},findFiberByHostInstance:tu.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 ru=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ru.isDisabled&&ru.supportsFiber)try{at=ru.inject(nu),ot=ru}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=eu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yc(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:w,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Yc(e))throw Error(o(299));var n=!1,r="",a=qc;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=Fc(e,1,!1,null,0,n,0,r,a),e[ha]=t.current,Ur(8===e.nodeType?e.parentNode:e),new Kc(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(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=Ge(t))?null:e.stateNode},t.flushSync=function(e){return uc(e)},t.hydrate=function(e,t,n){if(!Jc(t))throw Error(o(200));return Zc(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Yc(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,a=!1,i="",s=qc;if(null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Uc(t,null,e,1,null!=n?n:null,a,0,i,s),e[ha]=t.current,Ur(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new Qc(t)},t.render=function(e,t,n){if(!Jc(t))throw Error(o(200));return Zc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Jc(e))throw Error(o(40));return!!e._reactRootContainer&&(uc(function(){Zc(null,null,e,!1,function(){e._reactRootContainer=null,e[ha]=null})}),!0)},t.unstable_batchedUpdates=cc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Jc(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return Zc(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},3072:(e,t)=>{"use strict";
/** @license React v16.13.1
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,_=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,b=n?Symbol.for("react.scope"):60119;function T(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case o:case s:case i:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case m:case l:return e;default:return t}}case a:return t}}}function w(e){return T(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=a,t.Profiler=s,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return w(e)||T(e)===u},t.isConcurrentMode=w,t.isContextConsumer=function(e){return T(e)===c},t.isContextProvider=function(e){return T(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return T(e)===p},t.isFragment=function(e){return T(e)===o},t.isLazy=function(e){return T(e)===g},t.isMemo=function(e){return T(e)===m},t.isPortal=function(e){return T(e)===a},t.isProfiler=function(e){return T(e)===s},t.isStrictMode=function(e){return T(e)===i},t.isSuspense=function(e){return T(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===i||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===y||e.$$typeof===v||e.$$typeof===b||e.$$typeof===_)},t.typeOf=T},3404:(e,t,n)=>{"use strict";e.exports=n(3072)},4146:(e,t,n)=>{"use strict";var r=n(3404),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||a}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var a=f(n);a&&a!==h&&e(t,a,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<i.length;++g){var _=i[g];if(!(o[_]||r&&r[_]||m&&m[_]||s&&s[_])){var y=p(n,_);try{c(t,_,y)}catch(e){}}}}return t}},4405:(e,t)=>{"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler");
/**
 * @license React
 * react-is.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */Symbol.for("react.provider");var s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case a:case i:case o:case u:case d:case h:return e;default:switch(e=e&&e.$$typeof){case l:case c:case f:case p:case s:return e;default:return t}}case r:return t}}}t.Hy=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===i||e===o||e===u||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===p||e.$$typeof===l||e.$$typeof===s||e.$$typeof===c||e.$$typeof===m||void 0!==e.getModuleId)}},4848:(e,t,n)=>{"use strict";e.exports=n(1020)},4915:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},5056:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},5072:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},i=[],s=0;s<e.length;s++){var l=e[s],c=r.base?l[0]+r.base:l[0],u=o[c]||0,d="".concat(c," ").concat(u);o[c]=u+1;var p=n(d),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(f);else{var h=a(f,r);r.byIndex=s,t.splice(s,0,{identifier:d,updater:h,references:1})}i.push(d)}return i}function a(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,a){var o=r(e=e||[],a=a||{});return function(e){e=e||[];for(var i=0;i<o.length;i++){var s=n(o[i]);t[s].references--}for(var l=r(e,a),c=0;c<o.length;c++){var u=n(o[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=l}}},5287:(e,t)=>{"use strict";
/**
 * @license React
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function _(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function y(){}function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}_.prototype.isReactComponent={},_.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")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=_.prototype;var b=v.prototype=new y;b.constructor=v,m(b,_.prototype),b.isPureReactComponent=!0;var T=Array.isArray,w=Object.prototype.hasOwnProperty,k={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,r){var a,o={},i=null,s=null;if(null!=t)for(a in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(i=""+t.key),t)w.call(t,a)&&!S.hasOwnProperty(a)&&(o[a]=t[a]);var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(a in l=e.defaultProps)void 0===o[a]&&(o[a]=l[a]);return{$$typeof:n,type:e,key:i,ref:s,props:o,_owner:k.current}}function M(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var C=/\/+/g;function E(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 P(e,t,a,o,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return i=i(l=e),e=""===o?"."+E(l,0):o,T(i)?(a="",null!=e&&(a=e.replace(C,"$&/")+"/"),P(i,t,a,"",function(e){return e})):null!=i&&(M(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,a+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(C,"$&/")+"/")+e)),t.push(i)),1;if(l=0,o=""===o?".":o+":",T(e))for(var c=0;c<e.length;c++){var u=o+E(s=e[c],c);l+=P(s,t,a,u,i)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=P(s=s.value,t,a,u=o+E(s,c++),i);else if("object"===s)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 l}function A(e,t,n){if(null==e)return e;var r=[],a=0;return P(e,r,"","",function(e){return t.call(n,e,a++)}),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 z={current:null},N={transition:null},R={ReactCurrentDispatcher:z,ReactCurrentBatchConfig:N,ReactCurrentOwner:k};function O(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:A,forEach:function(e,t,n){A(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return A(e,function(){t++}),t},toArray:function(e){return A(e,function(e){return e})||[]},only:function(e){if(!M(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=_,t.Fragment=a,t.Profiler=i,t.PureComponent=v,t.StrictMode=o,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R,t.act=O,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=m({},e.props),o=e.key,i=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,s=k.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)w.call(t,c)&&!S.hasOwnProperty(c)&&(a[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)a.children=r;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];a.children=l}return{$$typeof:n,type:e.type,key:o,ref:i,props:a,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=x,t.createFactory=function(e){var t=x.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=M,t.lazy=function(e){return{$$typeof:p,_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=N.transition;N.transition={};try{e()}finally{N.transition=t}},t.unstable_act=O,t.useCallback=function(e,t){return z.current.useCallback(e,t)},t.useContext=function(e){return z.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return z.current.useDeferredValue(e)},t.useEffect=function(e,t){return z.current.useEffect(e,t)},t.useId=function(){return z.current.useId()},t.useImperativeHandle=function(e,t,n){return z.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return z.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return z.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return z.current.useMemo(e,t)},t.useReducer=function(e,t,n){return z.current.useReducer(e,t,n)},t.useRef=function(e){return z.current.useRef(e)},t.useState=function(e){return z.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return z.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return z.current.useTransition()},t.version="18.3.1"},5338:(e,t,n)=>{"use strict";var r=n(961);t.H=r.createRoot,r.hydrateRoot},5612:function(e){var t;"undefined"!=typeof self&&self,t=()=>(()=>{"use strict";var e={d:(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,(o=function(e){if("object"!==n(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!==n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(a.key),"symbol"===n(o)?o:String(o)),a)}var o}e.r(t),e.d(t,{default:()=>i});var i=function(){function e(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).sampleRate;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this._context=this._createContext(t),t||(t=this._context.sampleRate),this._sampleRate=t}var t,n;return t=e,n=[{key:"_createContext",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:44100;return window.AudioContext=window.AudioContext||window.webkitAudioContext||window.mozAudioContext,new AudioContext({sampleRate:e})}},{key:"context",get:function(){return this._context}},{key:"fetchAudio",value:async function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return await Promise.all(n.map(async function(t){var n;return n=t instanceof File||t instanceof Blob?await t.arrayBuffer():await fetch(t).then(function(e){return e.headers.has("Content-Type")&&!e.headers.get("Content-Type").includes("audio/")&&console.warn("Crunker: Attempted to fetch an audio file, but its MIME type is `".concat(e.headers.get("Content-Type").split(";")[0],"`. We'll try and continue anyway. (file: \"").concat(t,'")')),e.arrayBuffer()}),await e._context.decodeAudioData(n)}))}},{key:"mergeAudio",value:function(e){var t=this._context.createBuffer(this._maxNumberOfChannels(e),this._sampleRate*this._maxDuration(e),this._sampleRate);return e.forEach(function(e){for(var n=0;n<e.numberOfChannels;n++){for(var r=t.getChannelData(n),a=e.getChannelData(n),o=e.getChannelData(n).length-1;o>=0;o--)r[o]+=a[o];t.getChannelData(n).set(r)}}),t}},{key:"concatAudio",value:function(e){var t=this._context.createBuffer(this._maxNumberOfChannels(e),this._totalLength(e),this._sampleRate),n=0;return e.forEach(function(e){for(var r=0;r<e.numberOfChannels;r++)t.getChannelData(r).set(e.getChannelData(r),n);n+=e.length}),t}},{key:"padAudio",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0===n)return e;if(t<0)throw new Error('Crunker: Parameter "padStart" in padAudio must be positive');if(n<0)throw new Error('Crunker: Parameter "seconds" in padAudio must be positive');for(var r=this._context.createBuffer(e.numberOfChannels,Math.ceil(e.length+n*e.sampleRate),e.sampleRate),a=0;a<e.numberOfChannels;a++){var o=e.getChannelData(a);r.getChannelData(a).set(o.subarray(0,Math.ceil(t*e.sampleRate)+1),0),r.getChannelData(a).set(o.subarray(Math.ceil(t*e.sampleRate)+2,r.length+1),Math.ceil((t+n)*e.sampleRate))}return r}},{key:"sliceAudio",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(t>=n)throw new Error('Crunker: "start" time should be less than "end" time in sliceAudio method');for(var o=Math.round((n-t)*this._sampleRate),i=Math.round(t*this._sampleRate),s=this._context.createBuffer(e.numberOfChannels,o,this._sampleRate),l=0;l<e.numberOfChannels;l++)for(var c=e.getChannelData(l),u=s.getChannelData(l),d=0;d<o;d++)u[d]=c[i+d],d<r*this._sampleRate&&(u[d]*=d/(r*this._sampleRate)),d>o-a*this._sampleRate&&(u[d]*=(o-d)/(a*this._sampleRate));return s}},{key:"play",value:function(e){var t=this._context.createBufferSource();return t.buffer=e,t.connect(this._context.destination),t.start(),t}},{key:"export",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"audio/wav",n=this._interleave(e),r=this._writeHeaders(n,e.numberOfChannels,e.sampleRate),a=new Blob([r],{type:t});return{blob:a,url:this._renderURL(a),element:this._renderAudioElement(a)}}},{key:"download",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"crunker",n=document.createElement("a");return n.style.display="none",n.href=this._renderURL(e),n.download="".concat(t,".").concat(e.type.split("/")[1]),n.click(),n}},{key:"notSupported",value:function(e){return this._isSupported()?void 0:e()}},{key:"close",value:function(){return this._context.close(),this}},{key:"_maxDuration",value:function(e){return Math.max.apply(Math,r(e.map(function(e){return e.duration})))}},{key:"_maxNumberOfChannels",value:function(e){return Math.max.apply(Math,r(e.map(function(e){return e.numberOfChannels})))}},{key:"_totalLength",value:function(e){return e.map(function(e){return e.length}).reduce(function(e,t){return e+t},0)}},{key:"_isSupported",value:function(){return"AudioContext"in window||"webkitAudioContext"in window||"mozAudioContext"in window}},{key:"_writeHeaders",value:function(e,t,n){var r=2*t,a=2*e.length,o=36+a,i=new ArrayBuffer(8+o),s=new DataView(i);return this._writeString(s,0,"RIFF"),s.setUint32(4,o,!0),this._writeString(s,8,"WAVE"),this._writeString(s,12,"fmt "),s.setUint32(16,16,!0),s.setUint16(20,1,!0),s.setUint16(22,t,!0),s.setUint32(24,n,!0),s.setUint32(28,n*r,!0),s.setUint16(32,r,!0),s.setUint16(34,16,!0),this._writeString(s,36,"data"),s.setUint32(40,a,!0),this._floatTo16BitPCM(s,e,44)}},{key:"_floatTo16BitPCM",value:function(e,t,n){for(var r=0;r<t.length;r++,n+=2){var a=Math.max(-1,Math.min(1,t[r]));e.setInt16(n,a<0?32768*a:32767*a,!0)}return e}},{key:"_writeString",value:function(e,t,n){for(var r=0;r<n.length;r++)e.setUint8(t+r,n.charCodeAt(r))}},{key:"_interleave",value:function(e){if(1===e.numberOfChannels)return e.getChannelData(0);for(var t=[],n=0;n<e.numberOfChannels;n++)t.push(e.getChannelData(n));for(var r=t.reduce(function(e,t){return e+t.length},0),a=new Float32Array(r),o=0,i=0;o<r;)t.forEach(function(e){a[o++]=e[i]}),i++;return a}},{key:"_renderAudioElement",value:function(e){var t=document.createElement("audio");return t.controls=!0,t.src=this._renderURL(e),t}},{key:"_renderURL",value:function(e){return(window.URL||window.webkitURL).createObjectURL(e)}}],n&&o(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();return t})(),e.exports=t()},6314:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,a,o){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(i[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);r&&i[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),a&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=a):u[4]="".concat(a)),t.push(u))}},t}},6540:(e,t,n)=>{"use strict";e.exports=n(5287)},7463:(e,t)=>{"use strict";
/**
 * @license React
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function r(e){return 0===e.length?null:e[0]}function a(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,a=e.length,i=a>>>1;r<i;){var s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>o(l,n))c<a&&0>o(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<a&&0>o(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,p=null,f=3,h=!1,m=!1,g=!1,_="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var t=r(u);null!==t;){if(null===t.callback)a(u);else{if(!(t.startTime<=e))break;a(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function T(e){if(g=!1,b(e),!m)if(null!==r(c))m=!0,N(w);else{var t=r(u);null!==t&&R(T,t.startTime-e)}}function w(e,n){m=!1,g&&(g=!1,y(M),M=-1),h=!0;var o=f;try{for(b(n),p=r(c);null!==p&&(!(p.expirationTime>n)||e&&!P());){var i=p.callback;if("function"==typeof i){p.callback=null,f=p.priorityLevel;var s=i(p.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?p.callback=s:p===r(c)&&a(c),b(n)}else a(c);p=r(c)}if(null!==p)var l=!0;else{var d=r(u);null!==d&&R(T,d.startTime-n),l=!1}return l}finally{p=null,f=o,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,S=!1,x=null,M=-1,C=5,E=-1;function P(){return!(t.unstable_now()-E<C)}function A(){if(null!==x){var e=t.unstable_now();E=e;var n=!0;try{n=x(!0,e)}finally{n?k():(S=!1,x=null)}}else S=!1}if("function"==typeof v)k=function(){v(A)};else if("undefined"!=typeof MessageChannel){var L=new MessageChannel,z=L.port2;L.port1.onmessage=A,k=function(){z.postMessage(null)}}else k=function(){_(A,0)};function N(e){x=e,S||(S=!0,k())}function R(e,n){M=_(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,N(w))},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"):C=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=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=f;f=e;try{return t()}finally{f=n}},t.unstable_scheduleCallback=function(e,a,o){var i=t.unstable_now();switch("object"==typeof o&&null!==o?o="number"==typeof(o=o.delay)&&0<o?i+o:i:o=i,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:a,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>i?(e.sortIndex=o,n(u,e),null===r(c)&&e===r(u)&&(g?(y(M),M=-1):g=!0,R(T,o-i))):(e.sortIndex=s,n(c,e),m||h||(m=!0,N(w))),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}},7659:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},7825:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var a=void 0!==n.layer;a&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,a&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},7935:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(1601),a=n.n(r),o=n(6314),i=n.n(o)()(a());i.push([e.id,"@keyframes loading {\n    0% {\n        transform: rotate(0)\n    }\n\n    to {\n        transform: rotate(360deg)\n    }\n}\n\n.ag-textarea .MuiInputBase-input::-webkit-scrollbar {\n    height: 6px;\n    width: 6px\n}\n\n.ag-textarea .MuiInputBase-input::-webkit-scrollbar-track {\n    background: transparent\n}\n\n.ag-textarea .MuiInputBase-input::-webkit-scrollbar-thumb {\n    background: #dfdfdf;\n    border-radius: 4px\n}\n\n.ag-textarea .MuiInputBase-input::-webkit-scrollbar-thumb:hover {\n    background: #d4d4d4\n}",""]);const s=i},9982:(e,t,n)=>{"use strict";e.exports=n(7463)}},r={};function a(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={id:e,exports:{}};return n[e].call(o.exports,o,o.exports,a),o.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var o=Object.create(null);a.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;("object"==typeof s||"function"==typeof s)&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach(e=>i[e]=()=>n[e]);return i.default=()=>n,a.d(o,i),o},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nc=void 0,(()=>{"use strict";const e="https://translate.googleapis.com",t="https://www.ag-translate.com";var n;!function(e){e.AboveCenter="above-center",e.AboveLeft="above-left",e.AboveRight="above-right",e.DownCenter="down-center",e.DownLeft="down-left",e.DownRight="down-right"}(n||(n={}));const r=2147483647;var o=a(6540),i=a.t(o,2);const s=o.createContext(null);function l(){return o.useContext(s)}const c="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var u=a(4848);const d=function(e){const{children:t,theme:n}=e,r=l(),a=o.useMemo(()=>{const e=null===r?{...n}:function(e,t){if("function"==typeof t)return t(e);return{...e,...t}}(r,n);return null!=e&&(e[c]=null!==r),e},[n,r]);return(0,u.jsx)(s.Provider,{value:a,children:t})};var p=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),f=Math.abs,h=String.fromCharCode,m=Object.assign;function g(e){return e.trim()}function _(e,t,n){return e.replace(t,n)}function y(e,t){return e.indexOf(t)}function v(e,t){return 0|e.charCodeAt(t)}function b(e,t,n){return e.slice(t,n)}function T(e){return e.length}function w(e){return e.length}function k(e,t){return t.push(e),e}var S=1,x=1,M=0,C=0,E=0,P="";function A(e,t,n,r,a,o,i){return{value:e,root:t,parent:n,type:r,props:a,children:o,line:S,column:x,length:i,return:""}}function L(e,t){return m(A("",null,null,"",null,null,0),e,{length:-e.length},t)}function z(){return E=C>0?v(P,--C):0,x--,10===E&&(x=1,S--),E}function N(){return E=C<M?v(P,C++):0,x++,10===E&&(x=1,S++),E}function R(){return v(P,C)}function O(){return C}function D(e,t){return b(P,e,t)}function I(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function j(e){return S=x=1,M=T(P=e),C=0,[]}function $(e){return P="",e}function F(e){return g(D(C-1,V(91===e?e+2:40===e?e+1:e)))}function B(e){for(;(E=R())&&E<33;)N();return I(e)>2||I(E)>3?"":" "}function U(e,t){for(;--t&&N()&&!(E<48||E>102||E>57&&E<65||E>70&&E<97););return D(e,O()+(t<6&&32==R()&&32==N()))}function V(e){for(;N();)switch(E){case e:return C;case 34:case 39:34!==e&&39!==e&&V(E);break;case 40:41===e&&V(e);break;case 92:N()}return C}function H(e,t){for(;N()&&e+E!==57&&(e+E!==84||47!==R()););return"/*"+D(t,C-1)+"*"+h(47===e?e:N())}function G(e){for(;!I(R());)N();return D(e,C)}var W="-ms-",q="-moz-",K="-webkit-",Q="comm",Y="rule",J="decl",X="@keyframes";function Z(e,t){for(var n="",r=w(e),a=0;a<r;a++)n+=t(e[a],a,e,t)||"";return n}function ee(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case J:return e.return=e.return||e.value;case Q:return"";case X:return e.return=e.value+"{"+Z(e.children,r)+"}";case Y:e.value=e.props.join(",")}return T(n=Z(e.children,r))?e.return=e.value+"{"+n+"}":""}function te(e){return $(ne("",null,null,null,[""],e=j(e),0,[0],e))}function ne(e,t,n,r,a,o,i,s,l){for(var c=0,u=0,d=i,p=0,f=0,m=0,g=1,b=1,w=1,S=0,x="",M=a,C=o,E=r,P=x;b;)switch(m=S,S=N()){case 40:if(108!=m&&58==v(P,d-1)){-1!=y(P+=_(F(S),"&","&\f"),"&\f")&&(w=-1);break}case 34:case 39:case 91:P+=F(S);break;case 9:case 10:case 13:case 32:P+=B(m);break;case 92:P+=U(O()-1,7);continue;case 47:switch(R()){case 42:case 47:k(ae(H(N(),O()),t,n),l);break;default:P+="/"}break;case 123*g:s[c++]=T(P)*w;case 125*g:case 59:case 0:switch(S){case 0:case 125:b=0;case 59+u:-1==w&&(P=_(P,/\f/g,"")),f>0&&T(P)-d&&k(f>32?oe(P+";",r,n,d-1):oe(_(P," ","")+";",r,n,d-2),l);break;case 59:P+=";";default:if(k(E=re(P,t,n,c,u,a,s,x,M=[],C=[],d),o),123===S)if(0===u)ne(P,t,E,E,M,o,d,s,C);else switch(99===p&&110===v(P,3)?100:p){case 100:case 108:case 109:case 115:ne(e,E,E,r&&k(re(e,E,E,0,0,a,s,x,a,M=[],d),C),a,C,d,s,r?M:C);break;default:ne(P,E,E,E,[""],C,0,s,C)}}c=u=f=0,g=w=1,x=P="",d=i;break;case 58:d=1+T(P),f=m;default:if(g<1)if(123==S)--g;else if(125==S&&0==g++&&125==z())continue;switch(P+=h(S),S*g){case 38:w=u>0?1:(P+="\f",-1);break;case 44:s[c++]=(T(P)-1)*w,w=1;break;case 64:45===R()&&(P+=F(N())),p=R(),u=d=T(x=P+=G(O())),S++;break;case 45:45===m&&2==T(P)&&(g=0)}}return o}function re(e,t,n,r,a,o,i,s,l,c,u){for(var d=a-1,p=0===a?o:[""],h=w(p),m=0,y=0,v=0;m<r;++m)for(var T=0,k=b(e,d+1,d=f(y=i[m])),S=e;T<h;++T)(S=g(y>0?p[T]+" "+k:_(k,/&\f/g,p[T])))&&(l[v++]=S);return A(e,t,n,0===a?Y:s,l,c,u)}function ae(e,t,n){return A(e,t,n,Q,h(E),b(e,2,-2),0)}function oe(e,t,n,r){return A(e,t,n,J,b(e,0,r),b(e,r+1,-1),r)}var ie=function(e,t,n){for(var r=0,a=0;r=a,a=R(),38===r&&12===a&&(t[n]=1),!I(a);)N();return D(e,C)},se=function(e,t){return $(function(e,t){var n=-1,r=44;do{switch(I(r)){case 0:38===r&&12===R()&&(t[n]=1),e[n]+=ie(C-1,t,n);break;case 2:e[n]+=F(r);break;case 4:if(44===r){e[++n]=58===R()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=h(r)}}while(r=N());return e}(j(e),t))},le=new WeakMap,ce=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||le.get(n))&&!r){le.set(e,!0);for(var a=[],o=se(t,a),i=n.props,s=0,l=0;s<o.length;s++)for(var c=0;c<i.length;c++,l++)e.props[l]=a[s]?o[s].replace(/&\f/g,i[c]):i[c]+" "+o[s]}}},ue=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function de(e,t){switch(function(e,t){return 45^v(e,0)?(((t<<2^v(e,0))<<2^v(e,1))<<2^v(e,2))<<2^v(e,3):0}(e,t)){case 5103:return K+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return K+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return K+e+q+e+W+e+e;case 6828:case 4268:return K+e+W+e+e;case 6165:return K+e+W+"flex-"+e+e;case 5187:return K+e+_(e,/(\w+).+(:[^]+)/,K+"box-$1$2"+W+"flex-$1$2")+e;case 5443:return K+e+W+"flex-item-"+_(e,/flex-|-self/,"")+e;case 4675:return K+e+W+"flex-line-pack"+_(e,/align-content|flex-|-self/,"")+e;case 5548:return K+e+W+_(e,"shrink","negative")+e;case 5292:return K+e+W+_(e,"basis","preferred-size")+e;case 6060:return K+"box-"+_(e,"-grow","")+K+e+W+_(e,"grow","positive")+e;case 4554:return K+_(e,/([^-])(transform)/g,"$1"+K+"$2")+e;case 6187:return _(_(_(e,/(zoom-|grab)/,K+"$1"),/(image-set)/,K+"$1"),e,"")+e;case 5495:case 3959:return _(e,/(image-set\([^]*)/,K+"$1$`$1");case 4968:return _(_(e,/(.+:)(flex-)?(.*)/,K+"box-pack:$3"+W+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+K+e+e;case 4095:case 3583:case 4068:case 2532:return _(e,/(.+)-inline(.+)/,K+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(T(e)-1-t>6)switch(v(e,t+1)){case 109:if(45!==v(e,t+4))break;case 102:return _(e,/(.+:)(.+)-([^]+)/,"$1"+K+"$2-$3$1"+q+(108==v(e,t+3)?"$3":"$2-$3"))+e;case 115:return~y(e,"stretch")?de(_(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==v(e,t+1))break;case 6444:switch(v(e,T(e)-3-(~y(e,"!important")&&10))){case 107:return _(e,":",":"+K)+e;case 101:return _(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+K+(45===v(e,14)?"inline-":"")+"box$3$1"+K+"$2$3$1"+W+"$2box$3")+e}break;case 5936:switch(v(e,t+11)){case 114:return K+e+W+_(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return K+e+W+_(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return K+e+W+_(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return K+e+W+e+e}return e}var pe=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case J:e.return=de(e.value,e.length);break;case X:return Z([L(e,{value:_(e.value,"@","@"+K)})],r);case Y:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Z([L(e,{props:[_(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Z([L(e,{props:[_(t,/:(plac\w+)/,":"+K+"input-$1")]}),L(e,{props:[_(t,/:(plac\w+)/,":-moz-$1")]}),L(e,{props:[_(t,/:(plac\w+)/,W+"input-$1")]})],r)}return""})}}],fe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,a,o=e.stylisPlugins||pe,i={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)i[t[n]]=!0;s.push(e)});var l,c,u,d,f=[ee,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],h=(c=[ce,ue].concat(o,f),u=w(c),function(e,t,n,r){for(var a="",o=0;o<u;o++)a+=c[o](e,t,n,r)||"";return a});a=function(e,t,n,r){l=n,function(e){Z(te(e),h)}(e?e+"{"+t.styles+"}":t.styles),r&&(m.inserted[t.name]=!0)};var m={key:t,sheet:new p({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:a};return m.sheet.hydrate(s),m};function he(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var me=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},ge=function(e,t,n){me(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do{e.insert(t===a?"."+r:"",a,e.sheet,!0),a=a.next}while(void 0!==a)}};var _e={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function ye(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var ve=/[A-Z]|^ms/g,be=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Te=function(e){return 45===e.charCodeAt(1)},we=function(e){return null!=e&&"boolean"!=typeof e},ke=ye(function(e){return Te(e)?e:e.replace(ve,"-$&").toLowerCase()}),Se=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(be,function(e,t,n){return Me={name:t,styles:n,next:Me},t})}return 1===_e[e]||Te(e)||"number"!=typeof t||0===t?t:t+"px"};function xe(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var a=n;if(1===a.anim)return Me={name:a.name,styles:a.styles,next:Me},a.name;var o=n;if(void 0!==o.styles){var i=o.next;if(void 0!==i)for(;void 0!==i;)Me={name:i.name,styles:i.styles,next:Me},i=i.next;return o.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var a=0;a<n.length;a++)r+=xe(e,t,n[a])+";";else for(var o in n){var i=n[o];if("object"!=typeof i){var s=i;null!=t&&void 0!==t[s]?r+=o+"{"+t[s]+"}":we(s)&&(r+=ke(o)+":"+Se(o,s)+";")}else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=xe(e,t,i);switch(o){case"animation":case"animationName":r+=ke(o)+":"+l+";";break;default:r+=o+"{"+l+"}"}}else for(var c=0;c<i.length;c++)we(i[c])&&(r+=ke(o)+":"+Se(o,i[c])+";")}return r}(e,t,n);case"function":if(void 0!==e){var s=Me,l=n(e);return Me=s,xe(e,t,l)}}var c=n;if(null==t)return c;var u=t[c];return void 0!==u?u:c}var Me,Ce=/label:\s*([^\s;{]+)\s*(;|$)/g;function Ee(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,a="";Me=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,a+=xe(n,t,o)):a+=o[0];for(var i=1;i<e.length;i++){if(a+=xe(n,t,e[i]),r)a+=o[i]}Ce.lastIndex=0;for(var s,l="";null!==(s=Ce.exec(a));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,a=e.length;a>=4;++r,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(a){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(a)+l;return{name:c,styles:a,next:Me}}var Pe=!!i.useInsertionEffect&&i.useInsertionEffect,Ae=Pe||function(e){return e()},Le=Pe||o.useLayoutEffect,ze=o.createContext("undefined"!=typeof HTMLElement?fe({key:"css"}):null),Ne=ze.Provider,Re=function(e){return(0,o.forwardRef)(function(t,n){var r=(0,o.useContext)(ze);return e(t,r,n)})},Oe=o.createContext({});var De={}.hasOwnProperty,Ie="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",je=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return me(t,n,r),Ae(function(){return ge(t,n,r)}),null},$e=Re(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var a=e[Ie],i=[r],s="";"string"==typeof e.className?s=he(t.registered,i,e.className):null!=e.className&&(s=e.className+" ");var l=Ee(i,void 0,o.useContext(Oe));s+=t.key+"-"+l.name;var c={};for(var u in e)De.call(e,u)&&"css"!==u&&u!==Ie&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),o.createElement(o.Fragment,null,o.createElement(je,{cache:t,serialized:l,isStringTag:"string"==typeof a}),o.createElement(a,c))});const Fe=function(e=null){const t=o.useContext(Oe);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n},Be=o.createContext();const Ue=function({value:e,...t}){return(0,u.jsx)(Be.Provider,{value:e??!0,...t})};function Ve(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=Ve(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const He=function(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=Ve(e))&&(r&&(r+=" "),r+=t);return r};function Ge(e,t,n=!1){const r={...t};for(const a in e)if(Object.prototype.hasOwnProperty.call(e,a)){const o=a;if("components"===o||"slots"===o)r[o]={...e[o],...r[o]};else if("componentsProps"===o||"slotProps"===o){const a=e[o],i=t[o];if(i)if(a){r[o]={...i};for(const e in a)if(Object.prototype.hasOwnProperty.call(a,e)){const t=e;r[o][t]=Ge(a[t],i[t],n)}}else r[o]=i;else r[o]=a||{}}else"className"===o&&n&&t.className?r.className=He(e?.className,t?.className):"style"===o&&n&&t.style?r.style={...e?.style,...t?.style}:void 0===r[o]&&(r[o]=e[o])}return r}const We=o.createContext(void 0);function qe({props:e,name:t}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const a=t.components[n];return a.defaultProps?Ge(a.defaultProps,r,t.components.mergeClassNameAndStyle):a.styleOverrides||a.variants?r:Ge(a,r,t.components.mergeClassNameAndStyle)}({props:e,name:t,theme:{components:o.useContext(We)}})}const Ke=function({value:e,children:t}){return(0,u.jsx)(We.Provider,{value:e,children:t})},Qe="undefined"!=typeof window?o.useLayoutEffect:o.useEffect;let Ye=0;const Je={...i}.useId;function Xe(e){if(void 0!==Je){const t=Je();return e??t}return function(e){const[t,n]=o.useState(e),r=e||t;return o.useEffect(()=>{null==t&&(Ye+=1,n(`mui-${Ye}`))},[t]),r}(e)}function Ze(){return Ze=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},Ze.apply(null,arguments)}var et=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,tt=ye(function(e){return et.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),nt=function(e){return"theme"!==e},rt=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?tt:nt},at=function(e,t,n){var r;if(t){var a=t.shouldForwardProp;r=e.__emotion_forwardProp&&a?function(t){return e.__emotion_forwardProp(t)&&a(t)}:a}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},ot=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return me(t,n,r),Ae(function(){return ge(t,n,r)}),null},it=function e(t,n){var r,a,i=t.__emotion_real===t,s=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,a=n.target);var l=at(t,n,i),c=l||rt(s),u=!c("as");return function(){var d=arguments,p=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&p.push("label:"+r+";"),null==d[0]||void 0===d[0].raw)p.push.apply(p,d);else{var f=d[0];p.push(f[0]);for(var h=d.length,m=1;m<h;m++)p.push(d[m],f[m])}var g=Re(function(e,t,n){var r=u&&e.as||s,i="",d=[],f=e;if(null==e.theme){for(var h in f={},e)f[h]=e[h];f.theme=o.useContext(Oe)}"string"==typeof e.className?i=he(t.registered,d,e.className):null!=e.className&&(i=e.className+" ");var m=Ee(p.concat(d),t.registered,f);i+=t.key+"-"+m.name,void 0!==a&&(i+=" "+a);var g=u&&void 0===l?rt(r):c,_={};for(var y in e)u&&"as"===y||g(y)&&(_[y]=e[y]);return _.className=i,n&&(_.ref=n),o.createElement(o.Fragment,null,o.createElement(ot,{cache:t,serialized:m,isStringTag:"string"==typeof r}),o.createElement(r,_))});return g.displayName=void 0!==r?r:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=s,g.__emotion_styles=p,g.__emotion_forwardProp=l,Object.defineProperty(g,"toString",{value:function(){return"."+a}}),g.withComponent=function(t,r){return e(t,Ze({},n,r,{shouldForwardProp:at(g,r,!0)})).apply(void 0,p)},g}}.bind(null);function st(e,t){return it(e,t)}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){it[e]=it(e)});const lt=[];function ct(e){return lt[0]=e,Ee(lt)}a(4146);var ut=function(e,t){var n=arguments;if(null==t||!De.call(t,"css"))return o.createElement.apply(void 0,n);var r=n.length,a=new Array(r);a[0]=$e,a[1]=function(e,t){var n={};for(var r in t)De.call(t,r)&&(n[r]=t[r]);return n[Ie]=e,n}(e,t);for(var i=2;i<r;i++)a[i]=n[i];return o.createElement.apply(null,a)};!function(e){var t;t||(t=e.JSX||(e.JSX={}))}(ut||(ut={}));var dt=Re(function(e,t){var n=Ee([e.styles],void 0,o.useContext(Oe)),r=o.useRef();return Le(function(){var e=t.key+"-global",a=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,i=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),null!==i&&(o=!0,i.setAttribute("data-emotion",e),a.hydrate([i])),r.current=[a,o],function(){a.flush()}},[t]),Le(function(){var e=r.current,a=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&ge(t,n.next,!0),a.tags.length){var o=a.tags[a.tags.length-1].nextElementSibling;a.before=o,a.flush()}t.insert("",n,a,!1)}},[t,n.name]),null});function pt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ee(t)}function ft(){var e=pt.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function ht(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return(0,u.jsx)(dt,{styles:r})}var mt=a(4405);function gt(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function _t(e){if(o.isValidElement(e)||(0,mt.Hy)(e)||!gt(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=_t(e[n])}),t}function yt(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return gt(e)&&gt(t)&&Object.keys(t).forEach(a=>{o.isValidElement(t[a])||(0,mt.Hy)(t[a])?r[a]=t[a]:gt(t[a])&&Object.prototype.hasOwnProperty.call(e,a)&&gt(e[a])?r[a]=yt(e[a],t[a],n):n.clone?r[a]=gt(t[a])?_t(t[a]):t[a]:r[a]=t[a]}),r}function vt(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...a}=e,o=(e=>{const t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})})(t),i=Object.keys(o);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function c(e,a){const o=i.indexOf(a);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==o&&"number"==typeof t[i[o]]?t[i[o]]:a)-r/100}${n})`}return{keys:i,values:o,up:s,down:l,between:c,only:function(e){return i.indexOf(e)+1<i.length?c(e,i[i.indexOf(e)+1]):s(e)},not:function(e){const t=i.indexOf(e);return 0===t?s(i[1]):t===i.length-1?l(i[t]):c(e,i[i.indexOf(e)+1]).replace("@media","@media not all and")},unit:n,...a}}function bt(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(e=>e.startsWith("@container")).sort((e,t)=>{const n=/min-width:\s*([0-9.]+)/;return+(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)});return n.length?n.reduce((e,n)=>{const r=t[n];return delete e[n],e[n]=r,e},{...t}):t}const Tt={borderRadius:4},wt={xs:0,sm:600,md:900,lg:1200,xl:1536},kt={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${wt[e]}px)`},St={containerQueries:e=>({up:t=>{let n="number"==typeof t?t:wt[t]||t;return"number"==typeof n&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function xt(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||kt;return t.reduce((r,a,o)=>(r[e.up(e.keys[o])]=n(t[o]),r),{})}if("object"==typeof t){const e=r.breakpoints||kt;return Object.keys(t).reduce((a,o)=>{if(function(e,t){return"@"===t||t.startsWith("@")&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}(e.keys,o)){const e=function(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,a]=n,o=Number.isNaN(+r)?r||0:+r;return e.containerQueries(a).up(o)}(r.containerQueries?r:St,o);e&&(a[e]=n(t[o],o))}else if(Object.keys(e.values||wt).includes(o)){a[e.up(o)]=n(t[o],o)}else{const e=o;a[e]=t[e]}return a},{})}return n(t)}function Mt(e={}){const t=e.keys?.reduce((t,n)=>(t[e.up(n)]={},t),{});return t||{}}function Ct(e,t){return e.reduce((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e},t)}function Et(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append("args[]",e)),`Minified MUI error #${e}; visit ${n} for the full message.`}function Pt(e){if("string"!=typeof e)throw new Error(Et(7));return e.charAt(0).toUpperCase()+e.slice(1)}function At(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=n)return n}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function Lt(e,t,n,r=n){let a;return a="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:At(e,n)||r,t&&(a=t(a,r,e)),a}const zt=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:a}=e,o=e=>{if(null==e[t])return null;const o=e[t],i=At(e.theme,r)||{};return xt(e,o,e=>{let r=Lt(i,a,e);return e===r&&"string"==typeof e&&(r=Lt(i,a,`${t}${"default"===e?"":Pt(e)}`,e)),!1===n?r:{[n]:r}})};return o.propTypes={},o.filterProps=[t],o};const Nt=function(e,t){return t?yt(e,t,{clone:!1}):e};const Rt={m:"margin",p:"padding"},Ot={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Dt={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},It=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}(e=>{if(e.length>2){if(!Dt[e])return[e];e=Dt[e]}const[t,n]=e.split(""),r=Rt[t],a=Ot[n]||"";return Array.isArray(a)?a.map(e=>r+e):[r+a]}),jt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],$t=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Ft=[...jt,...$t];function Bt(e,t,n,r){const a=At(e,t,!0)??n;return"number"==typeof a||"string"==typeof a?e=>"string"==typeof e?e:"string"==typeof a?a.startsWith("var(")&&0===e?0:a.startsWith("var(")&&1===e?a:`calc(${e} * ${a})`:a*e:Array.isArray(a)?e=>{if("string"==typeof e)return e;const t=Math.abs(e);const n=a[t];return e>=0?n:"number"==typeof n?-n:"string"==typeof n&&n.startsWith("var(")?`calc(-1 * ${n})`:`-${n}`}:"function"==typeof a?a:()=>{}}function Ut(e){return Bt(e,"spacing",8)}function Vt(e,t){return"string"==typeof t||null==t?t:e(t)}function Ht(e,t,n,r){if(!t.includes(n))return null;const a=function(e,t){return n=>e.reduce((e,r)=>(e[r]=Vt(t,n),e),{})}(It(n),r);return xt(e,e[n],a)}function Gt(e,t){const n=Ut(e.theme);return Object.keys(e).map(r=>Ht(e,t,r,n)).reduce(Nt,{})}function Wt(e){return Gt(e,jt)}function qt(e){return Gt(e,$t)}function Kt(e){return Gt(e,Ft)}Wt.propTypes={},Wt.filterProps=jt,qt.propTypes={},qt.filterProps=$t,Kt.propTypes={},Kt.filterProps=Ft;function Qt(e=8,t=Ut({spacing:e})){if(e.mui)return e;const n=(...e)=>{return(0===e.length?[1]:e).map(e=>{const n=t(e);return"number"==typeof n?`${n}px`:n}).join(" ")};return n.mui=!0,n}const Yt=function(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?Nt(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n};function Jt(e){return"number"!=typeof e?e:`${e}px solid`}function Xt(e,t){return zt({prop:e,themeKey:"borders",transform:t})}const Zt=Xt("border",Jt),en=Xt("borderTop",Jt),tn=Xt("borderRight",Jt),nn=Xt("borderBottom",Jt),rn=Xt("borderLeft",Jt),an=Xt("borderColor"),on=Xt("borderTopColor"),sn=Xt("borderRightColor"),ln=Xt("borderBottomColor"),cn=Xt("borderLeftColor"),un=Xt("outline",Jt),dn=Xt("outlineColor"),pn=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Bt(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:Vt(t,e)});return xt(e,e.borderRadius,n)}return null};pn.propTypes={},pn.filterProps=["borderRadius"];Yt(Zt,en,tn,nn,rn,an,on,sn,ln,cn,pn,un,dn);const fn=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Bt(e.theme,"spacing",8),n=e=>({gap:Vt(t,e)});return xt(e,e.gap,n)}return null};fn.propTypes={},fn.filterProps=["gap"];const hn=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Bt(e.theme,"spacing",8),n=e=>({columnGap:Vt(t,e)});return xt(e,e.columnGap,n)}return null};hn.propTypes={},hn.filterProps=["columnGap"];const mn=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Bt(e.theme,"spacing",8),n=e=>({rowGap:Vt(t,e)});return xt(e,e.rowGap,n)}return null};mn.propTypes={},mn.filterProps=["rowGap"];Yt(fn,hn,mn,zt({prop:"gridColumn"}),zt({prop:"gridRow"}),zt({prop:"gridAutoFlow"}),zt({prop:"gridAutoColumns"}),zt({prop:"gridAutoRows"}),zt({prop:"gridTemplateColumns"}),zt({prop:"gridTemplateRows"}),zt({prop:"gridTemplateAreas"}),zt({prop:"gridArea"}));function gn(e,t){return"grey"===t?t:e}Yt(zt({prop:"color",themeKey:"palette",transform:gn}),zt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:gn}),zt({prop:"backgroundColor",themeKey:"palette",transform:gn}));function _n(e){return e<=1&&0!==e?100*e+"%":e}const yn=zt({prop:"width",transform:_n}),vn=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{const n=e.theme?.breakpoints?.values?.[t]||wt[t];return n?"px"!==e.theme?.breakpoints?.unit?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:_n(t)}};return xt(e,e.maxWidth,t)}return null};vn.filterProps=["maxWidth"];const bn=zt({prop:"minWidth",transform:_n}),Tn=zt({prop:"height",transform:_n}),wn=zt({prop:"maxHeight",transform:_n}),kn=zt({prop:"minHeight",transform:_n}),Sn=(zt({prop:"size",cssProperty:"width",transform:_n}),zt({prop:"size",cssProperty:"height",transform:_n}),Yt(yn,vn,bn,Tn,wn,kn,zt({prop:"boxSizing"})),{border:{themeKey:"borders",transform:Jt},borderTop:{themeKey:"borders",transform:Jt},borderRight:{themeKey:"borders",transform:Jt},borderBottom:{themeKey:"borders",transform:Jt},borderLeft:{themeKey:"borders",transform:Jt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Jt},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:pn},color:{themeKey:"palette",transform:gn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:gn},backgroundColor:{themeKey:"palette",transform:gn},p:{style:qt},pt:{style:qt},pr:{style:qt},pb:{style:qt},pl:{style:qt},px:{style:qt},py:{style:qt},padding:{style:qt},paddingTop:{style:qt},paddingRight:{style:qt},paddingBottom:{style:qt},paddingLeft:{style:qt},paddingX:{style:qt},paddingY:{style:qt},paddingInline:{style:qt},paddingInlineStart:{style:qt},paddingInlineEnd:{style:qt},paddingBlock:{style:qt},paddingBlockStart:{style:qt},paddingBlockEnd:{style:qt},m:{style:Wt},mt:{style:Wt},mr:{style:Wt},mb:{style:Wt},ml:{style:Wt},mx:{style:Wt},my:{style:Wt},margin:{style:Wt},marginTop:{style:Wt},marginRight:{style:Wt},marginBottom:{style:Wt},marginLeft:{style:Wt},marginX:{style:Wt},marginY:{style:Wt},marginInline:{style:Wt},marginInlineStart:{style:Wt},marginInlineEnd:{style:Wt},marginBlock:{style:Wt},marginBlockStart:{style:Wt},marginBlockEnd:{style:Wt},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:fn},rowGap:{style:mn},columnGap:{style:hn},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:_n},maxWidth:{style:vn},minWidth:{transform:_n},height:{transform:_n},maxHeight:{transform:_n},minHeight:{transform:_n},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}});const xn=function(){function e(e,t,n,r){const a={[e]:t,theme:n},o=r[e];if(!o)return{[e]:t};const{cssProperty:i=e,themeKey:s,transform:l,style:c}=o;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const u=At(n,s)||{};if(c)return c(a);return xt(a,t,t=>{let n=Lt(u,l,t);return t===n&&"string"==typeof t&&(n=Lt(u,l,`${e}${"default"===t?"":Pt(t)}`,t)),!1===i?n:{[i]:n}})}return function t(n){const{sx:r,theme:a={},nested:o}=n||{};if(!r)return null;const i=a.unstable_sxConfig??Sn;function s(n){let r=n;if("function"==typeof n)r=n(a);else if("object"!=typeof n)return n;if(!r)return null;const s=Mt(a.breakpoints),l=Object.keys(s);let c=s;return Object.keys(r).forEach(n=>{const o=function(e,t){return"function"==typeof e?e(t):e}(r[n],a);if(null!=o)if("object"==typeof o)if(i[n])c=Nt(c,e(n,o,a,i));else{const e=xt({theme:a},o,e=>({[n]:e}));!function(...e){const t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}(e,o)?c=Nt(c,e):c[n]=t({sx:o,theme:a,nested:!0})}else c=Nt(c,e(n,o,a,i))}),!o&&a.modularCssLayers?{"@layer sx":bt(a,Ct(l,c))}:bt(a,Ct(l,c))}return Array.isArray(r)?r.map(s):s(r)}}();xn.filterProps=["sx"];const Mn=xn;function Cn(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||"function"!=typeof n.getColorSchemeSelector)return{};let r=n.getColorSchemeSelector(e);return"&"===r?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return n.palette.mode===e?t:{}}const En=function(e={},...t){const{breakpoints:n={},palette:r={},spacing:a,shape:o={},...i}=e;let s=yt({breakpoints:vt(n),direction:"ltr",components:{},palette:{mode:"light",...r},spacing:Qt(a),shape:{...Tt,...o}},i);return s=function(e){const t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{const a=t(e.breakpoints.not(...n),r);return a.includes("not all and")?a.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):a}}const r={},a=e=>(n(r,e),r);return n(a),{...e,containerQueries:a}}(s),s.applyStyles=Cn,s=t.reduce((e,t)=>yt(e,t),s),s.unstable_sxConfig={...Sn,...i?.unstable_sxConfig},s.unstable_sx=function(e){return Mn({sx:e,theme:this})},s},Pn=En();const An=function(e=Pn){return Fe(e)};function Ln(e){const t=ct(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}const zn=function({styles:e,themeId:t,defaultTheme:n={}}){const r=An(n),a=t&&r[t]||r;let o="function"==typeof e?e(a):e;return a.modularCssLayers&&(o=Array.isArray(o)?o.map(e=>Ln("function"==typeof e?e(a):e)):Ln(o)),(0,u.jsx)(ht,{styles:o})};const Nn={};function Rn(e,t,n,r=!1){return o.useMemo(()=>{const a=e&&t[e]||t;if("function"==typeof n){const o=n(a),i=e?{...t,[e]:o}:o;return r?()=>i:i}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}const On=function(e){const{children:t,theme:n,themeId:r}=e,a=Fe(Nn),o=l()||Nn,i=Rn(r,a,n),s=Rn(r,o,n,!0),c="rtl"===(r?i[r]:i).direction,p=function(e){const t=Fe(),n=Xe()||"",{modularCssLayers:r}=e;let a="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return a=r&&null===t?"string"==typeof r?r.replace(/mui(?!\.)/g,a):`@layer ${a};`:"",Qe(()=>{const e=document.querySelector("head");if(!e)return;const t=e.firstChild;if(a){if(t&&t.hasAttribute?.("data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===n)return;const r=document.createElement("style");r.setAttribute("data-mui-layer-order",n),r.textContent=a,e.prepend(r)}else e.querySelector(`style[data-mui-layer-order="${n}"]`)?.remove()},[a,n]),a?(0,u.jsx)(zn,{styles:a}):null}(i);return(0,u.jsx)(d,{theme:s,children:(0,u.jsx)(Oe.Provider,{value:i,children:(0,u.jsx)(Ue,{value:c,children:(0,u.jsxs)(Ke,{value:r?i[r].components:i.components,children:[p,t]})})})})},Dn="$$material";function In({theme:e,...t}){const n=Dn in e?e[Dn]:void 0;return(0,u.jsx)(On,{...t,themeId:n?Dn:void 0,theme:n||e})}const jn="mode",$n="color-scheme",Fn="data-color-scheme";function Bn(){}const Un=({key:e,storageWindow:t})=>(t||"undefined"==typeof window||(t=window),{get(n){if("undefined"==typeof window)return;if(!t)return n;let r;try{r=t.localStorage.getItem(e)}catch{}return r||n},set:n=>{if(t)try{t.localStorage.setItem(e,n)}catch{}},subscribe:n=>{if(!t)return Bn;const r=t=>{const r=t.newValue;t.key===e&&n(r)};return t.addEventListener("storage",r),()=>{t.removeEventListener("storage",r)}}});function Vn(){}function Hn(e){if("undefined"!=typeof window&&"function"==typeof window.matchMedia&&"system"===e){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}}function Gn(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function Wn(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:a=[],modeStorageKey:i=jn,colorSchemeStorageKey:s=$n,storageWindow:l=("undefined"==typeof window?void 0:window),storageManager:c=Un,noSsr:u=!1}=e,d=a.join(","),p=a.length>1,f=o.useMemo(()=>c?.({key:i,storageWindow:l}),[c,i,l]),h=o.useMemo(()=>c?.({key:`${s}-light`,storageWindow:l}),[c,s,l]),m=o.useMemo(()=>c?.({key:`${s}-dark`,storageWindow:l}),[c,s,l]),[g,_]=o.useState(()=>{const e=f?.get(t)||t,a=h?.get(n)||n,o=m?.get(r)||r;return{mode:e,systemMode:Hn(e),lightColorScheme:a,darkColorScheme:o}}),[y,v]=o.useState(u||!p);o.useEffect(()=>{v(!0)},[]);const b=function(e){return Gn(e,t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0)}(g),T=o.useCallback(e=>{_(n=>{if(e===n.mode)return n;const r=e??t;return f?.set(r),{...n,mode:r,systemMode:Hn(r)}})},[f,t]),w=o.useCallback(e=>{e?"string"==typeof e?e&&!d.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):_(t=>{const n={...t};return Gn(t,t=>{"light"===t&&(h?.set(e),n.lightColorScheme=e),"dark"===t&&(m?.set(e),n.darkColorScheme=e)}),n}):_(t=>{const a={...t},o=null===e.light?n:e.light,i=null===e.dark?r:e.dark;return o&&(d.includes(o)?(a.lightColorScheme=o,h?.set(o)):console.error(`\`${o}\` does not exist in \`theme.colorSchemes\`.`)),i&&(d.includes(i)?(a.darkColorScheme=i,m?.set(i)):console.error(`\`${i}\` does not exist in \`theme.colorSchemes\`.`)),a}):_(e=>(h?.set(n),m?.set(r),{...e,lightColorScheme:n,darkColorScheme:r}))},[d,h,m,n,r]),k=o.useCallback(e=>{"system"===g.mode&&_(t=>{const n=e?.matches?"dark":"light";return t.systemMode===n?t:{...t,systemMode:n}})},[g.mode]),S=o.useRef(k);return S.current=k,o.useEffect(()=>{if("function"!=typeof window.matchMedia||!p)return;const e=(...e)=>S.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>{t.removeListener(e)}},[p]),o.useEffect(()=>{if(p){const e=f?.subscribe(e=>{e&&!["light","dark","system"].includes(e)||T(e||t)})||Vn,n=h?.subscribe(e=>{e&&!d.match(e)||w({light:e})})||Vn,r=m?.subscribe(e=>{e&&!d.match(e)||w({dark:e})})||Vn;return()=>{e(),n(),r()}}},[w,T,d,t,l,p,f,h,m]),{...g,mode:y?g.mode:void 0,systemMode:y?g.systemMode:void 0,colorScheme:y?b:void 0,setMode:T,setColorScheme:w}}const qn=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))};function Kn(e,t=0,n=1){return qn(e,t,n)}function Qn(e){if(e.type)return e;if("#"===e.charAt(0))return Qn(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(Et(9,e));let r,a=e.substring(t+1,e.length-1);if("color"===n){if(a=a.split(" "),r=a.shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(r))throw new Error(Et(10,r))}else a=a.split(",");return a=a.map(e=>parseFloat(e)),{type:n,values:a,colorSpace:r}}const Yn=(e,t)=>{try{return(e=>{const t=Qn(e);return t.values.slice(0,3).map((e,n)=>t.type.includes("hsl")&&0!==n?`${e}%`:e).join(" ")})(e)}catch(t){return e}};function Jn(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function Xn(e){e=Qn(e);const{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,o=r*Math.min(a,1-a),i=(e,t=(e+n/30)%12)=>a-o*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),Jn({type:s,values:l})}function Zn(e){let t="hsl"===(e=Qn(e)).type||"hsla"===e.type?Qn(Xn(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function er(e,t){return e=Qn(e),t=Kn(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,Jn(e)}function tr(e,t,n){try{return er(e,t)}catch(t){return e}}function nr(e,t){if(e=Qn(e),t=Kn(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Jn(e)}function rr(e,t,n){try{return nr(e,t)}catch(t){return e}}function ar(e,t){if(e=Qn(e),t=Kn(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Jn(e)}function or(e,t,n){try{return ar(e,t)}catch(t){return e}}function ir(e,t,n){try{return function(e,t=.15){return Zn(e)>.5?nr(e,t):ar(e,t)}(e,t)}catch(t){return e}}const sr={black:"#000",white:"#fff"},lr={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},cr={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},ur={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},dr={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},pr={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},fr={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},hr={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function mr(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:sr.white,default:sr.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const gr=mr();function _r(){return{text:{primary:sr.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:sr.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const yr=_r();function vr(e,t,n,r){const a=r.light||r,o=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=ar(e.main,a):"dark"===t&&(e.dark=nr(e.main,o)))}function br(e,t,n,r,a){const o=a.light||a,i=a.dark||1.5*a;t[n]||(t.hasOwnProperty(r)?t[n]=t[r]:"light"===n?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(100*o).toFixed(0)}%)`:"dark"===n&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(100*i).toFixed(0)}%)`))}function Tr(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:a,...o}=e,i=e.primary||function(e="light"){return"dark"===e?{main:pr[200],light:pr[50],dark:pr[400]}:{main:pr[700],light:pr[400],dark:pr[800]}}(t),s=e.secondary||function(e="light"){return"dark"===e?{main:cr[200],light:cr[50],dark:cr[400]}:{main:cr[500],light:cr[300],dark:cr[700]}}(t),l=e.error||function(e="light"){return"dark"===e?{main:ur[500],light:ur[300],dark:ur[700]}:{main:ur[700],light:ur[400],dark:ur[800]}}(t),c=e.info||function(e="light"){return"dark"===e?{main:fr[400],light:fr[300],dark:fr[700]}:{main:fr[700],light:fr[500],dark:fr[900]}}(t),u=e.success||function(e="light"){return"dark"===e?{main:hr[400],light:hr[300],dark:hr[700]}:{main:hr[800],light:hr[500],dark:hr[900]}}(t),d=e.warning||function(e="light"){return"dark"===e?{main:dr[400],light:dr[300],dark:dr[700]}:{main:"#ed6c02",light:dr[500],dark:dr[900]}}(t);function p(e){if(a)return function(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}(e);const t=function(e,t){const n=Zn(e),r=Zn(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,yr.text.primary)>=n?yr.text.primary:gr.text.primary;return t}const f=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:i=700})=>{if(!(e={...e}).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(Et(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(Et(12,t?` (${t})`:"",JSON.stringify(e.main)));return a?(br(a,e,"light",o,r),br(a,e,"dark",i,r)):(vr(e,"light",o,r),vr(e,"dark",i,r)),e.contrastText||(e.contrastText=p(e.main)),e};let h;"light"===t?h=mr():"dark"===t&&(h=_r());return yt({common:{...sr},mode:t,primary:f({color:i,name:"primary"}),secondary:f({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:l,name:"error"}),warning:f({color:d,name:"warning"}),info:f({color:c,name:"info"}),success:f({color:u,name:"success"}),grey:lr,contrastThreshold:n,getContrastText:p,augmentColor:f,tonalOffset:r,...h},o)}function wr(e=""){function t(...n){if(!n.length)return"";const r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...n.slice(1))})`}return(n,...r)=>`var(--${e?`${e}-`:""}${n}${t(...r)})`}function kr(e){const t={};return Object.entries(e).forEach(e=>{const[n,r]=e;"object"==typeof r&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:""}${r.fontVariant?`${r.fontVariant} `:""}${r.fontWeight?`${r.fontWeight} `:""}${r.fontStretch?`${r.fontStretch} `:""}${r.fontSize||""}${r.lineHeight?`/${r.lineHeight} `:""}${r.fontFamily||""}`)}),t}const Sr=(e,t,n,r=[])=>{let a=e;t.forEach((e,o)=>{o===t.length-1?Array.isArray(a)?a[Number(e)]=n:a&&"object"==typeof a&&(a[e]=n):a&&"object"==typeof a&&(a[e]||(a[e]=r.includes(e)?[]:{}),a=a[e])})};function xr(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},a={},o={},i={};var s,l;return s=(e,t,s)=>{if(!("string"!=typeof t&&"number"!=typeof t||r&&r(e,t))){const r=`--${n?`${n}-`:""}${e.join("-")}`,l=((e,t)=>"number"==typeof t?["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t)(e,t);Object.assign(a,{[r]:l}),Sr(o,e,`var(${r})`,s),Sr(i,e,`var(${r}, ${l})`,s)}},l=e=>"vars"===e[0],function e(t,n=[],r=[]){Object.entries(t).forEach(([t,a])=>{(!l||l&&!l([...n,t]))&&null!=a&&("object"==typeof a&&Object.keys(a).length>0?e(a,[...n,t],Array.isArray(a)?[...r,t]:r):s([...n,t],a,r))})}(e),{css:a,vars:o,varsWithDefaults:i}}const Mr=function(e,t={}){const{getSelector:n=_,disableCssColorScheme:r,colorSchemeSelector:a,enableContrastVars:o}=t,{colorSchemes:i={},components:s,defaultColorScheme:l="light",...c}=e,{vars:u,css:d,varsWithDefaults:p}=xr(c,t);let f=p;const h={},{[l]:m,...g}=i;if(Object.entries(g||{}).forEach(([e,n])=>{const{vars:r,css:a,varsWithDefaults:o}=xr(n,t);f=yt(f,o),h[e]={css:a,vars:r}}),m){const{css:e,vars:n,varsWithDefaults:r}=xr(m,t);f=yt(f,r),h[l]={css:e,vars:n}}function _(t,n){let r=a;if("class"===a&&(r=".%s"),"data"===a&&(r="[data-%s]"),a?.startsWith("data-")&&!a.includes("%s")&&(r=`[${a}="%s"]`),t){if("media"===r){if(e.defaultColorScheme===t)return":root";const r=i[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${r})`]:{":root":n}}}if(r)return e.defaultColorScheme===t?`:root, ${r.replace("%s",String(t))}`:r.replace("%s",String(t))}return":root"}return{vars:f,generateThemeVars:()=>{let e={...u};return Object.entries(h).forEach(([,{vars:t}])=>{e=yt(e,t)}),e},generateStyleSheets:()=>{const t=[],a=e.defaultColorScheme||"light";function s(e,n){Object.keys(n).length&&t.push("string"==typeof e?{[e]:{...n}}:e)}s(n(void 0,{...d}),d);const{[a]:l,...c}=h;if(l){const{css:e}=l,t=i[a]?.palette?.mode,o=!r&&t?{colorScheme:t,...e}:{...e};s(n(a,{...o}),o)}return Object.entries(c).forEach(([e,{css:t}])=>{const a=i[e]?.palette?.mode,o=!r&&a?{colorScheme:a,...t}:{...t};s(n(e,{...o}),o)}),o&&t.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),t}}};function Cr(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}const Er={textTransform:"uppercase"},Pr='"Roboto", "Helvetica", "Arial", sans-serif';function Ar(e,t){const{fontFamily:n=Pr,fontSize:r=14,fontWeightLight:a=300,fontWeightRegular:o=400,fontWeightMedium:i=500,fontWeightBold:s=700,htmlFontSize:l=16,allVariants:c,pxToRem:u,...d}="function"==typeof t?t(e):t;const p=r/14,f=u||(e=>e/l*p+"rem"),h=(e,t,r,a,o)=>{return{fontFamily:n,fontWeight:e,fontSize:f(t),lineHeight:r,...n===Pr?{letterSpacing:(i=a/t,Math.round(1e5*i)/1e5)+"em"}:{},...o,...c};var i},m={h1:h(a,96,1.167,-1.5),h2:h(a,60,1.2,-.5),h3:h(o,48,1.167,0),h4:h(o,34,1.235,.25),h5:h(o,24,1.334,0),h6:h(i,20,1.6,.15),subtitle1:h(o,16,1.75,.15),subtitle2:h(i,14,1.57,.1),body1:h(o,16,1.5,.15),body2:h(o,14,1.43,.15),button:h(i,14,1.75,.4,Er),caption:h(o,12,1.66,.4),overline:h(o,12,2.66,1,Er),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return yt({htmlFontSize:l,pxToRem:f,fontFamily:n,fontSize:r,fontWeightLight:a,fontWeightRegular:o,fontWeightMedium:i,fontWeightBold:s,...m},d,{clone:!1})}function Lr(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const zr=["none",Lr(0,2,1,-1,0,1,1,0,0,1,3,0),Lr(0,3,1,-2,0,2,2,0,0,1,5,0),Lr(0,3,3,-2,0,3,4,0,0,1,8,0),Lr(0,2,4,-1,0,4,5,0,0,1,10,0),Lr(0,3,5,-1,0,5,8,0,0,1,14,0),Lr(0,3,5,-1,0,6,10,0,0,1,18,0),Lr(0,4,5,-2,0,7,10,1,0,2,16,1),Lr(0,5,5,-3,0,8,10,1,0,3,14,2),Lr(0,5,6,-3,0,9,12,1,0,3,16,2),Lr(0,6,6,-3,0,10,14,1,0,4,18,3),Lr(0,6,7,-4,0,11,15,1,0,4,20,3),Lr(0,7,8,-4,0,12,17,2,0,5,22,4),Lr(0,7,8,-4,0,13,19,2,0,5,24,4),Lr(0,7,9,-4,0,14,21,2,0,5,26,4),Lr(0,8,9,-5,0,15,22,2,0,6,28,5),Lr(0,8,10,-5,0,16,24,2,0,6,30,5),Lr(0,8,11,-5,0,17,26,2,0,6,32,5),Lr(0,9,11,-5,0,18,28,2,0,7,34,6),Lr(0,9,12,-6,0,19,29,2,0,7,36,6),Lr(0,10,13,-6,0,20,31,3,0,8,38,7),Lr(0,10,13,-6,0,21,33,3,0,8,40,7),Lr(0,10,14,-6,0,22,35,3,0,8,42,7),Lr(0,11,14,-7,0,23,36,3,0,9,44,8),Lr(0,11,15,-7,0,24,38,3,0,9,46,8)],Nr={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Rr={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Or(e){return`${Math.round(e)}ms`}function Dr(e){if(!e)return 0;const t=e/36;return Math.min(Math.round(10*(4+15*t**.25+t/5)),3e3)}function Ir(e){const t={...Nr,...e.easing},n={...Rr,...e.duration};return{getAutoHeightDuration:Dr,create:(e=["all"],r={})=>{const{duration:a=n.standard,easing:o=t.easeInOut,delay:i=0,...s}=r;return(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof a?a:Or(a)} ${o} ${"string"==typeof i?i:Or(i)}`).join(",")},...e,easing:t,duration:n}}const jr={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function $r(e){return gt(e)||void 0===e||"string"==typeof e||"boolean"==typeof e||"number"==typeof e||Array.isArray(e)}function Fr(e={}){const t={...e};return function e(t){const n=Object.entries(t);for(let r=0;r<n.length;r++){const[a,o]=n[r];!$r(o)||a.startsWith("unstable_")?delete t[a]:gt(o)&&(t[a]={...o},e(t[a]))}}(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ${JSON.stringify(t,null,2)};\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;`}function Br(e){return"number"==typeof e?`${(100*e).toFixed(0)}%`:`calc((${e}) * 100%)`}function Ur(e){Object.assign(e,{alpha(t,n){const r=this||e;return r.colorSpace?`oklch(from ${t} l c h / ${"string"==typeof n?`calc(${n})`:n})`:r.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${"string"==typeof n?`calc(${n})`:n})`:er(t,(e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let n=0;for(let e=0;e<t.length;e+=1)n+=+t[e];return n})(n))},lighten(t,n){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${Br(n)})`:ar(t,n)},darken(t,n){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${Br(n)})`:nr(t,n)}})}const Vr=function(e={},...t){const{breakpoints:n,mixins:r={},spacing:a,palette:o={},transitions:i={},typography:s={},shape:l,colorSpace:c,...u}=e;if(e.vars&&void 0===e.generateThemeVars)throw new Error(Et(20));const d=Tr({...o,colorSpace:c}),p=En(e);let f=yt(p,{mixins:Cr(p.breakpoints,r),palette:d,shadows:zr.slice(),typography:Ar(d,s),transitions:Ir(i),zIndex:{...jr}});return f=yt(f,u),f=t.reduce((e,t)=>yt(e,t),f),f.unstable_sxConfig={...Sn,...u?.unstable_sxConfig},f.unstable_sx=function(e){return Mn({sx:e,theme:this})},f.toRuntimeSource=Fr,Ur(f),f};function Hr(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(10*t)/1e3}const Gr=[...Array(25)].map((e,t)=>{if(0===t)return"none";const n=Hr(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Wr(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function qr(e){return"dark"===e?Gr:[]}function Kr(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const Qr=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Yr=e=>(t,n)=>{const r=e.rootSelector||":root",a=e.colorSchemeSelector;let o=a;if("class"===a&&(o=".%s"),"data"===a&&(o="[data-%s]"),a?.startsWith("data-")&&!a.includes("%s")&&(o=`[${a}="%s"]`),e.defaultColorScheme===t){if("dark"===t){const a={};return Qr(e.cssVarPrefix).forEach(e=>{a[e]=n[e],delete n[e]}),"media"===o?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:a}}:o?{[o.replace("%s",t)]:a,[`${r}, ${o.replace("%s",t)}`]:n}:{[r]:{...n,...a}}}if(o&&"media"!==o)return`${r}, ${o.replace("%s",String(t))}`}else if(t){if("media"===o)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(o)return o.replace("%s",String(t))}return r};function Jr(e,t,n){!e[t]&&n&&(e[t]=n)}function Xr(e){return"string"==typeof e&&e.startsWith("hsl")?Xn(e):e}function Zr(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Yn(Xr(e[t])))}const ea=e=>{try{return e()}catch(e){}};function ta(e,t,n,r,a){if(!n)return;n=!0===n?{}:n;const o="dark"===a?"dark":"light";if(!r)return void(t[a]=function(e){const{palette:t={mode:"light"},opacity:n,overlays:r,colorSpace:a,...o}=e,i=Tr({...t,colorSpace:a});return{palette:i,opacity:{...Wr(i.mode),...n},overlays:r||qr(i.mode),...o}}({...n,palette:{mode:o,...n?.palette},colorSpace:e}));const{palette:i,...s}=Vr({...r,palette:{mode:o,...n?.palette},colorSpace:e});return t[a]={...n,palette:i,opacity:{...Wr(o),...n?.opacity},overlays:n?.overlays||qr(o)},s}function na(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:a=!1,cssVarPrefix:o="mui",nativeColor:i=!1,shouldSkipGeneratingVar:s=Kr,colorSchemeSelector:l=(n.light&&n.dark?"media":void 0),rootSelector:c=":root",...u}=e,d=Object.keys(n)[0],p=r||(n.light&&"light"!==d?"light":d),f=((e="mui")=>wr(e))(o),{[p]:h,light:m,dark:g,..._}=n,y={..._};let v,b=h;if(("dark"===p&&!("dark"in n)||"light"===p&&!("light"in n))&&(b=!0),!b)throw new Error(Et(21,p));i&&(v="oklch");const T=ta(v,y,b,u,p);m&&!y.light&&ta(v,y,m,void 0,"light"),g&&!y.dark&&ta(v,y,g,void 0,"dark");let w={defaultColorScheme:p,...T,cssVarPrefix:o,colorSchemeSelector:l,rootSelector:c,getCssVar:f,colorSchemes:y,font:{...kr(T.typography),...T.font},spacing:(k=u.spacing,"number"==typeof k?`${k}px`:"string"==typeof k||"function"==typeof k||Array.isArray(k)?k:"8px")};var k;Object.keys(w.colorSchemes).forEach(e=>{const t=w.colorSchemes[e].palette,n=e=>{const n=e.split("-"),r=n[1],a=n[2];return f(e,t[r][a])};function r(e,t,n){if(v){let r;return e===tr&&(r=`transparent ${(100*(1-n)).toFixed(0)}%`),e===rr&&(r=`#000 ${(100*n).toFixed(0)}%`),e===or&&(r=`#fff ${(100*n).toFixed(0)}%`),`color-mix(in ${v}, ${t}, ${r})`}return e(t,n)}var a;if("light"===t.mode&&(Jr(t.common,"background","#fff"),Jr(t.common,"onBackground","#000")),"dark"===t.mode&&(Jr(t.common,"background","#000"),Jr(t.common,"onBackground","#fff")),a=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach(e=>{a[e]||(a[e]={})}),"light"===t.mode){Jr(t.Alert,"errorColor",r(rr,t.error.light,.6)),Jr(t.Alert,"infoColor",r(rr,t.info.light,.6)),Jr(t.Alert,"successColor",r(rr,t.success.light,.6)),Jr(t.Alert,"warningColor",r(rr,t.warning.light,.6)),Jr(t.Alert,"errorFilledBg",n("palette-error-main")),Jr(t.Alert,"infoFilledBg",n("palette-info-main")),Jr(t.Alert,"successFilledBg",n("palette-success-main")),Jr(t.Alert,"warningFilledBg",n("palette-warning-main")),Jr(t.Alert,"errorFilledColor",ea(()=>t.getContrastText(t.error.main))),Jr(t.Alert,"infoFilledColor",ea(()=>t.getContrastText(t.info.main))),Jr(t.Alert,"successFilledColor",ea(()=>t.getContrastText(t.success.main))),Jr(t.Alert,"warningFilledColor",ea(()=>t.getContrastText(t.warning.main))),Jr(t.Alert,"errorStandardBg",r(or,t.error.light,.9)),Jr(t.Alert,"infoStandardBg",r(or,t.info.light,.9)),Jr(t.Alert,"successStandardBg",r(or,t.success.light,.9)),Jr(t.Alert,"warningStandardBg",r(or,t.warning.light,.9)),Jr(t.Alert,"errorIconColor",n("palette-error-main")),Jr(t.Alert,"infoIconColor",n("palette-info-main")),Jr(t.Alert,"successIconColor",n("palette-success-main")),Jr(t.Alert,"warningIconColor",n("palette-warning-main")),Jr(t.AppBar,"defaultBg",n("palette-grey-100")),Jr(t.Avatar,"defaultBg",n("palette-grey-400")),Jr(t.Button,"inheritContainedBg",n("palette-grey-300")),Jr(t.Button,"inheritContainedHoverBg",n("palette-grey-A100")),Jr(t.Chip,"defaultBorder",n("palette-grey-400")),Jr(t.Chip,"defaultAvatarColor",n("palette-grey-700")),Jr(t.Chip,"defaultIconColor",n("palette-grey-700")),Jr(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Jr(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Jr(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Jr(t.LinearProgress,"primaryBg",r(or,t.primary.main,.62)),Jr(t.LinearProgress,"secondaryBg",r(or,t.secondary.main,.62)),Jr(t.LinearProgress,"errorBg",r(or,t.error.main,.62)),Jr(t.LinearProgress,"infoBg",r(or,t.info.main,.62)),Jr(t.LinearProgress,"successBg",r(or,t.success.main,.62)),Jr(t.LinearProgress,"warningBg",r(or,t.warning.main,.62)),Jr(t.Skeleton,"bg",v?r(tr,t.text.primary,.11):`rgba(${n("palette-text-primaryChannel")} / 0.11)`),Jr(t.Slider,"primaryTrack",r(or,t.primary.main,.62)),Jr(t.Slider,"secondaryTrack",r(or,t.secondary.main,.62)),Jr(t.Slider,"errorTrack",r(or,t.error.main,.62)),Jr(t.Slider,"infoTrack",r(or,t.info.main,.62)),Jr(t.Slider,"successTrack",r(or,t.success.main,.62)),Jr(t.Slider,"warningTrack",r(or,t.warning.main,.62));const e=v?r(rr,t.background.default,.6825):ir(t.background.default,.8);Jr(t.SnackbarContent,"bg",e),Jr(t.SnackbarContent,"color",ea(()=>v?yr.text.primary:t.getContrastText(e))),Jr(t.SpeedDialAction,"fabHoverBg",ir(t.background.paper,.15)),Jr(t.StepConnector,"border",n("palette-grey-400")),Jr(t.StepContent,"border",n("palette-grey-400")),Jr(t.Switch,"defaultColor",n("palette-common-white")),Jr(t.Switch,"defaultDisabledColor",n("palette-grey-100")),Jr(t.Switch,"primaryDisabledColor",r(or,t.primary.main,.62)),Jr(t.Switch,"secondaryDisabledColor",r(or,t.secondary.main,.62)),Jr(t.Switch,"errorDisabledColor",r(or,t.error.main,.62)),Jr(t.Switch,"infoDisabledColor",r(or,t.info.main,.62)),Jr(t.Switch,"successDisabledColor",r(or,t.success.main,.62)),Jr(t.Switch,"warningDisabledColor",r(or,t.warning.main,.62)),Jr(t.TableCell,"border",r(or,r(tr,t.divider,1),.88)),Jr(t.Tooltip,"bg",r(tr,t.grey[700],.92))}if("dark"===t.mode){Jr(t.Alert,"errorColor",r(or,t.error.light,.6)),Jr(t.Alert,"infoColor",r(or,t.info.light,.6)),Jr(t.Alert,"successColor",r(or,t.success.light,.6)),Jr(t.Alert,"warningColor",r(or,t.warning.light,.6)),Jr(t.Alert,"errorFilledBg",n("palette-error-dark")),Jr(t.Alert,"infoFilledBg",n("palette-info-dark")),Jr(t.Alert,"successFilledBg",n("palette-success-dark")),Jr(t.Alert,"warningFilledBg",n("palette-warning-dark")),Jr(t.Alert,"errorFilledColor",ea(()=>t.getContrastText(t.error.dark))),Jr(t.Alert,"infoFilledColor",ea(()=>t.getContrastText(t.info.dark))),Jr(t.Alert,"successFilledColor",ea(()=>t.getContrastText(t.success.dark))),Jr(t.Alert,"warningFilledColor",ea(()=>t.getContrastText(t.warning.dark))),Jr(t.Alert,"errorStandardBg",r(rr,t.error.light,.9)),Jr(t.Alert,"infoStandardBg",r(rr,t.info.light,.9)),Jr(t.Alert,"successStandardBg",r(rr,t.success.light,.9)),Jr(t.Alert,"warningStandardBg",r(rr,t.warning.light,.9)),Jr(t.Alert,"errorIconColor",n("palette-error-main")),Jr(t.Alert,"infoIconColor",n("palette-info-main")),Jr(t.Alert,"successIconColor",n("palette-success-main")),Jr(t.Alert,"warningIconColor",n("palette-warning-main")),Jr(t.AppBar,"defaultBg",n("palette-grey-900")),Jr(t.AppBar,"darkBg",n("palette-background-paper")),Jr(t.AppBar,"darkColor",n("palette-text-primary")),Jr(t.Avatar,"defaultBg",n("palette-grey-600")),Jr(t.Button,"inheritContainedBg",n("palette-grey-800")),Jr(t.Button,"inheritContainedHoverBg",n("palette-grey-700")),Jr(t.Chip,"defaultBorder",n("palette-grey-700")),Jr(t.Chip,"defaultAvatarColor",n("palette-grey-300")),Jr(t.Chip,"defaultIconColor",n("palette-grey-300")),Jr(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Jr(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Jr(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Jr(t.LinearProgress,"primaryBg",r(rr,t.primary.main,.5)),Jr(t.LinearProgress,"secondaryBg",r(rr,t.secondary.main,.5)),Jr(t.LinearProgress,"errorBg",r(rr,t.error.main,.5)),Jr(t.LinearProgress,"infoBg",r(rr,t.info.main,.5)),Jr(t.LinearProgress,"successBg",r(rr,t.success.main,.5)),Jr(t.LinearProgress,"warningBg",r(rr,t.warning.main,.5)),Jr(t.Skeleton,"bg",v?r(tr,t.text.primary,.13):`rgba(${n("palette-text-primaryChannel")} / 0.13)`),Jr(t.Slider,"primaryTrack",r(rr,t.primary.main,.5)),Jr(t.Slider,"secondaryTrack",r(rr,t.secondary.main,.5)),Jr(t.Slider,"errorTrack",r(rr,t.error.main,.5)),Jr(t.Slider,"infoTrack",r(rr,t.info.main,.5)),Jr(t.Slider,"successTrack",r(rr,t.success.main,.5)),Jr(t.Slider,"warningTrack",r(rr,t.warning.main,.5));const e=v?r(or,t.background.default,.985):ir(t.background.default,.98);Jr(t.SnackbarContent,"bg",e),Jr(t.SnackbarContent,"color",ea(()=>v?gr.text.primary:t.getContrastText(e))),Jr(t.SpeedDialAction,"fabHoverBg",ir(t.background.paper,.15)),Jr(t.StepConnector,"border",n("palette-grey-600")),Jr(t.StepContent,"border",n("palette-grey-600")),Jr(t.Switch,"defaultColor",n("palette-grey-300")),Jr(t.Switch,"defaultDisabledColor",n("palette-grey-600")),Jr(t.Switch,"primaryDisabledColor",r(rr,t.primary.main,.55)),Jr(t.Switch,"secondaryDisabledColor",r(rr,t.secondary.main,.55)),Jr(t.Switch,"errorDisabledColor",r(rr,t.error.main,.55)),Jr(t.Switch,"infoDisabledColor",r(rr,t.info.main,.55)),Jr(t.Switch,"successDisabledColor",r(rr,t.success.main,.55)),Jr(t.Switch,"warningDisabledColor",r(rr,t.warning.main,.55)),Jr(t.TableCell,"border",r(rr,r(tr,t.divider,1),.68)),Jr(t.Tooltip,"bg",r(tr,t.grey[700],.92))}Zr(t.background,"default"),Zr(t.background,"paper"),Zr(t.common,"background"),Zr(t.common,"onBackground"),Zr(t,"divider"),Object.keys(t).forEach(e=>{const n=t[e];"tonalOffset"!==e&&n&&"object"==typeof n&&(n.main&&Jr(t[e],"mainChannel",Yn(Xr(n.main))),n.light&&Jr(t[e],"lightChannel",Yn(Xr(n.light))),n.dark&&Jr(t[e],"darkChannel",Yn(Xr(n.dark))),n.contrastText&&Jr(t[e],"contrastTextChannel",Yn(Xr(n.contrastText))),"text"===e&&(Zr(t[e],"primary"),Zr(t[e],"secondary")),"action"===e&&(n.active&&Zr(t[e],"active"),n.selected&&Zr(t[e],"selected")))})}),w=t.reduce((e,t)=>yt(e,t),w);const S={prefix:o,disableCssColorScheme:a,shouldSkipGeneratingVar:s,getSelector:Yr(w),enableContrastVars:i},{vars:x,generateThemeVars:M,generateStyleSheets:C}=Mr(w,S);return w.vars=x,Object.entries(w.colorSchemes[w.defaultColorScheme]).forEach(([e,t])=>{w[e]=t}),w.generateThemeVars=M,w.generateStyleSheets=C,w.generateSpacing=function(){return Qt(u.spacing,Ut(this))},w.getColorSchemeSelector=function(e){return function(t){return"media"===e?`@media (prefers-color-scheme: ${t})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:"class"===e?`.${t} &`:"data"===e?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}(l),w.spacing=w.generateSpacing(),w.shouldSkipGeneratingVar=s,w.unstable_sxConfig={...Sn,...u?.unstable_sxConfig},w.unstable_sx=function(e){return Mn({sx:e,theme:this})},w.toRuntimeSource=Fr,w}function ra(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...!0!==n&&n,palette:Tr({...!0===n?{}:n.palette,mode:t})})}function aa(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:a=(n?void 0:{light:!0}),defaultColorScheme:o=n?.mode,...i}=e,s=o||"light",l=a?.[s],c={...a,...n?{[s]:{..."boolean"!=typeof l&&l,palette:n}}:void 0};if(!1===r){if(!("colorSchemes"in e))return Vr(e,...t);let r=n;"palette"in e||c[s]&&(!0!==c[s]?r=c[s].palette:"dark"===s&&(r={mode:"dark"}));const a=Vr({...e,palette:r},...t);return a.defaultColorScheme=s,a.colorSchemes=c,"light"===a.palette.mode&&(a.colorSchemes.light={...!0!==c.light&&c.light,palette:a.palette},ra(a,"dark",c.dark)),"dark"===a.palette.mode&&(a.colorSchemes.dark={...!0!==c.dark&&c.dark,palette:a.palette},ra(a,"light",c.light)),a}return n||"light"in c||"light"!==s||(c.light=!0),na({...i,colorSchemes:c,defaultColorScheme:s,..."boolean"!=typeof r&&r},...t)}const oa={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"};const{CssVarsProvider:ia,useColorScheme:sa,getInitColorSchemeScript:la}=function(e){const{themeId:t,theme:n={},modeStorageKey:r=jn,colorSchemeStorageKey:a=$n,disableTransitionOnChange:i=!1,defaultColorScheme:s,resolveTheme:c}=e,d={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},p=o.createContext(void 0),f={},h={},m="string"==typeof s?s:s.light,g="string"==typeof s?s:s.dark;return{CssVarsProvider:function(e){const{children:d,theme:m,modeStorageKey:g=r,colorSchemeStorageKey:_=a,disableTransitionOnChange:y=i,storageManager:v,storageWindow:b=("undefined"==typeof window?void 0:window),documentNode:T=("undefined"==typeof document?void 0:document),colorSchemeNode:w=("undefined"==typeof document?void 0:document.documentElement),disableNestedContext:k=!1,disableStyleSheetGeneration:S=!1,defaultMode:x="system",forceThemeRerender:M=!1,noSsr:C}=e,E=o.useRef(!1),P=l(),A=o.useContext(p),L=!!A&&!k,z=o.useMemo(()=>m||("function"==typeof n?n():n),[m]),N=z[t],R=N||z,{colorSchemes:O=f,components:D=h,cssVarPrefix:I}=R,j=Object.keys(O).filter(e=>!!O[e]).join(","),$=o.useMemo(()=>j.split(","),[j]),F="string"==typeof s?s:s.light,B="string"==typeof s?s:s.dark,U=O[F]&&O[B]?x:O[R.defaultColorScheme]?.palette?.mode||R.palette?.mode,{mode:V,setMode:H,systemMode:G,lightColorScheme:W,darkColorScheme:q,colorScheme:K,setColorScheme:Q}=Wn({supportedColorSchemes:$,defaultLightColorScheme:F,defaultDarkColorScheme:B,modeStorageKey:g,colorSchemeStorageKey:_,defaultMode:U,storageManager:v,storageWindow:b,noSsr:C});let Y=V,J=K;L&&(Y=A.mode,J=A.colorScheme);let X=J||R.defaultColorScheme;R.vars&&!M&&(X=R.defaultColorScheme);const Z=o.useMemo(()=>{const e=R.generateThemeVars?.()||R.vars,t={...R,components:D,colorSchemes:O,cssVarPrefix:I,vars:e};if("function"==typeof t.generateSpacing&&(t.spacing=t.generateSpacing()),X){const e=O[X];e&&"object"==typeof e&&Object.keys(e).forEach(n=>{e[n]&&"object"==typeof e[n]?t[n]={...t[n],...e[n]}:t[n]=e[n]})}return c?c(t):t},[R,X,D,O,I]),ee=R.colorSchemeSelector;Qe(()=>{if(J&&w&&ee&&"media"!==ee){const e=ee;let t=ee;if("class"===e&&(t=".%s"),"data"===e&&(t="[data-%s]"),e?.startsWith("data-")&&!e.includes("%s")&&(t=`[${e}="%s"]`),t.startsWith("."))w.classList.remove(...$.map(e=>t.substring(1).replace("%s",e))),w.classList.add(t.substring(1).replace("%s",J));else{const e=t.replace("%s",J).match(/\[([^\]]+)\]/);if(e){const[t,n]=e[1].split("=");n||$.forEach(e=>{w.removeAttribute(t.replace(J,e))}),w.setAttribute(t,n?n.replace(/"|'/g,""):"")}else w.setAttribute(t,J)}}},[J,ee,w,$]),o.useEffect(()=>{let e;if(y&&E.current&&T){const t=T.createElement("style");t.appendChild(T.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),T.head.appendChild(t),window.getComputedStyle(T.body),e=setTimeout(()=>{T.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[J,y,T]),o.useEffect(()=>(E.current=!0,()=>{E.current=!1}),[]);const te=o.useMemo(()=>({allColorSchemes:$,colorScheme:J,darkColorScheme:q,lightColorScheme:W,mode:Y,setColorScheme:Q,setMode:H,systemMode:G}),[$,J,q,W,Y,Q,H,G,Z.colorSchemeSelector]);let ne=!0;(S||!1===R.cssVariables||L&&P?.cssVarPrefix===I)&&(ne=!1);const re=(0,u.jsxs)(o.Fragment,{children:[(0,u.jsx)(On,{themeId:N?t:void 0,theme:Z,children:d}),ne&&(0,u.jsx)(ht,{styles:Z.generateStyleSheets?.()||[]})]});return L?re:(0,u.jsx)(p.Provider,{value:te,children:re})},useColorScheme:()=>o.useContext(p)||d,getInitColorSchemeScript:e=>function(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:a=jn,colorSchemeStorageKey:o=$n,attribute:i=Fn,colorSchemeNode:s="document.documentElement",nonce:l}=e||{};let c="",d=i;if("class"===i&&(d=".%s"),"data"===i&&(d="[data-%s]"),d.startsWith(".")){const e=d.substring(1);c+=`${s}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));\n      ${s}.classList.add('${e}'.replace('%s', colorScheme));`}const p=d.match(/\[([^[\]]+)\]/);if(p){const[e,t]=p[1].split("=");t||(c+=`${s}.removeAttribute('${e}'.replace('%s', light));\n      ${s}.removeAttribute('${e}'.replace('%s', dark));`),c+=`\n      ${s}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:'""'});`}else c+=`${s}.setAttribute('${d}', colorScheme);`;return(0,u.jsx)("script",{suppressHydrationWarning:!0,nonce:"undefined"==typeof window?l:"",dangerouslySetInnerHTML:{__html:`(function() {\ntry {\n  let colorScheme = '';\n  const mode = localStorage.getItem('${a}') || '${t}';\n  const dark = localStorage.getItem('${o}-dark') || '${r}';\n  const light = localStorage.getItem('${o}-light') || '${n}';\n  if (mode === 'system') {\n    // handle system mode\n    const mql = window.matchMedia('(prefers-color-scheme: dark)');\n    if (mql.matches) {\n      colorScheme = dark\n    } else {\n      colorScheme = light\n    }\n  }\n  if (mode === 'light') {\n    colorScheme = light;\n  }\n  if (mode === 'dark') {\n    colorScheme = dark;\n  }\n  if (colorScheme) {\n    ${c}\n  }\n} catch(e){}})();`}},"mui-color-scheme-init")}({colorSchemeStorageKey:a,defaultLightColorScheme:m,defaultDarkColorScheme:g,modeStorageKey:r,...e})}}({themeId:Dn,theme:()=>aa({cssVariables:!0}),colorSchemeStorageKey:oa.colorSchemeStorageKey,modeStorageKey:oa.modeStorageKey,defaultColorScheme:{light:oa.defaultLightColorScheme,dark:oa.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:Ar(e.palette,e.typography)};return t.unstable_sx=function(e){return Mn({sx:e,theme:this})},t}});const ca=ia;function ua({theme:e,...t}){const n=o.useMemo(()=>{if("function"==typeof e)return e;const t=Dn in e?e[Dn]:e;return"colorSchemes"in t?null:"vars"in t?e:{...e,vars:null}},[e]);return n?(0,u.jsx)(In,{theme:n,...t}):(0,u.jsx)(ca,{theme:e,...t})}function da(e,t,n=void 0){const r={};for(const a in e){const o=e[a];let i="",s=!0;for(let e=0;e<o.length;e+=1){const r=o[e];r&&(i+=(!0===s?"":" ")+t(r),s=!1,n&&n[r]&&(i+=" "+n[r]))}r[a]=i}return r}function pa(e){const{variants:t,...n}=e,r={variants:t,style:ct(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{"function"!=typeof e.style&&(e.style=ct(e.style))}),r}const fa=En();function ha(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function ma(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function ga(e){return e?(t,n)=>n[e]:null}function _a(e,t,n){const r="function"==typeof t?t(e):t;if(Array.isArray(r))return r.flatMap(t=>_a(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?ma(r.style,n):r.style;else{const{variants:e,...a}=r;t=n?ma(ct(a),n):a}return ya(e,r.variants,[t],n)}return r?.isProcessed?n?ma(ct(r.style),n):r.style:n?ma(ct(r),n):r}function ya(e,t,n=[],r=void 0){let a;e:for(let o=0;o<t.length;o+=1){const i=t[o];if("function"==typeof i.props){if(a??={...e,...e.ownerState,ownerState:e.ownerState},!i.props(a))continue}else for(const t in i.props)if(e[t]!==i.props[t]&&e.ownerState?.[t]!==i.props[t])continue e;"function"==typeof i.style?(a??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?ma(ct(i.style(a)),r):i.style(a))):n.push(r?ma(ct(i.style),r):i.style)}return n}function va(e,t){}function ba(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}const Ta=aa();const wa=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e},ka=function(e={}){const{themeId:t,defaultTheme:n=fa,rootShouldForwardProp:r=ha,slotShouldForwardProp:a=ha}=e;function o(e){!function(e,t,n){e.theme=function(e){for(const t in e)return!1;return!0}(e.theme)?n:e.theme[t]||e.theme}(e,t,n)}return(e,t={})=>{!function(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}(e,e=>e.filter(e=>e!==Mn));const{name:n,slot:i,skipVariantsResolver:s,skipSx:l,overridesResolver:c=ga(ba(i)),...u}=t,d=n&&n.startsWith("Mui")||i?"components":"custom",p=void 0!==s?s:i&&"Root"!==i&&"root"!==i||!1,f=l||!1;let h=ha;"Root"===i||"root"===i?h=r:i?h=a:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(h=void 0);const m=st(e,{shouldForwardProp:h,label:va(n,i),...u}),g=e=>{if(e.__emotion_real===e)return e;if("function"==typeof e)return function(t){return _a(t,e,t.theme.modularCssLayers?d:void 0)};if(gt(e)){const t=pa(e);return function(e){return t.variants?_a(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?ma(t.style,d):t.style}}return e},_=(...t)=>{const r=[],a=t.map(g),i=[];if(r.push(o),n&&c&&i.push(function(e){const t=e.theme,r=t.components?.[n]?.styleOverrides;if(!r)return null;const a={};for(const t in r)a[t]=_a(e,r[t],e.theme.modularCssLayers?"theme":void 0);return c(e,a)}),n&&!p&&i.push(function(e){const t=e.theme,r=t?.components?.[n]?.variants;return r?ya(e,r,[],e.theme.modularCssLayers?"theme":void 0):null}),f||i.push(Mn),Array.isArray(a[0])){const e=a.shift(),t=new Array(r.length).fill(""),n=new Array(i.length).fill("");let o;o=[...t,...e,...n],o.raw=[...t,...e.raw,...n],r.unshift(o)}const s=[...r,...a,...i],l=m(...s);return e.muiName&&(l.muiName=e.muiName),l};return m.withConfig&&(_.withConfig=m.withConfig),_}}({themeId:Dn,defaultTheme:Ta,rootShouldForwardProp:e=>wa(e)&&"classes"!==e}),Sa=ka;function xa(){const e=An(Ta);return e[Dn]||e}const Ma={theme:void 0};const Ca=function(e){let t,n;return function(r){let a=t;return void 0!==a&&r.theme===n||(Ma.theme=r.theme,a=pa(e(Ma)),t=a,n=r.theme),a}};function Ea(e){return qe(e)}const Pa=e=>e,Aa=(()=>{let e=Pa;return{configure(t){e=t},generate:t=>e(t),reset(){e=Pa}}})(),La={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function za(e,t,n="Mui"){const r=La[t];return r?`${n}-${r}`:`${Aa.generate(e)}-${t}`}function Na(e,t,n="Mui"){const r={};return t.forEach(t=>{r[t]=za(e,t,n)}),r}function Ra(e){return za("MuiPaper",e)}Na("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Oa=Sa("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})(Ca(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Da=o.forwardRef(function(e,t){const n=Ea({props:e,name:"MuiPaper"}),r=xa(),{className:a,component:o="div",elevation:i=1,square:s=!1,variant:l="elevation",...c}=n,d={...n,component:o,elevation:i,square:s,variant:l},p=(e=>{const{square:t,elevation:n,variant:r,classes:a}=e;return da({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]},Ra,a)})(d);return(0,u.jsx)(Oa,{as:o,ownerState:d,className:He(p.root,a),ref:t,...c,style:{..."elevation"===l&&{"--Paper-shadow":(r.vars||r).shadows[i],...r.vars&&{"--Paper-overlay":r.vars.overlays?.[i]},...!r.vars&&"dark"===r.palette.mode&&{"--Paper-overlay":`linear-gradient(${er("#fff",Hr(i))}, ${er("#fff",Hr(i))})`}},...c.style}})}),Ia=Da,ja={typography:{button:{textTransform:"none"}},components:{MuiButton:{variants:[{props:{variant:"mdv3"},style:{textTransform:"none"}}]}}},$a=aa(Object.assign({},ja));var Fa=a(5338);const Ba="ag-main-"+Date.now();let Ua;function Va({tab:e="",curResult:t}){if(document.getElementById(Ba))!function(){let e=document.getElementById(Ba);e&&(e.remove(),document.documentElement.classList.remove("ag-showed"),document.documentElement.style.width="")}();else{const n=(()=>{let e=document.createElement("div");e.id=Ba,document.body.prepend(e);let t=e.attachShadow({mode:"open"}),n=document.createElement("div");n.style.all="initial",t.appendChild(n);const r=document.createElement("style");return t.appendChild(r),{panel:n,cache:fe({key:"ag-select-popper-css",prepend:!0,container:r})}})();let a=n.panel;document.documentElement.classList.add("ag-showed");const i=4;let s=0,l=500;function c(e){const t=s-e.x;s=e.x,l+=t,d(l),chrome.storage.local.set({panelWidth:l})}const u=document.body.style.userSelect;function d(e){Ua||(Ua=(0,Fa.H)(a)),Ua.render(o.createElement(ua,{theme:$a},o.createElement(Ne,{value:n.cache},o.createElement(Ia,{"data-ag":"resize",sx:{position:"fixed",top:0,height:"100vh",width:`${e}px`,right:0,zIndex:r,bgcolor:"white",textAlign:"left","&::before":{content:'""',position:"absolute",left:"0",width:"4px",height:"100%",cursor:"ew-resize",zIndex:1}}})))),document.documentElement.style.width=window.innerWidth-e+"px"}a.addEventListener("mousedown",function(e){"resize"==e.target.dataset.ag&&e.offsetX<i&&(s=e.x,document.addEventListener("mousemove",c,!1),document.body.style.userSelect="none",document.documentElement.classList.add("ag-overhidden"))},!1),document.addEventListener("mouseup",function(){document.removeEventListener("mousemove",c,!1),document.body.style.userSelect=u,document.documentElement.classList.remove("ag-overhidden")},!1),chrome.storage.local.get("panelWidth",e=>{e.panelWidth&&(l=e.panelWidth),d(l)})}}function Ha(e){return e&&e.ownerDocument||document}function Ga(...e){const t=o.useRef(void 0),n=o.useCallback(t=>{const n=e.map(e=>{if(null==e)return null;if("function"==typeof e){const n=e,r=n(t);return"function"==typeof r?r:()=>{n(null)}}return e.current=t,()=>{e.current=null}});return()=>{n.forEach(e=>e?.())}},e);return o.useMemo(()=>e.every(e=>null==e)?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=n(e))},e)}function Wa(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function qa(e){return e instanceof Wa(e).Element||e instanceof Element}function Ka(e){return e instanceof Wa(e).HTMLElement||e instanceof HTMLElement}function Qa(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Wa(e).ShadowRoot||e instanceof ShadowRoot)}var Ya=Math.max,Ja=Math.min,Xa=Math.round;function Za(){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 eo(){return!/^((?!chrome|android).)*safari/i.test(Za())}function to(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),a=1,o=1;t&&Ka(e)&&(a=e.offsetWidth>0&&Xa(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Xa(r.height)/e.offsetHeight||1);var i=(qa(e)?Wa(e):window).visualViewport,s=!eo()&&n,l=(r.left+(s&&i?i.offsetLeft:0))/a,c=(r.top+(s&&i?i.offsetTop:0))/o,u=r.width/a,d=r.height/o;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function no(e){var t=Wa(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ro(e){return e?(e.nodeName||"").toLowerCase():null}function ao(e){return((qa(e)?e.ownerDocument:e.document)||window.document).documentElement}function oo(e){return to(ao(e)).left+no(e).scrollLeft}function io(e){return Wa(e).getComputedStyle(e)}function so(e){var t=io(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function lo(e,t,n){void 0===n&&(n=!1);var r=Ka(t),a=Ka(t)&&function(e){var t=e.getBoundingClientRect(),n=Xa(t.width)/e.offsetWidth||1,r=Xa(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),o=ao(t),i=to(e,a,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==ro(t)||so(o))&&(s=function(e){return e!==Wa(e)&&Ka(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:no(e);var t}(t)),Ka(t)?((l=to(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=oo(o))),{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}function co(e){var t=to(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 uo(e){return"html"===ro(e)?e:e.assignedSlot||e.parentNode||(Qa(e)?e.host:null)||ao(e)}function po(e){return["html","body","#document"].indexOf(ro(e))>=0?e.ownerDocument.body:Ka(e)&&so(e)?e:po(uo(e))}function fo(e,t){var n;void 0===t&&(t=[]);var r=po(e),a=r===(null==(n=e.ownerDocument)?void 0:n.body),o=Wa(r),i=a?[o].concat(o.visualViewport||[],so(r)?r:[]):r,s=t.concat(i);return a?s:s.concat(fo(uo(i)))}function ho(e){return["table","td","th"].indexOf(ro(e))>=0}function mo(e){return Ka(e)&&"fixed"!==io(e).position?e.offsetParent:null}function go(e){for(var t=Wa(e),n=mo(e);n&&ho(n)&&"static"===io(n).position;)n=mo(n);return n&&("html"===ro(n)||"body"===ro(n)&&"static"===io(n).position)?t:n||function(e){var t=/firefox/i.test(Za());if(/Trident/i.test(Za())&&Ka(e)&&"fixed"===io(e).position)return null;var n=uo(e);for(Qa(n)&&(n=n.host);Ka(n)&&["html","body"].indexOf(ro(n))<0;){var r=io(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}var _o="top",yo="bottom",vo="right",bo="left",To="auto",wo=[_o,yo,vo,bo],ko="start",So="end",xo="viewport",Mo="popper",Co=wo.reduce(function(e,t){return e.concat([t+"-"+ko,t+"-"+So])},[]),Eo=[].concat(wo,[To]).reduce(function(e,t){return e.concat([t,t+"-"+ko,t+"-"+So])},[]),Po=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Ao(e){var t=new Map,n=new Set,r=[];function a(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&a(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||a(e)}),r}var Lo={placement:"bottom",modifiers:[],strategy:"absolute"};function zo(){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 No(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,a=t.defaultOptions,o=void 0===a?Lo:a;return function(e,t,n){void 0===n&&(n=o);var a,i,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Lo,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function(n){var a="function"==typeof n?n(s.options):n;d(),s.options=Object.assign({},o,s.options,a),s.scrollParents={reference:qa(e)?fo(e):e.contextElement?fo(e.contextElement):[],popper:fo(t)};var i,c,p=function(e){var t=Ao(e);return Po.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((i=[].concat(r,s.options.modifiers),c=i.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},{}),Object.keys(c).map(function(e){return c[e]})));return s.orderedModifiers=p.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,a=e.effect;if("function"==typeof a){var o=a({state:s,name:t,instance:u,options:r}),i=function(){};l.push(o||i)}}),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(zo(t,n)){s.rects={reference:lo(t,go(n),"fixed"===s.options.strategy),popper:co(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var a=s.orderedModifiers[r],o=a.fn,i=a.options,l=void 0===i?{}:i,d=a.name;"function"==typeof o&&(s=o({state:s,options:l,name:d,instance:u})||s)}else s.reset=!1,r=-1}}},update:(a=function(){return new Promise(function(e){u.forceUpdate(),e(s)})},function(){return i||(i=new Promise(function(e){Promise.resolve().then(function(){i=void 0,e(a())})})),i}),destroy:function(){d(),c=!0}};if(!zo(e,t))return u;function d(){l.forEach(function(e){return e()}),l=[]}return u.setOptions(n).then(function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)}),u}}var Ro={passive:!0};const Oo={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,a=r.scroll,o=void 0===a||a,i=r.resize,s=void 0===i||i,l=Wa(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(e){e.addEventListener("scroll",n.update,Ro)}),s&&l.addEventListener("resize",n.update,Ro),function(){o&&c.forEach(function(e){e.removeEventListener("scroll",n.update,Ro)}),s&&l.removeEventListener("resize",n.update,Ro)}},data:{}};function Do(e){return e.split("-")[0]}function Io(e){return e.split("-")[1]}function jo(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function $o(e){var t,n=e.reference,r=e.element,a=e.placement,o=a?Do(a):null,i=a?Io(a):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(o){case _o:t={x:s,y:n.y-r.height};break;case yo:t={x:s,y:n.y+n.height};break;case vo:t={x:n.x+n.width,y:l};break;case bo:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?jo(o):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case ko:t[c]=t[c]-(n[u]/2-r[u]/2);break;case So:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var Fo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Bo(e){var t,n=e.popper,r=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=i.x,f=void 0===p?0:p,h=i.y,m=void 0===h?0:h,g="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var _=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),v=bo,b=_o,T=window;if(c){var w=go(n),k="clientHeight",S="clientWidth";if(w===Wa(n)&&"static"!==io(w=ao(n)).position&&"absolute"===s&&(k="scrollHeight",S="scrollWidth"),a===_o||(a===bo||a===vo)&&o===So)b=yo,m-=(d&&w===T&&T.visualViewport?T.visualViewport.height:w[k])-r.height,m*=l?1:-1;if(a===bo||(a===_o||a===yo)&&o===So)v=vo,f-=(d&&w===T&&T.visualViewport?T.visualViewport.width:w[S])-r.width,f*=l?1:-1}var x,M=Object.assign({position:s},c&&Fo),C=!0===u?function(e,t){var n=e.x,r=e.y,a=t.devicePixelRatio||1;return{x:Xa(n*a)/a||0,y:Xa(r*a)/a||0}}({x:f,y:m},Wa(n)):{x:f,y:m};return f=C.x,m=C.y,l?Object.assign({},M,((x={})[b]=y?"0":"",x[v]=_?"0":"",x.transform=(T.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",x)):Object.assign({},M,((t={})[b]=y?m+"px":"",t[v]=_?f+"px":"",t.transform="",t))}const Uo={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,a=void 0===r||r,o=n.adaptive,i=void 0===o||o,s=n.roundOffsets,l=void 0===s||s,c={placement:Do(t.placement),variation:Io(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Bo(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Bo(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};const Vo={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]||{},a=t.elements[e];Ka(a)&&ro(a)&&(Object.assign(a.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?a.removeAttribute(e):a.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],a=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});Ka(r)&&ro(r)&&(Object.assign(r.style,o),Object.keys(a).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]};const Ho={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,a=n.offset,o=void 0===a?[0,0]:a,i=Eo.reduce(function(e,n){return e[n]=function(e,t,n){var r=Do(e),a=[bo,_o].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=o[0],s=o[1];return i=i||0,s=(s||0)*a,[bo,vo].indexOf(r)>=0?{x:s,y:i}:{x:i,y:s}}(n,t.rects,o),e},{}),s=i[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}};var Go={left:"right",right:"left",bottom:"top",top:"bottom"};function Wo(e){return e.replace(/left|right|bottom|top/g,function(e){return Go[e]})}var qo={start:"end",end:"start"};function Ko(e){return e.replace(/start|end/g,function(e){return qo[e]})}function Qo(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Qa(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Yo(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Jo(e,t,n){return t===xo?Yo(function(e,t){var n=Wa(e),r=ao(e),a=n.visualViewport,o=r.clientWidth,i=r.clientHeight,s=0,l=0;if(a){o=a.width,i=a.height;var c=eo();(c||!c&&"fixed"===t)&&(s=a.offsetLeft,l=a.offsetTop)}return{width:o,height:i,x:s+oo(e),y:l}}(e,n)):qa(t)?function(e,t){var n=to(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):Yo(function(e){var t,n=ao(e),r=no(e),a=null==(t=e.ownerDocument)?void 0:t.body,o=Ya(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=Ya(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-r.scrollLeft+oo(e),l=-r.scrollTop;return"rtl"===io(a||n).direction&&(s+=Ya(n.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:l}}(ao(e)))}function Xo(e,t,n,r){var a="clippingParents"===t?function(e){var t=fo(uo(e)),n=["absolute","fixed"].indexOf(io(e).position)>=0&&Ka(e)?go(e):e;return qa(n)?t.filter(function(e){return qa(e)&&Qo(e,n)&&"body"!==ro(e)}):[]}(e):[].concat(t),o=[].concat(a,[n]),i=o[0],s=o.reduce(function(t,n){var a=Jo(e,n,r);return t.top=Ya(a.top,t.top),t.right=Ja(a.right,t.right),t.bottom=Ja(a.bottom,t.bottom),t.left=Ya(a.left,t.left),t},Jo(e,i,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Zo(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ei(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function ti(e,t){void 0===t&&(t={});var n=t,r=n.placement,a=void 0===r?e.placement:r,o=n.strategy,i=void 0===o?e.strategy:o,s=n.boundary,l=void 0===s?"clippingParents":s,c=n.rootBoundary,u=void 0===c?xo:c,d=n.elementContext,p=void 0===d?Mo:d,f=n.altBoundary,h=void 0!==f&&f,m=n.padding,g=void 0===m?0:m,_=Zo("number"!=typeof g?g:ei(g,wo)),y=p===Mo?"reference":Mo,v=e.rects.popper,b=e.elements[h?y:p],T=Xo(qa(b)?b:b.contextElement||ao(e.elements.popper),l,u,i),w=to(e.elements.reference),k=$o({reference:w,element:v,strategy:"absolute",placement:a}),S=Yo(Object.assign({},v,k)),x=p===Mo?S:w,M={top:T.top-x.top+_.top,bottom:x.bottom-T.bottom+_.bottom,left:T.left-x.left+_.left,right:x.right-T.right+_.right},C=e.modifiersData.offset;if(p===Mo&&C){var E=C[a];Object.keys(M).forEach(function(e){var t=[vo,yo].indexOf(e)>=0?1:-1,n=[_o,yo].indexOf(e)>=0?"y":"x";M[e]+=E[n]*t})}return M}const ni={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 a=n.mainAxis,o=void 0===a||a,i=n.altAxis,s=void 0===i||i,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,_=Do(g),y=l||(_===g||!h?[Wo(g)]:function(e){if(Do(e)===To)return[];var t=Wo(e);return[Ko(e),t,Ko(t)]}(g)),v=[g].concat(y).reduce(function(e,n){return e.concat(Do(n)===To?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,a=n.boundary,o=n.rootBoundary,i=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?Eo:l,u=Io(r),d=u?s?Co:Co.filter(function(e){return Io(e)===u}):wo,p=d.filter(function(e){return c.indexOf(e)>=0});0===p.length&&(p=d);var f=p.reduce(function(t,n){return t[n]=ti(e,{placement:n,boundary:a,rootBoundary:o,padding:i})[Do(n)],t},{});return Object.keys(f).sort(function(e,t){return f[e]-f[t]})}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)},[]),b=t.rects.reference,T=t.rects.popper,w=new Map,k=!0,S=v[0],x=0;x<v.length;x++){var M=v[x],C=Do(M),E=Io(M)===ko,P=[_o,yo].indexOf(C)>=0,A=P?"width":"height",L=ti(t,{placement:M,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),z=P?E?vo:bo:E?yo:_o;b[A]>T[A]&&(z=Wo(z));var N=Wo(z),R=[];if(o&&R.push(L[C]<=0),s&&R.push(L[z]<=0,L[N]<=0),R.every(function(e){return e})){S=M,k=!1;break}w.set(M,R)}if(k)for(var O=function(e){var t=v.find(function(t){var n=w.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return S=t,"break"},D=h?3:1;D>0;D--){if("break"===O(D))break}t.placement!==S&&(t.modifiersData[r]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ri(e,t,n){return Ya(e,Ja(t,n))}const ai={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,a=n.mainAxis,o=void 0===a||a,i=n.altAxis,s=void 0!==i&&i,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,g=ti(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),_=Do(t.placement),y=Io(t.placement),v=!y,b=jo(_),T="x"===b?"y":"x",w=t.modifiersData.popperOffsets,k=t.rects.reference,S=t.rects.popper,x="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,M="number"==typeof x?{mainAxis:x,altAxis:x}:Object.assign({mainAxis:0,altAxis:0},x),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,E={x:0,y:0};if(w){if(o){var P,A="y"===b?_o:bo,L="y"===b?yo:vo,z="y"===b?"height":"width",N=w[b],R=N+g[A],O=N-g[L],D=f?-S[z]/2:0,I=y===ko?k[z]:S[z],j=y===ko?-S[z]:-k[z],$=t.elements.arrow,F=f&&$?co($):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},U=B[A],V=B[L],H=ri(0,k[z],F[z]),G=v?k[z]/2-D-H-U-M.mainAxis:I-H-U-M.mainAxis,W=v?-k[z]/2+D+H+V+M.mainAxis:j+H+V+M.mainAxis,q=t.elements.arrow&&go(t.elements.arrow),K=q?"y"===b?q.clientTop||0:q.clientLeft||0:0,Q=null!=(P=null==C?void 0:C[b])?P:0,Y=N+W-Q,J=ri(f?Ja(R,N+G-Q-K):R,N,f?Ya(O,Y):O);w[b]=J,E[b]=J-N}if(s){var X,Z="x"===b?_o:bo,ee="x"===b?yo:vo,te=w[T],ne="y"===T?"height":"width",re=te+g[Z],ae=te-g[ee],oe=-1!==[_o,bo].indexOf(_),ie=null!=(X=null==C?void 0:C[T])?X:0,se=oe?re:te-k[ne]-S[ne]-ie+M.altAxis,le=oe?te+k[ne]+S[ne]-ie-M.altAxis:ae,ce=f&&oe?function(e,t,n){var r=ri(e,t,n);return r>n?n:r}(se,te,le):ri(f?se:re,te,f?le:ae);w[T]=ce,E[T]=ce-te}t.modifiersData[r]=E}},requiresIfExists:["offset"]};const oi={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,a=e.options,o=n.elements.arrow,i=n.modifiersData.popperOffsets,s=Do(n.placement),l=jo(s),c=[bo,vo].indexOf(s)>=0?"height":"width";if(o&&i){var u=function(e,t){return Zo("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ei(e,wo))}(a.padding,n),d=co(o),p="y"===l?_o:bo,f="y"===l?yo:vo,h=n.rects.reference[c]+n.rects.reference[l]-i[l]-n.rects.popper[c],m=i[l]-n.rects.reference[l],g=go(o),_=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=h/2-m/2,v=u[p],b=_-d[c]-u[f],T=_/2-d[c]/2+y,w=ri(v,T,b),k=l;n.modifiersData[r]=((t={})[k]=w,t.centerOffset=w-T,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)))&&Qo(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ii(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 si(e){return[_o,vo,yo,bo].some(function(t){return e[t]>=0})}var li=No({defaultModifiers:[Oo,{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=$o({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Uo,Vo,Ho,ni,ai,oi,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=ti(t,{elementContext:"reference"}),s=ti(t,{altBoundary:!0}),l=ii(i,r),c=ii(s,a,o),u=si(l),d=si(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]});const ci=function(e){return"string"==typeof e};const ui=function(e,t,n){return void 0===e||ci(e)?t:{...t,ownerState:{...t.ownerState,...n}}};const di=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n)).forEach(t=>{n[t]=e[t]}),n};const pi=function(e){if(void 0===e)return{};const t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(n=>{t[n]=e[n]}),t};const fi=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:a,className:o}=e;if(!t){const e=He(n?.className,o,a?.className,r?.className),t={...n?.style,...a?.style,...r?.style},i={...n,...a,...r};return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const i=di({...a,...r}),s=pi(r),l=pi(a),c=t(i),u=He(c?.className,n?.className,o,a?.className,r?.className),d={...c?.style,...n?.style,...a?.style,...r?.style},p={...c,...n,...l,...s};return u.length>0&&(p.className=u),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:c.ref}};const hi=function(e,t,n){return"function"==typeof e?e(t,n):e};const mi=function(e){const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:a=!1,...o}=e,i=a?{}:hi(n,r),{props:s,internalRef:l}=fi({...o,externalSlotProps:i}),c=Ga(l,i?.ref,e.additionalProps?.ref);return ui(t,{...s,ref:c},r)};var gi=a(961);function _i(e,t){"function"==typeof e?e(t):e&&(e.current=t)}const yi=o.forwardRef(function(e,t){const{children:n,container:r,disablePortal:a=!1}=e,[i,s]=o.useState(null),l=Ga(o.isValidElement(n)?(c=n,parseInt(o.version,10)>=19?c?.props?.ref||null:c?.ref||null):null,t);var c;if(Qe(()=>{a||s(function(e){return"function"==typeof e?e():e}(r)||document.body)},[r,a]),Qe(()=>{if(i&&!a)return _i(t,i),()=>{_i(t,null)}},[t,i,a]),a){if(o.isValidElement(n)){const e={ref:l};return o.cloneElement(n,e)}return n}return i?gi.createPortal(n,i):i});function vi(e){return za("MuiPopper",e)}Na("MuiPopper",["root"]);function bi(e){return"function"==typeof e?e():e}function Ti(e){return void 0!==e.nodeType}const wi={},ki=o.forwardRef(function(e,t){const{anchorEl:n,children:r,direction:a,disablePortal:i,modifiers:s,open:l,placement:c,popperOptions:d,popperRef:p,slotProps:f={},slots:h={},TransitionProps:m,ownerState:g,..._}=e,y=o.useRef(null),v=Ga(y,t),b=o.useRef(null),T=Ga(b,p),w=o.useRef(T);Qe(()=>{w.current=T},[T]),o.useImperativeHandle(p,()=>b.current,[]);const k=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(c,a),[S,x]=o.useState(k),[M,C]=o.useState(bi(n));o.useEffect(()=>{b.current&&b.current.forceUpdate()}),o.useEffect(()=>{n&&C(bi(n))},[n]),Qe(()=>{if(!M||!l)return;let e=[{name:"preventOverflow",options:{altBoundary:i}},{name:"flip",options:{altBoundary:i}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{x(e.placement)}}];null!=s&&(e=e.concat(s)),d&&null!=d.modifiers&&(e=e.concat(d.modifiers));const t=li(M,y.current,{placement:k,...d,modifiers:e});return w.current(t),()=>{t.destroy(),w.current(null)}},[M,i,s,l,d,k]);const E={placement:S};null!==m&&(E.TransitionProps=m);const P=(e=>{const{classes:t}=e;return da({root:["root"]},vi,t)})(e),A=h.root??"div",L=mi({elementType:A,externalSlotProps:f.root,externalForwardedProps:_,additionalProps:{role:"tooltip",ref:v},ownerState:e,className:P.root});return(0,u.jsx)(A,{...L,children:"function"==typeof r?r(E):r})}),Si=o.forwardRef(function(e,t){const{anchorEl:n,children:r,container:a,direction:i="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:c,open:d,placement:p="bottom",popperOptions:f=wi,popperRef:h,style:m,transition:g=!1,slotProps:_={},slots:y={},...v}=e,[b,T]=o.useState(!0);if(!l&&!d&&(!g||b))return null;let w;if(a)w=a;else if(n){const e=bi(n);w=e&&Ti(e)?Ha(e).body:Ha(null).body}const k=d||!l||g&&!b?void 0:"none",S=g?{in:d,onEnter:()=>{T(!1)},onExited:()=>{T(!0)}}:void 0;return(0,u.jsx)(yi,{disablePortal:s,container:w,children:(0,u.jsx)(ki,{anchorEl:n,direction:i,disablePortal:s,modifiers:c,ref:t,open:g?!b:d,placement:p,popperOptions:f,popperRef:h,slotProps:_,slots:y,...v,style:{position:"fixed",top:0,left:0,display:k,...m},TransitionProps:S,children:r})})}),xi=Sa(Si,{name:"MuiPopper",slot:"Root"})({}),Mi=o.forwardRef(function(e,t){const n=o.useContext(Be)??!1,r=Ea({props:e,name:"MuiPopper"}),{anchorEl:a,component:i,components:s,componentsProps:l,container:c,disablePortal:d,keepMounted:p,modifiers:f,open:h,placement:m,popperOptions:g,popperRef:_,transition:y,slots:v,slotProps:b,...T}=r,w=v?.root??s?.Root,k={anchorEl:a,container:c,disablePortal:d,keepMounted:p,modifiers:f,open:h,placement:m,popperOptions:g,popperRef:_,transition:y,...T};return(0,u.jsx)(xi,{as:i,direction:n?"rtl":"ltr",slots:{root:w},slotProps:b??l,...k,ref:t})});function Ci(e){const{sx:t,...n}=e,{systemProps:r,otherProps:a}=(e=>{const t={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??Sn;return Object.keys(e).forEach(r=>{n[r]?t.systemProps[r]=e[r]:t.otherProps[r]=e[r]}),t})(n);let o;return o=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return gt(n)?{...r,...n}:r}:{...r,...t},{...a,sx:o}}const Ei=Na("MuiBox",["root"]),Pi=aa(),Ai=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:a}=e,i=st("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Mn),s=o.forwardRef(function(e,o){const s=An(n),{className:l,component:c="div",...d}=Ci(e);return(0,u.jsx)(i,{as:c,ref:o,className:He(l,a?a(r):r),theme:t&&s[t]||s,...d})});return s}({themeId:Dn,defaultTheme:Pi,defaultClassName:Ei.root,generateClassName:Aa.generate}),Li=Ai,zi=Xe;function Ni(e=[]){return([,t])=>t&&function(e,t=[]){if(!function(e){return"string"==typeof e.main}(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||"string"!=typeof e[n])return!1;return!0}(t,e)}function Ri(e){try{return e.matches(":focus-visible")}catch(e){0}return!1}const Oi=Ga;const Di=function(e){const t=o.useRef(e);return Qe(()=>{t.current=e}),o.useRef((...e)=>(0,t.current)(...e)).current},Ii={};function ji(e,t){const n=o.useRef(Ii);return n.current===Ii&&(n.current=e(t)),n}class $i{static create(){return new $i}static use(){const e=ji($i.create).current,[t,n]=o.useState(!1);return e.shouldMount=t,e.setShouldMount=n,o.useEffect(e.mountEffect,[t]),e}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=function(){let e,t;const n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}}function Fi(e,t){return Fi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Fi(e,t)}const Bi=o.createContext(null);function Ui(e,t){var n=Object.create(null);return e&&o.Children.map(e,function(e){return e}).forEach(function(e){n[e.key]=function(e){return t&&(0,o.isValidElement)(e)?t(e):e}(e)}),n}function Vi(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Hi(e,t,n){var r=Ui(e.children),a=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,a=Object.create(null),o=[];for(var i in e)i in t?o.length&&(a[i]=o,o=[]):o.push(i);var s={};for(var l in t){if(a[l])for(r=0;r<a[l].length;r++){var c=a[l][r];s[a[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}(t,r);return Object.keys(a).forEach(function(i){var s=a[i];if((0,o.isValidElement)(s)){var l=i in t,c=i in r,u=t[i],d=(0,o.isValidElement)(u)&&!u.props.in;!c||l&&!d?c||!l||d?c&&l&&(0,o.isValidElement)(u)&&(a[i]=(0,o.cloneElement)(s,{onExited:n.bind(null,s),in:u.props.in,exit:Vi(s,"exit",e),enter:Vi(s,"enter",e)})):a[i]=(0,o.cloneElement)(s,{in:!1}):a[i]=(0,o.cloneElement)(s,{onExited:n.bind(null,s),in:!0,exit:Vi(s,"exit",e),enter:Vi(s,"enter",e)})}}),a}var Gi=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Wi=function(e){function t(t,n){var r,a=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},r}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Fi(e,t)}(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,a=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,r=i,Ui(n.children,function(e){return(0,o.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:Vi(e,"appear",n),enter:Vi(e,"enter",n),exit:Vi(e,"exit",n)})})):Hi(e,a,i),firstRender:!1}},n.handleExited=function(e,t){var n=Ui(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=Ze({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,["component","childFactory"]),a=this.state.contextValue,i=Gi(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?o.createElement(Bi.Provider,{value:a},i):o.createElement(Bi.Provider,{value:a},o.createElement(t,r,i))},t}(o.Component);Wi.propTypes={},Wi.defaultProps={component:"div",childFactory:function(e){return e}};const qi=Wi,Ki=[];class Qi{static create(){return new Qi}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function Yi(){const e=ji(Qi.create).current;var t;return t=e.disposeEffect,o.useEffect(t,Ki),e}const Ji=function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:a,rippleY:i,rippleSize:s,in:l,onExited:c,timeout:d}=e,[p,f]=o.useState(!1),h=He(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),m={width:s,height:s,top:-s/2+i,left:-s/2+a},g=He(n.child,p&&n.childLeaving,r&&n.childPulsate);return l||p||f(!0),o.useEffect(()=>{if(!l&&null!=c){const e=setTimeout(c,d);return()=>{clearTimeout(e)}}},[c,l,d]),(0,u.jsx)("span",{className:h,style:m,children:(0,u.jsx)("span",{className:g})})};const Xi=Na("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Zi=ft`
  0% {
    transform: scale(0);
    opacity: 0.1;
  }

  100% {
    transform: scale(1);
    opacity: 0.3;
  }
`,es=ft`
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
`,ts=ft`
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.92);
  }

  100% {
    transform: scale(1);
  }
`,ns=Sa("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),rs=Sa(Ji,{name:"MuiTouchRipple",slot:"Ripple"})`
  opacity: 0;
  position: absolute;

  &.${Xi.rippleVisible} {
    opacity: 0.3;
    transform: scale(1);
    animation-name: ${Zi};
    animation-duration: ${550}ms;
    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
  }

  &.${Xi.ripplePulsate} {
    animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
  }

  & .${Xi.child} {
    opacity: 1;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: currentColor;
  }

  & .${Xi.childLeaving} {
    opacity: 0;
    animation-name: ${es};
    animation-duration: ${550}ms;
    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
  }

  & .${Xi.childPulsate} {
    position: absolute;
    /* @noflip */
    left: 0px;
    top: 0;
    animation-name: ${ts};
    animation-duration: 2500ms;
    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
    animation-iteration-count: infinite;
    animation-delay: 200ms;
  }
`,as=o.forwardRef(function(e,t){const n=Ea({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:a={},className:i,...s}=n,[l,c]=o.useState([]),d=o.useRef(0),p=o.useRef(null);o.useEffect(()=>{p.current&&(p.current(),p.current=null)},[l]);const f=o.useRef(!1),h=Yi(),m=o.useRef(null),g=o.useRef(null),_=o.useCallback(e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:o,cb:i}=e;c(e=>[...e,(0,u.jsx)(rs,{classes:{ripple:He(a.ripple,Xi.ripple),rippleVisible:He(a.rippleVisible,Xi.rippleVisible),ripplePulsate:He(a.ripplePulsate,Xi.ripplePulsate),child:He(a.child,Xi.child),childLeaving:He(a.childLeaving,Xi.childLeaving),childPulsate:He(a.childPulsate,Xi.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},d.current)]),d.current+=1,p.current=i},[a]),y=o.useCallback((e={},t={},n=()=>{})=>{const{pulsate:a=!1,center:o=r||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===e?.type&&f.current)return void(f.current=!1);"touchstart"===e?.type&&(f.current=!0);const s=i?null:g.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,d;if(o||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(n-l.top)}if(o)d=Math.sqrt((2*l.width**2+l.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-u),u)+2;d=Math.sqrt(e**2+t**2)}e?.touches?null===m.current&&(m.current=()=>{_({pulsate:a,rippleX:c,rippleY:u,rippleSize:d,cb:n})},h.start(80,()=>{m.current&&(m.current(),m.current=null)})):_({pulsate:a,rippleX:c,rippleY:u,rippleSize:d,cb:n})},[r,_,h]),v=o.useCallback(()=>{y({},{pulsate:!0})},[y]),b=o.useCallback((e,t)=>{if(h.clear(),"touchend"===e?.type&&m.current)return m.current(),m.current=null,void h.start(0,()=>{b(e,t)});m.current=null,c(e=>e.length>0?e.slice(1):e),p.current=t},[h]);return o.useImperativeHandle(t,()=>({pulsate:v,start:y,stop:b}),[v,y,b]),(0,u.jsx)(ns,{className:He(Xi.root,a.root,i),ref:g,...s,children:(0,u.jsx)(qi,{component:null,exit:!0,children:l})})}),os=as;function is(e){return za("MuiButtonBase",e)}const ss=Na("MuiButtonBase",["root","disabled","focusVisible"]),ls=Sa("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${ss.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),cs=o.forwardRef(function(e,t){const n=Ea({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:a=!1,children:i,className:s,component:l="button",disabled:c=!1,disableRipple:d=!1,disableTouchRipple:p=!1,focusRipple:f=!1,focusVisibleClassName:h,LinkComponent:m="a",onBlur:g,onClick:_,onContextMenu:y,onDragLeave:v,onFocus:b,onFocusVisible:T,onKeyDown:w,onKeyUp:k,onMouseDown:S,onMouseLeave:x,onMouseUp:M,onTouchEnd:C,onTouchMove:E,onTouchStart:P,tabIndex:A=0,TouchRippleProps:L,touchRippleRef:z,type:N,...R}=n,O=o.useRef(null),D=$i.use(),I=Oi(D.ref,z),[j,$]=o.useState(!1);c&&j&&$(!1),o.useImperativeHandle(r,()=>({focusVisible:()=>{$(!0),O.current.focus()}}),[]);const F=D.shouldMount&&!d&&!c;o.useEffect(()=>{j&&f&&!d&&D.pulsate()},[d,f,j,D]);const B=us(D,"start",S,p),U=us(D,"stop",y,p),V=us(D,"stop",v,p),H=us(D,"stop",M,p),G=us(D,"stop",e=>{j&&e.preventDefault(),x&&x(e)},p),W=us(D,"start",P,p),q=us(D,"stop",C,p),K=us(D,"stop",E,p),Q=us(D,"stop",e=>{Ri(e.target)||$(!1),g&&g(e)},!1),Y=Di(e=>{O.current||(O.current=e.currentTarget),Ri(e.target)&&($(!0),T&&T(e)),b&&b(e)}),J=()=>{const e=O.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},X=Di(e=>{f&&!e.repeat&&j&&" "===e.key&&D.stop(e,()=>{D.start(e)}),e.target===e.currentTarget&&J()&&" "===e.key&&e.preventDefault(),w&&w(e),e.target===e.currentTarget&&J()&&"Enter"===e.key&&!c&&(e.preventDefault(),_&&_(e))}),Z=Di(e=>{f&&" "===e.key&&j&&!e.defaultPrevented&&D.stop(e,()=>{D.pulsate(e)}),k&&k(e),_&&e.target===e.currentTarget&&J()&&" "===e.key&&!e.defaultPrevented&&_(e)});let ee=l;"button"===ee&&(R.href||R.to)&&(ee=m);const te={};"button"===ee?(te.type=void 0===N?"button":N,te.disabled=c):(R.href||R.to||(te.role="button"),c&&(te["aria-disabled"]=c));const ne=Oi(t,O),re={...n,centerRipple:a,component:l,disabled:c,disableRipple:d,disableTouchRipple:p,focusRipple:f,tabIndex:A,focusVisible:j},ae=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:a}=e,o=da({root:["root",t&&"disabled",n&&"focusVisible"]},is,a);return n&&r&&(o.root+=` ${r}`),o})(re);return(0,u.jsxs)(ls,{as:ee,className:He(ae.root,s),ownerState:re,onBlur:Q,onClick:_,onContextMenu:U,onFocus:Y,onKeyDown:X,onKeyUp:Z,onMouseDown:B,onMouseLeave:G,onMouseUp:H,onDragLeave:V,onTouchEnd:q,onTouchMove:K,onTouchStart:W,ref:ne,tabIndex:c?-1:A,type:N,...te,...R,children:[i,F?(0,u.jsx)(os,{ref:I,center:a,...L}):null]})});function us(e,t,n,r=!1){return Di(a=>(n&&n(a),r||e[t](a),!0))}const ds=cs,ps=Pt;function fs(e){return za("MuiCircularProgress",e)}Na("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const hs=44,ms=ft`
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
`,gs=ft`
  0% {
    stroke-dasharray: 1px, 200px;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -15px;
  }

  100% {
    stroke-dasharray: 1px, 200px;
    stroke-dashoffset: -126px;
  }
`,_s="string"!=typeof ms?pt`
        animation: ${ms} 1.4s linear infinite;
      `:null,ys="string"!=typeof gs?pt`
        animation: ${gs} 1.4s ease-in-out infinite;
      `:null,vs=Sa("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${ps(n.color)}`]]}})(Ca(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:_s||{animation:`${ms} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Ni()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),bs=Sa("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),Ts=Sa("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${ps(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(Ca(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink,style:ys||{animation:`${gs} 1.4s ease-in-out infinite`}}]}))),ws=o.forwardRef(function(e,t){const n=Ea({props:e,name:"MuiCircularProgress"}),{className:r,color:a="primary",disableShrink:o=!1,size:i=40,style:s,thickness:l=3.6,value:c=0,variant:d="indeterminate",...p}=n,f={...n,color:a,disableShrink:o,size:i,thickness:l,value:c,variant:d},h=(e=>{const{classes:t,variant:n,color:r,disableShrink:a}=e;return da({root:["root",n,`color${ps(r)}`],svg:["svg"],circle:["circle",`circle${ps(n)}`,a&&"circleDisableShrink"]},fs,t)})(f),m={},g={},_={};if("determinate"===d){const e=2*Math.PI*((hs-l)/2);m.strokeDasharray=e.toFixed(3),_["aria-valuenow"]=Math.round(c),m.strokeDashoffset=`${((100-c)/100*e).toFixed(3)}px`,g.transform="rotate(-90deg)"}return(0,u.jsx)(vs,{className:He(h.root,r),style:{width:i,height:i,...g,...s},ownerState:f,ref:t,role:"progressbar",..._,...p,children:(0,u.jsx)(bs,{className:h.svg,ownerState:f,viewBox:"22 22 44 44",children:(0,u.jsx)(Ts,{className:h.circle,style:m,ownerState:f,cx:hs,cy:hs,r:(hs-l)/2,fill:"none",strokeWidth:l})})})}),ks=ws;function Ss(e){return za("MuiIconButton",e)}const xs=Na("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),Ms=Sa(ds,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.loading&&t.loading,"default"!==n.color&&t[`color${ps(n.color)}`],n.edge&&t[`edge${ps(n.edge)}`],t[`size${ps(n.size)}`]]}})(Ca(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:e=>!e.disableRipple,style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),Ca(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(Ni()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Ni()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${xs.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${xs.loading}`]:{color:"transparent"}}))),Cs=Sa("span",{name:"MuiIconButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),Es=o.forwardRef(function(e,t){const n=Ea({props:e,name:"MuiIconButton"}),{edge:r=!1,children:a,className:o,color:i="default",disabled:s=!1,disableFocusRipple:l=!1,size:c="medium",id:d,loading:p=null,loadingIndicator:f,...h}=n,m=zi(d),g=f??(0,u.jsx)(ks,{"aria-labelledby":m,color:"inherit",size:16}),_={...n,edge:r,color:i,disabled:s,disableFocusRipple:l,loading:p,loadingIndicator:g,size:c},y=(e=>{const{classes:t,disabled:n,color:r,edge:a,size:o,loading:i}=e;return da({root:["root",i&&"loading",n&&"disabled","default"!==r&&`color${ps(r)}`,a&&`edge${ps(a)}`,`size${ps(o)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},Ss,t)})(_);return(0,u.jsxs)(Ms,{id:p?m:d,className:He(y.root,o),centerRipple:!0,focusRipple:!l,disabled:s||p,ref:t,...h,ownerState:_,children:["boolean"==typeof p&&(0,u.jsx)("span",{className:y.loadingWrapper,style:{display:"contents"},children:(0,u.jsx)(Cs,{className:y.loadingIndicator,ownerState:_,children:p&&g})}),a]})}),Ps=Es;var As=a(5072),Ls=a.n(As),zs=a(7825),Ns=a.n(zs),Rs=a(7659),Os=a.n(Rs),Ds=a(5056),Is=a.n(Ds),js=a(540),$s=a.n(js),Fs=a(1113),Bs=a.n(Fs),Us=a(7935),Vs={};Vs.styleTagTransform=Bs(),Vs.setAttributes=Is(),Vs.insert=Os().bind(null,"head"),Vs.domAPI=Ns(),Vs.insertStyleElement=$s();Ls()(Us.A,Vs);Us.A&&Us.A.locals&&Us.A.locals;const Hs=e=>"string"==typeof e,Gs=()=>{let e,t;const n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},Ws=e=>null==e?"":""+e,qs=/###/g,Ks=e=>e&&e.indexOf("###")>-1?e.replace(qs,"."):e,Qs=e=>!e||Hs(e),Ys=(e,t,n)=>{const r=Hs(t)?t.split("."):t;let a=0;for(;a<r.length-1;){if(Qs(e))return{};const t=Ks(r[a]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++a}return Qs(e)?{}:{obj:e,k:Ks(r[a])}},Js=(e,t,n)=>{const{obj:r,k:a}=Ys(e,t,Object);if(void 0!==r||1===t.length)return void(r[a]=n);let o=t[t.length-1],i=t.slice(0,t.length-1),s=Ys(e,i,Object);for(;void 0===s.obj&&i.length;)o=`${i[i.length-1]}.${o}`,i=i.slice(0,i.length-1),s=Ys(e,i,Object),s&&s.obj&&void 0!==s.obj[`${s.k}.${o}`]&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=n},Xs=(e,t)=>{const{obj:n,k:r}=Ys(e,t);if(n)return n[r]},Zs=(e,t,n)=>{for(const r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?Hs(e[r])||e[r]instanceof String||Hs(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):Zs(e[r],t[r],n):e[r]=t[r]);return e},el=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var tl={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const nl=e=>Hs(e)?e.replace(/[&<>"'\/]/g,e=>tl[e]):e;const rl=[" ",",","?","!",";"],al=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}(20),ol=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let a=e;for(let e=0;e<r.length;){if(!a||"object"!=typeof a)return;let t,o="";for(let i=e;i<r.length;++i)if(i!==e&&(o+=n),o+=r[i],t=a[o],void 0!==t){if(["string","number","boolean"].indexOf(typeof t)>-1&&i<r.length-1)continue;e+=i-e+1;break}a=t}return a},il=e=>e&&e.replace("_","-"),sl={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class ll{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||sl,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,n,r){return r&&!this.debug?null:(Hs(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new ll(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new ll(this.logger,e)}}var cl=new ll;class ul{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);const n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(this.observers[e]){Array.from(this.observers[e].entries()).forEach(e=>{let[t,r]=e;for(let e=0;e<r;e++)t(...n)})}if(this.observers["*"]){Array.from(this.observers["*"].entries()).forEach(t=>{let[r,a]=t;for(let t=0;t<a;t++)r.apply(r,[e,...n])})}}}class dl extends ul{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const a=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let i;e.indexOf(".")>-1?i=e.split("."):(i=[e,t],n&&(Array.isArray(n)?i.push(...n):Hs(n)&&a?i.push(...n.split(a)):i.push(n)));const s=Xs(this.data,i);return!s&&!t&&!n&&e.indexOf(".")>-1&&(e=i[0],t=i[1],n=i.slice(2).join(".")),!s&&o&&Hs(n)?ol(this.data&&this.data[e]&&this.data[e][t],n,a):s}addResource(e,t,n,r){let a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const o=void 0!==a.keySeparator?a.keySeparator:this.options.keySeparator;let i=[e,t];n&&(i=i.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(i=e.split("."),r=t,t=i[1]),this.addNamespaces(t),Js(this.data,i,r),a.silent||this.emit("added",e,t,n,r)}addResources(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const r in n)(Hs(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,a){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},i=[e,t];e.indexOf(".")>-1&&(i=e.split("."),r=n,n=t,t=i[1]),this.addNamespaces(t);let s=Xs(this.data,i)||{};o.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?Zs(s,n,a):s={...s,...n},Js(this.data,i,s),o.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var pl={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,a){return e.forEach(e=>{this.processors[e]&&(t=this.processors[e].process(t,n,r,a))}),t}};const fl={};class hl extends ul{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),((e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})})(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=cl.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;const n=this.resolve(e,t);return n&&void 0!==n.res}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");const r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let a=t.ns||this.options.defaultNS||[];const o=n&&e.indexOf(n)>-1,i=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||((e,t,n)=>{t=t||"",n=n||"";const r=rl.filter(e=>t.indexOf(e)<0&&n.indexOf(e)<0);if(0===r.length)return!0;const a=al.getRegExp(`(${r.map(e=>"?"===e?"\\?":e).join("|")})`);let o=!a.test(e);if(!o){const t=e.indexOf(n);t>0&&!a.test(e.substring(0,t))&&(o=!0)}return o})(e,n,r));if(o&&!i){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:Hs(a)?[a]:a};const o=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(o[0])>-1)&&(a=o.shift()),e=o.join(r)}return{key:e,namespaces:Hs(a)?[a]:a}}translate(e,t,n){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const r=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,a=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:o,namespaces:i}=this.extractFromKey(e[e.length-1],t),s=i[i.length-1],l=t.lng||this.language,c=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(l&&"cimode"===l.toLowerCase()){if(c){const e=t.nsSeparator||this.options.nsSeparator;return r?{res:`${s}${e}${o}`,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:`${s}${e}${o}`}return r?{res:o,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:o}const u=this.resolve(e,t);let d=u&&u.res;const p=u&&u.usedKey||o,f=u&&u.exactUsedKey||o,h=Object.prototype.toString.apply(d),m=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,g=!this.i18nFormat||this.i18nFormat.handleAsObject,_=!Hs(d)&&"boolean"!=typeof d&&"number"!=typeof d;if(!(g&&d&&_&&["[object Number]","[object Function]","[object RegExp]"].indexOf(h)<0)||Hs(m)&&Array.isArray(d))if(g&&Hs(m)&&Array.isArray(d))d=d.join(m),d&&(d=this.extendTranslation(d,e,t,n));else{let r=!1,i=!1;const c=void 0!==t.count&&!Hs(t.count),p=hl.hasDefaultValue(t),f=c?this.pluralResolver.getSuffix(l,t.count,t):"",h=t.ordinal&&c?this.pluralResolver.getSuffix(l,t.count,{ordinal:!1}):"",m=c&&!t.ordinal&&0===t.count&&this.pluralResolver.shouldUseIntlApi(),g=m&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${f}`]||t[`defaultValue${h}`]||t.defaultValue;!this.isValidLookup(d)&&p&&(r=!0,d=g),this.isValidLookup(d)||(i=!0,d=o);const _=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&i?void 0:d,y=p&&g!==d&&this.options.updateMissing;if(i||r||y){if(this.logger.log(y?"updateKey":"missingKey",l,s,o,y?g:d),a){const e=this.resolve(o,{...t,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const n=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&n&&n[0])for(let t=0;t<n.length;t++)e.push(n[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);const r=(e,n,r)=>{const a=p&&r!==d?r:_;this.options.missingKeyHandler?this.options.missingKeyHandler(e,s,n,a,y,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,s,n,a,y,t),this.emit("missingKey",e,s,n,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&c?e.forEach(e=>{const n=this.pluralResolver.getSuffixes(e,t);m&&t[`defaultValue${this.options.pluralSeparator}zero`]&&n.indexOf(`${this.options.pluralSeparator}zero`)<0&&n.push(`${this.options.pluralSeparator}zero`),n.forEach(n=>{r([e],o+n,t[`defaultValue${n}`]||g)})}):r(e,o,g))}d=this.extendTranslation(d,e,t,u,n),i&&d===o&&this.options.appendNamespaceToMissingKey&&(d=`${s}:${o}`),(i||r)&&this.options.parseMissingKeyHandler&&(d="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${s}:${o}`:o,r?d:void 0):this.options.parseMissingKeyHandler(d))}else{if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,d,{...t,ns:i}):`key '${o} (${this.language})' returned an object instead of string.`;return r?(u.res=e,u.usedParams=this.getUsedParamsDetails(t),u):e}if(a){const e=Array.isArray(d),n=e?[]:{},r=e?f:p;for(const e in d)if(Object.prototype.hasOwnProperty.call(d,e)){const o=`${r}${a}${e}`;n[e]=this.translate(o,{...t,joinArrays:!1,ns:i}),n[e]===o&&(n[e]=d[e])}d=n}}return r?(u.res=d,u.usedParams=this.getUsedParamsDetails(t),u):d}extendTranslation(e,t,n,r,a){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const i=Hs(e)&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let s;if(i){const t=e.match(this.interpolator.nestingRegexp);s=t&&t.length}let l=n.replace&&!Hs(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,n.lng||this.language||r.usedLng,n),i){const t=e.match(this.interpolator.nestingRegexp);s<(t&&t.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&r&&r.res&&(n.lng=this.language||r.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return a&&a[0]===r[0]&&!n.context?(o.logger.warn(`It seems you are nesting recursively key: ${r[0]} in key: ${t[0]}`),null):o.translate(...r,t)},n)),n.interpolation&&this.interpolator.reset()}const i=n.postProcess||this.options.postProcess,s=Hs(i)?[i]:i;return null!=e&&s&&s.length&&!1!==n.applyPostProcessor&&(e=pl.handle(s,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e){let t,n,r,a,o,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Hs(e)&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(t))return;const s=this.extractFromKey(e,i),l=s.key;n=l;let c=s.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const u=void 0!==i.count&&!Hs(i.count),d=u&&!i.ordinal&&0===i.count&&this.pluralResolver.shouldUseIntlApi(),p=void 0!==i.context&&(Hs(i.context)||"number"==typeof i.context)&&""!==i.context,f=i.lngs?i.lngs:this.languageUtils.toResolveHierarchy(i.lng||this.language,i.fallbackLng);c.forEach(e=>{this.isValidLookup(t)||(o=e,!fl[`${f[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(o)&&(fl[`${f[0]}-${e}`]=!0,this.logger.warn(`key "${n}" for languages "${f.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),f.forEach(n=>{if(this.isValidLookup(t))return;a=n;const o=[l];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(o,l,n,e,i);else{let e;u&&(e=this.pluralResolver.getSuffix(n,i.count,i));const t=`${this.options.pluralSeparator}zero`,r=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(o.push(l+e),i.ordinal&&0===e.indexOf(r)&&o.push(l+e.replace(r,this.options.pluralSeparator)),d&&o.push(l+t)),p){const n=`${l}${this.options.contextSeparator}${i.context}`;o.push(n),u&&(o.push(n+e),i.ordinal&&0===e.indexOf(r)&&o.push(n+e.replace(r,this.options.pluralSeparator)),d&&o.push(n+t))}}let s;for(;s=o.pop();)this.isValidLookup(t)||(r=s,t=this.getResource(n,e,s,i))}))})}),{res:t,usedKey:n,exactUsedKey:r,usedLng:a,usedNS:o}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=e.replace&&!Hs(e.replace);let r=n?e.replace:e;if(n&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(const e of t)delete r[e]}return r}static hasDefaultValue(e){const t="defaultValue";for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,12)&&void 0!==e[n])return!0;return!1}}const ml=e=>e.charAt(0).toUpperCase()+e.slice(1);class gl{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=cl.create("languageUtils")}getScriptPartFromCode(e){if(!(e=il(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=il(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(Hs(e)&&e.indexOf("-")>-1){if("undefined"!=typeof Intl&&void 0!==Intl.getCanonicalLocales)try{let t=Intl.getCanonicalLocales(e)[0];if(t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t)return t}catch(e){}const t=["hans","hant","latn","cyrl","cans","mong","arab"];let n=e.split("-");return this.options.lowerCaseLng?n=n.map(e=>e.toLowerCase()):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=ml(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=ml(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=ml(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;const n=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(n)||(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;const n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find(e=>e===n?e:e.indexOf("-")<0&&n.indexOf("-")<0?void 0:e.indexOf("-")>0&&n.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===n||0===e.indexOf(n)&&n.length>1?e:void 0)}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),Hs(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){const n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],a=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return Hs(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&a(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&a(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&a(this.getLanguagePartFromCode(e))):Hs(e)&&a(this.formatLanguageCode(e)),n.forEach(e=>{r.indexOf(e)<0&&a(this.formatLanguageCode(e))}),r}}let _l=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],yl={1:e=>Number(e>1),2:e=>Number(1!=e),3:e=>0,4:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),5:e=>Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5),6:e=>Number(1==e?0:e>=2&&e<=4?1:2),7:e=>Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),8:e=>Number(1==e?0:2==e?1:8!=e&&11!=e?2:3),9:e=>Number(e>=2),10:e=>Number(1==e?0:2==e?1:e<7?2:e<11?3:4),11:e=>Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3),12:e=>Number(e%10!=1||e%100==11),13:e=>Number(0!==e),14:e=>Number(1==e?0:2==e?1:3==e?2:3),15:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2),16:e=>Number(e%10==1&&e%100!=11?0:0!==e?1:2),17:e=>Number(1==e||e%10==1&&e%100!=11?0:1),18:e=>Number(0==e?0:1==e?1:2),19:e=>Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3),20:e=>Number(1==e?0:0==e||e%100>0&&e%100<20?1:2),21:e=>Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0),22:e=>Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)};const vl=["v1","v2","v3"],bl=["v4"],Tl={zero:0,one:1,two:2,few:3,many:4,other:5};class wl{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=cl.create("pluralResolver"),this.options.compatibilityJSON&&!bl.includes(this.options.compatibilityJSON)||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(()=>{const e={};return _l.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:yl[t.fc]}})}),e})(),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi()){const n=il("dev"===e?"en":e),r=t.ordinal?"ordinal":"cardinal",a=JSON.stringify({cleanedCode:n,type:r});if(a in this.pluralRulesCache)return this.pluralRulesCache[a];let o;try{o=new Intl.PluralRules(n,{type:r})}catch(n){if(!e.match(/-|_/))return;const r=this.languageUtils.getLanguagePartFromCode(e);o=this.getRule(r,t)}return this.pluralRulesCache[a]=o,o}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(e,t);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort((e,t)=>Tl[e]-Tl[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):n.numbers.map(n=>this.getSuffix(e,n,t)):[]}getSuffix(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=this.getRule(e,n);return r?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:this.getSuffixRetroCompatible(r,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){const n=e.noAbs?e.plurals(t):e.plurals(Math.abs(t));let r=e.numbers[n];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===r?r="plural":1===r&&(r=""));const a=()=>this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString();return"v1"===this.options.compatibilityJSON?1===r?"":"number"==typeof r?`_plural_${r.toString()}`:a():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?a():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!vl.includes(this.options.compatibilityJSON)}}const kl=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=((e,t,n)=>{const r=Xs(e,n);return void 0!==r?r:Xs(t,n)})(e,t,n);return!o&&a&&Hs(n)&&(o=ol(e,n,r),void 0===o&&(o=ol(t,n,r))),o},Sl=e=>e.replace(/\$/g,"$$$$");class xl{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=cl.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:a,prefixEscaped:o,suffix:i,suffixEscaped:s,formatSeparator:l,unescapeSuffix:c,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:p,nestingSuffix:f,nestingSuffixEscaped:h,nestingOptionsSeparator:m,maxReplaces:g,alwaysFormat:_}=e.interpolation;this.escape=void 0!==t?t:nl,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=a?el(a):o||"{{",this.suffix=i?el(i):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=c?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=d?el(d):p||el("$t("),this.nestingSuffix=f?el(f):h||el(")"),this.nestingOptionsSeparator=m||",",this.maxReplaces=g||1e3,this.alwaysFormat=void 0!==_&&_,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let a,o,i;const s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},l=e=>{if(e.indexOf(this.formatSeparator)<0){const a=kl(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(a,void 0,n,{...r,...t,interpolationkey:e}):a}const a=e.split(this.formatSeparator),o=a.shift().trim(),i=a.join(this.formatSeparator).trim();return this.format(kl(t,s,o,this.options.keySeparator,this.options.ignoreJSONStructure),i,n,{...r,...t,interpolationkey:o})};this.resetRegExp();const c=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,u=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>Sl(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?Sl(this.escape(e)):Sl(e)}].forEach(t=>{for(i=0;a=t.regex.exec(e);){const n=a[1].trim();if(o=l(n),void 0===o)if("function"==typeof c){const t=c(e,a,r);o=Hs(t)?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))o="";else{if(u){o=a[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),o=""}else Hs(o)||this.useRawValueToEscape||(o=Ws(o));const s=t.safeValue(o);if(e=e.replace(a[0],s),u?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=a[0].length):t.regex.lastIndex=0,i++,i>=this.maxReplaces)break}}),e}nest(e,t){let n,r,a,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=(e,t)=>{const n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;const r=e.split(new RegExp(`${n}[ ]*{`));let o=`{${r[1]}`;e=r[0],o=this.interpolate(o,a);const i=o.match(/'/g),s=o.match(/"/g);(i&&i.length%2==0&&!s||s.length%2!=0)&&(o=o.replace(/'/g,'"'));try{a=JSON.parse(o),t&&(a={...t,...a})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${o}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,e};for(;n=this.nestingRegexp.exec(e);){let s=[];a={...o},a=a.replace&&!Hs(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let l=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){const e=n[1].split(this.formatSeparator).map(e=>e.trim());n[1]=e.shift(),s=e,l=!0}if(r=t(i.call(this,n[1].trim(),a),a),r&&n[0]===e&&!Hs(r))return r;Hs(r)||(r=Ws(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),r=""),l&&(r=s.reduce((e,t)=>this.format(e,t,o.lng,{...o,interpolationkey:n[1].trim()}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}const Ml=e=>{const t={};return(n,r,a)=>{let o=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(o={...o,[a.interpolationkey]:void 0});const i=r+JSON.stringify(o);let s=t[i];return s||(s=e(il(r),a),t[i]=s),s(n)}};class Cl{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=cl.create("formatter"),this.options=e,this.formats={number:Ml((e,t)=>{const n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:Ml((e,t)=>{const n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)}),datetime:Ml((e,t)=>{const n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:Ml((e,t)=>{const n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")}),list:Ml((e,t)=>{const n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})},this.init(e)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};this.formatSeparator=t.interpolation.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=Ml(t)}format(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const a=t.split(this.formatSeparator);if(a.length>1&&a[0].indexOf("(")>1&&a[0].indexOf(")")<0&&a.find(e=>e.indexOf(")")>-1)){const e=a.findIndex(e=>e.indexOf(")")>-1);a[0]=[a[0],...a.splice(1,e)].join(this.formatSeparator)}return a.reduce((e,t)=>{const{formatName:a,formatOptions:o}=(e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const a=r[1].substring(0,r[1].length-1);"currency"===t&&a.indexOf(":")<0?n.currency||(n.currency=a.trim()):"relativetime"===t&&a.indexOf(":")<0?n.range||(n.range=a.trim()):a.split(";").forEach(e=>{if(e){const[t,...r]=e.split(":"),a=r.join(":").trim().replace(/^'+|'+$/g,""),o=t.trim();n[o]||(n[o]=a),"false"===a&&(n[o]=!1),"true"===a&&(n[o]=!0),isNaN(a)||(n[o]=parseInt(a,10))}})}return{formatName:t,formatOptions:n}})(t);if(this.formats[a]){let t=e;try{const i=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},s=i.locale||i.lng||r.locale||r.lng||n;t=this.formats[a](e,s,{...o,...r,...i})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${a}`),e},e)}}class El extends ul{constructor(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=cl.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,r.backend,r)}queueLoad(e,t,n,r){const a={},o={},i={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{const i=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[i]=2:this.state[i]<0||(1===this.state[i]?void 0===o[i]&&(o[i]=!0):(this.state[i]=1,r=!1,void 0===o[i]&&(o[i]=!0),void 0===a[i]&&(a[i]=!0),void 0===s[t]&&(s[t]=!0)))}),r||(i[e]=!0)}),(Object.keys(a).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(a),pending:Object.keys(o),toLoadLanguages:Object.keys(i),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){const r=e.split("|"),a=r[0],o=r[1];t&&this.emit("failedLoading",a,o,t),!t&&n&&this.store.addResourceBundle(a,o,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);const i={};this.queue.forEach(n=>{((e,t,n)=>{const{obj:r,k:a}=Ys(e,t,Object);r[a]=r[a]||[],r[a].push(n)})(n.loaded,[a],o),((e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)})(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(e=>{i[e]||(i[e]={});const t=n.loaded[e];t.length&&t.forEach(t=>{void 0===i[e][t]&&(i[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",i),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:a,callback:o});this.readingCalls++;const i=(i,s)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}i&&s&&r<this.maxRetries?setTimeout(()=>{this.read.call(this,e,t,n,r+1,2*a,o)},a):o(i,s)},s=this.backend[n].bind(this.backend);if(2!==s.length)return s(e,t,i);try{const n=s(e,t);n&&"function"==typeof n.then?n.then(e=>i(null,e)).catch(i):i(null,n)}catch(e){i(e)}}prepareLoading(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();Hs(e)&&(e=this.languageUtils.toResolveHierarchy(e)),Hs(t)&&(t=[t]);const a=this.queueLoad(e,t,n,r);if(!a.toLoad.length)return a.pending.length||r(),null;a.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e.split("|"),r=n[0],a=n[1];this.read(r,a,"read",void 0,void 0,(n,o)=>{n&&this.logger.warn(`${t}loading namespace ${a} for language ${r} failed`,n),!n&&o&&this.logger.log(`${t}loaded namespace ${a} for language ${r}`,o),this.loaded(e,n,o)})}saveMissing(e,t,n,r,a){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},i=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");else if(null!=n&&""!==n){if(this.backend&&this.backend.create){const s={...o,isUpdate:a},l=this.backend.create.bind(this.backend);if(l.length<6)try{let a;a=5===l.length?l(e,t,n,r,s):l(e,t,n,r),a&&"function"==typeof a.then?a.then(e=>i(null,e)).catch(i):i(null,a)}catch(e){i(e)}else l(e,t,n,r,i,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}}const Pl=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),Hs(e[1])&&(t.defaultValue=e[1]),Hs(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),Al=e=>(Hs(e.ns)&&(e.ns=[e.ns]),Hs(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Hs(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),Ll=()=>{};class zl extends ul{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;var n;if(super(),this.options=Al(e),this.services={},this.logger=cl,this.modules={external:[]},n=this,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(e=>{"function"==typeof n[e]&&(n[e]=n[e].bind(n))}),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&(Hs(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const r=Pl();this.options={...r,...this.options,...Al(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...r.interpolation,...this.options.interpolation}),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator);const a=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let t;this.modules.logger?cl.init(a(this.modules.logger),this.options):cl.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=Cl);const n=new gl(this.options);this.store=new dl(this.options.resources,this.options);const o=this.services;o.logger=cl,o.resourceStore=this.store,o.languageUtils=n,o.pluralResolver=new wl(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!t||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(o.formatter=a(t),o.formatter.init(o,this.options),this.options.interpolation.format=o.formatter.format.bind(o.formatter)),o.interpolator=new xl(this.options),o.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},o.backendConnector=new El(a(this.modules.backend),o.resourceStore,o,this.options),o.backendConnector.on("*",function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];e.emit(t,...r)}),this.modules.languageDetector&&(o.languageDetector=a(this.modules.languageDetector),o.languageDetector.init&&o.languageDetector.init(o,this.options.detection,this.options)),this.modules.i18nFormat&&(o.i18nFormat=a(this.modules.i18nFormat),o.i18nFormat.init&&o.i18nFormat.init(this)),this.translator=new hl(this.services,this.options),this.translator.on("*",function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];e.emit(t,...r)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,n||(n=Ll),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(t=>{this[t]=function(){return e.store[t](...arguments)}});["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(t=>{this[t]=function(){return e.store[t](...arguments),e}});const o=Gs(),i=()=>{const e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(t),n(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?i():setTimeout(i,0),o}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ll;const n=Hs(e)?e:this.language;if("function"==typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if(n&&"cimode"===n.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return t();const e=[],r=t=>{if(!t)return;if("cimode"===t)return;this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)})};if(n)r(n);else{this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>r(e))}this.options.preload&&this.options.preload.forEach(e=>r(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)})}else t(null)}reloadResources(e,t,n){const r=Gs();return"function"==typeof e&&(n=e,e=void 0),"function"==typeof t&&(n=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),n||(n=Ll),this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&pl.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e<this.languages.length;e++){const t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;const r=Gs();this.emit("languageChanging",e);const a=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},o=(e,o)=>{o?(a(o),this.translator.changeLanguage(o),this.isLanguageChangingTo=void 0,this.emit("languageChanged",o),this.logger.log("languageChanged",o)):this.isLanguageChangingTo=void 0,r.resolve(function(){return n.t(...arguments)}),t&&t(e,function(){return n.t(...arguments)})},i=t=>{e||t||!this.services.languageDetector||(t=[]);const n=Hs(t)?t:this.services.languageUtils.getBestMatchFromCodes(t);n&&(this.language||a(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,e=>{o(e,n)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(i):this.services.languageDetector.detect(i):i(e):i(this.services.languageDetector.detect()),r}getFixedT(e,t,n){var r=this;const a=function(e,t){let o;if("object"!=typeof t){for(var i=arguments.length,s=new Array(i>2?i-2:0),l=2;l<i;l++)s[l-2]=arguments[l];o=r.options.overloadTranslationOptionHandler([e,t].concat(s))}else o={...t};o.lng=o.lng||a.lng,o.lngs=o.lngs||a.lngs,o.ns=o.ns||a.ns,""!==o.keyPrefix&&(o.keyPrefix=o.keyPrefix||n||a.keyPrefix);const c=r.options.keySeparator||".";let u;return u=o.keyPrefix&&Array.isArray(e)?e.map(e=>`${o.keyPrefix}${c}${e}`):o.keyPrefix?`${o.keyPrefix}${c}${e}`:e,r.t(u,o)};return Hs(e)?a.lng=e:a.lngs=e,a.ns=t,a.keyPrefix=n,a}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,a=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const o=(e,t)=>{const n=this.services.backendConnector.state[`${e}|${t}`];return-1===n||0===n||2===n};if(t.precheck){const e=t.precheck(this,o);if(void 0!==e)return e}return!!this.hasResourceBundle(n,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!o(n,e)||r&&!o(a,e)))}loadNamespaces(e,t){const n=Gs();return this.options.ns?(Hs(e)&&(e=[e]),e.forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){const n=Gs();Hs(e)&&(e=[e]);const r=this.options.preload||[],a=e.filter(e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return a.length?(this.options.preload=r.concat(a),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=this.services&&this.services.languageUtils||new gl(Pl());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new zl(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ll;const n=e.forkResourceStore;n&&delete e.forkResourceStore;const r={...this.options,...e,isClone:!0},a=new zl(r);void 0===e.debug&&void 0===e.prefix||(a.logger=a.logger.clone(e));return["store","services","language"].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},n&&(a.store=new dl(this.store.data,r),a.services.resourceStore=a.store),a.translator=new hl(a.services,r),a.translator.on("*",function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];a.emit(e,...n)}),a.init(r,t),a.translator.options=r,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Nl=zl.createInstance();Nl.createInstance=zl.createInstance;Nl.createInstance,Nl.dir,Nl.init,Nl.loadResources,Nl.reloadResources,Nl.use,Nl.changeLanguage,Nl.getFixedT,Nl.t,Nl.exists,Nl.setDefaultNamespace,Nl.hasLoadedNamespace,Nl.loadNamespaces,Nl.loadLanguages;a(4915);Object.create(null);const Rl=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Ol={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},Dl=e=>Ol[e];let Il={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(Rl,Dl)};let jl;const $l={type:"3rdParty",init(e){!function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Il={...Il,...e}}(e.options.react),(e=>{jl=e})(e)}};(0,o.createContext)();const Fl={en:{translation:{ext_description:"Translate the page and selected text.",ag_chat:"AgChat",smart_translation:"Smart Translation",try_smart_translation:"Try Smart Translation for more styles!",built_in_ai_translator:"Built-in AI Translator",translate_selected_text_in_sidepanel:"Translate selected text in the sidepanel",unsupportedBrowser:"Your browser does not support the built-in AI translator. Please upgrade to the latest version.",languageSettings:"Language Settings",sourceLanguage:"Source Language",targetLanguage:"Target Language",modelReady:"Model Ready",modelDownloadable:"Model Downloadable",notSupported:"Not Supported",checking:"Checking...",unknown:"Unknown",downloadRequired:"A translation model is required for offline use.",downloadModel:"Download Model",enterText:"Enter text to translate",translating:"Translating...",translate:"Translate",translationResult:"Translation Result",errorCheckingAvailability:"Error checking availability: {{message}}",errorCreatingTranslator:"Failed to create translator: {{message}}",errorDownloadingModel:"Failed to download model: {{message}}",errorTranslationFailed:"Translation failed: {{message}}",modelUnavailable:"Model Unavailable",ar:"Arabic",zh:"Chinese",nl:"Dutch",en:"English",fr:"French",de:"German",hi:"Hindi",id:"Indonesian",it:"Italian",ja:"Japanese",ko:"Korean",pl:"Polish",pt:"Portuguese",ru:"Russian",es:"Spanish",th:"Thai",tr:"Turkish",vi:"Vietnamese",vip_expiration_time:"VIP Expiration Time",login:"Login",welcome_title:"Welcome to AG Translate!",welcome_subtitle:"Thank you for installing our extension. Here are some tips to get you started.",welcome_shortcut_translate_description:"Translate the current page",welcome_shortcut_sidepanel_description:"Open/Close the side panel",welcome_customize_settings:"Customize your translation settings and preferences.",welcome_open_settings_button:"Open Settings",welcome_shortcut_not_set:"Not set, click to set",welcome_keyboard_shortcuts:"Keyboard Shortcuts",timg_image_translate_all:"Translate all images on page",options_search_image_pop_btn_vip_only:"Only VIP users can disable this option.",Enabled:"Enabled",Disabled:"Disabled",options_search_image_pop_btn_title:"Show search button on images",options_search_image_pop_btn_description:"When you hover over an image, a search button will appear.",subscribe_to_vip:"Subscribe to VIP",agbtn_group:"AG Button Group",agbtn_group_title:"AG Button Group",agbtn_group_description:"Show a group of action buttons on the page.",options_general:"General",options_page_translate:"Page Translate",options_popper:"Popup Translator",options_image_search_button:"Image Search Button",input_translator:"Input Translator",Translation_Source:"Translation Source",Quick_Translation:"Quick Translation",Turn_on_quick_translation:"Turn on quick translation",Right_click_menu:"Right-click menu",Translate_current_page:"Translate current page",Side_Panel:"Side Panel",Translate_selected_text_in_Sidepanel:"Translate selected text in Sidepanel",Appearance:"Appearance",Light_mode:"Light mode",Dark_mode:"Dark mode",options_pdf:"PDF",options_popper_size:"Popup Size",options_popper_width:"Width",options_popper_height:"Height",translate_pdf:"Translate PDF",pdf_tip:"Requires additional permissions to translate local PDF files.",edit:"edit",Translation_Mode_Theme_3:"Dashed border",Translation_Mode_Theme_4:"Solid border",Translation_Mode_Theme_5:"Blur effect (Learning mode)",Translation_Mode_Theme_6:"Transparency",Translation_Mode_Theme_7:"Dotted Underline",Translation_Mode_Theme_8:"Dividing Line",Translation_Mode_Theme_9:"Highlight",Translation_Mode_Theme_10:"Marker pen",Translation_Mode_Theme_11:"Marker 2",Translation_Mode_Theme_12:"Citation Style",Translation_Mode_Theme_13:"Weakened",Translation_Mode_Theme_14:"Dark grey",Translation_Mode_Theme_15:"White paper shadow effect",Translation_Mode_Theme_16:"Italic",Translation_Mode_Theme_17:"Bold",Translation_Mode_Theme_18:"Thin dotted underline",Translation_Mode_Theme_19:"Wavy Lines",Translation_Mode_Theme_20:"The system comes with a dotted underline",Translation_Mode_Theme_21:"The system comes with a dotted underline",Translation_Mode_Theme_22:"The system comes with a straight line underline",input_translator_trigger_mode:"Trigger Mode",input_translator_live_mode:"Live",input_translator_hotkey_mode:"Hotkey (Ctrl+Enter)",input_translator_manual_mode:"Manual",input_translator_blacklist:"Blacklisted Websites",input_translator_blacklist_desc:"One website per line. The input translator will be disabled on these sites.",translate_service:"Translation Service",translate_service_google:"Google Translate",translate_service_bing:"Bing Translate",Translation_Mode_Prefer:"Translation Mode Preference",Translation_Mode_Prefer_All:"Bilingual",Translation_Mode_Prefer_Translation:"Translation Only",Translation_Mode_Theme:"Theme",Translation_Mode_Theme_0:"Default",Translation_Mode_Theme_1:"Light",Translation_Mode_Theme_2:"Dark",no_translate_langs:"Do not translate these languages",no_translate_langs_help:"When the language of a paragraph on the page is one of the following, translation will be skipped",shortcut_settings_title:"Keyboard Shortcuts",CMD_TRANSLATE_CURRENT_PAGE:"Translate current page",CMD_TRANSLATE_CURRENT_PAGE_hint:"Press again to switch between display modes",CMD_OPEN_CLOSE_SIDE_PANEL:"Open/Close side panel",shortcut_not_set:"Not set",shortcut_settings_description:"To configure or change shortcuts, please go to the browser's extension shortcuts page.",shortcut_settings_button:"Go to Settings"}},zh:{translation:{ext_description:"翻译页面和选定文本。",ag_chat:"AgChat",smart_translation:"智能翻译",try_smart_translation:"体验智能翻译，支持多种风格！",built_in_ai_translator:"内置AI翻译",translate_selected_text_in_sidepanel:"在侧边栏翻译选定文本",unsupportedBrowser:"您的浏览器不支持内置AI翻译器。请升级到最新版本。",languageSettings:"语言设置",sourceLanguage:"源语言",targetLanguage:"目标语言",modelReady:"模型已就绪",modelDownloadable:"模型可下载",notSupported:"不支持",checking:"检查中...",unknown:"未知",downloadRequired:"离线使用需要翻译模型。",downloadModel:"下载模型",enterText:"输入要翻译的文本",translating:"翻译中...",translate:"翻译",translationResult:"翻译结果",errorCheckingAvailability:"检查可用性时出错：{{message}}",errorCreatingTranslator:"创建翻译器失败：{{message}}",errorDownloadingModel:"下载模型失败：{{message}}",errorTranslationFailed:"翻译失败：{{message}}",modelUnavailable:"模型不可用",ar:"阿拉伯语",zh:"中文",nl:"荷兰语",en:"英语",fr:"法语",de:"德语",hi:"印地语",id:"印度尼西亚语",it:"意大利语",ja:"日语",ko:"韩语",pl:"波兰语",pt:"葡萄牙语",ru:"俄语",es:"西班牙语",th:"泰语",tr:"土耳其语",vi:"越南语",vip_expiration_time:"VIP过期时间",login:"登录",welcome_title:"欢迎使用AG翻译！",welcome_subtitle:"感谢您安装我们的扩展。这里有一些入门提示。",welcome_shortcut_translate_description:"翻译当前页面",welcome_shortcut_sidepanel_description:"打开/关闭侧边栏",welcome_customize_settings:"自定义您的翻译设置和偏好。",welcome_open_settings_button:"打开设置",welcome_shortcut_not_set:"未设置，点击设置",welcome_keyboard_shortcuts:"键盘快捷键",timg_image_translate_all:"翻译页面上的所有图片",options_search_image_pop_btn_vip_only:"只有VIP用户才能禁用此选项。",Enabled:"已启用",Disabled:"已禁用",options_search_image_pop_btn_title:"在图片上显示搜索按钮",options_search_image_pop_btn_description:"当您将鼠标悬停在图片上时，会显示一个搜索按钮。",subscribe_to_vip:"订阅VIP",agbtn_group:"AG 按钮组",agbtn_group_title:"AG 按钮组",agbtn_group_description:"在页面上显示一组操作按钮。",options_general:"通用",options_page_translate:"页面翻译",options_popper:"划词翻译",options_image_search_button:"图片搜索按钮",input_translator:"输入翻译器",Translation_Source:"翻译源",Quick_Translation:"快速翻译",Turn_on_quick_translation:"开启快速翻译",Right_click_menu:"右键菜单",Translate_current_page:"翻译当前页面",Side_Panel:"侧边栏",Translate_selected_text_in_Sidepanel:"在侧边栏翻译选定文本",Appearance:"外观",Light_mode:"浅色模式",Dark_mode:"深色模式",options_pdf:"PDF",translate_pdf:"翻译PDF",pdf_tip:"翻译本地PDF文件需要额外权限。",input_translator_trigger_mode:"触发模式",input_translator_live_mode:"实时",input_translator_hotkey_mode:"快捷键 (Ctrl+Enter)",input_translator_manual_mode:"手动",input_translator_blacklist:"黑名单网站",input_translator_blacklist_desc:"每行一个网站。输入翻译器将在这些网站上被禁用。",options_popper_size:"弹窗大小",options_popper_width:"宽度",options_popper_height:"高度",translate_service:"翻译服务",translate_service_google:"谷歌翻译",translate_service_bing:"必应翻译",Translation_Mode_Prefer:"翻译模式偏好",Translation_Mode_Prefer_All:"双语",Translation_Mode_Prefer_Translation:"仅翻译",Translation_Mode_Theme:"主题",Translation_Mode_Theme_0:"默认",Translation_Mode_Theme_1:"浅色",Translation_Mode_Theme_2:"深色",no_translate_langs:"不翻译这些语言",no_translate_langs_help:"当页面中某一段落的语言为下列语言时，将跳过翻译",edit:"编辑",Translation_Mode_Theme_3:"虚线边框",Translation_Mode_Theme_4:"实线边框",Translation_Mode_Theme_5:"模糊效果（学习模式）",Translation_Mode_Theme_6:"透明效果",Translation_Mode_Theme_7:"点状下划线",Translation_Mode_Theme_8:"分割线",Translation_Mode_Theme_9:"高亮",Translation_Mode_Theme_10:"马克笔",Translation_Mode_Theme_11:"马克笔2",Translation_Mode_Theme_12:"引用样式",Translation_Mode_Theme_13:"弱化",Translation_Mode_Theme_14:"黑灰色",Translation_Mode_Theme_15:"白纸阴影效果",Translation_Mode_Theme_16:"斜体",Translation_Mode_Theme_17:"加粗",Translation_Mode_Theme_18:"细虚线下划线",Translation_Mode_Theme_19:"波浪线",Translation_Mode_Theme_20:"系统自带点状下划线",Translation_Mode_Theme_21:"系统自带虚线下划线",Translation_Mode_Theme_22:"系统自带直线下划线",shortcut_settings_title:"快捷键设置",CMD_TRANSLATE_CURRENT_PAGE:"翻译当前页面",CMD_TRANSLATE_CURRENT_PAGE_hint:"再次按下时会在多个显示模式之间切换",CMD_OPEN_CLOSE_SIDE_PANEL:"打开/关闭侧边栏",shortcut_not_set:"未设置",shortcut_settings_description:"如需配置或更改快捷键，请前往浏览器的扩展程序快捷键页面。",shortcut_settings_button:"前往设置"}},fr:{translation:{smart_translation:"Traduction Intelligente",try_smart_translation:"Essayez la traduction intelligente pour plus de styles !",unsupportedBrowser:"Votre navigateur ne prend pas en charge le traducteur IA intégré. Veuillez passer à la dernière version.",languageSettings:"Paramètres de langue",sourceLanguage:"Langue source",targetLanguage:"Langue cible",modelReady:"Modèle prêt",modelDownloadable:"Modèle téléchargeable",notSupported:"Non pris en charge",checking:"Vérification...",unknown:"Inconnu",downloadRequired:"Un modèle de traduction est requis pour une utilisation hors ligne.",downloadModel:"Télécharger le modèle",enterText:"Saisir le texte à traduire",translating:"Traduction...",translate:"Traduire",translationResult:"Résultat de la traduction",errorCheckingAvailability:"Erreur lors de la vérification de la disponibilité : {{message}}",errorCreatingTranslator:"Échec de la création du traducteur : {{message}}",errorDownloadingModel:"Échec du téléchargement du modèle : {{message}}",errorTranslationFailed:"Échec de la traduction : {{message}}",modelUnavailable:"Modèle indisponible",ar:"Arabe",zh:"Chinois",nl:"Néerlandais",en:"Anglais",fr:"Français",de:"Allemand",hi:"Hindi",id:"Indonésien",it:"Italien",ja:"Japonais",ko:"Coréen",pl:"Polonais",pt:"Portugais",ru:"Russe",es:"Espagnol",th:"Thaï",tr:"Turc",vi:"Vietnamien",welcome_title:"Bienvenue chez AG Translate !",welcome_subtitle:"Merci d'avoir installé notre extension. Voici quelques conseils pour commencer.",welcome_shortcut_translate_description:"Traduire la page actuelle",welcome_shortcut_sidepanel_description:"Ouvrir/Fermer le panneau latéral",welcome_customize_settings:"Personnalisez vos paramètres et préférences de traduction.",welcome_open_settings_button:"Ouvrir les paramètres",welcome_shortcut_not_set:"Non défini, cliquez pour définir",welcome_keyboard_shortcuts:"Raccourcis clavier",ext_description:"Traduire la page et le texte sélectionné.",ag_chat:"AgChat",vip_expiration_time:"Date d'expiration VIP",login:"Connexion",timg_image_translate_all:"Traduire toutes les images de la page",options_search_image_pop_btn_vip_only:"Seuls les utilisateurs VIP peuvent désactiver cette option.",Enabled:"Activé",Disabled:"Désactivé",options_search_image_pop_btn_title:"Afficher le bouton de recherche sur les images",options_search_image_pop_btn_description:"Lorsque vous survolez une image avec la souris, un bouton de recherche apparaît.",subscribe_to_vip:"S'abonner au VIP",agbtn_group:"Groupe de boutons AG",agbtn_group_title:"Groupe de boutons AG",agbtn_group_description:"Afficher un groupe de boutons d'action sur la page.",options_general:"Général",options_page_translate:"Traduction de page",options_popper:"Traducteur contextuel",options_image_search_button:"Bouton de recherche d'images",input_translator:"Traducteur de saisie",Translation_Source:"Source de traduction",Quick_Translation:"Traduction rapide",Turn_on_quick_translation:"Activer la traduction rapide",Right_click_menu:"Menu contextuel",Translate_current_page:"Traduire la page actuelle",CMD_TRANSLATE_CURRENT_PAGE_hint:"Appuyez à nouveau pour basculer entre les modes d'affichage",Side_Panel:"Panneau latéral",Translate_selected_text_in_Sidepanel:"Traduire le texte sélectionné dans le panneau latéral",Appearance:"Apparence",Light_mode:"Mode clair",Dark_mode:"Mode sombre",options_pdf:"PDF",translate_pdf:"Traduire le PDF",pdf_tip:"Nécessite des autorisations supplémentaires pour traduire les fichiers PDF locaux.",input_translator_trigger_mode:"Mode de déclenchement",input_translator_live_mode:"En direct",input_translator_hotkey_mode:"Raccourci clavier (Ctrl+Entrée)",input_translator_manual_mode:"Manuel",input_translator_blacklist:"Sites Web sur liste noire",input_translator_blacklist_desc:"Un site Web par ligne. Le traducteur de saisie sera désactivé sur ces sites.",options_popper_size:"Taille de la fenêtre contextuelle",options_popper_width:"Largeur",options_popper_height:"Hauteur",translate_service:"Service de traduction",translate_service_google:"Google Traduction",translate_service_bing:"Bing Traduction",Translation_Mode_Prefer:"Préférence du mode de traduction",Translation_Mode_Prefer_All:"Bilingue",Translation_Mode_Prefer_Translation:"Traduction uniquement",Translation_Mode_Theme:"Thème",Translation_Mode_Theme_0:"Défaut",Translation_Mode_Theme_1:"Clair",Translation_Mode_Theme_2:"Sombre",no_translate_langs:"Ne pas traduire ces langues",no_translate_langs_help:"Lorsque la langue d'un paragraphe de la page est l'une des langues suivantes, la traduction sera ignorée",edit:"Modifier",Translation_Mode_Theme_3:"Bordure en pointillé",Translation_Mode_Theme_4:"Bordure pleine",Translation_Mode_Theme_5:"Effet de flou (mode d'apprentissage)",Translation_Mode_Theme_6:"Transparence",Translation_Mode_Theme_7:"Souligné en pointillé",Translation_Mode_Theme_8:"Ligne de séparation",Translation_Mode_Theme_9:"Surligner",Translation_Mode_Theme_10:"Surligneur",Translation_Mode_Theme_11:"Surligneur 2",Translation_Mode_Theme_12:"Style de citation",Translation_Mode_Theme_13:"Atténué",Translation_Mode_Theme_14:"Gris foncé",Translation_Mode_Theme_15:"Effet d'ombre sur papier blanc",Translation_Mode_Theme_16:"Italique",Translation_Mode_Theme_17:"Gras",Translation_Mode_Theme_18:"Souligné en pointillé fin",Translation_Mode_Theme_19:"Lignes ondulées",Translation_Mode_Theme_20:"Souligné en pointillé système",Translation_Mode_Theme_21:"Souligné en pointillé système",Translation_Mode_Theme_22:"Souligné droit système",shortcut_settings_title:"Raccourcis clavier",CMD_TRANSLATE_CURRENT_PAGE:"Traduire la page actuelle",CMD_OPEN_CLOSE_SIDE_PANEL:"Ouvrir/Fermer le panneau latéral",shortcut_not_set:"Non défini",shortcut_settings_description:"Pour configurer ou modifier les raccourcis, veuillez vous rendre sur la page des raccourcis des extensions du navigateur.",shortcut_settings_button:"Aller aux paramètres"}},de:{translation:{smart_translation:"Intelligente Übersetzung",try_smart_translation:"Probieren Sie die intelligente Übersetzung für mehr Stile aus!",unsupportedBrowser:"Ihr Browser unterstützt den integrierten KI-Übersetzer nicht. Bitte aktualisieren Sie auf die neueste Version.",languageSettings:"Spracheinstellungen",sourceLanguage:"Quellsprache",targetLanguage:"Zielsprache",modelReady:"Modell bereit",modelDownloadable:"Modell herunterladbar",notSupported:"Nicht unterstützt",checking:"Überprüfung...",unknown:"Unbekannt",downloadRequired:"Für die Offline-Nutzung ist ein Übersetzungsmodell erforderlich.",downloadModel:"Modell herunterladen",enterText:"Text zum Übersetzen eingeben",translating:"Übersetzung...",translate:"Übersetzen",translationResult:"Übersetzungsergebnis",errorCheckingAvailability:"Fehler bei der Überprüfung der Verfügbarkeit: {{message}}",errorCreatingTranslator:"Fehler beim Erstellen des Übersetzers: {{message}}",errorDownloadingModel:"Fehler beim Herunterladen des Modells: {{message}}",errorTranslationFailed:"Übersetzung fehlgeschlagen: {{message}}",modelUnavailable:"Modell nicht verfügbar",ar:"Arabisch",zh:"Chinesisch",nl:"Niederländisch",en:"Englisch",fr:"Französisch",de:"Deutsch",hi:"Hindi",id:"Indonesisch",it:"Italienisch",ja:"Japanisch",ko:"Koreanisch",pl:"Polnisch",pt:"Portugiesisch",ru:"Russisch",es:"Spanisch",th:"Thailändisch",tr:"Türkisch",vi:"Vietnamesisch",welcome_title:"Willkommen bei AG Translate!",welcome_subtitle:"Vielen Dank für die Installation unserer Erweiterung. Hier sind einige Tipps für den Einstieg.",welcome_shortcut_translate_description:"Aktuelle Seite übersetzen",welcome_shortcut_sidepanel_description:"Seitenleiste öffnen/schließen",welcome_customize_settings:"Passen Sie Ihre Übersetzungseinstellungen und -präferenzen an.",welcome_open_settings_button:"Einstellungen öffnen",welcome_shortcut_not_set:"Nicht festgelegt, zum Festlegen klicken",welcome_keyboard_shortcuts:"Tastatürkürzel",ext_description:"Übersetzen Sie die Seite und den ausgewählten Text.",ag_chat:"AgChat",vip_expiration_time:"VIP-Ablaufzeit",login:"Anmelden",timg_image_translate_all:"Alle Bilder auf der Seite übersetzen",options_search_image_pop_btn_vip_only:"Nur VIP-Benutzer können diese Option deaktivieren.",Enabled:"Aktiviert",Disabled:"Deaktiviert",options_search_image_pop_btn_title:"Suchschaltfläche auf Bildern anzeigen",options_search_image_pop_btn_description:"Wenn Sie mit der Maus über ein Bild fahren, wird eine Suchschaltfläche angezeigt.",subscribe_to_vip:"VIP abonnieren",agbtn_group:"AG-Schaltflächengruppe",agbtn_group_title:"AG-Schaltflächengruppe",agbtn_group_description:"Eine Gruppe von Aktionsschaltflächen auf der Seite anzeigen.",options_general:"Allgemein",options_page_translate:"Seitenübersetzung",options_popper:"Popup-Übersetzer",options_image_search_button:"Bildsuchschaltfläche",input_translator:"Eingabeübersetzer",Translation_Source:"Übersetzungsquelle",Quick_Translation:"Schnellübersetzung",Turn_on_quick_translation:"Schnellübersetzung aktivieren",Right_click_menu:"Rechtsklick-Menü",Translate_current_page:"Aktuelle Seite übersetzen",CMD_TRANSLATE_CURRENT_PAGE_hint:"Drücken Sie erneut, um zwischen den Anzeigemodi zu wechseln",Side_Panel:"Seitenleiste",Translate_selected_text_in_Sidepanel:"Ausgewählten Text in der Seitenleiste übersetzen",Appearance:"Erscheinungsbild",Light_mode:"Heller Modus",Dark_mode:"Dunkler Modus",options_pdf:"PDF",translate_pdf:"PDF übersetzen",pdf_tip:"Erfordert zusätzliche Berechtigungen zum Übersetzen lokaler PDF-Dateien.",input_translator_trigger_mode:"Auslösemodus",input_translator_live_mode:"Live",input_translator_hotkey_mode:"Hotkey (Strg+Enter)",input_translator_manual_mode:"Manuell",input_translator_blacklist:"Blacklist-Websites",input_translator_blacklist_desc:"Eine Website pro Zeile. Der Eingabeübersetzer wird auf diesen Websites deaktiviert.",options_popper_size:"Popup-Größe",options_popper_width:"Breite",options_popper_height:"Höhe",translate_service:"Übersetzungsdienst",translate_service_google:"Google Übersetzer",translate_service_bing:"Bing Übersetzer",Translation_Mode_Prefer:"Bevorzugter Übersetzungsmodus",Translation_Mode_Prefer_All:"Zweisprachig",Translation_Mode_Prefer_Translation:"Nur Übersetzung",Translation_Mode_Theme:"Thema",Translation_Mode_Theme_0:"Standard",Translation_Mode_Theme_1:"Hell",Translation_Mode_Theme_2:"Dunkel",no_translate_langs:"Diese Sprachen nicht übersetzen",no_translate_langs_help:"Wenn die Sprache eines Absatzes auf der Seite eine der folgenden Sprachen ist, wird die Übersetzung übersprungen",edit:"Bearbeiten",Translation_Mode_Theme_3:"Gestrichelter Rand",Translation_Mode_Theme_4:"Durchgezogener Rand",Translation_Mode_Theme_5:"Unschärfeeffekt (Lernmodus)",Translation_Mode_Theme_6:"Transparenz",Translation_Mode_Theme_7:"Gepunktete Unterstreichung",Translation_Mode_Theme_8:"Trennlinie",Translation_Mode_Theme_9:"Hervorhebung",Translation_Mode_Theme_10:"Textmarker",Translation_Mode_Theme_11:"Textmarker 2",Translation_Mode_Theme_12:"Zitierstil",Translation_Mode_Theme_13:"Abgeschwächt",Translation_Mode_Theme_14:"Dunkelgrau",Translation_Mode_Theme_15:"Weißpapierschatteneffekt",Translation_Mode_Theme_16:"Kursiv",Translation_Mode_Theme_17:"Fett",Translation_Mode_Theme_18:"Dünne gestrichelte Unterstreichung",Translation_Mode_Theme_19:"Wellenlinien",Translation_Mode_Theme_20:"Systemgepunktete Unterstreichung",Translation_Mode_Theme_21:"Systemgestrichelte Unterstreichung",Translation_Mode_Theme_22:"System-durchgehende Unterstreichung",shortcut_settings_title:"Tastatürkürzel",CMD_TRANSLATE_CURRENT_PAGE:"Aktuelle Seite übersetzen",CMD_OPEN_CLOSE_SIDE_PANEL:"Seitenleiste öffnen/schließen",shortcut_not_set:"Nicht festgelegt",shortcut_settings_description:"Um Tastenkombinationen zu konfigurieren oder zu ändern, gehen Sie bitte zur Einstellungsseite für Erweiterungs-Tastenkombinationen des Browsers.",shortcut_settings_button:"Gehe zu den Einstellungen"}},es:{translation:{smart_translation:"Traducción Inteligente",try_smart_translation:"¡Prueba la traducción inteligente para más estilos!",unsupportedBrowser:"Su navegador no es compatible con el traductor de IA incorporado. Actualice a la última versión.",languageSettings:"Configuración de idioma",sourceLanguage:"Idioma de origen",targetLanguage:"Idioma de destino",modelReady:"Modelo listo",modelDownloadable:"Modelo descargable",notSupported:"No compatible",checking:"Comprobando...",unknown:"Desconocido",downloadRequired:"Se requiere un modelo de traducción para su uso sin conexión.",downloadModel:"Descargar modelo",enterText:"Introducir texto para traducir",translating:"Traduciendo...",translate:"Traducir",translationResult:"Resultado de la traducción",errorCheckingAvailability:"Error al comprobar la disponibilidad: {{message}}",errorCreatingTranslator:"Error al crear el traductor: {{message}}",errorDownloadingModel:"Error al descargar el modelo: {{message}}",errorTranslationFailed:"Error en la traducción: {{message}}",modelUnavailable:"Modelo no disponible",ar:"Árabe",zh:"Chino",nl:"Neerlandés",en:"Inglés",fr:"Francés",de:"Alemán",hi:"Hindi",id:"Indonesio",it:"Italiano",ja:"Japonés",ko:"Coreano",pl:"Polaco",pt:"Portugués",ru:"Ruso",es:"Español",th:"Tailandés",tr:"Turco",vi:"Vietnamita",welcome_title:"¡Bienvenido a AG Translate!",welcome_subtitle:"Gracias por instalar nuestra extensión. Aquí tienes algunos consejos para empezar.",welcome_shortcut_translate_description:"Traducir la página actual",welcome_shortcut_sidepanel_description:"Abrir/Cerrar el panel lateral",welcome_customize_settings:"Personaliza tus ajustes y preferencias de traducción.",welcome_open_settings_button:"Abrir ajustes",welcome_shortcut_not_set:"No establecido, haz clic para establecer",welcome_keyboard_shortcuts:"Atajos de teclado",ext_description:"Traducir la página y el texto seleccionado.",ag_chat:"AgChat",vip_expiration_time:"Fecha de vencimiento VIP",login:"Iniciar sesión",timg_image_translate_all:"Traducir todas las imágenes de la página",options_search_image_pop_btn_vip_only:"Solo los usuarios VIP pueden desactivar esta opción.",Enabled:"Habilitado",Disabled:"Deshabilitado",options_search_image_pop_btn_title:"Mostrar botón de búsqueda en las imágenes",options_search_image_pop_btn_description:"Al pasar el cursor sobre una imagen, aparecerá un botón de búsqueda.",subscribe_to_vip:"Suscribirse a VIP",agbtn_group:"Grupo de botones AG",agbtn_group_title:"Grupo de botones AG",agbtn_group_description:"Mostrar un grupo de botones de acción en la página.",options_general:"General",options_page_translate:"Traducción de página",options_popper:"Traductor emergente",options_image_search_button:"Botón de búsqueda de imágenes",input_translator:"Traductor de entrada",Translation_Source:"Fuente de traducción",Quick_Translation:"Traducción rápida",Turn_on_quick_translation:"Activar traducción rápida",Right_click_menu:"Menú contextual",Translate_current_page:"Traducir página actual",Side_Panel:"Panel lateral",Translate_selected_text_in_Sidepanel:"Traducir texto seleccionado en el panel lateral",Appearance:"Apariencia",Light_mode:"Modo claro",Dark_mode:"Modo oscuro",options_pdf:"PDF",translate_pdf:"Traducir PDF",pdf_tip:"Requiere permisos adicionales para traducir archivos PDF locales.",input_translator_trigger_mode:"Modo de activación",input_translator_live_mode:"En vivo",input_translator_hotkey_mode:"Tecla de acceso rápido (Ctrl+Enter)",input_translator_manual_mode:"Manual",input_translator_blacklist:"Sitios web en lista negra",input_translator_blacklist_desc:"Un sitio web por línea. El traductor de entrada se desactivará en estos sitios.",options_popper_size:"Tamaño de la ventana emergente",options_popper_width:"Ancho",options_popper_height:"Altura",translate_service:"Servicio de traducción",translate_service_google:"Traductor de Google",translate_service_bing:"Traductor de Bing",Translation_Mode_Prefer:"Preferencia de modo de traducción",Translation_Mode_Prefer_All:"Bilingüe",Translation_Mode_Prefer_Translation:"Solo traducción",Translation_Mode_Theme:"Tema",Translation_Mode_Theme_0:"Predeterminado",Translation_Mode_Theme_1:"Claro",Translation_Mode_Theme_2:"Oscuro",no_translate_langs:"No traducir estos idiomas",no_translate_langs_help:"Cuando el idioma de un párrafo en la página sea uno de los siguientes, se omitirá la traducción",edit:"Editar",Translation_Mode_Theme_3:"Borde discontinuo",Translation_Mode_Theme_4:"Borde sólido",Translation_Mode_Theme_5:"Efecto de desenfoque (modo de aprendizaje)",Translation_Mode_Theme_6:"Transparencia",Translation_Mode_Theme_7:"Subrayado de puntos",Translation_Mode_Theme_8:"Línea divisoria",Translation_Mode_Theme_9:"Resaltar",Translation_Mode_Theme_10:"Marcador",Translation_Mode_Theme_11:"Marcador 2",Translation_Mode_Theme_12:"Estilo de cita",Translation_Mode_Theme_13:"Atenuado",Translation_Mode_Theme_14:"Gris oscuro",Translation_Mode_Theme_15:"Efecto de sombra de papel blanco",Translation_Mode_Theme_16:"Cursiva",Translation_Mode_Theme_17:"Negrita",Translation_Mode_Theme_18:"Subrayado de puntos finos",Translation_Mode_Theme_19:"Líneas onduladas",Translation_Mode_Theme_20:"Subrayado de puntos del sistema",Translation_Mode_Theme_21:"Subrayado de guiones del sistema",Translation_Mode_Theme_22:"Subrayado de línea continua del sistema",shortcut_settings_title:"Atajos de teclado",CMD_TRANSLATE_CURRENT_PAGE:"Traducir página actual",CMD_TRANSLATE_CURRENT_PAGE_hint:"Púlsalo de nuevo para cambiar entre los diferentes modos de visualización",CMD_OPEN_CLOSE_SIDE_PANEL:"Abrir/Cerrar panel lateral",shortcut_not_set:"No establecido",shortcut_settings_description:"Para configurar o cambiar los atajos, por favor ve a la página de atajos de extensiones de tu navegador.",shortcut_settings_button:"Ir a la configuración"}},ar:{translation:{smart_translation:"ترجمة ذكية",try_smart_translation:"جرب الترجمة الذكية لمزيد من الأنماط!",unsupportedBrowser:"متصفحك لا يدعم مترجم الذكاء الاصطناعي المدمج. يرجى الترقية إلى أحدث إصدار.",languageSettings:"إعدادات اللغة",sourceLanguage:"اللغة المصدر",targetLanguage:"اللغة الهدف",modelReady:"النموذج جاهز",modelDownloadable:"النموذج قابل للتنزيل",notSupported:"غير مدعوم",checking:"جار التحقق...",unknown:"غير معروف",downloadRequired:"مطلوب نموذج ترجمة للاستخدام في وضع عدم الاتصال.",downloadModel:"تنزيل النموذج",enterText:"أدخل النص للترجمة",translating:"جار الترجمة...",translate:"ترجمة",translationResult:"نتيجة الترجمة",errorCheckingAvailability:"خطأ في التحقق من التوفر: {{message}}",errorCreatingTranslator:"فشل إنشاء المترجم: {{message}}",errorDownloadingModel:"فشل تنزيل النموذج: {{message}}",errorTranslationFailed:"فشلت الترجمة: {{message}}",modelUnavailable:"النموذج غير متوفر",ar:"العربية",zh:"الصينية",nl:"الهولندية",en:"الإنجليزية",fr:"الفرنسية",de:"الألمانية",hi:"الهندية",id:"الإندونيسية",it:"الإيطالية",ja:"اليابانية",ko:"الكورية",pl:"البولندية",pt:"البرتغالية",ru:"الروسية",es:"الإسبانية",th:"التايلاندية",tr:"التركية",vi:"الفيتنامية",welcome_title:"مرحبًا بك في AG Translate!",welcome_subtitle:"شكرًا لك على تثبيت امتدادنا. إليك بعض النصائح للبدء.",welcome_shortcut_translate_description:"ترجمة الصفحة الحالية",welcome_shortcut_sidepanel_description:"فتح/إغلاق اللوحة الجانبية",welcome_customize_settings:"تخصيص إعدادات الترجمة وتفضيلاتك.",welcome_open_settings_button:"فتح الإعدادات",welcome_shortcut_not_set:"غير معين، انقر للتعيين",welcome_keyboard_shortcuts:"اختصارات لوحة المفاتيح",ext_description:"ترجمة الصفحة والنص المحدد.",ag_chat:"AgChat",vip_expiration_time:"تاريخ انتهاء صلاحية VIP",login:"تسجيل الدخول",timg_image_translate_all:"ترجمة جميع الصور في الصفحة",options_search_image_pop_btn_vip_only:"فقط مستخدمو VIP يمكنهم تعطيل هذا الخيار.",Enabled:"تم تمكين",Disabled:"معطل",options_search_image_pop_btn_title:"في الصورة، أظهر زر البحث",options_search_image_pop_btn_description:"عندما تحوم بمؤشر الماوس فوق الصورة، سيظهر زر بحث.",subscribe_to_vip:"اشترك VIP",agbtn_group:"مجموعة أزرار AG",agbtn_group_title:"مجموعة أزرار AG",agbtn_group_description:"عرض مجموعة من أزرار الإجراءات على الصفحة.",options_general:"عام",options_page_translate:"ترجمة الصفحة",options_popper:"ترجمة عند التحديد",options_image_search_button:"زر البحث عن الصور",input_translator:"مترجم الإدخال",Translation_Source:"مصدر الترجمة",Quick_Translation:"ترجمة سريعة",Turn_on_quick_translation:"تفعيل الترجمة السريعة",Right_click_menu:"القائمة السياقية",Translate_current_page:"ترجمة الصفحة الحالية",CMD_TRANSLATE_CURRENT_PAGE_hint:"اضغط مرة أخرى للتبديل بين أوضاع العرض المتعددة",Side_Panel:"الشريط الجانبي",Translate_selected_text_in_Sidepanel:"ترجمة النص المحدد في الشريط الجانبي",Appearance:"المظهر",Light_mode:"الوضع الفاتح",Dark_mode:"الوضع الداكن",options_pdf:"PDF",translate_pdf:"ترجمة PDF",pdf_tip:"تتطلب ترجمة ملفات PDF المحلية أذونات إضافية.",input_translator_trigger_mode:"وضع التشغيل",input_translator_live_mode:"في الوقت الحقيقي",input_translator_hotkey_mode:"مفتاح الاختصار (Ctrl+Enter)",input_translator_manual_mode:"يدوي",input_translator_blacklist:"المواقع المدرجة في القائمة السوداء",input_translator_blacklist_desc:"موقع واحد في كل سطر. سيتم تعطيل مترجم الإدخال على هذه المواقع.",options_popper_size:"حجم النافذة المنبثقة",options_popper_width:"العرض",options_popper_height:"الارتفاع",translate_service:"خدمة الترجمة",translate_service_google:"ترجمة جوجل",translate_service_bing:"ترجمة بينج",Translation_Mode_Prefer:"تفضيل وضع الترجمة",Translation_Mode_Prefer_All:"ثنائي اللغة",Translation_Mode_Prefer_Translation:"الترجمة فقط",Translation_Mode_Theme:"الموضوع",Translation_Mode_Theme_0:"افتراضي",Translation_Mode_Theme_1:"فاتح",Translation_Mode_Theme_2:"داكن",no_translate_langs:"لا تترجم هذه اللغات",no_translate_langs_help:"عندما تكون لغة فقرة في الصفحة إحدى اللغات التالية، سيتم تخطي الترجمة",edit:"تعديل",Translation_Mode_Theme_3:"حد متقطع",Translation_Mode_Theme_4:"حد متصل",Translation_Mode_Theme_5:"تأثير التمويه (وضع التعلم)",Translation_Mode_Theme_6:"تأثير الشفافية",Translation_Mode_Theme_7:"تسطير منقط",Translation_Mode_Theme_8:"خط فاصل",Translation_Mode_Theme_9:"تمييز",Translation_Mode_Theme_10:"قلم تحديد",Translation_Mode_Theme_11:"قلم تحديد 2",Translation_Mode_Theme_12:"نمط الاقتباس",Translation_Mode_Theme_13:"مخفف",Translation_Mode_Theme_14:"رمادي غامق",Translation_Mode_Theme_15:"تأثير ظل الورق الأبيض",Translation_Mode_Theme_16:"مائل",Translation_Mode_Theme_17:"عريض",Translation_Mode_Theme_18:"تسطير متقطع رفيع",Translation_Mode_Theme_19:"خط متموج",Translation_Mode_Theme_20:"تسطير منقط للنظام",Translation_Mode_Theme_21:"تسطير متقطع للنظام",Translation_Mode_Theme_22:"تسطير مستقيم للنظام",shortcut_settings_title:"اختصارات لوحة المفاتيح",CMD_TRANSLATE_CURRENT_PAGE:"ترجمة الصفحة الحالية",CMD_OPEN_CLOSE_SIDE_PANEL:"فتح/إغلاق اللوحة الجانبية",shortcut_not_set:"غير مضبوط",shortcut_settings_description:"لتهيئة الاختصارات أو تغييرها ، يرجى الانتقال إلى صفحة اختصارات ملحقات المتصفح.",shortcut_settings_button:"اذهب إلى الإعدادات"}},nl:{translation:{smart_translation:"Slimme Vertaling",try_smart_translation:"Probeer Smart Translation voor meer stijlen!",unsupportedBrowser:"Uw browser ondersteunt de ingebouwde AI-vertaler niet. Upgrade naar de nieuwste versie.",languageSettings:"Taalinstellingen",sourceLanguage:"Brontaal",targetLanguage:"Doeltaal",modelReady:"Model gereed",modelDownloadable:"Model downloadbaar",notSupported:"Niet ondersteund",checking:"Controleren...",unknown:"Onbekend",downloadRequired:"Een vertaalmodel is vereist voor offline gebruik.",downloadModel:"Model downloaden",enterText:"Voer tekst in om te vertalen",translating:"Vertalen...",translate:"Vertalen",translationResult:"Vertaalresultaat",errorCheckingAvailability:"Fout bij het controleren van de beschikbaarheid: {{message}}",errorCreatingTranslator:"Kan vertaler niet maken: {{message}}",errorDownloadingModel:"Kan model niet downloaden: {{message}}",errorTranslationFailed:"Vertaling mislukt: {{message}}",modelUnavailable:"Model niet beschikbaar",ar:"Arabisch",zh:"Chinees",nl:"Nederlands",en:"Engels",fr:"Frans",de:"Duits",hi:"Hindi",id:"Indonesisch",it:"Italiaans",ja:"Japans",ko:"Koreaans",pl:"Pools",pt:"Portugees",ru:"Russisch",es:"Spaans",th:"Thais",tr:"Turks",vi:"Vietnamees",welcome_title:"Welkom bij AG Translate!",welcome_subtitle:"Bedankt voor het installeren van onze extensie. Hier zijn enkele tips om aan de slag te gaan.",welcome_shortcut_translate_description:"Vertaal de huidige pagina",welcome_shortcut_sidepanel_description:"Zijpaneel openen/sluiten",welcome_customize_settings:"Pas uw vertaalinstellingen en voorkeuren aan.",welcome_open_settings_button:"Instellingen openen",welcome_shortcut_not_set:"Niet ingesteld, klik om in te stellen",welcome_keyboard_shortcuts:"Sneltoetsen",ext_description:"Vertaal de pagina en de geselecteerde tekst.",ag_chat:"AgChat",vip_expiration_time:"VIP-verlooptijd",login:"Inloggen",timg_image_translate_all:"Vertaal alle afbeeldingen op de pagina",options_search_image_pop_btn_vip_only:"Alleen VIP-gebruikers kunnen deze optie uitschakelen.",Enabled:"Ingeschakeld",Disabled:"Uitgeschakeld",options_search_image_pop_btn_title:"Toon zoekknop op afbeeldingen",options_search_image_pop_btn_description:"Wanneer u met de muis over een afbeelding beweegt, verschijnt er een zoekknop.",subscribe_to_vip:"Abonneer u op VIP",agbtn_group:"AG-knoppengroep",agbtn_group_title:"AG-knoppengroep",agbtn_group_description:"Toon een groep actieknoppen op de pagina.",options_general:"Algemeen",options_page_translate:"Pagina vertalen",options_popper:"Pop-upvertaler",options_image_search_button:"Afbeeldingen zoekknop",input_translator:"Invoertolk",Translation_Source:"Vertaalbron",Quick_Translation:"Snelle vertaling",Turn_on_quick_translation:"Schakel snelle vertaling in",Right_click_menu:"Rechtermuisknopmenu",Translate_current_page:"Vertaal huidige pagina",CMD_TRANSLATE_CURRENT_PAGE_hint:"Druk nogmaals om te schakelen tussen weergavemodi",Side_Panel:"Zijpaneel",Translate_selected_text_in_Sidepanel:"Vertaal geselecteerde tekst in zijpaneel",Appearance:"Uiterlijk",Light_mode:"Lichte modus",Dark_mode:"Donkere modus",options_pdf:"PDF",translate_pdf:"PDF vertalen",pdf_tip:"Vereist extra machtigingen om lokale PDF-bestanden te vertalen.",input_translator_trigger_mode:"Triggermodus",input_translator_live_mode:"Live",input_translator_hotkey_mode:"Sneltoets (Ctrl+Enter)",input_translator_manual_mode:"Handmatig",input_translator_blacklist:"Websites op de zwarte lijst",input_translator_blacklist_desc:"Eén website per regel. De invoervertaler wordt op deze sites uitgeschakeld.",options_popper_size:"Pop-upgrootte",options_popper_width:"Breedte",options_popper_height:"Hoogte",translate_service:"Vertaalservice",translate_service_google:"Google Vertalen",translate_service_bing:"Bing Vertalen",Translation_Mode_Prefer:"Voorkeur voor vertaalmodus",Translation_Mode_Prefer_All:"Tweetalig",Translation_Mode_Prefer_Translation:"Alleen vertaling",Translation_Mode_Theme:"Thema",Translation_Mode_Theme_0:"Standaard",Translation_Mode_Theme_1:"Licht",Translation_Mode_Theme_2:"Donker",no_translate_langs:"Vertaal deze talen niet",no_translate_langs_help:"Wanneer de taal van een paragraaf op de pagina een van de volgende is, wordt de vertaling overgeslagen",edit:"bewerken",Translation_Mode_Theme_3:"Stippellijnrand",Translation_Mode_Theme_4:"Ononderbroken rand",Translation_Mode_Theme_5:"Vervagingseffect (leermodus)",Translation_Mode_Theme_6:"Transparantie",Translation_Mode_Theme_7:"Gestippelde onderstreping",Translation_Mode_Theme_8:"Scheidingslijn",Translation_Mode_Theme_9:"Markeren",Translation_Mode_Theme_10:"Markeerstift",Translation_Mode_Theme_11:"Markeerstift 2",Translation_Mode_Theme_12:"Citaatstijl",Translation_Mode_Theme_13:"Verzwakt",Translation_Mode_Theme_14:"Donkergrijs",Translation_Mode_Theme_15:"Witboekschaduweffect",Translation_Mode_Theme_16:"Cursief",Translation_Mode_Theme_17:"Vet",Translation_Mode_Theme_18:"Dunne gestippelde onderstreping",Translation_Mode_Theme_19:"Golvende lijnen",Translation_Mode_Theme_20:"Het systeem wordt geleverd met een gestippelde onderstreping",Translation_Mode_Theme_21:"Het systeem wordt geleverd met een gestippelde onderstreping",Translation_Mode_Theme_22:"Het systeem wordt geleverd met een rechte onderstreping",shortcut_settings_title:"Sneltoetsen",CMD_TRANSLATE_CURRENT_PAGE:"Vertaal huidige pagina",CMD_OPEN_CLOSE_SIDE_PANEL:"Zijpaneel openen/sluiten",shortcut_not_set:"Niet ingesteld",shortcut_settings_description:"Ga naar de pagina met sneltoetsen voor extensies van de browser om sneltoetsen te configureren of te wijzigen.",shortcut_settings_button:"Ga naar Instellingen"}},hi:{translation:{smart_translation:"स्मार्ट अनुवाद",try_smart_translation:"अधिक शैलियों के लिए स्मार्ट अनुवाद आज़माएँ!",unsupportedBrowser:"आपका ब्राउज़र अंतर्निहित AI अनुवादक का समर्थन नहीं करता है। कृपया नवीनतम संस्करण में अपग्रेड करें।",languageSettings:"भाषा सेटिंग्स",sourceLanguage:"स्रोत भाषा",targetLanguage:"लक्ष्य भाषा",modelReady:"मॉडल तैयार है",modelDownloadable:"मॉडल डाउनलोड करने योग्य",notSupported:"समर्थित नहीं",checking:"जाँच हो रही है...",unknown:"अज्ञात",downloadRequired:"ऑफ़लाइन उपयोग के लिए एक अनुवाद मॉडल की आवश्यकता है।",downloadModel:"मॉडल डाउनलोड करें",enterText:"अनुवाद करने के लिए पाठ दर्ज करें",translating:"अनुवाद हो रहा है...",translate:"अनुवाद करें",translationResult:"अनुवाद परिणाम",errorCheckingAvailability:"उपलब्धता की जाँच में त्रुटि: {{message}}",errorCreatingTranslator:"अनुवादक बनाने में विफल: {{message}}",errorDownloadingModel:"मॉडल डाउनलोड करने में विफल: {{message}}",errorTranslationFailed:"अनुवाद विफल: {{message}}",modelUnavailable:"मॉडल अनुपलब्ध",ar:"अरबी",zh:"चीनी",nl:"डच",en:"अंग्रेज़ी",fr:"फ्रेंच",de:"जर्मन",hi:"हिन्दी",id:"इंडोनेशियाई",it:"इतालवी",ja:"जापानी",ko:"कोरियाई",pl:"पोलिश",pt:"पुर्तगाली",ru:"रूसी",es:"स्पेनिश",th:"थाई",tr:"तुर्की",vi:"वियतनामी",welcome_title:"AG Translate में आपका स्वागत है!",welcome_subtitle:"हमारे एक्सटेंशन को स्थापित करने के लिए धन्यवाद। आरंभ करने के लिए यहां कुछ युक्तियां दी गई हैं।",welcome_shortcut_translate_description:"वर्तमान पृष्ठ का अनुवाद करें",welcome_shortcut_sidepanel_description:"साइड पैनल खोलें/बंद करें",welcome_customize_settings:"अपनी अनुवाद सेटिंग्स और वरीयताओं को अनुकूलित करें।",welcome_open_settings_button:"सेटिंग्स खोलें",welcome_shortcut_not_set:"सेट नहीं है, सेट करने के लिए क्लिक करें",welcome_keyboard_shortcuts:"कीबोर्ड शॉर्टकट",ext_description:"पृष्ठ और चयनित पाठ का अनुवाद करें।",ag_chat:"AgChat",vip_expiration_time:"वीआईपी समाप्ति समय",login:"लॉग इन करें",timg_image_translate_all:"पृष्ठ पर सभी छवियों का अनुवाद करें",options_search_image_pop_btn_vip_only:"केवल वीआईपी उपयोगकर्ता ही इस विकल्प को अक्षम कर सकते हैं।",Enabled:"सक्षम",Disabled:"अक्षम",options_search_image_pop_btn_title:"छवियों पर खोज बटन दिखाएं",options_search_image_pop_btn_description:"जब आप किसी छवि पर होवर करते हैं, तो एक खोज बटन दिखाई देगा।",subscribe_to_vip:"वीआईपी की सदस्यता लें",agbtn_group:"एजी बटन समूह",agbtn_group_title:"एजी बटन समूह",agbtn_group_description:"पृष्ठ पर कार्रवाई बटनों का एक समूह दिखाएं।",options_general:"सामान्य",options_page_translate:"पृष्ठ अनुवाद",options_popper:"पॉपअप अनुवादक",options_image_search_button:"छवि खोज बटन",input_translator:"इनपुट अनुवादक",Translation_Source:"अनुवाद स्रोत",Quick_Translation:"त्वरित अनुवाद",Turn_on_quick_translation:"त्वरित अनुवाद चालू करें",Right_click_menu:"राइट-क्लिक मेनू",Translate_current_page:"वर्तमान पृष्ठ का अनुवाद करें",CMD_TRANSLATE_CURRENT_PAGE_hint:"डिस्प्ले मोड के बीच स्विच करने के लिए फिर से दबाएं",Side_Panel:"साइड पैनल",Translate_selected_text_in_Sidepanel:"साइड पैनल में चयनित पाठ का अनुवाद करें",Appearance:"दिखावट",Light_mode:"लाइट मोड",Dark_mode:"डार्क मोड",options_pdf:"पीडीएफ",translate_pdf:"पीडीएफ का अनुवाद करें",pdf_tip:"स्थानीय पीडीएफ फाइलों का अनुवाद करने के लिए अतिरिक्त अनुमति की आवश्यकता है।",input_translator_trigger_mode:"ट्रिगर मोड",input_translator_live_mode:"लाइव",input_translator_hotkey_mode:"हॉटकी (Ctrl+Enter)",input_translator_manual_mode:"मैनुअल",input_translator_blacklist:"ब्लैकलिस्ट की गई वेबसाइटें",input_translator_blacklist_desc:"प्रति पंक्ति एक वेबसाइट। इन साइटों पर इनपुट अनुवादक अक्षम कर दिया जाएगा।",options_popper_size:"पॉपअप आकार",options_popper_width:"चौड़ाई",options_popper_height:"ऊंचाई",translate_service:"अनुवाद सेवा",translate_service_google:"गूगल अनुवाद",translate_service_bing:"बिंग अनुवाद",Translation_Mode_Prefer:"अनुवाद मोड वरीयता",Translation_Mode_Prefer_All:"द्विभाषी",Translation_Mode_Prefer_Translation:"केवल अनुवाद",Translation_Mode_Theme:"थीम",Translation_Mode_Theme_0:"डिफ़ॉल्ट",Translation_Mode_Theme_1:"लाइट",Translation_Mode_Theme_2:"डार्क",no_translate_langs:"इन भाषाओं का अनुवाद न करें",no_translate_langs_help:"जब पृष्ठ पर किसी पैराग्राफ की भाषा निम्नलिखित में से एक है, तो अनुवाद छोड़ दिया जाएगा",edit:"संपादित करें",Translation_Mode_Theme_3:"धराशायी सीमा",Translation_Mode_Theme_4:"ठोस सीमा",Translation_Mode_Theme_5:"धुंधला प्रभाव (लर्निंग मोड)",Translation_Mode_Theme_6:"पारदर्शिता",Translation_Mode_Theme_7:"बिंदीदार अंडरलाइन",Translation_Mode_Theme_8:"विभाजन रेखा",Translation_Mode_Theme_9:"हाइलाइट करें",Translation_Mode_Theme_10:"मार्कर पेन",Translation_Mode_Theme_11:"मार्कर 2",Translation_Mode_Theme_12:"उद्धरण शैली",Translation_Mode_Theme_13:"कमजोर",Translation_Mode_Theme_14:"गहरा भूरा",Translation_Mode_Theme_15:"सफेद कागज छाया प्रभाव",Translation_Mode_Theme_16:"इटैलिक",Translation_Mode_Theme_17:"बोल्ड",Translation_Mode_Theme_18:"पतली बिंदीदार अंडरलाइन",Translation_Mode_Theme_19:"लहरदार रेखाएं",Translation_Mode_Theme_20:"सिस्टम एक बिंदीदार अंडरलाइन के साथ आता है",Translation_Mode_Theme_21:"सिस्टम एक धराशायी अंडरलाइन के साथ आता है",Translation_Mode_Theme_22:"सिस्टम एक सीधी रेखा अंडरलाइन के साथ आता है",shortcut_settings_title:"कीबोर्ड शॉर्टकट",CMD_TRANSLATE_CURRENT_PAGE:"वर्तमान पृष्ठ का अनुवाद करें",CMD_OPEN_CLOSE_SIDE_PANEL:"साइड पैनल खोलें/बंद करें",shortcut_not_set:"सेट नहीं",shortcut_settings_description:"शॉर्टकट कॉन्फ़िगर करने या बदलने के लिए, कृपया ब्राउज़र के एक्सटेंशन शॉर्टकट पृष्ठ पर जाएं।",shortcut_settings_button:"सेटिंग्स पर जाएं"}},id:{translation:{smart_translation:"Terjemahan Cerdas",try_smart_translation:"Coba Terjemahan Cerdas untuk gaya lainnya!",unsupportedBrowser:"Browser Anda tidak mendukung penerjemah AI bawaan. Harap tingkatkan ke versi terbaru.",languageSettings:"Pengaturan Bahasa",sourceLanguage:"Bahasa Sumber",targetLanguage:"Bahasa Target",modelReady:"Model Siap",modelDownloadable:"Model Dapat Diunduh",notSupported:"Tidak Didukung",checking:"Memeriksa...",unknown:"Tidak Dikenal",downloadRequired:"Model terjemahan diperlukan untuk penggunaan offline.",downloadModel:"Unduh Model",enterText:"Masukkan teks untuk diterjemahkan",translating:"Menerjemahkan...",translate:"Terjemahkan",translationResult:"Hasil Terjemahan",errorCheckingAvailability:"Kesalahan saat memeriksa ketersediaan: {{message}}",errorCreatingTranslator:"Gagal membuat penerjemah: {{message}}",errorDownloadingModel:"Gagal mengunduh model: {{message}}",errorTranslationFailed:"Terjemahan gagal: {{message}}",modelUnavailable:"Model tidak tersedia",ar:"Arab",zh:"Cina",nl:"Belanda",en:"Inggris",fr:"Prancis",de:"Jerman",hi:"Hindi",id:"Indonesia",it:"Italia",ja:"Jepang",ko:"Korea",pl:"Polandia",pt:"Portugis",ru:"Rusia",es:"Spanyol",th:"Thailand",tr:"Turki",vi:"Vietnam",welcome_title:"Selamat datang di AG Translate!",welcome_subtitle:"Terima kasih telah menginstal ekstensi kami. Berikut adalah beberapa tips untuk memulai.",welcome_shortcut_translate_description:"Terjemahkan halaman saat ini",welcome_shortcut_sidepanel_description:"Buka/Tutup panel samping",welcome_customize_settings:"Sesuaikan pengaturan dan preferensi terjemahan Anda.",welcome_open_settings_button:"Buka Pengaturan",welcome_shortcut_not_set:"Belum diatur, klik untuk mengatur",welcome_keyboard_shortcuts:"Pintasan Keyboard",ext_description:"Terjemahkan halaman dan teks yang dipilih.",ag_chat:"AgChat",vip_expiration_time:"Waktu Kedaluwarsa VIP",login:"Masuk",timg_image_translate_all:"Terjemahkan semua gambar di halaman",options_search_image_pop_btn_vip_only:"Hanya pengguna VIP yang dapat menonaktifkan opsi ini.",Enabled:"Diaktifkan",Disabled:"Dinonaktifkan",options_search_image_pop_btn_title:"Tampilkan tombol pencarian pada gambar",options_search_image_pop_btn_description:"Saat Anda mengarahkan mouse ke gambar, tombol pencarian akan muncul.",subscribe_to_vip:"Berlangganan VIP",agbtn_group:"Grup Tombol AG",agbtn_group_title:"Grup Tombol AG",agbtn_group_description:"Tampilkan grup tombol tindakan di halaman.",options_general:"Umum",options_page_translate:"Terjemahan Halaman",options_popper:"Penerjemah Popup",options_image_search_button:"Tombol Pencarian Gambar",input_translator:"Penerjemah Input",Translation_Source:"Sumber Terjemahan",Quick_Translation:"Terjemahan Cepat",Turn_on_quick_translation:"Aktifkan terjemahan cepat",Right_click_menu:"Menu klik kanan",Translate_current_page:"Terjemahkan halaman saat ini",CMD_TRANSLATE_CURRENT_PAGE_hint:"Tekan lagi untuk beralih di antara mode tampilan",Side_Panel:"Panel Samping",Translate_selected_text_in_Sidepanel:"Terjemahkan teks yang dipilih di Panel Samping",Appearance:"Penampilan",Light_mode:"Mode terang",Dark_mode:"Mode gelap",options_pdf:"PDF",translate_pdf:"Terjemahkan PDF",pdf_tip:"Memerlukan izin tambahan untuk menerjemahkan file PDF lokal.",input_translator_trigger_mode:"Mode Pemicu",input_translator_live_mode:"Langsung",input_translator_hotkey_mode:"Tombol pintas (Ctrl+Enter)",input_translator_manual_mode:"Manual",input_translator_blacklist:"Situs Web yang Masuk Daftar Hitam",input_translator_blacklist_desc:"Satu situs web per baris. Penerjemah input akan dinonaktifkan di situs-situs ini.",options_popper_size:"Ukuran Popup",options_popper_width:"Lebar",options_popper_height:"Tinggi",translate_service:"Layanan Terjemahan",translate_service_google:"Google Terjemahan",translate_service_bing:"Bing Terjemahan",Translation_Mode_Prefer:"Preferensi Mode Terjemahan",Translation_Mode_Prefer_All:"Bilingual",Translation_Mode_Prefer_Translation:"Hanya Terjemahan",Translation_Mode_Theme:"Tema",Translation_Mode_Theme_0:"Default",Translation_Mode_Theme_1:"Terang",Translation_Mode_Theme_2:"Gelap",no_translate_langs:"Jangan terjemahkan bahasa-bahasa ini",no_translate_langs_help:"Ketika bahasa sebuah paragraf di halaman adalah salah satu dari berikut ini, terjemahan akan dilewati",edit:"edit",Translation_Mode_Theme_3:"Batas putus-putus",Translation_Mode_Theme_4:"Batas padat",Translation_Mode_Theme_5:"Efek buram (Mode belajar)",Translation_Mode_Theme_6:"Transparansi",Translation_Mode_Theme_7:"Garis Bawah Titik-titik",Translation_Mode_Theme_8:"Garis Pemisah",Translation_Mode_Theme_9:"Sorot",Translation_Mode_Theme_10:"Spidol",Translation_Mode_Theme_11:"Spidol 2",Translation_Mode_Theme_12:"Gaya Kutipan",Translation_Mode_Theme_13:"Dilemahkan",Translation_Mode_Theme_14:"Abu-abu gelap",Translation_Mode_Theme_15:"Efek bayangan kertas putih",Translation_Mode_Theme_16:"Miring",Translation_Mode_Theme_17:"Tebal",Translation_Mode_Theme_18:"Garis bawah putus-putus tipis",Translation_Mode_Theme_19:"Garis Bergelombang",Translation_Mode_Theme_20:"Sistem dilengkapi dengan garis bawah putus-putus",Translation_Mode_Theme_21:"Sistem dilengkapi dengan garis bawah putus-putus",Translation_Mode_Theme_22:"Sistem dilengkapi dengan garis bawah lurus",shortcut_settings_title:"Pintasan Keyboard",CMD_TRANSLATE_CURRENT_PAGE:"Terjemahkan halaman saat ini",CMD_OPEN_CLOSE_SIDE_PANEL:"Buka/Tutup panel samping",shortcut_not_set:"Tidak diatur",shortcut_settings_description:"Untuk mengonfigurasi atau mengubah pintasan, silakan buka halaman pintasan ekstensi browser.",shortcut_settings_button:"Buka Pengaturan"}},it:{translation:{smart_translation:"Traduzione Intelligente",try_smart_translation:"Prova la traduzione intelligente per più stili!",unsupportedBrowser:"Il tuo browser non supporta il traduttore AI integrato. Esegui l'upgrade alla versione più recente.",languageSettings:"Impostazioni lingua",sourceLanguage:"Lingua di origine",targetLanguage:"Lingua di destinazione",modelReady:"Modello pronto",modelDownloadable:"Modello scaricabile",notSupported:"Non supportato",checking:"Verifica in corso...",unknown:"Sconosciuto",downloadRequired:"È necessario un modello di traduzione per l'uso offline.",downloadModel:"Scarica modello",enterText:"Inserisci il testo da tradurre",translating:"Traduzione in corso...",translate:"Traduci",translationResult:"Risultato della traduzione",errorCheckingAvailability:"Errore durante il controllo della disponibilità: {{message}}",errorCreatingTranslator:"Creazione del traduttore non riuscita: {{message}}",errorDownloadingModel:"Download del modello non riuscito: {{message}}",errorTranslationFailed:"Traduzione non riuscita: {{message}}",modelUnavailable:"Modello non disponibile",ar:"Arabo",zh:"Cinese",nl:"Olandese",en:"Inglese",fr:"Francese",de:"Tedesco",hi:"Hindi",id:"Indonesiano",it:"Italiano",ja:"Giapponese",ko:"Coreano",pl:"Polacco",pt:"Portoghese",ru:"Russo",es:"Spagnolo",th:"Thailandese",tr:"Turco",vi:"Vietnamita",welcome_title:"Benvenuto in AG Translate!",welcome_subtitle:"Grazie per aver installato la nostra estensione. Ecco alcuni suggerimenti per iniziare.",welcome_shortcut_translate_description:"Traduci la pagina corrente",welcome_shortcut_sidepanel_description:"Apri/Chiudi il pannello laterale",welcome_customize_settings:"Personalizza le tue impostazioni e preferenze di traduzione.",welcome_open_settings_button:"Apri impostazioni",welcome_shortcut_not_set:"Non impostato, fai clic per impostare",welcome_keyboard_shortcuts:"Scorciatoie da tastiera",ext_description:"Traduci la pagina e il testo selezionato.",ag_chat:"AgChat",vip_expiration_time:"Data di scadenza VIP",login:"Accesso",timg_image_translate_all:"Traduci tutte le immagini sulla pagina",options_search_image_pop_btn_vip_only:"Solo gli utenti VIP possono disabilitare questa opzione.",Enabled:"Abilitato",Disabled:"Disabilitato",options_search_image_pop_btn_title:"Mostra il pulsante di ricerca sulle immagini",options_search_image_pop_btn_description:"Quando passi il mouse sopra un'immagine, apparirà un pulsante di ricerca.",subscribe_to_vip:"Abbonati a VIP",agbtn_group:"Gruppo di pulsanti AG",agbtn_group_title:"Gruppo di pulsanti AG",agbtn_group_description:"Mostra un gruppo di pulsanti di azione sulla pagina.",options_general:"Generale",options_page_translate:"Traduci pagina",options_popper:"Traduttore popup",options_image_search_button:"Pulsante di ricerca immagini",input_translator:"Traduttore di input",Translation_Source:"Fonte di traduzione",Quick_Translation:"Traduzione rapida",Turn_on_quick_translation:"Attiva la traduzione rapida",Right_click_menu:"Menu contestuale",Translate_current_page:"Traduci la pagina corrente",CMD_TRANSLATE_CURRENT_PAGE_hint:"Premi di nuovo per passare da una modalità di visualizzazione all'altra",Side_Panel:"Pannello laterale",Translate_selected_text_in_Sidepanel:"Traduci il testo selezionato nel pannello laterale",Appearance:"Aspetto",Light_mode:"Modalità chiara",Dark_mode:"Modalità scura",options_pdf:"PDF",translate_pdf:"Traduci PDF",pdf_tip:"Richiede autorizzazioni aggiuntive per tradurre file PDF locali.",input_translator_trigger_mode:"Modalità di attivazione",input_translator_live_mode:"In tempo reale",input_translator_hotkey_mode:"Tasto di scelta rapida (Ctrl+Invio)",input_translator_manual_mode:"Manuale",input_translator_blacklist:"Siti web nella lista nera",input_translator_blacklist_desc:"Un sito web per riga. Il traduttore di input sarà disabilitato su questi siti.",options_popper_size:"Dimensioni popup",options_popper_width:"Larghezza",options_popper_height:"Altezza",translate_service:"Servizio di traduzione",translate_service_google:"Google Traduttore",translate_service_bing:"Bing Traduttore",Translation_Mode_Prefer:"Preferenza modalità di traduzione",Translation_Mode_Prefer_All:"Bilingue",Translation_Mode_Prefer_Translation:"Solo traduzione",Translation_Mode_Theme:"Tema",Translation_Mode_Theme_0:"Predefinito",Translation_Mode_Theme_1:"Chiaro",Translation_Mode_Theme_2:"Scuro",no_translate_langs:"Non tradurre queste lingue",no_translate_langs_help:"Quando la lingua di un paragrafo nella pagina è una delle seguenti, la traduzione verrà saltata",edit:"modificare",Translation_Mode_Theme_3:"Bordo tratteggiato",Translation_Mode_Theme_4:"Bordo continuo",Translation_Mode_Theme_5:"Effetto sfocatura (modalità apprendimento)",Translation_Mode_Theme_6:"Trasparenza",Translation_Mode_Theme_7:"Sottolineatura punteggiata",Translation_Mode_Theme_8:"Linea di divisione",Translation_Mode_Theme_9:"Evidenzia",Translation_Mode_Theme_10:"Evidenziatore",Translation_Mode_Theme_11:"Evidenziatore 2",Translation_Mode_Theme_12:"Stile citazione",Translation_Mode_Theme_13:"Indebolito",Translation_Mode_Theme_14:"Grigio scuro",Translation_Mode_Theme_15:"Effetto ombra carta bianca",Translation_Mode_Theme_16:"Corsivo",Translation_Mode_Theme_17:"Grassetto",Translation_Mode_Theme_18:"Sottolineatura punteggiata sottile",Translation_Mode_Theme_19:"Linee ondulate",Translation_Mode_Theme_20:"Il sistema viene fornito con una sottolineatura punteggiata",Translation_Mode_Theme_21:"Il sistema viene fornito con una sottolineatura tratteggiata",Translation_Mode_Theme_22:"Il sistema viene fornito con una sottolineatura a linea retta",shortcut_settings_title:"Scorciatoie da tastiera",CMD_TRANSLATE_CURRENT_PAGE:"Traduci la pagina corrente",CMD_OPEN_CLOSE_SIDE_PANEL:"Apri/Chiudi pannello laterale",shortcut_not_set:"Non impostato",shortcut_settings_description:"Per configurare o modificare le scorciatoie, vai alla pagina delle scorciatoie delle estensioni del browser.",shortcut_settings_button:"Vai alle impostazioni"}},ja:{translation:{smart_translation:"スマート翻訳",try_smart_translation:"スマート翻訳で他のスタイルも試してみよう！",unsupportedBrowser:"お使いのブラウザは、組み込みの AI 翻訳機能をサポートしていません。最新バージョンにアップグレードしてください。",languageSettings:"言語設定",sourceLanguage:"ソース言語",targetLanguage:"ターゲット言語",modelReady:"モデルの準備完了",modelDownloadable:"モデルのダウンロード可能",notSupported:"サポート対象外",checking:"確認中...",unknown:"不明",downloadRequired:"オフラインで使用するには、翻訳モデルが必要です。",downloadModel:"モデルのダウンロード",enterText:"翻訳するテキストを入力してください",translating:"翻訳中...",translate:"翻訳",translationResult:"翻訳結果",errorCheckingAvailability:"可用性の確認中にエラーが発生しました: {{message}}",errorCreatingTranslator:"翻訳者の作成に失敗しました: {{message}}",errorDownloadingModel:"モデルのダウンロードに失敗しました: {{message}}",errorTranslationFailed:"翻訳に失敗しました: {{message}}",modelUnavailable:"モデルは利用できません",ar:"アラビア語",zh:"中国語",nl:"オランダ語",en:"英語",fr:"フランス語",de:"ドイツ語",hi:"ヒンディー語",id:"インドネシア語",it:"イタリア語",ja:"日本語",ko:"韓国語",pl:"ポーランド語",pt:"ポルトガル語",ru:"ロシア語",es:"スペイン語",th:"タイ語",tr:"トルコ語",vi:"ベトナム語",welcome_title:"AG Translateへようこそ！",welcome_subtitle:"私たちの拡張機能をインストールしていただきありがとうございます。開始するためのヒントをいくつかご紹介します。",welcome_shortcut_translate_description:"現在のページを翻訳",welcome_shortcut_sidepanel_description:"サイドパネルを開く/閉じる",welcome_customize_settings:"翻訳設定と設定をカスタマイズします。",welcome_open_settings_button:"設定を開く",welcome_shortcut_not_set:"設定されていません、クリックして設定してください",welcome_keyboard_shortcuts:"キーボードショートカット",ext_description:"ページと選択したテキストを翻訳します。",ag_chat:"AgChat",vip_expiration_time:"VIP有効期限",login:"ログイン",timg_image_translate_all:"ページ上のすべての画像を翻訳します",options_search_image_pop_btn_vip_only:"VIPユーザーのみがこのオプションを無効にできます。",Enabled:"有効",Disabled:"無効",options_search_image_pop_btn_title:"画像に検索ボタンを表示します",options_search_image_pop_btn_description:"画像にカーソルを合わせると、検索ボタンが表示されます。",subscribe_to_vip:"VIPに登録する",agbtn_group:"AGボタングループ",agbtn_group_title:"AGボタングループ",agbtn_group_description:"ページにアクションボタンのグループを表示します。",options_general:"一般",options_page_translate:"ページ翻訳",options_popper:"ポップアップ翻訳",options_image_search_button:"画像検索ボタン",input_translator:"入力翻訳機",Translation_Source:"翻訳ソース",Quick_Translation:"クイック翻訳",Turn_on_quick_translation:"クイック翻訳をオンにする",Right_click_menu:"右クリックメニュー",Translate_current_page:"現在のページを翻訳",CMD_TRANSLATE_CURRENT_PAGE_hint:"もう一度押すと表示モードが切り替わります",Side_Panel:"サイドパネル",Translate_selected_text_in_Sidepanel:"サイドパネルで選択したテキストを翻訳",Appearance:"外観",Light_mode:"ライトモード",Dark_mode:"ダークモード",options_pdf:"PDF",translate_pdf:"PDFを翻訳",pdf_tip:"ローカルPDFファイルを翻訳するには、追加の権限が必要です。",input_translator_trigger_mode:"トリガーモード",input_translator_live_mode:"ライブ",input_translator_hotkey_mode:"ホットキー（Ctrl+Enter）",input_translator_manual_mode:"手動",input_translator_blacklist:"ブラックリストに登録されたウェブサイト",input_translator_blacklist_desc:"1行に1つのウェブサイト。これらのサイトでは入力翻訳が無効になります。",options_popper_size:"ポップアップサイズ",options_popper_width:"幅",options_popper_height:"高さ",translate_service:"翻訳サービス",translate_service_google:"Google翻訳",translate_service_bing:"Bing翻訳",Translation_Mode_Prefer:"翻訳モードの優先設定",Translation_Mode_Prefer_All:"バイリンガル",Translation_Mode_Prefer_Translation:"翻訳のみ",Translation_Mode_Theme:"テーマ",Translation_Mode_Theme_0:"デフォルト",Translation_Mode_Theme_1:"ライト",Translation_Mode_Theme_2:"ダーク",no_translate_langs:"これらの言語を翻訳しない",no_translate_langs_help:"ページ上の段落の言語が次のいずれかである場合、翻訳はスキップされます",edit:"編集",Translation_Mode_Theme_3:"破線の境界線",Translation_Mode_Theme_4:"実線の境界線",Translation_Mode_Theme_5:"ぼかし効果（学習モード）",Translation_Mode_Theme_6:"透明度",Translation_Mode_Theme_7:"点線の下線",Translation_Mode_Theme_8:"分割線",Translation_Mode_Theme_9:"ハイライト",Translation_Mode_Theme_10:"マーカーペン",Translation_Mode_Theme_11:"マーカー2",Translation_Mode_Theme_12:"引用スタイル",Translation_Mode_Theme_13:"弱め",Translation_Mode_Theme_14:"ダークグレー",Translation_Mode_Theme_15:"白紙の影の効果",Translation_Mode_Theme_16:"イタリック",Translation_Mode_Theme_17:"太字",Translation_Mode_Theme_18:"細い点線の下線",Translation_Mode_Theme_19:"波線",Translation_Mode_Theme_20:"システムには点線の下線が付いています",Translation_Mode_Theme_21:"システムには破線の下線が付いています",Translation_Mode_Theme_22:"システムには直線の下線が付いています",shortcut_settings_title:"キーボードショートカット",CMD_TRANSLATE_CURRENT_PAGE:"現在のページを翻訳",CMD_OPEN_CLOSE_SIDE_PANEL:"サイドパネルを開く/閉じる",shortcut_not_set:"未設定",shortcut_settings_description:"ショートカットを設定または変更するには、ブラウザの拡張機能のショートカットページに移動してください。",shortcut_settings_button:"設定に移動"}},ko:{translation:{smart_translation:"스마트 번역",try_smart_translation:"더 많은 스타일을 위해 스마트 번역을 사용해 보세요!",unsupportedBrowser:"브라우저에서 내장 AI 번역기를 지원하지 않습니다. 최신 버전으로 업그레이드하세요.",languageSettings:"언어 설정",sourceLanguage:"소스 언어",targetLanguage:"대상 언어",modelReady:"모델 준비 완료",modelDownloadable:"모델 다운로드 가능",notSupported:"지원되지 않음",checking:"확인 중...",unknown:"알 수 없음",downloadRequired:"오프라인으로 사용하려면 번역 모델이 필요합니다.",downloadModel:"모델 다운로드",enterText:"번역할 텍스트 입력",translating:"번역 중...",translate:"번역",translationResult:"번역 결과",errorCheckingAvailability:"가용성을 확인하는 동안 오류 발생: {{message}}",errorCreatingTranslator:"번역기를 만드는 데 실패했습니다: {{message}}",errorDownloadingModel:"모델을 다운로드하지 못했습니다: {{message}}",errorTranslationFailed:"번역 실패: {{message}}",modelUnavailable:"모델을 사용할 수 없음",ar:"아랍어",zh:"중국어",nl:"네덜란드어",en:"영어",fr:"프랑스어",de:"독일어",hi:"힌디어",id:"인도네시아어",it:"이탈리아어",ja:"일본어",ko:"한국어",pl:"폴란드어",pt:"포르투갈어",ru:"러시아어",es:"스페인어",th:"태국어",tr:"터키어",vi:"베트남어",welcome_title:"AG Translate에 오신 것을 환영합니다!",welcome_subtitle:"저희 확장 프로그램을 설치해 주셔서 감사합니다. 시작하는 데 도움이 되는 몇 가지 팁을 알려드립니다.",welcome_shortcut_translate_description:"현재 페이지 번역",welcome_shortcut_sidepanel_description:"사이드 패널 열기/닫기",welcome_customize_settings:"번역 설정 및 기본 설정을 사용자 지정합니다.",welcome_open_settings_button:"설정 열기",welcome_shortcut_not_set:"설정되지 않음, 설정하려면 클릭하세요",welcome_keyboard_shortcuts:"키보드 단축키",ext_description:"페이지 및 선택한 텍스트 번역.",ag_chat:"AgChat",vip_expiration_time:"VIP 만료 시간",login:"로그인",timg_image_translate_all:"페이지의 모든 이미지 번역",options_search_image_pop_btn_vip_only:"VIP 사용자만 이 옵션을 비활성화할 수 있습니다.",Enabled:"활성화됨",Disabled:"비활성화됨",options_search_image_pop_btn_title:"이미지에 검색 버튼 표시",options_search_image_pop_btn_description:"이미지 위로 마우스를 가져가면 검색 버튼이 나타납니다.",subscribe_to_vip:"VIP 구독",agbtn_group:"AG 버튼 그룹",agbtn_group_title:"AG 버튼 그룹",agbtn_group_description:"페이지에 작업 버튼 그룹 표시.",options_general:"일반",options_page_translate:"페이지 번역",options_popper:"팝업 번역기",options_image_search_button:"이미지 검색 버튼",input_translator:"입력 번역기",Translation_Source:"번역 소스",Quick_Translation:"빠른 번역",Turn_on_quick_translation:"빠른 번역 켜기",Right_click_menu:"오른쪽 클릭 메뉴",Translate_current_page:"현재 페이지 번역",CMD_TRANSLATE_CURRENT_PAGE_hint:"다시 누르면 디스플레이 모드 간에 전환됩니다",Side_Panel:"사이드 패널",Translate_selected_text_in_Sidepanel:"사이드 패널에서 선택한 텍스트 번역",Appearance:"모양",Light_mode:"라이트 모드",Dark_mode:"다크 모드",options_pdf:"PDF",translate_pdf:"PDF 번역",pdf_tip:"로컬 PDF 파일을 번역하려면 추가 권한이 필요합니다.",input_translator_trigger_mode:"트리거 모드",input_translator_live_mode:"라이브",input_translator_hotkey_mode:"단축키(Ctrl+Enter)",input_translator_manual_mode:"수동",input_translator_blacklist:"블랙리스트 웹사이트",input_translator_blacklist_desc:"한 줄에 하나의 웹사이트. 이 사이트에서는 입력 번역기가 비활성화됩니다.",options_popper_size:"팝업 크기",options_popper_width:"너비",options_popper_height:"높이",translate_service:"번역 서비스",translate_service_google:"구글 번역",translate_service_bing:"빙 번역",Translation_Mode_Prefer:"번역 모드 기본 설정",Translation_Mode_Prefer_All:"이중 언어",Translation_Mode_Prefer_Translation:"번역만",Translation_Mode_Theme:"테마",Translation_Mode_Theme_0:"기본값",Translation_Mode_Theme_1:"라이트",Translation_Mode_Theme_2:"다크",no_translate_langs:"이 언어는 번역하지 마십시오",no_translate_langs_help:"페이지의 단락 언어가 다음 중 하나인 경우 번역을 건너뜁니다.",edit:"편집",Translation_Mode_Theme_3:"파선 테두리",Translation_Mode_Theme_4:"실선 테두리",Translation_Mode_Theme_5:"흐림 효과(학습 모드)",Translation_Mode_Theme_6:"투명도",Translation_Mode_Theme_7:"점선 밑줄",Translation_Mode_Theme_8:"구분선",Translation_Mode_Theme_9:"강조 표시",Translation_Mode_Theme_10:"마커 펜",Translation_Mode_Theme_11:"마커 2",Translation_Mode_Theme_12:"인용 스타일",Translation_Mode_Theme_13:"약화됨",Translation_Mode_Theme_14:"다크 그레이",Translation_Mode_Theme_15:"백서 그림자 효과",Translation_Mode_Theme_16:"기울임꼴",Translation_Mode_Theme_17:"굵게",Translation_Mode_Theme_18:"가는 점선 밑줄",Translation_Mode_Theme_19:"물결선",Translation_Mode_Theme_20:"시스템에 점선 밑줄이 함께 제공됩니다.",Translation_Mode_Theme_21:"시스템에 파선 밑줄이 함께 제공됩니다.",Translation_Mode_Theme_22:"시스템에 직선 밑줄이 함께 제공됩니다.",shortcut_settings_title:"키보드 단축키",CMD_TRANSLATE_CURRENT_PAGE:"현재 페이지 번역",CMD_OPEN_CLOSE_SIDE_PANEL:"사이드 패널 열기/닫기",shortcut_not_set:"설정되지 않음",shortcut_settings_description:"단축키를 구성하거나 변경하려면 브라우저의 확장 프로그램 단축키 페이지로 이동하십시오.",shortcut_settings_button:"설정으로 이동"}},pl:{translation:{smart_translation:"Inteligentne Tłumaczenie",try_smart_translation:"Wypróbuj inteligentne tłumaczenie, aby uzyskać więcej stylów!",unsupportedBrowser:"Twoja przeglądarka nie obsługuje wbudowanego tłumacza AI. Zaktualizuj do najnowszej wersji.",languageSettings:"Ustawienia języka",sourceLanguage:"Język źródłowy",targetLanguage:"Język docelowy",modelReady:"Model gotowy",modelDownloadable:"Model do pobrania",notSupported:"Nieobsługiwane",checking:"Sprawdzanie...",unknown:"Nieznany",downloadRequired:"Do użytku w trybie offline wymagany jest model tłumaczeniowy.",downloadModel:"Pobierz model",enterText:"Wprowadź tekst do przetłumaczenia",translating:"Tłumaczenie...",translate:"Tłumacz",translationResult:"Wynik tłumaczenia",errorCheckingAvailability:"Błąd podczas sprawdzania dostępności: {{message}}",errorCreatingTranslator:"Nie udało się utworzyć tłumacza: {{message}}",errorDownloadingModel:"Nie udało się pobrać modelu: {{message}}",errorTranslationFailed:"Tłumaczenie nie powiodło się: {{message}}",modelUnavailable:"Model niedostępny",ar:"Arabski",zh:"Chiński",nl:"Holenderski",en:"Angielski",fr:"Francuski",de:"Niemiecki",hi:"Hinduski",id:"Indonezyjski",it:"Włoski",ja:"Japoński",ko:"Koreański",pl:"Polski",pt:"Portugalski",ru:"Rosyjski",es:"Hiszpański",th:"Tajski",tr:"Turecki",vi:"Wietnamski",welcome_title:"Witamy w AG Translate!",welcome_subtitle:"Dziękujemy za zainstalowanie naszego rozszerzenia. Oto kilka wskazówek na początek.",welcome_shortcut_translate_description:"Przetłumacz bieżącą stronę",welcome_shortcut_sidepanel_description:"Otwórz/Zamknij panel boczny",welcome_customize_settings:"Dostosuj ustawienia i preferencje tłumaczenia.",welcome_open_settings_button:"Otwórz ustawienia",welcome_shortcut_not_set:"Nie ustawiono, kliknij, aby ustawić",welcome_keyboard_shortcuts:"Skróty klawiaturowe",ext_description:"Przetłumacz stronę i zaznaczony tekst.",ag_chat:"AgChat",vip_expiration_time:"Czas wygaśnięcia VIP",login:"Zaloguj się",timg_image_translate_all:"Przetłumacz wszystkie obrazy na stronie",options_search_image_pop_btn_vip_only:"Tylko użytkownicy VIP mogą wyłączyć tę opcję.",Enabled:"Włączone",Disabled:"Wyłączone",options_search_image_pop_btn_title:"Pokaż przycisk wyszukiwania na obrazach",options_search_image_pop_btn_description:"Po najechaniu kursorem na obraz pojawi się przycisk wyszukiwania.",subscribe_to_vip:"Subskrybuj VIP",agbtn_group:"Grupa przycisków AG",agbtn_group_title:"Grupa przycisków AG",agbtn_group_description:"Pokaż grupę przycisków akcji na stronie.",options_general:"Ogólne",options_page_translate:"Tłumaczenie strony",options_popper:"Tłumacz wyskakujący",options_image_search_button:"Przycisk wyszukiwania obrazów",input_translator:"Tłumacz wprowadzania",Translation_Source:"Źródło tłumaczenia",Quick_Translation:"Szybkie tłumaczenie",Turn_on_quick_translation:"Włącz szybkie tłumaczenie",Right_click_menu:"Menu kontekstowe",Translate_current_page:"Przetłumacz bieżącą stronę",CMD_TRANSLATE_CURRENT_PAGE_hint:"Naciśnij ponownie, aby przełączać się między trybami wyświetlania",Side_Panel:"Panel boczny",Translate_selected_text_in_Sidepanel:"Przetłumacz zaznaczony tekst w panelu bocznym",Appearance:"Wygląd",Light_mode:"Tryb jasny",Dark_mode:"Tryb ciemny",options_pdf:"PDF",translate_pdf:"Przetłumacz PDF",pdf_tip:"Wymaga dodatkowych uprawnień do tłumaczenia lokalnych plików PDF.",input_translator_trigger_mode:"Tryb wyzwalania",input_translator_live_mode:"Na żywo",input_translator_hotkey_mode:"Klawisz skrótu (Ctrl+Enter)",input_translator_manual_mode:"Ręczny",input_translator_blacklist:"Witryny z czarnej listy",input_translator_blacklist_desc:"Jedna witryna w wierszu. Tłumacz wprowadzania zostanie wyłączony na tych stronach.",options_popper_size:"Rozmiar wyskakującego okienka",options_popper_width:"Szerokość",options_popper_height:"Wysokość",translate_service:"Usługa tłumaczeniowa",translate_service_google:"Tłumacz Google",translate_service_bing:"Tłumacz Bing",Translation_Mode_Prefer:"Preferencje trybu tłumaczenia",Translation_Mode_Prefer_All:"Dwujęzyczny",Translation_Mode_Prefer_Translation:"Tylko tłumaczenie",Translation_Mode_Theme:"Motyw",Translation_Mode_Theme_0:"Domyślny",Translation_Mode_Theme_1:"Jasny",Translation_Mode_Theme_2:"Ciemny",no_translate_langs:"Nie tłumacz tych języków",no_translate_langs_help:"Gdy język akapitu na stronie jest jednym z poniższych, tłumaczenie zostanie pominięte",edit:"edytować",Translation_Mode_Theme_3:"Kreskowana ramka",Translation_Mode_Theme_4:"Ciągła ramka",Translation_Mode_Theme_5:"Efekt rozmycia (tryb nauki)",Translation_Mode_Theme_6:"Przezroczystość",Translation_Mode_Theme_7:"Kropkowane podkreślenie",Translation_Mode_Theme_8:"Linia podziału",Translation_Mode_Theme_9:"Podświetlenie",Translation_Mode_Theme_10:"Marker",Translation_Mode_Theme_11:"Marker 2",Translation_Mode_Theme_12:"Styl cytowania",Translation_Mode_Theme_13:"Osłabiony",Translation_Mode_Theme_14:"Ciemnoszary",Translation_Mode_Theme_15:"Efekt cienia białego papieru",Translation_Mode_Theme_16:"Kursywa",Translation_Mode_Theme_17:"Pogrubienie",Translation_Mode_Theme_18:"Cienkie kropkowane podkreślenie",Translation_Mode_Theme_19:"Faliste linie",Translation_Mode_Theme_20:"System jest wyposażony w kropkowane podkreślenie",Translation_Mode_Theme_21:"System jest wyposażony w kreskowane podkreślenie",Translation_Mode_Theme_22:"System jest wyposażony w prostą linię podkreślenia",shortcut_settings_title:"Skróty klawiaturowe",CMD_TRANSLATE_CURRENT_PAGE:"Przetłumacz bieżącą stronę",CMD_OPEN_CLOSE_SIDE_PANEL:"Otwórz/Zamknij panel boczny",shortcut_not_set:"Nie ustawiono",shortcut_settings_description:"Aby skonfigurować lub zmienić skróty, przejdź do strony skrótów rozszerzeń przeglądarki.",shortcut_settings_button:"Przejdź do ustawień"}},pt:{translation:{smart_translation:"Tradução Inteligente",try_smart_translation:"Experimente a Tradução Inteligente para mais estilos!",unsupportedBrowser:"Seu navegador não suporta o tradutor de IA integrado. Atualize para a versão mais recente.",languageSettings:"Configurações de idioma",sourceLanguage:"Idioma de origem",targetLanguage:"Idioma de destino",modelReady:"Modelo pronto",modelDownloadable:"Modelo para download",notSupported:"Não suportado",checking:"Verificando...",unknown:"Desconhecido",downloadRequired:"É necessário um modelo de tradução para uso offline.",downloadModel:"Baixar modelo",enterText:"Digite o texto para traduzir",translating:"Traduzindo...",translate:"Traduzir",translationResult:"Resultado da tradução",errorCheckingAvailability:"Erro ao verificar a disponibilidade: {{message}}",errorCreatingTranslator:"Falha ao criar o tradutor: {{message}}",errorDownloadingModel:"Falha ao baixar o modelo: {{message}}",errorTranslationFailed:"Falha na tradução: {{message}}",modelUnavailable:"Modelo indisponível",ar:"Árabe",zh:"Chinês",nl:"Holandês",en:"Inglês",fr:"Francês",de:"Alemão",hi:"Hindi",id:"Indonésio",it:"Italiano",ja:"Japonês",ko:"Coreano",pl:"Polonês",pt:"Português",ru:"Russo",es:"Espanhol",th:"Tailandês",tr:"Turco",vi:"Vietnamita",welcome_title:"Bem-vindo ao AG Translate!",welcome_subtitle:"Obrigado por instalar nossa extensão. Aqui estão algumas dicas para começar.",welcome_shortcut_translate_description:"Traduzir a página atual",welcome_shortcut_sidepanel_description:"Abrir/Fechar o painel lateral",welcome_customize_settings:"Personalize suas configurações e preferências de tradução.",welcome_open_settings_button:"Abrir configurações",welcome_shortcut_not_set:"Não definido, clique para definir",welcome_keyboard_shortcuts:"Atalhos de teclado",ext_description:"Traduza a página e o texto selecionado.",ag_chat:"AgChat",vip_expiration_time:"Data de expiração VIP",login:"Login",timg_image_translate_all:"Traduza todas as imagens na página",options_search_image_pop_btn_vip_only:"Apenas usuários VIP podem desativar esta opção.",Enabled:"Habilitado",Disabled:"Desabilitado",options_search_image_pop_btn_title:"Mostrar botão de pesquisa em imagens",options_search_image_pop_btn_description:"Ao passar o mouse sobre uma imagem, um botão de pesquisa aparecerá.",subscribe_to_vip:"Assine o VIP",agbtn_group:"Grupo de botões AG",agbtn_group_title:"Grupo de botões AG",agbtn_group_description:"Mostra um grupo de botões de ação na página.",options_general:"Geral",options_page_translate:"Tradução de página",options_popper:"Tradutor pop-up",options_image_search_button:"Botão de pesquisa de imagem",input_translator:"Tradutor de entrada",Translation_Source:"Fonte de tradução",Quick_Translation:"Tradução rápida",Turn_on_quick_translation:"Ativar tradução rápida",Right_click_menu:"Menu do botão direito",Translate_current_page:"Traduzir página atual",CMD_TRANSLATE_CURRENT_PAGE_hint:"Pressione novamente para alternar entre os modos de exibição",Side_Panel:"Painel lateral",Translate_selected_text_in_Sidepanel:"Traduzir texto selecionado no painel lateral",Appearance:"Aparência",Light_mode:"Modo claro",Dark_mode:"Modo escuro",options_pdf:"PDF",translate_pdf:"Traduzir PDF",pdf_tip:"Requer permissões adicionais para traduzir arquivos PDF locais.",input_translator_trigger_mode:"Modo de gatilho",input_translator_live_mode:"Ao vivo",input_translator_hotkey_mode:"Tecla de atalho (Ctrl+Enter)",input_translator_manual_mode:"Manual",input_translator_blacklist:"Sites na lista negra",input_translator_blacklist_desc:"Um site por linha. O tradutor de entrada será desativado nesses sites.",options_popper_size:"Tamanho do pop-up",options_popper_width:"Largura",options_popper_height:"Altura",translate_service:"Serviço de tradução",translate_service_google:"Google Tradutor",translate_service_bing:"Bing Tradutor",Translation_Mode_Prefer:"Preferência do modo de tradução",Translation_Mode_Prefer_All:"Bilíngue",Translation_Mode_Prefer_Translation:"Apenas tradução",Translation_Mode_Theme:"Tema",Translation_Mode_Theme_0:"Padrão",Translation_Mode_Theme_1:"Claro",Translation_Mode_Theme_2:"Escuro",no_translate_langs:"Não traduza estes idiomas",no_translate_langs_help:"Quando o idioma de um parágrafo na página for um dos seguintes, a tradução será ignorada",edit:"editar",Translation_Mode_Theme_3:"Borda tracejada",Translation_Mode_Theme_4:"Borda sólida",Translation_Mode_Theme_5:"Efeito de desfoque (modo de aprendizagem)",Translation_Mode_Theme_6:"Transparência",Translation_Mode_Theme_7:"Sublinhado pontilhado",Translation_Mode_Theme_8:"Linha divisória",Translation_Mode_Theme_9:"Destaque",Translation_Mode_Theme_10:"Caneta marcadora",Translation_Mode_Theme_11:"Marcador 2",Translation_Mode_Theme_12:"Estilo de citação",Translation_Mode_Theme_13:"Enfraquecido",Translation_Mode_Theme_14:"Cinza escuro",Translation_Mode_Theme_15:"Efeito de sombra de papel branco",Translation_Mode_Theme_16:"Itálico",Translation_Mode_Theme_17:"Negrito",Translation_Mode_Theme_18:"Sublinhado pontilhado fino",Translation_Mode_Theme_19:"Linhas onduladas",Translation_Mode_Theme_20:"O sistema vem com um sublinhado pontilhado",Translation_Mode_Theme_21:"O sistema vem com um sublinhado tracejado",Translation_Mode_Theme_22:"O sistema vem com um sublinhado de linha reta",shortcut_settings_title:"Atalhos de teclado",CMD_TRANSLATE_CURRENT_PAGE:"Traduzir página atual",CMD_OPEN_CLOSE_SIDE_PANEL:"Abrir/Fechar painel lateral",shortcut_not_set:"Não definido",shortcut_settings_description:"Para configurar ou alterar atalhos, vá para a página de atalhos de extensões do navegador.",shortcut_settings_button:"Ir para as configurações"}},ru:{translation:{smart_translation:"Умный перевод",try_smart_translation:"Попробуйте умный перевод для большего количества стилей!",unsupportedBrowser:"Ваш браузер не поддерживает встроенный переводчик с искусственным интеллектом. Обновите до последней версии.",languageSettings:"Настройки языка",sourceLanguage:"Исходный язык",targetLanguage:"Целевой язык",modelReady:"Модель готова",modelDownloadable:"Модель доступна для скачивания",notSupported:"Не поддерживается",checking:"Проверка...",unknown:"Неизвестно",downloadRequired:"Для использования в автономном режиме требуется модель перевода.",downloadModel:"Скачать модель",enterText:"Введите текст для перевода",translating:"Перевод...",translate:"Перевести",translationResult:"Результат перевода",errorCheckingAvailability:"Ошибка при проверке доступности: {{message}}",errorCreatingTranslator:"Не удалось создать переводчик: {{message}}",errorDownloadingModel:"Не удалось скачать модель: {{message}}",errorTranslationFailed:"Ошибка перевода: {{message}}",modelUnavailable:"Модель недоступна",ar:"Арабский",zh:"Китайский",nl:"Голландский",en:"Английский",fr:"Французский",de:"Немецкий",hi:"Хинди",id:"Индонезийский",it:"Итальянский",ja:"Японский",ko:"Корейский",pl:"Польский",pt:"Португальский",ru:"Русский",es:"Испанский",th:"Тайский",tr:"Турецкий",vi:"Вьетнамский",welcome_title:"Добро пожаловать в AG Translate!",welcome_subtitle:"Спасибо за установку нашего расширения. Вот несколько советов, чтобы начать.",welcome_shortcut_translate_description:"Перевести текущую страницу",welcome_shortcut_sidepanel_description:"Открыть/Закрыть боковую панель",welcome_customize_settings:"Настройте параметры и предпочтения перевода.",welcome_open_settings_button:"Открыть настройки",welcome_shortcut_not_set:"Не установлено, нажмите, чтобы установить",welcome_keyboard_shortcuts:"Сочетания клавиш",ext_description:"Перевести страницу и выделенный текст.",ag_chat:"AgChat",vip_expiration_time:"Дата окончания VIP",login:"Войти",timg_image_translate_all:"Перевести все изображения на странице",options_search_image_pop_btn_vip_only:"Только VIP-пользователи могут отключить эту опцию.",Enabled:"Включено",Disabled:"Отключено",options_search_image_pop_btn_title:"Показывать кнопку поиска на изображениях",options_search_image_pop_btn_description:"При наведении курсора на изображение появится кнопка поиска.",subscribe_to_vip:"Подписаться на VIP",agbtn_group:"Группа кнопок AG",agbtn_group_title:"Группа кнопок AG",agbtn_group_description:"Показать группу кнопок действий на странице.",options_general:"Общие",options_page_translate:"Перевод страницы",options_popper:"Всплывающий переводчик",options_image_search_button:"Кнопка поиска изображений",input_translator:"Переводчик ввода",Translation_Source:"Источник перевода",Quick_Translation:"Быстрый перевод",Turn_on_quick_translation:"Включить быстрый перевод",Right_click_menu:"Контекстное меню",Translate_current_page:"Перевести текущую страницу",CMD_TRANSLATE_CURRENT_PAGE_hint:"Нажмите еще раз, чтобы переключиться между режимами отображения",Side_Panel:"Боковая панель",Translate_selected_text_in_Sidepanel:"Перевести выделенный текст в боковой панели",Appearance:"Внешний вид",Light_mode:"Светлый режим",Dark_mode:"Темный режим",options_pdf:"PDF",translate_pdf:"Перевести PDF",pdf_tip:"Требуются дополнительные разрешения для перевода локальных файлов PDF.",input_translator_trigger_mode:"Режим триггера",input_translator_live_mode:"В реальном времени",input_translator_hotkey_mode:"Горячая клавиша (Ctrl+Enter)",input_translator_manual_mode:"Вручную",input_translator_blacklist:"Сайты из черного списка",input_translator_blacklist_desc:"Один сайт в строке. Переводчик ввода будет отключен на этих сайтах.",options_popper_size:"Размер всплывающего окна",options_popper_width:"Ширина",options_popper_height:"Высота",translate_service:"Служба перевода",translate_service_google:"Google Переводчик",translate_service_bing:"Bing Переводчик",Translation_Mode_Prefer:"Предпочтения режима перевода",Translation_Mode_Prefer_All:"Двуязычный",Translation_Mode_Prefer_Translation:"Только перевод",Translation_Mode_Theme:"Тема",Translation_Mode_Theme_0:"По умолчанию",Translation_Mode_Theme_1:"Светлая",Translation_Mode_Theme_2:"Темная",no_translate_langs:"Не переводить эти языки",no_translate_langs_help:"Если язык абзаца на странице является одним из следующих, перевод будет пропущен",edit:"редактировать",Translation_Mode_Theme_3:"Пунктирная граница",Translation_Mode_Theme_4:"Сплошная граница",Translation_Mode_Theme_5:"Эффект размытия (режим обучения)",Translation_Mode_Theme_6:"Прозрачность",Translation_Mode_Theme_7:"Точечное подчеркивание",Translation_Mode_Theme_8:"Разделительная линия",Translation_Mode_Theme_9:"Выделение",Translation_Mode_Theme_10:"Маркер",Translation_Mode_Theme_11:"Маркер 2",Translation_Mode_Theme_12:"Стиль цитирования",Translation_Mode_Theme_13:"Ослабленный",Translation_Mode_Theme_14:"Темно-серый",Translation_Mode_Theme_15:"Эффект тени белой бумаги",Translation_Mode_Theme_16:"Курсив",Translation_Mode_Theme_17:"Жирный",Translation_Mode_Theme_18:"Тонкое точечное подчеркивание",Translation_Mode_Theme_19:"Волнистые линии",Translation_Mode_Theme_20:"Система поставляется с точечным подчеркиванием",Translation_Mode_Theme_21:"Система поставляется с пунктирным подчеркиванием",Translation_Mode_Theme_22:"Система поставляется с прямым подчеркиванием",shortcut_settings_title:"Сочетания клавиш",CMD_TRANSLATE_CURRENT_PAGE:"Перевести текущую страницу",CMD_OPEN_CLOSE_SIDE_PANEL:"Открыть/Закрыть боковую панель",shortcut_not_set:"Не задано",shortcut_settings_description:"Чтобы настроить или изменить сочетания клавиш, перейдите на страницу сочетаний клавиш расширений браузера.",shortcut_settings_button:"Перейти к настройкам"}},th:{translation:{smart_translation:"การแปลอัจฉริยะ",try_smart_translation:"ลองใช้การแปลอัจฉริยะสำหรับสไตล์เพิ่มเติม!",unsupportedBrowser:"เบราว์เซอร์ของคุณไม่รองรับนักแปล AI ในตัว โปรดอัปเกรดเป็นเวอร์ชันล่าสุด",languageSettings:"การตั้งค่าภาษา",sourceLanguage:"ภาษาต้นฉบับ",targetLanguage:"ภาษาเป้าหมาย",modelReady:"โมเดลพร้อมใช้งาน",modelDownloadable:"โมเดลสามารถดาวน์โหลดได้",notSupported:"ไม่รองรับ",checking:"กำลังตรวจสอบ...",unknown:"ไม่ทราบ",downloadRequired:"ต้องใช้โมเดลการแปลสำหรับการใช้งานออฟไลน์",downloadModel:"ดาวน์โหลดโมเดล",enterText:"ป้อนข้อความที่จะแปล",translating:"กำลังแปล...",translate:"แปล",translationResult:"ผลการแปล",errorCheckingAvailability:"เกิดข้อผิดพลาดขณะตรวจสอบความพร้อมใช้งาน: {{message}}",errorCreatingTranslator:"สร้างนักแปลไม่สำเร็จ: {{message}}",errorDownloadingModel:"ดาวน์โหลดโมเดลไม่สำเร็จ: {{message}}",errorTranslationFailed:"การแปลล้มเหลว: {{message}}",modelUnavailable:"โมเดลไม่พร้อมใช้งาน",ar:"ภาษาอาหรับ",zh:"ภาษาจีน",nl:"ภาษาดัตช์",en:"ภาษาอังกฤษ",fr:"ภาษาฝรั่งเศส",de:"ภาษาเยอรมัน",hi:"ภาษาฮินดี",id:"ภาษาอินโดนีเซีย",it:"ภาษาอิตาลี",ja:"ภาษาญี่ปุ่น",ko:"ภาษาเกาหลี",pl:"ภาษาโปแลนด์",pt:"ภาษาโปรตุเกส",ru:"ภาษารัสเซีย",es:"ภาษาสเปน",th:"ภาษาไทย",tr:"ภาษาตุรกี",vi:"ภาษาเวียดนาม",welcome_title:"ยินดีต้อนรับสู่ AG Translate!",welcome_subtitle:"ขอขอบคุณที่ติดตั้งส่วนขยายของเรา นี่คือเคล็ดลับเล็กๆ น้อยๆ เพื่อเริ่มต้นใช้งาน",welcome_shortcut_translate_description:"แปลหน้าปัจจุบัน",welcome_shortcut_sidepanel_description:"เปิด/ปิดแผงด้านข้าง",welcome_customize_settings:"ปรับแต่งการตั้งค่าการแปลและค่ากำหนดของคุณ",welcome_open_settings_button:"เปิดการตั้งค่า",welcome_shortcut_not_set:"ไม่ได้ตั้งค่า คลิกเพื่อตั้งค่า",welcome_keyboard_shortcuts:"แป้นพิมพ์ลัด",ext_description:"แปลหน้าและข้อความที่เลือก",ag_chat:"AgChat",vip_expiration_time:"เวลาหมดอายุ VIP",login:"เข้าสู่ระบบ",timg_image_translate_all:"แปลรูปภาพทั้งหมดในหน้า",options_search_image_pop_btn_vip_only:"เฉพาะผู้ใช้ VIP เท่านั้นที่สามารถปิดใช้งานตัวเลือกนี้ได้",Enabled:"เปิดใช้งาน",Disabled:"ปิดใช้งาน",options_search_image_pop_btn_title:"แสดงปุ่มค้นหาบนรูปภาพ",options_search_image_pop_btn_description:"เมื่อคุณวางเมาส์เหนือรูปภาพ ปุ่มค้นหาจะปรากฏขึ้น",subscribe_to_vip:"สมัครสมาชิก VIP",agbtn_group:"กลุ่มปุ่ม AG",agbtn_group_title:"กลุ่มปุ่ม AG",agbtn_group_description:"แสดงกลุ่มของปุ่มการกระทำบนหน้า",options_general:"ทั่วไป",options_page_translate:"การแปลหน้า",options_popper:"นักแปลป๊อปอัป",options_image_search_button:"ปุ่มค้นหารูปภาพ",input_translator:"นักแปลอินพุต",Translation_Source:"แหล่งที่มาของการแปล",Quick_Translation:"การแปลด่วน",Turn_on_quick_translation:"เปิดการแปลด่วน",Right_click_menu:"เมนูคลิกขวา",Translate_current_page:"แปลหน้าปัจจุบัน",CMD_TRANSLATE_CURRENT_PAGE_hint:"กดอีกครั้งเพื่อสลับระหว่างโหมดการแสดงผล",Side_Panel:"แผงด้านข้าง",Translate_selected_text_in_Sidepanel:"แปลข้อความที่เลือกในแผงด้านข้าง",Appearance:"ลักษณะที่ปรากฏ",Light_mode:"โหมดสว่าง",Dark_mode:"โหมดมืด",options_pdf:"PDF",translate_pdf:"แปล PDF",pdf_tip:"ต้องการสิทธิ์เพิ่มเติมในการแปลไฟล์ PDF ในเครื่อง",input_translator_trigger_mode:"โหมดทริกเกอร์",input_translator_live_mode:"สด",input_translator_hotkey_mode:"ปุ่มลัด (Ctrl+Enter)",input_translator_manual_mode:"ด้วยตนเอง",input_translator_blacklist:"เว็บไซต์ที่อยู่ในบัญชีดำ",input_translator_blacklist_desc:"หนึ่งเว็บไซต์ต่อบรรทัด นักแปลอินพุตจะถูกปิดใช้งานในไซต์เหล่านี้",options_popper_size:"ขนาดป๊อปอัป",options_popper_width:"ความกว้าง",options_popper_height:"ความสูง",translate_service:"บริการแปล",translate_service_google:"Google แปลภาษา",translate_service_bing:"Bing แปลภาษา",Translation_Mode_Prefer:"การตั้งค่าโหมดการแปล",Translation_Mode_Prefer_All:"สองภาษา",Translation_Mode_Prefer_Translation:"การแปลเท่านั้น",Translation_Mode_Theme:"ธีม",Translation_Mode_Theme_0:"ค่าเริ่มต้น",Translation_Mode_Theme_1:"สว่าง",Translation_Mode_Theme_2:"มืด",no_translate_langs:"ไม่ต้องแปลภาษาเหล่านี้",no_translate_langs_help:"เมื่อภาษาของย่อหน้าบนหน้าเป็นหนึ่งในภาษาต่อไปนี้ การแปลจะถูกข้ามไป",edit:"แก้ไข",Translation_Mode_Theme_3:"เส้นขอบประ",Translation_Mode_Theme_4:"เส้นขอบทึบ",Translation_Mode_Theme_5:"เอฟเฟกต์เบลอ (โหมดการเรียนรู้)",Translation_Mode_Theme_6:"ความโปร่งใส",Translation_Mode_Theme_7:"ขีดเส้นใต้แบบจุด",Translation_Mode_Theme_8:"เส้นแบ่ง",Translation_Mode_Theme_9:"ไฮไลต์",Translation_Mode_Theme_10:"ปากกาเน้นข้อความ",Translation_Mode_Theme_11:"ปากกาเน้นข้อความ 2",Translation_Mode_Theme_12:"รูปแบบการอ้างอิง",Translation_Mode_Theme_13:"อ่อนลง",Translation_Mode_Theme_14:"สีเทาเข้ม",Translation_Mode_Theme_15:"เอฟเฟกต์เงากระดาษขาว",Translation_Mode_Theme_16:"ตัวเอียง",Translation_Mode_Theme_17:"ตัวหนา",Translation_Mode_Theme_18:"ขีดเส้นใต้แบบจุดบาง",Translation_Mode_Theme_19:"เส้นหยัก",Translation_Mode_Theme_20:"ระบบมาพร้อมกับขีดเส้นใต้แบบจุด",Translation_Mode_Theme_21:"ระบบมาพร้อมกับขีดเส้นใต้แบบประ",Translation_Mode_Theme_22:"ระบบมาพร้อมกับขีดเส้นใต้แบบเส้นตรง",shortcut_settings_title:"แป้นพิมพ์ลัด",CMD_TRANSLATE_CURRENT_PAGE:"แปลหน้าปัจจุบัน",CMD_OPEN_CLOSE_SIDE_PANEL:"เปิด/ปิดแผงด้านข้าง",shortcut_not_set:"ไม่ได้ตั้งค่า",shortcut_settings_description:"หากต้องการกำหนดค่าหรือเปลี่ยนแป้นพิมพ์ลัด โปรดไปที่หน้าแป้นพิมพ์ลัดของส่วนขยายของเบราว์เซอร์",shortcut_settings_button:"ไปที่การตั้งค่า"}},tr:{translation:{smart_translation:"Akıllı Çeviri",try_smart_translation:"Daha fazla stil için Akıllı Çeviri'yi deneyin!",unsupportedBrowser:"Tarayıcınız yerleşik AI çevirmenini desteklemiyor. Lütfen en son sürüme yükseltin.",languageSettings:"Dil Ayarları",sourceLanguage:"Kaynak Dil",targetLanguage:"Hedef Dil",modelReady:"Model Hazır",modelDownloadable:"Model İndirilebilir",notSupported:"Desteklenmiyor",checking:"Kontrol ediliyor...",unknown:"Bilinmiyor",downloadRequired:"Çevrimdışı kullanım için bir çeviri modeli gereklidir.",downloadModel:"Modeli İndir",enterText:"Çevrilecek metni girin",translating:"Çevriliyor...",translate:"Çevir",translationResult:"Çeviri Sonucu",errorCheckingAvailability:"Kullanılabilirlik kontrol edilirken hata oluştu: {{message}}",errorCreatingTranslator:"Çevirmen oluşturulamadı: {{message}}",errorDownloadingModel:"Model indirilemedi: {{message}}",errorTranslationFailed:"Çeviri başarısız oldu: {{message}}",modelUnavailable:"Model mevcut değil",ar:"Arapça",zh:"Çince",nl:"Hollandaca",en:"İngilizce",fr:"Fransızca",de:"Almanca",hi:"Hintçe",id:"Endonezyaca",it:"İtalyanca",ja:"Japonca",ko:"Korece",pl:"Lehçe",pt:"Portekizce",ru:"Rusça",es:"İspanyolca",th:"Tayca",tr:"Türkçe",vi:"Vietnamca",welcome_title:"AG Translate'e Hoş Geldiniz!",welcome_subtitle:"Uzantımızı yüklediğiniz için teşekkür ederiz. Başlamak için birkaç ipucu.",welcome_shortcut_translate_description:"Geçerli sayfayı çevir",welcome_shortcut_sidepanel_description:"Yan paneli aç/kapat",welcome_customize_settings:"Çeviri ayarlarınızı ve tercihlerinizi özelleştirin.",welcome_open_settings_button:"Ayarları Aç",welcome_shortcut_not_set:"Ayarlanmadı, ayarlamak için tıklayın",welcome_keyboard_shortcuts:"Klavye Kısayolları",ext_description:"Sayfayı ve seçili metni çevirin.",ag_chat:"AgChat",vip_expiration_time:"VIP Sona Erme Tarihi",login:"Giriş",timg_image_translate_all:"Sayfadaki tüm resimleri çevir",options_search_image_pop_btn_vip_only:"Bu seçeneği yalnızca VIP kullanıcılar devre dışı bırakabilir.",Enabled:"Etkin",Disabled:"Devre Dışı",options_search_image_pop_btn_title:"Resimlerde arama düğmesini göster",options_search_image_pop_btn_description:"Bir resmin üzerine geldiğinizde bir arama düğmesi görünecektir.",subscribe_to_vip:"VIP'ye Abone Ol",agbtn_group:"AG Düğme Grubu",agbtn_group_title:"AG Düğme Grubu",agbtn_group_description:"Sayfada bir grup eylem düğmesi göster.",options_general:"Genel",options_page_translate:"Sayfa Çevirisi",options_popper:"Açılır Pencere Çevirmeni",options_image_search_button:"Resim Arama Düğmesi",input_translator:"Giriş Çevirmeni",Translation_Source:"Çeviri Kaynağı",Quick_Translation:"Hızlı Çeviri",Turn_on_quick_translation:"Hızlı çeviriyi aç",Right_click_menu:"Sağ tıklama menüsü",Translate_current_page:"Geçerli sayfayı çevir",CMD_TRANSLATE_CURRENT_PAGE_hint:"Görüntüleme modları arasında geçiş yapmak için tekrar basın",Side_Panel:"Yan Panel",Translate_selected_text_in_Sidepanel:"Yan Panelde seçili metni çevir",Appearance:"Görünüm",Light_mode:"Açık mod",Dark_mode:"Karanlık mod",options_pdf:"PDF",translate_pdf:"PDF Çevir",pdf_tip:"Yerel PDF dosyalarını çevirmek için ek izinler gerektirir.",input_translator_trigger_mode:"Tetikleme Modu",input_translator_live_mode:"Canlı",input_translator_hotkey_mode:"Kısayol Tuşu (Ctrl+Enter)",input_translator_manual_mode:"Manuel",input_translator_blacklist:"Kara Listeye Alınan Web Siteleri",input_translator_blacklist_desc:"Her satıra bir web sitesi. Giriş çevirmeni bu sitelerde devre dışı bırakılacaktır.",options_popper_size:"Açılır Pencere Boyutu",options_popper_width:"Genişlik",options_popper_height:"Yükseklik",translate_service:"Çeviri Hizmeti",translate_service_google:"Google Çeviri",translate_service_bing:"Bing Çeviri",Translation_Mode_Prefer:"Çeviri Modu Tercihi",Translation_Mode_Prefer_All:"İki Dilli",Translation_Mode_Prefer_Translation:"Yalnızca Çeviri",Translation_Mode_Theme:"Tema",Translation_Mode_Theme_0:"Varsayılan",Translation_Mode_Theme_1:"Açık",Translation_Mode_Theme_2:"Karanlık",no_translate_langs:"Bu dilleri çevirme",no_translate_langs_help:"Sayfadaki bir paragrafın dili aşağıdakilerden biriyse, çeviri atlanacaktır",edit:"düzenle",Translation_Mode_Theme_3:"Kesikli kenarlık",Translation_Mode_Theme_4:"Düz kenarlık",Translation_Mode_Theme_5:"Bulanıklaştırma efekti (Öğrenme modu)",Translation_Mode_Theme_6:"Şeffaflık",Translation_Mode_Theme_7:"Noktalı Alt Çizgi",Translation_Mode_Theme_8:"Bölme Çizgisi",Translation_Mode_Theme_9:"Vurgula",Translation_Mode_Theme_10:"İşaretleme kalemi",Translation_Mode_Theme_11:"İşaretleyici 2",Translation_Mode_Theme_12:"Alıntı Stili",Translation_Mode_Theme_13:"Zayıflatılmış",Translation_Mode_Theme_14:"Koyu gri",Translation_Mode_Theme_15:"Beyaz kağıt gölge efekti",Translation_Mode_Theme_16:"İtalik",Translation_Mode_Theme_17:"Kalın",Translation_Mode_Theme_18:"İnce noktalı alt çizgi",Translation_Mode_Theme_19:"Dalgalı Çizgiler",Translation_Mode_Theme_20:"Sistem noktalı bir alt çizgi ile birlikte gelir",Translation_Mode_Theme_21:"Sistem kesikli bir alt çizgi ile birlikte gelir",Translation_Mode_Theme_22:"Sistem düz bir alt çizgi ile birlikte gelir",shortcut_settings_title:"Klavye Kısayolları",CMD_TRANSLATE_CURRENT_PAGE:"Geçerli sayfayı çevir",CMD_OPEN_CLOSE_SIDE_PANEL:"Yan paneli aç/kapat",shortcut_not_set:"Ayarlanmadı",shortcut_settings_description:"Kısayolları yapılandırmak veya değiştirmek için lütfen tarayıcının eklenti kısayolları sayfasına gidin.",shortcut_settings_button:"Ayarlara git"}},vi:{translation:{smart_translation:"Dịch thông minh",try_smart_translation:"Hãy thử Dịch thông minh để có nhiều kiểu hơn!",unsupportedBrowser:"Trình duyệt của bạn không hỗ trợ trình dịch AI tích hợp. Vui lòng nâng cấp lên phiên bản mới nhất.",languageSettings:"Cài đặt ngôn ngữ",sourceLanguage:"Ngôn ngữ nguồn",targetLanguage:"Ngôn ngữ đích",modelReady:"Mô hình đã sẵn sàng",modelDownloadable:"Mô hình có thể tải xuống",notSupported:"Không được hỗ trợ",checking:"Đang kiểm tra...",unknown:"Không xác định",downloadRequired:"Cần có mô hình dịch để sử dụng ngoại tuyến.",downloadModel:"Tải xuống mô hình",enterText:"Nhập văn bản cần dịch",translating:"Đang dịch...",translate:"Dịch",translationResult:"Kết quả dịch",errorCheckingAvailability:"Lỗi khi kiểm tra tính khả dụng: {{message}}",errorCreatingTranslator:"Không tạo được trình dịch: {{message}}",errorDownloadingModel:"Không tải xuống được mô hình: {{message}}",errorTranslationFailed:"Dịch không thành công: {{message}}",modelUnavailable:"Mô hình không có sẵn",ar:"Tiếng Ả Rập",zh:"Tiếng Trung",nl:"Tiếng Hà Lan",en:"Tiếng Anh",fr:"Tiếng Pháp",de:"Tiếng Đức",hi:"Tiếng Hindi",id:"Tiếng Indonesia",it:"Tiếng Ý",ja:"Tiếng Nhật",ko:"Tiếng Hàn",pl:"Tiếng Ba Lan",pt:"Tiếng Bồ Đào Nha",ru:"Tiếng Nga",es:"Tiếng Tây Ban Nha",th:"Tiếng Thái",tr:"Tiếng Thổ Nhĩ Kỳ",vi:"Tiếng Việt",welcome_title:"Chào mừng bạn đến với AG Translate!",welcome_subtitle:"Cảm ơn bạn đã cài đặt tiện ích mở rộng của chúng tôi. Dưới đây là một vài mẹo để bắt đầu.",welcome_shortcut_translate_description:"Dịch trang hiện tại",welcome_shortcut_sidepanel_description:"Mở/Đóng bảng điều khiển bên",welcome_customize_settings:"Tùy chỉnh cài đặt và tùy chọn dịch của bạn.",welcome_open_settings_button:"Mở cài đặt",welcome_shortcut_not_set:"Chưa đặt, nhấp để đặt",welcome_keyboard_shortcuts:"Phím tắt",ext_description:"Dịch trang và văn bản đã chọn.",ag_chat:"AgChat",vip_expiration_time:"Thời gian hết hạn VIP",login:"Đăng nhập",timg_image_translate_all:"Dịch tất cả hình ảnh trên trang",options_search_image_pop_btn_vip_only:"Chỉ người dùng VIP mới có thể tắt tùy chọn này.",Enabled:"Đã bật",Disabled:"Đã tắt",options_search_image_pop_btn_title:"Hiển thị nút tìm kiếm trên hình ảnh",options_search_image_pop_btn_description:"Khi bạn di chuột qua hình ảnh, một nút tìm kiếm sẽ xuất hiện.",subscribe_to_vip:"Đăng ký VIP",agbtn_group:"Nhóm nút AG",agbtn_group_title:"Nhóm nút AG",agbtn_group_description:"Hiển thị một nhóm các nút hành động trên trang.",options_general:"Chung",options_page_translate:"Dịch trang",options_popper:"Trình dịch cửa sổ bật lên",options_image_search_button:"Nút tìm kiếm hình ảnh",input_translator:"Trình dịch đầu vào",Translation_Source:"Nguồn dịch",Quick_Translation:"Dịch nhanh",Turn_on_quick_translation:"Bật dịch nhanh",Right_click_menu:"Menu chuột phải",Translate_current_page:"Dịch trang hiện tại",CMD_TRANSLATE_CURRENT_PAGE_hint:"Nhấn lại để chuyển đổi giữa các chế độ hiển thị",Side_Panel:"Bảng điều khiển bên",Translate_selected_text_in_Sidepanel:"Dịch văn bản đã chọn trong bảng điều khiển bên",Appearance:"Giao diện",Light_mode:"Chế độ sáng",Dark_mode:"Chế độ tối",options_pdf:"PDF",translate_pdf:"Dịch PDF",pdf_tip:"Yêu cầu quyền bổ sung để dịch các tệp PDF cục bộ.",input_translator_trigger_mode:"Chế độ kích hoạt",input_translator_live_mode:"Trực tiếp",input_translator_hotkey_mode:"Phím nóng (Ctrl+Enter)",input_translator_manual_mode:"Thủ công",input_translator_blacklist:"Các trang web trong danh sách đen",input_translator_blacklist_desc:"Một trang web mỗi dòng. Trình dịch đầu vào sẽ bị tắt trên các trang web này.",options_popper_size:"Kích thước cửa sổ bật lên",options_popper_width:"Chiều rộng",options_popper_height:"Chiều cao",translate_service:"Dịch vụ dịch thuật",translate_service_google:"Google Dịch",translate_service_bing:"Bing Dịch",Translation_Mode_Prefer:"Tùy chọn chế độ dịch",Translation_Mode_Prefer_All:"Song ngữ",Translation_Mode_Prefer_Translation:"Chỉ dịch",Translation_Mode_Theme:"Chủ đề",Translation_Mode_Theme_0:"Mặc định",Translation_Mode_Theme_1:"Sáng",Translation_Mode_Theme_2:"Tối",no_translate_langs:"Không dịch các ngôn ngữ này",no_translate_langs_help:"Khi ngôn ngữ của một đoạn văn trên trang là một trong những ngôn ngữ sau, bản dịch sẽ bị bỏ qua",edit:"chỉnh sửa",Translation_Mode_Theme_3:"Đường viền đứt nét",Translation_Mode_Theme_4:"Đường viền liền",Translation_Mode_Theme_5:"Hiệu ứng làm mờ (Chế độ học tập)",Translation_Mode_Theme_6:"Độ trong suốt",Translation_Mode_Theme_7:"Gạch dưới dạng chấm",Translation_Mode_Theme_8:"Đường phân chia",Translation_Mode_Theme_9:"Đánh dấu",Translation_Mode_Theme_10:"Bút đánh dấu",Translation_Mode_Theme_11:"Bút đánh dấu 2",Translation_Mode_Theme_12:"Kiểu trích dẫn",Translation_Mode_Theme_13:"Làm yếu",Translation_Mode_Theme_14:"Màu xám đậm",Translation_Mode_Theme_15:"Hiệu ứng bóng giấy trắng",Translation_Mode_Theme_16:"In nghiêng",Translation_Mode_Theme_17:"In đậm",Translation_Mode_Theme_18:"Gạch dưới dạng chấm mỏng",Translation_Mode_Theme_19:"Đường lượn sóng",Translation_Mode_Theme_20:"Hệ thống đi kèm với một gạch dưới dạng chấm",Translation_Mode_Theme_21:"Hệ thống đi kèm với một gạch dưới dạng đứt nét",Translation_Mode_Theme_22:"Hệ thống đi kèm với một gạch dưới dạng đường thẳng",shortcut_settings_title:"Phím tắt",CMD_TRANSLATE_CURRENT_PAGE:"Dịch trang hiện tại",CMD_OPEN_CLOSE_SIDE_PANEL:"Mở/Đóng bảng điều khiển bên",shortcut_not_set:"Chưa đặt",shortcut_settings_description:"Để định cấu hình hoặc thay đổi các phím tắt, vui lòng truy cập trang phím tắt tiện ích mở rộng của trình duyệt.",shortcut_settings_button:"Đi tới Cài đặt"}}};Nl.use($l).init({resources:Fl,lng:navigator.language.split("-")[0],fallbackLng:"en",interpolation:{escapeValue:!1}});Nl.t("built_in_ai_translator");const Bl={engine:navigator.language.match("^zh")?"baidu":"google",translationModeTheme:1,translationModePrefer:"all",quickTranslation:!0,contextMenuTcp:!0,selctionToSideTranslate:!0,agSelectedLans:[],appearance_mode:"light",side_footer_open:!0,pdf_translate_enable:!1,tagCacheSelectTxts:!0,no_translate_langs:[],page_translate_engine:"google",popper_size_height:600,popper_size_width:600,agbtn_group_enabled:!0,inputTranslator_triggerMode:"manual",inputTranslator_blacklist:[],enableSearchImgPopBtn:!0};const Ul=(0,o.createContext)({config:Bl,setConfig:()=>{},isVip:!1,userInfo:void 0,setUserInfo:()=>{}});let Vl;function Hl(e){const{selectText:t,sentence:n,anchorEl:a,resultVisibleDefault:i=!1,cachedSelectTxtsFun:s,isCacheTxt:l,placement:c}=e,{config:u}=o.useContext(Ul),[d,p]=o.useState(!1),[f,h]=o.useState(i);let m=(0,o.useRef)(null);const{palette:g}=xa();o.useEffect(()=>{h(i)},[i]),o.useEffect(()=>{p(!!t)},[t]),o.useEffect(()=>{if(f&&t&&Vl){const e={topic:"translate",text:t,sentence:n,webUrl:window.location.href};Vl.postMessage(e)}},[f]);const _=d?"virtual-element-popper":void 0;return o.createElement("div",{onMouseDown:e=>{e.preventDefault()}},o.createElement(Mi,{sx:{zIndex:r},id:_,open:d,anchorEl:a,disablePortal:!0,placement:c,modifiers:[{name:"offset",options:{offset:[0,8]}}]},o.createElement(Ia,null,o.createElement(Li,null,o.createElement(Li,{sx:{display:f?"none":"flex",flexDirection:"row",justifyContent:"center",alignItems:"center",borderRadius:"5px",padding:0,border:"1px solid #e5e8eb",background:"#fff",boxShadow:"0 8px 16px #919eab29",gap:"0px",height:"28px"}},o.createElement(Ps,{onClick:e=>{p(!1),h(!0),e.stopPropagation()},size:"small"},o.createElement("img",{style:{width:"22px",height:"22px",borderRadius:"4px"},src:chrome.runtime.getURL("img/icon-38.png")})))))),o.createElement(Mi,{id:_,open:f,anchorEl:a,disablePortal:!0,keepMounted:!0,placement:c,sx:{zIndex:r},modifiers:[{name:"offset",options:{offset:[0,8]}}]},o.createElement(Ia,{sx:{position:"relative",border:"1px solid",borderColor:lr[300],backgroundColor:"#fff"},elevation:1},o.createElement(Li,{sx:{width:`${null==u?void 0:u.popper_size_width}px`,height:`${null==u?void 0:u.popper_size_height}px`,display:f?"block":"none"}},(m.current||f)&&o.createElement("iframe",{allow:"clipboard-read; clipboard-write *;translator",ref:m,style:{border:"none",outline:"none",width:"100%",height:"100%"},src:m.current?m.current.src:chrome.runtime.getURL(`/selectPopper.html?text=${encodeURIComponent(t)}&sentence=${encodeURIComponent(n||"")}&webUrl=${encodeURIComponent(location.href)}`)})))))}chrome.runtime.onConnect.addListener(e=>{"popper"==e.name&&(Vl=e,e.onDisconnect.addListener(()=>{Vl=null}))});const Gl=function(e){return(0,u.jsx)(zn,{...e,defaultTheme:Ta,themeId:Dn})};function Wl(e){return function(t){return(0,u.jsx)(Gl,{styles:"function"==typeof e?n=>e({theme:n,...t}):e})}}const ql="function"==typeof Wl({}),Kl=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),Ql=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),Yl=(e,t=!1)=>{const n={};t&&e.colorSchemes&&"function"==typeof e.getColorSchemeSelector&&Object.entries(e.colorSchemes).forEach(([t,r])=>{const a=e.getColorSchemeSelector(t);a.startsWith("@")?n[a]={":root":{colorScheme:r.palette?.mode}}:n[a.replace(/\s*&/,"")]={colorScheme:r.palette?.mode}});let r={html:Kl(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...Ql(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...n};const a=e.components?.MuiCssBaseline?.styleOverrides;return a&&(r=[r,a]),r},Jl="mui-ecs",Xl=Wl(ql?({theme:e,enableColorScheme:t})=>Yl(e,t):({theme:e})=>(e=>{const t=Yl(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${Jl})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([t,r])=>{const a=e.getColorSchemeSelector(t);a.startsWith("@")?n[a]={[`:root:not(:has(.${Jl}))`]:{colorScheme:r.palette?.mode}}:n[a.replace(/\s*&/,"")]={[`&:not(:has(.${Jl}))`]:{colorScheme:r.palette?.mode}}}),t})(e));const Zl=function(e){const t=Ea({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return(0,u.jsxs)(o.Fragment,{children:[ql&&(0,u.jsx)(Xl,{enableColorScheme:r}),!ql&&!r&&(0,u.jsx)("span",{className:Jl,style:{display:"none"}}),n]})};a(5612);var ec=function(e,t,n,r){return new(n||(n=Promise))(function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(i,s)}l((r=r.apply(e,t||[])).next())})};function tc(){return ec(this,void 0,void 0,function*(){const e=yield chrome.storage.local.get(["userInfo"]);let{userInfo:t}=e;return!!(t&&t.vipExpireDate&&new Date(t.vipExpireDate)>new Date)})}var nc=function(e,t,n,r){return new(n||(n=Promise))(function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(i,s)}l((r=r.apply(e,t||[])).next())})};function rc(e){const[t,n]=(0,o.useState)(void 0),[r,a]=(0,o.useState)(!1),[i,s]=(0,o.useState)(void 0);return(0,o.useEffect)(()=>{function e(e){if(e.userInfo&&(tc().then(a),s(e.userInfo.newValue)),e.config){const t=e.config.newValue;n(e=>Object.assign(Object.assign(Object.assign({},Bl),e),t))}}return function(){nc(this,void 0,void 0,function*(){const e=yield chrome.storage.local.get(["config","userInfo"]);n(Object.assign(Object.assign({},Bl),e.config)),a(yield tc()),e.userInfo&&s(e.userInfo)})}(),chrome.storage.local.onChanged.addListener(e),()=>{chrome.storage.local.onChanged.removeListener(e)}},[]),t?o.createElement(Ul.Provider,{value:{isVip:r,config:t,setConfig:e=>{chrome.storage.local.set({config:e})},userInfo:i,setUserInfo:s}},o.createElement(ua,{theme:(l=t.appearance_mode,aa(Object.assign({palette:{mode:l}},ja)))},o.createElement(Zl,null),e.children)):null;var l}let ac=null,oc=null;const ic=()=>{const[e,t]=(0,o.useState)(Bl),[n,r]=(0,o.useState)(null);(0,o.useEffect)(()=>{chrome.storage.local.get("config",e=>{t(Object.assign(Object.assign({},Bl),e.config))});const e=e=>{e.config&&t(Object.assign(Object.assign({},Bl),e.config.newValue))};return chrome.storage.onChanged.addListener(e),()=>chrome.storage.onChanged.removeListener(e)},[]);const a=(0,o.useCallback)(t=>{if(t.target instanceof Element&&t.target.closest(".ag-translate-popper-host"))return;const a=window.getSelection();if(!a||function(e){const t=e.trim();return!t||(!(!/^[\d\s\p{P}]+$/u.test(t)&&!/^(?:[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}|https?:\/\/[^\s]+)$/i.test(t))||-1===t.indexOf(" ")&&t.length>80)}(a.toString()))return void r(null);if(a.isCollapsed)return void r(null);const o=a.toString().trim();if(!o)return void r(null);if(n&&n.text===o)return void r(null);const i=(e=>{var t;const n=e.anchorNode;if(!n)return"";const r=null===(t=n.parentElement)||void 0===t?void 0:t.closest("p, li, pre, h1, h2, h3, h4, h5, h6, div, td"),a=(null==r?void 0:r.textContent)||"";if(a.length>500){const t=e.toString();if(!t)return a;const n=t.replace(/[-\/\\^$*+?.()|[\\]{}]/g,"\\$&"),r=a.match(new RegExp(`[^.!?]*${n}[^.!?]*`));return r?r[0]:a}return a})(a),{clientX:s,clientY:l}=t,c=window.scrollX,u=window.scrollY,d={text:o,sentence:i,placement:l<window.innerHeight/2?"bottom":"top",anchor:{getBoundingClientRect:()=>{const e=window.scrollX,t=window.scrollY;return new DOMRect(s-(e-c),l-(t-u),0,0)}}};oc&&e.selctionToSideTranslate?(oc.postMessage({topic:"translate",text:d.text,sentence:d.sentence,webUrl:window.location.href}),r(null)):e.quickTranslation?r(d):r(null)},[e,n]);return(0,o.useEffect)(()=>(document.addEventListener("mouseup",a),()=>document.removeEventListener("mouseup",a)),[a]),o.createElement(rc,null,n&&o.createElement(Hl,{selectText:n.text,sentence:n.sentence,resultVisibleDefault:!1,cachedSelectTxtsFun:()=>{},isCacheTxt:!1,anchorEl:n.anchor,placement:n.placement}))};var sc=function(e,t,n,r){return new(n||(n=Promise))(function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(i,s)}l((r=r.apply(e,t||[])).next())})};function lc(){return sc(this,void 0,void 0,function*(){let e=(yield chrome.storage.local.get("clientId")).clientId;return e||(e=self.crypto.randomUUID(),yield chrome.storage.local.set({clientId:e})),e})}function cc(){return sc(this,void 0,void 0,function*(){let{sessionData:e}=yield chrome.storage.session.get("sessionData");const t=Date.now();if(e&&e.timestamp){(t-e.timestamp)/6e4>30?e=null:(e.timestamp=t,yield chrome.storage.session.set({sessionData:e}))}return e||(e={session_id:t.toString(),timestamp:t.toString()},yield chrome.storage.session.set({sessionData:e})),e.session_id})}function uc(e){return sc(this,void 0,void 0,function*(){let t=[];for(var n of e)t.push({name:n.name,params:Object.assign({ext_version:chrome.runtime.getManifest().version,session_id:yield cc(),engagement_time_msec:100,host:location.host,url:location.href,ua:navigator.userAgent},n.params)});fetch("https://www.google-analytics.com/mp/collect?measurement_id=G-TS7PSH282F&api_secret=5-r8CUXdQSu2hCMQ0Fximg",{method:"POST",body:JSON.stringify({client_id:yield lc(),events:t})})})}function dc(e,t){return(Array(t).join("0")+e).slice(-t)}const pc=JSON.parse('[{"reg":"www.mi.com/shop/buy/detail","name":"小米","testUrl":"","groups":[{"name":"主图","selector":".J_imgList img"},{"name":"详情","selector":".detail-item img","lazySrc":"src"}]},{"reg":"detail.(m.)?(?:tmall|liangxinyao).(?:com|hk)|item.taobao.com","name":"淘宝/天猫","testUrl":"","groups":[{"name":"主图","selector":"[class*=picGallery] li img"},{"name":"视频","selector":"video","clickTrigger2":"[class*=switchTabsItem]"},{"name":"SKU","selector":"[class*=SkuContent] [class*=skuItem] img","scrollIntoView":"[class*=skuWrapper] [class*=quantityTip]","alt":{"closest":"div","selector":"span","fromTextContent":true}},{"name":"详情","selector":".desc-root img","lazySrc":"src","scrollIntoView":".desc-root"}]},{"reg":"detail.1688.com","name":"1688","testUrl":"","groups":[{"name":"主图","selector":"#dt-tab img, .detail-gallery-turn-outter-wrapper .detail-gallery-img, .detail-gallery-turn .detail-gallery-img, .img-list-wrapper .od-gallery-img"},{"name":"视频","selector":"video"},{"name":"SKU","selector":".pc-sku-wrapper .prop-img","bgi":true,"alt":{"closest":".prop-item-inner-wrapper","selector":".prop-name","fromTextContent":true}},{"name":"SKU","selector":".sku-filter-button img","alt":{"closest":".sku-filter-button","selector":".label-name","fromTextContent":true}},{"name":"SKU","selector":".sku-item-image","bgi":true,"alt":{"closest":".sku-item-wrapper","selector":".sku-item-name","fromTextContent":true}},{"name":"详情","selector":".content-detail img","lazySrc":"lazyloadSrc","scrollIntoView":".content-detail"}]},{"reg":"www.alibaba.com/product-detail","name":"阿里巴巴","testUrl":"","docTitle":"h1","groups":[{"name":"Main","selector":"[data-module=\\"MainImage\\"] [class*=\\"id-bg\\"][style]","bgi":true},{"name":"Video","selector":"video"},{"name":"SKU","selector":"[data-testid=\\"sku-list-item\\"] img","alt":{"closest":"div","selector":"img","fromTextContent":false,"fromAttr":"alt"}},{"name":"Detail","selector":"#J-rich-text-description img","lazySrc":"src","scrollIntoView":"#J-rich-text-description","iframe":"#description-layout iframe"}]},{"reg":"aliexpress\\\\..+/item/\\\\d+.html|aliexpress\\\\..+/ssr/\\\\d+/BundleDeals2","name":"Aliexpress","docTitle":"h1[data-pl=\\"product-title\\"]","groups":[{"name":"Main","selector":"[class*=\\"slider--img\\"] img"},{"name":"Video","selector":"video"},{"name":"SKU","selector":"[class*=\\"sku-item\\"] img","alt":{"closest":"div","selector":"img","fromTextContent":false,"fromAttr":"alt"}},{"name":"Detail","selector":"#product-description img","scrollIntoView":"#nav-description"}]},{"reg":"item.(jkcs|yiyao)?jd.(com|hk)","name":"京东","testUrl":"","groups":[{"name":"主图","selector":"#spec-list img"},{"name":"视频","selector":"video","clickTrigger":".J-video-icon"},{"name":"SKU","selector":"#choose-attrs img","alt":{"closest":"a","selector":"img","fromAttr":"alt"}},{"name":"详情","selector":"#J-detail-content img","lazySrc":"lazyload"},{"name":"详情","selector":"#J-detail-content .ssd-module","bgi":true}]},{"reg":"shein.com.*/.*p-\\\\d+.html","name":"shein","testUrl":"","groups":[{"name":"Main","selector":".product-intro__thumbs-item img,.main-picture li .crop-image-container img"},{"name":"SKU","selector":".product-intro__color_choose img, .goods-color__radio img, .main-sales-attr__color img.crop-image-container__img"},{"name":"Video","selector":"video"}]},{"reg":"pawfecthouse.com/.*products","name":"pawfecthouse","testUrl":"","groups":[{"name":"Main","selector":".product_gallery_nav img"},{"name":"Video","selector":"video","clickTrigger":".J-video-icon"},{"name":"SKU","selector":".customily-swatch img"},{"name":"Detail","selector":"#J-detail-content img","lazySrc":"lazyload"}]},{"reg":"www.mytheresa.com","name":"mytheresa","testUrl":"","groups":[{"name":"Main","selector":".product__gallery__thumbscarousel__image"}]},{"reg":"www.wildberries.ru/.*/detail","name":"wildberries","testUrl":"","groups":[{"name":"Main","selector":".product-page__main-slider img"},{"name":"Video","selector":"video[src*=\\".mp4\\"]"},{"name":"SKU","selector":".slider-color img"},{"name":"Detail","selector":"#J-detail-content img","lazySrc":"lazyload"}]},{"reg":"detail.vip.com/detail-","name":"vip","testUrl":"","groups":[{"name":"主图","selector":"#J-sImg-wrap img"},{"name":"视频","selector":"video"},{"name":"SKU","selector":"#J_detail_color img"},{"name":"详情","selector":"#J_dc_image img","lazySrc":"original"}]},{"reg":"www.redbubble.com/i/","name":"redbubble","testUrl":"","groups":[{"name":"Main","selector":"[class*=ProductPreviewsCarousel_box] img"}]},{"reg":"www.gigab2b.com.*product_id=","name":"gigab2b","testUrl":"","groups":[{"name":"Main","selector":".el-carousel__container img"},{"name":"SKU","selector":".options-wrap img"}]},{"reg":"www.goofish.com/item","name":"咸鱼","testUrl":"","groups":[{"name":"主图","selector":"[class*=item-main-window-list-item] img"}]},{"reg":"www.vidaxl.hr.*\\\\d+.html","name":"vidaxl","testUrl":"","groups":[{"name":"Main","selector":"img.carousel-nav-item__img"},{"name":"SKU","selector":"[class*=color-attribute] img","alt":{"closest":"[class*=color-attribute__values]","selector":".color-attribute__values--value-text","fromTextContent":true}}]},{"reg":"www.flannels.com","name":"flannels","testUrl":"","groups":[{"name":"Main","selector":"img.imgProduct"},{"name":"Video","selector":"video","scrollIntoView":"video"}]},{"reg":"www.moncler.cn","name":"Moncler","testUrl":"","groups":[{"name":"主图","selector":"img.main-image-animate"}]},{"reg":"www.temu.com.*\\\\d+.html","name":"temu","testUrl":"","groups":[{"name":"主图","selector":"._2AOclWz7 img","lazySrc":"src"},{"name":"SKU","selector":"._2bzGqXzH img","alt":{"closest":"div","selector":"img","fromTextContent":false,"fromAttr":"alt"}},{"name":"视频","selector":"video"},{"name":"详情","selector":"._2jCYETGt img","scrollIntoView":".FSPfUoK9","lazySrc":"src"}]},{"reg":"www.walmart.com.*/\\\\d+","name":"walmart","testUrl":"","groups":[{"name":"Main","selector":"[data-testid=vertical-carousel-container] img"}]},{"reg":"amazon\\\\..+/(dp|gp/product)/","name":"Amazon","testUrl":"","groups":[],"mainImgs":"#altImages .item img"},{"reg":"lazada\\\\..+/(product|products)/","name":"Lazada","testUrl":"","groups":[],"mainImgs":".item-gallery-v2__thumbnail-image"},{"reg":"vvic.com/item/","name":"搜款网","testUrl":"","groups":[{"name":"主图","selector":"#thumblist img"},{"name":"详情","selector":".detail-desc img","lazySrc":"src"}]},{"reg":"made-in-china.com/product","name":"Made in China","groups":[],"mainImgs":".J-picImg-zoom-in"}]');var fc=function(e,t,n,r){return new(n||(n=Promise))(function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(i,s)}l((r=r.apply(e,t||[])).next())})};function hc(){return fc(this,void 0,void 0,function*(){const e=pc.find(e=>location.href.match(e.reg));let t=[];return e&&(t=yield function(e){return fc(this,void 0,void 0,function*(){var t,n;let r=[];for(var a of e.groups){let n=document;a.iframe&&(n=document.querySelector(a.iframe).contentDocument),a.scrollIntoView&&(null===(t=n.querySelector(a.scrollIntoView))||void 0===t||t.scrollIntoView(),yield(()=>fc(this,void 0,void 0,function*(){return new Promise(e=>{let t=0,r=0,o=0,i=setInterval(()=>{t++,r=n.querySelectorAll(a.selector).length,t>20||r>0&&r==o?(clearInterval(i),e(1)):o=r},100)})}))());let o=a.clickTrigger2||a.clickTrigger;if(o){let e=n.querySelector(o);e&&(e.click(),yield new Promise(e=>{let t=0,r=setInterval(()=>{t++,(t>20||n.querySelectorAll(a.selector).length>0)&&(clearInterval(r),e(!0))},100)}))}r=r.concat(Array.from(n.querySelectorAll(a.selector)).map((t,n)=>{var r;let o="";if(a.alt){let e=null===(r=t.closest(a.alt.closest))||void 0===r?void 0:r.querySelector(a.alt.selector);e&&(a.alt.fromTextContent?o=e.textContent||"":a.alt.fromAttr&&(o=e.getAttribute(a.alt.fromAttr)||""),o=o.trim())}let i="";return i=a.bgi?(t.style.backgroundImage||window.getComputedStyle(t).backgroundImage).slice(4,-1).replace(/\"/g,"").replace(/\'/g,""):a.fromAttr?t.getAttribute(a.fromAttr)||"":a.lazySrc?t.dataset[a.lazySrc]||t.src:t.src||t.currentSrc,i=i||"",i=i.replace(/.*\/\//,`${location.protocol}//`),{src:i,group:a.name,groupIndex:e.groups.indexOf(a),alt:`${a.name}-${dc(n+1,2)}`+(o?`-${o}`:""),type:"VIDEO"==t.tagName?"VIDEO":"IMAGE"}}))}if(e.docTitle){let t=(null===(n=document.querySelector(e.docTitle))||void 0===n?void 0:n.textContent)||document.title;r.forEach(e=>{e.docTitle=t})}return r})}(e)),t.length>0?t:function(){let e=[];document.querySelectorAll("img").forEach(function(t,n){e.push({src:t.src||t.currentSrc,alt:t.alt||""})});for(var t=document.getElementsByTagName("input"),n=0;n<t.length;n++){var r=t[n];if("IMAGE"==r.type.toUpperCase()){var a=r.src;e.push({src:a})}}var o=document.getElementsByTagName("a");for(n=0;n<o.length;n++){var i=o[n].href;i.match(".(jpg|jpeg|bmp|ico|gif|png)\b")&&e.push({src:i})}return Array.from(e).map((e,t)=>({src:e.src,indexInPage:t,alt:e.alt}))}()})}class mc{constructor(){this.imgs=[],this.ports=[];let e=chrome.runtime.connect({name:"output"});this.ports.push(e),e.onDisconnect.addListener(()=>{this.ports.splice(this.ports.indexOf(e),1)}),chrome.runtime.onConnect.addListener(e=>{this.ports.push(e),"output"==e.name&&this.imgs.length>0&&this.imgs.length>0&&(e.postMessage({cmd:"add_imgs",data:this.imgs}),this.imgs=[]),e.onDisconnect.addListener(()=>{this.ports.splice(this.ports.indexOf(e),1)})})}static getInstance(){return null===mc.instance&&(mc.instance=new mc),mc.instance}collect(){return fc(this,void 0,void 0,function*(){this.imgs=yield hc(),this.ports.length>0&&(this.ports.forEach(e=>{e.postMessage({cmd:"add_imgs",data:this.imgs})}),this.imgs=[]),chrome.runtime.sendMessage({cmd:"open-output"})})}collect2(){return fc(this,void 0,void 0,function*(){this.imgs=yield hc()})}}mc.instance=null;let gc=!1,_c=null,yc=null,vc=0,bc=0;function Tc(){gc&&(gc=!1,console.log("Cleaning up selection UI and listeners."),_c&&(_c.removeEventListener("mousedown",kc),_c.removeEventListener("mousemove",Sc),_c.removeEventListener("mouseup",xc),_c.removeEventListener("contextmenu",Mc),_c.removeEventListener("dragstart",wc)),document.removeEventListener("keydown",Cc),_c&&_c.parentNode&&(_c.parentNode.removeChild(_c),_c=null),yc&&yc.parentNode&&(yc.parentNode.removeChild(yc),yc=null))}function wc(e){e.preventDefault(),e.stopPropagation()}function kc(e){if(0===e.button){if(wc(e),!gc||!yc||!_c)return console.warn("onMouseDown called but selection state is invalid."),void Tc();vc=e.clientX,bc=e.clientY,yc.style.left=vc+"px",yc.style.top=bc+"px",yc.style.width="0px",yc.style.height="0px",yc.style.display="block"}}function Sc(e){if(!gc||!yc||"none"===yc.style.display)return;const t=e.clientX,n=e.clientY,r=Math.min(t,vc),a=Math.min(n,bc),o=Math.abs(t-vc),i=Math.abs(n-bc);yc.style.left=r+"px",yc.style.top=a+"px",yc.style.width=o+"px",yc.style.height=i+"px"}function xc(e){if(!gc||!yc||"none"===yc.style.display)return;wc(e);const t=e.clientX,n=e.clientY,r=Math.min(vc,t),a=Math.min(bc,n),o=Math.abs(t-vc),i=Math.abs(n-bc);if(o<1||i<1)return console.log("Selection area too small. Cancelling."),void Tc();console.log("Selection complete:",{x:r,y:a,width:o,height:i});const s={action:"initiateCapture",area:{x:r,y:a,width:o,height:i}};Tc(),setTimeout(()=>{chrome.runtime.sendMessage(s,e=>{chrome.runtime.lastError?console.error("Error sending initiateCapture message to background:",chrome.runtime.lastError.message):console.log("InitiateCapture message sent. Background response:",e)})},100)}function Mc(e){gc&&(wc(e),console.log("Selection cancelled by right-click."),Tc())}function Cc(e){gc&&"Escape"===e.key&&(console.log("Selection cancelled by Escape key."),Tc())}var Ec=function(e,t,n,r){return new(n||(n=Promise))(function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(i,s)}l((r=r.apply(e,t||[])).next())})};function Pc(){return Ec(this,void 0,void 0,function*(){let e=(yield chrome.storage.local.get("clientId")).clientId;return e||(e=self.crypto.randomUUID(),yield chrome.storage.local.set({clientId:e})),e})}function Ac(){return Ec(this,void 0,void 0,function*(){let{sessionData:e}=yield chrome.storage.session.get("sessionData");const t=Date.now();if(e&&e.timestamp){(t-e.timestamp)/6e4>30?e=null:(e.timestamp=t,yield chrome.storage.session.set({sessionData:e}))}return e||(e={session_id:t.toString(),timestamp:t.toString()},yield chrome.storage.session.set({sessionData:e})),e.session_id})}function Lc(e){return Ec(this,void 0,void 0,function*(){let t=[];for(var n of e)t.push({name:n.name,params:Object.assign({ext_id:chrome.runtime.id,ext_name:chrome.runtime.getManifest().name,ext_version:chrome.runtime.getManifest().version,session_id:yield Ac(),engagement_time_msec:100,host:location.host,url:location.href},n.params)});fetch("https://www.google-analytics.com/mp/collect?measurement_id=G-YWH9277Z46&api_secret=ncpIg92NSem4zexNYvMfbQ",{method:"POST",body:JSON.stringify({client_id:yield Pc(),events:t})})})}const zc=JSON.parse('[{"reg":"detail.(m.)?(?:tmall|liangxinyao).(?:com|hk)|item.taobao.com","name":"淘宝/天猫","testUrl":"","simg":{"popbtn":{"imgCovered":[{"cover":"[class*=--thumbnail--]","img":{"closest":"[class*=--thumbnail--]"}}]}}},{"reg":"detail.1688.com","name":"1688","testUrl":"","simg":{"popbtn":{"imgCovered":[{"cover":".od-gallery-turn-item-wrapper","img":{"closest":".od-gallery-turn-item-wrapper"}}]}}},{"reg":"www.instagram.com","name":"instagram","testUrl":"","simg":{"popbtn":{"imgCovered":[{"cover":"._aagw","img":{"closest":"._aagu"}},{"cover":"ul.x6s0dn4","img":{"closest":"a"}}]}}},{"reg":"www.facebook.com","name":"facebook","testUrl":"","simg":{"popbtn":{"imgCropped":[{"wrapper":".xqtp20y"}],"imgCovered":[{"cover":"img+span.x1ey2m1c","img":{"closest":"a"}}]}}},{"reg":"www.google.com/search.*udm=26","name":"googer image search","testUrl":"","simg":{"popbtn":{"imgCovered":[{"cover":"[jsdata^=\'j0Opre\']","img":{"closest":"div"}}]}}}]');var Nc=function(e,t,n,r){return new(n||(n=Promise))(function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(i,s)}l((r=r.apply(e,t||[])).next())})};function Rc(e){Lc([{name:"search_img",params:{action:"pop_btn"}}]),window.open(chrome.runtime.getURL(`/searchImage.html?imgSrc=${encodeURIComponent(e.src)}`),"_blank")}function Oc(e,t){var n;let r=null,a=null;if(t&&t.popbtn.imgCovered)for(let o of t.popbtn.imgCovered)if(e.closest(o.cover)&&(r=e,a=null===(n=r.closest(o.img.closest))||void 0===n?void 0:n.querySelector("img"),r&&a))break;if((!r||!a)&&"IMG"==e.tagName&&(r=e,a=e,null==t?void 0:t.popbtn.imgCropped))for(let n of t.popbtn.imgCropped)if(r=e.closest(n.wrapper),r)break;return{cover:r,img:a}}function Dc(e){return Nc(this,void 0,void 0,function*(){var t;const n=e||(null===(t=zc.find(e=>location.href.match(e.reg)))||void 0===t?void 0:t.simg);let r;window.addEventListener("mouseover",e=>{const t=e.target,a=t.closest(".simg-pop-btn");if(a)return void(a.dataset.hover="1");const{cover:o,img:i}=Oc(t,n);if(o&&i){const e=o.getBoundingClientRect();e.width>=80&&e.height>=80&&(r=window.setTimeout(()=>{if(o.simgPopBtn)o.simgPopBtn.style.display="flex";else{let t=document.createElement("div");t.innerHTML='\n                <svg class="" focusable="false" aria-hidden="true" viewBox="0 0 24 24" data-testid="ImageSearchIcon"><path d="M18 13v7H4V6h5.02c.05-.71.22-1.38.48-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-5zm-1.5 5h-11l2.75-3.53 1.96 2.36 2.75-3.54zm2.8-9.11c.44-.7.7-1.51.7-2.39C20 4.01 17.99 2 15.5 2S11 4.01 11 6.5s2.01 4.5 4.49 4.5c.88 0 1.7-.26 2.39-.7L21 13.42 22.42 12zM15.5 9C14.12 9 13 7.88 13 6.5S14.12 4 15.5 4 18 5.12 18 6.5 16.88 9 15.5 9"></path></svg>\n                ',t.onclick=Rc.bind(window,i),document.body.appendChild(t),o.simgPopBtn=t,t.classList.add("simg-pop-btn"),e.width<100&&t.classList.add("simg-pop-btn-small")}o.simgPopBtn.style.top=e.top+window.scrollY+4+"px",o.simgPopBtn.style.left=e.left+window.scrollX+4+"px"},100))}}),window.addEventListener("mouseout",e=>{r&&window.clearTimeout(r);const t=e.target,a=t.closest(".simg-pop-btn");if(a)return void(a.dataset.hover="0");const{cover:o}=Oc(t,n);o&&setTimeout(()=>{o.simgPopBtn&&"1"!=o.simgPopBtn.dataset.hover&&(o.simgPopBtn.style.display="none")},20)}),window.addEventListener("click",()=>{document.querySelectorAll(".simg-pop-btn").forEach(e=>{e.style.display="none"})})})}var Ic=function(e,t,n,r){return new(n||(n=Promise))(function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(i,s)}l((r=r.apply(e,t||[])).next())})};function jc(e){return Ic(this,arguments,void 0,function*(e,t=50){return new Promise(n=>{let r=setInterval(()=>{let a=document.querySelector(e);a?(clearInterval(r),n(a)):0>t&&(n(null),clearInterval(r))},100)})})}function $c(e,t,n,r,a){let o=e.width,i=e.height;t>0&&o>t&&(i*=t/o,o=t),n>0&&i>n&&(o*=n/i,i=n);const s=document.createElement("canvas");s.width=o,s.height=i;const l=s.getContext("2d");if(!l)throw new Error("Could not get 2D context from canvas element.");return l.drawImage(e,0,0,o,i),s.toDataURL(r,a)}var Fc=function(e,t,n,r){return new(n||(n=Promise))(function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(i,s)}l((r=r.apply(e,t||[])).next())})};let Bc=null;location.href.match(/google\.com\/search/)&&window.addEventListener("message",e=>{"google-nps"==e.data.cmd&&(Bc=e.data.data)});const Uc={searchImg(e){return Fc(this,void 0,void 0,function*(){let t=yield jc('[jscontroller="lpsUAf"]');if(t){t.click();let n=0,r=setInterval(()=>{n++;const t=document.querySelector("input[type=file]"),a=new DataTransfer;a.items.add(e);const o=a.files;t&&(t.files=o,t.dispatchEvent(new Event("change",{bubbles:!0})),t.dispatchEvent(new Event("input",{bubbles:!0}))),(t||n>50)&&clearInterval(r)},100)}})},getImgUrl(e){return Fc(this,void 0,void 0,function*(){let t=e.closest("a"),n="";if(t)try{n=new URL(t.href).searchParams.get("imgurl")||""}catch(e){console.log(t,t.href)}if(n)return n;const r=e.closest('[jsdata^="j0Opre"]');if(r){const e=(r.getAttribute("jsdata")||"").split(";")[2];if(e&&Bc){const t=Bc[e];if(t)return t[3][0]}}return e.src})},getAllImgs(){return Fc(this,void 0,void 0,function*(){const e=document.querySelectorAll('[jsdata^="j0Opre"]');return yield Promise.all(Array.from(e).map(e=>{const t=e.querySelector("img");return t?this.getImgUrl(t):Promise.resolve("")}))})}};var Vc=function(e,t,n,r){return new(n||(n=Promise))(function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(i,s)}l((r=r.apply(e,t||[])).next())})};function Hc(e){Lc([{name:"search_img",params:{action:"pop_btn"}}]),location.href.match("google.com")&&Uc.getImgUrl(e).then(e=>{chrome.runtime.sendMessage({cmd:"simg-dl",data:{url:e}})})}function Gc(e,t){var n;let r=null,a=null;if(t&&t.popbtn.imgCovered)for(let o of t.popbtn.imgCovered)if(e.closest(o.cover)&&(r=e,a=null===(n=r.closest(o.img.closest))||void 0===n?void 0:n.querySelector("img"),r&&a))break;if((!r||!a)&&"IMG"==e.tagName&&(r=e,a=e,null==t?void 0:t.popbtn.imgCropped))for(let n of t.popbtn.imgCropped)if(r=e.closest(n.wrapper),r)break;return{cover:r,img:a}}function Wc(e){return Vc(this,void 0,void 0,function*(){var t;const n=e||(null===(t=zc.find(e=>location.href.match(e.reg)))||void 0===t?void 0:t.simg);window.addEventListener("mouseover",e=>{const t=e.target,r=t.closest(".simg-pop-btn");if(r)return void(r.dataset.hover="1");const{cover:a,img:o}=Gc(t,n);if(a&&o){const e=a.getBoundingClientRect();if(e.width>=80&&e.height>=80){if(a.simgPopBtn)a.simgPopBtn.style.display="flex";else{let t=document.createElement("div");t.innerHTML='\n                    <svg class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-14500qs-MuiSvgIcon-root" focusable="false" aria-hidden="true" viewBox="0 0 24 24" data-testid="DownloadIcon"><path d="M5 20h14v-2H5zM19 9h-4V3H9v6H5l7 7z"></path></svg>\n                ',t.onclick=Hc.bind(window,o),document.body.appendChild(t),a.simgPopBtn=t,t.classList.add("simg-pop-btn"),e.width<100&&t.classList.add("simg-pop-btn-small"),t.style.position="absolute",t.style.zIndex="1000"}a.simgPopBtn.style.top=e.top+window.scrollY+4+"px",a.simgPopBtn.style.left=e.left+window.scrollX+4+"px"}}}),window.addEventListener("mouseout",e=>{const t=e.target,r=t.closest(".simg-pop-btn");if(r)return void(r.dataset.hover="0");const{cover:a}=Gc(t,n);a&&setTimeout(()=>{a.simgPopBtn&&"1"!=a.simgPopBtn.dataset.hover&&(a.simgPopBtn.style.display="none")},20)}),window.addEventListener("click",()=>{document.querySelectorAll(".simg-pop-btn").forEach(e=>{e.style.display="none"})})})}var qc=function(e,t,n,r){return new(n||(n=Promise))(function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(i,s)}l((r=r.apply(e,t||[])).next())})};var Kc=function(e,t,n,r){return new(n||(n=Promise))(function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(i,s)}l((r=r.apply(e,t||[])).next())})};const Qc={searchImg(e){return Kc(this,void 0,void 0,function*(){let t=yield jc(".soutu-btn");if(t){t.click();let n=0,r=setInterval(()=>{n++;const t=document.querySelector("input[type=file]"),a=new DataTransfer;a.items.add(e);const o=a.files;t&&(t.files=o,t.dispatchEvent(new Event("change",{bubbles:!0})),t.dispatchEvent(new Event("input",{bubbles:!0}))),(t||n>50)&&clearInterval(r)},100)}})},getImgUrl(e){return Kc(this,void 0,void 0,function*(){return e.src})},getAllImgs(){return Kc(this,void 0,void 0,function*(){let e=document.querySelectorAll(".graph-similar img");return yield Promise.all(Array.from(e).map(e=>this.getImgUrl(e)))})}};var Yc=function(e,t,n,r){return new(n||(n=Promise))(function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(i,s)}l((r=r.apply(e,t||[])).next())})};top!=window&&location.href.match(/bing.com/)&&window.addEventListener("submit",e=>{e.target.target="_self"});const Jc={searchImg(e){return Yc(this,void 0,void 0,function*(){let t=0,n=setInterval(()=>{t++;const r=document.querySelector("input[type=file]"),a=new DataTransfer;a.items.add(e);const o=a.files;if(r){const e=r.closest("form");e&&(e.target="_self"),r.files=o,r.dispatchEvent(new Event("change",{bubbles:!0})),r.dispatchEvent(new Event("input",{bubbles:!0}))}(r||t>50)&&clearInterval(n)},100)})},getImgUrl(e){return Yc(this,void 0,void 0,function*(){let t=e.closest("a"),n="";if(t)try{n=new URL(t.href).searchParams.get("imgurl")||""}catch(e){console.log(t,t.href)}if(n)return n;const r=e.closest('[jsdata^="j0Opre"]');if(r){(r.getAttribute("jsdata")||"").split(";")[2];0}return e.src})},getAllImgs(){return Yc(this,void 0,void 0,function*(){const e=document.querySelectorAll('[jsdata^="j0Opre"]');return yield Promise.all(Array.from(e).map(e=>{const t=e.querySelector("img");return t?this.getImgUrl(t):Promise.resolve("")}))})}};function Xc(e){(function(e){return Ic(this,void 0,void 0,function*(){return new Promise(t=>{var n=new FileReader;n.onload=function(e){var n;t(null===(n=e.target)||void 0===n?void 0:n.result)},n.readAsDataURL(e)})})})(e).then(e=>{const t="localImgSearchKey_1f";sessionStorage[t]=e,location.href=`https://s.taobao.com/search?ie=utf8&search_type=item&spm=a21bo.tmall%252Fa.search_image.image_search_button&tab=all&localImgKey=${t}`})}var Zc=function(e,t,n,r){return new(n||(n=Promise))(function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(i,s)}l((r=r.apply(e,t||[])).next())})};function eu(e){return Zc(this,void 0,void 0,function*(){const t=e.dataUri,n=yield function(e,t,n){return Ic(this,arguments,void 0,function*(e,t,n,r="image/jpeg",a=.7){return new Promise((o,i)=>{const s="string"==typeof e?new Image:e;if("string"==typeof e){if(s.onload=()=>{try{const e=$c(s,t,n,r,a);o(e)}catch(e){i(e)}},s.onerror=e=>{i(e)},s.src=e,s.complete)if("string"==typeof e)s&&s.onload&&s.onload(new Event(""));else try{const e=$c(s,t,n,r,a);o(e)}catch(e){i(e)}}else if(e instanceof HTMLImageElement)try{const e=$c(s,t,n,r,a);o(e)}catch(e){i(e)}else i(new Error("Invalid image source.  Must be a URL string or an HTMLImageElement."))})})}(t,500,500);let r=function(e,t){for(var n=e.split(","),r=(n[0].match(/:(.*?);/)||[])[1],a=atob(n[n.length-1]),o=a.length,i=new Uint8Array(o);o--;)i[o]=a.charCodeAt(o);return new File([i],t,{type:r})}(n,"f.jpg");location.href.match("aliexpress.com")?function(e){var t=new MouseEvent("mouseover",{view:window,bubbles:!0,cancelable:!0});let n=0,r=setInterval(()=>{n++;let a=document.querySelector('[class*="esm--picture-search-btn"] img');if(a){a.dispatchEvent(t);const n=document.querySelector("input[type=file]"),r=new DataTransfer;r.items.add(e);const o=r.files;n&&(n.files=o,n.dispatchEvent(new Event("change",{bubbles:!0})))}(a||n>50)&&clearInterval(r)},100)}(r):location.href.match("www.1688.com")?function(e){let t=0,n=setInterval(()=>{t++;const r=document.querySelector("main input[type=file]"),a=new DataTransfer;a.items.add(e);const o=a.files;if(r){r.files=o,r.dispatchEvent(new Event("change",{bubbles:!0})),r.dispatchEvent(new Event("input",{bubbles:!0}));let e=0,t=setInterval(()=>{let n=document.querySelector(".search-btn");e++,n&&(clearInterval(t),n.click(),window.close()),e>50&&clearInterval(t)},100)}(r||t>50)&&clearInterval(n)},100)}(r):location.href.match("alibaba.com")?function(e){let t=0,n=setInterval(()=>{t++;let r=document.querySelector(".ife-header-search-bar-img-outside");if(r){r.click();const t=document.querySelector("input[type=file]"),n=new DataTransfer;n.items.add(e);const a=n.files;t&&(t.files=a,t.dispatchEvent(new Event("change",{bubbles:!0})))}(r||t>50)&&clearInterval(n)},100)}(r):location.href.match("tmall.com")?function(e){let t=0,n=setInterval(()=>{t++;const r=document.querySelector("#image-search-custom-file-input"),a=new DataTransfer;a.items.add(e);const o=a.files;if(r){r.files=o,r.dispatchEvent(new Event("change",{bubbles:!0})),r.dispatchEvent(new Event("input",{bubbles:!0}));let e=0,t=setInterval(()=>{var n;let r=document.querySelector("#image-search-upload-button"),a=document.querySelector(".image-search-success-img");e++,a&&r&&"搜索"==(null===(n=r.textContent)||void 0===n?void 0:n.trim())&&(clearInterval(t),r.click()),e>50&&clearInterval(t)},100)}(r||t>50)&&clearInterval(n)},100)}(r):location.href.match("s.taobao.com")?Xc(r):location.href.match("baidu.com")?Qc.searchImg(r):location.href.match("google.com")?Uc.searchImg(r):location.href.match("bing.com")?Jc.searchImg(r):location.href.match("www.made-in-china.com")?function(e){qc(this,void 0,void 0,function*(){const t=yield createImageBitmap(e),n=new FormData;n.append("multipartFile",e),n.append("orgwidth",t.width+""),n.append("orgheight",t.height+""),n.append("zipsize",e.size+""),n.append("orgsize",e.size+""),fetch("https://file.made-in-china.com/img-search/upload",{method:"POST",body:n}).then(e=>e.json()).then(e=>{location.href=e.data.url.replace("http://","https://")})})}(r):location.href.match("tusou.vvic.com")&&function(e){let t=0,n=setInterval(()=>{t++;let r=document.querySelector("#tusouForm input");r&&(r.focus(),setTimeout(()=>{const t=document.querySelector("input[type=file]"),n=new DataTransfer;n.items.add(e);const r=n.files;t&&(t.files=r,t.dispatchEvent(new Event("change",{bubbles:!0})))},100)),(r||t>50)&&clearInterval(n)},100)}(r)})}const tu=new Set(["P","LI","BLOCKQUOTE","FIGCAPTION","TD","TH","TITLE","H1","H2","H3","H4","H5","H6","DIV"]),nu=new Set([...tu,"SPAN","A","BUTTON","LABEL","LEGEND","SUMMARY"]),ru=new Set(["B","I","U","EM","STRONG","SUB","SUP","S","CODE","KBD","VAR","SAMP","A","BR"]),au=new Set(["SCRIPT","STYLE","NOSCRIPT","PRE","SVG","CANVAS","VIDEO","AUDIO","IFRAME","TEXTAREA","INPUT"]);let ou={};class iu{static setHostnameIgnores(e){ou=e}static useEffectiveBlockLevelWrapping(e){if(tu.has(e.tagName))return!0;for(const t of Array.from(e.children))if(ru.has(t.tagName))return!0;return!1}static isEligibleContainer(e){return e.nodeType===Node.ELEMENT_NODE&&nu.has(e.tagName)}static isInlineProtected(e){return e.nodeType===Node.ELEMENT_NODE&&ru.has(e.tagName)}static isFullyProtected(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;const t=e,n=window.location.hostname,r=ou[n];if(r)for(const e of r)if(t.closest(e))return!0;return!!t.isContentEditable||au.has(t.tagName)}static hasDirectMeaningfulText(e){return Array.from(e.childNodes).some(e=>{var t,n;return e.nodeType===Node.TEXT_NODE&&(null!==(n=null===(t=e.nodeValue)||void 0===t?void 0:t.trim().length)&&void 0!==n?n:0)>0})}}var su,lu=function(e,t,n,r){return new(n||(n=Promise))(function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(i,s)}l((r=r.apply(e,t||[])).next())})};class cu{static translate(e){return lu(this,void 0,void 0,function*(){const t=navigator.language;return 0===e.length?[]:yield new Promise(n=>{chrome.runtime.sendMessage({cmd:"tranHtml",data:{html:e,tl:t}},e=>{n(e.map(e=>e.to==t?"":e.text))})})})}}!function(e){e.BILINGUAL="bilingual",e.TRANSLATED_ONLY="translated_only",e.ORIGINAL_ONLY="original_only"}(su||(su={}));var uu=function(e,t,n,r){return new(n||(n=Promise))(function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(i,s)}l((r=r.apply(e,t||[])).next())})};var du;!function(e){e[e.IDLE=0]="IDLE",e[e.PROCESSING=1]="PROCESSING",e[e.TRANSLATED=2]="TRANSLATED"}(du||(du={}));class pu{constructor(e=1){this.state=du.IDLE,this.blocks=new Map,this.nextBlockId=0,this.observer=null,this.debounceTimer=null,this.nodesToProcess=new Set,this.displayMode=su.ORIGINAL_ONLY,this.theme=e}translatePage(e){return uu(this,void 0,void 0,function*(){if(this.state===du.IDLE)try{if(this.state=du.PROCESSING,this.reset(),console.time("TranslationProcess"),this.collectBlocksRecursively(e),0===this.blocks.size)return void(this.state=du.IDLE);const t=Array.from(this.blocks.values()).map(e=>e.apiText),n=yield cu.translate(t);for(let e=0;e<n.length;e++){const t=Array.from(this.blocks.values())[e];this.applyTranslation(t,n[e])}this.state=du.TRANSLATED,this.setDisplayMode(su.BILINGUAL),this.startObserving(e)}catch(e){console.error("Translation failed:",e),this.revert()}finally{console.timeEnd("TranslationProcess")}})}collectBlocksRecursively(e){var t;if(!iu.isFullyProtected(e)&&e.nodeType===Node.ELEMENT_NODE){const n=e;let r=iu.isEligibleContainer(n)&&iu.hasDirectMeaningfulText(n);if(r||"A"!==n.tagName&&"BUTTON"!==n.tagName||1!==n.childNodes.length||(null===(t=n.firstChild)||void 0===t?void 0:t.nodeType)!==Node.TEXT_NODE||(r=!0),r)this.createBlock(n);else for(const e of Array.from(n.childNodes))this.collectBlocksRecursively(e)}}createBlock(e){const t=new Map;let n=0;const r=[],a=[],o=t=>{if(t.nodeType===Node.TEXT_NODE)r.push({node:t,originalValue:t.nodeValue||""});else if(t.nodeType===Node.ELEMENT_NODE){t!==e&&a.push(t);for(const e of Array.from(t.childNodes))o(e)}},i=e=>{if(e.nodeType===Node.TEXT_NODE)return e.nodeValue||"";if(e.nodeType===Node.ELEMENT_NODE){if(iu.isInlineProtected(e)){const r=n++;return t.set(r,e),`<ph id="${r}"/>`}return Array.from(e.childNodes).map(i).join("")}return""},s=Array.from(e.childNodes);for(const e of s)o(e);const l=s.map(i).join("");if(0===l.trim().length)return;const c=this.nextBlockId++;this.blocks.set(c,{id:c,container:e,apiText:l,placeholders:t,originalChildNodes:s,originalTextNodes:r,originalElements:a,injectedTranslationNodes:[]})}applyTranslation(e,t){iu.useEffectiveBlockLevelWrapping(e.container)?this.applyBlockLevelInjection(e,t):this.applyTextNodeLevelInjection(e,t)}applyBlockLevelInjection(e,t){const n=this.reconstituteDOM(t,e.placeholders),r=document.createElement("span");r.className="translated-content",r.classList.add(`ag-translate-wrapper-theme-${this.theme}`);const a=document.createElement("span");a.classList.add("ag-translate-target-inner"),a.appendChild(n),r.setAttribute("data-translation-block-id",e.id.toString()),r.appendChild(a),r.textContent.length>30&&r.classList.add("translation-multiline"),e.container.appendChild(r),e.injectedTranslationNodes.push(r)}applyTextNodeLevelInjection(e,t){const n=this.reconstituteDOM(t,e.placeholders),r=Array.from(n.childNodes).filter(e=>{var t,n;return e.nodeType===Node.TEXT_NODE&&(null!==(n=null===(t=e.nodeValue)||void 0===t?void 0:t.trim().length)&&void 0!==n?n:0)>0}),a=e.originalTextNodes.filter(e=>e.originalValue.trim().length>0).map(e=>e.node);if(a.length===r.length)for(let t=0;t<a.length;t++){const n=a[t],o=r[t];if(!n.parentNode)continue;const i=document.createElement("span");i.className="translated-content",i.textContent.length>30&&i.classList.add("translation-multiline"),i.classList.add(`ag-translate-wrapper-theme-${this.theme}`);const s=document.createElement("span");s.classList.add("ag-translate-target-inner"),s.appendChild(o.cloneNode(!0)),i.appendChild(s),n.parentNode.insertBefore(i,n.nextSibling),e.injectedTranslationNodes.push(i)}else this.applyBlockLevelInjection(e,t)}reconstituteDOM(e,t){const n=document.createDocumentFragment(),r=e.split(/(<ph id="\d+"\/>)/g).filter(Boolean);for(const e of r){const r=e.match(/<ph id="(\d+)"\/>/);if(r){const e=parseInt(r[1],10),a=t.get(e);a&&n.appendChild(a.cloneNode(!0))}else n.appendChild(document.createTextNode(e))}return n}setDisplayMode(e){if(this.state!==du.TRANSLATED)return;this.displayMode=e;const t="translation-hidden-element";this.blocks.forEach(n=>{const r=e===su.BILINGUAL||e===su.ORIGINAL_ONLY,a=e===su.BILINGUAL||e===su.TRANSLATED_ONLY;if(n.injectedTranslationNodes.forEach(e=>{e.style.display=a?"":"none"}),r)n.originalTextNodes.forEach(e=>{e.node.nodeValue=e.originalValue}),n.originalElements.forEach(e=>{e.classList.remove(t)});else{n.originalTextNodes.forEach(e=>{e.node.nodeValue=""});const e=new Set(n.placeholders.values());n.originalElements.forEach(n=>{e.has(n)?n.classList.add(t):n.classList.remove(t)})}})}revert(){if(this.state===du.IDLE)return;this.stopObserving();this.blocks.forEach(e=>{e.originalTextNodes.forEach(e=>{e.node.nodeValue=e.originalValue}),e.originalElements.forEach(e=>{e.classList.remove("translation-hidden-element")}),e.injectedTranslationNodes.forEach(e=>{var t;null===(t=e.parentNode)||void 0===t||t.removeChild(e)})}),this.reset(),this.state=du.IDLE,console.log("Revert finished. Original DOM is fully restored.")}reset(){this.blocks.clear(),this.nextBlockId=0}startObserving(e){if(this.observer)return;this.observer=new MutationObserver(this.handleMutations.bind(this)),this.observer.observe(e,{childList:!0,subtree:!0,attributes:!1,characterData:!1}),console.log("MutationObserver started.")}stopObserving(){this.observer&&(this.observer.disconnect(),this.observer=null,this.debounceTimer&&(clearTimeout(this.debounceTimer),this.debounceTimer=null),this.nodesToProcess.clear(),console.log("MutationObserver stopped."))}handleMutations(e){for(const t of e)"childList"===t.type&&t.addedNodes.forEach(e=>{e.nodeType!==Node.ELEMENT_NODE||e.matches(".translated-content")||this.nodesToProcess.add(e)});this.nodesToProcess.size>0&&(this.debounceTimer&&clearTimeout(this.debounceTimer),this.debounceTimer=window.setTimeout(()=>{this.processAddedNodes(),this.debounceTimer=null},300))}processAddedNodes(){return uu(this,void 0,void 0,function*(){if(0===this.nodesToProcess.size)return;console.time("ProcessAddedNodes");const e=Array.from(this.nodesToProcess);this.nodesToProcess.clear();const t=e.filter(t=>!e.some(e=>e!==t&&e.contains(t))),n=this.blocks.size;for(const e of t)document.body.contains(e)&&this.collectBlocksRecursively(e);const r=Array.from(this.blocks.values()).slice(n);if(0!==r.length)try{const e=r.map(e=>e.apiText),t=yield cu.translate(e);for(let e=0;e<t.length;e++){const n=r[e];this.applyTranslation(n,t[e])}this.setDisplayMode(this.displayMode)}catch(e){console.error("Failed to translate newly added elements:",e),r.forEach(e=>this.blocks.delete(e.id))}finally{console.timeEnd("ProcessAddedNodes")}else console.timeEnd("ProcessAddedNodes")})}}var fu=function(e,t,n,r){return new(n||(n=Promise))(function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(i,s)}l((r=r.apply(e,t||[])).next())})};Date.now();const hu="agtranslate";(()=>{chrome.runtime.onConnect.addListener(e=>{"sidepanel"===e.name&&(oc=e,e.onDisconnect.addListener(()=>{oc=null}))});const{panel:e,cache:t}=(()=>{const e=document.createElement("div");e.id=`ag-popper-container-${Date.now()}`,e.className="ag-translate-popper-host",document.body.appendChild(e);const t=e.attachShadow({mode:"open"}),n=document.createElement("div");n.style.all="initial",t.appendChild(n);const r=document.createElement("style");return t.appendChild(r),{panel:n,cache:fe({key:"ag-select-popper-css",prepend:!0,container:r})}})();ac=(0,Fa.H)(e),ac.render(o.createElement(Ne,{value:t},o.createElement(ic,null)))})();let mu,gu,_u=null;if(chrome.runtime.onMessage.addListener((e,t,n)=>fu(void 0,void 0,void 0,function*(){if("CMD_SHOW_PANEL"==e.cmd)Va({});else if("translatePage2"===e.cmd){if(!_u){const{config:e,hostname_ignores:t}=yield chrome.storage.local.get(["config","hostname_ignores"]);t&&iu.setHostnameIgnores(t),_u=new pu(null==e?void 0:e.translationModeTheme)}_u.translatePage(document.body)}else"get-display-mode"==e.cmd?n((null==_u?void 0:_u.displayMode)||""):"changeShow"==e.cmd?null==_u||_u.setDisplayMode(e.data):"checkTr"==e.cmd?n(!1):"get_timedText"==e.cmd&&window==top&&n(mu)})),top==window&&chrome.runtime.sendMessage({cmd:"new_load"}),window.addEventListener("message",t=>fu(void 0,void 0,void 0,function*(){const n=t.data;if(n.cmd&&!n.p)switch(n.cmd){case"CMD_TRANSLATE_FREE":r=n.data.text,a=n.data.sLan,o=n.data.tLan,i=e=>{console.log(e),window.postMessage({topic:"TRANSLATE_FROM_EXT",data:e})},fetch(`${e}/translate_a/single?client=gtx&sl=${a||"auto"}&tl=${o}&dt=t&q=${encodeURIComponent(r)}&ie=UTF-8&oe=UTF-8`).then(e=>e.json()).then(e=>{console.log(e),i({result:{translations:[{translatedText:e[0].map(e=>e[0]).join(""),detectedLanguageCode:e[2]}]},sLan:a,tLan:o,text:r})});break;case"CMD_UPDATE_SELECTLANS":chrome.storage.local.get("config",e=>{chrome.storage.local.set({config:Object.assign(Object.assign({},e.config),n.data)})});break;case"CMD_GET_CONFIG":chrome.storage.local.get("config",e=>{window.postMessage({topic:"CF_FROM_EXT",data:e.config})});break;case"CMD_GET_LANS":chrome.storage.local.get(["supportedLans"],t=>{t.supportedLans?window.postMessage({topic:"LANS_FROM_EXT",data:t.supportedLans}):function(t){fetch(`${e}/translate_a/l?client=gtx&hl=${navigator.language}`).then(e=>e.json()).then(e=>{const n=Object.entries(e.tl).map(e=>({languageCode:e[0],displayName:e[1]}));t(n)})}(e=>{window.postMessage({topic:"LANS_FROM_EXT",data:e})})});break;case"CMD_FROM_PAGE_TO_BG":chrome.runtime.sendMessage(n.data,e=>{n.cb&&window.postMessage({topic:"data_from_ct",cb:n.cb,data:e})});break;case"youtube_timedText":mu=n.data,chrome.runtime.sendMessage(n),gu&&gu.postMessage({timedText:mu})}var r,a,o,i;if(n.p==hu&&"tobg"==n.cmd&&chrome.runtime.sendMessage(n.data,e=>{n.cb&&window.postMessage({cmd:"ctcb",pname:hu,cb:n.cb,data:e})}),"ag-oauth"==n.topic){const e=n.access_token;chrome.storage.local.set({access_token:e}),chrome.runtime.sendMessage({cmd:"google_login_suc",data:e})}})),top==window){let e="",n=0,r=setInterval(()=>{e!=location.href&&(location.href.match(t)&&(n++,n>100&&clearInterval(r),fetch(`${t}/api/userInfo`).then(e=>e.json()).then(e=>{chrome.storage.local.set({userInfo:e})}).catch(e=>{chrome.storage.local.remove("userInfo")})),e=location.href)},1e3)}uc([{name:"pageview",params:{}}]),fu(void 0,void 0,void 0,function*(){const{config:e}=yield chrome.storage.local.get(["ag_btns_rules","config"]);e&&e.enableSearchImgPopBtn&&(function(){var e;if(window.addEventListener("message",e=>{"start-search-img"==e.data.cmd&&eu(e.data.data)}),parent!=window&&setTimeout(()=>{var e;null===(e=window.parent)||void 0===e||e.postMessage({cmd:"iframe-ready"},"*")},100),location.href.match("s.1688.com")&&(null===(e=window.opener)||void 0===e||e.postMessage("ftk-img-search-close-opener","*")),window!=top){const e="s.1688.com/youyuan/index.htm\\?tab=imageSearch|image_search/youyuan/index.html";location.href.match("1688.com")&&window.addEventListener("click",t=>{let n=t.target;n&&n.href&&n.href.match(e)&&(n.target="_self")},!0)}top!=window&&location.href.match("google.com")&&Wc(),chrome.runtime.onMessage.addListener((e,t,n)=>("get-dl-imgs"==e.cmd&&(location.href.match("google.com")?Uc.getAllImgs().then(e=>{console.log("下载图片",e),e.length>0&&n(e)}):location.href.match("baidu.com")&&Qc.getAllImgs().then(e=>{console.log("下载图片",e),e.length>0&&n(e)})),!0))}(),Dc())}),top==window&&chrome.runtime.onConnect.addListener(e=>{if("youtube"==e.name){if(gu=e,e.onMessage.addListener(e=>{if(e.currentTime){let t=document.querySelector("video");t&&(t.currentTime=e.currentTime)}}),mu)e.postMessage({timedText:mu});else{let t=document.querySelector(".ytp-subtitles-button");if(t){t.click(),setTimeout(()=>{t.click()},100);let n=setInterval(()=>{mu&&(e.postMessage({timedText:mu}),clearInterval(n))},100)}}setInterval(()=>{let t=document.querySelector("video");t&&e.postMessage({currentTime:t.currentTime})},100)}}),location.href.match("https://translate.google.com")&&(chrome.storage.local.get(""),window.addEventListener("message",e=>{"start-translate-img"==e.data.cmd&&chrome.storage.local.get("translate_img_base64",e=>{e.translate_img_base64&&chrome.storage.local.remove(["translate_img_base64"],()=>{const t=function(e,t){for(var n=e.split(","),r=(n[0].match(/:(.*?);/)||[])[1],a=atob(n[n.length-1]),o=a.length,i=new Uint8Array(o);o--;)i[o]=a.charCodeAt(o);return new File([i],t,{type:r})}(e.translate_img_base64,"t_img.png");let n=0;const r=setInterval(()=>{n++;const e=document.querySelector('input[type=file][accept*="image"]'),a=new DataTransfer;a.items.add(t);const o=a.files;e&&(e.files=o,e.dispatchEvent(new Event("change",{bubbles:!0})),e.dispatchEvent(new Event("input",{bubbles:!0})),clearInterval(r)),n>50&&(clearInterval(r),console.error("Failed to set image file input after 50 attempts.")),console.log(`Attempt ${n}: Image file input set.`)},100)})})})),window==top&&chrome.runtime.onMessage.addListener((e,t,n)=>("translateAllImages"==e.cmd&&hc().then(e=>{e.length>0&&n(e.map(e=>e.src))}),!0)),window==top&&chrome.runtime.onMessage.addListener((e,t,n)=>{if(console.log("Content script received message:",e),"startSelection"===e.action)return gc?(console.warn("Selection already in progress."),n({success:!1,status:"Selection already active"})):(document.getElementById("screenshotSelectionOverlay")&&console.warn("Selection UI already exists."),window.self!==window.top&&console.warn("Content script running in an iframe. Selection might not work correctly or might only capture the iframe."),gc=!0,console.log("Selection started. Drag on the page."),_c=document.createElement("div"),_c.id="screenshotSelectionOverlay",_c.style.position="fixed",_c.style.top="0",_c.style.left="0",_c.style.width="100%",_c.style.height="100%",_c.style.backgroundColor="rgba(0, 0, 0, 0.4)",_c.style.zIndex="99998",_c.style.pointerEvents="auto",_c.style.cursor="crosshair",document.body.appendChild(_c),yc=document.createElement("div"),yc.id="screenshotSelectionBox",yc.style.position="fixed",yc.style.border="1px dashed #FFFFFF",yc.style.backgroundColor="rgba(255, 255, 255, 0.2)",yc.style.zIndex="99999",yc.style.display="none",yc.style.boxSizing="border-box",document.body.appendChild(yc),_c.addEventListener("mousedown",kc),_c.addEventListener("mousemove",Sc),_c.addEventListener("mouseup",xc),_c.addEventListener("contextmenu",Mc),_c.addEventListener("dragstart",wc),document.addEventListener("keydown",Cc),n({success:!0,status:"Selection process initiated"})),!0;if("performCropping"===e.action){const{dataUrl:t,area:n}=e;return console.log("Content script received image data for cropping."),function(e,t,n){console.log("Attempting to crop image in content script...");const r=new Image;r.onload=()=>{console.log("Image loaded in content script. Drawing to canvas...");const e=document.createElement("canvas"),a=e.getContext("2d"),o=window.devicePixelRatio||1;if(!a)return console.error("Failed to get 2D context for canvas in content script."),void n(null);e.width=t.width,e.height=t.height;try{a.drawImage(r,t.x*o,t.y*o,t.width*o,t.height*o,0,0,t.width,t.height);const i=e.toDataURL("image/png");console.log("Cropping complete."),n(i)}catch(e){console.error("Error during canvas drawImage in content script:",e),n(null)}},r.onerror=e=>{console.error("Error loading image for cropping in content script:",e),n(null),Tc()},r.src=e}(t,n,e=>{if(e){console.log("Cropping successful in content script.");const t={action:"croppedImageData",dataUrl:e};chrome.runtime.sendMessage(t,e=>{chrome.runtime.lastError?console.error("Error sending cropped image data back:",chrome.runtime.lastError.message):console.log("Sent cropped image data back to background.")})}else console.error("Cropping failed in content script."),chrome.runtime.sendMessage({action:"croppingFailed",error:"Content script crop error"})}),!0}})})()})();