diff --git a/docs/index.5f1cc894.js b/docs/index.5f1cc894.js new file mode 100644 index 0000000..6191e33 --- /dev/null +++ b/docs/index.5f1cc894.js @@ -0,0 +1,2 @@ +!function(){function e(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{};function n(e){return e&&e.__esModule?e.default:e}var r={},i={},o=t.parcelRequirea9cc;null==o&&((o=function(e){if(e in r)return r[e].exports;if(e in i){var t=i[e];delete i[e];var n={id:e,exports:{}};return r[e]=n,t.call(n.exports,n,n.exports),n.exports}var o=new Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}).register=function(e,t){i[e]=t},t.parcelRequirea9cc=o),o.register("gSjLf",(function(t,n){var r,i,a;e(t.exports,"Fragment",(function(){return r}),(function(e){return r=e})),e(t.exports,"jsx",(function(){return i}),(function(e){return i=e})),e(t.exports,"jsxs",(function(){return a}),(function(e){return a=e}));var u=o("5hXQ0"),l=Symbol.for("react.element"),s=Symbol.for("react.fragment"),c=Object.prototype.hasOwnProperty,f=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function h(e,t,n){var r,i={},o=null,a=null;for(r in void 0!==n&&(o=""+n),void 0!==t.key&&(o=""+t.key),void 0!==t.ref&&(a=t.ref),t)c.call(t,r)&&!d.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:l,type:e,key:o,ref:a,props:i,_owner:f.current}}r=s,i=h,a=h})),o.register("5hXQ0",(function(e,t){"use strict";e.exports=o("kNlEy")})),o.register("kNlEy",(function(t,n){e(t.exports,"Children",(function(){return r}),(function(e){return r=e})),e(t.exports,"Component",(function(){return i}),(function(e){return i=e})),e(t.exports,"Fragment",(function(){return a}),(function(e){return a=e})),e(t.exports,"Profiler",(function(){return u}),(function(e){return u=e})),e(t.exports,"PureComponent",(function(){return l}),(function(e){return l=e})),e(t.exports,"StrictMode",(function(){return s}),(function(e){return s=e})),e(t.exports,"Suspense",(function(){return c}),(function(e){return c=e})),e(t.exports,"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",(function(){return f}),(function(e){return f=e})),e(t.exports,"cloneElement",(function(){return d}),(function(e){return d=e})),e(t.exports,"createContext",(function(){return h}),(function(e){return h=e})),e(t.exports,"createElement",(function(){return p}),(function(e){return p=e})),e(t.exports,"createFactory",(function(){return g}),(function(e){return g=e})),e(t.exports,"createRef",(function(){return y}),(function(e){return y=e})),e(t.exports,"forwardRef",(function(){return m}),(function(e){return m=e})),e(t.exports,"isValidElement",(function(){return v}),(function(e){return v=e})),e(t.exports,"lazy",(function(){return b}),(function(e){return b=e})),e(t.exports,"memo",(function(){return w}),(function(e){return w=e})),e(t.exports,"startTransition",(function(){return _}),(function(e){return _=e})),e(t.exports,"unstable_act",(function(){return S}),(function(e){return S=e})),e(t.exports,"useCallback",(function(){return k}),(function(e){return k=e})),e(t.exports,"useContext",(function(){return E}),(function(e){return E=e})),e(t.exports,"useDebugValue",(function(){return C}),(function(e){return C=e})),e(t.exports,"useDeferredValue",(function(){return x}),(function(e){return x=e})),e(t.exports,"useEffect",(function(){return R}),(function(e){return R=e})),e(t.exports,"useId",(function(){return T}),(function(e){return T=e})),e(t.exports,"useImperativeHandle",(function(){return N}),(function(e){return N=e})),e(t.exports,"useInsertionEffect",(function(){return L}),(function(e){return L=e})),e(t.exports,"useLayoutEffect",(function(){return O}),(function(e){return O=e})),e(t.exports,"useMemo",(function(){return P}),(function(e){return P=e})),e(t.exports,"useReducer",(function(){return A}),(function(e){return A=e})),e(t.exports,"useRef",(function(){return M}),(function(e){return M=e})),e(t.exports,"useState",(function(){return I}),(function(e){return I=e})),e(t.exports,"useSyncExternalStore",(function(){return F}),(function(e){return F=e})),e(t.exports,"useTransition",(function(){return D}),(function(e){return D=e})),e(t.exports,"version",(function(){return B}),(function(e){return B=e}));var r,i,a,u,l,s,c,f,d,h,p,g,y,m,v,b,w,_,S,k,E,C,x,R,T,N,L,O,P,A,M,I,F,D,B,z=o("d6wAG"),U=Symbol.for("react.element"),j=Symbol.for("react.portal"),H=Symbol.for("react.fragment"),W=Symbol.for("react.strict_mode"),q=Symbol.for("react.profiler"),V=Symbol.for("react.provider"),$=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),K=Symbol.for("react.memo"),Y=Symbol.for("react.lazy"),X=Symbol.iterator;var J={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Z=Object.assign,ee={};function te(e,t,n){this.props=e,this.context=t,this.refs=ee,this.updater=n||J}function ne(){}function re(e,t,n){this.props=e,this.context=t,this.refs=ee,this.updater=n||J}te.prototype.isReactComponent={},te.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")},te.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},ne.prototype=te.prototype;var ie=re.prototype=new ne;ie.constructor=re,Z(ie,te.prototype),ie.isPureReactComponent=!0;var oe=Array.isArray,ae=Object.prototype.hasOwnProperty,ue={current:null},le={key:!0,ref:!0,__self:!0,__source:!0};function se(e,t,n){var r,i={},o=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(o=""+t.key),t)ae.call(t,r)&&!le.hasOwnProperty(r)&&(i[r]=t[r]);var u=arguments.length-2;if(1===u)i.children=n;else if(1e.length)&&(t=e.length);for(var n=0,r=new Array(t);nt}return!1}function L(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var O={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){O[e]=new L(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];O[t]=new L(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){O[e]=new L(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){O[e]=new L(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){O[e]=new L(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){O[e]=new L(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){O[e]=new L(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){O[e]=new L(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){O[e]=new L(e,5,!1,e.toLowerCase(),null,!1,!1)}));var P=/[\-:]([a-z])/g;function A(e){return e[1].toUpperCase()}function M(e,t,n,r){var i=O.hasOwnProperty(t)?O[t]:null;(null!==i?0!==i.type:r||!(2--u||i[a]!==o[u]){var l="\n"+i[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}}while(1<=a&&0<=u);break}}}finally{ee=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Z(e):""}function ne(e){switch(e.tag){case 5:return Z(e.type);case 16:return Z("Lazy");case 13:return Z("Suspense");case 19:return Z("SuspenseList");case 0:case 2:case 15:return e=te(e.type,!1);case 11:return e=te(e.type.render,!1);case 1:return e=te(e.type,!0);default:return""}}function re(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 B:return"Fragment";case D:return"Portal";case U:return"Profiler";case z:return"StrictMode";case q:return"Suspense";case V:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case H:return(e.displayName||"Context")+".Consumer";case j:return(e._context.displayName||"Context")+".Provider";case W:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case $:return null!==(t=e.displayName||null)?t:re(e.type)||"Memo";case Q:t=e._payload,e=e._init;try{return re(e(t))}catch(e){}}return null}function ie(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 re(t);case 8:return t===z?"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 oe(e){switch(void 0===e?"undefined":y.default(e)){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ae(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ue(e){e._valueTracker||(e._valueTracker=function(e){var t=ae(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 i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.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 le(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ae(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function se(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 ce(e,t){var n=t.checked;return J({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function fe(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=oe(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 de(e,t){null!=(t=t.checked)&&M(e,"checked",t,!1)}function he(e,t){de(e,t);var n=oe(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")?ge(e,t.type,n):t.hasOwnProperty("defaultValue")&&ge(e,t.type,oe(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function pe(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 ge(e,t,n){"number"===t&&se(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ye=Array.isArray;function me(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Ee.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return Ce(e,t)}))}:Ce);function Re(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 Te={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},Ne=["Webkit","ms","Moz","O"];function Le(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Te.hasOwnProperty(e)&&Te[e]?(""+t).trim():t+"px"}function Oe(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=Le(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(Te).forEach((function(e){Ne.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Te[t]=Te[e]}))}));var Pe=J({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 Ae(e,t){if(t){if(Pe[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(b(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(b(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(b(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(b(62))}}function Me(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 Ie=null;function Fe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var De=null,Be=null,ze=null;function Ue(e){if(e=Oi(e)){if("function"!=typeof De)throw Error(b(280));var t=e.stateNode;t&&(t=Ai(t),De(e.stateNode,e.type,t))}}function je(e){Be?ze?ze.push(e):ze=[e]:Be=e}function He(){if(Be){var e=Be,t=ze;if(ze=Be=null,Ue(e),t)for(e=0;e>>=0)?32:31-(St(e)/kt|0)|0},St=Math.log,kt=Math.LN2;var Et=64,Ct=4194304;function xt(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 Rt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(0!==a){var u=a&~i;0!==u?r=xt(u):0!==(o&=a)&&(r=xt(o))}else 0!==(a=n&~i)?r=xt(a):0!==o&&(r=xt(o));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&i)&&((i=r&-r)>=(o=t&-t)||16===i&&0!=(4194240&o)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Pt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-_t(t)]=n}function At(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-_t(n),i=1<=Qn),Yn=String.fromCharCode(32),Xn=!1;function Jn(e,t){switch(e){case"keyup":return-1!==Vn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Zn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var er=!1;var tr={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 nr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!tr[e.type]:"textarea"===t}function rr(e,t,n,r){je(r),0<(t=ii(t,"onChange")).length&&(n=new Cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var ir=null,or=null;function ar(e){Yr(e,0)}function ur(e){if(le(Pi(e)))return e}function lr(e,t){if("change"===e)return t}var sr=!1;if(E){var cr;if(E){var fr="oninput"in document;if(!fr){var dr=document.createElement("div");dr.setAttribute("oninput","return;"),fr="function"==typeof dr.oninput}cr=fr}else cr=!1;sr=cr&&(!document.documentMode||9=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=_r(r)}}function kr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?kr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Er(){for(var e=window,t=se();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=se((e=t.contentWindow).document)}return t}function Cr(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 xr(e){var t=Er(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&kr(n.ownerDocument.documentElement,n)){if(null!==r&&Cr(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 i=n.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Sr(n,o);var a=Sr(n,r);i&&a&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n=document.documentMode,Tr=null,Nr=null,Lr=null,Or=!1;function Pr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Or||null==Tr||Tr!==se(r)||("selectionStart"in(r=Tr)&&Cr(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},Lr&&wr(Lr,r)||(Lr=r,0<(r=ii(Nr,"onSelect")).length&&(t=new Cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Tr)))}function Ar(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Mr={animationend:Ar("Animation","AnimationEnd"),animationiteration:Ar("Animation","AnimationIteration"),animationstart:Ar("Animation","AnimationStart"),transitionend:Ar("Transition","TransitionEnd")},Ir={},Fr={};function Dr(e){if(Ir[e])return Ir[e];if(!Mr[e])return e;var t,n=Mr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Fr)return Ir[e]=n[t];return e}E&&(Fr=document.createElement("div").style,"AnimationEvent"in window||(delete Mr.animationend.animation,delete Mr.animationiteration.animation,delete Mr.animationstart.animation),"TransitionEvent"in window||delete Mr.transitionend.transition);var Br=Dr("animationend"),zr=Dr("animationiteration"),Ur=Dr("animationstart"),jr=Dr("transitionend"),Hr=new Map,Wr="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 qr(e,t){Hr.set(e,t),S(t,[e])}for(var Vr=0;VrIi||(e.current=Mi[Ii],Mi[Ii]=null,Ii--)}function Bi(e,t){Ii++,Mi[Ii]=e.current,e.current=t}var zi={},Ui=Fi(zi),ji=Fi(!1),Hi=zi;function Wi(e,t){var n=e.type.contextTypes;if(!n)return zi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function qi(e){return null!=(e=e.childContextTypes)}function Vi(){Di(ji),Di(Ui)}function $i(e,t,n){if(Ui.current!==zi)throw Error(b(168));Bi(Ui,t),Bi(ji,n)}function Qi(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(b(108,ie(e)||"Unknown",i));return J({},n,r)}function Gi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||zi,Hi=Ui.current,Bi(Ui,e),Bi(ji,ji.current),!0}function Ki(e,t,n){var r=e.stateNode;if(!r)throw Error(b(169));n?(e=Qi(e,t,Hi),r.__reactInternalMemoizedMergedChildContext=e,Di(ji),Di(Ui),Bi(Ui,e)):Di(ji),Bi(ji,n)}var Yi=null,Xi=!1,Ji=!1;function Zi(e){null===Yi?Yi=[e]:Yi.push(e)}function eo(){if(!Ji&&null!==Yi){Ji=!0;var e=0,t=Mt;try{var n=Yi;for(Mt=1;e>=a,i-=a,Do=1<<32-_t(t)+i|n<d?(y=f,f=null):y=f.sibling;var m=p(i,f,u[d],l);if(null===m){null===f&&(f=y);break}e&&f&&null===m.alternate&&t(i,f),a=o(m,a,d),null===c?s=m:c.sibling=m,c=m,f=y}if(d===u.length)return n(i,f),Vo&&zo(i,d),s;if(null===f){for(;dd?(y=f,f=null):y=f.sibling;var v=p(i,f,m.value,l);if(null===v){null===f&&(f=y);break}e&&f&&null===v.alternate&&t(i,f),a=o(v,a,d),null===c?s=v:c.sibling=v,c=v,f=y}if(m.done)return n(i,f),Vo&&zo(i,d),s;if(null===f){for(;!m.done;d++,m=u.next())null!==(m=h(i,m.value,l))&&(a=o(m,a,d),null===c?s=m:c.sibling=m,c=m);return Vo&&zo(i,d),s}for(f=r(i,f);!m.done;d++,m=u.next())null!==(m=g(f,i,d,m.value,l))&&(e&&null!==m.alternate&&f.delete(null===m.key?d:m.key),a=o(m,a,d),null===c?s=m:c.sibling=m,c=m);return e&&f.forEach((function(e){return t(i,e)})),Vo&&zo(i,d),s};function h(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Gs(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case F:return(n=Vs(t.type,t.key,t.props,null,e.mode,n)).ref=ta(e,null,t),n.return=e,n;case D:return(t=Ks(t,e.mode,n)).return=e,t;case Q:return h(e,(0,t._init)(t._payload),n)}if(ye(t)||Y(t))return(t=$s(t,e.mode,n,null)).return=e,t;na(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case F:return n.key===i?l(e,t,n,r):null;case D:return n.key===i?s(e,t,n,r):null;case Q:return p(e,t,(i=n._init)(n._payload),r)}if(ye(n)||Y(n))return null!==i?null:c(e,t,n,r,null);na(e,n)}return null}function g(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return e=e.get(n)||null,u(t,e,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case F:return e=e.get(null===r.key?n:r.key)||null,l(t,e,r,i);case D:return e=e.get(null===r.key?n:r.key)||null,s(t,e,r,i);case Q:return g(e,t,n,(0,r._init)(r._payload),i)}if(ye(r)||Y(r))return e=e.get(n)||null,c(t,e,r,i,null);na(t,r)}return null}return function e(r,o,u,l){if("object"==typeof u&&null!==u&&u.type===B&&null===u.key&&(u=u.props.children),"object"==typeof u&&null!==u){switch(u.$$typeof){case F:e:{for(var s=u.key,c=o;null!==c;){if(c.key===s){if((s=u.type)===B){if(7===c.tag){n(r,c.sibling),(o=i(c,u.props.children)).return=r,r=o;break e}}else if(c.elementType===s||"object"==typeof s&&null!==s&&s.$$typeof===Q&&ra(s)===c.type){n(r,c.sibling),(o=i(c,u.props)).ref=ta(r,c,u),o.return=r,r=o;break e}n(r,c);break}t(r,c),c=c.sibling}u.type===B?((o=$s(u.props.children,r.mode,l,u.key)).return=r,r=o):((l=Vs(u.type,u.key,u.props,null,r.mode,l)).ref=ta(r,o,u),l.return=r,r=l)}return a(r);case D:e:{for(c=u.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===u.containerInfo&&o.stateNode.implementation===u.implementation){n(r,o.sibling),(o=i(o,u.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Ks(u,r.mode,l)).return=r,r=o}return a(r);case Q:return e(r,o,(c=u._init)(u._payload),l)}if(ye(u))return f(r,o,u,l);if(Y(u))return d(r,o,u,l);na(r,u)}return"string"==typeof u&&""!==u||"number"==typeof u?(u=""+u,null!==o&&6===o.tag?(n(r,o.sibling),(o=i(o,u)).return=r,r=o):(n(r,o),(o=Gs(u,r.mode,l)).return=r,r=o),a(r)):n(r,o)}}var oa=ia(!0),aa=ia(!1),ua={},la=Fi(ua),sa=Fi(ua),ca=Fi(ua);function fa(e){if(e===ua)throw Error(b(174));return e}function da(e,t){switch(Bi(ca,t),Bi(sa,e),Bi(la,ua),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ke(null,"");break;default:t=ke(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Di(la),Bi(la,t)}function ha(){Di(la),Di(sa),Di(ca)}function pa(e){fa(ca.current);var t=fa(la.current),n=ke(t,e.type);t!==n&&(Bi(sa,e),Bi(la,n))}function ga(e){sa.current===e&&(Di(la),Di(sa))}var ya=Fi(0);function ma(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var va=[];function ba(){for(var e=0;en?n:4,e(!0);var r=_a.transition;_a.transition={};try{e(!1),t()}finally{Mt=n,_a.transition=r}}function uu(){return Ia().memoizedState}function lu(e,t,n){var r=cs(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},cu(e)?fu(t,n):(du(e,t,n),null!==(e=fs(e,r,n=ss()))&&hu(e,t,r))}function su(e,t,n){var r=cs(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(cu(e))fu(t,i);else{du(e,t,i);var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,u=o(a,n);if(i.hasEagerState=!0,i.eagerState=u,br(u,a))return}catch(e){}null!==(e=fs(e,r,n=ss()))&&hu(e,t,r)}}function cu(e){var t=e.alternate;return e===ka||null!==t&&t===ka}function fu(e,t){Ra=xa=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function du(e,t,n){hs(e)?(null===(e=t.interleaved)?(n.next=n,null===ho?ho=[t]:ho.push(t)):(n.next=e.next,e.next=n),t.interleaved=n):(null===(e=t.pending)?n.next=n:(n.next=e.next,e.next=n),t.pending=n)}function hu(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,At(e,n)}}var pu={readContext:fo,useCallback:La,useContext:La,useEffect:La,useImperativeHandle:La,useInsertionEffect:La,useLayoutEffect:La,useMemo:La,useReducer:La,useRef:La,useState:La,useDebugValue:La,useDeferredValue:La,useTransition:La,useMutableSource:La,useSyncExternalStore:La,useId:La,unstable_isNewReconciler:!1},gu={readContext:fo,useCallback:function(e,t){return Ma().memoizedState=[e,void 0===t?null:t],e},useContext:fo,useEffect:Ya,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ga(4194308,4,eu.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ga(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ga(4,2,e,t)},useMemo:function(e,t){var n=Ma();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ma();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=lu.bind(null,ka,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ma().memoizedState=e},useState:Va,useDebugValue:nu,useDeferredValue:function(e){return Ma().memoizedState=e},useTransition:function(){var e=Va(!1),t=e[0];return e=au.bind(null,e[1]),Ma().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ka,i=Ma();if(Vo){if(void 0===n)throw Error(b(407));n=n()}else{if(n=t(),null===Bl)throw Error(b(349));0!=(30&Sa)||ja(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Ya(Wa.bind(null,r,o,e),[e]),r.flags|=2048,$a(9,Ha.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ma(),t=Bl.identifierPrefix;if(Vo){var n=Bo;t=":"+t+"R"+(n=(Do&~(1<<32-_t(Do)-1)).toString(32)+n),0<(n=Ta++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=Na++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},yu={readContext:fo,useCallback:ru,useContext:fo,useEffect:Xa,useImperativeHandle:tu,useInsertionEffect:Ja,useLayoutEffect:Za,useMemo:iu,useReducer:Da,useRef:Qa,useState:function(){return Da(Fa)},useDebugValue:nu,useDeferredValue:function(e){return ou(Ia(),Ea.memoizedState,e)},useTransition:function(){return[Da(Fa)[0],Ia().memoizedState]},useMutableSource:za,useSyncExternalStore:Ua,useId:uu,unstable_isNewReconciler:!1},mu={readContext:fo,useCallback:ru,useContext:fo,useEffect:Xa,useImperativeHandle:tu,useInsertionEffect:Ja,useLayoutEffect:Za,useMemo:iu,useReducer:Ba,useRef:Qa,useState:function(){return Ba(Fa)},useDebugValue:nu,useDeferredValue:function(e){var t=Ia();return null===Ea?t.memoizedState=e:ou(t,Ea.memoizedState,e)},useTransition:function(){return[Ba(Fa)[0],Ia().memoizedState]},useMutableSource:za,useSyncExternalStore:Ua,useId:uu,unstable_isNewReconciler:!1};function vu(e,t){try{var n="",r=t;do{n+=ne(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i}}function bu(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var wu,_u,Su,ku="function"==typeof WeakMap?WeakMap:Map;function Eu(e,t,n){(n=mo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Zl||(Zl=!0,es=r),bu(0,t)},n}function Cu(e,t,n){(n=mo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){bu(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){bu(0,t),"function"!=typeof r&&(null===ts?ts=new Set([this]):ts.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function xu(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ku;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Fs.bind(null,e,t,n),t.then(e,e))}function Ru(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 Tu(e,t,n,r,i){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=mo(-1,1)).tag=2,vo(n,t))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}function Nu(e,t){if(!Vo)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 Lu(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ou(e,t,n){var r=t.pendingProps;switch(Ho(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Lu(t),null;case 1:case 17:return qi(t.type)&&Vi(),Lu(t),null;case 3:return r=t.stateNode,ha(),Di(ji),Di(Ui),ba(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Jo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==$o&&(ms($o),$o=null))),Lu(t),null;case 5:ga(t);var i=fa(ca.current);if(n=t.type,null!==e&&null!=t.stateNode)_u(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(b(166));return Lu(t),null}if(e=fa(la.current),Jo(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Ei]=t,r[Ci]=o,e=0!=(1&t.mode),n){case"dialog":Xr("cancel",r),Xr("close",r);break;case"iframe":case"object":case"embed":Xr("load",r);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),"select"===n&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Ei]=t,e[Ci]=r,wu(e,t),t.stateNode=e;e:{switch(a=Me(n,r),n){case"dialog":Xr("cancel",e),Xr("close",e),i=r;break;case"iframe":case"object":case"embed":Xr("load",e),i=r;break;case"video":case"audio":for(i=0;iXl&&(t.flags|=128,r=!0,Nu(o,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ma(a))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Nu(o,!0),null===o.tail&&"hidden"===o.tailMode&&!a.alternate&&!Vo)return Lu(t),null}else 2*dt()-o.renderingStartTime>Xl&&1073741824!==n&&(t.flags|=128,r=!0,Nu(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(null!==(n=o.last)?n.sibling=a:t.child=a,o.last=a)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=dt(),t.sibling=null,n=ya.current,Bi(ya,r?1&n|2:1&n),t):(Lu(t),null);case 22:case 23:return Ss(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&jl)&&(Lu(t),6&t.subtreeFlags&&(t.flags|=8192)):Lu(t),null;case 24:case 25:return null}throw Error(b(156,t.tag))}wu=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}},_u=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,fa(la.current);var o,a=null;switch(n){case"input":i=ce(e,i),r=ce(e,r),a=[];break;case"select":i=J({},i,{value:void 0}),r=J({},r,{value:void 0}),a=[];break;case"textarea":i=ve(e,i),r=ve(e,r),a=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=fi)}for(s in Ae(n,r),n=null,i)if(!r.hasOwnProperty(s)&&i.hasOwnProperty(s)&&null!=i[s])if("style"===s){var u=i[s];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(_.hasOwnProperty(s)?a||(a=[]):(a=a||[]).push(s,null));for(s in r){var l=r[s];if(u=null!=i?i[s]:void 0,r.hasOwnProperty(s)&&l!==u&&(null!=l||null!=u))if("style"===s)if(u){for(o in u)!u.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&u[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(a||(a=[]),a.push(s,n)),n=l;else"dangerouslySetInnerHTML"===s?(l=l?l.__html:void 0,u=u?u.__html:void 0,null!=l&&u!==l&&(a=a||[]).push(s,l)):"children"===s?"string"!=typeof l&&"number"!=typeof l||(a=a||[]).push(s,""+l):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(_.hasOwnProperty(s)?(null!=l&&"onScroll"===s&&Xr("scroll",e),a||u===l||(a=[])):(a=a||[]).push(s,l))}n&&(a=a||[]).push("style",n);var s=a;(t.updateQueue=s)&&(t.flags|=4)}},Su=function(e,t,n,r){n!==r&&(t.flags|=4)};var Pu=I.ReactCurrentOwner,Au=!1;function Mu(e,t,n,r){t.child=null===e?aa(t,null,n,r):oa(t,e.child,n,r)}function Iu(e,t,n,r,i){n=n.render;var o=t.ref;return co(t,i),r=Pa(e,t,n,r,o,i),n=Aa(),null===e||Au?(Vo&&n&&jo(t),t.flags|=1,Mu(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,nl(e,t,i))}function Fu(e,t,n,r,i){if(null===e){var o=n.type;return"function"!=typeof o||Ws(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Vs(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Du(e,t,o,r,i))}if(o=e.child,0==(e.lanes&i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:wr)(a,r)&&e.ref===t.ref)return nl(e,t,i)}return t.flags|=1,(e=qs(o,r)).ref=t.ref,e.return=t,t.child=e}function Du(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(wr(o,r)&&e.ref===t.ref){if(Au=!1,t.pendingProps=r=o,0==(e.lanes&i))return t.lanes=e.lanes,nl(e,t,i);0!=(131072&e.flags)&&(Au=!0)}}return Uu(e,t,n,r,i)}function Bu(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Bi(Hl,jl),jl|=n;else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Bi(Hl,jl),jl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Bi(Hl,jl),jl|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Bi(Hl,jl),jl|=r;return Mu(e,t,i,n),t.child}function zu(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Uu(e,t,n,r,i){var o=qi(n)?Hi:Ui.current;return o=Wi(t,o),co(t,i),n=Pa(e,t,n,r,o,i),r=Aa(),null===e||Au?(Vo&&r&&jo(t),t.flags|=1,Mu(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,nl(e,t,i))}function ju(e,t,n,r,i){if(qi(n)){var o=!0;Gi(t)}else o=!1;if(co(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),Ro(t,n,r),No(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,u=t.memoizedProps;a.props=u;var l=a.context,s=n.contextType;"object"==typeof s&&null!==s?s=fo(s):s=Wi(t,s=qi(n)?Hi:Ui.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(u!==r||l!==s)&&To(t,a,r,s),po=!1;var d=t.memoizedState;a.state=d,_o(t,r,a,i),l=t.memoizedState,u!==r||d!==l||ji.current||po?("function"==typeof c&&(Eo(t,n,c,r),l=t.memoizedState),(u=po||xo(t,n,u,r,d,l,s))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=s,r=u):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,yo(e,t),u=t.memoizedProps,s=t.type===t.elementType?u:no(t.type,u),a.props=s,f=t.pendingProps,d=a.context,"object"==typeof(l=n.contextType)&&null!==l?l=fo(l):l=Wi(t,l=qi(n)?Hi:Ui.current);var h=n.getDerivedStateFromProps;(c="function"==typeof h||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(u!==f||d!==l)&&To(t,a,r,l),po=!1,d=t.memoizedState,a.state=d,_o(t,r,a,i);var p=t.memoizedState;u!==f||d!==p||ji.current||po?("function"==typeof h&&(Eo(t,n,h,r),p=t.memoizedState),(s=po||xo(t,n,s,r,d,p,l)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=l,r=s):("function"!=typeof a.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Hu(e,t,n,r,o,i)}function Hu(e,t,n,r,i,o){zu(e,t);var a=0!=(128&t.flags);if(!r&&!a)return i&&Ki(t,n,!1),nl(e,t,o);r=t.stateNode,Pu.current=t;var u=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=oa(t,e.child,null,o),t.child=oa(t,null,u,o)):Mu(e,t,u,o),t.memoizedState=r.state,i&&Ki(t,n,!0),t.child}function Wu(e){var t=e.stateNode;t.pendingContext?$i(0,t.pendingContext,t.pendingContext!==t.context):t.context&&$i(0,t.context,!1),da(e,t.containerInfo)}function qu(e,t,n,r,i){return Zo(),ea(i),t.flags|=256,Mu(e,t,n,r),t.child}var Vu={dehydrated:null,treeContext:null,retryLane:0};function $u(e){return{baseLanes:e,cachePool:null,transitions:null}}function Qu(e,t){return{baseLanes:e.baseLanes|t,cachePool:null,transitions:e.transitions}}function Gu(e,t,n){var r,i=t.pendingProps,o=ya.current,a=!1,u=0!=(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(a=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(o|=1),Bi(ya,1&o),null===e)return Yo(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(o=i.children,e=i.fallback,a?(i=t.mode,a=t.child,o={mode:"hidden",children:o},0==(1&i)&&null!==a?(a.childLanes=0,a.pendingProps=o):a=Qs(o,i,0,null),e=$s(e,i,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=$u(n),t.memoizedState=Vu,e):Ku(t,o));if(null!==(o=e.memoizedState)){if(null!==(r=o.dehydrated)){if(u)return 256&t.flags?(t.flags&=-257,Ju(e,t,n,Error(b(422)))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=i.fallback,o=t.mode,i=Qs({mode:"visible",children:i.children},o,0,null),(a=$s(a,o,n,null)).flags|=2,i.return=t,a.return=t,i.sibling=a,t.child=i,0!=(1&t.mode)&&oa(t,e.child,null,n),t.child.memoizedState=$u(n),t.memoizedState=Vu,a);if(0==(1&t.mode))t=Ju(e,t,n,null);else if("$!"===r.data)t=Ju(e,t,n,Error(b(419)));else if(i=0!=(n&e.childLanes),Au||i){if(null!==(i=Bl)){switch(n&-n){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!==(i=0!=(a&(i.suspendedLanes|n))?0:a)&&i!==o.retryLane&&(o.retryLane=i,fs(e,i,-1))}xs(),t=Ju(e,t,n,Error(b(421)))}else"$?"===r.data?(t.flags|=128,t.child=e.child,t=Bs.bind(null,e),r._reactRetry=t,t=null):(n=o.treeContext,qo=_i(r.nextSibling),Wo=t,Vo=!0,$o=null,null!==n&&(Mo[Io++]=Do,Mo[Io++]=Bo,Mo[Io++]=Fo,Do=n.id,Bo=n.overflow,Fo=t),(t=Ku(t,t.pendingProps.children)).flags|=4096);return t}return a?(i=Xu(e,t,i.children,i.fallback,n),a=t.child,o=e.child.memoizedState,a.memoizedState=null===o?$u(n):Qu(o,n),a.childLanes=e.childLanes&~n,t.memoizedState=Vu,i):(n=Yu(e,t,i.children,n),t.memoizedState=null,n)}return a?(i=Xu(e,t,i.children,i.fallback,n),a=t.child,o=e.child.memoizedState,a.memoizedState=null===o?$u(n):Qu(o,n),a.childLanes=e.childLanes&~n,t.memoizedState=Vu,i):(n=Yu(e,t,i.children,n),t.memoizedState=null,n)}function Ku(e,t){return(t=Qs({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Yu(e,t,n,r){var i=e.child;return e=i.sibling,n=qs(i,{mode:"visible",children:n}),0==(1&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n}function Xu(e,t,n,r,i){var o=t.mode,a=(e=e.child).sibling,u={mode:"hidden",children:n};return 0==(1&o)&&t.child!==e?((n=t.child).childLanes=0,n.pendingProps=u,t.deletions=null):(n=qs(e,u)).subtreeFlags=14680064&e.subtreeFlags,null!==a?r=qs(a,r):(r=$s(r,o,i,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function Ju(e,t,n,r){return null!==r&&ea(r),oa(t,e.child,null,n),(e=Ku(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Zu(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),so(e.return,t,n)}function el(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function tl(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Mu(e,t,r.children,n),0!=(2&(r=ya.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Zu(e,n,t);else if(19===e.tag)Zu(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(Bi(ya,r),0==(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===ma(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),el(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===ma(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}el(t,!0,n,null,o);break;case"together":el(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function nl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Vl|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(b(153));if(null!==t.child){for(n=qs(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=qs(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function rl(e,t){switch(Ho(t),t.tag){case 1:return qi(t.type)&&Vi(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ha(),Di(ji),Di(Ui),ba(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ga(t),null;case 13:if(Di(ya),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(b(340));Zo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Di(ya),null;case 4:return ha(),null;case 10:return lo(t.type._context),null;case 22:case 23:return Ss(),null;default:return null}}var il=!1,ol=!1,al="function"==typeof WeakSet?WeakSet:Set,ul=null;function ll(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Is(e,t,n)}else n.current=null}function sl(e,t,n){try{n()}catch(n){Is(e,t,n)}}var cl=!1;function fl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&sl(t,n,o)}i=i.next}while(i!==r)}}function dl(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 hl(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 pl(e){var t=e.alternate;null!==t&&(e.alternate=null,pl(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[Ei],delete t[Ci],delete t[Ri],delete t[Ti],delete t[Ni])),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 gl(e){return 5===e.tag||3===e.tag||4===e.tag}function yl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||gl(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 ml(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=fi));else if(4!==r&&null!==(e=e.child))for(ml(e,t,n),e=e.sibling;null!==e;)ml(e,t,n),e=e.sibling}function vl(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(vl(e,t,n),e=e.sibling;null!==e;)vl(e,t,n),e=e.sibling}var bl=null,wl=!1;function _l(e,t,n){for(n=n.child;null!==n;)Sl(e,t,n),n=n.sibling}function Sl(e,t,n){if(wt&&"function"==typeof wt.onCommitFiberUnmount)try{wt.onCommitFiberUnmount(bt,n)}catch(e){}switch(n.tag){case 5:ol||ll(n,t);case 6:var r=bl,i=wl;bl=null,_l(e,t,n),wl=i,null!==(bl=r)&&(wl?(e=bl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):bl.removeChild(n.stateNode));break;case 18:null!==bl&&(wl?(e=bl,n=n.stateNode,8===e.nodeType?wi(e.parentNode,n):1===e.nodeType&&wi(e,n),rn(e)):wi(bl,n.stateNode));break;case 4:r=bl,i=wl,bl=n.stateNode.containerInfo,wl=!0,_l(e,t,n),bl=r,wl=i;break;case 0:case 11:case 14:case 15:if(!ol&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,void 0!==a&&(0!=(2&o)||0!=(4&o))&&sl(n,t,a),i=i.next}while(i!==r)}_l(e,t,n);break;case 1:if(!ol&&(ll(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Is(n,t,e)}_l(e,t,n);break;case 21:_l(e,t,n);break;case 22:1&n.mode?(ol=(r=ol)||null!==n.memoizedState,_l(e,t,n),ol=r):_l(e,t,n);break;default:_l(e,t,n)}}function kl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new al),t.forEach((function(t){var r=zs.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function El(e,t){var n=t.deletions;if(null!==n)for(var r=0;ri&&(i=a),r&=~o}if(r=i,10<(r=(120>(r=dt()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Al(r/1960))-r)){e.timeoutHandle=gi(Ps.bind(null,e,Kl,Jl),r);break}Ps(e,Kl,Jl);break;default:throw Error(b(329))}}}return ps(e,dt()),e.callbackNode===n?gs.bind(null,e):null}function ys(e,t){var n=Gl;return e.current.memoizedState.isDehydrated&&(ks(e,t).flags|=256),2!==(e=Rs(e,t))&&(t=Kl,Kl=n,null!==t&&ms(t)),e}function ms(e){null===Kl?Kl=e:Kl.push.apply(Kl,e)}function vs(e,t){for(t&=~Ql,t&=~$l,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0e?16:e,null===rs)var r=!1;else{if(e=rs,rs=null,is=0,0!=(6&Dl))throw Error(b(331));var i=Dl;for(Dl|=4,ul=e.current;null!==ul;){var o=ul,a=o.child;if(0!=(16&ul.flags)){var u=o.deletions;if(null!==u){for(var l=0;ldt()-Yl?ks(e,0):Ql|=n),ps(e,t)}function Ds(e,t){0===t&&(0==(1&e.mode)?t=1:(t=Ct,0==(130023424&(Ct<<=1))&&(Ct=4194304)));var n=ss();null!==(e=ds(e,t))&&(Pt(e,t,n),ps(e,n))}function Bs(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ds(e,n)}function zs(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(b(314))}null!==r&&r.delete(t),Ds(e,n)}function Us(e,t){return lt(e,t)}function js(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 Hs(e,t,n,r){return new js(e,t,n,r)}function Ws(e){return!(!(e=e.prototype)||!e.isReactComponent)}function qs(e,t){var n=e.alternate;return null===n?((n=Hs(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 Vs(e,t,n,r,i,o){var a=2;if(r=e,"function"==typeof e)Ws(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case B:return $s(n.children,i,o,t);case z:a=8,i|=8;break;case U:return(e=Hs(12,n,t,2|i)).elementType=U,e.lanes=o,e;case q:return(e=Hs(13,n,t,i)).elementType=q,e.lanes=o,e;case V:return(e=Hs(19,n,t,i)).elementType=V,e.lanes=o,e;case G:return Qs(n,i,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case j:a=10;break e;case H:a=9;break e;case W:a=11;break e;case $:a=14;break e;case Q:a=16,r=null;break e}throw Error(b(130,null==e?e:void 0===e?"undefined":y.default(e),""))}return(t=Hs(a,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function $s(e,t,n,r){return(e=Hs(7,e,r,t)).lanes=n,e}function Qs(e,t,n,r){return(e=Hs(22,e,r,t)).elementType=G,e.lanes=n,e.stateNode={},e}function Gs(e,t,n){return(e=Hs(6,e,null,t)).lanes=n,e}function Ks(e,t,n){return(t=Hs(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ys(e,t,n,r,i){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=Ot(0),this.expirationTimes=Ot(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ot(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Xs(e,t,n,r,i,o,a,u,l){return e=new Ys(e,t,n,u,l),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Hs(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},go(o),e}function Js(e,t,n){var r=3>>1,i=e[r];if(!(0>>1;rC(u,n))lC(s,u)?(e[r]=s,e[l]=n,r=l):(e[r]=u,e[a]=n,r=a);else{if(!(lC(s,n)))break e;e[r]=s,e[l]=n,r=l}}}return t}function C(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(e(t.exports,"unstable_now",(function(){return r}),(function(e){return r=e})),e(t.exports,"unstable_IdlePriority",(function(){return i}),(function(e){return i=e})),e(t.exports,"unstable_ImmediatePriority",(function(){return o}),(function(e){return o=e})),e(t.exports,"unstable_LowPriority",(function(){return a}),(function(e){return a=e})),e(t.exports,"unstable_NormalPriority",(function(){return u}),(function(e){return u=e})),e(t.exports,"unstable_Profiling",(function(){return l}),(function(e){return l=e})),e(t.exports,"unstable_UserBlockingPriority",(function(){return s}),(function(e){return s=e})),e(t.exports,"unstable_cancelCallback",(function(){return c}),(function(e){return c=e})),e(t.exports,"unstable_continueExecution",(function(){return f}),(function(e){return f=e})),e(t.exports,"unstable_forceFrameRate",(function(){return d}),(function(e){return d=e})),e(t.exports,"unstable_getCurrentPriorityLevel",(function(){return h}),(function(e){return h=e})),e(t.exports,"unstable_getFirstCallbackNode",(function(){return p}),(function(e){return p=e})),e(t.exports,"unstable_next",(function(){return g}),(function(e){return g=e})),e(t.exports,"unstable_pauseExecution",(function(){return y}),(function(e){return y=e})),e(t.exports,"unstable_requestPaint",(function(){return m}),(function(e){return m=e})),e(t.exports,"unstable_runWithPriority",(function(){return v}),(function(e){return v=e})),e(t.exports,"unstable_scheduleCallback",(function(){return b}),(function(e){return b=e})),e(t.exports,"unstable_shouldYield",(function(){return w}),(function(e){return w=e})),e(t.exports,"unstable_wrapCallback",(function(){return _}),(function(e){return _=e})),"object"==typeof performance&&"function"==typeof performance.now){var x=performance;r=function(){return x.now()}}else{var R=Date,T=R.now();r=function(){return R.now()-T}}var N=[],L=[],O=1,P=null,A=3,M=!1,I=!1,F=!1,D="function"==typeof setTimeout?setTimeout:null,B="function"==typeof clearTimeout?clearTimeout:null,z="undefined"!=typeof setImmediate?setImmediate:null;function U(e){for(var t=k(L);null!==t;){if(null===t.callback)E(L);else{if(!(t.startTime<=e))break;E(L),t.sortIndex=t.expirationTime,S(N,t)}t=k(L)}}function j(e){if(F=!1,U(e),!I)if(null!==k(N))I=!0,Z(H);else{var t=k(L);null!==t&&ee(j,t.startTime-e)}}function H(e,t){I=!1,F&&(F=!1,B($),$=-1),M=!0;var n=A;try{for(U(t),P=k(N);null!==P&&(!(P.expirationTime>t)||e&&!K());){var i=P.callback;if("function"==typeof i){P.callback=null,A=P.priorityLevel;var o=i(P.expirationTime<=t);t=r(),"function"==typeof o?P.callback=o:P===k(N)&&E(N),U(t)}else E(N);P=k(N)}if(null!==P)var a=!0;else{var u=k(L);null!==u&&ee(j,u.startTime-t),a=!1}return a}finally{P=null,A=n,M=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var W,q=!1,V=null,$=-1,Q=5,G=-1;function K(){return!(r()-Ge||125i?(e.sortIndex=n,S(L,e),null===k(N)&&e===k(L)&&(F?(B($),$=-1):F=!0,ee(j,n-i))):(e.sortIndex=o,S(N,e),I||M||(I=!0,Z(H))),e},w=K,_=function(e){var t=A;return function(){var n=A;A=t;try{return e.apply(this,arguments)}finally{A=n}}}})),o.register("gNGOH",(function(e,t){var n,r=o("hHwHK");e.exports.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},e.exports.save=function(t){try{t?e.exports.storage.setItem("debug",t):e.exports.storage.removeItem("debug")}catch(e){}},e.exports.load=function(){var t;try{t=e.exports.storage.getItem("debug")}catch(e){}!t&&void 0!==r&&"env"in r&&(t=void 0);return t},e.exports.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.exports.storage=function(){try{return localStorage}catch(e){}}(),e.exports.destroy=(n=!1,function(){n||(n=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}),e.exports.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports.log=console.debug||console.log||function(){},e.exports=o("6XhfF")(e.exports),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}})),o.register("hHwHK",(function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,s=[],c=!1,f=-1;function d(){c&&l&&(c=!1,l.length?s=l.concat(s):f=-1,s.length&&h())}function h(){if(!c){var e=u(d);c=!0;for(var t=s.length;t;){for(l=s,s=[];++f1)for(var n=1;n=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,t){t=t||{};var o,f,d=void 0===e?"undefined":n.default(e);if("string"===d&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*s;case"weeks":case"week":case"w":return n*l;case"days":case"day":case"d":return n*u;case"hours":case"hour":case"hrs":case"hr":case"h":return n*a;case"minutes":case"minute":case"mins":case"min":case"m":return n*i;case"seconds":case"second":case"secs":case"sec":case"s":return n*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}(e);if("number"===d&&isFinite(e))return t.long?(o=e,(f=Math.abs(o))>=u?c(o,f,u,"day"):f>=a?c(o,f,a,"hour"):f>=i?c(o,f,i,"minute"):f>=r?c(o,f,r,"second"):o+" ms"):function(e){var t=Math.abs(e);return t>=u?Math.round(e/u)+"d":t>=a?Math.round(e/a)+"h":t>=i?Math.round(e/i)+"m":t>=r?Math.round(e/r)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}})),o.register("aO4Nv",(function(e,t){(t=e.exports=o("cEb8p")).Stream=t,t.Readable=t,t.Writable=o("9qe8V"),t.Duplex=o("hJxv2"),t.Transform=o("btmMl"),t.PassThrough=o("wp78e"),t.finished=o("6T8EH"),t.pipeline=o("6LRUK")})),o.register("cEb8p",(function(e,n){"use strict";var r,i=o("hHwHK");e.exports=x,x.ReadableState=C;o("kGEFf").EventEmitter;var a=function(e,t){return e.listeners(t).length},u=o("dFCC7"),l=o("8R5ea").Buffer,s=t.Uint8Array||function(){};var c,f=o("9Bn2t");c=f&&f.debuglog?f.debuglog("stream"):function(){};var d,h,p,g=o("hwPA0"),y=o("9xr4t"),m=o("kJSue").getHighWaterMark,v=o("lBvtb").codes,b=v.ERR_INVALID_ARG_TYPE,w=v.ERR_STREAM_PUSH_AFTER_EOF,_=v.ERR_METHOD_NOT_IMPLEMENTED,S=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;o("cGScM")(x,u);var k=y.errorOrDestroy,E=["error","close","destroy","pause","resume"];function C(e,t,n){r=r||o("hJxv2"),e=e||{},"boolean"!=typeof n&&(n=t instanceof r),this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=m(this,e,"readableHighWaterMark",n),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(d||(d=o("7Rk03").StringDecoder),this.decoder=new d(e.encoding),this.encoding=e.encoding)}function x(e){if(r=r||o("hJxv2"),!(this instanceof x))return new x(e);var t=this instanceof r;this._readableState=new C(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),u.call(this)}function R(e,t,n,r,i){c("readableAddChunk",t);var o,a=e._readableState;if(null===t)a.reading=!1,function(e,t){if(c("onEofChunk"),t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?O(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,P(e)))}(e,a);else if(i||(o=function(e,t){var n;r=t,l.isBuffer(r)||r instanceof s||"string"==typeof t||void 0===t||e.objectMode||(n=new b("chunk",["string","Buffer","Uint8Array"],t));var r;return n}(a,t)),o)k(e,o);else if(a.objectMode||t&&t.length>0)if("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),r)a.endEmitted?k(e,new S):T(e,a,t,!0);else if(a.ended)k(e,new w);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?T(e,a,t,!1):A(e,a)):T(e,a,t,!1)}else r||(a.reading=!1,A(e,a));return!a.ended&&(a.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=N?e=N:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function O(e){var t=e._readableState;c("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(c("emitReadable",t.flowing),t.emittedReadable=!0,i.nextTick(P,e))}function P(e){var t=e._readableState;c("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,B(e)}function A(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(M,e,t))}function M(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function F(e){c("readable nexttick read 0"),e.read(0)}function D(e,t){c("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),B(e),t.flowing&&!t.reading&&e.read(0)}function B(e){var t=e._readableState;for(c("flow",t.flowing);t.flowing&&null!==e.read(););}function z(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function U(e){var t=e._readableState;c("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,i.nextTick(j,t,e))}function j(e,t){if(c("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function H(e,t){for(var n=0,r=e.length;n=t.highWaterMark:t.length>0)||t.ended))return c("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?U(this):O(this),null;if(0===(e=L(e,t))&&t.ended)return 0===t.length&&U(this),null;var r,i=t.needReadable;return c("need readable",i),(0===t.length||t.length-e0?z(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&U(this)),null!==r&&this.emit("data",r),r},x.prototype._read=function(e){k(this,new _("_read()"))},x.prototype.pipe=function(e,t){var n=function(e,t){c("onunpipe"),e===d&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,o())},r=function(){c("onend"),e.end()},o=function(){c("cleanup"),e.removeListener("close",l),e.removeListener("finish",s),e.removeListener("drain",g),e.removeListener("error",m),e.removeListener("unpipe",n),d.removeListener("end",r),d.removeListener("end",f),d.removeListener("data",u),y=!0,!h.awaitDrain||e._writableState&&!e._writableState.needDrain||g()},u=function(t){c("ondata");var n=e.write(t);c("dest.write",n),!1===n&&((1===h.pipesCount&&h.pipes===e||h.pipesCount>1&&-1!==H(h.pipes,e))&&!y&&(c("false write response, pause",h.awaitDrain),h.awaitDrain++),d.pause())},l=function(){e.removeListener("finish",s),f()},s=function(){c("onfinish"),e.removeListener("close",l),f()},f=function(){c("unpipe"),d.unpipe(e)},d=this,h=this._readableState;switch(h.pipesCount){case 0:h.pipes=e;break;case 1:h.pipes=[h.pipes,e];break;default:h.pipes.push(e)}h.pipesCount+=1,c("pipe count=%d opts=%j",h.pipesCount,t);var p=(!t||!1!==t.end)&&e!==i.stdout&&e!==i.stderr?r:f;h.endEmitted?i.nextTick(p):d.once("end",p),e.on("unpipe",n);var g=function(e){return function(){var t=e._readableState;c("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,B(e))}}(d);e.on("drain",g);var y=!1;function m(t){c("onerror",t),f(),e.removeListener("error",m),0===a(e,"error")&&k(e,t)}return d.on("data",u),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",m),e.once("close",l),e.once("finish",s),e.emit("pipe",d),h.flowing||(c("pipe resume"),d.resume()),e},x.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==r.flowing&&this.resume()):"readable"===e&&(r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,c("on readable",r.length,r.reading),r.length?O(this):r.reading||i.nextTick(F,this))),n},x.prototype.addListener=x.prototype.on,x.prototype.removeListener=function(e,t){var n=u.prototype.removeListener.call(this,e,t);return"readable"===e&&i.nextTick(I,this),n},x.prototype.removeAllListeners=function(e){var t=u.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||i.nextTick(I,this),t},x.prototype.resume=function(){var e=this._readableState;return e.flowing||(c("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(D,e,t))}(this,e)),e.paused=!1,this},x.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},x.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(c("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(c("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i)||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o0&&a.length>i&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,u=l,console&&console.warn&&console.warn(u)}return e}function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=h.bind(r);return i.listener=n,r.wrapFn=i,i}function g(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(o=t[0]),o instanceof Error)throw o;var u=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw u.context=o,u}var l=i[e];if(void 0===l)return!1;if("function"==typeof l)a(l,this,t);else{var s=l.length,c=m(l,s);for(n=0;n=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},l.prototype.listeners=function(e){return g(this,e,!0)},l.prototype.rawListeners=function(e){return g(this,e,!1)},l.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):y.call(e,t)},l.prototype.listenerCount=y,l.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}})),o.register("dFCC7",(function(e,t){e.exports=o("kGEFf").EventEmitter})),o.register("8R5ea",(function(t,n){e(t.exports,"Buffer",(function(){return r}),(function(e){return r=e})),e(t.exports,"SlowBuffer",(function(){return i}),(function(e){return i=e})),e(t.exports,"INSPECT_MAX_BYTES",(function(){return a}),(function(e){return a=e})),e(t.exports,"kMaxLength",(function(){return u}),(function(e){return u=e}));var r,i,a,u,l=o("d6wAG"),s=o("a2tNd"),c=o("jp2Af"),f=o("6qw6t"),d=o("gtl88"),h=o("2RFL2"),p=o("ixOs7"),g=o("ci8tz"),y="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;r=b,i=function(e){+e!=e&&(e=0);return b.alloc(+e)},a=50;var m=2147483647;function v(e){if(e>m)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,b.prototype),t}function b(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return S(e)}return w(e,t,n)}function w(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!b.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|x(e,t),r=v(n),i=r.write(e,t);i!==n&&(r=r.slice(0,i));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(ae(e,Uint8Array)){var t=new Uint8Array(e);return E(t.buffer,t.byteOffset,t.byteLength)}return k(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+(void 0===e?"undefined":l.default(e)));if(ae(e,ArrayBuffer)||e&&ae(e.buffer,ArrayBuffer))return E(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(ae(e,SharedArrayBuffer)||e&&ae(e.buffer,SharedArrayBuffer)))return E(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return b.from(r,t,n);var i=function(e){if(b.isBuffer(e)){var t=0|C(e.length),n=v(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||ue(e.length)?v(0):k(e);if("Buffer"===e.type&&Array.isArray(e.data))return k(e.data)}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return b.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+(void 0===e?"undefined":l.default(e)))}function _(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function S(e){return _(e),v(e<0?0:0|C(e))}function k(e){for(var t=e.length<0?0:0|C(e.length),n=v(t),r=0;r=m)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+m.toString(16)+" bytes");return 0|e}function x(e,t){if(b.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||ae(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+(void 0===e?"undefined":l.default(e)));var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return re(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return ie(e).length;default:if(i)return r?-1:re(e).length;t=(""+t).toLowerCase(),i=!0}}function R(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return j(this,t,n);case"utf8":case"utf-8":return D(this,t,n);case"ascii":return z(this,t,n);case"latin1":case"binary":return U(this,t,n);case"base64":return F(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function T(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function N(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),ue(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=b.from(t,r)),b.isBuffer(t))return 0===t.length?-1:L(e,t,n,r,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):L(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function L(e,t,n,r,i){var o,a=function(e,t){return 1===u?e[t]:e.readUInt16BE(t*u)},u=1,l=e.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;u=2,l/=2,s/=2,n/=2}if(i){var c=-1;for(o=n;ol&&(n=l-s),o=n;o>=0;o--){for(var f=!0,d=0;di&&(r=i):r=i;var o,a=t.length;for(r>a/2&&(r=a/2),o=0;o>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function F(e,t,n){return 0===t&&n===e.length?p.fromByteArray(e):p.fromByteArray(e.slice(t,n))}function D(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:o>223?3:o>191?2:1;if(i+u<=n){var l=void 0,s=void 0,c=void 0,f=void 0;switch(u){case 1:o<128&&(a=o);break;case 2:128==(192&(l=e[i+1]))&&(f=(31&o)<<6|63&l)>127&&(a=f);break;case 3:l=e[i+1],s=e[i+2],128==(192&l)&&128==(192&s)&&(f=(15&o)<<12|(63&l)<<6|63&s)>2047&&(f<55296||f>57343)&&(a=f);break;case 4:l=e[i+1],s=e[i+2],c=e[i+3],128==(192&l)&&128==(192&s)&&128==(192&c)&&(f=(15&o)<<18|(63&l)<<12|(63&s)<<6|63&c)>65535&&f<1114112&&(a=f)}}null===a?(a=65533,u=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),i+=u}return function(e){var t=e.length;if(t<=B)return String.fromCharCode.apply(String,e);var n="",r=0;for(;rr.length?(b.isBuffer(o)||(o=b.from(o)),o.copy(r,i)):Uint8Array.prototype.set.call(r,o,i);else{if(!b.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i)}i+=o.length}return r},b.byteLength=x,b.prototype._isBuffer=!0,b.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;tt&&(e+=" ... "),""},y&&(b.prototype[y]=b.prototype.inspect),b.prototype.compare=function(e,t,n,r,i){if(ae(e,Uint8Array)&&(e=b.from(e,e.offset,e.byteLength)),!b.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+(void 0===e?"undefined":l.default(e)));if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),u=Math.min(o,a),s=this.slice(r,i),c=e.slice(t,n),f=0;f>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return O(this,e,t,n);case"utf8":case"utf-8":return P(this,e,t,n);case"ascii":case"latin1":case"binary":return A(this,e,t,n);case"base64":return M(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},b.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var B=4096;function z(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function q(e,t,n,r,i,o){if(!b.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function V(e,t,n,r,i){Z(t,r,i,e,n,7);var o=Number(t&BigInt(4294967295));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;var a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function $(e,t,n,r,i){Z(t,r,i,e,n,7);var o=Number(t&BigInt(4294967295));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;var a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function Q(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function G(e,t,n,r,i){return t=+t,n>>>=0,i||Q(e,0,n,4),g.write(e,t,n,r,23,4),n+4}function K(e,t,n,r,i){return t=+t,n>>>=0,i||Q(e,0,n,8),g.write(e,t,n,r,52,8),n+8}b.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||W(e,t,this.length);for(var r=this[e],i=1,o=0;++o>>=0,t>>>=0,n||W(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},b.prototype.readUint8=b.prototype.readUInt8=function(e,t){return e>>>=0,t||W(e,1,this.length),this[e]},b.prototype.readUint16LE=b.prototype.readUInt16LE=function(e,t){return e>>>=0,t||W(e,2,this.length),this[e]|this[e+1]<<8},b.prototype.readUint16BE=b.prototype.readUInt16BE=function(e,t){return e>>>=0,t||W(e,2,this.length),this[e]<<8|this[e+1]},b.prototype.readUint32LE=b.prototype.readUInt32LE=function(e,t){return e>>>=0,t||W(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},b.prototype.readUint32BE=b.prototype.readUInt32BE=function(e,t){return e>>>=0,t||W(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},b.prototype.readBigUInt64LE=se((function(e){ee(e>>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||te(e,this.length-8);var r=t+256*this[++e]+65536*this[++e]+this[++e]*Math.pow(2,24),i=this[++e]+256*this[++e]+65536*this[++e]+n*Math.pow(2,24);return BigInt(r)+(BigInt(i)<>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||te(e,this.length-8);var r=t*Math.pow(2,24)+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*Math.pow(2,24)+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<>>=0,t>>>=0,n||W(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},b.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||W(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},b.prototype.readInt8=function(e,t){return e>>>=0,t||W(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},b.prototype.readInt16LE=function(e,t){e>>>=0,t||W(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},b.prototype.readInt16BE=function(e,t){e>>>=0,t||W(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},b.prototype.readInt32LE=function(e,t){return e>>>=0,t||W(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},b.prototype.readInt32BE=function(e,t){return e>>>=0,t||W(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},b.prototype.readBigInt64LE=se((function(e){ee(e>>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||te(e,this.length-8);var r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||te(e,this.length-8);var r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<>>=0,t||W(e,4,this.length),g.read(this,e,!0,23,4)},b.prototype.readFloatBE=function(e,t){return e>>>=0,t||W(e,4,this.length),g.read(this,e,!1,23,4)},b.prototype.readDoubleLE=function(e,t){return e>>>=0,t||W(e,8,this.length),g.read(this,e,!0,52,8)},b.prototype.readDoubleBE=function(e,t){return e>>>=0,t||W(e,8,this.length),g.read(this,e,!1,52,8)},b.prototype.writeUintLE=b.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||q(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o>>=0,n>>>=0,r)||q(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},b.prototype.writeUint8=b.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||q(this,e,t,1,255,0),this[t]=255&e,t+1},b.prototype.writeUint16LE=b.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||q(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},b.prototype.writeUint16BE=b.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||q(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},b.prototype.writeUint32LE=b.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||q(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},b.prototype.writeUint32BE=b.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||q(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},b.prototype.writeBigUInt64LE=se((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return V(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),b.prototype.writeBigUInt64BE=se((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return $(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),b.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);q(this,e,t,n,i-1,-i)}var o=0,a=1,u=0;for(this[t]=255&e;++o>0)-u&255;return t+n},b.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);q(this,e,t,n,i-1,-i)}var o=n-1,a=1,u=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===u&&0!==this[t+o+1]&&(u=1),this[t+o]=(e/a>>0)-u&255;return t+n},b.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||q(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},b.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||q(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},b.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||q(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},b.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||q(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},b.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||q(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},b.prototype.writeBigInt64LE=se((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return V(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),b.prototype.writeBigInt64BE=se((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return $(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),b.prototype.writeFloatLE=function(e,t,n){return G(this,e,t,!0,n)},b.prototype.writeFloatBE=function(e,t,n){return G(this,e,t,!1,n)},b.prototype.writeDoubleLE=function(e,t,n){return K(this,e,t,!0,n)},b.prototype.writeDoubleBE=function(e,t,n){return K(this,e,t,!1,n)},b.prototype.copy=function(e,t,n,r){if(!b.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o=r+4;n-=3)t="_".concat(e.slice(n-3,n)).concat(t);return"".concat(e.slice(0,n)).concat(t)}function Z(e,t,n,r,i,o){if(e>n||e3?0===t||t===BigInt(0)?">= 0".concat(u," and < 2").concat(u," ** ").concat(8*(o+1)).concat(u):">= -(2".concat(u," ** ").concat(8*(o+1)-1).concat(u,") and < 2 ** ")+"".concat(8*(o+1)-1).concat(u):">= ".concat(t).concat(u," and <= ").concat(n).concat(u),new Y.ERR_OUT_OF_RANGE("value",a,e)}!function(e,t,n){ee(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||te(t,e.length-(n+1))}(r,i,o)}function ee(e,t){if("number"!=typeof e)throw new Y.ERR_INVALID_ARG_TYPE(t,"number",e)}function te(e,t,n){if(Math.floor(e)!==e)throw ee(e,n),new Y.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new Y.ERR_BUFFER_OUT_OF_BOUNDS;throw new Y.ERR_OUT_OF_RANGE(n||"offset",">= ".concat(n?1:0," and <= ").concat(t),e)}X("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?"".concat(e," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"}),RangeError),X("ERR_INVALID_ARG_TYPE",(function(e,t){return'The "'.concat(e,'" argument must be of type number. Received type ').concat(void 0===t?"undefined":l.default(t))}),TypeError),X("ERR_OUT_OF_RANGE",(function(e,t,n){var r='The value of "'.concat(e,'" is out of range.'),i=n;return Number.isInteger(n)&&Math.abs(n)>Math.pow(2,32)?i=J(String(n)):"bigint"===(void 0===n?"undefined":l.default(n))&&(i=String(n),(n>Math.pow(BigInt(2),BigInt(32))||n<-Math.pow(BigInt(2),BigInt(32)))&&(i=J(i)),i+="n"),r+=" It must be ".concat(t,". Received ").concat(i)}),RangeError);var ne=/[^+/0-9A-Za-z-_]/g;function re(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function ie(e){return p.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(ne,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function oe(e,t,n,r){var i;for(i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function ae(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function ue(e){return e!=e}var le=function(){for(var e="0123456789abcdef",t=new Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)t[r+i]=e[n]+e[i];return t}();function se(e){return"undefined"==typeof BigInt?ce:e}function ce(){throw new Error("BigInt not supported")}})),o.register("ixOs7",(function(t,n){var r,i;e(t.exports,"toByteArray",(function(){return r}),(function(e){return r=e})),e(t.exports,"fromByteArray",(function(){return i}),(function(e){return i=e})),r=function(e){var t,n,r=f(e),i=r[0],o=r[1],l=new u(function(e,t,n){return 3*(t+n)/4-n}(0,i,o)),s=0,c=o>0?i-4:i;for(n=0;n>16&255,l[s++]=t>>8&255,l[s++]=255&t;2===o&&(t=a[e.charCodeAt(n)]<<2|a[e.charCodeAt(n+1)]>>4,l[s++]=255&t);1===o&&(t=a[e.charCodeAt(n)]<<10|a[e.charCodeAt(n+1)]<<4|a[e.charCodeAt(n+2)]>>2,l[s++]=t>>8&255,l[s++]=255&t);return l},i=function(e){for(var t,n=e.length,r=n%3,i=[],a=16383,u=0,l=n-r;ul?l:u+a));1===r?(t=e[n-1],i.push(o[t>>2]+o[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],i.push(o[t>>10]+o[t>>4&63]+o[t<<2&63]+"="));return i.join("")};for(var o=[],a=[],u="undefined"!=typeof Uint8Array?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=l.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function d(e,t,n){for(var r,i,a=[],u=t;u>18&63]+o[i>>12&63]+o[i>>6&63]+o[63&i]);return a.join("")}a["-".charCodeAt(0)]=62,a["_".charCodeAt(0)]=63})),o.register("ci8tz",(function(t,n){ +/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */var r,i;e(t.exports,"read",(function(){return r}),(function(e){return r=e})),e(t.exports,"write",(function(){return i}),(function(e){return i=e})),r=function(e,t,n,r,i){var o,a,u=8*i-r-1,l=(1<>1,c=-7,f=n?i-1:0,d=n?-1:1,h=e[t+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=u;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-s;else{if(o===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=s}return(h?-1:1)*a*Math.pow(2,o-r)},i=function(e,t,n,r,i,o){var a,u,l,s=8*o-i-1,c=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(u=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+f>=1?d/l:d*Math.pow(2,1-f))*l>=2&&(a++,l/=2),a+f>=c?(u=0,a=c):a+f>=1?(u=(t*l-1)*Math.pow(2,i),a+=f):(u=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&u,h+=p,u/=256,i-=8);for(a=a<0;e[n+h]=255&a,h+=p,a/=256,s-=8);e[n+h-p]|=128*g}})),o.register("9Bn2t",(function(e,t){})),o.register("hwPA0",(function(e,t){"use strict";function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){for(var n=0;n0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return a.alloc(0);for(var t,n,r,i=a.allocUnsafe(e>>>0),o=this.head,u=0;o;)t=o.data,n=i,r=u,a.prototype.copy.call(t,n,r),u+=o.data.length,o=o.next;return i}},{key:"consume",value:function(e,t){var n;return ei.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0==(e-=o)){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=a.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,t}},{key:l,value:function(e,t){return u(this,function(e){for(var t=arguments,i=function(i){var o=null!=t[i]?t[i]:{};i%2?n(Object(o),!0).forEach((function(t){r(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))},o=1;o2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}u("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),u("ERR_INVALID_ARG_TYPE",(function(e,t,n){var r,o,a,u;if("string"==typeof t&&(o="not ",t.substr(!a||a<0?0:+a,o.length)===o)?(r="must not be",t=t.replace(/^not /,"")):r="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))u="The ".concat(e," ").concat(r," ").concat(l(t,"type"));else{var s=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";u='The "'.concat(e,'" ').concat(s," ").concat(r," ").concat(l(t,"type"))}return u+=". Received type ".concat(void 0===n?"undefined":i.default(n))}),TypeError),u("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),u("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),u("ERR_STREAM_PREMATURE_CLOSE","Premature close"),u("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),u("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),u("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),u("ERR_STREAM_WRITE_AFTER_END","write after end"),u("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),u("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),u("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),r=a})),o.register("cGScM",(function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}})),o.register("hJxv2",(function(e,t){"use strict";var n=o("hHwHK"),r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=c;var i=o("cEb8p"),a=o("9qe8V");o("cGScM")(c,i);for(var u=r(a.prototype),l=0;l-1))throw new S(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(x.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(x.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),x.prototype._write=function(e,t,n){n(new y("_write()"))},x.prototype._writev=null,x.prototype.end=function(e,t,n){var r=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,P(e,t),n&&(t.finished?i.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n),this},Object.defineProperty(x.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(x.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),x.prototype.destroy=d.destroy,x.prototype._undestroy=d.undestroy,x.prototype._destroy=function(e,t){t(e)}})),o.register("itv3U",(function(e,n){function r(e){try{if(!t.localStorage)return!1}catch(e){return!1}var n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}e.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}})),o.register("7Rk03",(function(t,n){var r;e(t.exports,"StringDecoder",(function(){return r}),(function(e){return r=e}));var i=o("564l0").Buffer,a=i.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function u(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(i.isEncoding===a||!a(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=f,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=d,this.end=h,t=3;break;default:return this.write=p,void(this.end=g)}this.lastNeed=0,this.lastTotal=0,this.lastChar=i.allocUnsafe(t)}function l(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function f(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function d(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function p(e){return e.toString(this.encoding)}function g(e){return e&&e.length?this.write(e):""}r=u,u.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0)return i>0&&(e.lastNeed=i-1),i;if(--r=0)return i>0&&(e.lastNeed=i-2),i;if(--r=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},u.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}})),o.register("564l0",(function(e,t){var n=o("8R5ea"),r=n.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return r(e,t,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(i(n,e.exports),e.exports.Buffer=a),a.prototype=Object.create(r.prototype),i(r,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=r(e);return void 0!==t?"string"==typeof n?i.fill(t,n):i.fill(t):i.fill(0),i},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}})),o.register("6nQjx",(function(e,t){"use strict";var n,r=o("hHwHK");function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=o("6T8EH"),u=Symbol("lastResolve"),l=Symbol("lastReject"),s=Symbol("error"),c=Symbol("ended"),f=Symbol("lastPromise"),d=Symbol("handlePromise"),h=Symbol("stream");function p(e,t){return{value:e,done:t}}function g(e){var t=e[u];if(null!==t){var n=e[h].read();null!==n&&(e[f]=null,e[u]=null,e[l]=null,t(p(n,!1)))}}function y(e){r.nextTick(g,e)}var m=Object.getPrototypeOf((function(){})),v=Object.setPrototypeOf((i(n={get stream(){return this[h]},next:function(){var e=this,t=this[s];if(null!==t)return Promise.reject(t);if(this[c])return Promise.resolve(p(void 0,!0));if(this[h].destroyed)return new Promise((function(t,n){r.nextTick((function(){e[s]?n(e[s]):t(p(void 0,!0))}))}));var n,i=this[f];if(i)n=new Promise(function(e,t){return function(n,r){e.then((function(){t[c]?n(p(void 0,!0)):t[d](n,r)}),r)}}(i,this));else{var o=this[h].read();if(null!==o)return Promise.resolve(p(o,!1));n=new Promise(this[d])}return this[f]=n,n}},Symbol.asyncIterator,(function(){return this})),i(n,"return",(function(){var e=this;return new Promise((function(t,n){e[h].destroy(null,(function(e){e?n(e):t(p(void 0,!0))}))}))})),n),m);e.exports=function(e){var t,n=Object.create(v,(i(t={},h,{value:e,writable:!0}),i(t,u,{value:null,writable:!0}),i(t,l,{value:null,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,c,{value:e._readableState.endEmitted,writable:!0}),i(t,d,{value:function(e,t){var r=n[h].read();r?(n[f]=null,n[u]=null,n[l]=null,e(p(r,!1))):(n[u]=e,n[l]=t)},writable:!0}),t));return n[f]=null,a(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[l];return null!==t&&(n[f]=null,n[u]=null,n[l]=null,t(e)),void(n[s]=e)}var r=n[u];null!==r&&(n[f]=null,n[u]=null,n[l]=null,r(p(void 0,!0))),n[c]=!0})),e.on("readable",y.bind(null,n)),n}})),o.register("6T8EH",(function(e,t){"use strict";var n=o("lBvtb").codes.ERR_STREAM_PREMATURE_CLOSE;function r(){}e.exports=function e(t,i,o){if("function"==typeof i)return e(t,null,i);i||(i={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),i=0;i0,(function(e){r||(r=e),e&&a.forEach(s),i||(a.forEach(s),o(r))}))}));return t.reduce(c)}}));var a,u;a=o("gSjLf");var l;!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)}}(),u=(l=o("ioS6e")).createRoot,l.hydrateRoot;var s=o("dyzCq"),c=o("8lyIl"),f={},d=function(e){var t,n=function(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]},r=function(e,t,n,r){var i=t&&t.prototype instanceof o?t:o,a=Object.create(i.prototype),u=new h(r||[]);return a._invoke=c(e,n,u),a},i=function(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}},o=function(){},a=function(){},u=function(){},l=function(e){["next","throw","return"].forEach((function(t){n(e,t,(function(e){return this._invoke(t,e)}))}))},s=function(e,t){function n(r,o,a,u){var l=i(e[r],e,o);if("throw"!==l.type){var s=l.arg,c=s.value;return c&&"object"==typeof c&&m.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,a,u)}),(function(e){n("throw",e,a,u)})):t.resolve(c).then((function(e){s.value=e,a(s)}),(function(e){return n("throw",e,a,u)}))}u(l.arg)}var r;this._invoke=function(e,i){function o(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(o,o):o()}},c=function(e,t,n){var r=S;return function(o,a){if(r===E)throw new Error("Generator is already running");if(r===C){if("throw"===o)throw a;return g()}for(n.method=o,n.arg=a;;){var u=n.delegate;if(u){var l=O(u,n);if(l){if(l===x)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===S)throw r=C,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=E;var s=i(e,t,n);if("normal"===s.type){if(r=n.done?C:k,s.arg===x)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=C,n.method="throw",n.arg=s.arg)}}},f=function(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)},d=function(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t},h=function(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(f,this),this.reset(!0)},p=function(e){if(e){var n=e[b];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function n(){for(;++r=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var u=m.call(o,"catchLoc"),l=m.call(o,"finallyLoc");if(u&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&m.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),d(n),x}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;d(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:p(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),x}},e}(f);try{regeneratorRuntime=d}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=d:Function("r","regeneratorRuntime = r")(d)}var h,p,g=o("5hXQ0"),y=o("a2tNd"),m=o("jp2Af"),v=o("6qw6t"),b=o("60AZQ"),w=o("2RFL2"),_=o("gNGOH")("simple-peer");p=function(){if("undefined"==typeof globalThis)return null;var e={RTCPeerConnection:globalThis.RTCPeerConnection||globalThis.mozRTCPeerConnection||globalThis.webkitRTCPeerConnection,RTCSessionDescription:globalThis.RTCSessionDescription||globalThis.mozRTCSessionDescription||globalThis.webkitRTCSessionDescription,RTCIceCandidate:globalThis.RTCIceCandidate||globalThis.mozRTCIceCandidate||globalThis.webkitRTCIceCandidate};return e.RTCPeerConnection?e:null};var S={},k=o("hHwHK"),E=65536;var C={},x=(q=o("8R5ea")).Buffer;function R(e,t){for(var n in e)t[n]=e[n]}function T(e,t,n){return x(e,t,n)}x.from&&x.alloc&&x.allocUnsafe&&x.allocUnsafeSlow?C=q:(R(q,C),C.Buffer=T),R(x,T),T.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return x(e,t,n)},T.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=x(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},T.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return x(e)},T.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return q.SlowBuffer(e)};var N=C.Buffer,L=t.crypto||t.msCrypto;S=L&&L.getRandomValues?function(e,t){if(e>4294967295)throw new RangeError("requested too many random bytes");var n=N.allocUnsafe(e);if(e>0)if(e>E)for(var r=0;rD?(this._debug("start backpressure: bufferedAmount %d",this._channel.bufferedAmount),this._cb=n):n(null)}else this._debug("write before connect"),this._chunk=e,this._cb=n}},{key:"_onFinish",value:function(){var e=this;if(!this.destroyed){var t=function(){var t=e;setTimeout((function(){return t.destroy()}),1e3)};this._connected?t():this.once("connect",t)}}},{key:"_startIceCompleteTimeout",value:function(){var e=this;this.destroyed||this._iceCompleteTimer||(this._debug("started iceComplete timeout"),this._iceCompleteTimer=setTimeout((function(){e._iceComplete||(e._iceComplete=!0,e._debug("iceComplete timeout completed"),e.emit("iceTimeout"),e.emit("_iceComplete"))}),this.iceCompleteTimeout))}},{key:"_createOffer",value:function(){var e=this;this.destroyed||this._pc.createOffer(this.offerOptions).then((function(t){var n=e;if(!e.destroyed){e.trickle||e.allowHalfTrickle||(t.sdp=B(t.sdp)),t.sdp=e.sdpTransform(t.sdp);var r=function(){if(!n.destroyed){var e=n._pc.localDescription||t;n._debug("signal"),n.emit("signal",{type:e.type,sdp:e.sdp})}};e._pc.setLocalDescription(t).then((function(){n._debug("createOffer success"),n.destroyed||(n.trickle||n._iceComplete?r():n.once("_iceComplete",r))})).catch((function(e){n.destroy(M(e,"ERR_SET_LOCAL_DESCRIPTION"))}))}})).catch((function(t){e.destroy(M(t,"ERR_CREATE_OFFER"))}))}},{key:"_requestMissingTransceivers",value:function(){var e=this;this._pc.getTransceivers&&this._pc.getTransceivers().forEach((function(t){t.mid||!t.sender.track||t.requested||(t.requested=!0,e.addTransceiver(t.sender.track.kind))}))}},{key:"_createAnswer",value:function(){var e=this;this.destroyed||this._pc.createAnswer(this.answerOptions).then((function(t){var n=e;if(!e.destroyed){e.trickle||e.allowHalfTrickle||(t.sdp=B(t.sdp)),t.sdp=e.sdpTransform(t.sdp);var r=function(){if(!n.destroyed){var e=n._pc.localDescription||t;n._debug("signal"),n.emit("signal",{type:e.type,sdp:e.sdp}),n.initiator||n._requestMissingTransceivers()}};e._pc.setLocalDescription(t).then((function(){n.destroyed||(n.trickle||n._iceComplete?r():n.once("_iceComplete",r))})).catch((function(e){n.destroy(M(e,"ERR_SET_LOCAL_DESCRIPTION"))}))}})).catch((function(t){e.destroy(M(t,"ERR_CREATE_ANSWER"))}))}},{key:"_onConnectionStateChange",value:function(){this.destroyed||"failed"===this._pc.connectionState&&this.destroy(M(new Error("Connection failed."),"ERR_CONNECTION_FAILURE"))}},{key:"_onIceStateChange",value:function(){if(!this.destroyed){var e=this._pc.iceConnectionState,t=this._pc.iceGatheringState;this._debug("iceStateChange (connection: %s) (gathering: %s)",e,t),this.emit("iceStateChange",e,t),"connected"!==e&&"completed"!==e||(this._pcReady=!0,this._maybeReady()),"failed"===e&&this.destroy(M(new Error("Ice connection failed."),"ERR_ICE_CONNECTION_FAILURE")),"closed"===e&&this.destroy(M(new Error("Ice connection closed."),"ERR_ICE_CONNECTION_CLOSED"))}}},{key:"getStats",value:function(e){var t=this,n=function(e){return"[object Array]"===Object.prototype.toString.call(e.values)&&e.values.forEach((function(t){Object.assign(e,t)})),e};0===this._pc.getStats.length||this._isReactNativeWebrtc?this._pc.getStats().then((function(t){var r=[];t.forEach((function(e){r.push(n(e))})),e(null,r)}),(function(t){return e(t)})):this._pc.getStats.length>0?this._pc.getStats((function(r){if(!t.destroyed){var i=[];r.result().forEach((function(e){var t={};e.names().forEach((function(n){t[n]=e.stat(n)})),t.id=e.id,t.type=e.type,t.timestamp=e.timestamp,i.push(n(t))})),e(null,i)}}),(function(t){return e(t)})):e(null,[])}},{key:"_maybeReady",value:function(){var e=this;if(this._debug("maybeReady pc %s channel %s",this._pcReady,this._channelReady),!this._connected&&!this._connecting&&this._pcReady&&this._channelReady){this._connecting=!0;var t=function(){var n=e;e.destroyed||e.getStats((function(e,r){var i=n;if(!n.destroyed){e&&(r=[]);var o={},a={},u={},l=!1;r.forEach((function(e){"remotecandidate"!==e.type&&"remote-candidate"!==e.type||(o[e.id]=e),"localcandidate"!==e.type&&"local-candidate"!==e.type||(a[e.id]=e),"candidatepair"!==e.type&&"candidate-pair"!==e.type||(u[e.id]=e)}));var s=function(e){l=!0;var t=a[e.localCandidateId];t&&(t.ip||t.address)?(i.localAddress=t.ip||t.address,i.localPort=Number(t.port)):t&&t.ipAddress?(i.localAddress=t.ipAddress,i.localPort=Number(t.portNumber)):"string"==typeof e.googLocalAddress&&(t=e.googLocalAddress.split(":"),i.localAddress=t[0],i.localPort=Number(t[1])),i.localAddress&&(i.localFamily=i.localAddress.includes(":")?"IPv6":"IPv4");var n=o[e.remoteCandidateId];n&&(n.ip||n.address)?(i.remoteAddress=n.ip||n.address,i.remotePort=Number(n.port)):n&&n.ipAddress?(i.remoteAddress=n.ipAddress,i.remotePort=Number(n.portNumber)):"string"==typeof e.googRemoteAddress&&(n=e.googRemoteAddress.split(":"),i.remoteAddress=n[0],i.remotePort=Number(n[1])),i.remoteAddress&&(i.remoteFamily=i.remoteAddress.includes(":")?"IPv6":"IPv4"),i._debug("connect local: %s:%s remote: %s:%s",i.localAddress,i.localPort,i.remoteAddress,i.remotePort)};if(r.forEach((function(e){"transport"===e.type&&e.selectedCandidatePairId&&s(u[e.selectedCandidatePairId]),("googCandidatePair"===e.type&&"true"===e.googActiveConnection||("candidatepair"===e.type||"candidate-pair"===e.type)&&e.selected)&&s(e)})),l||Object.keys(u).length&&!Object.keys(a).length){if(n._connecting=!1,n._connected=!0,n._chunk){try{n.send(n._chunk)}catch(e){return n.destroy(M(e,"ERR_DATA_CHANNEL"))}n._chunk=null,n._debug('sent chunk from "write before connect"');var c=n._cb;n._cb=null,c(null)}if("number"!=typeof n._channel.bufferedAmountLowThreshold){var f=n;n._interval=setInterval((function(){return f._onInterval()}),150),n._interval.unref&&n._interval.unref()}n._debug("connect"),n.emit("connect")}else setTimeout(t,100)}}))};t()}}},{key:"_onInterval",value:function(){!this._cb||!this._channel||this._channel.bufferedAmount>D||this._onChannelBufferedAmountLow()}},{key:"_onSignalingStateChange",value:function(){if(!this.destroyed){if("stable"===this._pc.signalingState){var e=this;this._isNegotiating=!1,this._debug("flushing sender queue",this._sendersAwaitingStable),this._sendersAwaitingStable.forEach((function(t){e._pc.removeTrack(t),e._queuedNegotiation=!0})),this._sendersAwaitingStable=[],this._queuedNegotiation?(this._debug("flushing negotiation queue"),this._queuedNegotiation=!1,this._needsNegotiation()):(this._debug("negotiated"),this.emit("negotiated"))}this._debug("signalingStateChange %s",this._pc.signalingState),this.emit("signalingStateChange",this._pc.signalingState)}}},{key:"_onIceCandidate",value:function(e){this.destroyed||(e.candidate&&this.trickle?this.emit("signal",{type:"candidate",candidate:{candidate:e.candidate.candidate,sdpMLineIndex:e.candidate.sdpMLineIndex,sdpMid:e.candidate.sdpMid}}):e.candidate||this._iceComplete||(this._iceComplete=!0,this.emit("_iceComplete")),e.candidate&&this._startIceCompleteTimeout())}},{key:"_onChannelMessage",value:function(e){if(!this.destroyed){var t=e.data;t instanceof ArrayBuffer&&(t=F.from(t)),this.push(t)}}},{key:"_onChannelBufferedAmountLow",value:function(){if(!this.destroyed&&this._cb){this._debug("ending backpressure: bufferedAmount %d",this._channel.bufferedAmount);var e=this._cb;this._cb=null,e(null)}}},{key:"_onChannelOpen",value:function(){this._connected||this.destroyed||(this._debug("on channel open"),this._channelReady=!0,this._maybeReady())}},{key:"_onChannelClose",value:function(){this.destroyed||(this._debug("on channel close"),this.destroy())}},{key:"_onTrack",value:function(e){var t=this;this.destroyed||e.streams.forEach((function(n){var r=t;t._debug("on track"),t.emit("track",e.track,n),t._remoteTracks.push({track:e.track,stream:n}),t._remoteStreams.some((function(e){return e.id===n.id}))||(t._remoteStreams.push(n),A((function(){r._debug("on stream"),r.emit("stream",n)})))}))}},{key:"_debug",value:function(){var e=[].slice.call(arguments);e[0]="["+this._id+"] "+e[0],_.apply(null,e)}}]),n}(P.Duplex);z.WEBRTC_SUPPORT=!!p(),z.config={iceServers:[{urls:["stun:stun.l.google.com:19302","stun:global.stun.twilio.com:3478"]}],sdpSemantics:"unified-plan"},z.channelConfig={},h=z;var U,j,H,W=18;!function(e){e.Default="default",e.GatherSignal="gather-signal",e.Hailing="hailing",e.Connected="connected"}(U||(U={})),function(e){e.Hailing="hailing",e.Connect="connect",e.Reset="reset"}(j||(j={})),function(e){e.PeerState="peer-state",e.IframeClick="iframe-click",e.OpenHailing="open-hailing",e.InboundHailing="inbound-hailing"}(H||(H={}));v=o("6qw6t");var q,V=o("3cwrW"),$=o("71LYL"),Q=o("lu4da"),G=o("kr1uT"),K=(s=o("dyzCq"),g=o("5hXQ0"),new WeakMap),Y=function e(){"use strict";var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=this;v.default(this,e),V.default(this,K,{writable:!0,value:void 0}),$.default(this,"sync",(function(e){var t=n;return new Promise((function(n){if(!Q.default(t,K).has(e)&&(null===chrome||void 0===chrome?void 0:chrome.storage)){var r=localStorage.getItem(e);chrome.storage.sync.get(e,(function(t){var i=t[e];localStorage.setItem(e,i),n(i!==r)}))}else n(!1)}))})),$.default(this,"get",(function(e){return new Promise((function(t){(null===chrome||void 0===chrome?void 0:chrome.storage)?chrome.storage.sync.get(e,(function(n){t(n[e])})):t(localStorage.getItem(e))}))})),$.default(this,"set",(function(e,t){var r=n;return new Promise((function(n){var i="string"==typeof t?t:JSON.stringify(t);Q.default(r,K)[e]||localStorage.setItem(e,i),(null===chrome||void 0===chrome?void 0:chrome.storage)?chrome.storage.sync.set($.default({},e,i),n):n(null)}))})),G.default(this,K,new Set(t))},X=(q=o("8R5ea")).Buffer,J=function(){var e,t,r,i,o,a,u=(e=H.InboundHailing,r=s.default(g.useState(""),2),i=r[0],o=r[1],a=g.useRef(new Y),g.useEffect((function(){a.current.get(e).then((function(e){o(e),null==t||t(e)})),(null===chrome||void 0===chrome?void 0:chrome.storage)&&chrome.storage.onChanged.addListener((function(t){t[e]&&t[e].newValue!==i&&o(t[e].newValue)}))}),[]),{value:i,set:o,save:function(t){return a.current.set(e,t||i)},persist:function(t){return a.current.set(e,t).then((function(){return o(t)}))}}),l=u.value,d=u.persist,p=u.save,y=s.default(g.useState(U.Default),2),m=y[0],v=y[1],b=s.default(g.useState(""),2),w=b[0],_=b[1],S=g.useRef(),k=g.useRef(),E=g.useRef();g.useEffect((function(){var e,t=function(){v(U.Default),_(""),S.current=null},r=function(){d(""),t()},i=(e=c.default(n(f).mark((function e(){var i,o;return n(f).wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l&&!(l.lengthe.length)&&(t=e.length);for(var n=0,r=new Array(t);nt}return!1}function L(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var P={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){P[e]=new L(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];P[t]=new L(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){P[e]=new L(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){P[e]=new L(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){P[e]=new L(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){P[e]=new L(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){P[e]=new L(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){P[e]=new L(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){P[e]=new L(e,5,!1,e.toLowerCase(),null,!1,!1)}));var O=/[\-:]([a-z])/g;function A(e){return e[1].toUpperCase()}function M(e,t,n,r){var i=P.hasOwnProperty(t)?P[t]:null;(null!==i?0!==i.type:r||!(2--l||i[a]!==o[l]){var u="\n"+i[a].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}}while(1<=a&&0<=l);break}}}finally{ee=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?X(e):""}function ne(e){switch(e.tag){case 5:return X(e.type);case 16:return X("Lazy");case 13:return X("Suspense");case 19:return X("SuspenseList");case 0:case 2:case 15:return e=te(e.type,!1);case 11:return e=te(e.type.render,!1);case 1:return e=te(e.type,!0);default:return""}}function re(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 z:return"Fragment";case D:return"Portal";case B:return"Profiler";case U:return"StrictMode";case V:return"Suspense";case q:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case H:return(e.displayName||"Context")+".Consumer";case j:return(e._context.displayName||"Context")+".Provider";case W:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case $:return null!==(t=e.displayName||null)?t:re(e.type)||"Memo";case Q:t=e._payload,e=e._init;try{return re(e(t))}catch(e){}}return null}function ie(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 re(t);case 8:return t===U?"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 oe(e){switch(void 0===e?"undefined":y.default(e)){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ae(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function le(e){e._valueTracker||(e._valueTracker=function(e){var t=ae(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 i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.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 ue(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ae(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function se(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 ce(e,t){var n=t.checked;return J({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function fe(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=oe(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 de(e,t){null!=(t=t.checked)&&M(e,"checked",t,!1)}function he(e,t){de(e,t);var n=oe(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")?ge(e,t.type,n):t.hasOwnProperty("defaultValue")&&ge(e,t.type,oe(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function pe(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 ge(e,t,n){"number"===t&&se(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ye=Array.isArray;function ve(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Ee.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return Ce(e,t)}))}:Ce);function Re(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 Te={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},Ne=["Webkit","ms","Moz","O"];function Le(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Te.hasOwnProperty(e)&&Te[e]?(""+t).trim():t+"px"}function Pe(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=Le(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(Te).forEach((function(e){Ne.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Te[t]=Te[e]}))}));var Oe=J({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 Ae(e,t){if(t){if(Oe[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(b(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(b(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(b(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(b(62))}}function Me(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 Ie=null;function Fe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var De=null,ze=null,Ue=null;function Be(e){if(e=Ti(e)){if("function"!=typeof De)throw Error(b(280));var t=e.stateNode;t&&(t=Li(t),De(e.stateNode,e.type,t))}}function je(e){ze?Ue?Ue.push(e):Ue=[e]:ze=e}function He(){if(ze){var e=ze,t=Ue;if(Ue=ze=null,Be(e),t)for(e=0;e>>=0)?32:31-(St(e)/kt|0)|0},St=Math.log,kt=Math.LN2;var Et=64,Ct=4194304;function xt(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 Rt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(0!==a){var l=a&~i;0!==l?r=xt(l):0!==(o&=a)&&(r=xt(o))}else 0!==(a=n&~i)?r=xt(a):0!==o&&(r=xt(o));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&i)&&((i=r&-r)>=(o=t&-t)||16===i&&0!=(4194240&o)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Pt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-_t(t)]=n}function Ot(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-_t(n),i=1<=qn),Gn=String.fromCharCode(32),Yn=!1;function Kn(e,t){switch(e){case"keyup":return-1!==Wn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Zn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Jn=!1;var Xn={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 er(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Xn[e.type]:"textarea"===t}function tr(e,t,n,r){je(r),0<(t=ni(t,"onChange")).length&&(n=new kn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var nr=null,rr=null;function ir(e){Gr(e,0)}function or(e){if(ue(Ni(e)))return e}function ar(e,t){if("change"===e)return t}var lr=!1;if(E){var ur;if(E){var sr="oninput"in document;if(!sr){var cr=document.createElement("div");cr.setAttribute("oninput","return;"),sr="function"==typeof cr.oninput}ur=sr}else ur=!1;lr=ur&&(!document.documentMode||9=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=br(r)}}function _r(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?_r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Sr(){for(var e=window,t=se();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=se((e=t.contentWindow).document)}return t}function kr(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 Er(e){var t=Sr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&_r(n.ownerDocument.documentElement,n)){if(null!==r&&kr(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 i=n.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=wr(n,o);var a=wr(n,r);i&&a&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n=document.documentMode,xr=null,Rr=null,Tr=null,Nr=!1;function Lr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Nr||null==xr||xr!==se(r)||("selectionStart"in(r=xr)&&kr(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},Tr&&mr(Tr,r)||(Tr=r,0<(r=ni(Rr,"onSelect")).length&&(t=new kn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=xr)))}function Pr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Or={animationend:Pr("Animation","AnimationEnd"),animationiteration:Pr("Animation","AnimationIteration"),animationstart:Pr("Animation","AnimationStart"),transitionend:Pr("Transition","TransitionEnd")},Ar={},Mr={};function Ir(e){if(Ar[e])return Ar[e];if(!Or[e])return e;var t,n=Or[e];for(t in n)if(n.hasOwnProperty(t)&&t in Mr)return Ar[e]=n[t];return e}E&&(Mr=document.createElement("div").style,"AnimationEvent"in window||(delete Or.animationend.animation,delete Or.animationiteration.animation,delete Or.animationstart.animation),"TransitionEvent"in window||delete Or.transitionend.transition);var Fr=Ir("animationend"),Dr=Ir("animationiteration"),zr=Ir("animationstart"),Ur=Ir("transitionend"),Br=new Map,jr="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 Hr(e,t){Br.set(e,t),S(t,[e])}for(var Wr=0;WrOi||(e.current=Pi[Oi],Pi[Oi]=null,Oi--)}function Ii(e,t){Oi++,Pi[Oi]=e.current,e.current=t}var Fi={},Di=Ai(Fi),zi=Ai(!1),Ui=Fi;function Bi(e,t){var n=e.type.contextTypes;if(!n)return Fi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ji(e){return null!=(e=e.childContextTypes)}function Hi(){Mi(zi),Mi(Di)}function Wi(e,t,n){if(Di.current!==Fi)throw Error(b(168));Ii(Di,t),Ii(zi,n)}function Vi(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(b(108,ie(e)||"Unknown",i));return J({},n,r)}function qi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Fi,Ui=Di.current,Ii(Di,e),Ii(zi,zi.current),!0}function $i(e,t,n){var r=e.stateNode;if(!r)throw Error(b(169));n?(e=Vi(e,t,Ui),r.__reactInternalMemoizedMergedChildContext=e,Mi(zi),Mi(Di),Ii(Di,e)):Mi(zi),Ii(zi,n)}var Qi=null,Gi=!1,Yi=!1;function Ki(e){null===Qi?Qi=[e]:Qi.push(e)}function Zi(){if(!Yi&&null!==Qi){Yi=!0;var e=0,t=At;try{var n=Qi;for(At=1;e>=a,i-=a,Mo=1<<32-_t(t)+i|n<d?(y=f,f=null):y=f.sibling;var v=p(i,f,l[d],u);if(null===v){null===f&&(f=y);break}e&&f&&null===v.alternate&&t(i,f),a=o(v,a,d),null===c?s=v:c.sibling=v,c=v,f=y}if(d===l.length)return n(i,f),Ho&&Fo(i,d),s;if(null===f){for(;dd?(y=f,f=null):y=f.sibling;var m=p(i,f,v.value,u);if(null===m){null===f&&(f=y);break}e&&f&&null===m.alternate&&t(i,f),a=o(m,a,d),null===c?s=m:c.sibling=m,c=m,f=y}if(v.done)return n(i,f),Ho&&Fo(i,d),s;if(null===f){for(;!v.done;d++,v=l.next())null!==(v=h(i,v.value,u))&&(a=o(v,a,d),null===c?s=v:c.sibling=v,c=v);return Ho&&Fo(i,d),s}for(f=r(i,f);!v.done;d++,v=l.next())null!==(v=g(f,i,d,v.value,u))&&(e&&null!==v.alternate&&f.delete(null===v.key?d:v.key),a=o(v,a,d),null===c?s=v:c.sibling=v,c=v);return e&&f.forEach((function(e){return t(i,e)})),Ho&&Fo(i,d),s};function h(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=zs(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case F:return(n=Is(t.type,t.key,t.props,null,e.mode,n)).ref=Jo(e,null,t),n.return=e,n;case D:return(t=Us(t,e.mode,n)).return=e,t;case Q:return h(e,(0,t._init)(t._payload),n)}if(ye(t)||K(t))return(t=Fs(t,e.mode,n,null)).return=e,t;Xo(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case F:return n.key===i?u(e,t,n,r):null;case D:return n.key===i?s(e,t,n,r):null;case Q:return p(e,t,(i=n._init)(n._payload),r)}if(ye(n)||K(n))return null!==i?null:c(e,t,n,r,null);Xo(e,n)}return null}function g(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return e=e.get(n)||null,l(t,e,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case F:return e=e.get(null===r.key?n:r.key)||null,u(t,e,r,i);case D:return e=e.get(null===r.key?n:r.key)||null,s(t,e,r,i);case Q:return g(e,t,n,(0,r._init)(r._payload),i)}if(ye(r)||K(r))return e=e.get(n)||null,c(t,e,r,i,null);Xo(t,r)}return null}return function e(r,o,l,u){if("object"==typeof l&&null!==l&&l.type===z&&null===l.key&&(l=l.props.children),"object"==typeof l&&null!==l){switch(l.$$typeof){case F:e:{for(var s=l.key,c=o;null!==c;){if(c.key===s){if((s=l.type)===z){if(7===c.tag){n(r,c.sibling),(o=i(c,l.props.children)).return=r,r=o;break e}}else if(c.elementType===s||"object"==typeof s&&null!==s&&s.$$typeof===Q&&ea(s)===c.type){n(r,c.sibling),(o=i(c,l.props)).ref=Jo(r,c,l),o.return=r,r=o;break e}n(r,c);break}t(r,c),c=c.sibling}l.type===z?((o=Fs(l.props.children,r.mode,u,l.key)).return=r,r=o):((u=Is(l.type,l.key,l.props,null,r.mode,u)).ref=Jo(r,o,l),u.return=r,r=u)}return a(r);case D:e:{for(c=l.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===l.containerInfo&&o.stateNode.implementation===l.implementation){n(r,o.sibling),(o=i(o,l.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Us(l,r.mode,u)).return=r,r=o}return a(r);case Q:return e(r,o,(c=l._init)(l._payload),u)}if(ye(l))return f(r,o,l,u);if(K(l))return d(r,o,l,u);Xo(r,l)}return"string"==typeof l&&""!==l||"number"==typeof l?(l=""+l,null!==o&&6===o.tag?(n(r,o.sibling),(o=i(o,l)).return=r,r=o):(n(r,o),(o=zs(l,r.mode,u)).return=r,r=o),a(r)):n(r,o)}}var na=ta(!0),ra=ta(!1),ia={},oa=Ai(ia),aa=Ai(ia),la=Ai(ia);function ua(e){if(e===ia)throw Error(b(174));return e}function sa(e,t){switch(Ii(la,t),Ii(aa,e),Ii(oa,ia),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ke(null,"");break;default:t=ke(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Mi(oa),Ii(oa,t)}function ca(){Mi(oa),Mi(aa),Mi(la)}function fa(e){ua(la.current);var t=ua(oa.current),n=ke(t,e.type);t!==n&&(Ii(aa,e),Ii(oa,n))}function da(e){aa.current===e&&(Mi(oa),Mi(aa))}var ha=Ai(0);function pa(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ga=[];function ya(){for(var e=0;en?n:4,e(!0);var r=ma.transition;ma.transition={};try{e(!1),t()}finally{At=n,ma.transition=r}}function rl(){return Oa().memoizedState}function il(e,t,n){var r=ts(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},al(e)?ll(t,n):(ul(e,t,n),null!==(e=ns(e,r,n=es()))&&sl(e,t,r))}function ol(e,t,n){var r=ts(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(al(e))ll(t,i);else{ul(e,t,i);var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=o(a,n);if(i.hasEagerState=!0,i.eagerState=l,vr(l,a))return}catch(e){}null!==(e=ns(e,r,n=es()))&&sl(e,t,r)}}function al(e){var t=e.alternate;return e===wa||null!==t&&t===wa}function ll(e,t){Ea=ka=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ul(e,t,n){null!==Lu&&0!=(1&e.mode)&&0==(2&Nu)?(null===(e=t.interleaved)?(n.next=n,null===so?so=[t]:so.push(t)):(n.next=e.next,e.next=n),t.interleaved=n):(null===(e=t.pending)?n.next=n:(n.next=e.next,e.next=n),t.pending=n)}function sl(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Ot(e,n)}}var cl={readContext:uo,useCallback:Ra,useContext:Ra,useEffect:Ra,useImperativeHandle:Ra,useInsertionEffect:Ra,useLayoutEffect:Ra,useMemo:Ra,useReducer:Ra,useRef:Ra,useState:Ra,useDebugValue:Ra,useDeferredValue:Ra,useTransition:Ra,useMutableSource:Ra,useSyncExternalStore:Ra,useId:Ra,unstable_isNewReconciler:!1},fl={readContext:uo,useCallback:function(e,t){return Pa().memoizedState=[e,void 0===t?null:t],e},useContext:uo,useEffect:Qa,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,qa(4194308,4,Za.bind(null,t,e),n)},useLayoutEffect:function(e,t){return qa(4194308,4,e,t)},useInsertionEffect:function(e,t){return qa(4,2,e,t)},useMemo:function(e,t){var n=Pa();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Pa();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=il.bind(null,wa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Pa().memoizedState=e},useState:Ha,useDebugValue:Xa,useDeferredValue:function(e){var t=Ha(e),n=t[0],r=t[1];return Qa((function(){var t=ma.transition;ma.transition={};try{r(e)}finally{ma.transition=t}}),[e]),n},useTransition:function(){var e=Ha(!1),t=e[0];return e=nl.bind(null,e[1]),Pa().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=wa,i=Pa();if(Ho){if(void 0===n)throw Error(b(407));n=n()}else{if(n=t(),null===Lu)throw Error(b(349));0!=(30&ba)||za(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Qa(Ba.bind(null,r,o,e),[e]),r.flags|=2048,Wa(9,Ua.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Pa(),t=Lu.identifierPrefix;if(Ho){var n=Io;t=":"+t+"R"+(n=(Mo&~(1<<32-_t(Mo)-1)).toString(32)+n),0<(n=Ca++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=xa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},dl={readContext:uo,useCallback:el,useContext:uo,useEffect:Ga,useImperativeHandle:Ja,useInsertionEffect:Ya,useLayoutEffect:Ka,useMemo:tl,useReducer:Ma,useRef:Va,useState:function(){return Ma(Aa)},useDebugValue:Xa,useDeferredValue:function(e){var t=Ma(Aa),n=t[0],r=t[1];return Ga((function(){var t=ma.transition;ma.transition={};try{r(e)}finally{ma.transition=t}}),[e]),n},useTransition:function(){return[Ma(Aa)[0],Oa().memoizedState]},useMutableSource:Fa,useSyncExternalStore:Da,useId:rl,unstable_isNewReconciler:!1},hl={readContext:uo,useCallback:el,useContext:uo,useEffect:Ga,useImperativeHandle:Ja,useInsertionEffect:Ya,useLayoutEffect:Ka,useMemo:tl,useReducer:Ia,useRef:Va,useState:function(){return Ia(Aa)},useDebugValue:Xa,useDeferredValue:function(e){var t=Ia(Aa),n=t[0],r=t[1];return Ga((function(){var t=ma.transition;ma.transition={};try{r(e)}finally{ma.transition=t}}),[e]),n},useTransition:function(){return[Ia(Aa)[0],Oa().memoizedState]},useMutableSource:Fa,useSyncExternalStore:Da,useId:rl,unstable_isNewReconciler:!1};function pl(e,t){try{var n="",r=t;do{n+=ne(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i}}function gl(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var yl,vl,ml,bl="function"==typeof WeakMap?WeakMap:Map;function wl(e,t,n){(n=po(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Vu||(Vu=!0,qu=r),gl(0,t)},n}function _l(e,t,n){(n=po(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){gl(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){gl(0,t),"function"!=typeof r&&(null===$u?$u=new Set([this]):$u.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function Sl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new bl;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=xs.bind(null,e,t,n),t.then(e,e))}function kl(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 El(e,t,n,r,i){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=po(-1,1)).tag=2,go(n,t))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}function Cl(e,t){if(!Ho)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 xl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Rl(e,t,n){var r=t.pendingProps;switch(Uo(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return xl(t),null;case 1:case 17:return ji(t.type)&&Hi(),xl(t),null;case 3:return r=t.stateNode,ca(),Mi(zi),Mi(Di),ya(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Yo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==Wo&&(ls(Wo),Wo=null))),xl(t),null;case 5:da(t);var i=ua(la.current);if(n=t.type,null!==e&&null!=t.stateNode)vl(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(b(166));return xl(t),null}if(e=ua(oa.current),Yo(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[_i]=t,r[Si]=o,e=0!=(1&t.mode),n){case"dialog":Yr("cancel",r),Yr("close",r);break;case"iframe":case"object":case"embed":Yr("load",r);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),"select"===n&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[_i]=t,e[Si]=r,yl(e,t),t.stateNode=e;e:{switch(a=Me(n,r),n){case"dialog":Yr("cancel",e),Yr("close",e),i=r;break;case"iframe":case"object":case"embed":Yr("load",e),i=r;break;case"video":case"audio":for(i=0;iWu&&(t.flags|=128,r=!0,Cl(o,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=pa(a))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Cl(o,!0),null===o.tail&&"hidden"===o.tailMode&&!a.alternate&&!Ho)return xl(t),null}else 2*dt()-o.renderingStartTime>Wu&&1073741824!==n&&(t.flags|=128,r=!0,Cl(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(null!==(n=o.last)?n.sibling=a:t.child=a,o.last=a)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=dt(),t.sibling=null,n=ha.current,Ii(ha,r?1&n|2:1&n),t):(xl(t),null);case 22:case 23:return ds(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Au)&&(xl(t),6&t.subtreeFlags&&(t.flags|=8192)):xl(t),null;case 24:case 25:return null}throw Error(b(156,t.tag))}yl=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}},vl=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,ua(oa.current);var o,a=null;switch(n){case"input":i=ce(e,i),r=ce(e,r),a=[];break;case"select":i=J({},i,{value:void 0}),r=J({},r,{value:void 0}),a=[];break;case"textarea":i=me(e,i),r=me(e,r),a=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=si)}for(s in Ae(n,r),n=null,i)if(!r.hasOwnProperty(s)&&i.hasOwnProperty(s)&&null!=i[s])if("style"===s){var l=i[s];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(_.hasOwnProperty(s)?a||(a=[]):(a=a||[]).push(s,null));for(s in r){var u=r[s];if(l=null!=i?i[s]:void 0,r.hasOwnProperty(s)&&u!==l&&(null!=u||null!=l))if("style"===s)if(l){for(o in l)!l.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in u)u.hasOwnProperty(o)&&l[o]!==u[o]&&(n||(n={}),n[o]=u[o])}else n||(a||(a=[]),a.push(s,n)),n=u;else"dangerouslySetInnerHTML"===s?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(a=a||[]).push(s,u)):"children"===s?"string"!=typeof u&&"number"!=typeof u||(a=a||[]).push(s,""+u):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(_.hasOwnProperty(s)?(null!=u&&"onScroll"===s&&Yr("scroll",e),a||l===u||(a=[])):(a=a||[]).push(s,u))}n&&(a=a||[]).push("style",n);var s=a;(t.updateQueue=s)&&(t.flags|=4)}},ml=function(e,t,n,r){n!==r&&(t.flags|=4)};var Tl=I.ReactCurrentOwner,Nl=!1;function Ll(e,t,n,r){t.child=null===e?ra(t,null,n,r):na(t,e.child,n,r)}function Pl(e,t,n,r,i){n=n.render;var o=t.ref;return lo(t,i),r=Na(e,t,n,r,o,i),n=La(),null===e||Nl?(Ho&&n&&zo(t),t.flags|=1,Ll(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Zl(e,t,i))}function Ol(e,t,n,r,i){if(null===e){var o=n.type;return"function"!=typeof o||As(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Is(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Al(e,t,o,r,i))}if(o=e.child,0==(e.lanes&i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:mr)(a,r)&&e.ref===t.ref)return Zl(e,t,i)}return t.flags|=1,(e=Ms(o,r)).ref=t.ref,e.return=t,t.child=e}function Al(e,t,n,r,i){if(null!==e&&mr(e.memoizedProps,r)&&e.ref===t.ref){if(Nl=!1,0==(e.lanes&i))return t.lanes=e.lanes,Zl(e,t,i);0!=(131072&e.flags)&&(Nl=!0)}return Fl(e,t,n,r,i)}function Ml(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null},Ii(Mu,Au),Au|=n;else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null},t.updateQueue=null,Ii(Mu,Au),Au|=e,null;t.memoizedState={baseLanes:0,cachePool:null},r=null!==o?o.baseLanes:n,Ii(Mu,Au),Au|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Ii(Mu,Au),Au|=r;return Ll(e,t,i,n),t.child}function Il(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Fl(e,t,n,r,i){var o=ji(n)?Ui:Di.current;return o=Bi(t,o),lo(t,i),n=Na(e,t,n,r,o,i),r=La(),null===e||Nl?(Ho&&r&&zo(t),t.flags|=1,Ll(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Zl(e,t,i))}function Dl(e,t,n,r,i){if(ji(n)){var o=!0;qi(t)}else o=!1;if(lo(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),Eo(t,n,r),xo(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var u=a.context,s=n.contextType;"object"==typeof s&&null!==s?s=uo(s):s=Bi(t,s=ji(n)?Ui:Di.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||u!==s)&&Co(t,a,r,s),co=!1;var d=t.memoizedState;a.state=d,mo(t,r,a,i),u=t.memoizedState,l!==r||d!==u||zi.current||co?("function"==typeof c&&(_o(t,n,c,r),u=t.memoizedState),(l=co||ko(t,n,l,r,d,u,s))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=s,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,ho(e,t),l=t.memoizedProps,s=t.type===t.elementType?l:Xi(t.type,l),a.props=s,f=t.pendingProps,d=a.context,"object"==typeof(u=n.contextType)&&null!==u?u=uo(u):u=Bi(t,u=ji(n)?Ui:Di.current);var h=n.getDerivedStateFromProps;(c="function"==typeof h||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==f||d!==u)&&Co(t,a,r,u),co=!1,d=t.memoizedState,a.state=d,mo(t,r,a,i);var p=t.memoizedState;l!==f||d!==p||zi.current||co?("function"==typeof h&&(_o(t,n,h,r),p=t.memoizedState),(s=co||ko(t,n,s,r,d,p,u)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,u),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,u)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=u,r=s):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return zl(e,t,n,r,o,i)}function zl(e,t,n,r,i,o){Il(e,t);var a=0!=(128&t.flags);if(!r&&!a)return i&&$i(t,n,!1),Zl(e,t,o);r=t.stateNode,Tl.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=na(t,e.child,null,o),t.child=na(t,null,l,o)):Ll(e,t,l,o),t.memoizedState=r.state,i&&$i(t,n,!0),t.child}function Ul(e){var t=e.stateNode;t.pendingContext?Wi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Wi(0,t.context,!1),sa(e,t.containerInfo)}function Bl(e,t,n,r,i){return Ko(),Zo(i),t.flags|=256,Ll(e,t,n,r),t.child}var jl={dehydrated:null,treeContext:null,retryLane:0};function Hl(e){return{baseLanes:e,cachePool:null}}function Wl(e,t,n){var r,i=t.pendingProps,o=ha.current,a=!1,l=0!=(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(a=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(o|=1),Ii(ha,1&o),null===e)return Qo(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(o=i.children,e=i.fallback,a?(i=t.mode,a=t.child,o={mode:"hidden",children:o},0==(1&i)&&null!==a?(a.childLanes=0,a.pendingProps=o):a=Ds(o,i,0,null),e=Fs(e,i,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Hl(n),t.memoizedState=jl,e):Vl(t,o));if(null!==(o=e.memoizedState)){if(null!==(r=o.dehydrated)){if(l)return 256&t.flags?(t.flags&=-257,Ql(e,t,n,Error(b(422)))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=i.fallback,o=t.mode,i=Ds({mode:"visible",children:i.children},o,0,null),(a=Fs(a,o,n,null)).flags|=2,i.return=t,a.return=t,i.sibling=a,t.child=i,0!=(1&t.mode)&&na(t,e.child,null,n),t.child.memoizedState=Hl(n),t.memoizedState=jl,a);if(0==(1&t.mode))t=Ql(e,t,n,null);else if("$!"===r.data)t=Ql(e,t,n,Error(b(419)));else if(i=0!=(n&e.childLanes),Nl||i){if(null!==(i=Lu)){switch(n&-n){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!==(i=0!=(a&(i.suspendedLanes|n))?0:a)&&i!==o.retryLane&&(o.retryLane=i,ns(e,i,-1))}ys(),t=Ql(e,t,n,Error(b(421)))}else"$?"===r.data?(t.flags|=128,t.child=e.child,t=Ts.bind(null,e),r._reactRetry=t,t=null):(n=o.treeContext,jo=mi(r.nextSibling),Bo=t,Ho=!0,Wo=null,null!==n&&(Po[Oo++]=Mo,Po[Oo++]=Io,Po[Oo++]=Ao,Mo=n.id,Io=n.overflow,Ao=t),(t=Vl(t,t.pendingProps.children)).flags|=4096);return t}return a?(i=$l(e,t,i.children,i.fallback,n),a=t.child,o=e.child.memoizedState,a.memoizedState=null===o?Hl(n):{baseLanes:o.baseLanes|n,cachePool:null},a.childLanes=e.childLanes&~n,t.memoizedState=jl,i):(n=ql(e,t,i.children,n),t.memoizedState=null,n)}return a?(i=$l(e,t,i.children,i.fallback,n),a=t.child,o=e.child.memoizedState,a.memoizedState=null===o?Hl(n):{baseLanes:o.baseLanes|n,cachePool:null},a.childLanes=e.childLanes&~n,t.memoizedState=jl,i):(n=ql(e,t,i.children,n),t.memoizedState=null,n)}function Vl(e,t){return(t=Ds({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function ql(e,t,n,r){var i=e.child;return e=i.sibling,n=Ms(i,{mode:"visible",children:n}),0==(1&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n}function $l(e,t,n,r,i){var o=t.mode,a=(e=e.child).sibling,l={mode:"hidden",children:n};return 0==(1&o)&&t.child!==e?((n=t.child).childLanes=0,n.pendingProps=l,t.deletions=null):(n=Ms(e,l)).subtreeFlags=14680064&e.subtreeFlags,null!==a?r=Ms(a,r):(r=Fs(r,o,i,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function Ql(e,t,n,r){return null!==r&&Zo(r),na(t,e.child,null,n),(e=Vl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Gl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),ao(e.return,t,n)}function Yl(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Kl(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Ll(e,t,r.children,n),0!=(2&(r=ha.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Gl(e,n,t);else if(19===e.tag)Gl(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(Ii(ha,r),0==(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===pa(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Yl(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===pa(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Yl(t,!0,n,null,o);break;case"together":Yl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Zl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Du|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(b(153));if(null!==t.child){for(n=Ms(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ms(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Jl(e,t){switch(Uo(t),t.tag){case 1:return ji(t.type)&&Hi(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ca(),Mi(zi),Mi(Di),ya(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return da(t),null;case 13:if(Mi(ha),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(b(340));Ko()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Mi(ha),null;case 4:return ca(),null;case 10:return oo(t.type._context),null;case 22:case 23:return ds(),null;default:return null}}var Xl=!1,eu=!1,tu="function"==typeof WeakSet?WeakSet:Set,nu=null;function ru(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Cs(e,t,n)}else n.current=null}function iu(e,t,n){try{n()}catch(n){Cs(e,t,n)}}var ou=!1;function au(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&iu(t,n,o)}i=i.next}while(i!==r)}}function lu(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 uu(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 su(e,t,n){if(wt&&"function"==typeof wt.onCommitFiberUnmount)try{wt.onCommitFiberUnmount(bt,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e=e.next;do{var i=r,o=i.destroy;i=i.tag,void 0!==o&&(0!=(2&i)||0!=(4&i))&&iu(t,n,o),r=r.next}while(r!==e)}break;case 1:if(ru(t,n),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Cs(t,n,e)}break;case 5:ru(t,n);break;case 4:yu(e,t,n)}}function cu(e){var t=e.alternate;null!==t&&(e.alternate=null,cu(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[_i],delete t[Si],delete t[Ei],delete t[Ci],delete t[xi])),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 fu(e){return 5===e.tag||3===e.tag||4===e.tag}function du(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||fu(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 hu(e){e:{for(var t=e.return;null!==t;){if(fu(t))break e;t=t.return}throw Error(b(160))}var n=t;switch(n.tag){case 5:t=n.stateNode,32&n.flags&&(Re(t,""),n.flags&=-33),gu(e,n=du(e),t);break;case 3:case 4:t=n.stateNode.containerInfo,pu(e,n=du(e),t);break;default:throw Error(b(161))}}function pu(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=si));else if(4!==r&&null!==(e=e.child))for(pu(e,t,n),e=e.sibling;null!==e;)pu(e,t,n),e=e.sibling}function gu(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(gu(e,t,n),e=e.sibling;null!==e;)gu(e,t,n),e=e.sibling}function yu(e,t,n){for(var r,i,o=t,a=!1;;){if(!a){a=o.return;e:for(;;){if(null===a)throw Error(b(160));switch(r=a.stateNode,a.tag){case 5:i=!1;break e;case 3:case 4:r=r.containerInfo,i=!0;break e}a=a.return}a=!0}if(5===o.tag||6===o.tag){e:for(var l=e,u=o,s=n,c=u;;)if(su(l,c,s),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===u)break e;for(;null===c.sibling;){if(null===c.return||c.return===u)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}i?(l=r,u=o.stateNode,8===l.nodeType?l.parentNode.removeChild(u):l.removeChild(u)):r.removeChild(o.stateNode)}else if(18===o.tag)i?(l=r,u=o.stateNode,8===l.nodeType?vi(l.parentNode,u):1===l.nodeType&&vi(l,u),nn(l)):vi(r,o.stateNode);else if(4===o.tag){if(null!==o.child){r=o.stateNode.containerInfo,i=!0,o.child.return=o,o=o.child;continue}}else if(su(e,o,n),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(a=!1)}o.sibling.return=o.return,o=o.sibling}}function vu(e,t){switch(t.tag){case 0:case 11:case 14:case 15:return au(3,t,t.return),lu(3,t),void au(5,t,t.return);case 1:case 12:case 17:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,i=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for("input"===e&&"radio"===r.type&&null!=r.name&&de(n,r),Me(e,i),t=Me(e,r),i=0;ii&&(i=a),r&=~o}if(r=i,10<(r=(120>(r=dt()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cu(r/1960))-r)){e.timeoutHandle=di(Ss.bind(null,e,ju),r);break}Ss(e,ju);break;default:throw Error(b(329))}}}return is(e,dt()),e.callbackNode===n?os.bind(null,e):null}function as(e,t){var n=Bu;return e.current.memoizedState.isDehydrated&&(hs(e,t).flags|=256),2!==(e=vs(e,t))&&(t=ju,ju=n,null!==t&&ls(t)),e}function ls(e){null===ju?ju=e:ju.push.apply(ju,e)}function us(e,t){for(t&=~Uu,t&=~zu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0e?16:e,null===Gu)var r=!1;else{if(e=Gu,Gu=null,Yu=0,0!=(6&Nu))throw Error(b(331));var i=Nu;for(Nu|=4,nu=e.current;null!==nu;){var o=nu,a=o.child;if(0!=(16&nu.flags)){var l=o.deletions;if(null!==l){for(var u=0;udt()-Hu?hs(e,0):Uu|=n),is(e,t)}function Rs(e,t){0===t&&(0==(1&e.mode)?t=1:(t=Ct,0==(130023424&(Ct<<=1))&&(Ct=4194304)));var n=es();null!==(e=rs(e,t))&&(Pt(e,t,n),is(e,n))}function Ts(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Rs(e,n)}function Ns(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(b(314))}null!==r&&r.delete(t),Rs(e,n)}function Ls(e,t){return ut(e,t)}function Ps(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 Os(e,t,n,r){return new Ps(e,t,n,r)}function As(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ms(e,t){var n=e.alternate;return null===n?((n=Os(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 Is(e,t,n,r,i,o){var a=2;if(r=e,"function"==typeof e)As(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case z:return Fs(n.children,i,o,t);case U:a=8,i|=8;break;case B:return(e=Os(12,n,t,2|i)).elementType=B,e.lanes=o,e;case V:return(e=Os(13,n,t,i)).elementType=V,e.lanes=o,e;case q:return(e=Os(19,n,t,i)).elementType=q,e.lanes=o,e;case G:return Ds(n,i,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case j:a=10;break e;case H:a=9;break e;case W:a=11;break e;case $:a=14;break e;case Q:a=16,r=null;break e}throw Error(b(130,null==e?e:void 0===e?"undefined":y.default(e),""))}return(t=Os(a,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function Fs(e,t,n,r){return(e=Os(7,e,r,t)).lanes=n,e}function Ds(e,t,n,r){return(e=Os(22,e,r,t)).elementType=G,e.lanes=n,e.stateNode={},e}function zs(e,t,n){return(e=Os(6,e,null,t)).lanes=n,e}function Us(e,t,n){return(t=Os(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bs(e,t,n,r,i){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=Lt(0),this.expirationTimes=Lt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Lt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function js(e,t,n,r,i,o,a,l,u){return e=new Bs(e,t,n,l,u),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Os(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null},fo(o),e}function Hs(e,t,n){var r=3>>1,i=e[r];if(!(0>>1;rC(l,n))uC(s,l)?(e[r]=s,e[u]=n,r=u):(e[r]=l,e[a]=n,r=a);else{if(!(uC(s,n)))break e;e[r]=s,e[u]=n,r=u}}}return t}function C(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(e(t.exports,"unstable_now",(function(){return r}),(function(e){return r=e})),e(t.exports,"unstable_IdlePriority",(function(){return i}),(function(e){return i=e})),e(t.exports,"unstable_ImmediatePriority",(function(){return o}),(function(e){return o=e})),e(t.exports,"unstable_LowPriority",(function(){return a}),(function(e){return a=e})),e(t.exports,"unstable_NormalPriority",(function(){return l}),(function(e){return l=e})),e(t.exports,"unstable_Profiling",(function(){return u}),(function(e){return u=e})),e(t.exports,"unstable_UserBlockingPriority",(function(){return s}),(function(e){return s=e})),e(t.exports,"unstable_cancelCallback",(function(){return c}),(function(e){return c=e})),e(t.exports,"unstable_continueExecution",(function(){return f}),(function(e){return f=e})),e(t.exports,"unstable_forceFrameRate",(function(){return d}),(function(e){return d=e})),e(t.exports,"unstable_getCurrentPriorityLevel",(function(){return h}),(function(e){return h=e})),e(t.exports,"unstable_getFirstCallbackNode",(function(){return p}),(function(e){return p=e})),e(t.exports,"unstable_next",(function(){return g}),(function(e){return g=e})),e(t.exports,"unstable_pauseExecution",(function(){return y}),(function(e){return y=e})),e(t.exports,"unstable_requestPaint",(function(){return v}),(function(e){return v=e})),e(t.exports,"unstable_runWithPriority",(function(){return m}),(function(e){return m=e})),e(t.exports,"unstable_scheduleCallback",(function(){return b}),(function(e){return b=e})),e(t.exports,"unstable_shouldYield",(function(){return w}),(function(e){return w=e})),e(t.exports,"unstable_wrapCallback",(function(){return _}),(function(e){return _=e})),"object"==typeof performance&&"function"==typeof performance.now){var x=performance;r=function(){return x.now()}}else{var R=Date,T=R.now();r=function(){return R.now()-T}}var N=[],L=[],P=1,O=null,A=3,M=!1,I=!1,F=!1,D="function"==typeof setTimeout?setTimeout:null,z="function"==typeof clearTimeout?clearTimeout:null,U="undefined"!=typeof setImmediate?setImmediate:null;function B(e){for(var t=k(L);null!==t;){if(null===t.callback)E(L);else{if(!(t.startTime<=e))break;E(L),t.sortIndex=t.expirationTime,S(N,t)}t=k(L)}}function j(e){if(F=!1,B(e),!I)if(null!==k(N))I=!0,X(H);else{var t=k(L);null!==t&&ee(j,t.startTime-e)}}function H(e,t){I=!1,F&&(F=!1,z($),$=-1),M=!0;var n=A;try{for(B(t),O=k(N);null!==O&&(!(O.expirationTime>t)||e&&!Y());){var i=O.callback;if("function"==typeof i){O.callback=null,A=O.priorityLevel;var o=i(O.expirationTime<=t);t=r(),"function"==typeof o?O.callback=o:O===k(N)&&E(N),B(t)}else E(N);O=k(N)}if(null!==O)var a=!0;else{var l=k(L);null!==l&&ee(j,l.startTime-t),a=!1}return a}finally{O=null,A=n,M=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var W,V=!1,q=null,$=-1,Q=5,G=-1;function Y(){return!(r()-Ge||125i?(e.sortIndex=n,S(L,e),null===k(N)&&e===k(L)&&(F?(z($),$=-1):F=!0,ee(j,n-i))):(e.sortIndex=o,S(N,e),I||M||(I=!0,X(H))),e},w=Y,_=function(e){var t=A;return function(){var n=A;A=t;try{return e.apply(this,arguments)}finally{A=n}}}})),o.register("cJEM2",(function(e,t){var n,r=o("dBpGv");e.exports.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},e.exports.save=function(t){try{t?e.exports.storage.setItem("debug",t):e.exports.storage.removeItem("debug")}catch(e){}},e.exports.load=function(){var t;try{t=e.exports.storage.getItem("debug")}catch(e){}!t&&void 0!==r&&"env"in r&&(t=void 0);return t},e.exports.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.exports.storage=function(){try{return localStorage}catch(e){}}(),e.exports.destroy=(n=!1,function(){n||(n=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}),e.exports.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports.log=console.debug||console.log||function(){},e.exports=o("eIwz5")(e.exports),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}})),o.register("dBpGv",(function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,s=[],c=!1,f=-1;function d(){c&&u&&(c=!1,u.length?s=u.concat(s):f=-1,s.length&&h())}function h(){if(!c){var e=l(d);c=!0;for(var t=s.length;t;){for(u=s,s=[];++f1)for(var n=1;n=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,t){t=t||{};var o,f,d=void 0===e?"undefined":n.default(e);if("string"===d&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*s;case"weeks":case"week":case"w":return n*u;case"days":case"day":case"d":return n*l;case"hours":case"hour":case"hrs":case"hr":case"h":return n*a;case"minutes":case"minute":case"mins":case"min":case"m":return n*i;case"seconds":case"second":case"secs":case"sec":case"s":return n*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}(e);if("number"===d&&isFinite(e))return t.long?(o=e,(f=Math.abs(o))>=l?c(o,f,l,"day"):f>=a?c(o,f,a,"hour"):f>=i?c(o,f,i,"minute"):f>=r?c(o,f,r,"second"):o+" ms"):function(e){var t=Math.abs(e);return t>=l?Math.round(e/l)+"d":t>=a?Math.round(e/a)+"h":t>=i?Math.round(e/i)+"m":t>=r?Math.round(e/r)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}})),o.register("binBr",(function(e,t){(t=e.exports=o("7AzFe")).Stream=t,t.Readable=t,t.Writable=o("kRAJu"),t.Duplex=o("8PrGf"),t.Transform=o("72Iea"),t.PassThrough=o("hPnXi"),t.finished=o("bSCnS"),t.pipeline=o("rmlaG")})),o.register("7AzFe",(function(e,n){var r,i=o("dBpGv");e.exports=R,R.ReadableState=x;o("kalHn").EventEmitter;var a=function(e,t){return e.listeners(t).length},u=o("l31rl"),s=l,c=t.Uint8Array||function(){};var f,d=o("aG5Lj");f=d&&d.debuglog?d.debuglog("stream"):function(){};var h,p,g,y=o("k4s5x"),v=o("3mFg0"),m=o("fh9xZ").getHighWaterMark,b=o("jzrri").codes,w=b.ERR_INVALID_ARG_TYPE,_=b.ERR_STREAM_PUSH_AFTER_EOF,S=b.ERR_METHOD_NOT_IMPLEMENTED,k=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;o("fCNxt")(R,u);var E=v.errorOrDestroy,C=["error","close","destroy","pause","resume"];function x(e,t,n){r=r||o("8PrGf"),e=e||{},"boolean"!=typeof n&&(n=t instanceof r),this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=m(this,e,"readableHighWaterMark",n),this.buffer=new y,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(h||(h=o("dzTPi").StringDecoder),this.decoder=new h(e.encoding),this.encoding=e.encoding)}function R(e){if(r=r||o("8PrGf"),!(this instanceof R))return new R(e);var t=this instanceof r;this._readableState=new x(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),u.call(this)}function T(e,t,n,r,i){f("readableAddChunk",t);var o,a=e._readableState;if(null===t)a.reading=!1,function(e,t){if(f("onEofChunk"),t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?O(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,A(e)))}(e,a);else if(i||(o=function(e,t){var n;r=t,s.isBuffer(r)||r instanceof c||"string"==typeof t||void 0===t||e.objectMode||(n=new w("chunk",["string","Buffer","Uint8Array"],t));var r;return n}(a,t)),o)E(e,o);else if(a.objectMode||t&&t.length>0)if("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===s.prototype||(t=function(e){return s.from(e)}(t)),r)a.endEmitted?E(e,new k):N(e,a,t,!0);else if(a.ended)E(e,new _);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?N(e,a,t,!1):M(e,a)):N(e,a,t,!1)}else r||(a.reading=!1,M(e,a));return!a.ended&&(a.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=L?e=L:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function O(e){var t=e._readableState;f("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(f("emitReadable",t.flowing),t.emittedReadable=!0,i.nextTick(A,e))}function A(e){var t=e._readableState;f("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,U(e)}function M(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(I,e,t))}function I(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function D(e){f("readable nexttick read 0"),e.read(0)}function z(e,t){f("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),U(e),t.flowing&&!t.reading&&e.read(0)}function U(e){var t=e._readableState;for(f("flow",t.flowing);t.flowing&&null!==e.read(););}function B(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function j(e){var t=e._readableState;f("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,i.nextTick(H,t,e))}function H(e,t){if(f("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function W(e,t){for(var n=0,r=e.length;n=t.highWaterMark:t.length>0)||t.ended))return f("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?j(this):O(this),null;if(0===(e=P(e,t))&&t.ended)return 0===t.length&&j(this),null;var r,i=t.needReadable;return f("need readable",i),(0===t.length||t.length-e0?B(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&j(this)),null!==r&&this.emit("data",r),r},R.prototype._read=function(e){E(this,new S("_read()"))},R.prototype.pipe=function(e,t){var n=function(e,t){f("onunpipe"),e===d&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,o())},r=function(){f("onend"),e.end()},o=function(){f("cleanup"),e.removeListener("close",u),e.removeListener("finish",s),e.removeListener("drain",g),e.removeListener("error",v),e.removeListener("unpipe",n),d.removeListener("end",r),d.removeListener("end",c),d.removeListener("data",l),y=!0,!h.awaitDrain||e._writableState&&!e._writableState.needDrain||g()},l=function(t){f("ondata");var n=e.write(t);f("dest.write",n),!1===n&&((1===h.pipesCount&&h.pipes===e||h.pipesCount>1&&-1!==W(h.pipes,e))&&!y&&(f("false write response, pause",h.awaitDrain),h.awaitDrain++),d.pause())},u=function(){e.removeListener("finish",s),c()},s=function(){f("onfinish"),e.removeListener("close",u),c()},c=function(){f("unpipe"),d.unpipe(e)},d=this,h=this._readableState;switch(h.pipesCount){case 0:h.pipes=e;break;case 1:h.pipes=[h.pipes,e];break;default:h.pipes.push(e)}h.pipesCount+=1,f("pipe count=%d opts=%j",h.pipesCount,t);var p=(!t||!1!==t.end)&&e!==i.stdout&&e!==i.stderr?r:c;h.endEmitted?i.nextTick(p):d.once("end",p),e.on("unpipe",n);var g=function(e){return function(){var t=e._readableState;f("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,U(e))}}(d);e.on("drain",g);var y=!1;function v(t){f("onerror",t),c(),e.removeListener("error",v),0===a(e,"error")&&E(e,t)}return d.on("data",l),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",v),e.once("close",u),e.once("finish",s),e.emit("pipe",d),h.flowing||(f("pipe resume"),d.resume()),e},R.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==r.flowing&&this.resume()):"readable"===e&&(r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,f("on readable",r.length,r.reading),r.length?O(this):r.reading||i.nextTick(D,this))),n},R.prototype.addListener=R.prototype.on,R.prototype.removeListener=function(e,t){var n=u.prototype.removeListener.call(this,e,t);return"readable"===e&&i.nextTick(F,this),n},R.prototype.removeAllListeners=function(e){var t=u.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||i.nextTick(F,this),t},R.prototype.resume=function(){var e=this._readableState;return e.flowing||(f("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(z,e,t))}(this,e)),e.paused=!1,this},R.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},R.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(f("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(f("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i)||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o0&&a.length>i&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,l=u,console&&console.warn&&console.warn(l)}return e}function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=h.bind(r);return i.listener=n,r.wrapFn=i,i}function g(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(o=t[0]),o instanceof Error)throw o;var l=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw l.context=o,l}var u=i[e];if(void 0===u)return!1;if("function"==typeof u)a(u,this,t);else{var s=u.length,c=v(u,s);for(n=0;n=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},u.prototype.listeners=function(e){return g(this,e,!0)},u.prototype.rawListeners=function(e){return g(this,e,!1)},u.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):y.call(e,t)},u.prototype.listenerCount=y,u.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}})),o.register("l31rl",(function(e,t){e.exports=o("kalHn").EventEmitter}));var a={};e(a,"Buffer",(function(){return l}),(function(e){return l=e})),e(a,"SlowBuffer",(function(){return u}),(function(e){return u=e})),e(a,"INSPECT_MAX_BYTES",(function(){return s}),(function(e){return s=e})),e(a,"kMaxLength",(function(){return c}),(function(e){return c=e}));var l,u,s,c,f,d,h=o("cMx1a"),p=o("5sOlj"),g=o("8Z5m2"),y=o("b2dei"),v=o("a6l7N"),m=o("fl1MQ");f=function(e){var t,n,r=R(e),i=r[0],o=r[1],a=new k(function(e,t,n){return 3*(t+n)/4-n}(0,i,o)),l=0,u=o>0?i-4:i;for(n=0;n>16&255,a[l++]=t>>8&255,a[l++]=255&t;2===o&&(t=S[e.charCodeAt(n)]<<2|S[e.charCodeAt(n+1)]>>4,a[l++]=255&t);1===o&&(t=S[e.charCodeAt(n)]<<10|S[e.charCodeAt(n+1)]<<4|S[e.charCodeAt(n+2)]>>2,a[l++]=t>>8&255,a[l++]=255&t);return a},d=function(e){for(var t,n=e.length,r=n%3,i=[],o=16383,a=0,l=n-r;al?l:a+o));1===r?(t=e[n-1],i.push(_[t>>2]+_[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],i.push(_[t>>10]+_[t>>4&63]+_[t<<2&63]+"="));return i.join("")} -/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */;for(var b,w,_=[],S=[],k="undefined"!=typeof Uint8Array?Uint8Array:Array,E="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",C=0,x=E.length;C0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function T(e,t,n){for(var r,i,o=[],a=t;a>18&63]+_[i>>12&63]+_[i>>6&63]+_[63&i]);return o.join("")}S["-".charCodeAt(0)]=62,S["_".charCodeAt(0)]=63,b=function(e,t,n,r,i){var o,a,l=8*i-r-1,u=(1<>1,c=-7,f=n?i-1:0,d=n?-1:1,h=e[t+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=l;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-s;else{if(o===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=s}return(h?-1:1)*a*Math.pow(2,o-r)},w=function(e,t,n,r,i,o){var a,l,u,s=8*o-i-1,c=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=c?(l=0,a=c):a+f>=1?(l=(t*u-1)*Math.pow(2,i),a+=f):(l=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&l,h+=p,l/=256,i-=8);for(a=a<0;e[n+h]=255&a,h+=p,a/=256,s-=8);e[n+h-p]|=128*g};var N="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;l=P,u=function(e){+e!=e&&(e=0);return P.alloc(+e)},s=50;function L(e){if(e>2147483647)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,P.prototype),t}function P(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return M(e)}return O(e,t,n)}function O(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!P.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|z(e,t),r=L(n),i=r.write(e,t);i!==n&&(r=r.slice(0,i));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(ve(e,Uint8Array)){var t=new Uint8Array(e);return F(t.buffer,t.byteOffset,t.byteLength)}return I(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+(void 0===e?"undefined":h.default(e)));if(ve(e,ArrayBuffer)||e&&ve(e.buffer,ArrayBuffer))return F(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(ve(e,SharedArrayBuffer)||e&&ve(e.buffer,SharedArrayBuffer)))return F(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return P.from(r,t,n);var i=function(e){if(P.isBuffer(e)){var t=0|D(e.length),n=L(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||me(e.length)?L(0):I(e);if("Buffer"===e.type&&Array.isArray(e.data))return I(e.data)}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return P.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+(void 0===e?"undefined":h.default(e)))}function A(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function M(e){return A(e),L(e<0?0:0|D(e))}function I(e){for(var t=e.length<0?0:0|D(e.length),n=L(t),r=0;r=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+2147483647..toString(16)+" bytes");return 0|e}function z(e,t){if(P.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||ve(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+(void 0===e?"undefined":h.default(e)));var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return pe(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return ge(e).length;default:if(i)return r?-1:pe(e).length;t=(""+t).toLowerCase(),i=!0}}function U(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return J(this,t,n);case"utf8":case"utf-8":return Y(this,t,n);case"ascii":return K(this,t,n);case"latin1":case"binary":return Z(this,t,n);case"base64":return G(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return X(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function B(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function j(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),me(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=P.from(t,r)),P.isBuffer(t))return 0===t.length?-1:H(e,t,n,r,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):H(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function H(e,t,n,r,i){var o,a=function(e,t){return 1===l?e[t]:e.readUInt16BE(t*l)},l=1,u=e.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;l=2,u/=2,s/=2,n/=2}if(i){var c=-1;for(o=n;ou&&(n=u-s),o=n;o>=0;o--){for(var f=!0,d=0;di&&(r=i):r=i;var o,a=t.length;for(r>a/2&&(r=a/2),o=0;o>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function G(e,t,n){return 0===t&&n===e.length?d(e):d(e.slice(t,n))}function Y(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:o>223?3:o>191?2:1;if(i+l<=n){var u=void 0,s=void 0,c=void 0,f=void 0;switch(l){case 1:o<128&&(a=o);break;case 2:128==(192&(u=e[i+1]))&&(f=(31&o)<<6|63&u)>127&&(a=f);break;case 3:u=e[i+1],s=e[i+2],128==(192&u)&&128==(192&s)&&(f=(15&o)<<12|(63&u)<<6|63&s)>2047&&(f<55296||f>57343)&&(a=f);break;case 4:u=e[i+1],s=e[i+2],c=e[i+3],128==(192&u)&&128==(192&s)&&128==(192&c)&&(f=(15&o)<<18|(63&u)<<12|(63&s)<<6|63&c)>65535&&f<1114112&&(a=f)}}null===a?(a=65533,l=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),i+=l}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;rr.length?(P.isBuffer(o)||(o=P.from(o)),o.copy(r,i)):Uint8Array.prototype.set.call(r,o,i);else{if(!P.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i)}i+=o.length}return r},P.byteLength=z,P.prototype._isBuffer=!0,P.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;tt&&(e+=" ... "),""},N&&(P.prototype[N]=P.prototype.inspect),P.prototype.compare=function(e,t,n,r,i){if(ve(e,Uint8Array)&&(e=P.from(e,e.offset,e.byteLength)),!P.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+(void 0===e?"undefined":h.default(e)));if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),l=Math.min(o,a),u=this.slice(r,i),s=e.slice(t,n),c=0;c>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return W(this,e,t,n);case"utf8":case"utf-8":return V(this,e,t,n);case"ascii":case"latin1":case"binary":return q(this,e,t,n);case"base64":return $(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Q(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},P.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function K(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function te(e,t,n,r,i,o){if(!P.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function ne(e,t,n,r,i){ce(t,r,i,e,n,7);var o=Number(t&BigInt(4294967295));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;var a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function re(e,t,n,r,i){ce(t,r,i,e,n,7);var o=Number(t&BigInt(4294967295));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;var a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function ie(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function oe(e,t,n,r,i){return t=+t,n>>>=0,i||ie(e,0,n,4),w(e,t,n,r,23,4),n+4}function ae(e,t,n,r,i){return t=+t,n>>>=0,i||ie(e,0,n,8),w(e,t,n,r,52,8),n+8}P.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||ee(e,t,this.length);for(var r=this[e],i=1,o=0;++o>>=0,t>>>=0,n||ee(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},P.prototype.readUint8=P.prototype.readUInt8=function(e,t){return e>>>=0,t||ee(e,1,this.length),this[e]},P.prototype.readUint16LE=P.prototype.readUInt16LE=function(e,t){return e>>>=0,t||ee(e,2,this.length),this[e]|this[e+1]<<8},P.prototype.readUint16BE=P.prototype.readUInt16BE=function(e,t){return e>>>=0,t||ee(e,2,this.length),this[e]<<8|this[e+1]},P.prototype.readUint32LE=P.prototype.readUInt32LE=function(e,t){return e>>>=0,t||ee(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},P.prototype.readUint32BE=P.prototype.readUInt32BE=function(e,t){return e>>>=0,t||ee(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},P.prototype.readBigUInt64LE=we((function(e){fe(e>>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||de(e,this.length-8);var r=t+256*this[++e]+65536*this[++e]+this[++e]*Math.pow(2,24),i=this[++e]+256*this[++e]+65536*this[++e]+n*Math.pow(2,24);return BigInt(r)+(BigInt(i)<>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||de(e,this.length-8);var r=t*Math.pow(2,24)+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*Math.pow(2,24)+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<>>=0,t>>>=0,n||ee(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},P.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||ee(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},P.prototype.readInt8=function(e,t){return e>>>=0,t||ee(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},P.prototype.readInt16LE=function(e,t){e>>>=0,t||ee(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},P.prototype.readInt16BE=function(e,t){e>>>=0,t||ee(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},P.prototype.readInt32LE=function(e,t){return e>>>=0,t||ee(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},P.prototype.readInt32BE=function(e,t){return e>>>=0,t||ee(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},P.prototype.readBigInt64LE=we((function(e){fe(e>>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||de(e,this.length-8);var r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||de(e,this.length-8);var r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<>>=0,t||ee(e,4,this.length),b(this,e,!0,23,4)},P.prototype.readFloatBE=function(e,t){return e>>>=0,t||ee(e,4,this.length),b(this,e,!1,23,4)},P.prototype.readDoubleLE=function(e,t){return e>>>=0,t||ee(e,8,this.length),b(this,e,!0,52,8)},P.prototype.readDoubleBE=function(e,t){return e>>>=0,t||ee(e,8,this.length),b(this,e,!1,52,8)},P.prototype.writeUintLE=P.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||te(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o>>=0,n>>>=0,r)||te(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},P.prototype.writeUint8=P.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||te(this,e,t,1,255,0),this[t]=255&e,t+1},P.prototype.writeUint16LE=P.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||te(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},P.prototype.writeUint16BE=P.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||te(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},P.prototype.writeUint32LE=P.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||te(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},P.prototype.writeUint32BE=P.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||te(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},P.prototype.writeBigUInt64LE=we((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return ne(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),P.prototype.writeBigUInt64BE=we((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return re(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),P.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);te(this,e,t,n,i-1,-i)}var o=0,a=1,l=0;for(this[t]=255&e;++o>0)-l&255;return t+n},P.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);te(this,e,t,n,i-1,-i)}var o=n-1,a=1,l=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===l&&0!==this[t+o+1]&&(l=1),this[t+o]=(e/a>>0)-l&255;return t+n},P.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||te(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},P.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||te(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},P.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||te(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},P.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||te(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},P.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||te(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},P.prototype.writeBigInt64LE=we((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return ne(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),P.prototype.writeBigInt64BE=we((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return re(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),P.prototype.writeFloatLE=function(e,t,n){return oe(this,e,t,!0,n)},P.prototype.writeFloatBE=function(e,t,n){return oe(this,e,t,!1,n)},P.prototype.writeDoubleLE=function(e,t,n){return ae(this,e,t,!0,n)},P.prototype.writeDoubleBE=function(e,t,n){return ae(this,e,t,!1,n)},P.prototype.copy=function(e,t,n,r){if(!P.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o=r+4;n-=3)t="_".concat(e.slice(n-3,n)).concat(t);return"".concat(e.slice(0,n)).concat(t)}function ce(e,t,n,r,i,o){if(e>n||e3?0===t||t===BigInt(0)?">= 0".concat(l," and < 2").concat(l," ** ").concat(8*(o+1)).concat(l):">= -(2".concat(l," ** ").concat(8*(o+1)-1).concat(l,") and < 2 ** ")+"".concat(8*(o+1)-1).concat(l):">= ".concat(t).concat(l," and <= ").concat(n).concat(l),new le.ERR_OUT_OF_RANGE("value",a,e)}!function(e,t,n){fe(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||de(t,e.length-(n+1))}(r,i,o)}function fe(e,t){if("number"!=typeof e)throw new le.ERR_INVALID_ARG_TYPE(t,"number",e)}function de(e,t,n){if(Math.floor(e)!==e)throw fe(e,n),new le.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new le.ERR_BUFFER_OUT_OF_BOUNDS;throw new le.ERR_OUT_OF_RANGE(n||"offset",">= ".concat(n?1:0," and <= ").concat(t),e)}ue("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?"".concat(e," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"}),RangeError),ue("ERR_INVALID_ARG_TYPE",(function(e,t){return'The "'.concat(e,'" argument must be of type number. Received type ').concat(void 0===t?"undefined":h.default(t))}),TypeError),ue("ERR_OUT_OF_RANGE",(function(e,t,n){var r='The value of "'.concat(e,'" is out of range.'),i=n;return Number.isInteger(n)&&Math.abs(n)>Math.pow(2,32)?i=se(String(n)):"bigint"===(void 0===n?"undefined":h.default(n))&&(i=String(n),(n>Math.pow(BigInt(2),BigInt(32))||n<-Math.pow(BigInt(2),BigInt(32)))&&(i=se(i)),i+="n"),r+=" It must be ".concat(t,". Received ").concat(i)}),RangeError);var he=/[^+/0-9A-Za-z-_]/g;function pe(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function ge(e){return f(function(e){if((e=(e=e.split("=")[0]).trim().replace(he,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function ye(e,t,n,r){var i;for(i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function ve(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function me(e){return e!=e}var be=function(){for(var e="0123456789abcdef",t=new Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)t[r+i]=e[n]+e[i];return t}();function we(e){return"undefined"==typeof BigInt?_e:e}function _e(){throw new Error("BigInt not supported")}o.register("aG5Lj",(function(e,t){})),o.register("k4s5x",(function(e,t){function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){for(var n=0;n0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return a.alloc(0);for(var t,n,r,i=a.allocUnsafe(e>>>0),o=this.head,l=0;o;)t=o.data,n=i,r=l,a.prototype.copy.call(t,n,r),l+=o.data.length,o=o.next;return i}},{key:"consume",value:function(e,t){var n;return ei.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0==(e-=o)){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=a.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,t}},{key:s,value:function(e,t){return u(this,function(e){for(var t=arguments,i=function(i){var o=null!=t[i]?t[i]:{};i%2?n(Object(o),!0).forEach((function(t){r(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))},o=1;o2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}l("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),l("ERR_INVALID_ARG_TYPE",(function(e,t,n){var r,o,a,l;if("string"==typeof t&&(o="not ",t.substr(!a||a<0?0:+a,o.length)===o)?(r="must not be",t=t.replace(/^not /,"")):r="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))l="The ".concat(e," ").concat(r," ").concat(u(t,"type"));else{var s=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";l='The "'.concat(e,'" ').concat(s," ").concat(r," ").concat(u(t,"type"))}return l+=". Received type ".concat(void 0===n?"undefined":i.default(n))}),TypeError),l("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),l("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),l("ERR_STREAM_PREMATURE_CLOSE","Premature close"),l("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),l("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),l("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),l("ERR_STREAM_WRITE_AFTER_END","write after end"),l("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),l("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),l("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),r=a})),o.register("fCNxt",(function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}})),o.register("8PrGf",(function(e,t){var n=o("dBpGv"),r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=c;var i=o("7AzFe"),a=o("kRAJu");o("fCNxt")(c,i);for(var l=r(a.prototype),u=0;u-1))throw new k(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(R.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(R.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),R.prototype._write=function(e,t,n){n(new v("_write()"))},R.prototype._writev=null,R.prototype.end=function(e,t,n){var r=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,A(e,t),n&&(t.finished?i.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n),this},Object.defineProperty(R.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(R.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),R.prototype.destroy=h.destroy,R.prototype._undestroy=h.undestroy,R.prototype._destroy=function(e,t){t(e)}})),o.register("iZMe5",(function(e,n){function r(e){try{if(!t.localStorage)return!1}catch(e){return!1}var n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}e.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}})),o.register("dzTPi",(function(t,n){var r;e(t.exports,"StringDecoder",(function(){return r}),(function(e){return r=e}));var i=o("8P62q").Buffer,a=i.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function l(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(i.isEncoding===a||!a(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=f,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=d,this.end=h,t=3;break;default:return this.write=p,void(this.end=g)}this.lastNeed=0,this.lastTotal=0,this.lastChar=i.allocUnsafe(t)}function u(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function f(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function d(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function p(e){return e.toString(this.encoding)}function g(e){return e&&e.length?this.write(e):""}r=l,l.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0)return i>0&&(e.lastNeed=i-1),i;if(--r=0)return i>0&&(e.lastNeed=i-2),i;if(--r=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},l.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}})),o.register("8P62q",(function(e,t){var n=a.Buffer;function r(e,t){for(var n in e)t[n]=e[n]}function i(e,t,r){return n(e,t,r)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=a:(r(a,e.exports),e.exports.Buffer=i),i.prototype=Object.create(n.prototype),r(n,i),i.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return n(e,t,r)},i.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=n(e);return void 0!==t?"string"==typeof r?i.fill(t,r):i.fill(t):i.fill(0),i},i.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return a.SlowBuffer(e)}})),o.register("eNI6A",(function(e,t){var n,r=o("dBpGv");function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=o("bSCnS"),l=Symbol("lastResolve"),u=Symbol("lastReject"),s=Symbol("error"),c=Symbol("ended"),f=Symbol("lastPromise"),d=Symbol("handlePromise"),h=Symbol("stream");function p(e,t){return{value:e,done:t}}function g(e){var t=e[l];if(null!==t){var n=e[h].read();null!==n&&(e[f]=null,e[l]=null,e[u]=null,t(p(n,!1)))}}function y(e){r.nextTick(g,e)}var v=Object.getPrototypeOf((function(){})),m=Object.setPrototypeOf((i(n={get stream(){return this[h]},next:function(){var e=this,t=this[s];if(null!==t)return Promise.reject(t);if(this[c])return Promise.resolve(p(void 0,!0));if(this[h].destroyed)return new Promise((function(t,n){r.nextTick((function(){e[s]?n(e[s]):t(p(void 0,!0))}))}));var n,i=this[f];if(i)n=new Promise(function(e,t){return function(n,r){e.then((function(){t[c]?n(p(void 0,!0)):t[d](n,r)}),r)}}(i,this));else{var o=this[h].read();if(null!==o)return Promise.resolve(p(o,!1));n=new Promise(this[d])}return this[f]=n,n}},Symbol.asyncIterator,(function(){return this})),i(n,"return",(function(){var e=this;return new Promise((function(t,n){e[h].destroy(null,(function(e){e?n(e):t(p(void 0,!0))}))}))})),n),v);e.exports=function(e){var t,n=Object.create(m,(i(t={},h,{value:e,writable:!0}),i(t,l,{value:null,writable:!0}),i(t,u,{value:null,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,c,{value:e._readableState.endEmitted,writable:!0}),i(t,d,{value:function(e,t){var r=n[h].read();r?(n[f]=null,n[l]=null,n[u]=null,e(p(r,!1))):(n[l]=e,n[u]=t)},writable:!0}),t));return n[f]=null,a(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[u];return null!==t&&(n[f]=null,n[l]=null,n[u]=null,t(e)),void(n[s]=e)}var r=n[l];null!==r&&(n[f]=null,n[l]=null,n[u]=null,r(p(void 0,!0))),n[c]=!0})),e.on("readable",y.bind(null,n)),n}})),o.register("bSCnS",(function(e,t){var n=o("jzrri").codes.ERR_STREAM_PREMATURE_CLOSE;function r(){}e.exports=function e(t,i,o){if("function"==typeof i)return e(t,null,i);i||(i={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),i=0;i0,(function(e){r||(r=e),e&&a.forEach(s),i||(a.forEach(s),o(r))}))}));return t.reduce(c)}}));var Se,ke;Se=o("9Cfz4");var Ee;!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)}}(),ke=(Ee=o("3yoUR")).createRoot,Ee.hydrateRoot;var Ce=o("lY8Fy"),xe=o("vNR9i"),Re={},Te=function(e){var t,n=function(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]},r=function(e,t,n,r){var i=t&&t.prototype instanceof o?t:o,a=Object.create(i.prototype),l=new h(r||[]);return a._invoke=c(e,n,l),a},i=function(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}},o=function(){},a=function(){},l=function(){},u=function(e){["next","throw","return"].forEach((function(t){n(e,t,(function(e){return this._invoke(t,e)}))}))},s=function(e,t){function n(r,o,a,l){var u=i(e[r],e,o);if("throw"!==u.type){var s=u.arg,c=s.value;return c&&"object"==typeof c&&v.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(c).then((function(e){s.value=e,a(s)}),(function(e){return n("throw",e,a,l)}))}l(u.arg)}var r;this._invoke=function(e,i){function o(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(o,o):o()}},c=function(e,t,n){var r=S;return function(o,a){if(r===E)throw new Error("Generator is already running");if(r===C){if("throw"===o)throw a;return g()}for(n.method=o,n.arg=a;;){var l=n.delegate;if(l){var u=P(l,n);if(u){if(u===x)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===S)throw r=C,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=E;var s=i(e,t,n);if("normal"===s.type){if(r=n.done?C:k,s.arg===x)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=C,n.method="throw",n.arg=s.arg)}}},f=function(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)},d=function(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t},h=function(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(f,this),this.reset(!0)},p=function(e){if(e){var n=e[b];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function n(){for(;++r=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var l=v.call(o,"catchLoc"),u=v.call(o,"finallyLoc");if(l&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&v.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),d(n),x}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;d(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:p(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),x}},e}(Re);try{regeneratorRuntime=Te}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=Te:Function("r","regeneratorRuntime = r")(Te)}var Ne,Le,Pe=o("eUVJy"),Oe=(p=o("5sOlj"),g=o("8Z5m2"),y=o("b2dei"),o("iMeu1")),Ae=(m=o("fl1MQ"),o("cJEM2")("simple-peer"));Le=function(){if("undefined"==typeof globalThis)return null;var e={RTCPeerConnection:globalThis.RTCPeerConnection||globalThis.mozRTCPeerConnection||globalThis.webkitRTCPeerConnection,RTCSessionDescription:globalThis.RTCSessionDescription||globalThis.mozRTCSessionDescription||globalThis.webkitRTCSessionDescription,RTCIceCandidate:globalThis.RTCIceCandidate||globalThis.mozRTCIceCandidate||globalThis.webkitRTCIceCandidate};return e.RTCPeerConnection?e:null};var Me={},Ie=o("dBpGv");var Fe={},De=a.Buffer;function ze(e,t){for(var n in e)t[n]=e[n]}function Ue(e,t,n){return De(e,t,n)}De.from&&De.alloc&&De.allocUnsafe&&De.allocUnsafeSlow?Fe=a:(ze(a,Fe),Fe.Buffer=Ue),ze(De,Ue),Ue.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return De(e,t,n)},Ue.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=De(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},Ue.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return De(e)},Ue.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return a.SlowBuffer(e)};var Be=Fe.Buffer,je=t.crypto||t.msCrypto;Me=je&&je.getRandomValues?function(e,t){if(e>4294967295)throw new RangeError("requested too many random bytes");var n=Be.allocUnsafe(e);if(e>0)if(e>65536)for(var r=0;r65536?(this._debug("start backpressure: bufferedAmount %d",this._channel.bufferedAmount),this._cb=n):n(null)}else this._debug("write before connect"),this._chunk=e,this._cb=n}},{key:"_onFinish",value:function(){var e=this;if(!this.destroyed){var t=function(){var t=e;setTimeout((function(){return t.destroy()}),1e3)};this._connected?t():this.once("connect",t)}}},{key:"_startIceCompleteTimeout",value:function(){var e=this;this.destroyed||this._iceCompleteTimer||(this._debug("started iceComplete timeout"),this._iceCompleteTimer=setTimeout((function(){e._iceComplete||(e._iceComplete=!0,e._debug("iceComplete timeout completed"),e.emit("iceTimeout"),e.emit("_iceComplete"))}),this.iceCompleteTimeout))}},{key:"_createOffer",value:function(){var e=this;this.destroyed||this._pc.createOffer(this.offerOptions).then((function(t){var n=e;if(!e.destroyed){e.trickle||e.allowHalfTrickle||(t.sdp=Ge(t.sdp)),t.sdp=e.sdpTransform(t.sdp);var r=function(){if(!n.destroyed){var e=n._pc.localDescription||t;n._debug("signal"),n.emit("signal",{type:e.type,sdp:e.sdp})}};e._pc.setLocalDescription(t).then((function(){n._debug("createOffer success"),n.destroyed||(n.trickle||n._iceComplete?r():n.once("_iceComplete",r))})).catch((function(e){n.destroy(qe(e,"ERR_SET_LOCAL_DESCRIPTION"))}))}})).catch((function(t){e.destroy(qe(t,"ERR_CREATE_OFFER"))}))}},{key:"_requestMissingTransceivers",value:function(){var e=this;this._pc.getTransceivers&&this._pc.getTransceivers().forEach((function(t){t.mid||!t.sender.track||t.requested||(t.requested=!0,e.addTransceiver(t.sender.track.kind))}))}},{key:"_createAnswer",value:function(){var e=this;this.destroyed||this._pc.createAnswer(this.answerOptions).then((function(t){var n=e;if(!e.destroyed){e.trickle||e.allowHalfTrickle||(t.sdp=Ge(t.sdp)),t.sdp=e.sdpTransform(t.sdp);var r=function(){if(!n.destroyed){var e=n._pc.localDescription||t;n._debug("signal"),n.emit("signal",{type:e.type,sdp:e.sdp}),n.initiator||n._requestMissingTransceivers()}};e._pc.setLocalDescription(t).then((function(){n.destroyed||(n.trickle||n._iceComplete?r():n.once("_iceComplete",r))})).catch((function(e){n.destroy(qe(e,"ERR_SET_LOCAL_DESCRIPTION"))}))}})).catch((function(t){e.destroy(qe(t,"ERR_CREATE_ANSWER"))}))}},{key:"_onConnectionStateChange",value:function(){this.destroyed||"failed"===this._pc.connectionState&&this.destroy(qe(new Error("Connection failed."),"ERR_CONNECTION_FAILURE"))}},{key:"_onIceStateChange",value:function(){if(!this.destroyed){var e=this._pc.iceConnectionState,t=this._pc.iceGatheringState;this._debug("iceStateChange (connection: %s) (gathering: %s)",e,t),this.emit("iceStateChange",e,t),"connected"!==e&&"completed"!==e||(this._pcReady=!0,this._maybeReady()),"failed"===e&&this.destroy(qe(new Error("Ice connection failed."),"ERR_ICE_CONNECTION_FAILURE")),"closed"===e&&this.destroy(qe(new Error("Ice connection closed."),"ERR_ICE_CONNECTION_CLOSED"))}}},{key:"getStats",value:function(e){var t=this,n=function(e){return"[object Array]"===Object.prototype.toString.call(e.values)&&e.values.forEach((function(t){Object.assign(e,t)})),e};0===this._pc.getStats.length||this._isReactNativeWebrtc?this._pc.getStats().then((function(t){var r=[];t.forEach((function(e){r.push(n(e))})),e(null,r)}),(function(t){return e(t)})):this._pc.getStats.length>0?this._pc.getStats((function(r){if(!t.destroyed){var i=[];r.result().forEach((function(e){var t={};e.names().forEach((function(n){t[n]=e.stat(n)})),t.id=e.id,t.type=e.type,t.timestamp=e.timestamp,i.push(n(t))})),e(null,i)}}),(function(t){return e(t)})):e(null,[])}},{key:"_maybeReady",value:function(){var e=this;if(this._debug("maybeReady pc %s channel %s",this._pcReady,this._channelReady),!this._connected&&!this._connecting&&this._pcReady&&this._channelReady){this._connecting=!0;var t=function(){var n=e;e.destroyed||e.getStats((function(e,r){var i=n;if(!n.destroyed){e&&(r=[]);var o={},a={},l={},u=!1;r.forEach((function(e){"remotecandidate"!==e.type&&"remote-candidate"!==e.type||(o[e.id]=e),"localcandidate"!==e.type&&"local-candidate"!==e.type||(a[e.id]=e),"candidatepair"!==e.type&&"candidate-pair"!==e.type||(l[e.id]=e)}));var s=function(e){u=!0;var t=a[e.localCandidateId];t&&(t.ip||t.address)?(i.localAddress=t.ip||t.address,i.localPort=Number(t.port)):t&&t.ipAddress?(i.localAddress=t.ipAddress,i.localPort=Number(t.portNumber)):"string"==typeof e.googLocalAddress&&(t=e.googLocalAddress.split(":"),i.localAddress=t[0],i.localPort=Number(t[1])),i.localAddress&&(i.localFamily=i.localAddress.includes(":")?"IPv6":"IPv4");var n=o[e.remoteCandidateId];n&&(n.ip||n.address)?(i.remoteAddress=n.ip||n.address,i.remotePort=Number(n.port)):n&&n.ipAddress?(i.remoteAddress=n.ipAddress,i.remotePort=Number(n.portNumber)):"string"==typeof e.googRemoteAddress&&(n=e.googRemoteAddress.split(":"),i.remoteAddress=n[0],i.remotePort=Number(n[1])),i.remoteAddress&&(i.remoteFamily=i.remoteAddress.includes(":")?"IPv6":"IPv4"),i._debug("connect local: %s:%s remote: %s:%s",i.localAddress,i.localPort,i.remoteAddress,i.remotePort)};if(r.forEach((function(e){"transport"===e.type&&e.selectedCandidatePairId&&s(l[e.selectedCandidatePairId]),("googCandidatePair"===e.type&&"true"===e.googActiveConnection||("candidatepair"===e.type||"candidate-pair"===e.type)&&e.selected)&&s(e)})),u||Object.keys(l).length&&!Object.keys(a).length){if(n._connecting=!1,n._connected=!0,n._chunk){try{n.send(n._chunk)}catch(e){return n.destroy(qe(e,"ERR_DATA_CHANNEL"))}n._chunk=null,n._debug('sent chunk from "write before connect"');var c=n._cb;n._cb=null,c(null)}if("number"!=typeof n._channel.bufferedAmountLowThreshold){var f=n;n._interval=setInterval((function(){return f._onInterval()}),150),n._interval.unref&&n._interval.unref()}n._debug("connect"),n.emit("connect")}else setTimeout(t,100)}}))};t()}}},{key:"_onInterval",value:function(){!this._cb||!this._channel||this._channel.bufferedAmount>65536||this._onChannelBufferedAmountLow()}},{key:"_onSignalingStateChange",value:function(){if(!this.destroyed){if("stable"===this._pc.signalingState){var e=this;this._isNegotiating=!1,this._debug("flushing sender queue",this._sendersAwaitingStable),this._sendersAwaitingStable.forEach((function(t){e._pc.removeTrack(t),e._queuedNegotiation=!0})),this._sendersAwaitingStable=[],this._queuedNegotiation?(this._debug("flushing negotiation queue"),this._queuedNegotiation=!1,this._needsNegotiation()):(this._debug("negotiated"),this.emit("negotiated"))}this._debug("signalingStateChange %s",this._pc.signalingState),this.emit("signalingStateChange",this._pc.signalingState)}}},{key:"_onIceCandidate",value:function(e){this.destroyed||(e.candidate&&this.trickle?this.emit("signal",{type:"candidate",candidate:{candidate:e.candidate.candidate,sdpMLineIndex:e.candidate.sdpMLineIndex,sdpMid:e.candidate.sdpMid}}):e.candidate||this._iceComplete||(this._iceComplete=!0,this.emit("_iceComplete")),e.candidate&&this._startIceCompleteTimeout())}},{key:"_onChannelMessage",value:function(e){if(!this.destroyed){var t=e.data;t instanceof ArrayBuffer&&(t=Qe.from(t)),this.push(t)}}},{key:"_onChannelBufferedAmountLow",value:function(){if(!this.destroyed&&this._cb){this._debug("ending backpressure: bufferedAmount %d",this._channel.bufferedAmount);var e=this._cb;this._cb=null,e(null)}}},{key:"_onChannelOpen",value:function(){this._connected||this.destroyed||(this._debug("on channel open"),this._channelReady=!0,this._maybeReady())}},{key:"_onChannelClose",value:function(){this.destroyed||(this._debug("on channel close"),this.destroy())}},{key:"_onTrack",value:function(e){var t=this;this.destroyed||e.streams.forEach((function(n){var r=t;t._debug("on track"),t.emit("track",e.track,n),t._remoteTracks.push({track:e.track,stream:n}),t._remoteStreams.some((function(e){return e.id===n.id}))||(t._remoteStreams.push(n),Ve((function(){r._debug("on stream"),r.emit("stream",n)})))}))}},{key:"_debug",value:function(){var e=[].slice.call(arguments);e[0]="["+this._id+"] "+e[0],Ae.apply(null,e)}}]),n}(We.Duplex);Ye.WEBRTC_SUPPORT=!!Le(),Ye.config={iceServers:[{urls:["stun:stun.l.google.com:19302","stun:global.stun.twilio.com:3478"]}],sdpSemantics:"unified-plan"},Ye.channelConfig={},Ne=Ye;var Ke,Ze,Je,Xe=18;!function(e){e.Default="default",e.GatherSignal="gather-signal",e.Hailing="hailing",e.Connected="connected"}(Ke||(Ke={})),function(e){e.Hailing="hailing",e.Connect="connect",e.Reset="reset"}(Ze||(Ze={})),function(e){e.PeerState="peer-state",e.OpenHailing="open-hailing",e.InboundHailing="inbound-hailing"}(Je||(Je={}));y=o("b2dei");var et=o("ev0qS"),tt=o("78Hst"),nt=o("7rSb7"),rt=o("8ZThm"),it=(Ce=o("lY8Fy"),Pe=o("eUVJy"),new WeakMap),ot=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=this;y.default(this,e),et.default(this,it,{writable:!0,value:void 0}),tt.default(this,"sync",(function(e){var t=n;return new Promise((function(n){if(!nt.default(t,it).has(e)&&(null===chrome||void 0===chrome?void 0:chrome.storage)){var r=localStorage.getItem(e);chrome.storage.sync.get(e,(function(t){var i=t[e];localStorage.setItem(e,i),n(i!==r)}))}else n(!1)}))})),tt.default(this,"get",(function(e){return new Promise((function(t){(null===chrome||void 0===chrome?void 0:chrome.storage)?chrome.storage.sync.get(e,(function(n){t(n[e])})):t(localStorage.getItem(e))}))})),tt.default(this,"set",(function(e,t){var r=n;return new Promise((function(n){var i="string"==typeof t?t:JSON.stringify(t);nt.default(r,it)[e]||localStorage.setItem(e,i),(null===chrome||void 0===chrome?void 0:chrome.storage)?chrome.storage.sync.set(tt.default({},e,i),n):n(null)}))})),rt.default(this,it,new Set(t))},at=l,lt=function(){var e,t,r,i,o,a,l=(e=Je.InboundHailing,r=Ce.default(Pe.useState(""),2),i=r[0],o=r[1],a=Pe.useRef(new ot),Pe.useEffect((function(){a.current.get(e).then((function(e){o(e),null==t||t(e)})),(null===chrome||void 0===chrome?void 0:chrome.storage)&&chrome.storage.onChanged.addListener((function(t){t[e]&&t[e].newValue!==i&&o(t[e].newValue)}))}),[]),{value:i,set:o,save:function(t){return a.current.set(e,t||i)},persist:function(t){return a.current.set(e,t).then((function(){return o(t)}))}}),u=l.value,s=l.persist,c=l.save,f=Ce.default(Pe.useState(Ke.Default),2),d=f[0],h=f[1],p=Ce.default(Pe.useState(""),2),g=p[0],y=p[1],v=Pe.useRef(),m=Pe.useRef(),b=Pe.useRef();Pe.useEffect((function(){var e,t=function(){h(Ke.Default),y(""),v.current=null},r=(e=xe.default(n(Re).mark((function e(){var r,i;return n(Re).wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(u&&!(u.lengthe.length)&&(t=e.length);for(var n=0,r=new Array(t);nt}return!1}function N(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var O={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){O[e]=new N(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];O[t]=new N(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){O[e]=new N(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){O[e]=new N(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){O[e]=new N(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){O[e]=new N(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){O[e]=new N(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){O[e]=new N(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){O[e]=new N(e,5,!1,e.toLowerCase(),null,!1,!1)}));var P=/[\-:]([a-z])/g;function A(e){return e[1].toUpperCase()}function I(e,t,n,r){var i=O.hasOwnProperty(t)?O[t]:null;(null!==i?0!==i.type:r||!(2--u||i[a]!==o[u]){var l="\n"+i[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}}while(1<=a&&0<=u);break}}}finally{ee=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Z(e):""}function ne(e){switch(e.tag){case 5:return Z(e.type);case 16:return Z("Lazy");case 13:return Z("Suspense");case 19:return Z("SuspenseList");case 0:case 2:case 15:return e=te(e.type,!1);case 11:return e=te(e.type.render,!1);case 1:return e=te(e.type,!0);default:return""}}function re(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 U:return"Fragment";case D:return"Portal";case B:return"Profiler";case z:return"StrictMode";case q:return"Suspense";case V:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case H:return(e.displayName||"Context")+".Consumer";case j:return(e._context.displayName||"Context")+".Provider";case W:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case $:return null!==(t=e.displayName||null)?t:re(e.type)||"Memo";case Q:t=e._payload,e=e._init;try{return re(e(t))}catch(e){}}return null}function ie(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 re(t);case 8:return t===z?"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 oe(e){switch(void 0===e?"undefined":y.default(e)){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ae(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ue(e){e._valueTracker||(e._valueTracker=function(e){var t=ae(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 i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.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 le(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ae(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function se(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 ce(e,t){var n=t.checked;return X({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function fe(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=oe(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 de(e,t){null!=(t=t.checked)&&I(e,"checked",t,!1)}function he(e,t){de(e,t);var n=oe(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")?ge(e,t.type,n):t.hasOwnProperty("defaultValue")&&ge(e,t.type,oe(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function pe(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 ge(e,t,n){"number"===t&&se(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ye=Array.isArray;function ve(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=ke.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return Ce(e,t)}))}:Ce);function Re(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 Te={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},Le=["Webkit","ms","Moz","O"];function Ne(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Te.hasOwnProperty(e)&&Te[e]?(""+t).trim():t+"px"}function Oe(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=Ne(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(Te).forEach((function(e){Le.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Te[t]=Te[e]}))}));var Pe=X({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 Ae(e,t){if(t){if(Pe[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(b(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(b(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(b(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(b(62))}}function Ie(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 Me=null;function Fe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var De=null,Ue=null,ze=null;function Be(e){if(e=Ti(e)){if("function"!=typeof De)throw Error(b(280));var t=e.stateNode;t&&(t=Ni(t),De(e.stateNode,e.type,t))}}function je(e){Ue?ze?ze.push(e):ze=[e]:Ue=e}function He(){if(Ue){var e=Ue,t=ze;if(ze=Ue=null,Be(e),t)for(e=0;e>>=0)?32:31-(St(e)/Et|0)|0},St=Math.log,Et=Math.LN2;var kt=64,Ct=4194304;function xt(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 Rt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(0!==a){var u=a&~i;0!==u?r=xt(u):0!==(o&=a)&&(r=xt(o))}else 0!==(a=n&~i)?r=xt(a):0!==o&&(r=xt(o));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&i)&&((i=r&-r)>=(o=t&-t)||16===i&&0!=(4194240&o)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Ot(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-_t(t)]=n}function Pt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-_t(n),i=1<=Vn),Gn=String.fromCharCode(32),Kn=!1;function Yn(e,t){switch(e){case"keyup":return-1!==Wn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Jn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Xn=!1;var Zn={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 er(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Zn[e.type]:"textarea"===t}function tr(e,t,n,r){je(r),0<(t=ni(t,"onChange")).length&&(n=new En("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var nr=null,rr=null;function ir(e){Gr(e,0)}function or(e){if(le(Li(e)))return e}function ar(e,t){if("change"===e)return t}var ur=!1;if(k){var lr;if(k){var sr="oninput"in document;if(!sr){var cr=document.createElement("div");cr.setAttribute("oninput","return;"),sr="function"==typeof cr.oninput}lr=sr}else lr=!1;ur=lr&&(!document.documentMode||9=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=br(r)}}function _r(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?_r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Sr(){for(var e=window,t=se();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=se((e=t.contentWindow).document)}return t}function Er(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 kr(e){var t=Sr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&_r(n.ownerDocument.documentElement,n)){if(null!==r&&Er(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 i=n.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=wr(n,o);var a=wr(n,r);i&&a&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n=document.documentMode,xr=null,Rr=null,Tr=null,Lr=!1;function Nr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Lr||null==xr||xr!==se(r)||("selectionStart"in(r=xr)&&Er(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},Tr&&mr(Tr,r)||(Tr=r,0<(r=ni(Rr,"onSelect")).length&&(t=new En("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=xr)))}function Or(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Pr={animationend:Or("Animation","AnimationEnd"),animationiteration:Or("Animation","AnimationIteration"),animationstart:Or("Animation","AnimationStart"),transitionend:Or("Transition","TransitionEnd")},Ar={},Ir={};function Mr(e){if(Ar[e])return Ar[e];if(!Pr[e])return e;var t,n=Pr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ir)return Ar[e]=n[t];return e}k&&(Ir=document.createElement("div").style,"AnimationEvent"in window||(delete Pr.animationend.animation,delete Pr.animationiteration.animation,delete Pr.animationstart.animation),"TransitionEvent"in window||delete Pr.transitionend.transition);var Fr=Mr("animationend"),Dr=Mr("animationiteration"),Ur=Mr("animationstart"),zr=Mr("transitionend"),Br=new Map,jr="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 Hr(e,t){Br.set(e,t),S(t,[e])}for(var Wr=0;WrPi||(e.current=Oi[Pi],Oi[Pi]=null,Pi--)}function Mi(e,t){Pi++,Oi[Pi]=e.current,e.current=t}var Fi={},Di=Ai(Fi),Ui=Ai(!1),zi=Fi;function Bi(e,t){var n=e.type.contextTypes;if(!n)return Fi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ji(e){return null!=(e=e.childContextTypes)}function Hi(){Ii(Ui),Ii(Di)}function Wi(e,t,n){if(Di.current!==Fi)throw Error(b(168));Mi(Di,t),Mi(Ui,n)}function qi(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(b(108,ie(e)||"Unknown",i));return X({},n,r)}function Vi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Fi,zi=Di.current,Mi(Di,e),Mi(Ui,Ui.current),!0}function $i(e,t,n){var r=e.stateNode;if(!r)throw Error(b(169));n?(e=qi(e,t,zi),r.__reactInternalMemoizedMergedChildContext=e,Ii(Ui),Ii(Di),Mi(Di,e)):Ii(Ui),Mi(Ui,n)}var Qi=null,Gi=!1,Ki=!1;function Yi(e){null===Qi?Qi=[e]:Qi.push(e)}function Ji(){if(!Ki&&null!==Qi){Ki=!0;var e=0,t=At;try{var n=Qi;for(At=1;e>=a,i-=a,Io=1<<32-_t(t)+i|n<d?(y=f,f=null):y=f.sibling;var v=p(i,f,u[d],l);if(null===v){null===f&&(f=y);break}e&&f&&null===v.alternate&&t(i,f),a=o(v,a,d),null===c?s=v:c.sibling=v,c=v,f=y}if(d===u.length)return n(i,f),Ho&&Fo(i,d),s;if(null===f){for(;dd?(y=f,f=null):y=f.sibling;var m=p(i,f,v.value,l);if(null===m){null===f&&(f=y);break}e&&f&&null===m.alternate&&t(i,f),a=o(m,a,d),null===c?s=m:c.sibling=m,c=m,f=y}if(v.done)return n(i,f),Ho&&Fo(i,d),s;if(null===f){for(;!v.done;d++,v=u.next())null!==(v=h(i,v.value,l))&&(a=o(v,a,d),null===c?s=v:c.sibling=v,c=v);return Ho&&Fo(i,d),s}for(f=r(i,f);!v.done;d++,v=u.next())null!==(v=g(f,i,d,v.value,l))&&(e&&null!==v.alternate&&f.delete(null===v.key?d:v.key),a=o(v,a,d),null===c?s=v:c.sibling=v,c=v);return e&&f.forEach((function(e){return t(i,e)})),Ho&&Fo(i,d),s};function h(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Us(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case F:return(n=Ms(t.type,t.key,t.props,null,e.mode,n)).ref=Xo(e,null,t),n.return=e,n;case D:return(t=zs(t,e.mode,n)).return=e,t;case Q:return h(e,(0,t._init)(t._payload),n)}if(ye(t)||Y(t))return(t=Fs(t,e.mode,n,null)).return=e,t;Zo(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case F:return n.key===i?l(e,t,n,r):null;case D:return n.key===i?s(e,t,n,r):null;case Q:return p(e,t,(i=n._init)(n._payload),r)}if(ye(n)||Y(n))return null!==i?null:c(e,t,n,r,null);Zo(e,n)}return null}function g(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return e=e.get(n)||null,u(t,e,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case F:return e=e.get(null===r.key?n:r.key)||null,l(t,e,r,i);case D:return e=e.get(null===r.key?n:r.key)||null,s(t,e,r,i);case Q:return g(e,t,n,(0,r._init)(r._payload),i)}if(ye(r)||Y(r))return e=e.get(n)||null,c(t,e,r,i,null);Zo(t,r)}return null}return function e(r,o,u,l){if("object"==typeof u&&null!==u&&u.type===U&&null===u.key&&(u=u.props.children),"object"==typeof u&&null!==u){switch(u.$$typeof){case F:e:{for(var s=u.key,c=o;null!==c;){if(c.key===s){if((s=u.type)===U){if(7===c.tag){n(r,c.sibling),(o=i(c,u.props.children)).return=r,r=o;break e}}else if(c.elementType===s||"object"==typeof s&&null!==s&&s.$$typeof===Q&&ea(s)===c.type){n(r,c.sibling),(o=i(c,u.props)).ref=Xo(r,c,u),o.return=r,r=o;break e}n(r,c);break}t(r,c),c=c.sibling}u.type===U?((o=Fs(u.props.children,r.mode,l,u.key)).return=r,r=o):((l=Ms(u.type,u.key,u.props,null,r.mode,l)).ref=Xo(r,o,u),l.return=r,r=l)}return a(r);case D:e:{for(c=u.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===u.containerInfo&&o.stateNode.implementation===u.implementation){n(r,o.sibling),(o=i(o,u.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=zs(u,r.mode,l)).return=r,r=o}return a(r);case Q:return e(r,o,(c=u._init)(u._payload),l)}if(ye(u))return f(r,o,u,l);if(Y(u))return d(r,o,u,l);Zo(r,u)}return"string"==typeof u&&""!==u||"number"==typeof u?(u=""+u,null!==o&&6===o.tag?(n(r,o.sibling),(o=i(o,u)).return=r,r=o):(n(r,o),(o=Us(u,r.mode,l)).return=r,r=o),a(r)):n(r,o)}}var na=ta(!0),ra=ta(!1),ia={},oa=Ai(ia),aa=Ai(ia),ua=Ai(ia);function la(e){if(e===ia)throw Error(b(174));return e}function sa(e,t){switch(Mi(ua,t),Mi(aa,e),Mi(oa,ia),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ee(null,"");break;default:t=Ee(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ii(oa),Mi(oa,t)}function ca(){Ii(oa),Ii(aa),Ii(ua)}function fa(e){la(ua.current);var t=la(oa.current),n=Ee(t,e.type);t!==n&&(Mi(aa,e),Mi(oa,n))}function da(e){aa.current===e&&(Ii(oa),Ii(aa))}var ha=Ai(0);function pa(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ga=[];function ya(){for(var e=0;en?n:4,e(!0);var r=ma.transition;ma.transition={};try{e(!1),t()}finally{At=n,ma.transition=r}}function ru(){return Pa().memoizedState}function iu(e,t,n){var r=ts(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},au(e)?uu(t,n):(lu(e,t,n),null!==(e=ns(e,r,n=es()))&&su(e,t,r))}function ou(e,t,n){var r=ts(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(au(e))uu(t,i);else{lu(e,t,i);var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,u=o(a,n);if(i.hasEagerState=!0,i.eagerState=u,vr(u,a))return}catch(e){}null!==(e=ns(e,r,n=es()))&&su(e,t,r)}}function au(e){var t=e.alternate;return e===wa||null!==t&&t===wa}function uu(e,t){ka=Ea=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function lu(e,t,n){null!==Nl&&0!=(1&e.mode)&&0==(2&Ll)?(null===(e=t.interleaved)?(n.next=n,null===so?so=[t]:so.push(t)):(n.next=e.next,e.next=n),t.interleaved=n):(null===(e=t.pending)?n.next=n:(n.next=e.next,e.next=n),t.pending=n)}function su(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Pt(e,n)}}var cu={readContext:lo,useCallback:Ra,useContext:Ra,useEffect:Ra,useImperativeHandle:Ra,useInsertionEffect:Ra,useLayoutEffect:Ra,useMemo:Ra,useReducer:Ra,useRef:Ra,useState:Ra,useDebugValue:Ra,useDeferredValue:Ra,useTransition:Ra,useMutableSource:Ra,useSyncExternalStore:Ra,useId:Ra,unstable_isNewReconciler:!1},fu={readContext:lo,useCallback:function(e,t){return Oa().memoizedState=[e,void 0===t?null:t],e},useContext:lo,useEffect:Qa,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Va(4194308,4,Ja.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Va(4194308,4,e,t)},useInsertionEffect:function(e,t){return Va(4,2,e,t)},useMemo:function(e,t){var n=Oa();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Oa();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=iu.bind(null,wa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Oa().memoizedState=e},useState:Ha,useDebugValue:Za,useDeferredValue:function(e){var t=Ha(e),n=t[0],r=t[1];return Qa((function(){var t=ma.transition;ma.transition={};try{r(e)}finally{ma.transition=t}}),[e]),n},useTransition:function(){var e=Ha(!1),t=e[0];return e=nu.bind(null,e[1]),Oa().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=wa,i=Oa();if(Ho){if(void 0===n)throw Error(b(407));n=n()}else{if(n=t(),null===Nl)throw Error(b(349));0!=(30&ba)||Ua(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Qa(Ba.bind(null,r,o,e),[e]),r.flags|=2048,Wa(9,za.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Oa(),t=Nl.identifierPrefix;if(Ho){var n=Mo;t=":"+t+"R"+(n=(Io&~(1<<32-_t(Io)-1)).toString(32)+n),0<(n=Ca++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=xa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},du={readContext:lo,useCallback:eu,useContext:lo,useEffect:Ga,useImperativeHandle:Xa,useInsertionEffect:Ka,useLayoutEffect:Ya,useMemo:tu,useReducer:Ia,useRef:qa,useState:function(){return Ia(Aa)},useDebugValue:Za,useDeferredValue:function(e){var t=Ia(Aa),n=t[0],r=t[1];return Ga((function(){var t=ma.transition;ma.transition={};try{r(e)}finally{ma.transition=t}}),[e]),n},useTransition:function(){return[Ia(Aa)[0],Pa().memoizedState]},useMutableSource:Fa,useSyncExternalStore:Da,useId:ru,unstable_isNewReconciler:!1},hu={readContext:lo,useCallback:eu,useContext:lo,useEffect:Ga,useImperativeHandle:Xa,useInsertionEffect:Ka,useLayoutEffect:Ya,useMemo:tu,useReducer:Ma,useRef:qa,useState:function(){return Ma(Aa)},useDebugValue:Za,useDeferredValue:function(e){var t=Ma(Aa),n=t[0],r=t[1];return Ga((function(){var t=ma.transition;ma.transition={};try{r(e)}finally{ma.transition=t}}),[e]),n},useTransition:function(){return[Ma(Aa)[0],Pa().memoizedState]},useMutableSource:Fa,useSyncExternalStore:Da,useId:ru,unstable_isNewReconciler:!1};function pu(e,t){try{var n="",r=t;do{n+=ne(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i}}function gu(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var yu,vu,mu,bu="function"==typeof WeakMap?WeakMap:Map;function wu(e,t,n){(n=po(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ql||(ql=!0,Vl=r),gu(0,t)},n}function _u(e,t,n){(n=po(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){gu(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){gu(0,t),"function"!=typeof r&&(null===$l?$l=new Set([this]):$l.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function Su(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new bu;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=xs.bind(null,e,t,n),t.then(e,e))}function Eu(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 ku(e,t,n,r,i){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=po(-1,1)).tag=2,go(n,t))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}function Cu(e,t){if(!Ho)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 xu(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ru(e,t,n){var r=t.pendingProps;switch(zo(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return xu(t),null;case 1:case 17:return ji(t.type)&&Hi(),xu(t),null;case 3:return r=t.stateNode,ca(),Ii(Ui),Ii(Di),ya(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Ko(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==Wo&&(us(Wo),Wo=null))),xu(t),null;case 5:da(t);var i=la(ua.current);if(n=t.type,null!==e&&null!=t.stateNode)vu(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(b(166));return xu(t),null}if(e=la(oa.current),Ko(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[_i]=t,r[Si]=o,e=0!=(1&t.mode),n){case"dialog":Kr("cancel",r),Kr("close",r);break;case"iframe":case"object":case"embed":Kr("load",r);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),"select"===n&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[_i]=t,e[Si]=r,yu(e,t),t.stateNode=e;e:{switch(a=Ie(n,r),n){case"dialog":Kr("cancel",e),Kr("close",e),i=r;break;case"iframe":case"object":case"embed":Kr("load",e),i=r;break;case"video":case"audio":for(i=0;iWl&&(t.flags|=128,r=!0,Cu(o,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=pa(a))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Cu(o,!0),null===o.tail&&"hidden"===o.tailMode&&!a.alternate&&!Ho)return xu(t),null}else 2*dt()-o.renderingStartTime>Wl&&1073741824!==n&&(t.flags|=128,r=!0,Cu(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(null!==(n=o.last)?n.sibling=a:t.child=a,o.last=a)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=dt(),t.sibling=null,n=ha.current,Mi(ha,r?1&n|2:1&n),t):(xu(t),null);case 22:case 23:return ds(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Al)&&(xu(t),6&t.subtreeFlags&&(t.flags|=8192)):xu(t),null;case 24:case 25:return null}throw Error(b(156,t.tag))}yu=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}},vu=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,la(oa.current);var o,a=null;switch(n){case"input":i=ce(e,i),r=ce(e,r),a=[];break;case"select":i=X({},i,{value:void 0}),r=X({},r,{value:void 0}),a=[];break;case"textarea":i=me(e,i),r=me(e,r),a=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=si)}for(s in Ae(n,r),n=null,i)if(!r.hasOwnProperty(s)&&i.hasOwnProperty(s)&&null!=i[s])if("style"===s){var u=i[s];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(_.hasOwnProperty(s)?a||(a=[]):(a=a||[]).push(s,null));for(s in r){var l=r[s];if(u=null!=i?i[s]:void 0,r.hasOwnProperty(s)&&l!==u&&(null!=l||null!=u))if("style"===s)if(u){for(o in u)!u.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&u[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(a||(a=[]),a.push(s,n)),n=l;else"dangerouslySetInnerHTML"===s?(l=l?l.__html:void 0,u=u?u.__html:void 0,null!=l&&u!==l&&(a=a||[]).push(s,l)):"children"===s?"string"!=typeof l&&"number"!=typeof l||(a=a||[]).push(s,""+l):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(_.hasOwnProperty(s)?(null!=l&&"onScroll"===s&&Kr("scroll",e),a||u===l||(a=[])):(a=a||[]).push(s,l))}n&&(a=a||[]).push("style",n);var s=a;(t.updateQueue=s)&&(t.flags|=4)}},mu=function(e,t,n,r){n!==r&&(t.flags|=4)};var Tu=M.ReactCurrentOwner,Lu=!1;function Nu(e,t,n,r){t.child=null===e?ra(t,null,n,r):na(t,e.child,n,r)}function Ou(e,t,n,r,i){n=n.render;var o=t.ref;return uo(t,i),r=La(e,t,n,r,o,i),n=Na(),null===e||Lu?(Ho&&n&&Uo(t),t.flags|=1,Nu(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ju(e,t,i))}function Pu(e,t,n,r,i){if(null===e){var o=n.type;return"function"!=typeof o||As(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ms(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Au(e,t,o,r,i))}if(o=e.child,0==(e.lanes&i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:mr)(a,r)&&e.ref===t.ref)return Ju(e,t,i)}return t.flags|=1,(e=Is(o,r)).ref=t.ref,e.return=t,t.child=e}function Au(e,t,n,r,i){if(null!==e&&mr(e.memoizedProps,r)&&e.ref===t.ref){if(Lu=!1,0==(e.lanes&i))return t.lanes=e.lanes,Ju(e,t,i);0!=(131072&e.flags)&&(Lu=!0)}return Fu(e,t,n,r,i)}function Iu(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null},Mi(Il,Al),Al|=n;else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null},t.updateQueue=null,Mi(Il,Al),Al|=e,null;t.memoizedState={baseLanes:0,cachePool:null},r=null!==o?o.baseLanes:n,Mi(Il,Al),Al|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Mi(Il,Al),Al|=r;return Nu(e,t,i,n),t.child}function Mu(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Fu(e,t,n,r,i){var o=ji(n)?zi:Di.current;return o=Bi(t,o),uo(t,i),n=La(e,t,n,r,o,i),r=Na(),null===e||Lu?(Ho&&r&&Uo(t),t.flags|=1,Nu(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ju(e,t,i))}function Du(e,t,n,r,i){if(ji(n)){var o=!0;Vi(t)}else o=!1;if(uo(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),ko(t,n,r),xo(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,u=t.memoizedProps;a.props=u;var l=a.context,s=n.contextType;"object"==typeof s&&null!==s?s=lo(s):s=Bi(t,s=ji(n)?zi:Di.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(u!==r||l!==s)&&Co(t,a,r,s),co=!1;var d=t.memoizedState;a.state=d,mo(t,r,a,i),l=t.memoizedState,u!==r||d!==l||Ui.current||co?("function"==typeof c&&(_o(t,n,c,r),l=t.memoizedState),(u=co||Eo(t,n,u,r,d,l,s))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=s,r=u):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,ho(e,t),u=t.memoizedProps,s=t.type===t.elementType?u:Zi(t.type,u),a.props=s,f=t.pendingProps,d=a.context,"object"==typeof(l=n.contextType)&&null!==l?l=lo(l):l=Bi(t,l=ji(n)?zi:Di.current);var h=n.getDerivedStateFromProps;(c="function"==typeof h||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(u!==f||d!==l)&&Co(t,a,r,l),co=!1,d=t.memoizedState,a.state=d,mo(t,r,a,i);var p=t.memoizedState;u!==f||d!==p||Ui.current||co?("function"==typeof h&&(_o(t,n,h,r),p=t.memoizedState),(s=co||Eo(t,n,s,r,d,p,l)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=l,r=s):("function"!=typeof a.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Uu(e,t,n,r,o,i)}function Uu(e,t,n,r,i,o){Mu(e,t);var a=0!=(128&t.flags);if(!r&&!a)return i&&$i(t,n,!1),Ju(e,t,o);r=t.stateNode,Tu.current=t;var u=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=na(t,e.child,null,o),t.child=na(t,null,u,o)):Nu(e,t,u,o),t.memoizedState=r.state,i&&$i(t,n,!0),t.child}function zu(e){var t=e.stateNode;t.pendingContext?Wi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Wi(0,t.context,!1),sa(e,t.containerInfo)}function Bu(e,t,n,r,i){return Yo(),Jo(i),t.flags|=256,Nu(e,t,n,r),t.child}var ju={dehydrated:null,treeContext:null,retryLane:0};function Hu(e){return{baseLanes:e,cachePool:null}}function Wu(e,t,n){var r,i=t.pendingProps,o=ha.current,a=!1,u=0!=(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(a=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(o|=1),Mi(ha,1&o),null===e)return Qo(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(o=i.children,e=i.fallback,a?(i=t.mode,a=t.child,o={mode:"hidden",children:o},0==(1&i)&&null!==a?(a.childLanes=0,a.pendingProps=o):a=Ds(o,i,0,null),e=Fs(e,i,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Hu(n),t.memoizedState=ju,e):qu(t,o));if(null!==(o=e.memoizedState)){if(null!==(r=o.dehydrated)){if(u)return 256&t.flags?(t.flags&=-257,Qu(e,t,n,Error(b(422)))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=i.fallback,o=t.mode,i=Ds({mode:"visible",children:i.children},o,0,null),(a=Fs(a,o,n,null)).flags|=2,i.return=t,a.return=t,i.sibling=a,t.child=i,0!=(1&t.mode)&&na(t,e.child,null,n),t.child.memoizedState=Hu(n),t.memoizedState=ju,a);if(0==(1&t.mode))t=Qu(e,t,n,null);else if("$!"===r.data)t=Qu(e,t,n,Error(b(419)));else if(i=0!=(n&e.childLanes),Lu||i){if(null!==(i=Nl)){switch(n&-n){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!==(i=0!=(a&(i.suspendedLanes|n))?0:a)&&i!==o.retryLane&&(o.retryLane=i,ns(e,i,-1))}ys(),t=Qu(e,t,n,Error(b(421)))}else"$?"===r.data?(t.flags|=128,t.child=e.child,t=Ts.bind(null,e),r._reactRetry=t,t=null):(n=o.treeContext,jo=mi(r.nextSibling),Bo=t,Ho=!0,Wo=null,null!==n&&(Oo[Po++]=Io,Oo[Po++]=Mo,Oo[Po++]=Ao,Io=n.id,Mo=n.overflow,Ao=t),(t=qu(t,t.pendingProps.children)).flags|=4096);return t}return a?(i=$u(e,t,i.children,i.fallback,n),a=t.child,o=e.child.memoizedState,a.memoizedState=null===o?Hu(n):{baseLanes:o.baseLanes|n,cachePool:null},a.childLanes=e.childLanes&~n,t.memoizedState=ju,i):(n=Vu(e,t,i.children,n),t.memoizedState=null,n)}return a?(i=$u(e,t,i.children,i.fallback,n),a=t.child,o=e.child.memoizedState,a.memoizedState=null===o?Hu(n):{baseLanes:o.baseLanes|n,cachePool:null},a.childLanes=e.childLanes&~n,t.memoizedState=ju,i):(n=Vu(e,t,i.children,n),t.memoizedState=null,n)}function qu(e,t){return(t=Ds({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Vu(e,t,n,r){var i=e.child;return e=i.sibling,n=Is(i,{mode:"visible",children:n}),0==(1&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n}function $u(e,t,n,r,i){var o=t.mode,a=(e=e.child).sibling,u={mode:"hidden",children:n};return 0==(1&o)&&t.child!==e?((n=t.child).childLanes=0,n.pendingProps=u,t.deletions=null):(n=Is(e,u)).subtreeFlags=14680064&e.subtreeFlags,null!==a?r=Is(a,r):(r=Fs(r,o,i,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function Qu(e,t,n,r){return null!==r&&Jo(r),na(t,e.child,null,n),(e=qu(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Gu(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),ao(e.return,t,n)}function Ku(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Yu(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Nu(e,t,r.children,n),0!=(2&(r=ha.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Gu(e,n,t);else if(19===e.tag)Gu(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(Mi(ha,r),0==(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===pa(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ku(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===pa(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ku(t,!0,n,null,o);break;case"together":Ku(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ju(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(b(153));if(null!==t.child){for(n=Is(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Is(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Xu(e,t){switch(zo(t),t.tag){case 1:return ji(t.type)&&Hi(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ca(),Ii(Ui),Ii(Di),ya(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return da(t),null;case 13:if(Ii(ha),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(b(340));Yo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ii(ha),null;case 4:return ca(),null;case 10:return oo(t.type._context),null;case 22:case 23:return ds(),null;default:return null}}var Zu=!1,el=!1,tl="function"==typeof WeakSet?WeakSet:Set,nl=null;function rl(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Cs(e,t,n)}else n.current=null}function il(e,t,n){try{n()}catch(n){Cs(e,t,n)}}var ol=!1;function al(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&il(t,n,o)}i=i.next}while(i!==r)}}function ul(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 ll(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 sl(e,t,n){if(wt&&"function"==typeof wt.onCommitFiberUnmount)try{wt.onCommitFiberUnmount(bt,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e=e.next;do{var i=r,o=i.destroy;i=i.tag,void 0!==o&&(0!=(2&i)||0!=(4&i))&&il(t,n,o),r=r.next}while(r!==e)}break;case 1:if(rl(t,n),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Cs(t,n,e)}break;case 5:rl(t,n);break;case 4:yl(e,t,n)}}function cl(e){var t=e.alternate;null!==t&&(e.alternate=null,cl(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[_i],delete t[Si],delete t[ki],delete t[Ci],delete t[xi])),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 fl(e){return 5===e.tag||3===e.tag||4===e.tag}function dl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||fl(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 hl(e){e:{for(var t=e.return;null!==t;){if(fl(t))break e;t=t.return}throw Error(b(160))}var n=t;switch(n.tag){case 5:t=n.stateNode,32&n.flags&&(Re(t,""),n.flags&=-33),gl(e,n=dl(e),t);break;case 3:case 4:t=n.stateNode.containerInfo,pl(e,n=dl(e),t);break;default:throw Error(b(161))}}function pl(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=si));else if(4!==r&&null!==(e=e.child))for(pl(e,t,n),e=e.sibling;null!==e;)pl(e,t,n),e=e.sibling}function gl(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(gl(e,t,n),e=e.sibling;null!==e;)gl(e,t,n),e=e.sibling}function yl(e,t,n){for(var r,i,o=t,a=!1;;){if(!a){a=o.return;e:for(;;){if(null===a)throw Error(b(160));switch(r=a.stateNode,a.tag){case 5:i=!1;break e;case 3:case 4:r=r.containerInfo,i=!0;break e}a=a.return}a=!0}if(5===o.tag||6===o.tag){e:for(var u=e,l=o,s=n,c=l;;)if(sl(u,c,s),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===l)break e;for(;null===c.sibling;){if(null===c.return||c.return===l)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}i?(u=r,l=o.stateNode,8===u.nodeType?u.parentNode.removeChild(l):u.removeChild(l)):r.removeChild(o.stateNode)}else if(18===o.tag)i?(u=r,l=o.stateNode,8===u.nodeType?vi(u.parentNode,l):1===u.nodeType&&vi(u,l),nn(u)):vi(r,o.stateNode);else if(4===o.tag){if(null!==o.child){r=o.stateNode.containerInfo,i=!0,o.child.return=o,o=o.child;continue}}else if(sl(e,o,n),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(a=!1)}o.sibling.return=o.return,o=o.sibling}}function vl(e,t){switch(t.tag){case 0:case 11:case 14:case 15:return al(3,t,t.return),ul(3,t),void al(5,t,t.return);case 1:case 12:case 17:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,i=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for("input"===e&&"radio"===r.type&&null!=r.name&&de(n,r),Ie(e,i),t=Ie(e,r),i=0;ii&&(i=a),r&=~o}if(r=i,10<(r=(120>(r=dt()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cl(r/1960))-r)){e.timeoutHandle=di(Ss.bind(null,e,jl),r);break}Ss(e,jl);break;default:throw Error(b(329))}}}return is(e,dt()),e.callbackNode===n?os.bind(null,e):null}function as(e,t){var n=Bl;return e.current.memoizedState.isDehydrated&&(hs(e,t).flags|=256),2!==(e=vs(e,t))&&(t=jl,jl=n,null!==t&&us(t)),e}function us(e){null===jl?jl=e:jl.push.apply(jl,e)}function ls(e,t){for(t&=~zl,t&=~Ul,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0e?16:e,null===Gl)var r=!1;else{if(e=Gl,Gl=null,Kl=0,0!=(6&Ll))throw Error(b(331));var i=Ll;for(Ll|=4,nl=e.current;null!==nl;){var o=nl,a=o.child;if(0!=(16&nl.flags)){var u=o.deletions;if(null!==u){for(var l=0;ldt()-Hl?hs(e,0):zl|=n),is(e,t)}function Rs(e,t){0===t&&(0==(1&e.mode)?t=1:(t=Ct,0==(130023424&(Ct<<=1))&&(Ct=4194304)));var n=es();null!==(e=rs(e,t))&&(Ot(e,t,n),is(e,n))}function Ts(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Rs(e,n)}function Ls(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(b(314))}null!==r&&r.delete(t),Rs(e,n)}function Ns(e,t){return lt(e,t)}function Os(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 Ps(e,t,n,r){return new Os(e,t,n,r)}function As(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Is(e,t){var n=e.alternate;return null===n?((n=Ps(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 Ms(e,t,n,r,i,o){var a=2;if(r=e,"function"==typeof e)As(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case U:return Fs(n.children,i,o,t);case z:a=8,i|=8;break;case B:return(e=Ps(12,n,t,2|i)).elementType=B,e.lanes=o,e;case q:return(e=Ps(13,n,t,i)).elementType=q,e.lanes=o,e;case V:return(e=Ps(19,n,t,i)).elementType=V,e.lanes=o,e;case G:return Ds(n,i,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case j:a=10;break e;case H:a=9;break e;case W:a=11;break e;case $:a=14;break e;case Q:a=16,r=null;break e}throw Error(b(130,null==e?e:void 0===e?"undefined":y.default(e),""))}return(t=Ps(a,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function Fs(e,t,n,r){return(e=Ps(7,e,r,t)).lanes=n,e}function Ds(e,t,n,r){return(e=Ps(22,e,r,t)).elementType=G,e.lanes=n,e.stateNode={},e}function Us(e,t,n){return(e=Ps(6,e,null,t)).lanes=n,e}function zs(e,t,n){return(t=Ps(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bs(e,t,n,r,i){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=Nt(0),this.expirationTimes=Nt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Nt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function js(e,t,n,r,i,o,a,u,l){return e=new Bs(e,t,n,u,l),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Ps(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null},fo(o),e}function Hs(e,t,n){var r=3>>1,i=e[r];if(!(0>>1;rC(u,n))lC(s,u)?(e[r]=s,e[l]=n,r=l):(e[r]=u,e[a]=n,r=a);else{if(!(lC(s,n)))break e;e[r]=s,e[l]=n,r=l}}}return t}function C(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(e(t.exports,"unstable_now",(function(){return r}),(function(e){return r=e})),e(t.exports,"unstable_IdlePriority",(function(){return i}),(function(e){return i=e})),e(t.exports,"unstable_ImmediatePriority",(function(){return o}),(function(e){return o=e})),e(t.exports,"unstable_LowPriority",(function(){return a}),(function(e){return a=e})),e(t.exports,"unstable_NormalPriority",(function(){return u}),(function(e){return u=e})),e(t.exports,"unstable_Profiling",(function(){return l}),(function(e){return l=e})),e(t.exports,"unstable_UserBlockingPriority",(function(){return s}),(function(e){return s=e})),e(t.exports,"unstable_cancelCallback",(function(){return c}),(function(e){return c=e})),e(t.exports,"unstable_continueExecution",(function(){return f}),(function(e){return f=e})),e(t.exports,"unstable_forceFrameRate",(function(){return d}),(function(e){return d=e})),e(t.exports,"unstable_getCurrentPriorityLevel",(function(){return h}),(function(e){return h=e})),e(t.exports,"unstable_getFirstCallbackNode",(function(){return p}),(function(e){return p=e})),e(t.exports,"unstable_next",(function(){return g}),(function(e){return g=e})),e(t.exports,"unstable_pauseExecution",(function(){return y}),(function(e){return y=e})),e(t.exports,"unstable_requestPaint",(function(){return v}),(function(e){return v=e})),e(t.exports,"unstable_runWithPriority",(function(){return m}),(function(e){return m=e})),e(t.exports,"unstable_scheduleCallback",(function(){return b}),(function(e){return b=e})),e(t.exports,"unstable_shouldYield",(function(){return w}),(function(e){return w=e})),e(t.exports,"unstable_wrapCallback",(function(){return _}),(function(e){return _=e})),"object"==typeof performance&&"function"==typeof performance.now){var x=performance;r=function(){return x.now()}}else{var R=Date,T=R.now();r=function(){return R.now()-T}}var L=[],N=[],O=1,P=null,A=3,I=!1,M=!1,F=!1,D="function"==typeof setTimeout?setTimeout:null,U="function"==typeof clearTimeout?clearTimeout:null,z="undefined"!=typeof setImmediate?setImmediate:null;function B(e){for(var t=E(N);null!==t;){if(null===t.callback)k(N);else{if(!(t.startTime<=e))break;k(N),t.sortIndex=t.expirationTime,S(L,t)}t=E(N)}}function j(e){if(F=!1,B(e),!M)if(null!==E(L))M=!0,Z(H);else{var t=E(N);null!==t&&ee(j,t.startTime-e)}}function H(e,t){M=!1,F&&(F=!1,U($),$=-1),I=!0;var n=A;try{for(B(t),P=E(L);null!==P&&(!(P.expirationTime>t)||e&&!K());){var i=P.callback;if("function"==typeof i){P.callback=null,A=P.priorityLevel;var o=i(P.expirationTime<=t);t=r(),"function"==typeof o?P.callback=o:P===E(L)&&k(L),B(t)}else k(L);P=E(L)}if(null!==P)var a=!0;else{var u=E(N);null!==u&&ee(j,u.startTime-t),a=!1}return a}finally{P=null,A=n,I=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var W,q=!1,V=null,$=-1,Q=5,G=-1;function K(){return!(r()-Ge||125i?(e.sortIndex=n,S(N,e),null===E(L)&&e===E(N)&&(F?(U($),$=-1):F=!0,ee(j,n-i))):(e.sortIndex=o,S(L,e),M||I||(M=!0,Z(H))),e},w=K,_=function(e){var t=A;return function(){var n=A;A=t;try{return e.apply(this,arguments)}finally{A=n}}}})),o.register("gNGOH",(function(e,t){var n,r=o("hHwHK");e.exports.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},e.exports.save=function(t){try{t?e.exports.storage.setItem("debug",t):e.exports.storage.removeItem("debug")}catch(e){}},e.exports.load=function(){var t;try{t=e.exports.storage.getItem("debug")}catch(e){}!t&&void 0!==r&&"env"in r&&(t=void 0);return t},e.exports.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.exports.storage=function(){try{return localStorage}catch(e){}}(),e.exports.destroy=(n=!1,function(){n||(n=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}),e.exports.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports.log=console.debug||console.log||function(){},e.exports=o("6XhfF")(e.exports),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}})),o.register("hHwHK",(function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,s=[],c=!1,f=-1;function d(){c&&l&&(c=!1,l.length?s=l.concat(s):f=-1,s.length&&h())}function h(){if(!c){var e=u(d);c=!0;for(var t=s.length;t;){for(l=s,s=[];++f1)for(var n=1;n=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,t){t=t||{};var o,f,d=void 0===e?"undefined":n.default(e);if("string"===d&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*s;case"weeks":case"week":case"w":return n*l;case"days":case"day":case"d":return n*u;case"hours":case"hour":case"hrs":case"hr":case"h":return n*a;case"minutes":case"minute":case"mins":case"min":case"m":return n*i;case"seconds":case"second":case"secs":case"sec":case"s":return n*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}(e);if("number"===d&&isFinite(e))return t.long?(o=e,(f=Math.abs(o))>=u?c(o,f,u,"day"):f>=a?c(o,f,a,"hour"):f>=i?c(o,f,i,"minute"):f>=r?c(o,f,r,"second"):o+" ms"):function(e){var t=Math.abs(e);return t>=u?Math.round(e/u)+"d":t>=a?Math.round(e/a)+"h":t>=i?Math.round(e/i)+"m":t>=r?Math.round(e/r)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}})),o.register("aO4Nv",(function(e,t){(t=e.exports=o("cEb8p")).Stream=t,t.Readable=t,t.Writable=o("9qe8V"),t.Duplex=o("hJxv2"),t.Transform=o("btmMl"),t.PassThrough=o("wp78e"),t.finished=o("6T8EH"),t.pipeline=o("6LRUK")})),o.register("cEb8p",(function(e,n){"use strict";var r,i=o("hHwHK");e.exports=R,R.ReadableState=x;o("kGEFf").EventEmitter;var a=function(e,t){return e.listeners(t).length},l=o("dFCC7"),s=u,c=t.Uint8Array||function(){};var f,d=o("jKTAm");f=d&&d.debuglog?d.debuglog("stream"):function(){};var h,p,g,y=o("hwPA0"),v=o("9xr4t"),m=o("kJSue").getHighWaterMark,b=o("lBvtb").codes,w=b.ERR_INVALID_ARG_TYPE,_=b.ERR_STREAM_PUSH_AFTER_EOF,S=b.ERR_METHOD_NOT_IMPLEMENTED,E=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;o("cGScM")(R,l);var k=v.errorOrDestroy,C=["error","close","destroy","pause","resume"];function x(e,t,n){r=r||o("hJxv2"),e=e||{},"boolean"!=typeof n&&(n=t instanceof r),this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=m(this,e,"readableHighWaterMark",n),this.buffer=new y,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(h||(h=o("7Rk03").StringDecoder),this.decoder=new h(e.encoding),this.encoding=e.encoding)}function R(e){if(r=r||o("hJxv2"),!(this instanceof R))return new R(e);var t=this instanceof r;this._readableState=new x(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),l.call(this)}function T(e,t,n,r,i){f("readableAddChunk",t);var o,a=e._readableState;if(null===t)a.reading=!1,function(e,t){if(f("onEofChunk"),t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?P(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,A(e)))}(e,a);else if(i||(o=function(e,t){var n;r=t,s.isBuffer(r)||r instanceof c||"string"==typeof t||void 0===t||e.objectMode||(n=new w("chunk",["string","Buffer","Uint8Array"],t));var r;return n}(a,t)),o)k(e,o);else if(a.objectMode||t&&t.length>0)if("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===s.prototype||(t=function(e){return s.from(e)}(t)),r)a.endEmitted?k(e,new E):L(e,a,t,!0);else if(a.ended)k(e,new _);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?L(e,a,t,!1):I(e,a)):L(e,a,t,!1)}else r||(a.reading=!1,I(e,a));return!a.ended&&(a.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=N?e=N:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function P(e){var t=e._readableState;f("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(f("emitReadable",t.flowing),t.emittedReadable=!0,i.nextTick(A,e))}function A(e){var t=e._readableState;f("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,z(e)}function I(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(M,e,t))}function M(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function D(e){f("readable nexttick read 0"),e.read(0)}function U(e,t){f("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),z(e),t.flowing&&!t.reading&&e.read(0)}function z(e){var t=e._readableState;for(f("flow",t.flowing);t.flowing&&null!==e.read(););}function B(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function j(e){var t=e._readableState;f("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,i.nextTick(H,t,e))}function H(e,t){if(f("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function W(e,t){for(var n=0,r=e.length;n=t.highWaterMark:t.length>0)||t.ended))return f("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?j(this):P(this),null;if(0===(e=O(e,t))&&t.ended)return 0===t.length&&j(this),null;var r,i=t.needReadable;return f("need readable",i),(0===t.length||t.length-e0?B(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&j(this)),null!==r&&this.emit("data",r),r},R.prototype._read=function(e){k(this,new S("_read()"))},R.prototype.pipe=function(e,t){var n=function(e,t){f("onunpipe"),e===d&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,o())},r=function(){f("onend"),e.end()},o=function(){f("cleanup"),e.removeListener("close",l),e.removeListener("finish",s),e.removeListener("drain",g),e.removeListener("error",v),e.removeListener("unpipe",n),d.removeListener("end",r),d.removeListener("end",c),d.removeListener("data",u),y=!0,!h.awaitDrain||e._writableState&&!e._writableState.needDrain||g()},u=function(t){f("ondata");var n=e.write(t);f("dest.write",n),!1===n&&((1===h.pipesCount&&h.pipes===e||h.pipesCount>1&&-1!==W(h.pipes,e))&&!y&&(f("false write response, pause",h.awaitDrain),h.awaitDrain++),d.pause())},l=function(){e.removeListener("finish",s),c()},s=function(){f("onfinish"),e.removeListener("close",l),c()},c=function(){f("unpipe"),d.unpipe(e)},d=this,h=this._readableState;switch(h.pipesCount){case 0:h.pipes=e;break;case 1:h.pipes=[h.pipes,e];break;default:h.pipes.push(e)}h.pipesCount+=1,f("pipe count=%d opts=%j",h.pipesCount,t);var p=(!t||!1!==t.end)&&e!==i.stdout&&e!==i.stderr?r:c;h.endEmitted?i.nextTick(p):d.once("end",p),e.on("unpipe",n);var g=function(e){return function(){var t=e._readableState;f("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,z(e))}}(d);e.on("drain",g);var y=!1;function v(t){f("onerror",t),c(),e.removeListener("error",v),0===a(e,"error")&&k(e,t)}return d.on("data",u),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",v),e.once("close",l),e.once("finish",s),e.emit("pipe",d),h.flowing||(f("pipe resume"),d.resume()),e},R.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==r.flowing&&this.resume()):"readable"===e&&(r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,f("on readable",r.length,r.reading),r.length?P(this):r.reading||i.nextTick(D,this))),n},R.prototype.addListener=R.prototype.on,R.prototype.removeListener=function(e,t){var n=l.prototype.removeListener.call(this,e,t);return"readable"===e&&i.nextTick(F,this),n},R.prototype.removeAllListeners=function(e){var t=l.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||i.nextTick(F,this),t},R.prototype.resume=function(){var e=this._readableState;return e.flowing||(f("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(U,e,t))}(this,e)),e.paused=!1,this},R.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},R.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(f("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(f("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i)||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o0&&a.length>i&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,u=l,console&&console.warn&&console.warn(u)}return e}function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=h.bind(r);return i.listener=n,r.wrapFn=i,i}function g(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(o=t[0]),o instanceof Error)throw o;var u=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw u.context=o,u}var l=i[e];if(void 0===l)return!1;if("function"==typeof l)a(l,this,t);else{var s=l.length,c=v(l,s);for(n=0;n=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},l.prototype.listeners=function(e){return g(this,e,!0)},l.prototype.rawListeners=function(e){return g(this,e,!1)},l.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):y.call(e,t)},l.prototype.listenerCount=y,l.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}})),o.register("dFCC7",(function(e,t){e.exports=o("kGEFf").EventEmitter}));var a={};e(a,"Buffer",(function(){return u}),(function(e){return u=e})),e(a,"SlowBuffer",(function(){return l}),(function(e){return l=e})),e(a,"INSPECT_MAX_BYTES",(function(){return s}),(function(e){return s=e})),e(a,"kMaxLength",(function(){return c}),(function(e){return c=e}));var u,l,s,c,f,d,h=o("d6wAG"),p=o("a2tNd"),g=o("jp2Af"),y=o("6qw6t"),v=o("gtl88"),m=o("2RFL2");f=function(e){var t,n,r=R(e),i=r[0],o=r[1],a=new E(function(e,t,n){return 3*(t+n)/4-n}(0,i,o)),u=0,l=o>0?i-4:i;for(n=0;n>16&255,a[u++]=t>>8&255,a[u++]=255&t;2===o&&(t=S[e.charCodeAt(n)]<<2|S[e.charCodeAt(n+1)]>>4,a[u++]=255&t);1===o&&(t=S[e.charCodeAt(n)]<<10|S[e.charCodeAt(n+1)]<<4|S[e.charCodeAt(n+2)]>>2,a[u++]=t>>8&255,a[u++]=255&t);return a},d=function(e){for(var t,n=e.length,r=n%3,i=[],o=16383,a=0,u=n-r;au?u:a+o));1===r?(t=e[n-1],i.push(_[t>>2]+_[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],i.push(_[t>>10]+_[t>>4&63]+_[t<<2&63]+"="));return i.join("")} -/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */;for(var b,w,_=[],S=[],E="undefined"!=typeof Uint8Array?Uint8Array:Array,k="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",C=0,x=k.length;C0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function T(e,t,n){for(var r,i,o=[],a=t;a>18&63]+_[i>>12&63]+_[i>>6&63]+_[63&i]);return o.join("")}S["-".charCodeAt(0)]=62,S["_".charCodeAt(0)]=63,b=function(e,t,n,r,i){var o,a,u=8*i-r-1,l=(1<>1,c=-7,f=n?i-1:0,d=n?-1:1,h=e[t+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=u;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-s;else{if(o===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=s}return(h?-1:1)*a*Math.pow(2,o-r)},w=function(e,t,n,r,i,o){var a,u,l,s=8*o-i-1,c=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(u=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+f>=1?d/l:d*Math.pow(2,1-f))*l>=2&&(a++,l/=2),a+f>=c?(u=0,a=c):a+f>=1?(u=(t*l-1)*Math.pow(2,i),a+=f):(u=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&u,h+=p,u/=256,i-=8);for(a=a<0;e[n+h]=255&a,h+=p,a/=256,s-=8);e[n+h-p]|=128*g};var L="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;u=P,l=function(e){+e!=e&&(e=0);return P.alloc(+e)},s=50;var N=2147483647;function O(e){if(e>N)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,P.prototype),t}function P(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return M(e)}return A(e,t,n)}function A(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!P.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|z(e,t),r=O(n),i=r.write(e,t);i!==n&&(r=r.slice(0,i));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(be(e,Uint8Array)){var t=new Uint8Array(e);return D(t.buffer,t.byteOffset,t.byteLength)}return F(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+(void 0===e?"undefined":h.default(e)));if(be(e,ArrayBuffer)||e&&be(e.buffer,ArrayBuffer))return D(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(be(e,SharedArrayBuffer)||e&&be(e.buffer,SharedArrayBuffer)))return D(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return P.from(r,t,n);var i=function(e){if(P.isBuffer(e)){var t=0|U(e.length),n=O(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||we(e.length)?O(0):F(e);if("Buffer"===e.type&&Array.isArray(e.data))return F(e.data)}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return P.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+(void 0===e?"undefined":h.default(e)))}function I(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function M(e){return I(e),O(e<0?0:0|U(e))}function F(e){for(var t=e.length<0?0:0|U(e.length),n=O(t),r=0;r=N)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+N.toString(16)+" bytes");return 0|e}function z(e,t){if(P.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||be(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+(void 0===e?"undefined":h.default(e)));var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return ye(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return ve(e).length;default:if(i)return r?-1:ye(e).length;t=(""+t).toLowerCase(),i=!0}}function B(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return ee(this,t,n);case"utf8":case"utf-8":return Y(this,t,n);case"ascii":return X(this,t,n);case"latin1":case"binary":return Z(this,t,n);case"base64":return K(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return te(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function j(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function H(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),we(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=P.from(t,r)),P.isBuffer(t))return 0===t.length?-1:W(e,t,n,r,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):W(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function W(e,t,n,r,i){var o,a=function(e,t){return 1===u?e[t]:e.readUInt16BE(t*u)},u=1,l=e.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;u=2,l/=2,s/=2,n/=2}if(i){var c=-1;for(o=n;ol&&(n=l-s),o=n;o>=0;o--){for(var f=!0,d=0;di&&(r=i):r=i;var o,a=t.length;for(r>a/2&&(r=a/2),o=0;o>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function K(e,t,n){return 0===t&&n===e.length?d(e):d(e.slice(t,n))}function Y(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:o>223?3:o>191?2:1;if(i+u<=n){var l=void 0,s=void 0,c=void 0,f=void 0;switch(u){case 1:o<128&&(a=o);break;case 2:128==(192&(l=e[i+1]))&&(f=(31&o)<<6|63&l)>127&&(a=f);break;case 3:l=e[i+1],s=e[i+2],128==(192&l)&&128==(192&s)&&(f=(15&o)<<12|(63&l)<<6|63&s)>2047&&(f<55296||f>57343)&&(a=f);break;case 4:l=e[i+1],s=e[i+2],c=e[i+3],128==(192&l)&&128==(192&s)&&128==(192&c)&&(f=(15&o)<<18|(63&l)<<12|(63&s)<<6|63&c)>65535&&f<1114112&&(a=f)}}null===a?(a=65533,u=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),i+=u}return function(e){var t=e.length;if(t<=J)return String.fromCharCode.apply(String,e);var n="",r=0;for(;rr.length?(P.isBuffer(o)||(o=P.from(o)),o.copy(r,i)):Uint8Array.prototype.set.call(r,o,i);else{if(!P.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i)}i+=o.length}return r},P.byteLength=z,P.prototype._isBuffer=!0,P.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;tt&&(e+=" ... "),""},L&&(P.prototype[L]=P.prototype.inspect),P.prototype.compare=function(e,t,n,r,i){if(be(e,Uint8Array)&&(e=P.from(e,e.offset,e.byteLength)),!P.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+(void 0===e?"undefined":h.default(e)));if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),u=Math.min(o,a),l=this.slice(r,i),s=e.slice(t,n),c=0;c>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return q(this,e,t,n);case"utf8":case"utf-8":return V(this,e,t,n);case"ascii":case"latin1":case"binary":return $(this,e,t,n);case"base64":return Q(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},P.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var J=4096;function X(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function re(e,t,n,r,i,o){if(!P.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function ie(e,t,n,r,i){de(t,r,i,e,n,7);var o=Number(t&BigInt(4294967295));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;var a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function oe(e,t,n,r,i){de(t,r,i,e,n,7);var o=Number(t&BigInt(4294967295));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;var a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function ae(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function ue(e,t,n,r,i){return t=+t,n>>>=0,i||ae(e,0,n,4),w(e,t,n,r,23,4),n+4}function le(e,t,n,r,i){return t=+t,n>>>=0,i||ae(e,0,n,8),w(e,t,n,r,52,8),n+8}P.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||ne(e,t,this.length);for(var r=this[e],i=1,o=0;++o>>=0,t>>>=0,n||ne(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},P.prototype.readUint8=P.prototype.readUInt8=function(e,t){return e>>>=0,t||ne(e,1,this.length),this[e]},P.prototype.readUint16LE=P.prototype.readUInt16LE=function(e,t){return e>>>=0,t||ne(e,2,this.length),this[e]|this[e+1]<<8},P.prototype.readUint16BE=P.prototype.readUInt16BE=function(e,t){return e>>>=0,t||ne(e,2,this.length),this[e]<<8|this[e+1]},P.prototype.readUint32LE=P.prototype.readUInt32LE=function(e,t){return e>>>=0,t||ne(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},P.prototype.readUint32BE=P.prototype.readUInt32BE=function(e,t){return e>>>=0,t||ne(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},P.prototype.readBigUInt64LE=Se((function(e){he(e>>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||pe(e,this.length-8);var r=t+256*this[++e]+65536*this[++e]+this[++e]*Math.pow(2,24),i=this[++e]+256*this[++e]+65536*this[++e]+n*Math.pow(2,24);return BigInt(r)+(BigInt(i)<>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||pe(e,this.length-8);var r=t*Math.pow(2,24)+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*Math.pow(2,24)+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<>>=0,t>>>=0,n||ne(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},P.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||ne(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},P.prototype.readInt8=function(e,t){return e>>>=0,t||ne(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},P.prototype.readInt16LE=function(e,t){e>>>=0,t||ne(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},P.prototype.readInt16BE=function(e,t){e>>>=0,t||ne(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},P.prototype.readInt32LE=function(e,t){return e>>>=0,t||ne(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},P.prototype.readInt32BE=function(e,t){return e>>>=0,t||ne(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},P.prototype.readBigInt64LE=Se((function(e){he(e>>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||pe(e,this.length-8);var r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||pe(e,this.length-8);var r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<>>=0,t||ne(e,4,this.length),b(this,e,!0,23,4)},P.prototype.readFloatBE=function(e,t){return e>>>=0,t||ne(e,4,this.length),b(this,e,!1,23,4)},P.prototype.readDoubleLE=function(e,t){return e>>>=0,t||ne(e,8,this.length),b(this,e,!0,52,8)},P.prototype.readDoubleBE=function(e,t){return e>>>=0,t||ne(e,8,this.length),b(this,e,!1,52,8)},P.prototype.writeUintLE=P.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||re(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o>>=0,n>>>=0,r)||re(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},P.prototype.writeUint8=P.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||re(this,e,t,1,255,0),this[t]=255&e,t+1},P.prototype.writeUint16LE=P.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||re(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},P.prototype.writeUint16BE=P.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||re(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},P.prototype.writeUint32LE=P.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||re(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},P.prototype.writeUint32BE=P.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||re(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},P.prototype.writeBigUInt64LE=Se((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return ie(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),P.prototype.writeBigUInt64BE=Se((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return oe(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),P.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);re(this,e,t,n,i-1,-i)}var o=0,a=1,u=0;for(this[t]=255&e;++o>0)-u&255;return t+n},P.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);re(this,e,t,n,i-1,-i)}var o=n-1,a=1,u=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===u&&0!==this[t+o+1]&&(u=1),this[t+o]=(e/a>>0)-u&255;return t+n},P.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||re(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},P.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||re(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},P.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||re(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},P.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||re(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},P.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||re(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},P.prototype.writeBigInt64LE=Se((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return ie(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),P.prototype.writeBigInt64BE=Se((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return oe(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),P.prototype.writeFloatLE=function(e,t,n){return ue(this,e,t,!0,n)},P.prototype.writeFloatBE=function(e,t,n){return ue(this,e,t,!1,n)},P.prototype.writeDoubleLE=function(e,t,n){return le(this,e,t,!0,n)},P.prototype.writeDoubleBE=function(e,t,n){return le(this,e,t,!1,n)},P.prototype.copy=function(e,t,n,r){if(!P.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o=r+4;n-=3)t="_".concat(e.slice(n-3,n)).concat(t);return"".concat(e.slice(0,n)).concat(t)}function de(e,t,n,r,i,o){if(e>n||e3?0===t||t===BigInt(0)?">= 0".concat(u," and < 2").concat(u," ** ").concat(8*(o+1)).concat(u):">= -(2".concat(u," ** ").concat(8*(o+1)-1).concat(u,") and < 2 ** ")+"".concat(8*(o+1)-1).concat(u):">= ".concat(t).concat(u," and <= ").concat(n).concat(u),new se.ERR_OUT_OF_RANGE("value",a,e)}!function(e,t,n){he(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||pe(t,e.length-(n+1))}(r,i,o)}function he(e,t){if("number"!=typeof e)throw new se.ERR_INVALID_ARG_TYPE(t,"number",e)}function pe(e,t,n){if(Math.floor(e)!==e)throw he(e,n),new se.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new se.ERR_BUFFER_OUT_OF_BOUNDS;throw new se.ERR_OUT_OF_RANGE(n||"offset",">= ".concat(n?1:0," and <= ").concat(t),e)}ce("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?"".concat(e," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"}),RangeError),ce("ERR_INVALID_ARG_TYPE",(function(e,t){return'The "'.concat(e,'" argument must be of type number. Received type ').concat(void 0===t?"undefined":h.default(t))}),TypeError),ce("ERR_OUT_OF_RANGE",(function(e,t,n){var r='The value of "'.concat(e,'" is out of range.'),i=n;return Number.isInteger(n)&&Math.abs(n)>Math.pow(2,32)?i=fe(String(n)):"bigint"===(void 0===n?"undefined":h.default(n))&&(i=String(n),(n>Math.pow(BigInt(2),BigInt(32))||n<-Math.pow(BigInt(2),BigInt(32)))&&(i=fe(i)),i+="n"),r+=" It must be ".concat(t,". Received ").concat(i)}),RangeError);var ge=/[^+/0-9A-Za-z-_]/g;function ye(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function ve(e){return f(function(e){if((e=(e=e.split("=")[0]).trim().replace(ge,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function me(e,t,n,r){var i;for(i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function be(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function we(e){return e!=e}var _e=function(){for(var e="0123456789abcdef",t=new Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)t[r+i]=e[n]+e[i];return t}();function Se(e){return"undefined"==typeof BigInt?Ee:e}function Ee(){throw new Error("BigInt not supported")}o.register("jKTAm",(function(e,t){})),o.register("hwPA0",(function(e,t){"use strict";function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){for(var n=0;n0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return a.alloc(0);for(var t,n,r,i=a.allocUnsafe(e>>>0),o=this.head,u=0;o;)t=o.data,n=i,r=u,a.prototype.copy.call(t,n,r),u+=o.data.length,o=o.next;return i}},{key:"consume",value:function(e,t){var n;return ei.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0==(e-=o)){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=a.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,t}},{key:s,value:function(e,t){return l(this,function(e){for(var t=arguments,i=function(i){var o=null!=t[i]?t[i]:{};i%2?n(Object(o),!0).forEach((function(t){r(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))},o=1;o2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}u("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),u("ERR_INVALID_ARG_TYPE",(function(e,t,n){var r,o,a,u;if("string"==typeof t&&(o="not ",t.substr(!a||a<0?0:+a,o.length)===o)?(r="must not be",t=t.replace(/^not /,"")):r="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))u="The ".concat(e," ").concat(r," ").concat(l(t,"type"));else{var s=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";u='The "'.concat(e,'" ').concat(s," ").concat(r," ").concat(l(t,"type"))}return u+=". Received type ".concat(void 0===n?"undefined":i.default(n))}),TypeError),u("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),u("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),u("ERR_STREAM_PREMATURE_CLOSE","Premature close"),u("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),u("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),u("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),u("ERR_STREAM_WRITE_AFTER_END","write after end"),u("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),u("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),u("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),r=a})),o.register("cGScM",(function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}})),o.register("hJxv2",(function(e,t){"use strict";var n=o("hHwHK"),r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=c;var i=o("cEb8p"),a=o("9qe8V");o("cGScM")(c,i);for(var u=r(a.prototype),l=0;l-1))throw new E(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(R.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(R.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),R.prototype._write=function(e,t,n){n(new v("_write()"))},R.prototype._writev=null,R.prototype.end=function(e,t,n){var r=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,A(e,t),n&&(t.finished?i.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n),this},Object.defineProperty(R.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(R.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),R.prototype.destroy=h.destroy,R.prototype._undestroy=h.undestroy,R.prototype._destroy=function(e,t){t(e)}})),o.register("itv3U",(function(e,n){function r(e){try{if(!t.localStorage)return!1}catch(e){return!1}var n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}e.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}})),o.register("7Rk03",(function(t,n){var r;e(t.exports,"StringDecoder",(function(){return r}),(function(e){return r=e}));var i=o("564l0").Buffer,a=i.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function u(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(i.isEncoding===a||!a(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=f,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=d,this.end=h,t=3;break;default:return this.write=p,void(this.end=g)}this.lastNeed=0,this.lastTotal=0,this.lastChar=i.allocUnsafe(t)}function l(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function f(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function d(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function p(e){return e.toString(this.encoding)}function g(e){return e&&e.length?this.write(e):""}r=u,u.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0)return i>0&&(e.lastNeed=i-1),i;if(--r=0)return i>0&&(e.lastNeed=i-2),i;if(--r=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},u.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}})),o.register("564l0",(function(e,t){var n=a.Buffer;function r(e,t){for(var n in e)t[n]=e[n]}function i(e,t,r){return n(e,t,r)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=a:(r(a,e.exports),e.exports.Buffer=i),i.prototype=Object.create(n.prototype),r(n,i),i.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return n(e,t,r)},i.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=n(e);return void 0!==t?"string"==typeof r?i.fill(t,r):i.fill(t):i.fill(0),i},i.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return a.SlowBuffer(e)}})),o.register("6nQjx",(function(e,t){"use strict";var n,r=o("hHwHK");function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=o("6T8EH"),u=Symbol("lastResolve"),l=Symbol("lastReject"),s=Symbol("error"),c=Symbol("ended"),f=Symbol("lastPromise"),d=Symbol("handlePromise"),h=Symbol("stream");function p(e,t){return{value:e,done:t}}function g(e){var t=e[u];if(null!==t){var n=e[h].read();null!==n&&(e[f]=null,e[u]=null,e[l]=null,t(p(n,!1)))}}function y(e){r.nextTick(g,e)}var v=Object.getPrototypeOf((function(){})),m=Object.setPrototypeOf((i(n={get stream(){return this[h]},next:function(){var e=this,t=this[s];if(null!==t)return Promise.reject(t);if(this[c])return Promise.resolve(p(void 0,!0));if(this[h].destroyed)return new Promise((function(t,n){r.nextTick((function(){e[s]?n(e[s]):t(p(void 0,!0))}))}));var n,i=this[f];if(i)n=new Promise(function(e,t){return function(n,r){e.then((function(){t[c]?n(p(void 0,!0)):t[d](n,r)}),r)}}(i,this));else{var o=this[h].read();if(null!==o)return Promise.resolve(p(o,!1));n=new Promise(this[d])}return this[f]=n,n}},Symbol.asyncIterator,(function(){return this})),i(n,"return",(function(){var e=this;return new Promise((function(t,n){e[h].destroy(null,(function(e){e?n(e):t(p(void 0,!0))}))}))})),n),v);e.exports=function(e){var t,n=Object.create(m,(i(t={},h,{value:e,writable:!0}),i(t,u,{value:null,writable:!0}),i(t,l,{value:null,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,c,{value:e._readableState.endEmitted,writable:!0}),i(t,d,{value:function(e,t){var r=n[h].read();r?(n[f]=null,n[u]=null,n[l]=null,e(p(r,!1))):(n[u]=e,n[l]=t)},writable:!0}),t));return n[f]=null,a(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[l];return null!==t&&(n[f]=null,n[u]=null,n[l]=null,t(e)),void(n[s]=e)}var r=n[u];null!==r&&(n[f]=null,n[u]=null,n[l]=null,r(p(void 0,!0))),n[c]=!0})),e.on("readable",y.bind(null,n)),n}})),o.register("6T8EH",(function(e,t){"use strict";var n=o("lBvtb").codes.ERR_STREAM_PREMATURE_CLOSE;function r(){}e.exports=function e(t,i,o){if("function"==typeof i)return e(t,null,i);i||(i={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),i=0;i0,(function(e){r||(r=e),e&&a.forEach(s),i||(a.forEach(s),o(r))}))}));return t.reduce(c)}}));var ke,Ce;ke=o("do0q7");var xe;!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)}}(),Ce=(xe=o("kqhrr")).createRoot,xe.hydrateRoot;var Re=o("dyzCq"),Te=o("8lyIl"),Le={},Ne=function(e){var t,n=function(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]},r=function(e,t,n,r){var i=t&&t.prototype instanceof o?t:o,a=Object.create(i.prototype),u=new h(r||[]);return a._invoke=c(e,n,u),a},i=function(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}},o=function(){},a=function(){},u=function(){},l=function(e){["next","throw","return"].forEach((function(t){n(e,t,(function(e){return this._invoke(t,e)}))}))},s=function(e,t){function n(r,o,a,u){var l=i(e[r],e,o);if("throw"!==l.type){var s=l.arg,c=s.value;return c&&"object"==typeof c&&v.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,a,u)}),(function(e){n("throw",e,a,u)})):t.resolve(c).then((function(e){s.value=e,a(s)}),(function(e){return n("throw",e,a,u)}))}u(l.arg)}var r;this._invoke=function(e,i){function o(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(o,o):o()}},c=function(e,t,n){var r=S;return function(o,a){if(r===k)throw new Error("Generator is already running");if(r===C){if("throw"===o)throw a;return g()}for(n.method=o,n.arg=a;;){var u=n.delegate;if(u){var l=O(u,n);if(l){if(l===x)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===S)throw r=C,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=k;var s=i(e,t,n);if("normal"===s.type){if(r=n.done?C:E,s.arg===x)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=C,n.method="throw",n.arg=s.arg)}}},f=function(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)},d=function(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t},h=function(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(f,this),this.reset(!0)},p=function(e){if(e){var n=e[b];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function n(){for(;++r=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var u=v.call(o,"catchLoc"),l=v.call(o,"finallyLoc");if(u&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&v.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),d(n),x}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;d(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:p(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),x}},e}(Le);try{regeneratorRuntime=Ne}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=Ne:Function("r","regeneratorRuntime = r")(Ne)}var Oe,Pe,Ae=o("jc9vI"),Ie=(p=o("a2tNd"),g=o("jp2Af"),y=o("6qw6t"),o("60AZQ")),Me=(m=o("2RFL2"),o("gNGOH")("simple-peer"));Pe=function(){if("undefined"==typeof globalThis)return null;var e={RTCPeerConnection:globalThis.RTCPeerConnection||globalThis.mozRTCPeerConnection||globalThis.webkitRTCPeerConnection,RTCSessionDescription:globalThis.RTCSessionDescription||globalThis.mozRTCSessionDescription||globalThis.webkitRTCSessionDescription,RTCIceCandidate:globalThis.RTCIceCandidate||globalThis.mozRTCIceCandidate||globalThis.webkitRTCIceCandidate};return e.RTCPeerConnection?e:null};var Fe={},De=o("hHwHK"),Ue=65536;var ze={},Be=a.Buffer;function je(e,t){for(var n in e)t[n]=e[n]}function He(e,t,n){return Be(e,t,n)}Be.from&&Be.alloc&&Be.allocUnsafe&&Be.allocUnsafeSlow?ze=a:(je(a,ze),ze.Buffer=He),je(Be,He),He.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return Be(e,t,n)},He.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=Be(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},He.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return Be(e)},He.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return a.SlowBuffer(e)};var We=ze.Buffer,qe=t.crypto||t.msCrypto;Fe=qe&&qe.getRandomValues?function(e,t){if(e>4294967295)throw new RangeError("requested too many random bytes");var n=We.allocUnsafe(e);if(e>0)if(e>Ue)for(var r=0;rJe?(this._debug("start backpressure: bufferedAmount %d",this._channel.bufferedAmount),this._cb=n):n(null)}else this._debug("write before connect"),this._chunk=e,this._cb=n}},{key:"_onFinish",value:function(){var e=this;if(!this.destroyed){var t=function(){var t=e;setTimeout((function(){return t.destroy()}),1e3)};this._connected?t():this.once("connect",t)}}},{key:"_startIceCompleteTimeout",value:function(){var e=this;this.destroyed||this._iceCompleteTimer||(this._debug("started iceComplete timeout"),this._iceCompleteTimer=setTimeout((function(){e._iceComplete||(e._iceComplete=!0,e._debug("iceComplete timeout completed"),e.emit("iceTimeout"),e.emit("_iceComplete"))}),this.iceCompleteTimeout))}},{key:"_createOffer",value:function(){var e=this;this.destroyed||this._pc.createOffer(this.offerOptions).then((function(t){var n=e;if(!e.destroyed){e.trickle||e.allowHalfTrickle||(t.sdp=Xe(t.sdp)),t.sdp=e.sdpTransform(t.sdp);var r=function(){if(!n.destroyed){var e=n._pc.localDescription||t;n._debug("signal"),n.emit("signal",{type:e.type,sdp:e.sdp})}};e._pc.setLocalDescription(t).then((function(){n._debug("createOffer success"),n.destroyed||(n.trickle||n._iceComplete?r():n.once("_iceComplete",r))})).catch((function(e){n.destroy(Ge(e,"ERR_SET_LOCAL_DESCRIPTION"))}))}})).catch((function(t){e.destroy(Ge(t,"ERR_CREATE_OFFER"))}))}},{key:"_requestMissingTransceivers",value:function(){var e=this;this._pc.getTransceivers&&this._pc.getTransceivers().forEach((function(t){t.mid||!t.sender.track||t.requested||(t.requested=!0,e.addTransceiver(t.sender.track.kind))}))}},{key:"_createAnswer",value:function(){var e=this;this.destroyed||this._pc.createAnswer(this.answerOptions).then((function(t){var n=e;if(!e.destroyed){e.trickle||e.allowHalfTrickle||(t.sdp=Xe(t.sdp)),t.sdp=e.sdpTransform(t.sdp);var r=function(){if(!n.destroyed){var e=n._pc.localDescription||t;n._debug("signal"),n.emit("signal",{type:e.type,sdp:e.sdp}),n.initiator||n._requestMissingTransceivers()}};e._pc.setLocalDescription(t).then((function(){n.destroyed||(n.trickle||n._iceComplete?r():n.once("_iceComplete",r))})).catch((function(e){n.destroy(Ge(e,"ERR_SET_LOCAL_DESCRIPTION"))}))}})).catch((function(t){e.destroy(Ge(t,"ERR_CREATE_ANSWER"))}))}},{key:"_onConnectionStateChange",value:function(){this.destroyed||"failed"===this._pc.connectionState&&this.destroy(Ge(new Error("Connection failed."),"ERR_CONNECTION_FAILURE"))}},{key:"_onIceStateChange",value:function(){if(!this.destroyed){var e=this._pc.iceConnectionState,t=this._pc.iceGatheringState;this._debug("iceStateChange (connection: %s) (gathering: %s)",e,t),this.emit("iceStateChange",e,t),"connected"!==e&&"completed"!==e||(this._pcReady=!0,this._maybeReady()),"failed"===e&&this.destroy(Ge(new Error("Ice connection failed."),"ERR_ICE_CONNECTION_FAILURE")),"closed"===e&&this.destroy(Ge(new Error("Ice connection closed."),"ERR_ICE_CONNECTION_CLOSED"))}}},{key:"getStats",value:function(e){var t=this,n=function(e){return"[object Array]"===Object.prototype.toString.call(e.values)&&e.values.forEach((function(t){Object.assign(e,t)})),e};0===this._pc.getStats.length||this._isReactNativeWebrtc?this._pc.getStats().then((function(t){var r=[];t.forEach((function(e){r.push(n(e))})),e(null,r)}),(function(t){return e(t)})):this._pc.getStats.length>0?this._pc.getStats((function(r){if(!t.destroyed){var i=[];r.result().forEach((function(e){var t={};e.names().forEach((function(n){t[n]=e.stat(n)})),t.id=e.id,t.type=e.type,t.timestamp=e.timestamp,i.push(n(t))})),e(null,i)}}),(function(t){return e(t)})):e(null,[])}},{key:"_maybeReady",value:function(){var e=this;if(this._debug("maybeReady pc %s channel %s",this._pcReady,this._channelReady),!this._connected&&!this._connecting&&this._pcReady&&this._channelReady){this._connecting=!0;var t=function(){var n=e;e.destroyed||e.getStats((function(e,r){var i=n;if(!n.destroyed){e&&(r=[]);var o={},a={},u={},l=!1;r.forEach((function(e){"remotecandidate"!==e.type&&"remote-candidate"!==e.type||(o[e.id]=e),"localcandidate"!==e.type&&"local-candidate"!==e.type||(a[e.id]=e),"candidatepair"!==e.type&&"candidate-pair"!==e.type||(u[e.id]=e)}));var s=function(e){l=!0;var t=a[e.localCandidateId];t&&(t.ip||t.address)?(i.localAddress=t.ip||t.address,i.localPort=Number(t.port)):t&&t.ipAddress?(i.localAddress=t.ipAddress,i.localPort=Number(t.portNumber)):"string"==typeof e.googLocalAddress&&(t=e.googLocalAddress.split(":"),i.localAddress=t[0],i.localPort=Number(t[1])),i.localAddress&&(i.localFamily=i.localAddress.includes(":")?"IPv6":"IPv4");var n=o[e.remoteCandidateId];n&&(n.ip||n.address)?(i.remoteAddress=n.ip||n.address,i.remotePort=Number(n.port)):n&&n.ipAddress?(i.remoteAddress=n.ipAddress,i.remotePort=Number(n.portNumber)):"string"==typeof e.googRemoteAddress&&(n=e.googRemoteAddress.split(":"),i.remoteAddress=n[0],i.remotePort=Number(n[1])),i.remoteAddress&&(i.remoteFamily=i.remoteAddress.includes(":")?"IPv6":"IPv4"),i._debug("connect local: %s:%s remote: %s:%s",i.localAddress,i.localPort,i.remoteAddress,i.remotePort)};if(r.forEach((function(e){"transport"===e.type&&e.selectedCandidatePairId&&s(u[e.selectedCandidatePairId]),("googCandidatePair"===e.type&&"true"===e.googActiveConnection||("candidatepair"===e.type||"candidate-pair"===e.type)&&e.selected)&&s(e)})),l||Object.keys(u).length&&!Object.keys(a).length){if(n._connecting=!1,n._connected=!0,n._chunk){try{n.send(n._chunk)}catch(e){return n.destroy(Ge(e,"ERR_DATA_CHANNEL"))}n._chunk=null,n._debug('sent chunk from "write before connect"');var c=n._cb;n._cb=null,c(null)}if("number"!=typeof n._channel.bufferedAmountLowThreshold){var f=n;n._interval=setInterval((function(){return f._onInterval()}),150),n._interval.unref&&n._interval.unref()}n._debug("connect"),n.emit("connect")}else setTimeout(t,100)}}))};t()}}},{key:"_onInterval",value:function(){!this._cb||!this._channel||this._channel.bufferedAmount>Je||this._onChannelBufferedAmountLow()}},{key:"_onSignalingStateChange",value:function(){if(!this.destroyed){if("stable"===this._pc.signalingState){var e=this;this._isNegotiating=!1,this._debug("flushing sender queue",this._sendersAwaitingStable),this._sendersAwaitingStable.forEach((function(t){e._pc.removeTrack(t),e._queuedNegotiation=!0})),this._sendersAwaitingStable=[],this._queuedNegotiation?(this._debug("flushing negotiation queue"),this._queuedNegotiation=!1,this._needsNegotiation()):(this._debug("negotiated"),this.emit("negotiated"))}this._debug("signalingStateChange %s",this._pc.signalingState),this.emit("signalingStateChange",this._pc.signalingState)}}},{key:"_onIceCandidate",value:function(e){this.destroyed||(e.candidate&&this.trickle?this.emit("signal",{type:"candidate",candidate:{candidate:e.candidate.candidate,sdpMLineIndex:e.candidate.sdpMLineIndex,sdpMid:e.candidate.sdpMid}}):e.candidate||this._iceComplete||(this._iceComplete=!0,this.emit("_iceComplete")),e.candidate&&this._startIceCompleteTimeout())}},{key:"_onChannelMessage",value:function(e){if(!this.destroyed){var t=e.data;t instanceof ArrayBuffer&&(t=Ye.from(t)),this.push(t)}}},{key:"_onChannelBufferedAmountLow",value:function(){if(!this.destroyed&&this._cb){this._debug("ending backpressure: bufferedAmount %d",this._channel.bufferedAmount);var e=this._cb;this._cb=null,e(null)}}},{key:"_onChannelOpen",value:function(){this._connected||this.destroyed||(this._debug("on channel open"),this._channelReady=!0,this._maybeReady())}},{key:"_onChannelClose",value:function(){this.destroyed||(this._debug("on channel close"),this.destroy())}},{key:"_onTrack",value:function(e){var t=this;this.destroyed||e.streams.forEach((function(n){var r=t;t._debug("on track"),t.emit("track",e.track,n),t._remoteTracks.push({track:e.track,stream:n}),t._remoteStreams.some((function(e){return e.id===n.id}))||(t._remoteStreams.push(n),Qe((function(){r._debug("on stream"),r.emit("stream",n)})))}))}},{key:"_debug",value:function(){var e=[].slice.call(arguments);e[0]="["+this._id+"] "+e[0],Me.apply(null,e)}}]),n}($e.Duplex);Ze.WEBRTC_SUPPORT=!!Pe(),Ze.config={iceServers:[{urls:["stun:stun.l.google.com:19302","stun:global.stun.twilio.com:3478"]}],sdpSemantics:"unified-plan"},Ze.channelConfig={},Oe=Ze;var et,tt,nt,rt=18;!function(e){e.Default="default",e.GatherSignal="gather-signal",e.Hailing="hailing",e.Connected="connected"}(et||(et={})),function(e){e.Hailing="hailing",e.Connect="connect",e.Reset="reset"}(tt||(tt={})),function(e){e.PeerState="peer-state",e.OpenHailing="open-hailing",e.InboundHailing="inbound-hailing"}(nt||(nt={}));y=o("6qw6t");var it=o("3cwrW"),ot=o("71LYL"),at=o("lu4da"),ut=o("kr1uT"),lt=(Re=o("dyzCq"),Ae=o("jc9vI"),new WeakMap),st=function e(){"use strict";var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=this;y.default(this,e),it.default(this,lt,{writable:!0,value:void 0}),ot.default(this,"sync",(function(e){var t=n;return new Promise((function(n){if(!at.default(t,lt).has(e)&&(null===chrome||void 0===chrome?void 0:chrome.storage)){var r=localStorage.getItem(e);chrome.storage.sync.get(e,(function(t){var i=t[e];localStorage.setItem(e,i),n(i!==r)}))}else n(!1)}))})),ot.default(this,"get",(function(e){return new Promise((function(t){(null===chrome||void 0===chrome?void 0:chrome.storage)?chrome.storage.sync.get(e,(function(n){t(n[e])})):t(localStorage.getItem(e))}))})),ot.default(this,"set",(function(e,t){var r=n;return new Promise((function(n){var i="string"==typeof t?t:JSON.stringify(t);at.default(r,lt)[e]||localStorage.setItem(e,i),(null===chrome||void 0===chrome?void 0:chrome.storage)?chrome.storage.sync.set(ot.default({},e,i),n):n(null)}))})),ut.default(this,lt,new Set(t))},ct=u,ft=function(){var e,t,r,i,o,a,u=(e=nt.InboundHailing,r=Re.default(Ae.useState(""),2),i=r[0],o=r[1],a=Ae.useRef(new st),Ae.useEffect((function(){a.current.get(e).then((function(e){o(e),null==t||t(e)})),(null===chrome||void 0===chrome?void 0:chrome.storage)&&chrome.storage.onChanged.addListener((function(t){t[e]&&t[e].newValue!==i&&o(t[e].newValue)}))}),[]),{value:i,set:o,save:function(t){return a.current.set(e,t||i)},persist:function(t){return a.current.set(e,t).then((function(){return o(t)}))}}),l=u.value,s=u.persist,c=u.save,f=Re.default(Ae.useState(et.Default),2),d=f[0],h=f[1],p=Re.default(Ae.useState(""),2),g=p[0],y=p[1],v=Ae.useRef(),m=Ae.useRef(),b=Ae.useRef();Ae.useEffect((function(){var e,t=function(){h(et.Default),y(""),v.current=null},r=(e=Te.default(n(Le).mark((function e(){var r,i;return n(Le).wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l&&!(l.lengthe.length)&&(t=e.length);for(var n=0,r=new Array(t);nt}return!1}function L(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var P={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){P[e]=new L(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];P[t]=new L(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){P[e]=new L(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){P[e]=new L(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){P[e]=new L(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){P[e]=new L(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){P[e]=new L(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){P[e]=new L(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){P[e]=new L(e,5,!1,e.toLowerCase(),null,!1,!1)}));var O=/[\-:]([a-z])/g;function A(e){return e[1].toUpperCase()}function I(e,t,n,r){var i=P.hasOwnProperty(t)?P[t]:null;(null!==i?0!==i.type:r||!(2--u||i[a]!==o[u]){var l="\n"+i[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}}while(1<=a&&0<=u);break}}}finally{ee=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?J(e):""}function ne(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=te(e.type,!1);case 11:return e=te(e.type.render,!1);case 1:return e=te(e.type,!0);default:return""}}function re(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 z:return"Fragment";case D:return"Portal";case U:return"Profiler";case B:return"StrictMode";case q:return"Suspense";case V:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case H:return(e.displayName||"Context")+".Consumer";case j:return(e._context.displayName||"Context")+".Provider";case W:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case $:return null!==(t=e.displayName||null)?t:re(e.type)||"Memo";case Q:t=e._payload,e=e._init;try{return re(e(t))}catch(e){}}return null}function ie(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 re(t);case 8:return t===B?"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 oe(e){switch(void 0===e?"undefined":y.default(e)){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ae(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ue(e){e._valueTracker||(e._valueTracker=function(e){var t=ae(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 i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.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 le(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ae(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function se(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 ce(e,t){var n=t.checked;return X({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function fe(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=oe(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 de(e,t){null!=(t=t.checked)&&I(e,"checked",t,!1)}function he(e,t){de(e,t);var n=oe(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")?ge(e,t.type,n):t.hasOwnProperty("defaultValue")&&ge(e,t.type,oe(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function pe(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 ge(e,t,n){"number"===t&&se(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ye=Array.isArray;function me(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Ee.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return Ce(e,t)}))}:Ce);function Re(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 Te={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},Ne=["Webkit","ms","Moz","O"];function Le(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Te.hasOwnProperty(e)&&Te[e]?(""+t).trim():t+"px"}function Pe(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=Le(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(Te).forEach((function(e){Ne.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Te[t]=Te[e]}))}));var Oe=X({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 Ae(e,t){if(t){if(Oe[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(b(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(b(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(b(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(b(62))}}function Ie(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 Me=null;function Fe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var De=null,ze=null,Be=null;function Ue(e){if(e=Pi(e)){if("function"!=typeof De)throw Error(b(280));var t=e.stateNode;t&&(t=Ai(t),De(e.stateNode,e.type,t))}}function je(e){ze?Be?Be.push(e):Be=[e]:ze=e}function He(){if(ze){var e=ze,t=Be;if(Be=ze=null,Ue(e),t)for(e=0;e>>=0)?32:31-(St(e)/kt|0)|0},St=Math.log,kt=Math.LN2;var Et=64,Ct=4194304;function xt(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 Rt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(0!==a){var u=a&~i;0!==u?r=xt(u):0!==(o&=a)&&(r=xt(o))}else 0!==(a=n&~i)?r=xt(a):0!==o&&(r=xt(o));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&i)&&((i=r&-r)>=(o=t&-t)||16===i&&0!=(4194240&o)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Ot(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-_t(t)]=n}function At(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-_t(n),i=1<=Qn),Kn=String.fromCharCode(32),Zn=!1;function Xn(e,t){switch(e){case"keyup":return-1!==Vn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Jn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var er=!1;var tr={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 nr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!tr[e.type]:"textarea"===t}function rr(e,t,n,r){je(r),0<(t=ii(t,"onChange")).length&&(n=new Cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var ir=null,or=null;function ar(e){Kr(e,0)}function ur(e){if(le(Oi(e)))return e}function lr(e,t){if("change"===e)return t}var sr=!1;if(E){var cr;if(E){var fr="oninput"in document;if(!fr){var dr=document.createElement("div");dr.setAttribute("oninput","return;"),fr="function"==typeof dr.oninput}cr=fr}else cr=!1;sr=cr&&(!document.documentMode||9=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=_r(r)}}function kr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?kr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Er(){for(var e=window,t=se();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=se((e=t.contentWindow).document)}return t}function Cr(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 xr(e){var t=Er(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&kr(n.ownerDocument.documentElement,n)){if(null!==r&&Cr(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 i=n.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Sr(n,o);var a=Sr(n,r);i&&a&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n=document.documentMode,Tr=null,Nr=null,Lr=null,Pr=!1;function Or(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Pr||null==Tr||Tr!==se(r)||("selectionStart"in(r=Tr)&&Cr(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},Lr&&wr(Lr,r)||(Lr=r,0<(r=ii(Nr,"onSelect")).length&&(t=new Cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Tr)))}function Ar(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ir={animationend:Ar("Animation","AnimationEnd"),animationiteration:Ar("Animation","AnimationIteration"),animationstart:Ar("Animation","AnimationStart"),transitionend:Ar("Transition","TransitionEnd")},Mr={},Fr={};function Dr(e){if(Mr[e])return Mr[e];if(!Ir[e])return e;var t,n=Ir[e];for(t in n)if(n.hasOwnProperty(t)&&t in Fr)return Mr[e]=n[t];return e}E&&(Fr=document.createElement("div").style,"AnimationEvent"in window||(delete Ir.animationend.animation,delete Ir.animationiteration.animation,delete Ir.animationstart.animation),"TransitionEvent"in window||delete Ir.transitionend.transition);var zr=Dr("animationend"),Br=Dr("animationiteration"),Ur=Dr("animationstart"),jr=Dr("transitionend"),Hr=new Map,Wr="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 qr(e,t){Hr.set(e,t),S(t,[e])}for(var Vr=0;VrMi||(e.current=Ii[Mi],Ii[Mi]=null,Mi--)}function zi(e,t){Mi++,Ii[Mi]=e.current,e.current=t}var Bi={},Ui=Fi(Bi),ji=Fi(!1),Hi=Bi;function Wi(e,t){var n=e.type.contextTypes;if(!n)return Bi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function qi(e){return null!=(e=e.childContextTypes)}function Vi(){Di(ji),Di(Ui)}function $i(e,t,n){if(Ui.current!==Bi)throw Error(b(168));zi(Ui,t),zi(ji,n)}function Qi(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(b(108,ie(e)||"Unknown",i));return X({},n,r)}function Yi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Bi,Hi=Ui.current,zi(Ui,e),zi(ji,ji.current),!0}function Gi(e,t,n){var r=e.stateNode;if(!r)throw Error(b(169));n?(e=Qi(e,t,Hi),r.__reactInternalMemoizedMergedChildContext=e,Di(ji),Di(Ui),zi(Ui,e)):Di(ji),zi(ji,n)}var Ki=null,Zi=!1,Xi=!1;function Ji(e){null===Ki?Ki=[e]:Ki.push(e)}function eo(){if(!Xi&&null!==Ki){Xi=!0;var e=0,t=It;try{var n=Ki;for(It=1;e>=a,i-=a,Do=1<<32-_t(t)+i|n<d?(y=f,f=null):y=f.sibling;var m=p(i,f,u[d],l);if(null===m){null===f&&(f=y);break}e&&f&&null===m.alternate&&t(i,f),a=o(m,a,d),null===c?s=m:c.sibling=m,c=m,f=y}if(d===u.length)return n(i,f),Vo&&Bo(i,d),s;if(null===f){for(;dd?(y=f,f=null):y=f.sibling;var v=p(i,f,m.value,l);if(null===v){null===f&&(f=y);break}e&&f&&null===v.alternate&&t(i,f),a=o(v,a,d),null===c?s=v:c.sibling=v,c=v,f=y}if(m.done)return n(i,f),Vo&&Bo(i,d),s;if(null===f){for(;!m.done;d++,m=u.next())null!==(m=h(i,m.value,l))&&(a=o(m,a,d),null===c?s=m:c.sibling=m,c=m);return Vo&&Bo(i,d),s}for(f=r(i,f);!m.done;d++,m=u.next())null!==(m=g(f,i,d,m.value,l))&&(e&&null!==m.alternate&&f.delete(null===m.key?d:m.key),a=o(m,a,d),null===c?s=m:c.sibling=m,c=m);return e&&f.forEach((function(e){return t(i,e)})),Vo&&Bo(i,d),s};function h(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Ys(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case F:return(n=Vs(t.type,t.key,t.props,null,e.mode,n)).ref=ta(e,null,t),n.return=e,n;case D:return(t=Gs(t,e.mode,n)).return=e,t;case Q:return h(e,(0,t._init)(t._payload),n)}if(ye(t)||K(t))return(t=$s(t,e.mode,n,null)).return=e,t;na(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case F:return n.key===i?l(e,t,n,r):null;case D:return n.key===i?s(e,t,n,r):null;case Q:return p(e,t,(i=n._init)(n._payload),r)}if(ye(n)||K(n))return null!==i?null:c(e,t,n,r,null);na(e,n)}return null}function g(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return e=e.get(n)||null,u(t,e,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case F:return e=e.get(null===r.key?n:r.key)||null,l(t,e,r,i);case D:return e=e.get(null===r.key?n:r.key)||null,s(t,e,r,i);case Q:return g(e,t,n,(0,r._init)(r._payload),i)}if(ye(r)||K(r))return e=e.get(n)||null,c(t,e,r,i,null);na(t,r)}return null}return function e(r,o,u,l){if("object"==typeof u&&null!==u&&u.type===z&&null===u.key&&(u=u.props.children),"object"==typeof u&&null!==u){switch(u.$$typeof){case F:e:{for(var s=u.key,c=o;null!==c;){if(c.key===s){if((s=u.type)===z){if(7===c.tag){n(r,c.sibling),(o=i(c,u.props.children)).return=r,r=o;break e}}else if(c.elementType===s||"object"==typeof s&&null!==s&&s.$$typeof===Q&&ra(s)===c.type){n(r,c.sibling),(o=i(c,u.props)).ref=ta(r,c,u),o.return=r,r=o;break e}n(r,c);break}t(r,c),c=c.sibling}u.type===z?((o=$s(u.props.children,r.mode,l,u.key)).return=r,r=o):((l=Vs(u.type,u.key,u.props,null,r.mode,l)).ref=ta(r,o,u),l.return=r,r=l)}return a(r);case D:e:{for(c=u.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===u.containerInfo&&o.stateNode.implementation===u.implementation){n(r,o.sibling),(o=i(o,u.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Gs(u,r.mode,l)).return=r,r=o}return a(r);case Q:return e(r,o,(c=u._init)(u._payload),l)}if(ye(u))return f(r,o,u,l);if(K(u))return d(r,o,u,l);na(r,u)}return"string"==typeof u&&""!==u||"number"==typeof u?(u=""+u,null!==o&&6===o.tag?(n(r,o.sibling),(o=i(o,u)).return=r,r=o):(n(r,o),(o=Ys(u,r.mode,l)).return=r,r=o),a(r)):n(r,o)}}var oa=ia(!0),aa=ia(!1),ua={},la=Fi(ua),sa=Fi(ua),ca=Fi(ua);function fa(e){if(e===ua)throw Error(b(174));return e}function da(e,t){switch(zi(ca,t),zi(sa,e),zi(la,ua),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ke(null,"");break;default:t=ke(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Di(la),zi(la,t)}function ha(){Di(la),Di(sa),Di(ca)}function pa(e){fa(ca.current);var t=fa(la.current),n=ke(t,e.type);t!==n&&(zi(sa,e),zi(la,n))}function ga(e){sa.current===e&&(Di(la),Di(sa))}var ya=Fi(0);function ma(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var va=[];function ba(){for(var e=0;en?n:4,e(!0);var r=_a.transition;_a.transition={};try{e(!1),t()}finally{It=n,_a.transition=r}}function uu(){return Ma().memoizedState}function lu(e,t,n){var r=cs(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},cu(e)?fu(t,n):(du(e,t,n),null!==(e=fs(e,r,n=ss()))&&hu(e,t,r))}function su(e,t,n){var r=cs(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(cu(e))fu(t,i);else{du(e,t,i);var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,u=o(a,n);if(i.hasEagerState=!0,i.eagerState=u,br(u,a))return}catch(e){}null!==(e=fs(e,r,n=ss()))&&hu(e,t,r)}}function cu(e){var t=e.alternate;return e===ka||null!==t&&t===ka}function fu(e,t){Ra=xa=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function du(e,t,n){hs(e)?(null===(e=t.interleaved)?(n.next=n,null===ho?ho=[t]:ho.push(t)):(n.next=e.next,e.next=n),t.interleaved=n):(null===(e=t.pending)?n.next=n:(n.next=e.next,e.next=n),t.pending=n)}function hu(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,At(e,n)}}var pu={readContext:fo,useCallback:La,useContext:La,useEffect:La,useImperativeHandle:La,useInsertionEffect:La,useLayoutEffect:La,useMemo:La,useReducer:La,useRef:La,useState:La,useDebugValue:La,useDeferredValue:La,useTransition:La,useMutableSource:La,useSyncExternalStore:La,useId:La,unstable_isNewReconciler:!1},gu={readContext:fo,useCallback:function(e,t){return Ia().memoizedState=[e,void 0===t?null:t],e},useContext:fo,useEffect:Ka,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ya(4194308,4,eu.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ya(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ya(4,2,e,t)},useMemo:function(e,t){var n=Ia();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ia();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=lu.bind(null,ka,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ia().memoizedState=e},useState:Va,useDebugValue:nu,useDeferredValue:function(e){return Ia().memoizedState=e},useTransition:function(){var e=Va(!1),t=e[0];return e=au.bind(null,e[1]),Ia().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ka,i=Ia();if(Vo){if(void 0===n)throw Error(b(407));n=n()}else{if(n=t(),null===zl)throw Error(b(349));0!=(30&Sa)||ja(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Ka(Wa.bind(null,r,o,e),[e]),r.flags|=2048,$a(9,Ha.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ia(),t=zl.identifierPrefix;if(Vo){var n=zo;t=":"+t+"R"+(n=(Do&~(1<<32-_t(Do)-1)).toString(32)+n),0<(n=Ta++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=Na++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},yu={readContext:fo,useCallback:ru,useContext:fo,useEffect:Za,useImperativeHandle:tu,useInsertionEffect:Xa,useLayoutEffect:Ja,useMemo:iu,useReducer:Da,useRef:Qa,useState:function(){return Da(Fa)},useDebugValue:nu,useDeferredValue:function(e){return ou(Ma(),Ea.memoizedState,e)},useTransition:function(){return[Da(Fa)[0],Ma().memoizedState]},useMutableSource:Ba,useSyncExternalStore:Ua,useId:uu,unstable_isNewReconciler:!1},mu={readContext:fo,useCallback:ru,useContext:fo,useEffect:Za,useImperativeHandle:tu,useInsertionEffect:Xa,useLayoutEffect:Ja,useMemo:iu,useReducer:za,useRef:Qa,useState:function(){return za(Fa)},useDebugValue:nu,useDeferredValue:function(e){var t=Ma();return null===Ea?t.memoizedState=e:ou(t,Ea.memoizedState,e)},useTransition:function(){return[za(Fa)[0],Ma().memoizedState]},useMutableSource:Ba,useSyncExternalStore:Ua,useId:uu,unstable_isNewReconciler:!1};function vu(e,t){try{var n="",r=t;do{n+=ne(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i}}function bu(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var wu,_u,Su,ku="function"==typeof WeakMap?WeakMap:Map;function Eu(e,t,n){(n=mo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Jl||(Jl=!0,es=r),bu(0,t)},n}function Cu(e,t,n){(n=mo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){bu(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){bu(0,t),"function"!=typeof r&&(null===ts?ts=new Set([this]):ts.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function xu(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ku;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Fs.bind(null,e,t,n),t.then(e,e))}function Ru(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 Tu(e,t,n,r,i){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=mo(-1,1)).tag=2,vo(n,t))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}function Nu(e,t){if(!Vo)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 Lu(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Pu(e,t,n){var r=t.pendingProps;switch(Ho(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Lu(t),null;case 1:case 17:return qi(t.type)&&Vi(),Lu(t),null;case 3:return r=t.stateNode,ha(),Di(ji),Di(Ui),ba(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Xo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==$o&&(ms($o),$o=null))),Lu(t),null;case 5:ga(t);var i=fa(ca.current);if(n=t.type,null!==e&&null!=t.stateNode)_u(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(b(166));return Lu(t),null}if(e=fa(la.current),Xo(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Ei]=t,r[Ci]=o,e=0!=(1&t.mode),n){case"dialog":Zr("cancel",r),Zr("close",r);break;case"iframe":case"object":case"embed":Zr("load",r);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),"select"===n&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Ei]=t,e[Ci]=r,wu(e,t),t.stateNode=e;e:{switch(a=Ie(n,r),n){case"dialog":Zr("cancel",e),Zr("close",e),i=r;break;case"iframe":case"object":case"embed":Zr("load",e),i=r;break;case"video":case"audio":for(i=0;iZl&&(t.flags|=128,r=!0,Nu(o,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ma(a))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Nu(o,!0),null===o.tail&&"hidden"===o.tailMode&&!a.alternate&&!Vo)return Lu(t),null}else 2*dt()-o.renderingStartTime>Zl&&1073741824!==n&&(t.flags|=128,r=!0,Nu(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(null!==(n=o.last)?n.sibling=a:t.child=a,o.last=a)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=dt(),t.sibling=null,n=ya.current,zi(ya,r?1&n|2:1&n),t):(Lu(t),null);case 22:case 23:return Ss(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&jl)&&(Lu(t),6&t.subtreeFlags&&(t.flags|=8192)):Lu(t),null;case 24:case 25:return null}throw Error(b(156,t.tag))}wu=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}},_u=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,fa(la.current);var o,a=null;switch(n){case"input":i=ce(e,i),r=ce(e,r),a=[];break;case"select":i=X({},i,{value:void 0}),r=X({},r,{value:void 0}),a=[];break;case"textarea":i=ve(e,i),r=ve(e,r),a=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=fi)}for(s in Ae(n,r),n=null,i)if(!r.hasOwnProperty(s)&&i.hasOwnProperty(s)&&null!=i[s])if("style"===s){var u=i[s];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(_.hasOwnProperty(s)?a||(a=[]):(a=a||[]).push(s,null));for(s in r){var l=r[s];if(u=null!=i?i[s]:void 0,r.hasOwnProperty(s)&&l!==u&&(null!=l||null!=u))if("style"===s)if(u){for(o in u)!u.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&u[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(a||(a=[]),a.push(s,n)),n=l;else"dangerouslySetInnerHTML"===s?(l=l?l.__html:void 0,u=u?u.__html:void 0,null!=l&&u!==l&&(a=a||[]).push(s,l)):"children"===s?"string"!=typeof l&&"number"!=typeof l||(a=a||[]).push(s,""+l):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(_.hasOwnProperty(s)?(null!=l&&"onScroll"===s&&Zr("scroll",e),a||u===l||(a=[])):(a=a||[]).push(s,l))}n&&(a=a||[]).push("style",n);var s=a;(t.updateQueue=s)&&(t.flags|=4)}},Su=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ou=M.ReactCurrentOwner,Au=!1;function Iu(e,t,n,r){t.child=null===e?aa(t,null,n,r):oa(t,e.child,n,r)}function Mu(e,t,n,r,i){n=n.render;var o=t.ref;return co(t,i),r=Oa(e,t,n,r,o,i),n=Aa(),null===e||Au?(Vo&&n&&jo(t),t.flags|=1,Iu(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,nl(e,t,i))}function Fu(e,t,n,r,i){if(null===e){var o=n.type;return"function"!=typeof o||Ws(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Vs(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Du(e,t,o,r,i))}if(o=e.child,0==(e.lanes&i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:wr)(a,r)&&e.ref===t.ref)return nl(e,t,i)}return t.flags|=1,(e=qs(o,r)).ref=t.ref,e.return=t,t.child=e}function Du(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(wr(o,r)&&e.ref===t.ref){if(Au=!1,t.pendingProps=r=o,0==(e.lanes&i))return t.lanes=e.lanes,nl(e,t,i);0!=(131072&e.flags)&&(Au=!0)}}return Uu(e,t,n,r,i)}function zu(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},zi(Hl,jl),jl|=n;else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,zi(Hl,jl),jl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,zi(Hl,jl),jl|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,zi(Hl,jl),jl|=r;return Iu(e,t,i,n),t.child}function Bu(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Uu(e,t,n,r,i){var o=qi(n)?Hi:Ui.current;return o=Wi(t,o),co(t,i),n=Oa(e,t,n,r,o,i),r=Aa(),null===e||Au?(Vo&&r&&jo(t),t.flags|=1,Iu(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,nl(e,t,i))}function ju(e,t,n,r,i){if(qi(n)){var o=!0;Yi(t)}else o=!1;if(co(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),Ro(t,n,r),No(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,u=t.memoizedProps;a.props=u;var l=a.context,s=n.contextType;"object"==typeof s&&null!==s?s=fo(s):s=Wi(t,s=qi(n)?Hi:Ui.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(u!==r||l!==s)&&To(t,a,r,s),po=!1;var d=t.memoizedState;a.state=d,_o(t,r,a,i),l=t.memoizedState,u!==r||d!==l||ji.current||po?("function"==typeof c&&(Eo(t,n,c,r),l=t.memoizedState),(u=po||xo(t,n,u,r,d,l,s))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=s,r=u):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,yo(e,t),u=t.memoizedProps,s=t.type===t.elementType?u:no(t.type,u),a.props=s,f=t.pendingProps,d=a.context,"object"==typeof(l=n.contextType)&&null!==l?l=fo(l):l=Wi(t,l=qi(n)?Hi:Ui.current);var h=n.getDerivedStateFromProps;(c="function"==typeof h||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(u!==f||d!==l)&&To(t,a,r,l),po=!1,d=t.memoizedState,a.state=d,_o(t,r,a,i);var p=t.memoizedState;u!==f||d!==p||ji.current||po?("function"==typeof h&&(Eo(t,n,h,r),p=t.memoizedState),(s=po||xo(t,n,s,r,d,p,l)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=l,r=s):("function"!=typeof a.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Hu(e,t,n,r,o,i)}function Hu(e,t,n,r,i,o){Bu(e,t);var a=0!=(128&t.flags);if(!r&&!a)return i&&Gi(t,n,!1),nl(e,t,o);r=t.stateNode,Ou.current=t;var u=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=oa(t,e.child,null,o),t.child=oa(t,null,u,o)):Iu(e,t,u,o),t.memoizedState=r.state,i&&Gi(t,n,!0),t.child}function Wu(e){var t=e.stateNode;t.pendingContext?$i(0,t.pendingContext,t.pendingContext!==t.context):t.context&&$i(0,t.context,!1),da(e,t.containerInfo)}function qu(e,t,n,r,i){return Jo(),ea(i),t.flags|=256,Iu(e,t,n,r),t.child}var Vu={dehydrated:null,treeContext:null,retryLane:0};function $u(e){return{baseLanes:e,cachePool:null,transitions:null}}function Qu(e,t){return{baseLanes:e.baseLanes|t,cachePool:null,transitions:e.transitions}}function Yu(e,t,n){var r,i=t.pendingProps,o=ya.current,a=!1,u=0!=(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(a=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(o|=1),zi(ya,1&o),null===e)return Ko(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(o=i.children,e=i.fallback,a?(i=t.mode,a=t.child,o={mode:"hidden",children:o},0==(1&i)&&null!==a?(a.childLanes=0,a.pendingProps=o):a=Qs(o,i,0,null),e=$s(e,i,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=$u(n),t.memoizedState=Vu,e):Gu(t,o));if(null!==(o=e.memoizedState)){if(null!==(r=o.dehydrated)){if(u)return 256&t.flags?(t.flags&=-257,Xu(e,t,n,Error(b(422)))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=i.fallback,o=t.mode,i=Qs({mode:"visible",children:i.children},o,0,null),(a=$s(a,o,n,null)).flags|=2,i.return=t,a.return=t,i.sibling=a,t.child=i,0!=(1&t.mode)&&oa(t,e.child,null,n),t.child.memoizedState=$u(n),t.memoizedState=Vu,a);if(0==(1&t.mode))t=Xu(e,t,n,null);else if("$!"===r.data)t=Xu(e,t,n,Error(b(419)));else if(i=0!=(n&e.childLanes),Au||i){if(null!==(i=zl)){switch(n&-n){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!==(i=0!=(a&(i.suspendedLanes|n))?0:a)&&i!==o.retryLane&&(o.retryLane=i,fs(e,i,-1))}xs(),t=Xu(e,t,n,Error(b(421)))}else"$?"===r.data?(t.flags|=128,t.child=e.child,t=zs.bind(null,e),r._reactRetry=t,t=null):(n=o.treeContext,qo=_i(r.nextSibling),Wo=t,Vo=!0,$o=null,null!==n&&(Io[Mo++]=Do,Io[Mo++]=zo,Io[Mo++]=Fo,Do=n.id,zo=n.overflow,Fo=t),(t=Gu(t,t.pendingProps.children)).flags|=4096);return t}return a?(i=Zu(e,t,i.children,i.fallback,n),a=t.child,o=e.child.memoizedState,a.memoizedState=null===o?$u(n):Qu(o,n),a.childLanes=e.childLanes&~n,t.memoizedState=Vu,i):(n=Ku(e,t,i.children,n),t.memoizedState=null,n)}return a?(i=Zu(e,t,i.children,i.fallback,n),a=t.child,o=e.child.memoizedState,a.memoizedState=null===o?$u(n):Qu(o,n),a.childLanes=e.childLanes&~n,t.memoizedState=Vu,i):(n=Ku(e,t,i.children,n),t.memoizedState=null,n)}function Gu(e,t){return(t=Qs({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ku(e,t,n,r){var i=e.child;return e=i.sibling,n=qs(i,{mode:"visible",children:n}),0==(1&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n}function Zu(e,t,n,r,i){var o=t.mode,a=(e=e.child).sibling,u={mode:"hidden",children:n};return 0==(1&o)&&t.child!==e?((n=t.child).childLanes=0,n.pendingProps=u,t.deletions=null):(n=qs(e,u)).subtreeFlags=14680064&e.subtreeFlags,null!==a?r=qs(a,r):(r=$s(r,o,i,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function Xu(e,t,n,r){return null!==r&&ea(r),oa(t,e.child,null,n),(e=Gu(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ju(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),so(e.return,t,n)}function el(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function tl(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Iu(e,t,r.children,n),0!=(2&(r=ya.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ju(e,n,t);else if(19===e.tag)Ju(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(zi(ya,r),0==(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===ma(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),el(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===ma(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}el(t,!0,n,null,o);break;case"together":el(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function nl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Vl|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(b(153));if(null!==t.child){for(n=qs(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=qs(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function rl(e,t){switch(Ho(t),t.tag){case 1:return qi(t.type)&&Vi(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ha(),Di(ji),Di(Ui),ba(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ga(t),null;case 13:if(Di(ya),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(b(340));Jo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Di(ya),null;case 4:return ha(),null;case 10:return lo(t.type._context),null;case 22:case 23:return Ss(),null;default:return null}}var il=!1,ol=!1,al="function"==typeof WeakSet?WeakSet:Set,ul=null;function ll(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Ms(e,t,n)}else n.current=null}function sl(e,t,n){try{n()}catch(n){Ms(e,t,n)}}var cl=!1;function fl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&sl(t,n,o)}i=i.next}while(i!==r)}}function dl(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 hl(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 pl(e){var t=e.alternate;null!==t&&(e.alternate=null,pl(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[Ei],delete t[Ci],delete t[Ri],delete t[Ti],delete t[Ni])),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 gl(e){return 5===e.tag||3===e.tag||4===e.tag}function yl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||gl(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 ml(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=fi));else if(4!==r&&null!==(e=e.child))for(ml(e,t,n),e=e.sibling;null!==e;)ml(e,t,n),e=e.sibling}function vl(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(vl(e,t,n),e=e.sibling;null!==e;)vl(e,t,n),e=e.sibling}var bl=null,wl=!1;function _l(e,t,n){for(n=n.child;null!==n;)Sl(e,t,n),n=n.sibling}function Sl(e,t,n){if(wt&&"function"==typeof wt.onCommitFiberUnmount)try{wt.onCommitFiberUnmount(bt,n)}catch(e){}switch(n.tag){case 5:ol||ll(n,t);case 6:var r=bl,i=wl;bl=null,_l(e,t,n),wl=i,null!==(bl=r)&&(wl?(e=bl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):bl.removeChild(n.stateNode));break;case 18:null!==bl&&(wl?(e=bl,n=n.stateNode,8===e.nodeType?wi(e.parentNode,n):1===e.nodeType&&wi(e,n),rn(e)):wi(bl,n.stateNode));break;case 4:r=bl,i=wl,bl=n.stateNode.containerInfo,wl=!0,_l(e,t,n),bl=r,wl=i;break;case 0:case 11:case 14:case 15:if(!ol&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,void 0!==a&&(0!=(2&o)||0!=(4&o))&&sl(n,t,a),i=i.next}while(i!==r)}_l(e,t,n);break;case 1:if(!ol&&(ll(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Ms(n,t,e)}_l(e,t,n);break;case 21:_l(e,t,n);break;case 22:1&n.mode?(ol=(r=ol)||null!==n.memoizedState,_l(e,t,n),ol=r):_l(e,t,n);break;default:_l(e,t,n)}}function kl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new al),t.forEach((function(t){var r=Bs.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function El(e,t){var n=t.deletions;if(null!==n)for(var r=0;ri&&(i=a),r&=~o}if(r=i,10<(r=(120>(r=dt()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Al(r/1960))-r)){e.timeoutHandle=gi(Os.bind(null,e,Gl,Xl),r);break}Os(e,Gl,Xl);break;default:throw Error(b(329))}}}return ps(e,dt()),e.callbackNode===n?gs.bind(null,e):null}function ys(e,t){var n=Yl;return e.current.memoizedState.isDehydrated&&(ks(e,t).flags|=256),2!==(e=Rs(e,t))&&(t=Gl,Gl=n,null!==t&&ms(t)),e}function ms(e){null===Gl?Gl=e:Gl.push.apply(Gl,e)}function vs(e,t){for(t&=~Ql,t&=~$l,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0e?16:e,null===rs)var r=!1;else{if(e=rs,rs=null,is=0,0!=(6&Dl))throw Error(b(331));var i=Dl;for(Dl|=4,ul=e.current;null!==ul;){var o=ul,a=o.child;if(0!=(16&ul.flags)){var u=o.deletions;if(null!==u){for(var l=0;ldt()-Kl?ks(e,0):Ql|=n),ps(e,t)}function Ds(e,t){0===t&&(0==(1&e.mode)?t=1:(t=Ct,0==(130023424&(Ct<<=1))&&(Ct=4194304)));var n=ss();null!==(e=ds(e,t))&&(Ot(e,t,n),ps(e,n))}function zs(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ds(e,n)}function Bs(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(b(314))}null!==r&&r.delete(t),Ds(e,n)}function Us(e,t){return lt(e,t)}function js(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 Hs(e,t,n,r){return new js(e,t,n,r)}function Ws(e){return!(!(e=e.prototype)||!e.isReactComponent)}function qs(e,t){var n=e.alternate;return null===n?((n=Hs(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 Vs(e,t,n,r,i,o){var a=2;if(r=e,"function"==typeof e)Ws(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case z:return $s(n.children,i,o,t);case B:a=8,i|=8;break;case U:return(e=Hs(12,n,t,2|i)).elementType=U,e.lanes=o,e;case q:return(e=Hs(13,n,t,i)).elementType=q,e.lanes=o,e;case V:return(e=Hs(19,n,t,i)).elementType=V,e.lanes=o,e;case Y:return Qs(n,i,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case j:a=10;break e;case H:a=9;break e;case W:a=11;break e;case $:a=14;break e;case Q:a=16,r=null;break e}throw Error(b(130,null==e?e:void 0===e?"undefined":y.default(e),""))}return(t=Hs(a,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function $s(e,t,n,r){return(e=Hs(7,e,r,t)).lanes=n,e}function Qs(e,t,n,r){return(e=Hs(22,e,r,t)).elementType=Y,e.lanes=n,e.stateNode={},e}function Ys(e,t,n){return(e=Hs(6,e,null,t)).lanes=n,e}function Gs(e,t,n){return(t=Hs(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ks(e,t,n,r,i){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=Pt(0),this.expirationTimes=Pt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Zs(e,t,n,r,i,o,a,u,l){return e=new Ks(e,t,n,u,l),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Hs(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},go(o),e}function Xs(e,t,n){var r=3>>1,i=e[r];if(!(0>>1;rC(u,n))lC(s,u)?(e[r]=s,e[l]=n,r=l):(e[r]=u,e[a]=n,r=a);else{if(!(lC(s,n)))break e;e[r]=s,e[l]=n,r=l}}}return t}function C(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(e(t.exports,"unstable_now",(function(){return r}),(function(e){return r=e})),e(t.exports,"unstable_IdlePriority",(function(){return i}),(function(e){return i=e})),e(t.exports,"unstable_ImmediatePriority",(function(){return o}),(function(e){return o=e})),e(t.exports,"unstable_LowPriority",(function(){return a}),(function(e){return a=e})),e(t.exports,"unstable_NormalPriority",(function(){return u}),(function(e){return u=e})),e(t.exports,"unstable_Profiling",(function(){return l}),(function(e){return l=e})),e(t.exports,"unstable_UserBlockingPriority",(function(){return s}),(function(e){return s=e})),e(t.exports,"unstable_cancelCallback",(function(){return c}),(function(e){return c=e})),e(t.exports,"unstable_continueExecution",(function(){return f}),(function(e){return f=e})),e(t.exports,"unstable_forceFrameRate",(function(){return d}),(function(e){return d=e})),e(t.exports,"unstable_getCurrentPriorityLevel",(function(){return h}),(function(e){return h=e})),e(t.exports,"unstable_getFirstCallbackNode",(function(){return p}),(function(e){return p=e})),e(t.exports,"unstable_next",(function(){return g}),(function(e){return g=e})),e(t.exports,"unstable_pauseExecution",(function(){return y}),(function(e){return y=e})),e(t.exports,"unstable_requestPaint",(function(){return m}),(function(e){return m=e})),e(t.exports,"unstable_runWithPriority",(function(){return v}),(function(e){return v=e})),e(t.exports,"unstable_scheduleCallback",(function(){return b}),(function(e){return b=e})),e(t.exports,"unstable_shouldYield",(function(){return w}),(function(e){return w=e})),e(t.exports,"unstable_wrapCallback",(function(){return _}),(function(e){return _=e})),"object"==typeof performance&&"function"==typeof performance.now){var x=performance;r=function(){return x.now()}}else{var R=Date,T=R.now();r=function(){return R.now()-T}}var N=[],L=[],P=1,O=null,A=3,I=!1,M=!1,F=!1,D="function"==typeof setTimeout?setTimeout:null,z="function"==typeof clearTimeout?clearTimeout:null,B="undefined"!=typeof setImmediate?setImmediate:null;function U(e){for(var t=k(L);null!==t;){if(null===t.callback)E(L);else{if(!(t.startTime<=e))break;E(L),t.sortIndex=t.expirationTime,S(N,t)}t=k(L)}}function j(e){if(F=!1,U(e),!M)if(null!==k(N))M=!0,J(H);else{var t=k(L);null!==t&&ee(j,t.startTime-e)}}function H(e,t){M=!1,F&&(F=!1,z($),$=-1),I=!0;var n=A;try{for(U(t),O=k(N);null!==O&&(!(O.expirationTime>t)||e&&!G());){var i=O.callback;if("function"==typeof i){O.callback=null,A=O.priorityLevel;var o=i(O.expirationTime<=t);t=r(),"function"==typeof o?O.callback=o:O===k(N)&&E(N),U(t)}else E(N);O=k(N)}if(null!==O)var a=!0;else{var u=k(L);null!==u&&ee(j,u.startTime-t),a=!1}return a}finally{O=null,A=n,I=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var W,q=!1,V=null,$=-1,Q=5,Y=-1;function G(){return!(r()-Ye||125i?(e.sortIndex=n,S(L,e),null===k(N)&&e===k(L)&&(F?(z($),$=-1):F=!0,ee(j,n-i))):(e.sortIndex=o,S(N,e),M||I||(M=!0,J(H))),e},w=G,_=function(e){var t=A;return function(){var n=A;A=t;try{return e.apply(this,arguments)}finally{A=n}}}})),o.register("cJEM2",(function(e,t){var n,r=o("dBpGv");e.exports.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},e.exports.save=function(t){try{t?e.exports.storage.setItem("debug",t):e.exports.storage.removeItem("debug")}catch(e){}},e.exports.load=function(){var t;try{t=e.exports.storage.getItem("debug")}catch(e){}!t&&void 0!==r&&"env"in r&&(t=void 0);return t},e.exports.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.exports.storage=function(){try{return localStorage}catch(e){}}(),e.exports.destroy=(n=!1,function(){n||(n=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}),e.exports.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports.log=console.debug||console.log||function(){},e.exports=o("eIwz5")(e.exports),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}})),o.register("dBpGv",(function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,s=[],c=!1,f=-1;function d(){c&&l&&(c=!1,l.length?s=l.concat(s):f=-1,s.length&&h())}function h(){if(!c){var e=u(d);c=!0;for(var t=s.length;t;){for(l=s,s=[];++f1)for(var n=1;n=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,t){t=t||{};var o,f,d=void 0===e?"undefined":n.default(e);if("string"===d&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*s;case"weeks":case"week":case"w":return n*l;case"days":case"day":case"d":return n*u;case"hours":case"hour":case"hrs":case"hr":case"h":return n*a;case"minutes":case"minute":case"mins":case"min":case"m":return n*i;case"seconds":case"second":case"secs":case"sec":case"s":return n*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}(e);if("number"===d&&isFinite(e))return t.long?(o=e,(f=Math.abs(o))>=u?c(o,f,u,"day"):f>=a?c(o,f,a,"hour"):f>=i?c(o,f,i,"minute"):f>=r?c(o,f,r,"second"):o+" ms"):function(e){var t=Math.abs(e);return t>=u?Math.round(e/u)+"d":t>=a?Math.round(e/a)+"h":t>=i?Math.round(e/i)+"m":t>=r?Math.round(e/r)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}})),o.register("binBr",(function(e,t){(t=e.exports=o("7AzFe")).Stream=t,t.Readable=t,t.Writable=o("kRAJu"),t.Duplex=o("8PrGf"),t.Transform=o("72Iea"),t.PassThrough=o("hPnXi"),t.finished=o("bSCnS"),t.pipeline=o("rmlaG")})),o.register("7AzFe",(function(e,n){var r,i=o("dBpGv");e.exports=x,x.ReadableState=C;o("kalHn").EventEmitter;var a=function(e,t){return e.listeners(t).length},u=o("l31rl"),l=o("gYqtZ").Buffer,s=t.Uint8Array||function(){};var c,f=o("hflOh");c=f&&f.debuglog?f.debuglog("stream"):function(){};var d,h,p,g=o("k4s5x"),y=o("3mFg0"),m=o("fh9xZ").getHighWaterMark,v=o("jzrri").codes,b=v.ERR_INVALID_ARG_TYPE,w=v.ERR_STREAM_PUSH_AFTER_EOF,_=v.ERR_METHOD_NOT_IMPLEMENTED,S=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;o("fCNxt")(x,u);var k=y.errorOrDestroy,E=["error","close","destroy","pause","resume"];function C(e,t,n){r=r||o("8PrGf"),e=e||{},"boolean"!=typeof n&&(n=t instanceof r),this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=m(this,e,"readableHighWaterMark",n),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(d||(d=o("dzTPi").StringDecoder),this.decoder=new d(e.encoding),this.encoding=e.encoding)}function x(e){if(r=r||o("8PrGf"),!(this instanceof x))return new x(e);var t=this instanceof r;this._readableState=new C(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),u.call(this)}function R(e,t,n,r,i){c("readableAddChunk",t);var o,a=e._readableState;if(null===t)a.reading=!1,function(e,t){if(c("onEofChunk"),t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?P(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,O(e)))}(e,a);else if(i||(o=function(e,t){var n;r=t,l.isBuffer(r)||r instanceof s||"string"==typeof t||void 0===t||e.objectMode||(n=new b("chunk",["string","Buffer","Uint8Array"],t));var r;return n}(a,t)),o)k(e,o);else if(a.objectMode||t&&t.length>0)if("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),r)a.endEmitted?k(e,new S):T(e,a,t,!0);else if(a.ended)k(e,new w);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?T(e,a,t,!1):A(e,a)):T(e,a,t,!1)}else r||(a.reading=!1,A(e,a));return!a.ended&&(a.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=N?e=N:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function P(e){var t=e._readableState;c("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(c("emitReadable",t.flowing),t.emittedReadable=!0,i.nextTick(O,e))}function O(e){var t=e._readableState;c("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,z(e)}function A(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(I,e,t))}function I(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function F(e){c("readable nexttick read 0"),e.read(0)}function D(e,t){c("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),z(e),t.flowing&&!t.reading&&e.read(0)}function z(e){var t=e._readableState;for(c("flow",t.flowing);t.flowing&&null!==e.read(););}function B(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function U(e){var t=e._readableState;c("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,i.nextTick(j,t,e))}function j(e,t){if(c("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function H(e,t){for(var n=0,r=e.length;n=t.highWaterMark:t.length>0)||t.ended))return c("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?U(this):P(this),null;if(0===(e=L(e,t))&&t.ended)return 0===t.length&&U(this),null;var r,i=t.needReadable;return c("need readable",i),(0===t.length||t.length-e0?B(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&U(this)),null!==r&&this.emit("data",r),r},x.prototype._read=function(e){k(this,new _("_read()"))},x.prototype.pipe=function(e,t){var n=function(e,t){c("onunpipe"),e===d&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,o())},r=function(){c("onend"),e.end()},o=function(){c("cleanup"),e.removeListener("close",l),e.removeListener("finish",s),e.removeListener("drain",g),e.removeListener("error",m),e.removeListener("unpipe",n),d.removeListener("end",r),d.removeListener("end",f),d.removeListener("data",u),y=!0,!h.awaitDrain||e._writableState&&!e._writableState.needDrain||g()},u=function(t){c("ondata");var n=e.write(t);c("dest.write",n),!1===n&&((1===h.pipesCount&&h.pipes===e||h.pipesCount>1&&-1!==H(h.pipes,e))&&!y&&(c("false write response, pause",h.awaitDrain),h.awaitDrain++),d.pause())},l=function(){e.removeListener("finish",s),f()},s=function(){c("onfinish"),e.removeListener("close",l),f()},f=function(){c("unpipe"),d.unpipe(e)},d=this,h=this._readableState;switch(h.pipesCount){case 0:h.pipes=e;break;case 1:h.pipes=[h.pipes,e];break;default:h.pipes.push(e)}h.pipesCount+=1,c("pipe count=%d opts=%j",h.pipesCount,t);var p=(!t||!1!==t.end)&&e!==i.stdout&&e!==i.stderr?r:f;h.endEmitted?i.nextTick(p):d.once("end",p),e.on("unpipe",n);var g=function(e){return function(){var t=e._readableState;c("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,z(e))}}(d);e.on("drain",g);var y=!1;function m(t){c("onerror",t),f(),e.removeListener("error",m),0===a(e,"error")&&k(e,t)}return d.on("data",u),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",m),e.once("close",l),e.once("finish",s),e.emit("pipe",d),h.flowing||(c("pipe resume"),d.resume()),e},x.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==r.flowing&&this.resume()):"readable"===e&&(r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,c("on readable",r.length,r.reading),r.length?P(this):r.reading||i.nextTick(F,this))),n},x.prototype.addListener=x.prototype.on,x.prototype.removeListener=function(e,t){var n=u.prototype.removeListener.call(this,e,t);return"readable"===e&&i.nextTick(M,this),n},x.prototype.removeAllListeners=function(e){var t=u.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||i.nextTick(M,this),t},x.prototype.resume=function(){var e=this._readableState;return e.flowing||(c("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(D,e,t))}(this,e)),e.paused=!1,this},x.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},x.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(c("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(c("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i)||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o0&&a.length>i&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,u=l,console&&console.warn&&console.warn(u)}return e}function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=h.bind(r);return i.listener=n,r.wrapFn=i,i}function g(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(o=t[0]),o instanceof Error)throw o;var u=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw u.context=o,u}var l=i[e];if(void 0===l)return!1;if("function"==typeof l)a(l,this,t);else{var s=l.length,c=m(l,s);for(n=0;n=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},l.prototype.listeners=function(e){return g(this,e,!0)},l.prototype.rawListeners=function(e){return g(this,e,!1)},l.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):y.call(e,t)},l.prototype.listenerCount=y,l.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}})),o.register("l31rl",(function(e,t){e.exports=o("kalHn").EventEmitter})),o.register("gYqtZ",(function(t,n){e(t.exports,"Buffer",(function(){return r}),(function(e){return r=e})),e(t.exports,"SlowBuffer",(function(){return i}),(function(e){return i=e})),e(t.exports,"INSPECT_MAX_BYTES",(function(){return a}),(function(e){return a=e})),e(t.exports,"kMaxLength",(function(){return u}),(function(e){return u=e}));var r,i,a,u,l=o("cMx1a"),s=o("5sOlj"),c=o("8Z5m2"),f=o("b2dei"),d=o("a6l7N"),h=o("fl1MQ"),p=o("bc50k"),g=o("lEIvB"),y="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;r=b,i=function(e){+e!=e&&(e=0);return b.alloc(+e)},a=50;var m=2147483647;function v(e){if(e>m)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,b.prototype),t}function b(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return S(e)}return w(e,t,n)}function w(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!b.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|x(e,t),r=v(n),i=r.write(e,t);i!==n&&(r=r.slice(0,i));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(ae(e,Uint8Array)){var t=new Uint8Array(e);return E(t.buffer,t.byteOffset,t.byteLength)}return k(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+(void 0===e?"undefined":l.default(e)));if(ae(e,ArrayBuffer)||e&&ae(e.buffer,ArrayBuffer))return E(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(ae(e,SharedArrayBuffer)||e&&ae(e.buffer,SharedArrayBuffer)))return E(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return b.from(r,t,n);var i=function(e){if(b.isBuffer(e)){var t=0|C(e.length),n=v(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||ue(e.length)?v(0):k(e);if("Buffer"===e.type&&Array.isArray(e.data))return k(e.data)}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return b.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+(void 0===e?"undefined":l.default(e)))}function _(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function S(e){return _(e),v(e<0?0:0|C(e))}function k(e){for(var t=e.length<0?0:0|C(e.length),n=v(t),r=0;r=m)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+m.toString(16)+" bytes");return 0|e}function x(e,t){if(b.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||ae(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+(void 0===e?"undefined":l.default(e)));var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return re(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return ie(e).length;default:if(i)return r?-1:re(e).length;t=(""+t).toLowerCase(),i=!0}}function R(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return j(this,t,n);case"utf8":case"utf-8":return D(this,t,n);case"ascii":return B(this,t,n);case"latin1":case"binary":return U(this,t,n);case"base64":return F(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function T(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function N(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),ue(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=b.from(t,r)),b.isBuffer(t))return 0===t.length?-1:L(e,t,n,r,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):L(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function L(e,t,n,r,i){var o,a=function(e,t){return 1===u?e[t]:e.readUInt16BE(t*u)},u=1,l=e.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;u=2,l/=2,s/=2,n/=2}if(i){var c=-1;for(o=n;ol&&(n=l-s),o=n;o>=0;o--){for(var f=!0,d=0;di&&(r=i):r=i;var o,a=t.length;for(r>a/2&&(r=a/2),o=0;o>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function F(e,t,n){return 0===t&&n===e.length?p.fromByteArray(e):p.fromByteArray(e.slice(t,n))}function D(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:o>223?3:o>191?2:1;if(i+u<=n){var l=void 0,s=void 0,c=void 0,f=void 0;switch(u){case 1:o<128&&(a=o);break;case 2:128==(192&(l=e[i+1]))&&(f=(31&o)<<6|63&l)>127&&(a=f);break;case 3:l=e[i+1],s=e[i+2],128==(192&l)&&128==(192&s)&&(f=(15&o)<<12|(63&l)<<6|63&s)>2047&&(f<55296||f>57343)&&(a=f);break;case 4:l=e[i+1],s=e[i+2],c=e[i+3],128==(192&l)&&128==(192&s)&&128==(192&c)&&(f=(15&o)<<18|(63&l)<<12|(63&s)<<6|63&c)>65535&&f<1114112&&(a=f)}}null===a?(a=65533,u=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),i+=u}return function(e){var t=e.length;if(t<=z)return String.fromCharCode.apply(String,e);var n="",r=0;for(;rr.length?(b.isBuffer(o)||(o=b.from(o)),o.copy(r,i)):Uint8Array.prototype.set.call(r,o,i);else{if(!b.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i)}i+=o.length}return r},b.byteLength=x,b.prototype._isBuffer=!0,b.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;tt&&(e+=" ... "),""},y&&(b.prototype[y]=b.prototype.inspect),b.prototype.compare=function(e,t,n,r,i){if(ae(e,Uint8Array)&&(e=b.from(e,e.offset,e.byteLength)),!b.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+(void 0===e?"undefined":l.default(e)));if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),u=Math.min(o,a),s=this.slice(r,i),c=e.slice(t,n),f=0;f>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return P(this,e,t,n);case"utf8":case"utf-8":return O(this,e,t,n);case"ascii":case"latin1":case"binary":return A(this,e,t,n);case"base64":return I(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},b.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var z=4096;function B(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function q(e,t,n,r,i,o){if(!b.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function V(e,t,n,r,i){J(t,r,i,e,n,7);var o=Number(t&BigInt(4294967295));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;var a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function $(e,t,n,r,i){J(t,r,i,e,n,7);var o=Number(t&BigInt(4294967295));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;var a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function Q(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Y(e,t,n,r,i){return t=+t,n>>>=0,i||Q(e,0,n,4),g.write(e,t,n,r,23,4),n+4}function G(e,t,n,r,i){return t=+t,n>>>=0,i||Q(e,0,n,8),g.write(e,t,n,r,52,8),n+8}b.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||W(e,t,this.length);for(var r=this[e],i=1,o=0;++o>>=0,t>>>=0,n||W(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},b.prototype.readUint8=b.prototype.readUInt8=function(e,t){return e>>>=0,t||W(e,1,this.length),this[e]},b.prototype.readUint16LE=b.prototype.readUInt16LE=function(e,t){return e>>>=0,t||W(e,2,this.length),this[e]|this[e+1]<<8},b.prototype.readUint16BE=b.prototype.readUInt16BE=function(e,t){return e>>>=0,t||W(e,2,this.length),this[e]<<8|this[e+1]},b.prototype.readUint32LE=b.prototype.readUInt32LE=function(e,t){return e>>>=0,t||W(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},b.prototype.readUint32BE=b.prototype.readUInt32BE=function(e,t){return e>>>=0,t||W(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},b.prototype.readBigUInt64LE=se((function(e){ee(e>>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||te(e,this.length-8);var r=t+256*this[++e]+65536*this[++e]+this[++e]*Math.pow(2,24),i=this[++e]+256*this[++e]+65536*this[++e]+n*Math.pow(2,24);return BigInt(r)+(BigInt(i)<>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||te(e,this.length-8);var r=t*Math.pow(2,24)+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*Math.pow(2,24)+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<>>=0,t>>>=0,n||W(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},b.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||W(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},b.prototype.readInt8=function(e,t){return e>>>=0,t||W(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},b.prototype.readInt16LE=function(e,t){e>>>=0,t||W(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},b.prototype.readInt16BE=function(e,t){e>>>=0,t||W(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},b.prototype.readInt32LE=function(e,t){return e>>>=0,t||W(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},b.prototype.readInt32BE=function(e,t){return e>>>=0,t||W(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},b.prototype.readBigInt64LE=se((function(e){ee(e>>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||te(e,this.length-8);var r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||te(e,this.length-8);var r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<>>=0,t||W(e,4,this.length),g.read(this,e,!0,23,4)},b.prototype.readFloatBE=function(e,t){return e>>>=0,t||W(e,4,this.length),g.read(this,e,!1,23,4)},b.prototype.readDoubleLE=function(e,t){return e>>>=0,t||W(e,8,this.length),g.read(this,e,!0,52,8)},b.prototype.readDoubleBE=function(e,t){return e>>>=0,t||W(e,8,this.length),g.read(this,e,!1,52,8)},b.prototype.writeUintLE=b.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||q(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o>>=0,n>>>=0,r)||q(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},b.prototype.writeUint8=b.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||q(this,e,t,1,255,0),this[t]=255&e,t+1},b.prototype.writeUint16LE=b.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||q(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},b.prototype.writeUint16BE=b.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||q(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},b.prototype.writeUint32LE=b.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||q(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},b.prototype.writeUint32BE=b.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||q(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},b.prototype.writeBigUInt64LE=se((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return V(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),b.prototype.writeBigUInt64BE=se((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return $(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),b.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);q(this,e,t,n,i-1,-i)}var o=0,a=1,u=0;for(this[t]=255&e;++o>0)-u&255;return t+n},b.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);q(this,e,t,n,i-1,-i)}var o=n-1,a=1,u=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===u&&0!==this[t+o+1]&&(u=1),this[t+o]=(e/a>>0)-u&255;return t+n},b.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||q(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},b.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||q(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},b.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||q(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},b.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||q(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},b.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||q(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},b.prototype.writeBigInt64LE=se((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return V(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),b.prototype.writeBigInt64BE=se((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return $(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),b.prototype.writeFloatLE=function(e,t,n){return Y(this,e,t,!0,n)},b.prototype.writeFloatBE=function(e,t,n){return Y(this,e,t,!1,n)},b.prototype.writeDoubleLE=function(e,t,n){return G(this,e,t,!0,n)},b.prototype.writeDoubleBE=function(e,t,n){return G(this,e,t,!1,n)},b.prototype.copy=function(e,t,n,r){if(!b.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o=r+4;n-=3)t="_".concat(e.slice(n-3,n)).concat(t);return"".concat(e.slice(0,n)).concat(t)}function J(e,t,n,r,i,o){if(e>n||e3?0===t||t===BigInt(0)?">= 0".concat(u," and < 2").concat(u," ** ").concat(8*(o+1)).concat(u):">= -(2".concat(u," ** ").concat(8*(o+1)-1).concat(u,") and < 2 ** ")+"".concat(8*(o+1)-1).concat(u):">= ".concat(t).concat(u," and <= ").concat(n).concat(u),new K.ERR_OUT_OF_RANGE("value",a,e)}!function(e,t,n){ee(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||te(t,e.length-(n+1))}(r,i,o)}function ee(e,t){if("number"!=typeof e)throw new K.ERR_INVALID_ARG_TYPE(t,"number",e)}function te(e,t,n){if(Math.floor(e)!==e)throw ee(e,n),new K.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new K.ERR_BUFFER_OUT_OF_BOUNDS;throw new K.ERR_OUT_OF_RANGE(n||"offset",">= ".concat(n?1:0," and <= ").concat(t),e)}Z("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?"".concat(e," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"}),RangeError),Z("ERR_INVALID_ARG_TYPE",(function(e,t){return'The "'.concat(e,'" argument must be of type number. Received type ').concat(void 0===t?"undefined":l.default(t))}),TypeError),Z("ERR_OUT_OF_RANGE",(function(e,t,n){var r='The value of "'.concat(e,'" is out of range.'),i=n;return Number.isInteger(n)&&Math.abs(n)>Math.pow(2,32)?i=X(String(n)):"bigint"===(void 0===n?"undefined":l.default(n))&&(i=String(n),(n>Math.pow(BigInt(2),BigInt(32))||n<-Math.pow(BigInt(2),BigInt(32)))&&(i=X(i)),i+="n"),r+=" It must be ".concat(t,". Received ").concat(i)}),RangeError);var ne=/[^+/0-9A-Za-z-_]/g;function re(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function ie(e){return p.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(ne,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function oe(e,t,n,r){var i;for(i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function ae(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function ue(e){return e!=e}var le=function(){for(var e="0123456789abcdef",t=new Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)t[r+i]=e[n]+e[i];return t}();function se(e){return"undefined"==typeof BigInt?ce:e}function ce(){throw new Error("BigInt not supported")}})),o.register("bc50k",(function(t,n){var r,i;e(t.exports,"toByteArray",(function(){return r}),(function(e){return r=e})),e(t.exports,"fromByteArray",(function(){return i}),(function(e){return i=e})),r=function(e){var t,n,r=f(e),i=r[0],o=r[1],l=new u(function(e,t,n){return 3*(t+n)/4-n}(0,i,o)),s=0,c=o>0?i-4:i;for(n=0;n>16&255,l[s++]=t>>8&255,l[s++]=255&t;2===o&&(t=a[e.charCodeAt(n)]<<2|a[e.charCodeAt(n+1)]>>4,l[s++]=255&t);1===o&&(t=a[e.charCodeAt(n)]<<10|a[e.charCodeAt(n+1)]<<4|a[e.charCodeAt(n+2)]>>2,l[s++]=t>>8&255,l[s++]=255&t);return l},i=function(e){for(var t,n=e.length,r=n%3,i=[],a=16383,u=0,l=n-r;ul?l:u+a));1===r?(t=e[n-1],i.push(o[t>>2]+o[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],i.push(o[t>>10]+o[t>>4&63]+o[t<<2&63]+"="));return i.join("")};for(var o=[],a=[],u="undefined"!=typeof Uint8Array?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=l.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function d(e,t,n){for(var r,i,a=[],u=t;u>18&63]+o[i>>12&63]+o[i>>6&63]+o[63&i]);return a.join("")}a["-".charCodeAt(0)]=62,a["_".charCodeAt(0)]=63})),o.register("lEIvB",(function(t,n){ +/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */var r,i;e(t.exports,"read",(function(){return r}),(function(e){return r=e})),e(t.exports,"write",(function(){return i}),(function(e){return i=e})),r=function(e,t,n,r,i){var o,a,u=8*i-r-1,l=(1<>1,c=-7,f=n?i-1:0,d=n?-1:1,h=e[t+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=u;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-s;else{if(o===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=s}return(h?-1:1)*a*Math.pow(2,o-r)},i=function(e,t,n,r,i,o){var a,u,l,s=8*o-i-1,c=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(u=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+f>=1?d/l:d*Math.pow(2,1-f))*l>=2&&(a++,l/=2),a+f>=c?(u=0,a=c):a+f>=1?(u=(t*l-1)*Math.pow(2,i),a+=f):(u=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&u,h+=p,u/=256,i-=8);for(a=a<0;e[n+h]=255&a,h+=p,a/=256,s-=8);e[n+h-p]|=128*g}})),o.register("hflOh",(function(e,t){})),o.register("k4s5x",(function(e,t){function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){for(var n=0;n0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return a.alloc(0);for(var t,n,r,i=a.allocUnsafe(e>>>0),o=this.head,u=0;o;)t=o.data,n=i,r=u,a.prototype.copy.call(t,n,r),u+=o.data.length,o=o.next;return i}},{key:"consume",value:function(e,t){var n;return ei.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0==(e-=o)){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=a.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,t}},{key:l,value:function(e,t){return u(this,function(e){for(var t=arguments,i=function(i){var o=null!=t[i]?t[i]:{};i%2?n(Object(o),!0).forEach((function(t){r(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))},o=1;o2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}u("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),u("ERR_INVALID_ARG_TYPE",(function(e,t,n){var r,o,a,u;if("string"==typeof t&&(o="not ",t.substr(!a||a<0?0:+a,o.length)===o)?(r="must not be",t=t.replace(/^not /,"")):r="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))u="The ".concat(e," ").concat(r," ").concat(l(t,"type"));else{var s=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";u='The "'.concat(e,'" ').concat(s," ").concat(r," ").concat(l(t,"type"))}return u+=". Received type ".concat(void 0===n?"undefined":i.default(n))}),TypeError),u("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),u("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),u("ERR_STREAM_PREMATURE_CLOSE","Premature close"),u("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),u("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),u("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),u("ERR_STREAM_WRITE_AFTER_END","write after end"),u("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),u("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),u("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),r=a})),o.register("fCNxt",(function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}})),o.register("8PrGf",(function(e,t){var n=o("dBpGv"),r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=c;var i=o("7AzFe"),a=o("kRAJu");o("fCNxt")(c,i);for(var u=r(a.prototype),l=0;l-1))throw new S(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(x.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(x.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),x.prototype._write=function(e,t,n){n(new y("_write()"))},x.prototype._writev=null,x.prototype.end=function(e,t,n){var r=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,O(e,t),n&&(t.finished?i.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n),this},Object.defineProperty(x.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(x.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),x.prototype.destroy=d.destroy,x.prototype._undestroy=d.undestroy,x.prototype._destroy=function(e,t){t(e)}})),o.register("iZMe5",(function(e,n){function r(e){try{if(!t.localStorage)return!1}catch(e){return!1}var n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}e.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}})),o.register("dzTPi",(function(t,n){var r;e(t.exports,"StringDecoder",(function(){return r}),(function(e){return r=e}));var i=o("8P62q").Buffer,a=i.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function u(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(i.isEncoding===a||!a(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=f,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=d,this.end=h,t=3;break;default:return this.write=p,void(this.end=g)}this.lastNeed=0,this.lastTotal=0,this.lastChar=i.allocUnsafe(t)}function l(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function f(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function d(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function p(e){return e.toString(this.encoding)}function g(e){return e&&e.length?this.write(e):""}r=u,u.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0)return i>0&&(e.lastNeed=i-1),i;if(--r=0)return i>0&&(e.lastNeed=i-2),i;if(--r=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},u.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}})),o.register("8P62q",(function(e,t){var n=o("gYqtZ"),r=n.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return r(e,t,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(i(n,e.exports),e.exports.Buffer=a),a.prototype=Object.create(r.prototype),i(r,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=r(e);return void 0!==t?"string"==typeof n?i.fill(t,n):i.fill(t):i.fill(0),i},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}})),o.register("eNI6A",(function(e,t){var n,r=o("dBpGv");function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=o("bSCnS"),u=Symbol("lastResolve"),l=Symbol("lastReject"),s=Symbol("error"),c=Symbol("ended"),f=Symbol("lastPromise"),d=Symbol("handlePromise"),h=Symbol("stream");function p(e,t){return{value:e,done:t}}function g(e){var t=e[u];if(null!==t){var n=e[h].read();null!==n&&(e[f]=null,e[u]=null,e[l]=null,t(p(n,!1)))}}function y(e){r.nextTick(g,e)}var m=Object.getPrototypeOf((function(){})),v=Object.setPrototypeOf((i(n={get stream(){return this[h]},next:function(){var e=this,t=this[s];if(null!==t)return Promise.reject(t);if(this[c])return Promise.resolve(p(void 0,!0));if(this[h].destroyed)return new Promise((function(t,n){r.nextTick((function(){e[s]?n(e[s]):t(p(void 0,!0))}))}));var n,i=this[f];if(i)n=new Promise(function(e,t){return function(n,r){e.then((function(){t[c]?n(p(void 0,!0)):t[d](n,r)}),r)}}(i,this));else{var o=this[h].read();if(null!==o)return Promise.resolve(p(o,!1));n=new Promise(this[d])}return this[f]=n,n}},Symbol.asyncIterator,(function(){return this})),i(n,"return",(function(){var e=this;return new Promise((function(t,n){e[h].destroy(null,(function(e){e?n(e):t(p(void 0,!0))}))}))})),n),m);e.exports=function(e){var t,n=Object.create(v,(i(t={},h,{value:e,writable:!0}),i(t,u,{value:null,writable:!0}),i(t,l,{value:null,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,c,{value:e._readableState.endEmitted,writable:!0}),i(t,d,{value:function(e,t){var r=n[h].read();r?(n[f]=null,n[u]=null,n[l]=null,e(p(r,!1))):(n[u]=e,n[l]=t)},writable:!0}),t));return n[f]=null,a(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[l];return null!==t&&(n[f]=null,n[u]=null,n[l]=null,t(e)),void(n[s]=e)}var r=n[u];null!==r&&(n[f]=null,n[u]=null,n[l]=null,r(p(void 0,!0))),n[c]=!0})),e.on("readable",y.bind(null,n)),n}})),o.register("bSCnS",(function(e,t){var n=o("jzrri").codes.ERR_STREAM_PREMATURE_CLOSE;function r(){}e.exports=function e(t,i,o){if("function"==typeof i)return e(t,null,i);i||(i={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),i=0;i0,(function(e){r||(r=e),e&&a.forEach(s),i||(a.forEach(s),o(r))}))}));return t.reduce(c)}}));var a,u;a=o("ffpxi");var l;!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)}}(),u=(l=o("UaKnH")).createRoot,l.hydrateRoot;var s=o("lY8Fy"),c=o("vNR9i"),f={},d=function(e){var t,n=function(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]},r=function(e,t,n,r){var i=t&&t.prototype instanceof o?t:o,a=Object.create(i.prototype),u=new h(r||[]);return a._invoke=c(e,n,u),a},i=function(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}},o=function(){},a=function(){},u=function(){},l=function(e){["next","throw","return"].forEach((function(t){n(e,t,(function(e){return this._invoke(t,e)}))}))},s=function(e,t){function n(r,o,a,u){var l=i(e[r],e,o);if("throw"!==l.type){var s=l.arg,c=s.value;return c&&"object"==typeof c&&m.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,a,u)}),(function(e){n("throw",e,a,u)})):t.resolve(c).then((function(e){s.value=e,a(s)}),(function(e){return n("throw",e,a,u)}))}u(l.arg)}var r;this._invoke=function(e,i){function o(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(o,o):o()}},c=function(e,t,n){var r=S;return function(o,a){if(r===E)throw new Error("Generator is already running");if(r===C){if("throw"===o)throw a;return g()}for(n.method=o,n.arg=a;;){var u=n.delegate;if(u){var l=P(u,n);if(l){if(l===x)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===S)throw r=C,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=E;var s=i(e,t,n);if("normal"===s.type){if(r=n.done?C:k,s.arg===x)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=C,n.method="throw",n.arg=s.arg)}}},f=function(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)},d=function(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t},h=function(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(f,this),this.reset(!0)},p=function(e){if(e){var n=e[b];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function n(){for(;++r=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var u=m.call(o,"catchLoc"),l=m.call(o,"finallyLoc");if(u&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&m.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),d(n),x}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;d(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:p(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),x}},e}(f);try{regeneratorRuntime=d}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=d:Function("r","regeneratorRuntime = r")(d)}var h,p,g=o("lyfIv"),y=o("5sOlj"),m=o("8Z5m2"),v=o("b2dei"),b=o("iMeu1"),w=o("fl1MQ"),_=o("cJEM2")("simple-peer");p=function(){if("undefined"==typeof globalThis)return null;var e={RTCPeerConnection:globalThis.RTCPeerConnection||globalThis.mozRTCPeerConnection||globalThis.webkitRTCPeerConnection,RTCSessionDescription:globalThis.RTCSessionDescription||globalThis.mozRTCSessionDescription||globalThis.webkitRTCSessionDescription,RTCIceCandidate:globalThis.RTCIceCandidate||globalThis.mozRTCIceCandidate||globalThis.webkitRTCIceCandidate};return e.RTCPeerConnection?e:null};var S={},k=o("dBpGv");var E={},C=(H=o("gYqtZ")).Buffer;function x(e,t){for(var n in e)t[n]=e[n]}function R(e,t,n){return C(e,t,n)}C.from&&C.alloc&&C.allocUnsafe&&C.allocUnsafeSlow?E=H:(x(H,E),E.Buffer=R),x(C,R),R.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return C(e,t,n)},R.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=C(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},R.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return C(e)},R.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return H.SlowBuffer(e)};var T=E.Buffer,N=t.crypto||t.msCrypto;S=N&&N.getRandomValues?function(e,t){if(e>4294967295)throw new RangeError("requested too many random bytes");var n=T.allocUnsafe(e);if(e>0)if(e>65536)for(var r=0;r65536?(this._debug("start backpressure: bufferedAmount %d",this._channel.bufferedAmount),this._cb=n):n(null)}else this._debug("write before connect"),this._chunk=e,this._cb=n}},{key:"_onFinish",value:function(){var e=this;if(!this.destroyed){var t=function(){var t=e;setTimeout((function(){return t.destroy()}),1e3)};this._connected?t():this.once("connect",t)}}},{key:"_startIceCompleteTimeout",value:function(){var e=this;this.destroyed||this._iceCompleteTimer||(this._debug("started iceComplete timeout"),this._iceCompleteTimer=setTimeout((function(){e._iceComplete||(e._iceComplete=!0,e._debug("iceComplete timeout completed"),e.emit("iceTimeout"),e.emit("_iceComplete"))}),this.iceCompleteTimeout))}},{key:"_createOffer",value:function(){var e=this;this.destroyed||this._pc.createOffer(this.offerOptions).then((function(t){var n=e;if(!e.destroyed){e.trickle||e.allowHalfTrickle||(t.sdp=F(t.sdp)),t.sdp=e.sdpTransform(t.sdp);var r=function(){if(!n.destroyed){var e=n._pc.localDescription||t;n._debug("signal"),n.emit("signal",{type:e.type,sdp:e.sdp})}};e._pc.setLocalDescription(t).then((function(){n._debug("createOffer success"),n.destroyed||(n.trickle||n._iceComplete?r():n.once("_iceComplete",r))})).catch((function(e){n.destroy(A(e,"ERR_SET_LOCAL_DESCRIPTION"))}))}})).catch((function(t){e.destroy(A(t,"ERR_CREATE_OFFER"))}))}},{key:"_requestMissingTransceivers",value:function(){var e=this;this._pc.getTransceivers&&this._pc.getTransceivers().forEach((function(t){t.mid||!t.sender.track||t.requested||(t.requested=!0,e.addTransceiver(t.sender.track.kind))}))}},{key:"_createAnswer",value:function(){var e=this;this.destroyed||this._pc.createAnswer(this.answerOptions).then((function(t){var n=e;if(!e.destroyed){e.trickle||e.allowHalfTrickle||(t.sdp=F(t.sdp)),t.sdp=e.sdpTransform(t.sdp);var r=function(){if(!n.destroyed){var e=n._pc.localDescription||t;n._debug("signal"),n.emit("signal",{type:e.type,sdp:e.sdp}),n.initiator||n._requestMissingTransceivers()}};e._pc.setLocalDescription(t).then((function(){n.destroyed||(n.trickle||n._iceComplete?r():n.once("_iceComplete",r))})).catch((function(e){n.destroy(A(e,"ERR_SET_LOCAL_DESCRIPTION"))}))}})).catch((function(t){e.destroy(A(t,"ERR_CREATE_ANSWER"))}))}},{key:"_onConnectionStateChange",value:function(){this.destroyed||"failed"===this._pc.connectionState&&this.destroy(A(new Error("Connection failed."),"ERR_CONNECTION_FAILURE"))}},{key:"_onIceStateChange",value:function(){if(!this.destroyed){var e=this._pc.iceConnectionState,t=this._pc.iceGatheringState;this._debug("iceStateChange (connection: %s) (gathering: %s)",e,t),this.emit("iceStateChange",e,t),"connected"!==e&&"completed"!==e||(this._pcReady=!0,this._maybeReady()),"failed"===e&&this.destroy(A(new Error("Ice connection failed."),"ERR_ICE_CONNECTION_FAILURE")),"closed"===e&&this.destroy(A(new Error("Ice connection closed."),"ERR_ICE_CONNECTION_CLOSED"))}}},{key:"getStats",value:function(e){var t=this,n=function(e){return"[object Array]"===Object.prototype.toString.call(e.values)&&e.values.forEach((function(t){Object.assign(e,t)})),e};0===this._pc.getStats.length||this._isReactNativeWebrtc?this._pc.getStats().then((function(t){var r=[];t.forEach((function(e){r.push(n(e))})),e(null,r)}),(function(t){return e(t)})):this._pc.getStats.length>0?this._pc.getStats((function(r){if(!t.destroyed){var i=[];r.result().forEach((function(e){var t={};e.names().forEach((function(n){t[n]=e.stat(n)})),t.id=e.id,t.type=e.type,t.timestamp=e.timestamp,i.push(n(t))})),e(null,i)}}),(function(t){return e(t)})):e(null,[])}},{key:"_maybeReady",value:function(){var e=this;if(this._debug("maybeReady pc %s channel %s",this._pcReady,this._channelReady),!this._connected&&!this._connecting&&this._pcReady&&this._channelReady){this._connecting=!0;var t=function(){var n=e;e.destroyed||e.getStats((function(e,r){var i=n;if(!n.destroyed){e&&(r=[]);var o={},a={},u={},l=!1;r.forEach((function(e){"remotecandidate"!==e.type&&"remote-candidate"!==e.type||(o[e.id]=e),"localcandidate"!==e.type&&"local-candidate"!==e.type||(a[e.id]=e),"candidatepair"!==e.type&&"candidate-pair"!==e.type||(u[e.id]=e)}));var s=function(e){l=!0;var t=a[e.localCandidateId];t&&(t.ip||t.address)?(i.localAddress=t.ip||t.address,i.localPort=Number(t.port)):t&&t.ipAddress?(i.localAddress=t.ipAddress,i.localPort=Number(t.portNumber)):"string"==typeof e.googLocalAddress&&(t=e.googLocalAddress.split(":"),i.localAddress=t[0],i.localPort=Number(t[1])),i.localAddress&&(i.localFamily=i.localAddress.includes(":")?"IPv6":"IPv4");var n=o[e.remoteCandidateId];n&&(n.ip||n.address)?(i.remoteAddress=n.ip||n.address,i.remotePort=Number(n.port)):n&&n.ipAddress?(i.remoteAddress=n.ipAddress,i.remotePort=Number(n.portNumber)):"string"==typeof e.googRemoteAddress&&(n=e.googRemoteAddress.split(":"),i.remoteAddress=n[0],i.remotePort=Number(n[1])),i.remoteAddress&&(i.remoteFamily=i.remoteAddress.includes(":")?"IPv6":"IPv4"),i._debug("connect local: %s:%s remote: %s:%s",i.localAddress,i.localPort,i.remoteAddress,i.remotePort)};if(r.forEach((function(e){"transport"===e.type&&e.selectedCandidatePairId&&s(u[e.selectedCandidatePairId]),("googCandidatePair"===e.type&&"true"===e.googActiveConnection||("candidatepair"===e.type||"candidate-pair"===e.type)&&e.selected)&&s(e)})),l||Object.keys(u).length&&!Object.keys(a).length){if(n._connecting=!1,n._connected=!0,n._chunk){try{n.send(n._chunk)}catch(e){return n.destroy(A(e,"ERR_DATA_CHANNEL"))}n._chunk=null,n._debug('sent chunk from "write before connect"');var c=n._cb;n._cb=null,c(null)}if("number"!=typeof n._channel.bufferedAmountLowThreshold){var f=n;n._interval=setInterval((function(){return f._onInterval()}),150),n._interval.unref&&n._interval.unref()}n._debug("connect"),n.emit("connect")}else setTimeout(t,100)}}))};t()}}},{key:"_onInterval",value:function(){!this._cb||!this._channel||this._channel.bufferedAmount>65536||this._onChannelBufferedAmountLow()}},{key:"_onSignalingStateChange",value:function(){if(!this.destroyed){if("stable"===this._pc.signalingState){var e=this;this._isNegotiating=!1,this._debug("flushing sender queue",this._sendersAwaitingStable),this._sendersAwaitingStable.forEach((function(t){e._pc.removeTrack(t),e._queuedNegotiation=!0})),this._sendersAwaitingStable=[],this._queuedNegotiation?(this._debug("flushing negotiation queue"),this._queuedNegotiation=!1,this._needsNegotiation()):(this._debug("negotiated"),this.emit("negotiated"))}this._debug("signalingStateChange %s",this._pc.signalingState),this.emit("signalingStateChange",this._pc.signalingState)}}},{key:"_onIceCandidate",value:function(e){this.destroyed||(e.candidate&&this.trickle?this.emit("signal",{type:"candidate",candidate:{candidate:e.candidate.candidate,sdpMLineIndex:e.candidate.sdpMLineIndex,sdpMid:e.candidate.sdpMid}}):e.candidate||this._iceComplete||(this._iceComplete=!0,this.emit("_iceComplete")),e.candidate&&this._startIceCompleteTimeout())}},{key:"_onChannelMessage",value:function(e){if(!this.destroyed){var t=e.data;t instanceof ArrayBuffer&&(t=M.from(t)),this.push(t)}}},{key:"_onChannelBufferedAmountLow",value:function(){if(!this.destroyed&&this._cb){this._debug("ending backpressure: bufferedAmount %d",this._channel.bufferedAmount);var e=this._cb;this._cb=null,e(null)}}},{key:"_onChannelOpen",value:function(){this._connected||this.destroyed||(this._debug("on channel open"),this._channelReady=!0,this._maybeReady())}},{key:"_onChannelClose",value:function(){this.destroyed||(this._debug("on channel close"),this.destroy())}},{key:"_onTrack",value:function(e){var t=this;this.destroyed||e.streams.forEach((function(n){var r=t;t._debug("on track"),t.emit("track",e.track,n),t._remoteTracks.push({track:e.track,stream:n}),t._remoteStreams.some((function(e){return e.id===n.id}))||(t._remoteStreams.push(n),O((function(){r._debug("on stream"),r.emit("stream",n)})))}))}},{key:"_debug",value:function(){var e=[].slice.call(arguments);e[0]="["+this._id+"] "+e[0],_.apply(null,e)}}]),n}(P.Duplex);D.WEBRTC_SUPPORT=!!p(),D.config={iceServers:[{urls:["stun:stun.l.google.com:19302","stun:global.stun.twilio.com:3478"]}],sdpSemantics:"unified-plan"},D.channelConfig={},h=D;var z,B,U,j=18;!function(e){e.Default="default",e.GatherSignal="gather-signal",e.Hailing="hailing",e.Connected="connected"}(z||(z={})),function(e){e.Hailing="hailing",e.Connect="connect",e.Reset="reset"}(B||(B={})),function(e){e.PeerState="peer-state",e.IframeClick="iframe-click",e.OpenHailing="open-hailing",e.InboundHailing="inbound-hailing"}(U||(U={}));v=o("b2dei");var H,W=o("ev0qS"),q=o("78Hst"),V=o("7rSb7"),$=o("8ZThm"),Q=(s=o("lY8Fy"),g=o("lyfIv"),new WeakMap),Y=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=this;v.default(this,e),W.default(this,Q,{writable:!0,value:void 0}),q.default(this,"sync",(function(e){var t=n;return new Promise((function(n){if(!V.default(t,Q).has(e)&&(null===chrome||void 0===chrome?void 0:chrome.storage)){var r=localStorage.getItem(e);chrome.storage.sync.get(e,(function(t){var i=t[e];localStorage.setItem(e,i),n(i!==r)}))}else n(!1)}))})),q.default(this,"get",(function(e){return new Promise((function(t){(null===chrome||void 0===chrome?void 0:chrome.storage)?chrome.storage.sync.get(e,(function(n){t(n[e])})):t(localStorage.getItem(e))}))})),q.default(this,"set",(function(e,t){var r=n;return new Promise((function(n){var i="string"==typeof t?t:JSON.stringify(t);V.default(r,Q)[e]||localStorage.setItem(e,i),(null===chrome||void 0===chrome?void 0:chrome.storage)?chrome.storage.sync.set(q.default({},e,i),n):n(null)}))})),$.default(this,Q,new Set(t))},G=(H=o("gYqtZ")).Buffer,K=function(){var e,t,r,i,o,a,u=(e=U.InboundHailing,r=s.default(g.useState(""),2),i=r[0],o=r[1],a=g.useRef(new Y),g.useEffect((function(){a.current.get(e).then((function(e){o(e),null==t||t(e)})),(null===chrome||void 0===chrome?void 0:chrome.storage)&&chrome.storage.onChanged.addListener((function(t){t[e]&&t[e].newValue!==i&&o(t[e].newValue)}))}),[]),{value:i,set:o,save:function(t){return a.current.set(e,t||i)},persist:function(t){return a.current.set(e,t).then((function(){return o(t)}))}}),l=u.value,d=u.persist,p=u.save,y=s.default(g.useState(z.Default),2),m=y[0],v=y[1],b=s.default(g.useState(""),2),w=b[0],_=b[1],S=g.useRef(),k=g.useRef(),E=g.useRef();g.useEffect((function(){var e,t=function(){v(z.Default),_(""),S.current=null},r=function(){d(""),t()},i=(e=c.default(n(f).mark((function e(){var i,o;return n(f).wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l&&!(l.lengthMice
\ No newline at end of file +Mice
\ No newline at end of file