Musical keyboard component written in React.
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

80 righe
184 KiB

  1. parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"J4Nk":[function(require,module,exports) {
  2. "use strict";var r=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable;function n(r){if(null==r)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}function o(){try{if(!Object.assign)return!1;var r=new String("abc");if(r[5]="de","5"===Object.getOwnPropertyNames(r)[0])return!1;for(var t={},e=0;e<10;e++)t["_"+String.fromCharCode(e)]=e;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(r){return t[r]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(r){n[r]=r}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(o){return!1}}module.exports=o()?Object.assign:function(o,c){for(var a,i,s=n(o),f=1;f<arguments.length;f++){for(var u in a=Object(arguments[f]))t.call(a,u)&&(s[u]=a[u]);if(r){i=r(a);for(var b=0;b<i.length;b++)e.call(a,i[b])&&(s[i[b]]=a[i[b]])}}return s};
  3. },{}],"awqi":[function(require,module,exports) {
  4. "use strict";var e=require("object-assign"),r="function"==typeof Symbol&&Symbol.for,t=r?Symbol.for("react.element"):60103,n=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,u=r?Symbol.for("react.strict_mode"):60108,f=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,i=r?Symbol.for("react.forward_ref"):60112,s=r?Symbol.for("react.suspense"):60113,a=r?Symbol.for("react.memo"):60115,p=r?Symbol.for("react.lazy"):60116,y="function"==typeof Symbol&&Symbol.iterator;function d(e){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)r+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h={};function m(e,r,t){this.props=e,this.context=r,this.refs=h,this.updater=t||v}function x(){}function b(e,r,t){this.props=e,this.context=r,this.refs=h,this.updater=t||v}m.prototype.isReactComponent={},m.prototype.setState=function(e,r){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(d(85));this.updater.enqueueSetState(this,e,r,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},x.prototype=m.prototype;var S=b.prototype=new x;S.constructor=b,e(S,m.prototype),S.isPureReactComponent=!0;var _={current:null},k=Object.prototype.hasOwnProperty,$={key:!0,ref:!0,__self:!0,__source:!0};function g(e,r,n){var o,u={},f=null,c=null;if(null!=r)for(o in void 0!==r.ref&&(c=r.ref),void 0!==r.key&&(f=""+r.key),r)k.call(r,o)&&!$.hasOwnProperty(o)&&(u[o]=r[o]);var l=arguments.length-2;if(1===l)u.children=n;else if(1<l){for(var i=Array(l),s=0;s<l;s++)i[s]=arguments[s+2];u.children=i}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===u[o]&&(u[o]=l[o]);return{$$typeof:t,type:e,key:f,ref:c,props:u,_owner:_.current}}function w(e,r){return{$$typeof:t,type:e.type,key:r,ref:e.ref,props:e.props,_owner:e._owner}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}function E(e){var r={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return r[e]})}var R=/\/+/g,P=[];function j(e,r,t,n){if(P.length){var o=P.pop();return o.result=e,o.keyPrefix=r,o.func=t,o.context=n,o.count=0,o}return{result:e,keyPrefix:r,func:t,context:n,count:0}}function O(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>P.length&&P.push(e)}function A(e,r,o,u){var f=typeof e;"undefined"!==f&&"boolean"!==f||(e=null);var c=!1;if(null===e)c=!0;else switch(f){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case t:case n:c=!0}}if(c)return o(u,e,""===r?"."+U(e,0):r),1;if(c=0,r=""===r?".":r+":",Array.isArray(e))for(var l=0;l<e.length;l++){var i=r+U(f=e[l],l);c+=A(f,i,o,u)}else if(null===e||"object"!=typeof e?i=null:i="function"==typeof(i=y&&e[y]||e["@@iterator"])?i:null,"function"==typeof i)for(e=i.call(e),l=0;!(f=e.next()).done;)c+=A(f=f.value,i=r+U(f,l++),o,u);else if("object"===f)throw o=""+e,Error(d(31,"[object Object]"===o?"object with keys {"+Object.keys(e).join(", ")+"}":o,""));return c}function I(e,r,t){return null==e?0:A(e,"",r,t)}function U(e,r){return"object"==typeof e&&null!==e&&null!=e.key?E(e.key):r.toString(36)}function q(e,r){e.func.call(e.context,r,e.count++)}function F(e,r,t){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,r,e.count++),Array.isArray(e)?L(e,n,t,function(e){return e}):null!=e&&(C(e)&&(e=w(e,o+(!e.key||r&&r.key===e.key?"":(""+e.key).replace(R,"$&/")+"/")+t)),n.push(e))}function L(e,r,t,n,o){var u="";null!=t&&(u=(""+t).replace(R,"$&/")+"/"),I(e,F,r=j(r,u,n,o)),O(r)}var M={current:null};function D(){var e=M.current;if(null===e)throw Error(d(321));return e}var V={ReactCurrentDispatcher:M,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:_,IsSomeRendererActing:{current:!1},assign:e};exports.Children={map:function(e,r,t){if(null==e)return e;var n=[];return L(e,n,null,r,t),n},forEach:function(e,r,t){if(null==e)return e;I(e,q,r=j(null,null,r,t)),O(r)},count:function(e){return I(e,function(){return null},null)},toArray:function(e){var r=[];return L(e,r,null,function(e){return e}),r},only:function(e){if(!C(e))throw Error(d(143));return e}},exports.Component=m,exports.Fragment=o,exports.Profiler=f,exports.PureComponent=b,exports.StrictMode=u,exports.Suspense=s,exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V,exports.cloneElement=function(r,n,o){if(null==r)throw Error(d(267,r));var u=e({},r.props),f=r.key,c=r.ref,l=r._owner;if(null!=n){if(void 0!==n.ref&&(c=n.ref,l=_.current),void 0!==n.key&&(f=""+n.key),r.type&&r.type.defaultProps)var i=r.type.defaultProps;for(s in n)k.call(n,s)&&!$.hasOwnProperty(s)&&(u[s]=void 0===n[s]&&void 0!==i?i[s]:n[s])}var s=arguments.length-2;if(1===s)u.children=o;else if(1<s){i=Array(s);for(var a=0;a<s;a++)i[a]=arguments[a+2];u.children=i}return{$$typeof:t,type:r.type,key:f,ref:c,props:u,_owner:l}},exports.createContext=function(e,r){return void 0===r&&(r=null),(e={$$typeof:l,_calculateChangedBits:r,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},exports.createElement=g,exports.createFactory=function(e){var r=g.bind(null,e);return r.type=e,r},exports.createRef=function(){return{current:null}},exports.forwardRef=function(e){return{$$typeof:i,render:e}},exports.isValidElement=C,exports.lazy=function(e){return{$$typeof:p,_ctor:e,_status:-1,_result:null}},exports.memo=function(e,r){return{$$typeof:a,type:e,compare:void 0===r?null:r}},exports.useCallback=function(e,r){return D().useCallback(e,r)},exports.useContext=function(e,r){return D().useContext(e,r)},exports.useDebugValue=function(){},exports.useEffect=function(e,r){return D().useEffect(e,r)},exports.useImperativeHandle=function(e,r,t){return D().useImperativeHandle(e,r,t)},exports.useLayoutEffect=function(e,r){return D().useLayoutEffect(e,r)},exports.useMemo=function(e,r){return D().useMemo(e,r)},exports.useReducer=function(e,r,t){return D().useReducer(e,r,t)},exports.useRef=function(e){return D().useRef(e)},exports.useState=function(e){return D().useState(e)},exports.version="16.13.1";
  5. },{"object-assign":"J4Nk"}],"n8MK":[function(require,module,exports) {
  6. "use strict";module.exports=require("./cjs/react.production.min.js");
  7. },{"./cjs/react.production.min.js":"awqi"}],"IvPb":[function(require,module,exports) {
  8. "use strict";var e,n,t,r,o;if("undefined"==typeof window||"function"!=typeof MessageChannel){var a=null,l=null,i=function(){if(null!==a)try{var e=exports.unstable_now();a(!0,e),a=null}catch(n){throw setTimeout(i,0),n}},u=Date.now();exports.unstable_now=function(){return Date.now()-u},e=function(n){null!==a?setTimeout(e,0,n):(a=n,setTimeout(i,0))},n=function(e,n){l=setTimeout(e,n)},t=function(){clearTimeout(l)},r=function(){return!1},o=exports.unstable_forceFrameRate=function(){}}else{var s=window.performance,c=window.Date,f=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var b=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof b&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof s&&"function"==typeof s.now)exports.unstable_now=function(){return s.now()};else{var d=c.now();exports.unstable_now=function(){return c.now()-d}}var v=!1,x=null,w=-1,m=5,y=0;r=function(){return exports.unstable_now()>=y},o=function(){},exports.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):m=0<e?Math.floor(1e3/e):5};var _=new MessageChannel,h=_.port2;_.port1.onmessage=function(){if(null!==x){var e=exports.unstable_now();y=e+m;try{x(!0,e)?h.postMessage(null):(v=!1,x=null)}catch(n){throw h.postMessage(null),n}}else v=!1},e=function(e){x=e,v||(v=!0,h.postMessage(null))},n=function(e,n){w=f(function(){e(exports.unstable_now())},n)},t=function(){p(w),w=-1}}function k(e,n){var t=e.length;e.push(n);e:for(;;){var r=t-1>>>1,o=e[r];if(!(void 0!==o&&0<P(o,n)))break e;e[r]=n,e[t]=o,t=r}}function T(e){return void 0===(e=e[0])?null:e}function g(e){var n=e[0];if(void 0!==n){var t=e.pop();if(t!==n){e[0]=t;e:for(var r=0,o=e.length;r<o;){var a=2*(r+1)-1,l=e[a],i=a+1,u=e[i];if(void 0!==l&&0>P(l,t))void 0!==u&&0>P(u,l)?(e[r]=u,e[i]=t,r=i):(e[r]=l,e[a]=t,r=a);else{if(!(void 0!==u&&0>P(u,t)))break e;e[r]=u,e[i]=t,r=i}}}return n}return null}function P(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}var F=[],I=[],M=1,C=null,A=3,L=!1,q=!1,D=!1;function R(e){for(var n=T(I);null!==n;){if(null===n.callback)g(I);else{if(!(n.startTime<=e))break;g(I),n.sortIndex=n.expirationTime,k(F,n)}n=T(I)}}function j(t){if(D=!1,R(t),!q)if(null!==T(F))q=!0,e(E);else{var r=T(I);null!==r&&n(j,r.startTime-t)}}function E(e,o){q=!1,D&&(D=!1,t()),L=!0;var a=A;try{for(R(o),C=T(F);null!==C&&(!(C.expirationTime>o)||e&&!r());){var l=C.callback;if(null!==l){C.callback=null,A=C.priorityLevel;var i=l(C.expirationTime<=o);o=exports.unstable_now(),"function"==typeof i?C.callback=i:C===T(F)&&g(F),R(o)}else g(F);C=T(F)}if(null!==C)var u=!0;else{var s=T(I);null!==s&&n(j,s.startTime-o),u=!1}return u}finally{C=null,A=a,L=!1}}function N(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var B=o;exports.unstable_IdlePriority=5,exports.unstable_ImmediatePriority=1,exports.unstable_LowPriority=4,exports.unstable_NormalPriority=3,exports.unstable_Profiling=null,exports.unstable_UserBlockingPriority=2,exports.unstable_cancelCallback=function(e){e.callback=null},exports.unstable_continueExecution=function(){q||L||(q=!0,e(E))},exports.unstable_getCurrentPriorityLevel=function(){return A},exports.unstable_getFirstCallbackNode=function(){return T(F)},exports.unstable_next=function(e){switch(A){case 1:case 2:case 3:var n=3;break;default:n=A}var t=A;A=n;try{return e()}finally{A=t}},exports.unstable_pauseExecution=function(){},exports.unstable_requestPaint=B,exports.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=A;A=e;try{return n()}finally{A=t}},exports.unstable_scheduleCallback=function(r,o,a){var l=exports.unstable_now();if("object"==typeof a&&null!==a){var i=a.delay;i="number"==typeof i&&0<i?l+i:l,a="number"==typeof a.timeout?a.timeout:N(r)}else a=N(r),i=l;return r={id:M++,callback:o,priorityLevel:r,startTime:i,expirationTime:a=i+a,sortIndex:-1},i>l?(r.sortIndex=i,k(I,r),null===T(F)&&r===T(I)&&(D?t():D=!0,n(j,i-l))):(r.sortIndex=a,k(F,r),q||L||(q=!0,e(E))),r},exports.unstable_shouldYield=function(){var e=exports.unstable_now();R(e);var n=T(F);return n!==C&&null!==C&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<C.expirationTime||r()},exports.unstable_wrapCallback=function(e){var n=A;return function(){var t=A;A=n;try{return e.apply(this,arguments)}finally{A=t}}};
  9. },{}],"MDSO":[function(require,module,exports) {
  10. "use strict";module.exports=require("./cjs/scheduler.production.min.js");
  11. },{"./cjs/scheduler.production.min.js":"IvPb"}],"XYwD":[function(require,module,exports) {
  12. "use strict";var r=0,n=0;exports.__interactionsRef=null,exports.__subscriberRef=null,exports.__interactionsRef={current:new Set},exports.__subscriberRef={current:null};var t=null;function e(r){var n=!1,e=null;if(t.forEach(function(t){try{t.onInteractionTraced(r)}catch(o){n||(n=!0,e=o)}}),n)throw e}function o(r){var n=!1,e=null;if(t.forEach(function(t){try{t.onInteractionScheduledWorkCompleted(r)}catch(o){n||(n=!0,e=o)}}),n)throw e}function c(r,n){var e=!1,o=null;if(t.forEach(function(t){try{t.onWorkScheduled(r,n)}catch(c){e||(e=!0,o=c)}}),e)throw o}function u(r,n){var e=!1,o=null;if(t.forEach(function(t){try{t.onWorkStarted(r,n)}catch(c){e||(e=!0,o=c)}}),e)throw o}function i(r,n){var e=!1,o=null;if(t.forEach(function(t){try{t.onWorkStopped(r,n)}catch(c){e||(e=!0,o=c)}}),e)throw o}function a(r,n){var e=!1,o=null;if(t.forEach(function(t){try{t.onWorkCanceled(r,n)}catch(c){e||(e=!0,o=c)}}),e)throw o}t=new Set,exports.unstable_clear=function(r){var n=exports.__interactionsRef.current;exports.__interactionsRef.current=new Set;try{return r()}finally{exports.__interactionsRef.current=n}},exports.unstable_getCurrent=function(){return exports.__interactionsRef.current},exports.unstable_getThreadID=function(){return++n},exports.unstable_subscribe=function(r){t.add(r),1===t.size&&(exports.__subscriberRef.current={onInteractionScheduledWorkCompleted:o,onInteractionTraced:e,onWorkCanceled:a,onWorkScheduled:c,onWorkStarted:u,onWorkStopped:i})},exports.unstable_trace=function(n,t,e){var o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:0,c={__count:1,id:r++,name:n,timestamp:t},u=exports.__interactionsRef.current,i=new Set(u);i.add(c),exports.__interactionsRef.current=i;var a=exports.__subscriberRef.current;try{null!==a&&a.onInteractionTraced(c)}finally{try{null!==a&&a.onWorkStarted(i,o)}finally{try{var l=e()}finally{exports.__interactionsRef.current=u;try{null!==a&&a.onWorkStopped(i,o)}finally{c.__count--,null!==a&&0===c.__count&&a.onInteractionScheduledWorkCompleted(c)}}}}return l},exports.unstable_unsubscribe=function(r){t.delete(r),0===t.size&&(exports.__subscriberRef.current=null)},exports.unstable_wrap=function(r){function n(){var n=exports.__interactionsRef.current;exports.__interactionsRef.current=e,o=exports.__subscriberRef.current;try{try{null!==o&&o.onWorkStarted(e,t)}finally{try{var u=r.apply(void 0,arguments)}finally{exports.__interactionsRef.current=n,null!==o&&o.onWorkStopped(e,t)}}return u}finally{c||(c=!0,e.forEach(function(r){r.__count--,null!==o&&0===r.__count&&o.onInteractionScheduledWorkCompleted(r)}))}}var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,e=exports.__interactionsRef.current,o=exports.__subscriberRef.current;null!==o&&o.onWorkScheduled(e,t),e.forEach(function(r){r.__count++});var c=!1;return n.cancel=function(){o=exports.__subscriberRef.current;try{null!==o&&o.onWorkCanceled(e,t)}finally{e.forEach(function(r){r.__count--,o&&0===r.__count&&o.onInteractionScheduledWorkCompleted(r)})}},n};
  13. },{}],"Ks3F":[function(require,module,exports) {
  14. "use strict";module.exports=require("./cjs/scheduler-tracing.profiling.min.js");
  15. },{"./cjs/scheduler-tracing.profiling.min.js":"XYwD"}],"NgRO":[function(require,module,exports) {
  16. "use strict";var e=require("react"),t=require("object-assign"),n=require("scheduler"),r=require("scheduler/tracing");function l(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!e)throw Error(l(227));function i(e,t,n,r,l,i,a,o,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(s){this.onError(s)}}var a=!1,o=null,u=!1,c=null,s={onError:function(e){a=!0,o=e}};function f(e,t,n,r,l,u,c,f,d){a=!1,o=null,i.apply(s,arguments)}function d(e,t,n,r,i,s,d,p,m){if(f.apply(this,arguments),a){if(!a)throw Error(l(198));var h=o;a=!1,o=null,u||(u=!0,c=h)}}var p=null,m=null,h=null;function g(e,t,n){var r=e.type||"unknown-event";e.currentTarget=h(n),d(r,t,void 0,e),e.currentTarget=null}var v=null,y={};function b(){if(v)for(var e in y){var t=y[e],n=v.indexOf(e);if(!(-1<n))throw Error(l(96,e));if(!k[n]){if(!t.extractEvents)throw Error(l(97,e));for(var r in k[n]=t,n=t.eventTypes){var i=void 0,a=n[r],o=t,u=r;if(x.hasOwnProperty(u))throw Error(l(99,u));x[u]=a;var c=a.phasedRegistrationNames;if(c){for(i in c)c.hasOwnProperty(i)&&w(c[i],o,u);i=!0}else a.registrationName?(w(a.registrationName,o,u),i=!0):i=!1;if(!i)throw Error(l(98,r,e))}}}}function w(e,t,n){if(T[e])throw Error(l(100,e));T[e]=t,E[e]=t.eventTypes[n].dependencies}var k=[],x={},T={},E={};function S(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!y.hasOwnProperty(t)||y[t]!==r){if(y[t])throw Error(l(102,t));y[t]=r,n=!0}}n&&b()}var C=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),_=null,P=null,N=null;function z(e){if(e=m(e)){if("function"!=typeof _)throw Error(l(280));var t=e.stateNode;t&&(t=p(t),_(e.stateNode,e.type,t))}}function D(e){P?N?N.push(e):N=[e]:P=e}function I(){if(P){var e=P,t=N;if(N=P=null,z(e),t)for(e=0;e<t.length;e++)z(t[e])}}function M(e,t){return e(t)}function R(e,t,n,r,l){return e(t,n,r,l)}function O(){}var F=M,L=!1,U=!1;function A(){null===P&&null===N||(O(),I())}function B(e,t,n){if(U)return e(t,n);U=!0;try{return F(e,t,n)}finally{U=!1,A()}}var W=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,V=Object.prototype.hasOwnProperty,Q={},H={};function j(e){return!!V.call(H,e)||!V.call(Q,e)&&(W.test(e)?H[e]=!0:(Q[e]=!0,!1))}function K(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}function $(e,t,n,r){if(null==t||K(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function q(e,t,n,r,l,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i}var Y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Y[e]=new q(e,0,!1,e,null,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Y[t]=new q(t,1,!1,e[1],null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Y[e]=new q(e,2,!1,e.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Y[e]=new q(e,2,!1,e,null,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Y[e]=new q(e,3,!1,e.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Y[e]=new q(e,3,!0,e,null,!1)}),["capture","download"].forEach(function(e){Y[e]=new q(e,4,!1,e,null,!1)}),["cols","rows","size","span"].forEach(function(e){Y[e]=new q(e,6,!1,e,null,!1)}),["rowSpan","start"].forEach(function(e){Y[e]=new q(e,5,!1,e.toLowerCase(),null,!1)});var X=/[\-:]([a-z])/g;function G(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(X,G);Y[t]=new q(t,1,!1,e,null,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(X,G);Y[t]=new q(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(X,G);Y[t]=new q(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(e){Y[e]=new q(e,1,!1,e.toLowerCase(),null,!1)}),Y.xlinkHref=new q("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(e){Y[e]=new q(e,1,!1,e.toLowerCase(),null,!0)});var Z=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function J(e,t,n,r){var l=Y.hasOwnProperty(t)?Y[t]:null;(null!==l?0===l.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||($(t,n,l,r)&&(n=null),r||null===l?j(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=null===n?3!==l.type&&"":n:(t=l.attributeName,r=l.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(l=l.type)||4===l&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}Z.hasOwnProperty("ReactCurrentDispatcher")||(Z.ReactCurrentDispatcher={current:null}),Z.hasOwnProperty("ReactCurrentBatchConfig")||(Z.ReactCurrentBatchConfig={suspense:null});var ee=/^(.*)[\\\/]/,te="function"==typeof Symbol&&Symbol.for,ne=te?Symbol.for("react.element"):60103,re=te?Symbol.for("react.portal"):60106,le=te?Symbol.for("react.fragment"):60107,ie=te?Symbol.for("react.strict_mode"):60108,ae=te?Symbol.for("react.profiler"):60114,oe=te?Symbol.for("react.provider"):60109,ue=te?Symbol.for("react.context"):60110,ce=te?Symbol.for("react.concurrent_mode"):60111,se=te?Symbol.for("react.forward_ref"):60112,fe=te?Symbol.for("react.suspense"):60113,de=te?Symbol.for("react.suspense_list"):60120,pe=te?Symbol.for("react.memo"):60115,me=te?Symbol.for("react.lazy"):60116,he=te?Symbol.for("react.block"):60121,ge="function"==typeof Symbol&&Symbol.iterator;function ve(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=ge&&e[ge]||e["@@iterator"])?e:null}function ye(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)})}}function be(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 le:return"Fragment";case re:return"Portal";case ae:return"Profiler";case ie:return"StrictMode";case fe:return"Suspense";case de:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ue:return"Context.Consumer";case oe:return"Context.Provider";case se:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case pe:return be(e.type);case he:return be(e.render);case me:if(e=1===e._status?e._result:null)return be(e)}return null}function we(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,l=e._debugSource,i=be(e.type);n=null,r&&(n=be(r.type)),r=i,i="",l?i=" (at "+l.fileName.replace(ee,"")+":"+l.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n in "+(r||"Unknown")+i}t+=n,e=e.return}while(e);return t}function ke(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function xe(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Te(e){var t=xe(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 l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ee(e){e._valueTracker||(e._valueTracker=Te(e))}function Se(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=xe(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Ce(e,n){var r=n.checked;return t({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function _e(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ke(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 Pe(e,t){null!=(t=t.checked)&&J(e,"checked",t,!1)}function Ne(e,t){Pe(e,t);var n=ke(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")?De(e,t.type,n):t.hasOwnProperty("defaultValue")&&De(e,t.type,ke(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ze(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 De(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Ie(t){var n="";return e.Children.forEach(t,function(e){null!=e&&(n+=e)}),n}function Me(e,n){return e=t({children:void 0},n),(n=Ie(n.children))&&(e.children=n),e}function Re(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ke(n),t=null,l=0;l<e.length;l++){if(e[l].value===n)return e[l].selected=!0,void(r&&(e[l].defaultSelected=!0));null!==t||e[l].disabled||(t=e[l])}null!==t&&(t.selected=!0)}}function Oe(e,n){if(null!=n.dangerouslySetInnerHTML)throw Error(l(91));return t({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Fe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(l(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(l(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ke(n)}}function Le(e,t){var n=ke(t.value),r=ke(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Ue(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var Ae={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Be(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function We(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Be(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Ve,Qe=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,l){MSApp.execUnsafeLocalFunction(function(){return e(t,n)})}:e}(function(e,t){if(e.namespaceURI!==Ae.svg||"innerHTML"in e)e.innerHTML=t;else{for((Ve=Ve||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ve.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function He(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function je(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ke={animationend:je("Animation","AnimationEnd"),animationiteration:je("Animation","AnimationIteration"),animationstart:je("Animation","AnimationStart"),transitionend:je("Transition","TransitionEnd")},$e={},qe={};function Ye(e){if($e[e])return $e[e];if(!Ke[e])return e;var t,n=Ke[e];for(t in n)if(n.hasOwnProperty(t)&&t in qe)return $e[e]=n[t];return e}C&&(qe=document.createElement("div").style,"AnimationEvent"in window||(delete Ke.animationend.animation,delete Ke.animationiteration.animation,delete Ke.animationstart.animation),"TransitionEvent"in window||delete Ke.transitionend.transition);var Xe=Ye("animationend"),Ge=Ye("animationiteration"),Ze=Ye("animationstart"),Je=Ye("transitionend"),et="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),tt=new("function"==typeof WeakMap?WeakMap:Map);function nt(e){var t=tt.get(e);return void 0===t&&(t=new Map,tt.set(e,t)),t}function rt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function lt(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function it(e){if(rt(e)!==e)throw Error(l(188))}function at(e){var t=e.alternate;if(!t){if(null===(t=rt(e)))throw Error(l(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return it(i),e;if(a===r)return it(i),t;a=a.sibling}throw Error(l(188))}if(n.return!==r.return)n=i,r=a;else{for(var o=!1,u=i.child;u;){if(u===n){o=!0,n=i,r=a;break}if(u===r){o=!0,r=i,n=a;break}u=u.sibling}if(!o){for(u=a.child;u;){if(u===n){o=!0,n=a,r=i;break}if(u===r){o=!0,r=a,n=i;break}u=u.sibling}if(!o)throw Error(l(189))}}if(n.alternate!==r)throw Error(l(190))}if(3!==n.tag)throw Error(l(188));return n.stateNode.current===n?e:t}function ot(e){if(!(e=at(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function ut(e,t){if(null==t)throw Error(l(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function ct(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var st=null;function ft(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)g(e,t[r],n[r]);else t&&g(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function dt(e){if(null!==e&&(st=ut(st,e)),e=st,st=null,e){if(ct(e,ft),st)throw Error(l(95));if(u)throw e=c,u=!1,c=null,e}}function pt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function mt(e){if(!C)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var ht=[];function gt(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ht.length&&ht.push(e)}function vt(e,t,n,r){if(ht.length){var l=ht.pop();return l.topLevelType=e,l.eventSystemFlags=r,l.nativeEvent=t,l.targetInst=n,l}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function yt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=An(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var l=pt(e.nativeEvent);r=e.topLevelType;var i=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var o=null,u=0;u<k.length;u++){var c=k[u];c&&(c=c.extractEvents(r,t,i,l,a))&&(o=ut(o,c))}dt(o)}}function bt(e,t,n){if(!n.has(e)){switch(e){case"scroll":tn(t,"scroll",!0);break;case"focus":case"blur":tn(t,"focus",!0),tn(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":mt(e)&&tn(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===et.indexOf(e)&&en(e,t)}n.set(e,null)}}var wt,kt,xt,Tt=!1,Et=[],St=null,Ct=null,_t=null,Pt=new Map,Nt=new Map,zt=[],Dt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),It="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Mt(e,t){var n=nt(t);Dt.forEach(function(e){bt(e,t,n)}),It.forEach(function(e){bt(e,t,n)})}function Rt(e,t,n,r,l){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:l,container:r}}function Ot(e,t){switch(e){case"focus":case"blur":St=null;break;case"dragenter":case"dragleave":Ct=null;break;case"mouseover":case"mouseout":_t=null;break;case"pointerover":case"pointerout":Pt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Nt.delete(t.pointerId)}}function Ft(e,t,n,r,l,i){return null===e||e.nativeEvent!==i?(e=Rt(t,n,r,l,i),null!==t&&(null!==(t=Bn(t))&&kt(t)),e):(e.eventSystemFlags|=r,e)}function Lt(e,t,n,r,l){switch(t){case"focus":return St=Ft(St,e,t,n,r,l),!0;case"dragenter":return Ct=Ft(Ct,e,t,n,r,l),!0;case"mouseover":return _t=Ft(_t,e,t,n,r,l),!0;case"pointerover":var i=l.pointerId;return Pt.set(i,Ft(Pt.get(i)||null,e,t,n,r,l)),!0;case"gotpointercapture":return i=l.pointerId,Nt.set(i,Ft(Nt.get(i)||null,e,t,n,r,l)),!0}return!1}function Ut(e){var t=An(e.target);if(null!==t){var r=rt(t);if(null!==r)if(13===(t=r.tag)){if(null!==(t=lt(r)))return e.blockedOn=t,void n.unstable_runWithPriority(e.priority,function(){xt(r)})}else if(3===t&&r.stateNode.hydrate)return void(e.blockedOn=3===r.tag?r.stateNode.containerInfo:null)}e.blockedOn=null}function At(e){if(null!==e.blockedOn)return!1;var t=an(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Bn(t);return null!==n&&kt(n),e.blockedOn=t,!1}return!0}function Bt(e,t,n){At(e)&&n.delete(t)}function Wt(){for(Tt=!1;0<Et.length;){var e=Et[0];if(null!==e.blockedOn){null!==(e=Bn(e.blockedOn))&&wt(e);break}var t=an(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:Et.shift()}null!==St&&At(St)&&(St=null),null!==Ct&&At(Ct)&&(Ct=null),null!==_t&&At(_t)&&(_t=null),Pt.forEach(Bt),Nt.forEach(Bt)}function Vt(e,t){e.blockedOn===t&&(e.blockedOn=null,Tt||(Tt=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Wt)))}function Qt(e){function t(t){return Vt(t,e)}if(0<Et.length){Vt(Et[0],e);for(var n=1;n<Et.length;n++){var r=Et[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==St&&Vt(St,e),null!==Ct&&Vt(Ct,e),null!==_t&&Vt(_t,e),Pt.forEach(t),Nt.forEach(t),n=0;n<zt.length;n++)(r=zt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<zt.length&&null===(n=zt[0]).blockedOn;)Ut(n),null===n.blockedOn&&zt.shift()}var Ht={},jt=new Map,Kt=new Map,$t=["abort","abort",Xe,"animationEnd",Ge,"animationIteration",Ze,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Je,"transitionEnd","waiting","waiting"];function qt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],l=e[n+1],i="on"+(l[0].toUpperCase()+l.slice(1));i={phasedRegistrationNames:{bubbled:i,captured:i+"Capture"},dependencies:[r],eventPriority:t},Kt.set(r,t),jt.set(r,i),Ht[l]=i}}qt("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),qt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),qt($t,2);for(var Yt="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Xt=0;Xt<Yt.length;Xt++)Kt.set(Yt[Xt],0);var Gt=n.unstable_UserBlockingPriority,Zt=n.unstable_runWithPriority,Jt=!0;function en(e,t){tn(t,e,!1)}function tn(e,t,n){var r=Kt.get(t);switch(void 0===r?2:r){case 0:r=nn.bind(null,t,1,e);break;case 1:r=rn.bind(null,t,1,e);break;default:r=ln.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function nn(e,t,n,r){L||O();var l=ln,i=L;L=!0;try{R(l,e,t,n,r)}finally{(L=i)||A()}}function rn(e,t,n,r){Zt(Gt,ln.bind(null,e,t,n,r))}function ln(e,t,n,r){if(Jt)if(0<Et.length&&-1<Dt.indexOf(e))e=Rt(null,e,t,n,r),Et.push(e);else{var l=an(e,t,n,r);if(null===l)Ot(e,r);else if(-1<Dt.indexOf(e))e=Rt(l,e,t,n,r),Et.push(e);else if(!Lt(l,e,t,n,r)){Ot(e,r),e=vt(e,r,null,t);try{B(yt,e)}finally{gt(e)}}}}function an(e,t,n,r){if(null!==(n=An(n=pt(r)))){var l=rt(n);if(null===l)n=null;else{var i=l.tag;if(13===i){if(null!==(n=lt(l)))return n;n=null}else if(3===i){if(l.stateNode.hydrate)return 3===l.tag?l.stateNode.containerInfo:null;n=null}else l!==n&&(n=null)}}e=vt(e,r,n,t);try{B(yt,e)}finally{gt(e)}return null}var on={animationIterationCount:!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},un=["Webkit","ms","Moz","O"];function cn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||on.hasOwnProperty(e)&&on[e]?(""+t).trim():t+"px"}function sn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),l=cn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}Object.keys(on).forEach(function(e){un.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),on[t]=on[e]})});var fn=t({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 dn(e,t){if(t){if(fn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(l(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(l(60));if(!("object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML))throw Error(l(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(l(62,""))}}function pn(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 mn=Ae.html;function hn(e,t){var n=nt(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=E[t];for(var r=0;r<t.length;r++)bt(t[r],e,n)}function gn(){}function vn(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 yn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function bn(e,t){var n,r=yn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=yn(r)}}function wn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?wn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function kn(){for(var e=window,t=vn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=vn((e=t.contentWindow).document)}return t}function xn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var Tn="$",En="/$",Sn="$?",Cn="$!",_n=null,Pn=null;function Nn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function zn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Dn="function"==typeof setTimeout?setTimeout:void 0,In="function"==typeof clearTimeout?clearTimeout:void 0;function Mn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Rn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(n===Tn||n===Cn||n===Sn){if(0===t)return e;t--}else n===En&&t++}e=e.previousSibling}return null}var On=Math.random().toString(36).slice(2),Fn="__reactInternalInstance$"+On,Ln="__reactEventHandlers$"+On,Un="__reactContainere$"+On;function An(e){var t=e[Fn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Un]||n[Fn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Rn(e);null!==e;){if(n=e[Fn])return n;e=Rn(e)}return t}n=(e=n).parentNode}return null}function Bn(e){return!(e=e[Fn]||e[Un])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Wn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(l(33))}function Vn(e){return e[Ln]||null}function Qn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Hn(e,t){var n=e.stateNode;if(!n)return null;var r=p(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(l(231,t,typeof n));return n}function jn(e,t,n){(t=Hn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=ut(n._dispatchListeners,t),n._dispatchInstances=ut(n._dispatchInstances,e))}function Kn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Qn(t);for(t=n.length;0<t--;)jn(n[t],"captured",e);for(t=0;t<n.length;t++)jn(n[t],"bubbled",e)}}function $n(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Hn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=ut(n._dispatchListeners,t),n._dispatchInstances=ut(n._dispatchInstances,e))}function qn(e){e&&e.dispatchConfig.registrationName&&$n(e._targetInst,null,e)}function Yn(e){ct(e,Kn)}var Xn=null,Gn=null,Zn=null;function Jn(){if(Zn)return Zn;var e,t,n=Gn,r=n.length,l="value"in Xn?Xn.value:Xn.textContent,i=l.length;for(e=0;e<r&&n[e]===l[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===l[i-t];t++);return Zn=l.slice(e,1<t?1-t:void 0)}function er(){return!0}function tr(){return!1}function nr(e,t,n,r){for(var l in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(l)&&((t=e[l])?this[l]=t(n):"target"===l?this.target=r:this[l]=n[l]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?er:tr,this.isPropagationStopped=tr,this}function rr(e,t,n,r){if(this.eventPool.length){var l=this.eventPool.pop();return this.call(l,e,t,n,r),l}return new this(e,t,n,r)}function lr(e){if(!(e instanceof this))throw Error(l(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function ir(e){e.eventPool=[],e.getPooled=rr,e.release=lr}t(nr.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=er)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=er)},persist:function(){this.isPersistent=er},isPersistent:tr,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=tr,this._dispatchInstances=this._dispatchListeners=null}}),nr.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},nr.extend=function(e){function n(){}function r(){return l.apply(this,arguments)}var l=this;n.prototype=l.prototype;var i=new n;return t(i,r.prototype),r.prototype=i,r.prototype.constructor=r,r.Interface=t({},l.Interface,e),r.extend=l.extend,ir(r),r},ir(nr);var ar=nr.extend({data:null}),or=nr.extend({data:null}),ur=[9,13,27,32],cr=C&&"CompositionEvent"in window,sr=null;C&&"documentMode"in document&&(sr=document.documentMode);var fr=C&&"TextEvent"in window&&!sr,dr=C&&(!cr||sr&&8<sr&&11>=sr),pr=String.fromCharCode(32),mr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},hr=!1;function gr(e,t){switch(e){case"keyup":return-1!==ur.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function vr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var yr=!1;function br(e,t){switch(e){case"compositionend":return vr(t);case"keypress":return 32!==t.which?null:(hr=!0,pr);case"textInput":return(e=t.data)===pr&&hr?null:e;default:return null}}function wr(e,t){if(yr)return"compositionend"===e||!cr&&gr(e,t)?(e=Jn(),Zn=Gn=Xn=null,yr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return dr&&"ko"!==t.locale?null:t.data;default:return null}}var kr={eventTypes:mr,extractEvents:function(e,t,n,r){var l;if(cr)e:{switch(e){case"compositionstart":var i=mr.compositionStart;break e;case"compositionend":i=mr.compositionEnd;break e;case"compositionupdate":i=mr.compositionUpdate;break e}i=void 0}else yr?gr(e,n)&&(i=mr.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=mr.compositionStart);return i?(dr&&"ko"!==n.locale&&(yr||i!==mr.compositionStart?i===mr.compositionEnd&&yr&&(l=Jn()):(Gn="value"in(Xn=r)?Xn.value:Xn.textContent,yr=!0)),i=ar.getPooled(i,t,n,r),l?i.data=l:null!==(l=vr(n))&&(i.data=l),Yn(i),l=i):l=null,(e=fr?br(e,n):wr(e,n))?((t=or.getPooled(mr.beforeInput,t,n,r)).data=e,Yn(t)):t=null,null===l?t:null===t?l:[l,t]}},xr={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 Tr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!xr[e.type]:"textarea"===t}var Er={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function Sr(e,t,n){return(e=nr.getPooled(Er.change,e,t,n)).type="change",D(n),Yn(e),e}var Cr=null,_r=null;function Pr(e){dt(e)}function Nr(e){if(Se(Wn(e)))return e}function zr(e,t){if("change"===e)return t}var Dr=!1;function Ir(){Cr&&(Cr.detachEvent("onpropertychange",Mr),_r=Cr=null)}function Mr(e){if("value"===e.propertyName&&Nr(_r))if(e=Sr(_r,e,pt(e)),L)dt(e);else{L=!0;try{M(Pr,e)}finally{L=!1,A()}}}function Rr(e,t,n){"focus"===e?(Ir(),_r=n,(Cr=t).attachEvent("onpropertychange",Mr)):"blur"===e&&Ir()}function Or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Nr(_r)}function Fr(e,t){if("click"===e)return Nr(t)}function Lr(e,t){if("input"===e||"change"===e)return Nr(t)}C&&(Dr=mt("input")&&(!document.documentMode||9<document.documentMode));var Ur={eventTypes:Er,_isInputEventSupported:Dr,extractEvents:function(e,t,n,r){var l=t?Wn(t):window,i=l.nodeName&&l.nodeName.toLowerCase();if("select"===i||"input"===i&&"file"===l.type)var a=zr;else if(Tr(l))if(Dr)a=Lr;else{a=Or;var o=Rr}else(i=l.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(a=Fr);if(a&&(a=a(e,t)))return Sr(a,n,r);o&&o(e,l,t),"blur"===e&&(e=l._wrapperState)&&e.controlled&&"number"===l.type&&De(l,"number",l.value)}},Ar=nr.extend({view:null,detail:null}),Br={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Wr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Br[e])&&!!t[e]}function Vr(){return Wr}var Qr=0,Hr=0,jr=!1,Kr=!1,$r=Ar.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Vr,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Qr;return Qr=e.screenX,jr?"mousemove"===e.type?e.screenX-t:0:(jr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Hr;return Hr=e.screenY,Kr?"mousemove"===e.type?e.screenY-t:0:(Kr=!0,0)}}),qr=$r.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Yr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Xr={eventTypes:Yr,extractEvents:function(e,t,n,r,l){var i="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(i&&0==(32&l)&&(n.relatedTarget||n.fromElement)||!a&&!i)return null;(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,a)?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?An(t):null)&&(t!==rt(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null;if(a===t)return null;if("mouseout"===e||"mouseover"===e)var o=$r,u=Yr.mouseLeave,c=Yr.mouseEnter,s="mouse";else"pointerout"!==e&&"pointerover"!==e||(o=qr,u=Yr.pointerLeave,c=Yr.pointerEnter,s="pointer");if(e=null==a?i:Wn(a),i=null==t?i:Wn(t),(u=o.getPooled(u,a,n,r)).type=s+"leave",u.target=e,u.relatedTarget=i,(n=o.getPooled(c,t,n,r)).type=s+"enter",n.target=i,n.relatedTarget=e,s=t,(r=a)&&s)e:{for(c=s,a=0,e=o=r;e;e=Qn(e))a++;for(e=0,t=c;t;t=Qn(t))e++;for(;0<a-e;)o=Qn(o),a--;for(;0<e-a;)c=Qn(c),e--;for(;a--;){if(o===c||o===c.alternate)break e;o=Qn(o),c=Qn(c)}o=null}else o=null;for(c=o,o=[];r&&r!==c&&(null===(a=r.alternate)||a!==c);)o.push(r),r=Qn(r);for(r=[];s&&s!==c&&(null===(a=s.alternate)||a!==c);)r.push(s),s=Qn(s);for(s=0;s<o.length;s++)$n(o[s],"bubbled",u);for(s=r.length;0<s--;)$n(r[s],"captured",n);return 0==(64&l)?[u]:[u,n]}};function Gr(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var Zr="function"==typeof Object.is?Object.is:Gr,Jr=Object.prototype.hasOwnProperty;function el(e,t){if(Zr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Jr.call(t,n[r])||!Zr(e[n[r]],t[n[r]]))return!1;return!0}var tl=C&&"documentMode"in document&&11>=document.documentMode,nl={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},rl=null,ll=null,il=null,al=!1;function ol(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return al||null==rl||rl!==vn(n)?null:("selectionStart"in(n=rl)&&xn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},il&&el(il,n)?null:(il=n,(e=nr.getPooled(nl.select,ll,e,t)).type="select",e.target=rl,Yn(e),e))}var ul={eventTypes:nl,extractEvents:function(e,t,n,r,l,i){if(!(i=!(l=i||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{l=nt(l),i=E.onSelect;for(var a=0;a<i.length;a++)if(!l.has(i[a])){l=!1;break e}l=!0}i=!l}if(i)return null;switch(l=t?Wn(t):window,e){case"focus":(Tr(l)||"true"===l.contentEditable)&&(rl=l,ll=t,il=null);break;case"blur":il=ll=rl=null;break;case"mousedown":al=!0;break;case"contextmenu":case"mouseup":case"dragend":return al=!1,ol(n,r);case"selectionchange":if(tl)break;case"keydown":case"keyup":return ol(n,r)}return null}},cl=nr.extend({animationName:null,elapsedTime:null,pseudoElement:null}),sl=nr.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),fl=Ar.extend({relatedTarget:null});function dl(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var pl={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ml={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},hl=Ar.extend({key:function(e){if(e.key){var t=pl[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=dl(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?ml[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Vr,charCode:function(e){return"keypress"===e.type?dl(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?dl(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),gl=$r.extend({dataTransfer:null}),vl=Ar.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Vr}),yl=nr.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),bl=$r.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),wl={eventTypes:Ht,extractEvents:function(e,t,n,r){var l=jt.get(e);if(!l)return null;switch(e){case"keypress":if(0===dl(n))return null;case"keydown":case"keyup":e=hl;break;case"blur":case"focus":e=fl;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=$r;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=gl;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=vl;break;case Xe:case Ge:case Ze:e=cl;break;case Je:e=yl;break;case"scroll":e=Ar;break;case"wheel":e=bl;break;case"copy":case"cut":case"paste":e=sl;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=qr;break;default:e=nr}return Yn(t=e.getPooled(l,t,n,r)),t}};if(v)throw Error(l(101));v=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),b();var kl=Bn;p=Vn,m=kl,h=Wn,S({SimpleEventPlugin:wl,EnterLeaveEventPlugin:Xr,ChangeEventPlugin:Ur,SelectEventPlugin:ul,BeforeInputEventPlugin:kr});var xl=[],Tl=-1;function El(e){0>Tl||(e.current=xl[Tl],xl[Tl]=null,Tl--)}function Sl(e,t){xl[++Tl]=e.current,e.current=t}var Cl={},_l={current:Cl},Pl={current:!1},Nl=Cl;function zl(e,t){var n=e.type.contextTypes;if(!n)return Cl;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l,i={};for(l in n)i[l]=t[l];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Dl(e){return null!=(e=e.childContextTypes)}function Il(){El(Pl),El(_l)}function Ml(e,t,n){if(_l.current!==Cl)throw Error(l(168));Sl(_l,t),Sl(Pl,n)}function Rl(e,n,r){var i=e.stateNode;if(e=n.childContextTypes,"function"!=typeof i.getChildContext)return r;for(var a in i=i.getChildContext())if(!(a in e))throw Error(l(108,be(n)||"Unknown",a));return t({},r,{},i)}function Ol(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Cl,Nl=_l.current,Sl(_l,e),Sl(Pl,Pl.current),!0}function Fl(e,t,n){var r=e.stateNode;if(!r)throw Error(l(169));n?(e=Rl(e,t,Nl),r.__reactInternalMemoizedMergedChildContext=e,El(Pl),El(_l),Sl(_l,e)):El(Pl),Sl(Pl,n)}var Ll=n.unstable_runWithPriority,Ul=n.unstable_scheduleCallback,Al=n.unstable_cancelCallback,Bl=n.unstable_shouldYield,Wl=n.unstable_requestPaint,Vl=n.unstable_now,Ql=n.unstable_getCurrentPriorityLevel,Hl=n.unstable_ImmediatePriority,jl=n.unstable_UserBlockingPriority,Kl=n.unstable_NormalPriority,$l=n.unstable_LowPriority,ql=n.unstable_IdlePriority;if(null==r.__interactionsRef||null==r.__interactionsRef.current)throw Error(l(302));var Yl={},Xl=void 0!==Wl?Wl:function(){},Gl=null,Zl=null,Jl=!1,ei=Vl(),ti=1e4>ei?Vl:function(){return Vl()-ei};function ni(){switch(Ql()){case Hl:return 99;case jl:return 98;case Kl:return 97;case $l:return 96;case ql:return 95;default:throw Error(l(332))}}function ri(e){switch(e){case 99:return Hl;case 98:return jl;case 97:return Kl;case 96:return $l;case 95:return ql;default:throw Error(l(332))}}function li(e,t){return e=ri(e),Ll(e,t)}function ii(e,t,n){return e=ri(e),Ul(e,t,n)}function ai(e){return null===Gl?(Gl=[e],Zl=Ul(Hl,ui)):Gl.push(e),Yl}function oi(){if(null!==Zl){var e=Zl;Zl=null,Al(e)}ui()}function ui(){if(!Jl&&null!==Gl){Jl=!0;var e=0;try{var t=Gl;li(99,function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}}),Gl=null}catch(n){throw null!==Gl&&(Gl=Gl.slice(e+1)),Ul(Hl,oi),n}finally{Jl=!1}}}function ci(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function si(e,t){return 1073741823===t?99:1===t||2===t?95:0>=(e=10*(1073741821-t)-10*(1073741821-e))?99:250>=e?98:5250>=e?97:95}function fi(e,n){if(e&&e.defaultProps)for(var r in n=t({},n),e=e.defaultProps)void 0===n[r]&&(n[r]=e[r]);return n}var di={current:null},pi=null,mi=null,hi=null;function gi(){hi=mi=pi=null}function vi(e){var t=di.current;El(di),e.type._context._currentValue=t}function yi(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function bi(e,t){pi=e,hi=mi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Xa=!0),e.firstContext=null)}function wi(e,t){if(hi!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(hi=e,t=1073741823),t={context:e,observedBits:t,next:null},null===mi){if(null===pi)throw Error(l(308));mi=t,pi.dependencies={expirationTime:0,firstContext:t,responders:null}}else mi=mi.next=t;return e._currentValue}var ki=!1;function xi(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function Ti(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function Ei(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function Si(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function Ci(e,t){var n=e.alternate;null!==n&&Ti(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function _i(e,n,r,l){var i=e.updateQueue;ki=!1;var a=i.baseQueue,o=i.shared.pending;if(null!==o){if(null!==a){var u=a.next;a.next=o.next,o.next=u}a=o,i.shared.pending=null,null!==(u=e.alternate)&&(null!==(u=u.updateQueue)&&(u.baseQueue=o))}if(null!==a){u=a.next;var c=i.baseState,s=0,f=null,d=null,p=null;if(null!==u)for(var m=u;;){if((o=m.expirationTime)<l){var h={expirationTime:m.expirationTime,suspenseConfig:m.suspenseConfig,tag:m.tag,payload:m.payload,callback:m.callback,next:null};null===p?(d=p=h,f=c):p=p.next=h,o>s&&(s=o)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:m.suspenseConfig,tag:m.tag,payload:m.payload,callback:m.callback,next:null}),Vu(o,m.suspenseConfig);e:{var g=e,v=m;switch(o=n,h=r,v.tag){case 1:if("function"==typeof(g=v.payload)){c=g.call(h,c,o);break e}c=g;break e;case 3:g.effectTag=-4097&g.effectTag|64;case 0:if(null==(o="function"==typeof(g=v.payload)?g.call(h,c,o):g))break e;c=t({},c,o);break e;case 2:ki=!0}}null!==m.callback&&(e.effectTag|=32,null===(o=i.effects)?i.effects=[m]:o.push(m))}if(null===(m=m.next)||m===u){if(null===(o=i.shared.pending))break;m=a.next=o.next,o.next=u,i.baseQueue=a=o,i.shared.pending=null}}null===p?f=c:p.next=d,i.baseState=f,i.baseQueue=p,Qu(s),e.expirationTime=s,e.memoizedState=c}}function Pi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=i,i=n,"function"!=typeof r)throw Error(l(191,r));r.call(i)}}}var Ni=Z.ReactCurrentBatchConfig,zi=(new e.Component).refs;function Di(e,n,r,l){r=null==(r=r(l,n=e.memoizedState))?n:t({},n,r),e.memoizedState=r,0===e.expirationTime&&(e.updateQueue.baseState=r)}var Ii={isMounted:function(e){return!!(e=e._reactInternalFiber)&&rt(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=_u(),l=Ni.suspense;(l=Ei(r=Pu(r,e,l),l)).payload=t,null!=n&&(l.callback=n),Si(e,l),Nu(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=_u(),l=Ni.suspense;(l=Ei(r=Pu(r,e,l),l)).tag=1,l.payload=t,null!=n&&(l.callback=n),Si(e,l),Nu(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=_u(),r=Ni.suspense;(r=Ei(n=Pu(n,e,r),r)).tag=2,null!=t&&(r.callback=t),Si(e,r),Nu(e,n)}};function Mi(e,t,n,r,l,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!el(n,r)||!el(l,i))}function Ri(e,t,n){var r=!1,l=Cl,i=t.contextType;return"object"==typeof i&&null!==i?i=wi(i):(l=Dl(t)?Nl:_l.current,i=(r=null!=(r=t.contextTypes))?zl(e,l):Cl),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ii,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=i),t}function Oi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ii.enqueueReplaceState(t,t.state,null)}function Fi(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs=zi,xi(e);var i=t.contextType;"object"==typeof i&&null!==i?l.context=wi(i):(i=Dl(t)?Nl:_l.current,l.context=zl(e,i)),_i(e,n,l,r),l.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(Di(e,t,i,n),l.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof l.getSnapshotBeforeUpdate||"function"!=typeof l.UNSAFE_componentWillMount&&"function"!=typeof l.componentWillMount||(t=l.state,"function"==typeof l.componentWillMount&&l.componentWillMount(),"function"==typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount(),t!==l.state&&Ii.enqueueReplaceState(l,l.state,null),_i(e,n,l,r),l.state=e.memoizedState),"function"==typeof l.componentDidMount&&(e.effectTag|=4)}var Li=Array.isArray;function Ui(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(l(309));var r=n.stateNode}if(!r)throw Error(l(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:((t=function(e){var t=r.refs;t===zi&&(t=r.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}if("string"!=typeof e)throw Error(l(284));if(!n._owner)throw Error(l(290,e))}return e}function Ai(e,t){if("textarea"!==e.type)throw Error(l(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function Bi(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=vc(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function o(t){return e&&null===t.alternate&&(t.effectTag=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=wc(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=Ui(e,t,n),r.return=e,r):((r=yc(n.type,n.key,n.props,null,e.mode,r)).ref=Ui(e,t,n),r.return=e,r)}function s(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=kc(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function f(e,t,n,r,l){return null===t||7!==t.tag?((t=bc(n,e.mode,r,l)).return=e,t):((t=i(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=wc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ne:return(n=yc(t.type,t.key,t.props,null,e.mode,n)).ref=Ui(e,null,t),n.return=e,n;case re:return(t=kc(t,e.mode,n)).return=e,t}if(Li(t)||ve(t))return(t=bc(t,e.mode,n,null)).return=e,t;Ai(e,t)}return null}function p(e,t,n,r){var l=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==l?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ne:return n.key===l?n.type===le?f(e,t,n.props.children,r,l):c(e,t,n,r):null;case re:return n.key===l?s(e,t,n,r):null}if(Li(n)||ve(n))return null!==l?null:f(e,t,n,r,null);Ai(e,n)}return null}function m(e,t,n,r,l){if("string"==typeof r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,l);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ne:return e=e.get(null===r.key?n:r.key)||null,r.type===le?f(t,e,r.props.children,l,r.key):c(t,e,r,l);case re:return s(t,e=e.get(null===r.key?n:r.key)||null,r,l)}if(Li(r)||ve(r))return f(t,e=e.get(n)||null,r,l,null);Ai(t,r)}return null}function h(l,i,o,u){for(var c=null,s=null,f=i,h=i=0,g=null;null!==f&&h<o.length;h++){f.index>h?(g=f,f=null):g=f.sibling;var v=p(l,f,o[h],u);if(null===v){null===f&&(f=g);break}e&&f&&null===v.alternate&&t(l,f),i=a(v,i,h),null===s?c=v:s.sibling=v,s=v,f=g}if(h===o.length)return n(l,f),c;if(null===f){for(;h<o.length;h++)null!==(f=d(l,o[h],u))&&(i=a(f,i,h),null===s?c=f:s.sibling=f,s=f);return c}for(f=r(l,f);h<o.length;h++)null!==(g=m(f,l,h,o[h],u))&&(e&&null!==g.alternate&&f.delete(null===g.key?h:g.key),i=a(g,i,h),null===s?c=g:s.sibling=g,s=g);return e&&f.forEach(function(e){return t(l,e)}),c}function g(i,o,u,c){var s=ve(u);if("function"!=typeof s)throw Error(l(150));if(null==(u=s.call(u)))throw Error(l(151));for(var f=s=null,h=o,g=o=0,v=null,y=u.next();null!==h&&!y.done;g++,y=u.next()){h.index>g?(v=h,h=null):v=h.sibling;var b=p(i,h,y.value,c);if(null===b){null===h&&(h=v);break}e&&h&&null===b.alternate&&t(i,h),o=a(b,o,g),null===f?s=b:f.sibling=b,f=b,h=v}if(y.done)return n(i,h),s;if(null===h){for(;!y.done;g++,y=u.next())null!==(y=d(i,y.value,c))&&(o=a(y,o,g),null===f?s=y:f.sibling=y,f=y);return s}for(h=r(i,h);!y.done;g++,y=u.next())null!==(y=m(h,i,g,y.value,c))&&(e&&null!==y.alternate&&h.delete(null===y.key?g:y.key),o=a(y,o,g),null===f?s=y:f.sibling=y,f=y);return e&&h.forEach(function(e){return t(i,e)}),s}return function(e,r,a,u){var c="object"==typeof a&&null!==a&&a.type===le&&null===a.key;c&&(a=a.props.children);var s="object"==typeof a&&null!==a;if(s)switch(a.$$typeof){case ne:e:{for(s=a.key,c=r;null!==c;){if(c.key===s){switch(c.tag){case 7:if(a.type===le){n(e,c.sibling),(r=i(c,a.props.children)).return=e,e=r;break e}break;default:if(c.elementType===a.type){n(e,c.sibling),(r=i(c,a.props)).ref=Ui(e,c,a),r.return=e,e=r;break e}}n(e,c);break}t(e,c),c=c.sibling}a.type===le?((r=bc(a.props.children,e.mode,u,a.key)).return=e,e=r):((u=yc(a.type,a.key,a.props,null,e.mode,u)).ref=Ui(e,r,a),u.return=e,e=u)}return o(e);case re:e:{for(c=a.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),(r=i(r,a.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=kc(a,e.mode,u)).return=e,e=r}return o(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,a)).return=e,e=r):(n(e,r),(r=wc(a,e.mode,u)).return=e,e=r),o(e);if(Li(a))return h(e,r,a,u);if(ve(a))return g(e,r,a,u);if(s&&Ai(e,a),void 0===a&&!c)switch(e.tag){case 1:case 0:throw e=e.type,Error(l(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Wi=Bi(!0),Vi=Bi(!1),Qi={},Hi={current:Qi},ji={current:Qi},Ki={current:Qi};function $i(e){if(e===Qi)throw Error(l(174));return e}function qi(e,t){switch(Sl(Ki,t),Sl(ji,e),Sl(Hi,Qi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:We(null,"");break;default:t=We(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}El(Hi),Sl(Hi,t)}function Yi(){El(Hi),El(ji),El(Ki)}function Xi(e){$i(Ki.current);var t=$i(Hi.current),n=We(t,e.type);t!==n&&(Sl(ji,e),Sl(Hi,n))}function Gi(e){ji.current===e&&(El(Hi),El(ji))}var Zi={current:0};function Ji(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||n.data===Sn||n.data===Cn))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))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}function ea(e,t){return{responder:e,props:t}}var ta=Z.ReactCurrentDispatcher,na=Z.ReactCurrentBatchConfig,ra=0,la=null,ia=null,aa=null,oa=!1;function ua(){throw Error(l(321))}function ca(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Zr(e[n],t[n]))return!1;return!0}function sa(e,t,n,r,i,a){if(ra=a,la=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,ta.current=null===e||null===e.memoizedState?Ma:Ra,e=n(r,i),t.expirationTime===ra){a=0;do{if(t.expirationTime=0,!(25>a))throw Error(l(301));a+=1,aa=ia=null,t.updateQueue=null,ta.current=Oa,e=n(r,i)}while(t.expirationTime===ra)}if(ta.current=Ia,t=null!==ia&&null!==ia.next,ra=0,aa=ia=la=null,oa=!1,t)throw Error(l(300));return e}function fa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===aa?la.memoizedState=aa=e:aa=aa.next=e,aa}function da(){if(null===ia){var e=la.alternate;e=null!==e?e.memoizedState:null}else e=ia.next;var t=null===aa?la.memoizedState:aa.next;if(null!==t)aa=t,ia=e;else{if(null===e)throw Error(l(310));e={memoizedState:(ia=e).memoizedState,baseState:ia.baseState,baseQueue:ia.baseQueue,queue:ia.queue,next:null},null===aa?la.memoizedState=aa=e:aa=aa.next=e}return aa}function pa(e,t){return"function"==typeof t?t(e):t}function ma(e){var t=da(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=ia,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var o=i.next;i.next=a.next,a.next=o}r.baseQueue=i=a,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var u=o=a=null,c=i;do{var s=c.expirationTime;if(s<ra){var f={expirationTime:c.expirationTime,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===u?(o=u=f,a=r):u=u.next=f,s>la.expirationTime&&(la.expirationTime=s,Qu(s))}else null!==u&&(u=u.next={expirationTime:1073741823,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),Vu(s,c.suspenseConfig),r=c.eagerReducer===e?c.eagerState:e(r,c.action);c=c.next}while(null!==c&&c!==i);null===u?a=r:u.next=o,Zr(r,t.memoizedState)||(Xa=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function ha(e){var t=da(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(null!==i){n.pending=null;var o=i=i.next;do{a=e(a,o.action),o=o.next}while(o!==i);Zr(a,t.memoizedState)||(Xa=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function ga(e){var t=fa();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:pa,lastRenderedState:e}).dispatch=Da.bind(null,la,e),[t.memoizedState,e]}function va(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=la.updateQueue)?(t={lastEffect:null},la.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ya(){return da().memoizedState}function ba(e,t,n,r){var l=fa();la.effectTag|=e,l.memoizedState=va(1|t,n,void 0,void 0===r?null:r)}function wa(e,t,n,r){var l=da();r=void 0===r?null:r;var i=void 0;if(null!==ia){var a=ia.memoizedState;if(i=a.destroy,null!==r&&ca(r,a.deps))return void va(t,n,i,r)}la.effectTag|=e,l.memoizedState=va(1|t,n,i,r)}function ka(e,t){return ba(516,4,e,t)}function xa(e,t){return wa(516,4,e,t)}function Ta(e,t){return wa(4,2,e,t)}function Ea(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Sa(e,t,n){return n=null!=n?n.concat([e]):null,wa(4,2,Ea.bind(null,t,e),n)}function Ca(){}function _a(e,t){return fa().memoizedState=[e,void 0===t?null:t],e}function Pa(e,t){var n=da();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ca(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Na(e,t){var n=da();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ca(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function za(e,t,n){var r=ni();li(98>r?98:r,function(){e(!0)}),li(97<r?97:r,function(){var r=na.suspense;na.suspense=void 0===t?null:t;try{e(!1),n()}finally{na.suspense=r}})}function Da(e,t,n){var r=_u(),l=Ni.suspense;l={expirationTime:r=Pu(r,e,l),suspenseConfig:l,action:n,eagerReducer:null,eagerState:null,next:null};var i=t.pending;if(null===i?l.next=l:(l.next=i.next,i.next=l),t.pending=l,i=e.alternate,e===la||null!==i&&i===la)oa=!0,l.expirationTime=ra,la.expirationTime=ra;else{if(0===e.expirationTime&&(null===i||0===i.expirationTime)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,o=i(a,n);if(l.eagerReducer=i,l.eagerState=o,Zr(o,a))return}catch(u){}Nu(e,r)}}var Ia={readContext:wi,useCallback:ua,useContext:ua,useEffect:ua,useImperativeHandle:ua,useLayoutEffect:ua,useMemo:ua,useReducer:ua,useRef:ua,useState:ua,useDebugValue:ua,useResponder:ua,useDeferredValue:ua,useTransition:ua},Ma={readContext:wi,useCallback:_a,useContext:wi,useEffect:ka,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ba(4,2,Ea.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ba(4,2,e,t)},useMemo:function(e,t){var n=fa();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=fa();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Da.bind(null,la,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},fa().memoizedState=e},useState:ga,useDebugValue:Ca,useResponder:ea,useDeferredValue:function(e,t){var n=ga(e),r=n[0],l=n[1];return ka(function(){var n=na.suspense;na.suspense=void 0===t?null:t;try{l(e)}finally{na.suspense=n}},[e,t]),r},useTransition:function(e){var t=ga(!1),n=t[0];return t=t[1],[_a(za.bind(null,t,e),[t,e]),n]}},Ra={readContext:wi,useCallback:Pa,useContext:wi,useEffect:xa,useImperativeHandle:Sa,useLayoutEffect:Ta,useMemo:Na,useReducer:ma,useRef:ya,useState:function(){return ma(pa)},useDebugValue:Ca,useResponder:ea,useDeferredValue:function(e,t){var n=ma(pa),r=n[0],l=n[1];return xa(function(){var n=na.suspense;na.suspense=void 0===t?null:t;try{l(e)}finally{na.suspense=n}},[e,t]),r},useTransition:function(e){var t=ma(pa),n=t[0];return t=t[1],[Pa(za.bind(null,t,e),[t,e]),n]}},Oa={readContext:wi,useCallback:Pa,useContext:wi,useEffect:xa,useImperativeHandle:Sa,useLayoutEffect:Ta,useMemo:Na,useReducer:ha,useRef:ya,useState:function(){return ha(pa)},useDebugValue:Ca,useResponder:ea,useDeferredValue:function(e,t){var n=ha(pa),r=n[0],l=n[1];return xa(function(){var n=na.suspense;na.suspense=void 0===t?null:t;try{l(e)}finally{na.suspense=n}},[e,t]),r},useTransition:function(e){var t=ha(pa),n=t[0];return t=t[1],[Pa(za.bind(null,t,e),[t,e]),n]}},Fa=n.unstable_now,La=0,Ua=-1;function Aa(e,t){if(0<=Ua){var n=Fa()-Ua;e.actualDuration+=n,t&&(e.selfBaseDuration=n),Ua=-1}}var Ba=null,Wa=null,Va=!1;function Qa(e,t){var n=mc(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ha(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function ja(e){if(Va){var t=Wa;if(t){var n=t;if(!Ha(e,t)){if(!(t=Mn(n.nextSibling))||!Ha(e,t))return e.effectTag=-1025&e.effectTag|2,Va=!1,void(Ba=e);Qa(Ba,n)}Ba=e,Wa=Mn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,Va=!1,Ba=e}}function Ka(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ba=e}function $a(e){if(e!==Ba)return!1;if(!Va)return Ka(e),Va=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!zn(t,e.memoizedProps))for(t=Wa;t;)Qa(e,t),t=Mn(t.nextSibling);if(Ka(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if(n===En){if(0===t){Wa=Mn(e.nextSibling);break e}t--}else n!==Tn&&n!==Cn&&n!==Sn||t++}e=e.nextSibling}Wa=null}}else Wa=Ba?Mn(e.stateNode.nextSibling):null;return!0}function qa(){Wa=Ba=null,Va=!1}var Ya=Z.ReactCurrentOwner,Xa=!1;function Ga(e,t,n,r){t.child=null===e?Vi(t,null,n,r):Wi(t,e.child,n,r)}function Za(e,t,n,r,l){n=n.render;var i=t.ref;return bi(t,l),r=sa(e,t,n,r,i,l),null===e||Xa?(t.effectTag|=1,Ga(e,t,r,l),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=l&&(e.expirationTime=0),go(e,t,l))}function Ja(e,t,n,r,l,i){if(null===e){var a=n.type;return"function"!=typeof a||hc(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=yc(n.type,null,r,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,eo(e,t,a,r,l,i))}return a=e.child,l<i&&(l=a.memoizedProps,(n=null!==(n=n.compare)?n:el)(l,r)&&e.ref===t.ref)?go(e,t,i):(t.effectTag|=1,(e=vc(a,r)).ref=t.ref,e.return=t,t.child=e)}function eo(e,t,n,r,l,i){return null!==e&&el(e.memoizedProps,r)&&e.ref===t.ref&&(Xa=!1,l<i)?(t.expirationTime=e.expirationTime,go(e,t,i)):no(e,t,n,r,i)}function to(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function no(e,t,n,r,l){var i=Dl(n)?Nl:_l.current;return i=zl(t,i),bi(t,l),n=sa(e,t,n,r,i,l),null===e||Xa?(t.effectTag|=1,Ga(e,t,n,l),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=l&&(e.expirationTime=0),go(e,t,l))}function ro(e,t,n,r,l){if(Dl(n)){var i=!0;Ol(t)}else i=!1;if(bi(t,l),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),Ri(t,n,r),Fi(t,n,r,l),r=!0;else if(null===e){var a=t.stateNode,o=t.memoizedProps;a.props=o;var u=a.context,c=n.contextType;"object"==typeof c&&null!==c?c=wi(c):c=zl(t,c=Dl(n)?Nl:_l.current);var s=n.getDerivedStateFromProps,f="function"==typeof s||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(o!==r||u!==c)&&Oi(t,a,r,c),ki=!1;var d=t.memoizedState;a.state=d,_i(t,r,a,l),u=t.memoizedState,o!==r||d!==u||Pl.current||ki?("function"==typeof s&&(Di(t,n,s,r),u=t.memoizedState),(o=ki||Mi(t,n,o,r,d,u,c))?(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.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=c,r=o):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,Ti(e,t),o=t.memoizedProps,a.props=t.type===t.elementType?o:fi(t.type,o),u=a.context,"object"==typeof(c=n.contextType)&&null!==c?c=wi(c):c=zl(t,c=Dl(n)?Nl:_l.current),(f="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(o!==r||u!==c)&&Oi(t,a,r,c),ki=!1,u=t.memoizedState,a.state=u,_i(t,r,a,l),d=t.memoizedState,o!==r||u!==d||Pl.current||ki?("function"==typeof s&&(Di(t,n,s,r),d=t.memoizedState),(s=ki||Mi(t,n,o,r,u,d,c))?(f||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,d,c),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,d,c)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||o===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||o===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=d),a.props=r,a.state=d,a.context=c,r=s):("function"!=typeof a.componentDidUpdate||o===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||o===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),r=!1);return lo(e,t,n,r,i,l)}function lo(e,t,n,r,l,i){to(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return l&&Fl(t,n,!1),go(e,t,i);if(r=t.stateNode,Ya.current=t,a&&"function"!=typeof n.getDerivedStateFromError){var o=null;Ua=-1}else o=r.render();return t.effectTag|=1,null!==e&&a?(a=o,t.child=Wi(t,e.child,null,i),t.child=Wi(t,null,a,i)):Ga(e,t,o,i),t.memoizedState=r.state,l&&Fl(t,n,!0),t.child}function io(e){var t=e.stateNode;t.pendingContext?Ml(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ml(e,t.context,!1),qi(e,t.containerInfo)}var ao,oo,uo,co,so={dehydrated:null,retryTime:0};function fo(e,t,n){var r,l=t.mode,i=t.pendingProps,a=Zi.current,o=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&a)&&(null===e||null!==e.memoizedState)),r?(o=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(a|=1),Sl(Zi,1&a),null===e){if(void 0!==i.fallback&&ja(t),o){if(o=i.fallback,(i=bc(null,l,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=bc(o,l,n,null)).return=t,i.sibling=n,t.memoizedState=so,t.child=i,n}return l=i.children,t.memoizedState=null,t.child=Vi(t,null,l,n)}if(null!==e.memoizedState){if(l=(e=e.child).sibling,o){if(i=i.fallback,(n=vc(e,e.pendingProps)).return=t,0==(2&t.mode)&&(o=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=o;null!==o;)o.return=n,o=o.sibling;if(8&t.mode){for(o=0,e=n.child;null!==e;)o+=e.treeBaseDuration,e=e.sibling;n.treeBaseDuration=o}return(l=vc(l,i)).return=t,n.sibling=l,n.childExpirationTime=0,t.memoizedState=so,t.child=n,l}return n=Wi(t,e.child,i.children,n),t.memoizedState=null,t.child=n}if(e=e.child,o){if(o=i.fallback,(i=bc(null,l,0,null)).return=t,i.child=e,null!==e&&(e.return=i),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;if(8&t.mode){for(e=0,a=i.child;null!==a;)e+=a.treeBaseDuration,a=a.sibling;i.treeBaseDuration=e}return(n=bc(o,l,n,null)).return=t,i.sibling=n,n.effectTag|=2,i.childExpirationTime=0,t.memoizedState=so,t.child=i,n}return t.memoizedState=null,t.child=Wi(t,e,i.children,n)}function po(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),yi(e.return,t)}function mo(e,t,n,r,l,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:l,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=l,a.lastEffect=i)}function ho(e,t,n){var r=t.pendingProps,l=r.revealOrder,i=r.tail;if(Ga(e,t,r.children,n),0!=(2&(r=Zi.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&po(e,n);else if(19===e.tag)po(e,n);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(Sl(Zi,r),0==(2&t.mode))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;null!==n;)null!==(e=n.alternate)&&null===Ji(e)&&(l=n),n=n.sibling;null===(n=l)?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),mo(t,!1,l,n,i,t.lastEffect);break;case"backwards":for(n=null,l=t.child,t.child=null;null!==l;){if(null!==(e=l.alternate)&&null===Ji(e)){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}mo(t,!0,n,null,i,t.lastEffect);break;case"together":mo(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function go(e,t,n){null!==e&&(t.dependencies=e.dependencies),Ua=-1;var r=t.expirationTime;if(0!==r&&Qu(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(l(153));if(null!==t.child){for(n=vc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=vc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function vo(e,t){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 yo(e,n,r){var i=n.pendingProps;switch(n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Dl(n.type)&&Il(),null;case 3:return Yi(),El(Pl),El(_l),(r=n.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||!$a(n)||(n.effectTag|=4),oo(n),null;case 5:Gi(n),r=$i(Ki.current);var a=n.type;if(null!==e&&null!=n.stateNode)uo(e,n,a,i,r),e.ref!==n.ref&&(n.effectTag|=128);else{if(!i){if(null===n.stateNode)throw Error(l(166));return null}if(e=$i(Hi.current),$a(n)){i=n.stateNode,a=n.type;var o=n.memoizedProps;switch(i[Fn]=n,i[Ln]=o,a){case"iframe":case"object":case"embed":en("load",i);break;case"video":case"audio":for(e=0;e<et.length;e++)en(et[e],i);break;case"source":en("error",i);break;case"img":case"image":case"link":en("error",i),en("load",i);break;case"form":en("reset",i),en("submit",i);break;case"details":en("toggle",i);break;case"input":_e(i,o),en("invalid",i),hn(r,"onChange");break;case"select":i._wrapperState={wasMultiple:!!o.multiple},en("invalid",i),hn(r,"onChange");break;case"textarea":Fe(i,o),en("invalid",i),hn(r,"onChange")}for(var u in dn(a,o),e=null,o)if(o.hasOwnProperty(u)){var c=o[u];"children"===u?"string"==typeof c?i.textContent!==c&&(e=["children",c]):"number"==typeof c&&i.textContent!==""+c&&(e=["children",""+c]):T.hasOwnProperty(u)&&null!=c&&hn(r,u)}switch(a){case"input":Ee(i),ze(i,o,!0);break;case"textarea":Ee(i),Ue(i);break;case"select":case"option":break;default:"function"==typeof o.onClick&&(i.onclick=gn)}r=e,n.updateQueue=r,null!==r&&(n.effectTag|=4)}else{switch(u=9===r.nodeType?r:r.ownerDocument,e===mn&&(e=Be(a)),e===mn?"script"===a?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof i.is?e=u.createElement(a,{is:i.is}):(e=u.createElement(a),"select"===a&&(u=e,i.multiple?u.multiple=!0:i.size&&(u.size=i.size))):e=u.createElementNS(e,a),e[Fn]=n,e[Ln]=i,ao(e,n,!1,!1),n.stateNode=e,u=pn(a,i),a){case"iframe":case"object":case"embed":en("load",e),c=i;break;case"video":case"audio":for(c=0;c<et.length;c++)en(et[c],e);c=i;break;case"source":en("error",e),c=i;break;case"img":case"image":case"link":en("error",e),en("load",e),c=i;break;case"form":en("reset",e),en("submit",e),c=i;break;case"details":en("toggle",e),c=i;break;case"input":_e(e,i),c=Ce(e,i),en("invalid",e),hn(r,"onChange");break;case"option":c=Me(e,i);break;case"select":e._wrapperState={wasMultiple:!!i.multiple},c=t({},i,{value:void 0}),en("invalid",e),hn(r,"onChange");break;case"textarea":Fe(e,i),c=Oe(e,i),en("invalid",e),hn(r,"onChange");break;default:c=i}dn(a,c);var s=c;for(o in s)if(s.hasOwnProperty(o)){var f=s[o];"style"===o?sn(e,f):"dangerouslySetInnerHTML"===o?null!=(f=f?f.__html:void 0)&&Qe(e,f):"children"===o?"string"==typeof f?("textarea"!==a||""!==f)&&He(e,f):"number"==typeof f&&He(e,""+f):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(T.hasOwnProperty(o)?null!=f&&hn(r,o):null!=f&&J(e,o,f,u))}switch(a){case"input":Ee(e),ze(e,i,!1);break;case"textarea":Ee(e),Ue(e);break;case"option":null!=i.value&&e.setAttribute("value",""+ke(i.value));break;case"select":e.multiple=!!i.multiple,null!=(r=i.value)?Re(e,!!i.multiple,r,!1):null!=i.defaultValue&&Re(e,!!i.multiple,i.defaultValue,!0);break;default:"function"==typeof c.onClick&&(e.onclick=gn)}Nn(a,i)&&(n.effectTag|=4)}null!==n.ref&&(n.effectTag|=128)}return null;case 6:if(e&&null!=n.stateNode)co(e,n,e.memoizedProps,i);else{if("string"!=typeof i&&null===n.stateNode)throw Error(l(166));r=$i(Ki.current),$i(Hi.current),$a(n)?(r=n.stateNode,i=n.memoizedProps,r[Fn]=n,r.nodeValue!==i&&(n.effectTag|=4)):((r=(9===r.nodeType?r:r.ownerDocument).createTextNode(i))[Fn]=n,n.stateNode=r)}return null;case 13:return El(Zi),i=n.memoizedState,0!=(64&n.effectTag)?(n.expirationTime=r,n):(r=null!==i,i=!1,null===e?void 0!==n.memoizedProps.fallback&&$a(n):(i=null!==(a=e.memoizedState),r||null===a||null!==(a=e.child.sibling)&&(null!==(o=n.firstEffect)?(n.firstEffect=a,a.nextEffect=o):(n.firstEffect=n.lastEffect=a,a.nextEffect=null),a.effectTag=8)),r&&!i&&0!=(2&n.mode)&&(null===e&&!0!==n.memoizedProps.unstable_avoidThisFallback||0!=(1&Zi.current)?iu===Yo&&(iu=Zo):(iu!==Yo&&iu!==Zo||(iu=Jo),0!==su&&null!==nu&&(Ec(nu,lu),Sc(nu,su)))),(r||i)&&(n.effectTag|=4),null);case 4:return Yi(),oo(n),null;case 10:return vi(n),null;case 17:return Dl(n.type)&&Il(),null;case 19:if(El(Zi),null===(i=n.memoizedState))return null;if(a=0!=(64&n.effectTag),null===(o=i.rendering)){if(a)vo(i,!1);else if(iu!==Yo||null!==e&&0!=(64&e.effectTag))for(o=n.child;null!==o;){if(null!==(e=Ji(o))){for(n.effectTag|=64,vo(i,!1),null!==(a=e.updateQueue)&&(n.updateQueue=a,n.effectTag|=4),null===i.lastEffect&&(n.firstEffect=null),n.lastEffect=i.lastEffect,i=n.child;null!==i;)e=r,(a=i).effectTag&=2,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,null===(o=a.alternate)?(a.childExpirationTime=0,a.expirationTime=e,a.child=null,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.selfBaseDuration=0,a.treeBaseDuration=0):(a.childExpirationTime=o.childExpirationTime,a.expirationTime=o.expirationTime,a.child=o.child,a.memoizedProps=o.memoizedProps,a.memoizedState=o.memoizedState,a.updateQueue=o.updateQueue,e=o.dependencies,a.dependencies=null===e?null:{expirationTime:e.expirationTime,firstContext:e.firstContext,responders:e.responders},a.selfBaseDuration=o.selfBaseDuration,a.treeBaseDuration=o.treeBaseDuration),i=i.sibling;return Sl(Zi,1&Zi.current|2),n.child}o=o.sibling}}else{if(!a)if(null!==(e=Ji(o))){if(n.effectTag|=64,a=!0,null!==(r=e.updateQueue)&&(n.updateQueue=r,n.effectTag|=4),vo(i,!0),null===i.tail&&"hidden"===i.tailMode&&!o.alternate)return null!==(n=n.lastEffect=i.lastEffect)&&(n.nextEffect=null),null}else 2*ti()-i.renderingStartTime>i.tailExpiration&&1<r&&(n.effectTag|=64,a=!0,vo(i,!1),--r,n.expirationTime=n.childExpirationTime=r,lc(r));i.isBackwards?(o.sibling=n.child,n.child=o):(null!==(r=i.last)?r.sibling=o:n.child=o,i.last=o)}return null!==i.tail?(0===i.tailExpiration&&(i.tailExpiration=ti()+500),r=i.tail,i.rendering=r,i.tail=r.sibling,i.lastEffect=n.lastEffect,i.renderingStartTime=ti(),r.sibling=null,n=Zi.current,Sl(Zi,a?1&n|2:1&n),r):null}throw Error(l(156,n.tag))}function bo(e){switch(e.tag){case 1:Dl(e.type)&&Il();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Yi(),El(Pl),El(_l),0!=(64&(t=e.effectTag)))throw Error(l(285));return e.effectTag=-4097&t|64,e;case 5:return Gi(e),null;case 13:return El(Zi),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return El(Zi),null;case 4:return Yi(),null;case 10:return vi(e),null;default:return null}}function wo(e,t){return{value:e,source:t,stack:we(t)}}ao=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}},oo=function(){},uo=function(e,n,r,l,i){var a=e.memoizedProps;if(a!==l){var o,u,c=n.stateNode;switch($i(Hi.current),e=null,r){case"input":a=Ce(c,a),l=Ce(c,l),e=[];break;case"option":a=Me(c,a),l=Me(c,l),e=[];break;case"select":a=t({},a,{value:void 0}),l=t({},l,{value:void 0}),e=[];break;case"textarea":a=Oe(c,a),l=Oe(c,l),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof l.onClick&&(c.onclick=gn)}for(o in dn(r,l),r=null,a)if(!l.hasOwnProperty(o)&&a.hasOwnProperty(o)&&null!=a[o])if("style"===o)for(u in c=a[o])c.hasOwnProperty(u)&&(r||(r={}),r[u]="");else"dangerouslySetInnerHTML"!==o&&"children"!==o&&"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(T.hasOwnProperty(o)?e||(e=[]):(e=e||[]).push(o,null));for(o in l){var s=l[o];if(c=null!=a?a[o]:void 0,l.hasOwnProperty(o)&&s!==c&&(null!=s||null!=c))if("style"===o)if(c){for(u in c)!c.hasOwnProperty(u)||s&&s.hasOwnProperty(u)||(r||(r={}),r[u]="");for(u in s)s.hasOwnProperty(u)&&c[u]!==s[u]&&(r||(r={}),r[u]=s[u])}else r||(e||(e=[]),e.push(o,r)),r=s;else"dangerouslySetInnerHTML"===o?(s=s?s.__html:void 0,c=c?c.__html:void 0,null!=s&&c!==s&&(e=e||[]).push(o,s)):"children"===o?c===s||"string"!=typeof s&&"number"!=typeof s||(e=e||[]).push(o,""+s):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&(T.hasOwnProperty(o)?(null!=s&&hn(i,o),e||c===s||(e=[])):(e=e||[]).push(o,s))}r&&(e=e||[]).push("style",r),i=e,(n.updateQueue=i)&&(n.effectTag|=4)}},co=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var ko="function"==typeof WeakSet?WeakSet:Set;function xo(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=we(n)),null!==n&&be(n.type),t=t.value,null!==e&&1===e.tag&&be(e.type);try{console.error(t)}catch(l){setTimeout(function(){throw l})}}function To(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(n){tc(e,n)}}function Eo(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(n){tc(e,n)}else t.current=null}function So(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:fi(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(l(163))}function Co(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.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function _o(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 Po(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void _o(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:fi(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&Pi(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}Pi(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&Nn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:return;case 12:return void("function"==typeof(r=n.memoizedProps.onRender)&&r(n.memoizedProps.id,null===t?"mount":"update",n.actualDuration,n.treeBaseDuration,n.actualStartTime,La,e.memoizedInteractions));case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Qt(n)))));case 19:case 17:case 20:case 21:return}throw Error(l(163))}function No(e,t,n){switch("function"==typeof sc&&sc(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;li(97<n?97:n,function(){var e=r;do{var n=e.destroy;if(void 0!==n){var l=t;try{n()}catch(i){tc(l,i)}}e=e.next}while(e!==r)})}break;case 1:Eo(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&To(t,n);break;case 5:Eo(t);break;case 4:Oo(e,t,n)}}function zo(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&zo(t)}function Do(e){return 5===e.tag||3===e.tag||4===e.tag}function Io(e){e:{for(var t=e.return;null!==t;){if(Do(t)){var n=t;break e}t=t.return}throw Error(l(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(l(161))}16&n.effectTag&&(He(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Do(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?Mo(e,n,t):Ro(e,n,t)}function Mo(e,t,n){var r=e.tag,l=5===r||6===r;if(l)e=l?e.stateNode:e.stateNode.instance,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=gn));else if(4!==r&&null!==(e=e.child))for(Mo(e,t,n),e=e.sibling;null!==e;)Mo(e,t,n),e=e.sibling}function Ro(e,t,n){var r=e.tag,l=5===r||6===r;if(l)e=l?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(Ro(e,t,n),e=e.sibling;null!==e;)Ro(e,t,n),e=e.sibling}function Oo(e,t,n){for(var r,i,a=t,o=!1;;){if(!o){o=a.return;e:for(;;){if(null===o)throw Error(l(160));switch(r=o.stateNode,o.tag){case 5:i=!1;break e;case 3:case 4:r=r.containerInfo,i=!0;break e}o=o.return}o=!0}if(5===a.tag||6===a.tag){e:for(var u=e,c=a,s=n,f=c;;)if(No(u,f,s),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===c)break e;for(;null===f.sibling;){if(null===f.return||f.return===c)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}i?(u=r,c=a.stateNode,8===u.nodeType?u.parentNode.removeChild(c):u.removeChild(c)):r.removeChild(a.stateNode)}else if(4===a.tag){if(null!==a.child){r=a.stateNode.containerInfo,i=!0,a.child.return=a,a=a.child;continue}}else if(No(e,a,n),null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)return;4===(a=a.return).tag&&(o=!1)}a.sibling.return=a.return,a=a.sibling}}function Fo(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void Co(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,i=null!==e?e.memoizedProps:r;e=t.type;var a=t.updateQueue;if(t.updateQueue=null,null!==a){for(n[Ln]=r,"input"===e&&"radio"===r.type&&null!=r.name&&Pe(n,r),pn(e,i),t=pn(e,r),i=0;i<a.length;i+=2){var o=a[i],u=a[i+1];"style"===o?sn(n,u):"dangerouslySetInnerHTML"===o?Qe(n,u):"children"===o?He(n,u):J(n,o,u,t)}switch(e){case"input":Ne(n,r);break;case"textarea":Le(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Re(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Re(n,!!r.multiple,r.defaultValue,!0):Re(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(l(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Qt(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,du=ti()),null!==n)e:for(e=n;;){if(5===e.tag)a=e.stateNode,r?"function"==typeof(a=a.style).setProperty?a.setProperty("display","none","important"):a.display="none":(a=e.stateNode,i=null!=(i=e.memoizedProps.style)&&i.hasOwnProperty("display")?i.display:null,a.style.display=cn("display",i));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(a=e.child.sibling).return=e,e=a;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void Lo(t);case 19:return void Lo(t);case 17:return}throw Error(l(163))}function Lo(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new ko),t.forEach(function(t){var l=rc.bind(null,e,t);n.has(t)||(!0!==t.__reactDoNotTraceInteractions&&(l=r.unstable_wrap(l)),n.add(t),t.then(l,l))})}}var Uo="function"==typeof WeakMap?WeakMap:Map;function Ao(e,t,n){(n=Ei(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){hu||(hu=!0,gu=r),xo(e,t)},n}function Bo(e,t,n){(n=Ei(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var l=t.value;n.payload=function(){return xo(e,t),r(l)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===vu?vu=new Set([this]):vu.add(this),xo(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var Wo,Vo=Math.ceil,Qo=Z.ReactCurrentDispatcher,Ho=Z.ReactCurrentOwner,jo=0,Ko=8,$o=16,qo=32,Yo=0,Xo=1,Go=2,Zo=3,Jo=4,eu=5,tu=jo,nu=null,ru=null,lu=0,iu=Yo,au=null,ou=1073741823,uu=1073741823,cu=null,su=0,fu=!1,du=0,pu=500,mu=null,hu=!1,gu=null,vu=null,yu=!1,bu=null,wu=90,ku=0,xu=null,Tu=0,Eu=null,Su=null,Cu=0;function _u(){return(tu&($o|qo))!==jo?1073741821-(ti()/10|0):0!==Cu?Cu:Cu=1073741821-(ti()/10|0)}function Pu(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=ni();if(0==(4&t))return 99===r?1073741823:1073741822;if((tu&$o)!==jo)return lu;if(null!==n)e=ci(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=ci(e,150,100);break;case 97:case 96:e=ci(e,5e3,250);break;case 95:e=2;break;default:throw Error(l(326))}return null!==nu&&e===lu&&--e,e}function Nu(e,t){if(50<Tu)throw Tu=0,Eu=null,Error(l(185));if(null!==(e=zu(e,t))){var n=ni();1073741823===t?(tu&Ko)!==jo&&(tu&($o|qo))===jo?(ac(e,t),Ru(e)):(Iu(e),ac(e,t),tu===jo&&oi()):(Iu(e),ac(e,t)),(4&tu)===jo||98!==n&&99!==n||(null===xu?xu=new Map([[e,t]]):(void 0===(n=xu.get(e))||n>t)&&xu.set(e,t))}}function zu(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,l=null;if(null===r&&3===e.tag)l=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){l=r.stateNode;break}r=r.return}return null!==l&&(nu===l&&(Qu(t),iu===Jo&&Ec(l,lu)),Sc(l,t)),l}function Du(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Tc(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function Iu(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=ai(Ru.bind(null,e));else{var t=Du(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=_u();if(r=si(r,t),null!==n){var l=e.callbackPriority;if(e.callbackExpirationTime===t&&l>=r)return;n!==Yl&&Al(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?ai(Ru.bind(null,e)):ii(r,Mu.bind(null,e),{timeout:10*(1073741821-t)-ti()}),e.callbackNode=t}}}function Mu(e,t){if(Cu=0,t)return Cc(e,t=_u()),Iu(e),null;var n=Du(e);if(0!==n){if(t=e.callbackNode,(tu&($o|qo))!==jo)throw Error(l(327));if(Zu(),e===nu&&n===lu||(Uu(e,n),oc(e,n)),null!==ru){var i=tu;tu|=$o;for(var a=Bu(),o=Wu(e);;)try{ju();break}catch(c){Au(e,c)}if(gi(),tu=i,Qo.current=a,r.__interactionsRef.current=o,iu===Xo)throw t=au,Uu(e,n),Ec(e,n),Iu(e),t;if(null===ru)switch(a=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,i=iu,nu=null,i){case Yo:case Xo:throw Error(l(345));case Go:Cc(e,2<n?2:n);break;case Zo:if(Ec(e,n),n===(i=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=qu(a)),1073741823===ou&&10<(a=du+pu-ti())){if(fu&&(0===(o=e.lastPingedTime)||o>=n)){e.lastPingedTime=n,Uu(e,n);break}if(0!==(o=Du(e))&&o!==n)break;if(0!==i&&i!==n){e.lastPingedTime=i;break}e.timeoutHandle=Dn(Yu.bind(null,e),a);break}Yu(e);break;case Jo:if(Ec(e,n),n===(i=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=qu(a)),fu&&(0===(a=e.lastPingedTime)||a>=n)){e.lastPingedTime=n,Uu(e,n);break}if(0!==(a=Du(e))&&a!==n)break;if(0!==i&&i!==n){e.lastPingedTime=i;break}if(1073741823!==uu?i=10*(1073741821-uu)-ti():1073741823===ou?i=0:(i=10*(1073741821-ou)-5e3,0>(i=(a=ti())-i)&&(i=0),(n=10*(1073741821-n)-a)<(i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*Vo(i/1960))-i)&&(i=n)),10<i){e.timeoutHandle=Dn(Yu.bind(null,e),i);break}Yu(e);break;case eu:if(1073741823!==ou&&null!==cu){o=ou;var u=cu;if(0>=(i=0|u.busyMinDurationMs)?i=0:(a=0|u.busyDelayMs,i=(o=ti()-(10*(1073741821-o)-(0|u.timeoutMs||5e3)))<=a?0:a+i-o),10<i){Ec(e,n),e.timeoutHandle=Dn(Yu.bind(null,e),i);break}}Yu(e);break;default:throw Error(l(329))}if(Iu(e),e.callbackNode===t)return Mu.bind(null,e)}}return null}function Ru(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,(tu&($o|qo))!==jo)throw Error(l(327));if(Zu(),e===nu&&t===lu||(Uu(e,t),oc(e,t)),null!==ru){var n=tu;tu|=$o;for(var i=Bu(),a=Wu(e);;)try{Hu();break}catch(o){Au(e,o)}if(gi(),tu=n,Qo.current=i,r.__interactionsRef.current=a,iu===Xo)throw n=au,Uu(e,t),Ec(e,t),Iu(e),n;if(null!==ru)throw Error(l(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,nu=null,Yu(e),Iu(e)}return null}function Ou(){if(null!==xu){var e=xu;xu=null,e.forEach(function(e,t){Cc(t,e),Iu(t)}),oi()}}function Fu(e,t){var n=tu;tu|=1;try{return e(t)}finally{(tu=n)===jo&&oi()}}function Lu(e,t){var n=tu;tu&=-2,tu|=Ko;try{return e(t)}finally{(tu=n)===jo&&oi()}}function Uu(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,In(n)),null!==ru)for(n=ru.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&Il();break;case 3:Yi(),El(Pl),El(_l);break;case 5:Gi(r);break;case 4:Yi();break;case 13:case 19:El(Zi);break;case 10:vi(r)}n=n.return}nu=e,ru=vc(e.current,null),lu=t,iu=Yo,au=null,uu=ou=1073741823,cu=null,su=0,fu=!1,Su=null}function Au(e,t){for(;;){try{if(gi(),ta.current=Ia,oa)for(var n=la.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(ra=0,aa=ia=la=null,oa=!1,null===ru||null===ru.return)return iu=Xo,au=t,ru=null;8&ru.mode&&Aa(ru,!0);e:{var l=e,i=ru.return,a=ru,o=t;if(t=lu,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==o&&"object"==typeof o&&"function"==typeof o.then){var u=o;if(0==(2&a.mode)){var c=a.alternate;c?(a.updateQueue=c.updateQueue,a.memoizedState=c.memoizedState,a.expirationTime=c.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var s=0!=(1&Zi.current),f=i;do{var d;if(d=13===f.tag){var p=f.memoizedState;if(null!==p)d=null!==p.dehydrated;else{var m=f.memoizedProps;d=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!s)}}if(d){var h=f.updateQueue;if(null===h){var g=new Set;g.add(u),f.updateQueue=g}else h.add(u);if(0==(2&f.mode)){if(f.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var v=Ei(1073741823,null);v.tag=2,Si(a,v)}a.expirationTime=1073741823;break e}o=void 0,a=t;var y=l.pingCache;if(null===y?(y=l.pingCache=new Uo,o=new Set,y.set(u,o)):void 0===(o=y.get(u))&&(o=new Set,y.set(u,o)),!o.has(a)){o.add(a);var b=nc.bind(null,l,u,a);u.then(b,b)}f.effectTag|=4096,f.expirationTime=t;break e}f=f.return}while(null!==f);o=Error((be(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+we(a))}iu!==eu&&(iu=Go),o=wo(o,a),f=i;do{switch(f.tag){case 3:u=o,f.effectTag|=4096,f.expirationTime=t,Ci(f,Ao(f,u,t));break e;case 1:u=o;var w=f.type,k=f.stateNode;if(0==(64&f.effectTag)&&("function"==typeof w.getDerivedStateFromError||null!==k&&"function"==typeof k.componentDidCatch&&(null===vu||!vu.has(k)))){f.effectTag|=4096,f.expirationTime=t,Ci(f,Bo(f,u,t));break e}}f=f.return}while(null!==f)}ru=$u(ru)}catch(x){t=x;continue}break}}function Bu(){var e=Qo.current;return Qo.current=Ia,null===e?Ia:e}function Wu(e){var t=r.__interactionsRef.current;return r.__interactionsRef.current=e.memoizedInteractions,t}function Vu(e,t){e<ou&&2<e&&(ou=e),null!==t&&e<uu&&2<e&&(uu=e,cu=t)}function Qu(e){e>su&&(su=e)}function Hu(){for(;null!==ru;)ru=Ku(ru)}function ju(){for(;null!==ru&&!Bl();)ru=Ku(ru)}function Ku(e){var t=e.alternate;return 0!=(8&e.mode)?(Ua=Fa(),0>e.actualStartTime&&(e.actualStartTime=Fa()),t=Wo(t,e,lu),Aa(e,!0)):t=Wo(t,e,lu),e.memoizedProps=e.pendingProps,null===t&&(t=$u(e)),Ho.current=null,t}function $u(e){ru=e;do{var t=ru.alternate;if(e=ru.return,0==(2048&ru.effectTag)){if(0==(8&ru.mode))t=yo(t,ru,lu);else{var n=ru;Ua=Fa(),0>n.actualStartTime&&(n.actualStartTime=Fa()),t=yo(t,ru,lu),Aa(ru,!1)}if(n=ru,1===lu||1!==n.childExpirationTime){var r=0;if(0!=(8&n.mode)){for(var l=n.actualDuration,i=n.selfBaseDuration,a=null===n.alternate||n.child!==n.alternate.child,o=n.child;null!==o;){var u=o.expirationTime,c=o.childExpirationTime;u>r&&(r=u),c>r&&(r=c),a&&(l+=o.actualDuration),i+=o.treeBaseDuration,o=o.sibling}n.actualDuration=l,n.treeBaseDuration=i}else for(l=n.child;null!==l;)(i=l.expirationTime)>r&&(r=i),(a=l.childExpirationTime)>r&&(r=a),l=l.sibling;n.childExpirationTime=r}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=ru.firstEffect),null!==ru.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=ru.firstEffect),e.lastEffect=ru.lastEffect),1<ru.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=ru:e.firstEffect=ru,e.lastEffect=ru))}else{if(t=bo(ru),0!=(8&ru.mode)){for(Aa(ru,!1),n=ru.actualDuration,r=ru.child;null!==r;)n+=r.actualDuration,r=r.sibling;ru.actualDuration=n}if(null!==t)return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=ru.sibling))return t;ru=e}while(null!==ru);return iu===Yo&&(iu=eu),null}function qu(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function Yu(e){var t=ni();return li(99,Xu.bind(null,e,t)),null}function Xu(e,t){do{Zu()}while(null!==bu);if((tu&($o|qo))!==jo)throw Error(l(327));var n=e.finishedWork,i=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(l(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var a=qu(n);if(e.firstPendingTime=a,i<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:i<=e.firstSuspendedTime&&(e.firstSuspendedTime=i-1),i<=e.lastPingedTime&&(e.lastPingedTime=0),i<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===nu&&(ru=nu=null,lu=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,a=n.firstEffect):a=n:a=n.firstEffect,null!==a){var o=tu;tu|=qo;var u=Wu(e);Ho.current=null,_n=Jt;var c=kn();if(xn(c)){if("selectionStart"in c)var s={start:c.selectionStart,end:c.selectionEnd};else e:{var f=(s=(s=c.ownerDocument)&&s.defaultView||window).getSelection&&s.getSelection();if(f&&0!==f.rangeCount){s=f.anchorNode;var d=f.anchorOffset,p=f.focusNode;f=f.focusOffset;try{s.nodeType,p.nodeType}catch(P){s=null;break e}var m=0,h=-1,g=-1,v=0,y=0,b=c,w=null;t:for(;;){for(var k;b!==s||0!==d&&3!==b.nodeType||(h=m+d),b!==p||0!==f&&3!==b.nodeType||(g=m+f),3===b.nodeType&&(m+=b.nodeValue.length),null!==(k=b.firstChild);)w=b,b=k;for(;;){if(b===c)break t;if(w===s&&++v===d&&(h=m),w===p&&++y===f&&(g=m),null!==(k=b.nextSibling))break;w=(b=w).parentNode}b=k}s=-1===h||-1===g?null:{start:h,end:g}}else s=null}s=s||{start:0,end:0}}else s=null;Pn={activeElementDetached:null,focusedElem:c,selectionRange:s},Jt=!1,mu=a;do{try{Gu()}catch(P){if(null===mu)throw Error(l(330));tc(mu,P),mu=mu.nextEffect}}while(null!==mu);La=Fa(),mu=a;do{try{for(c=e,s=t;null!==mu;){var x=mu.effectTag;if(16&x&&He(mu.stateNode,""),128&x){var T=mu.alternate;if(null!==T){var E=T.ref;null!==E&&("function"==typeof E?E(null):E.current=null)}}switch(1038&x){case 2:Io(mu),mu.effectTag&=-3;break;case 6:Io(mu),mu.effectTag&=-3,Fo(mu.alternate,mu);break;case 1024:mu.effectTag&=-1025;break;case 1028:mu.effectTag&=-1025,Fo(mu.alternate,mu);break;case 4:Fo(mu.alternate,mu);break;case 8:Oo(c,d=mu,s),zo(d)}mu=mu.nextEffect}}catch(P){if(null===mu)throw Error(l(330));tc(mu,P),mu=mu.nextEffect}}while(null!==mu);if(E=Pn,T=kn(),x=E.focusedElem,s=E.selectionRange,T!==x&&x&&x.ownerDocument&&wn(x.ownerDocument.documentElement,x)){null!==s&&xn(x)&&(T=s.start,void 0===(E=s.end)&&(E=T),"selectionStart"in x?(x.selectionStart=T,x.selectionEnd=Math.min(E,x.value.length)):(E=(T=x.ownerDocument||document)&&T.defaultView||window).getSelection&&(E=E.getSelection(),d=x.textContent.length,c=Math.min(s.start,d),s=void 0===s.end?c:Math.min(s.end,d),!E.extend&&c>s&&(d=s,s=c,c=d),d=bn(x,c),p=bn(x,s),d&&p&&(1!==E.rangeCount||E.anchorNode!==d.node||E.anchorOffset!==d.offset||E.focusNode!==p.node||E.focusOffset!==p.offset)&&((T=T.createRange()).setStart(d.node,d.offset),E.removeAllRanges(),c>s?(E.addRange(T),E.extend(p.node,p.offset)):(T.setEnd(p.node,p.offset),E.addRange(T))))),T=[];for(E=x;E=E.parentNode;)1===E.nodeType&&T.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"==typeof x.focus&&x.focus(),x=0;x<T.length;x++)(E=T[x]).element.scrollLeft=E.left,E.element.scrollTop=E.top}Jt=!!_n,Pn=_n=null,e.current=n,mu=a;do{try{for(x=e;null!==mu;){var S=mu.effectTag;if(36&S&&Po(x,mu.alternate,mu),128&S){T=void 0;var C=mu.ref;if(null!==C){var _=mu.stateNode;switch(mu.tag){case 5:T=_;break;default:T=_}"function"==typeof C?C(T):C.current=T}}mu=mu.nextEffect}}catch(P){if(null===mu)throw Error(l(330));tc(mu,P),mu=mu.nextEffect}}while(null!==mu);mu=null,Xl(),r.__interactionsRef.current=u,tu=o}else e.current=n,La=Fa();if(S=yu)yu=!1,bu=e,ku=i,wu=t;else for(mu=a;null!==mu;)t=mu.nextEffect,mu.nextEffect=null,mu=t;if(0!==(t=e.firstPendingTime)){if(null!==Su)for(a=Su,Su=null,C=0;C<a.length;C++)ic(e,a[C],e.memoizedInteractions);ac(e,t)}else vu=null;if(S||uc(e,i),1073741823===t?e===Eu?Tu++:(Tu=0,Eu=e):Tu=0,"function"==typeof cc&&cc(n.stateNode,i),Iu(e),hu)throw hu=!1,e=gu,gu=null,e;return(tu&Ko)!==jo?null:(oi(),null)}function Gu(){for(;null!==mu;){var e=mu.effectTag;0!=(256&e)&&So(mu.alternate,mu),0==(512&e)||yu||(yu=!0,ii(97,function(){return Zu(),null})),mu=mu.nextEffect}}function Zu(){if(90!==wu){var e=97<wu?97:wu;return wu=90,li(e,Ju)}}function Ju(){if(null===bu)return!1;var e=bu,t=ku;if(bu=null,ku=0,(tu&($o|qo))!==jo)throw Error(l(331));var n=tu;tu|=qo;for(var i=Wu(e),a=e.current.firstEffect;null!==a;){try{var o=a;if(0!=(512&o.effectTag))switch(o.tag){case 0:case 11:case 15:case 22:Co(5,o),_o(5,o)}}catch(u){if(null===a)throw Error(l(330));tc(a,u)}o=a.nextEffect,a.nextEffect=null,a=o}return r.__interactionsRef.current=i,uc(e,t),tu=n,oi(),!0}function ec(e,t,n){Si(e,t=Ao(e,t=wo(n,t),1073741823)),null!==(e=zu(e,1073741823))&&(Iu(e),ac(e,1073741823))}function tc(e,t){if(3===e.tag)ec(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){ec(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===vu||!vu.has(r))){Si(n,e=Bo(n,e=wo(t,e),1073741823)),null!==(n=zu(n,1073741823))&&(Iu(n),ac(n,1073741823));break}}n=n.return}}function nc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),nu===e&&lu===n?iu===Jo||iu===Zo&&1073741823===ou&&ti()-du<pu?Uu(e,lu):fu=!0:Tc(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,Iu(e),ac(e,n)))}function rc(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=Pu(t=_u(),e,null)),null!==(e=zu(e,t))&&(Iu(e),ac(e,t))}function lc(e){null===Su?Su=[e]:Su.push(e)}function ic(e,t,n){if(0<n.size){var l=e.pendingInteractionMap,i=l.get(t);null!=i?n.forEach(function(e){i.has(e)||e.__count++,i.add(e)}):(l.set(t,new Set(n)),n.forEach(function(e){e.__count++})),null!==(l=r.__subscriberRef.current)&&l.onWorkScheduled(n,1e3*t+e.interactionThreadID)}}function ac(e,t){ic(e,t,r.__interactionsRef.current)}function oc(e,t){var n=new Set;if(e.pendingInteractionMap.forEach(function(e,r){r>=t&&e.forEach(function(e){return n.add(e)})}),e.memoizedInteractions=n,0<n.size){var l=r.__subscriberRef.current;if(null!==l){e=1e3*t+e.interactionThreadID;try{l.onWorkStarted(n,e)}catch(i){ii(99,function(){throw i})}}}}function uc(e,t){var n=e.firstPendingTime;try{var l=r.__subscriberRef.current;null!==l&&0<e.memoizedInteractions.size&&l.onWorkStopped(e.memoizedInteractions,1e3*t+e.interactionThreadID)}catch(a){ii(99,function(){throw a})}finally{var i=e.pendingInteractionMap;i.forEach(function(e,t){t>n&&(i.delete(t),e.forEach(function(e){if(e.__count--,null!==l&&0===e.__count)try{l.onInteractionScheduledWorkCompleted(e)}catch(t){ii(99,function(){throw t})}}))})}}Wo=function(e,t,n){var r=t.expirationTime;if(null!==e){var i=t.pendingProps;if(e.memoizedProps!==i||Pl.current)Xa=!0;else{if(r<n){switch(Xa=!1,t.tag){case 3:io(t),qa();break;case 5:if(Xi(t),4&t.mode&&1!==n&&i.hidden)return lc(1),t.expirationTime=t.childExpirationTime=1,null;break;case 1:Dl(t.type)&&Ol(t);break;case 4:qi(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,i=t.type._context,Sl(di,i._currentValue),i._currentValue=r;break;case 12:t.childExpirationTime>=n&&(t.effectTag|=4);break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?fo(e,t,n):(Sl(Zi,1&Zi.current),null!==(t=go(e,t,n))?t.sibling:null);Sl(Zi,1&Zi.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return ho(e,t,n);t.effectTag|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null),Sl(Zi,Zi.current),!r)return null}return go(e,t,n)}Xa=!1}}else Xa=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=zl(t,_l.current),bi(t,n),i=sa(null,t,r,e,i,n),t.effectTag|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,Dl(r)){var a=!0;Ol(t)}else a=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,xi(t);var o=r.getDerivedStateFromProps;"function"==typeof o&&Di(t,r,o,e),i.updater=Ii,t.stateNode=i,i._reactInternalFiber=t,Fi(t,r,e,n),t=lo(null,t,r,!0,a,n)}else t.tag=0,Ga(null,t,i,n),t=t.child;return t;case 16:e:{if(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,ye(i),1!==i._status)throw i._result;switch(i=i._result,t.type=i,a=t.tag=gc(i),e=fi(i,e),a){case 0:t=no(null,t,i,e,n);break e;case 1:t=ro(null,t,i,e,n);break e;case 11:t=Za(null,t,i,e,n);break e;case 14:t=Ja(null,t,i,fi(i.type,e),r,n);break e}throw Error(l(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,no(e,t,r,i=t.elementType===r?i:fi(r,i),n);case 1:return r=t.type,i=t.pendingProps,ro(e,t,r,i=t.elementType===r?i:fi(r,i),n);case 3:if(io(t),r=t.updateQueue,null===e||null===r)throw Error(l(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,Ti(e,t),_i(t,r,null,n),(r=t.memoizedState.element)===i)qa(),t=go(e,t,n);else{if((i=t.stateNode.hydrate)&&(Wa=Mn(t.stateNode.containerInfo.firstChild),Ba=t,i=Va=!0),i)for(n=Vi(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Ga(e,t,r,n),qa();t=t.child}return t;case 5:return Xi(t),null===e&&ja(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,o=i.children,zn(r,i)?o=null:null!==a&&zn(r,a)&&(t.effectTag|=16),to(e,t),4&t.mode&&1!==n&&i.hidden?(lc(1),t.expirationTime=t.childExpirationTime=1,t=null):(Ga(e,t,o,n),t=t.child),t;case 6:return null===e&&ja(t),null;case 13:return fo(e,t,n);case 4:return qi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Wi(t,null,r,n):Ga(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Za(e,t,r,i=t.elementType===r?i:fi(r,i),n);case 7:return Ga(e,t,t.pendingProps,n),t.child;case 8:return Ga(e,t,t.pendingProps.children,n),t.child;case 12:return t.effectTag|=4,Ga(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value;var u=t.type._context;if(Sl(di,u._currentValue),u._currentValue=a,null!==o)if(u=o.value,0===(a=Zr(u,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,a):1073741823))){if(o.children===i.children&&!Pl.current){t=go(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var c=u.dependencies;if(null!==c){o=u.child;for(var s=c.firstContext;null!==s;){if(s.context===r&&0!=(s.observedBits&a)){1===u.tag&&((s=Ei(n,null)).tag=2,Si(u,s)),u.expirationTime<n&&(u.expirationTime=n),null!==(s=u.alternate)&&s.expirationTime<n&&(s.expirationTime=n),yi(u.return,n),c.expirationTime<n&&(c.expirationTime=n);break}s=s.next}}else o=10===u.tag&&u.type===t.type?null:u.child;if(null!==o)o.return=u;else for(o=u;null!==o;){if(o===t){o=null;break}if(null!==(u=o.sibling)){u.return=o.return,o=u;break}o=o.return}u=o}Ga(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(a=t.pendingProps).children,bi(t,n),r=r(i=wi(i,a.unstable_observedBits)),t.effectTag|=1,Ga(e,t,r,n),t.child;case 14:return a=fi(i=t.type,t.pendingProps),Ja(e,t,i,a=fi(i.type,a),r,n);case 15:return eo(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:fi(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,Dl(r)?(e=!0,Ol(t)):e=!1,bi(t,n),Ri(t,r,i),Fi(t,r,i,n),lo(null,t,r,!0,e,n);case 19:return ho(e,t,n)}throw Error(l(156,t.tag))};var cc=null,sc=null,fc="undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__;function dc(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);cc=function(e,r){try{var l=64==(64&e.current.effectTag),i=si(1073741821-(ti()/10|0),r);t.onCommitFiberRoot(n,e,i,l)}catch(a){}},sc=function(e){try{t.onCommitFiberUnmount(n,e)}catch(r){}}}catch(r){}return!0}function pc(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.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null,this.actualDuration=0,this.actualStartTime=-1,this.treeBaseDuration=this.selfBaseDuration=0}function mc(e,t,n,r){return new pc(e,t,n,r)}function hc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function gc(e){if("function"==typeof e)return hc(e)?1:0;if(null!=e){if((e=e.$$typeof)===se)return 11;if(e===pe)return 14}return 2}function vc(e,t){var n=e.alternate;return null===n?((n=mc(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.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null,n.actualDuration=0,n.actualStartTime=-1),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n}function yc(e,t,n,r,i,a){var o=2;if(r=e,"function"==typeof e)hc(e)&&(o=1);else if("string"==typeof e)o=5;else e:switch(e){case le:return bc(n.children,i,a,t);case ce:o=8,i|=7;break;case ie:o=8,i|=1;break;case ae:return(e=mc(12,n,t,8|i)).elementType=ae,e.type=ae,e.expirationTime=a,e;case fe:return(e=mc(13,n,t,i)).type=fe,e.elementType=fe,e.expirationTime=a,e;case de:return(e=mc(19,n,t,i)).elementType=de,e.expirationTime=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case oe:o=10;break e;case ue:o=9;break e;case se:o=11;break e;case pe:o=14;break e;case me:o=16,r=null;break e;case he:o=22;break e}throw Error(l(130,null==e?e:typeof e,""))}return(t=mc(o,n,t,i)).elementType=e,t.type=r,t.expirationTime=a,t}function bc(e,t,n,r){return(e=mc(7,e,r,t)).expirationTime=n,e}function wc(e,t,n){return(e=mc(6,e,null,t)).expirationTime=n,e}function kc(e,t,n){return(t=mc(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function xc(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0,this.interactionThreadID=r.unstable_getThreadID(),this.memoizedInteractions=new Set,this.pendingInteractionMap=new Map}function Tc(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Ec(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Sc(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Cc(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function _c(e,t,n,r){var i=t.current,a=_u(),o=Ni.suspense;a=Pu(a,i,o);e:if(n){t:{if(rt(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(l(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(Dl(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(l(171))}if(1===n.tag){var c=n.type;if(Dl(c)){n=Rl(n,c,u);break e}}n=u}else n=Cl;return null===t.context?t.context=n:t.pendingContext=n,(t=Ei(a,o)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),Si(i,t),Nu(i,a),a}function Pc(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Nc(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function zc(e,t){Nc(e,t),(e=e.alternate)&&Nc(e,t)}function Dc(e,t,n){var r=new xc(e,t,n=null!=n&&!0===n.hydrate),l=2===t?7:1===t?3:0;fc&&(l|=8),l=mc(3,null,null,l),r.current=l,l.stateNode=r,xi(l),e[Un]=r.current,n&&0!==t&&Mt(e,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function Ic(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Mc(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Dc(e,0,t?{hydrate:!0}:void 0)}function Rc(e,t,n,r,l){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof l){var o=l;l=function(){var e=Pc(a);o.call(e)}}_c(t,a,e,l)}else{if(i=n._reactRootContainer=Mc(n,r),a=i._internalRoot,"function"==typeof l){var u=l;l=function(){var e=Pc(a);u.call(e)}}Lu(function(){_c(t,a,e,l)})}return Pc(a)}function Oc(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:re,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Fc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Ic(t))throw Error(l(200));return Oc(e,t,null,n)}Dc.prototype.render=function(e){_c(e,this._internalRoot,null,null)},Dc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;_c(null,e,null,function(){t[Un]=null})},wt=function(e){if(13===e.tag){var t=ci(_u(),150,100);Nu(e,t),zc(e,t)}},kt=function(e){13===e.tag&&(Nu(e,3),zc(e,3))},xt=function(e){if(13===e.tag){var t=_u();Nu(e,t=Pu(t,e,null)),zc(e,t)}},_=function(e,t,n){switch(t){case"input":if(Ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Vn(r);if(!i)throw Error(l(90));Se(r),Ne(r,i)}}}break;case"textarea":Le(e,n);break;case"select":null!=(t=n.value)&&Re(e,!!n.multiple,t,!1)}},M=Fu,R=function(e,t,n,r,l){var i=tu;tu|=4;try{return li(98,e.bind(null,t,n,r,l))}finally{(tu=i)===jo&&oi()}},O=function(){(tu&(1|$o|qo))===jo&&(Ou(),Zu())},F=function(e,t){var n=tu;tu|=2;try{return e(t)}finally{(tu=n)===jo&&oi()}};var Lc={Events:[Bn,Wn,Vn,S,x,Yn,function(e){ct(e,qn)},D,I,ln,dt,Zu,{current:!1}]};!function(e){var n=e.findFiberByHostInstance;dc(t({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Z.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=ot(e))?null:e.stateNode},findFiberByHostInstance:function(e){return n?n(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:An,bundleType:0,version:"16.13.1",rendererPackageName:"react-dom"}),exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Lc,exports.createPortal=Fc,exports.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(l(188));throw Error(l(268,Object.keys(e)))}return e=null===(e=ot(t))?null:e.stateNode},exports.flushSync=function(e,t){if((tu&($o|qo))!==jo)throw Error(l(187));var n=tu;tu|=1;try{return li(99,e.bind(null,t))}finally{tu=n,oi()}},exports.hydrate=function(e,t,n){if(!Ic(t))throw Error(l(200));return Rc(null,e,t,!0,n)},exports.render=function(e,t,n){if(!Ic(t))throw Error(l(200));return Rc(null,e,t,!1,n)},exports.unmountComponentAtNode=function(e){if(!Ic(e))throw Error(l(40));return!!e._reactRootContainer&&(Lu(function(){Rc(null,null,e,!1,function(){e._reactRootContainer=null,e[Un]=null})}),!0)},exports.unstable_batchedUpdates=Fu,exports.unstable_createPortal=function(e,t){return Fc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},exports.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ic(n))throw Error(l(200));if(null==e||void 0===e._reactInternalFiber)throw Error(l(38));return Rc(e,t,n,!1,r)},exports.version="16.13.1";
  17. },{"react":"n8MK","object-assign":"J4Nk","scheduler":"MDSO","scheduler/tracing":"Ks3F"}],"wLSN":[function(require,module,exports) {
  18. "use strict";function _(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(_)}catch(O){console.error(O)}}}_(),module.exports=require("./cjs/react-dom.profiling.min.js");
  19. },{"./cjs/react-dom.profiling.min.js":"NgRO"}],"vCxL":[function(require,module,exports) {
  20. "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.__extends=e,exports.__rest=n,exports.__decorate=o,exports.__param=a,exports.__metadata=i,exports.__awaiter=c,exports.__generator=u,exports.__exportStar=l,exports.__values=s,exports.__read=p,exports.__spread=y,exports.__spreadArrays=_,exports.__await=h,exports.__asyncGenerator=v,exports.__asyncDelegator=b,exports.__asyncValues=d,exports.__makeTemplateObject=w,exports.__importStar=m,exports.__importDefault=O,exports.__classPrivateFieldGet=g,exports.__classPrivateFieldSet=j,exports.__createBinding=exports.__assign=void 0;var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};function e(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}var r=function(){return exports.__assign=r=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},r.apply(this,arguments)};function n(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}function o(t,e,r,n){var o,a=arguments.length,i=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(i=(a<3?o(i):a>3?o(e,r,i):o(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i}function a(t,e){return function(r,n){e(r,n,t)}}function i(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function c(t,e,r,n){return new(r||(r=Promise))(function(o,a){function i(t){try{u(n.next(t))}catch(e){a(e)}}function c(t){try{u(n.throw(t))}catch(e){a(e)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r(function(t){t(e)})).then(i,c)}u((n=n.apply(t,e||[])).next())})}function u(t,e){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(a){return function(c){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;i;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=e.call(t,i)}catch(c){a=[6,c],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}exports.__assign=r;var f=Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]};function l(t,e){for(var r in t)"default"===r||e.hasOwnProperty(r)||f(e,t,r)}function s(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function p(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,a=r.call(t),i=[];try{for(;(void 0===e||e-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(c){o={error:c}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}function y(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(p(arguments[e]));return t}function _(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;var n=Array(t),o=0;for(e=0;e<r;e++)for(var a=arguments[e],i=0,c=a.length;i<c;i++,o++)n[o]=a[i];return n}function h(t){return this instanceof h?(this.v=t,this):new h(t)}function v(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(t,e||[]),a=[];return n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n;function i(t){o[t]&&(n[t]=function(e){return new Promise(function(r,n){a.push([t,e,r,n])>1||c(t,e)})})}function c(t,e){try{(r=o[t](e)).value instanceof h?Promise.resolve(r.value.v).then(u,f):l(a[0][2],r)}catch(n){l(a[0][3],n)}var r}function u(t){c("next",t)}function f(t){c("throw",t)}function l(t,e){t(e),a.shift(),a.length&&c(a[0][0],a[0][1])}}function b(t){var e,r;return e={},n("next"),n("throw",function(t){throw t}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(n,o){e[n]=t[n]?function(e){return(r=!r)?{value:h(t[n](e)),done:"return"===n}:o?o(e):e}:o}}function d(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,r=t[Symbol.asyncIterator];return r?r.call(t):(t="function"==typeof s?s(t):t[Symbol.iterator](),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(r){e[r]=t[r]&&function(e){return new Promise(function(n,o){(function(t,e,r,n){Promise.resolve(n).then(function(e){t({value:e,done:r})},e)})(n,o,(e=t[r](e)).done,e.value)})}}}function w(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}exports.__createBinding=f;var x=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};function m(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.hasOwnProperty.call(t,r)&&f(e,t,r);return x(e,t),e}function O(t){return t&&t.__esModule?t:{default:t}}function g(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function j(t,e,r){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,r),r}
  21. },{}],"Asjh":[function(require,module,exports) {
  22. "use strict";var _="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module.exports=_;
  23. },{}],"wVGV":[function(require,module,exports) {
  24. "use strict";var e=require("./lib/ReactPropTypesSecret");function r(){}function t(){}t.resetWarningCache=r,module.exports=function(){function n(r,t,n,o,a,p){if(p!==e){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function o(){return n}n.isRequired=n;var a={array:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:t,resetWarningCache:r};return a.PropTypes=a,a};
  25. },{"./lib/ReactPropTypesSecret":"Asjh"}],"D9Od":[function(require,module,exports) {
  26. var r,e;module.exports=require("./factoryWithThrowingShims")();
  27. },{"./factoryWithThrowingShims":"wVGV"}],"FpR4":[function(require,module,exports) {
  28. "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=[0,2,4,5,7,9,11],r=function(r){var t=typeof r;if("number"!==t)throw TypeError("Invalid value type passed to isNaturalKey, expected 'number', got "+t+".");if(isNaN(r))throw RangeError("Value passed is NaN.");if(r<0)throw RangeError("Value must be positive.");return e.includes(Math.floor(r)%12)},t=r;exports.default=t;
  29. },{}],"FJzn":[function(require,module,exports) {
  30. "use strict";const e=(e,r,o,n)=>{if("length"===o||"prototype"===o)return;if("arguments"===o||"caller"===o)return;const c=Object.getOwnPropertyDescriptor(e,o),i=Object.getOwnPropertyDescriptor(r,o);!t(c,i)&&n||Object.defineProperty(e,o,i)},t=function(e,t){return void 0===e||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value)},r=(e,t)=>{const r=Object.getPrototypeOf(t);r!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r)},o=(e,t)=>`/* Wrapped ${e}*/\n${t}`,n=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),c=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),i=(e,t,r)=>{const i=""===r?"":`with ${r.trim()}() `,p=o.bind(null,i,t.toString());Object.defineProperty(p,"name",c),Object.defineProperty(e,"toString",{...n,value:p})},p=(t,o,{ignoreNonConfigurable:n=!1}={})=>{const{name:c}=t;for(const r of Reflect.ownKeys(o))e(t,o,r,n);return r(t,o),i(t,o,c),t};module.exports=p;
  31. },{}],"nIip":[function(require,module,exports) {
  32. "use strict";module.exports=(()=>{const e={};return e.promise=new Promise((r,s)=>{e.resolve=r,e.reject=s}),e});
  33. },{}],"K94h":[function(require,module,exports) {
  34. "use strict";var e=this&&this.__awaiter||function(e,t,o,n){return new(o||(o=Promise))(function(i,r){function u(e){try{s(n.next(e))}catch(t){r(t)}}function d(e){try{s(n.throw(e))}catch(t){r(t)}}function s(e){e.done?i(e.value):new o(function(t){t(e.value)}).then(u,d)}s((n=n.apply(e,t||[])).next())})},t=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0});const o=t(require("p-defer"));function n(t,n="maxAge"){let i,r,u;const d=()=>e(this,void 0,void 0,function*(){if(void 0!==i)return;const d=d=>e(this,void 0,void 0,function*(){u=o.default();const e=d[1][n]-Date.now();return e<=0?(t.delete(d[0]),void u.resolve()):(i=d[0],"function"==typeof(r=setTimeout(()=>{t.delete(d[0]),u&&u.resolve()},e)).unref&&r.unref(),u.promise)});try{for(const e of t)yield d(e)}catch(s){}i=void 0}),s=t.set.bind(t);return t.set=((e,o)=>{t.has(e)&&t.delete(e);const n=s(e,o);return i&&i===e&&(i=void 0,void 0!==r&&(clearTimeout(r),r=void 0),void 0!==u&&(u.reject(void 0),u=void 0)),d(),n}),d(),t}exports.default=n,module.exports=n,module.exports.default=n;
  35. },{"p-defer":"nIip"}],"EIn2":[function(require,module,exports) {
  36. "use strict";const e=require("mimic-fn"),t=require("map-age-cleaner"),a=new WeakMap,n=(n,c={})=>{const o=c.cache||new WeakMap,{cacheKey:r=(([e])=>e),cache:s=new Map,maxAge:i}=c;"number"==typeof i&&t(s);const u=function(...e){const t=r(e),a=!t||"object"!=typeof t&&"function"!=typeof t?s:o;if(a.has(t))return a.get(t).data;const c=n.apply(this,e);return a.set(t,{data:c,maxAge:i?Date.now()+i:1/0}),c};try{e(u,n)}catch(p){}return a.set(u,s),u};module.exports=n,module.exports.clear=(e=>{if(!a.has(e))throw new Error("Can't clear a function that was not memoized!");const t=a.get(e);"function"==typeof t.clear&&t.clear()});
  37. },{"mimic-fn":"FJzn","map-age-cleaner":"K94h"}],"yTwa":[function(require,module,exports) {
  38. "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=function(e){return Math.floor(e/12)},t=e;exports.default=t;
  39. },{}],"OXIX":[function(require,module,exports) {
  40. "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isNaturalKey=exports.getKeyXOffset=exports.getOctaveCompleteness=exports.getKeyOctave=void 0;var e=new Map;exports.getKeyOctave=e;var t=new Map;exports.getOctaveCompleteness=t;var s=new Map;exports.getKeyXOffset=s;var r=new Map;exports.isNaturalKey=r;
  41. },{}],"UCW9":[function(require,module,exports) {
  42. "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=o(require("mem")),t=o(require("./getKeyOctave")),r=u(require("./caches"));function n(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return n=function(){return e},e}function u(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=n();if(t&&t.has(e))return t.get(e);var r={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=u?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function o(e){return e&&e.__esModule?e:{default:e}}var a=(0,e.default)(t.default,{cache:r.getKeyOctave}),f=function(e,t){return a(t)-a(e)+1},c=f;exports.default=c;
  43. },{"mem":"EIn2","./getKeyOctave":"yTwa","./caches":"OXIX"}],"dnKG":[function(require,module,exports) {
  44. "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=function(e,r){return Array(r-e+1).fill(0).map(function(r,t){return e+t})},r=e;exports.default=r;
  45. },{}],"qB0f":[function(require,module,exports) {
  46. "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r=require("tslib"),e=function(e){return e.map(function(r){return[r,Math.floor(r/12)]}).reduce(function(e,t){var s,a=t[0],u=t[1];return(0,r.__assign)((0,r.__assign)({},e),((s={})[u]=Array.isArray(e[u])?(0,r.__spreadArrays)(e[u],[a]):[a],s))},{})},t=e;exports.default=t;
  47. },{"tslib":"vCxL"}],"AecJ":[function(require,module,exports) {
  48. "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ACCIDENTAL_KEY_TO_NATURAL_KEY_WIDTH_RATIO=exports.KEY_OFFSETS=void 0;var _=[0,3/7/88*20,1/7,3/7/88*53,2/7,3/7,3/7+4/7/56*9,4/7,3/7+4/7/224*97,5/7,3/7+4/7/112*79,6/7];exports.KEY_OFFSETS=_;var e=9/16;exports.ACCIDENTAL_KEY_TO_NATURAL_KEY_WIDTH_RATIO=e;
  49. },{}],"CU7I":[function(require,module,exports) {
  50. "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=require("./constants"),t=function(t){return e.KEY_OFFSETS[t%12]},r=t;exports.default=r;
  51. },{"./constants":"AecJ"}],"grhI":[function(require,module,exports) {
  52. "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=a(require("mem")),t=f(require("./caches")),r=a(require("./getKeyXOffset")),u=a(require("./isNaturalKey"));function n(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return n=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=n();if(t&&t.has(e))return t.get(e);var r={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if(Object.prototype.hasOwnProperty.call(e,f)){var a=u?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(r,f,a):r[f]=e[f]}return r.default=e,t&&t.set(e,r),r}function a(e){return e&&e.__esModule?e:{default:e}}var o=(0,e.default)(r.default,{cache:t.getKeyXOffset}),i=(0,e.default)(u.default,{cache:t.isNaturalKey}),c=function(e,t){return o(t)+(i(t)?1/7:1/7*18/36)-o(e)},l=c;exports.default=l;
  53. },{"mem":"EIn2","./caches":"OXIX","./getKeyXOffset":"CU7I","./isNaturalKey":"FpR4"}],"L8OW":[function(require,module,exports) {
  54. "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=require("tslib"),t=c(require("mem")),r=c(require("./generateKeys")),n=c(require("./groupKeysIntoOctaves")),u=c(require("./getOctaveCompleteness")),a=i(require("./caches"));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function i(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(Object.prototype.hasOwnProperty.call(e,u)){var a=n?Object.getOwnPropertyDescriptor(e,u):null;a&&(a.get||a.set)?Object.defineProperty(r,u,a):r[u]=e[u]}return r.default=e,t&&t.set(e,r),r}function c(e){return e&&e.__esModule?e:{default:e}}var f=(0,t.default)(u.default,{cache:a.getOctaveCompleteness}),s=function(t,u){var a=(0,r.default)(t,u),o=(0,n.default)(a),i=Object.entries(o).map(function(e){var t=e[0],r=e[1];return[t,r[0],r.slice(-1)[0]]}).reduce(function(t,r){var n,u=r[0],a=r[1],o=r[2];return(0,e.__assign)((0,e.__assign)({},t),((n={})[u]=f(a,o),n))},{});return Object.values(i).reduce(function(e,t){return e+t},0)},l=s;exports.default=l;
  55. },{"tslib":"vCxL","mem":"EIn2","./generateKeys":"dnKG","./groupKeysIntoOctaves":"qB0f","./getOctaveCompleteness":"grhI","./caches":"OXIX"}],"IsPx":[function(require,module,exports) {
  56. "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=c(require("mem")),t=c(require("./isNaturalKey")),r=c(require("./getOctaveCount")),u=c(require("./getFractionalOctaveCount")),n=require("./constants"),a=i(require("./caches"));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function i(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var r={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var a=u?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,t&&t.set(e,r),r}function c(e){return e&&e.__esModule?e:{default:e}}var f=(0,e.default)(t.default,{cache:a.isNaturalKey}),l=(0,e.default)(u.default,{cacheKey:function(e){return e.join(":")}}),s=(0,e.default)(r.default,{cacheKey:function(e){return e.join(":")}}),d=function(e,t){return function(r){var u=l(e,t),a=s(e,t),o=a/u*100/(7*a);return f(r)?o:o*n.ACCIDENTAL_KEY_TO_NATURAL_KEY_WIDTH_RATIO}},p=d;exports.default=p;
  57. },{"mem":"EIn2","./isNaturalKey":"FpR4","./getOctaveCount":"UCW9","./getFractionalOctaveCount":"L8OW","./constants":"AecJ","./caches":"OXIX"}],"JRGf":[function(require,module,exports) {
  58. "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=c(require("mem")),t=c(require("./getKeyXOffset")),r=c(require("./getOctaveCount")),u=c(require("./getFractionalOctaveCount")),n=c(require("./getKeyOctave")),a=o(require("./caches"));function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function o(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var r={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var a=u?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,t&&t.set(e,r),r}function c(e){return e&&e.__esModule?e:{default:e}}var i=(0,e.default)(t.default,{cache:a.getKeyXOffset}),l=(0,e.default)(r.default,{cacheKey:function(e){return e.join(":")}}),d=(0,e.default)(u.default,{cacheKey:function(e){return e.join(":")}}),p=(0,e.default)(n.default,{cache:a.getKeyOctave}),s=function(e,t){return function(r){var u=d(e,t),n=l(e,t),a=p(e);return 100*n/u/n*(p(r)-a)+100*n/u/n*i(r)-100*n/u/n*i(e+12)}},y=s;exports.default=y;
  59. },{"mem":"EIn2","./getKeyXOffset":"CU7I","./getOctaveCount":"UCW9","./getFractionalOctaveCount":"L8OW","./getKeyOctave":"yTwa","./caches":"OXIX"}],"jvAz":[function(require,module,exports) {
  60. "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=t(require("prop-types"));function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}function t(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=u?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}var n={keyChannels:e.arrayOf(e.shape({channel:e.number.isRequired,key:e.number.isRequired,velocity:e.number.isRequired}))};exports.default=n;
  61. },{"prop-types":"D9Od"}],"lc6s":[function(require,module,exports) {
  62. "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=n(require("react")),r=t(require("../../services/keyPropTypes"));function t(e){return e&&e.__esModule?e:{default:e}}function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function n(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o();if(r&&r.has(e))return r.get(e);var t={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(t,i,a):t[i]=e[i]}return t.default=e,r&&r.set(e,t),t}var i=function(r){var t=r.keyChannels;return e.createElement("div",{style:{width:"100%",height:"100%",backgroundColor:"var(--color-accidental-key, currentColor)",border:"1px solid",boxSizing:"border-box",position:"relative"}},Array.isArray(t)&&t.map(function(r){return e.createElement("div",{key:r.channel,style:{width:"100%",height:"100%",position:"absolute",top:0,left:0,opacity:.75,backgroundColor:"var(--color-channel-"+r.channel+", Highlight)"}})}))};i.propTypes=r.default;var a=i;exports.default=a;
  63. },{"react":"n8MK","../../services/keyPropTypes":"jvAz"}],"XKeK":[function(require,module,exports) {
  64. "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=n(require("react")),r=t(require("../../services/keyPropTypes"));function t(e){return e&&e.__esModule?e:{default:e}}function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function n(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o();if(r&&r.has(e))return r.get(e);var t={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(t,i,a):t[i]=e[i]}return t.default=e,r&&r.set(e,t),t}var i=function(r){var t=r.keyChannels;return e.createElement("div",{style:{width:"100%",height:"100%",backgroundColor:"var(--color-natural-key, white)",border:"1px solid",boxSizing:"border-box",position:"relative"}},Array.isArray(t)&&t.map(function(r){return e.createElement("div",{key:r.channel,style:{width:"100%",height:"100%",position:"absolute",top:0,left:0,opacity:.75,backgroundColor:"var(--color-channel-"+r.channel+", Highlight)"}})}))};i.propTypes=r.default;var a=i;exports.default=a;
  65. },{"react":"n8MK","../../services/keyPropTypes":"jvAz"}],"b4L6":[function(require,module,exports) {
  66. "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.propTypes=void 0;var e=require("tslib"),t=c(require("react")),r=c(require("prop-types")),a=l(require("../../services/isNaturalKey")),n=l(require("../../services/getKeyWidth")),i=l(require("../../services/getKeyLeft")),u=l(require("../../services/generateKeys")),o=l(require("../AccidentalKey/AccidentalKey")),s=l(require("../NaturalKey/NaturalKey"));function l(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var i=a?Object.getOwnPropertyDescriptor(e,n):null;i&&(i.get||i.set)?Object.defineProperty(r,n,i):r[n]=e[n]}return r.default=e,t&&t.set(e,r),r}var f={startKey:r.number.isRequired,endKey:r.number.isRequired,hasMap:r.bool,accidentalKeyLengthRatio:r.number,keyChannels:r.arrayOf(r.shape({channel:r.number.isRequired,key:r.number.isRequired,velocity:r.number.isRequired})),keyComponents:r.shape({natural:r.elementType,accidental:r.elementType}),width:r.oneOfType([r.string,r.number]),height:r.oneOfType([r.string,r.number])};exports.propTypes=f;var p=function(r){var l=r.startKey,d=r.endKey,c=r.accidentalKeyLengthRatio,f=void 0===c?.65:c,p=r.keyChannels,y=void 0===p?[]:p,v=r.width,h=void 0===v?"100%":v,b=r.keyComponents,g=void 0===b?{}:b,k=r.height,m=void 0===k?80:k,K=r.children,q=t.useState(!1),O=q[0],C=q[1],w=t.useState([]),_=w[0],R=w[1],j=g,M=j.natural,T=void 0===M?s.default:M,x=j.accidental,E=void 0===x?o.default:x,P=t.useCallback(function(e){return(0,n.default)(l,d)(e)},[l,d]),A=t.useCallback(function(e){return(0,i.default)(l,d)(e)},[l,d]),L=t.useCallback(function(e){return(0,a.default)(e)},[]),N=t.useRef(null);t.useEffect(function(){C(!0)},[]),t.useEffect(function(){R((0,u.default)(l,d))},[l,d]);var W=O?_:(0,u.default)(l,d);return t.createElement("div",{style:{width:h,height:m,position:"relative",backgroundColor:"currentColor",overflow:"hidden"},role:"presentation",ref:N},W.map(function(e){var r,a,n=L(e),i=n?T:E,u=Array.isArray(y)?y.filter(function(t){return t.key===e}):null,o=P(e),s=A(e);switch(e%12){case 0:case 5:r=s,a=e+1>d?s+o:A(e+1);break;case 4:case 11:r=e-1<l?s:A(e-1)+P(e-1),a=s+o;break;case 2:case 7:case 9:r=e-1<l?s:A(e-1)+P(e-1),a=e+1>d?s+o:A(e+1);break;default:r=s,a=s+o}var c=12*Math.floor(e/12),p=c+11,v=A(c),h=A(p)+P(p);return t.createElement("div",{key:e,"data-key":e,"data-octave-left-bounds":v,"data-octave-right-bounds":h,"data-left-bounds":r,"data-right-bounds":a,"data-left-full-bounds":n?s:void 0,"data-right-full-bounds":n?s+o:void 0,style:{zIndex:n?0:2,width:o+"%",height:(n?100:100*f)+"%",left:s+"%",position:"absolute",top:0}},t.createElement(i,{keyChannels:u}))}),K&&t.Children.map(K,function(r){var a=r,n=a.props,i=void 0===n?{}:n;return t.cloneElement(a,(0,e.__assign)((0,e.__assign)({},i),{accidentalKeyLengthRatio:f}))}))};p.propTypes=f;var y=p;exports.default=y;
  67. },{"tslib":"vCxL","react":"n8MK","prop-types":"D9Od","../../services/isNaturalKey":"FpR4","../../services/getKeyWidth":"IsPx","../../services/getKeyLeft":"JRGf","../../services/generateKeys":"dnKG","../AccidentalKey/AccidentalKey":"lc6s","../NaturalKey/NaturalKey":"XKeK"}],"u6h1":[function(require,module,exports) {
  68. "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=function(t,e){var r=t.getBoundingClientRect(),u=r.top,n=r.left,d=r.width,i=r.height;return function(r,a){void 0===a&&(a=u);var o=a-u,l=(r-n)/d*100,s=o<=i*e,f=Array.from(t.children).filter(function(t){return"key"in t.dataset}).filter(function(t){var e=Number(t.dataset.octaveLeftBounds),r=Number(t.dataset.octaveRightBounds);return e<=l&&l<r}).reduce(function(t,e){if(s){if(void 0!==t)return t;var r=Number(e.dataset.leftBounds),u=Number(e.dataset.rightBounds);return r<=l&&l<u?e:t}return void 0!==t?t:"leftFullBounds"in e.dataset&&"rightFullBounds"in e.dataset&&Number(e.dataset.leftFullBounds)<=l&&l<Number(e.dataset.rightFullBounds)?e:t},void 0);return void 0===f?null:{velocity:o/f.getBoundingClientRect().height,key:Number(f.dataset.key)}}},e=t;exports.default=e;
  69. },{}],"oBwe":[function(require,module,exports) {
  70. "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=require("tslib"),n=c(require("react")),r=c(require("prop-types")),t=u(require("../../services/reverseGetKeyFromPoint"));function u(e){return e&&e.__esModule?e:{default:e}}function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=i();if(n&&n.has(e))return n.get(e);var r={},t=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(Object.prototype.hasOwnProperty.call(e,u)){var c=t?Object.getOwnPropertyDescriptor(e,u):null;c&&(c.get||c.set)?Object.defineProperty(r,u,c):r[u]=e[u]}return r.default=e,n&&n.set(e,r),r}var o={onChange:r.func,keyboardMapping:r.object,channel:r.number.isRequired},f=function(r){var u=r.channel,i=r.accidentalKeyLengthRatio,c=r.onChange,o=r.keyboardMapping,f=void 0===o?{}:o,l=n.useRef(null),a=n.useRef([]),d=n.useRef(void 0),s=n.useRef(!1);return n.useEffect(function(){var n=function(n){null!==l.current&&null!==l.current.parentElement&&(n.preventDefault(),Array.from(n.changedTouches).forEach(function(n){var r=(0,t.default)(l.current.parentElement,i)(n.clientX,n.clientY);if(null===r)return a.current=a.current.filter(function(e){return e.id!==n.identifier}),void("function"==typeof c&&c(a.current));var o=a.current.filter(function(e){return e.id===n.identifier})[0],f=void 0===o?null:o;if(null===f)return a.current=a.current.filter(function(e){return e.id!==n.identifier}),void("function"==typeof c&&c(a.current));f.key!==r.key&&(a.current=(0,e.__spreadArrays)(a.current.filter(function(e){return e.id!==n.identifier}),[(0,e.__assign)((0,e.__assign)({},r),{channel:u,velocity:d.current,id:n.identifier})]),"function"==typeof c&&c(a.current))}))};return window.addEventListener("touchmove",n,{passive:!1}),function(){window.removeEventListener("touchmove",n)}},[i,u,c]),n.useEffect(function(){var n=function(n){if(n.preventDefault(),null!==l.current&&null!==l.current.parentElement&&1===n.buttons){var r=(0,t.default)(l.current.parentElement,i)(n.clientX,n.clientY);if(null===r)return a.current=a.current.filter(function(e){return-1!==e.id}),void("function"==typeof c&&c(a.current));var o=a.current.filter(function(e){return-1===e.id})[0],f=void 0===o?null:o;if(null===f)return a.current=a.current.filter(function(e){return-1!==e.id}),void("function"==typeof c&&c(a.current));f.key!==r.key&&(a.current=(0,e.__spreadArrays)(a.current.filter(function(e){return-1!==e.id}),[(0,e.__assign)((0,e.__assign)({},r),{velocity:d.current,channel:u,id:-1})]),"function"==typeof c&&c(a.current))}};return window.addEventListener("mousemove",n),function(){window.removeEventListener("mousemove",n)}},[i,u,c]),n.useEffect(function(){var e=function(e){null!==l.current&&null!==l.current.parentElement&&Array.from(e.changedTouches).forEach(function(e){a.current=a.current.filter(function(n){return n.id!==e.identifier}),d.current=void 0,"function"==typeof c&&c(a.current)})};return window.addEventListener("touchend",e),function(){window.removeEventListener("touchend",e)}}),n.useEffect(function(){var e=function(e){e.preventDefault(),null!==l.current&&null!==l.current.parentElement&&(a.current=a.current.filter(function(e){return-1!==e.id}),d.current=void 0,"function"==typeof c&&c(a.current))};return window.addEventListener("mouseup",e),function(){window.removeEventListener("mouseup",e)}},[i,u,c]),n.useEffect(function(){var n=l.current,r=function(n){if(f&&!(n.ctrlKey||n.altKey||n.metaKey||n.shiftKey)){var r=f[n.code],t=void 0===r?null:r;null!==t&&(a.current.some(function(e){return e.key===t&&-2===e.id})||(a.current=(0,e.__spreadArrays)(a.current,[{key:t,velocity:.75,channel:u,id:-2}]),"function"==typeof c&&c(a.current)))}};return n&&n.addEventListener("keydown",r),function(){n&&n.removeEventListener("keydown",r)}}),n.useEffect(function(){var e=function(e){if(f&&!(e.ctrlKey||e.altKey||e.metaKey||e.shiftKey)){var n=f[e.code],r=void 0===n?null:n;null!==r&&(a.current=a.current.filter(function(e){return e.key!==r}),"function"==typeof c&&c(a.current))}};return window.addEventListener("keyup",e),function(){window.removeEventListener("keyup",e)}}),n.createElement("div",{ref:l,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:4,outline:0},onContextMenu:function(e){e.preventDefault()},onDragStart:function(e){e.preventDefault()},onMouseDown:function(n){if(!s.current&&null!==l.current&&null!==l.current.parentElement){var r=(0,t.default)(l.current.parentElement,i)(n.clientX,n.clientY);null!==r&&1===n.buttons&&(void 0===d.current&&(d.current=r.velocity>1?1:r.velocity<0?0:r.velocity),a.current=(0,e.__spreadArrays)(a.current,[(0,e.__assign)((0,e.__assign)({},r),{velocity:d.current,channel:u,id:-1})]),"function"==typeof c&&c(a.current))}},onTouchStart:function(n){s.current=!0,null!==l.current&&null!==l.current.parentElement&&Array.from(n.changedTouches).forEach(function(n){var r=(0,t.default)(l.current.parentElement,i)(n.clientX,n.clientY);null!==r&&(void 0===d.current&&(d.current=r.velocity>1?1:r.velocity<0?0:r.velocity),a.current=(0,e.__spreadArrays)(a.current,[(0,e.__assign)((0,e.__assign)({},r),{velocity:d.current,channel:u,id:n.identifier})]),"function"==typeof c&&c(a.current))})},tabIndex:0})};f.propTypes=o;var l=f;exports.default=l;
  71. },{"tslib":"vCxL","react":"n8MK","prop-types":"D9Od","../../services/reverseGetKeyFromPoint":"u6h1"}],"kMWa":[function(require,module,exports) {
  72. "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=c(require("react")),t=a(require("../../services/keyPropTypes"));function a(e){return e&&e.__esModule?e:{default:e}}function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var a={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=c?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(a,o,i):a[o]=e[o]}return a.default=e,t&&t.set(e,a),a}var o="#e3e3e5",i="white",l=function(t){var a=t.keyChannels,r=Array.isArray(a)&&a.length>0;return e.createElement("div",{style:{width:"100%",height:"100%",position:"relative","--color-natural-key":r?"var(--color-channel-"+a[0].channel+")":void 0}},e.createElement("div",{style:{width:"100%",height:"100%",backgroundColor:"black",position:"absolute",top:"0",left:"0"}}),e.createElement("div",{style:{width:"100%",height:"100%",padding:"calc(1px * var(--size-scale-factor, 1)) 0 calc(1px * var(--size-scale-factor, 1)) calc(1px * var(--size-scale-factor, 1))",boxSizing:"border-box",position:"absolute",top:"0",left:"0"}},e.createElement("div",{style:{width:"100%",height:"100%",backgroundColor:"var(--color-natural-key, "+o+")",borderRadius:"0 0 calc(1px * var(--size-scale-factor, 1)) calc(1px * var(--size-scale-factor, 1))",opacity:r?.75:1}})),e.createElement("div",{style:{width:"100%",height:"calc(33 / 80 * 100%)",padding:"0 calc(1px * var(--size-scale-factor, 1)) calc(2px * var(--size-scale-factor, 1)) calc(2px * var(--size-scale-factor, 1))",boxSizing:"border-box",backgroundClip:"content-box",position:"absolute",bottom:"0",left:"0",maskImage:"linear-gradient(to bottom, transparent, white)",WebkitMaskImage:"linear-gradient(to bottom, transparent, white)",backgroundColor:i,opacity:r?.12:.25}}),e.createElement("div",{style:{width:"100%",height:"100%",backgroundColor:"black",padding:"calc(1px * var(--size-scale-factor, 1)) calc(2px * var(--size-scale-factor, 1)) calc(3px * var(--size-scale-factor, 1)) calc(3px * var(--size-scale-factor, 1))",boxSizing:"border-box",backgroundClip:"content-box",position:"absolute",bottom:"0",left:"0",opacity:"0.08",maskImage:"linear-gradient(to bottom, transparent, white)",WebkitMaskImage:"linear-gradient(to bottom, transparent, white)"}}),e.createElement("div",{style:{width:"100%",height:"calc(2px * var(--size-scale-factor, 1))",padding:"0 0 calc(1px * var(--size-scale-factor, 1)) calc(1px * var(--size-scale-factor, 1))",boxSizing:"border-box",position:"absolute",bottom:"0",left:"0"}},e.createElement("div",{style:{width:"100%",height:"100%",backgroundColor:"black",borderRadius:"0 0 calc(1px * var(--size-scale-factor, 1)) calc(1px * var(--size-scale-factor, 1))",opacity:"0.25"}})),e.createElement("div",{style:{width:"calc(2px * var(--size-scale-factor, 1))",height:"100%",padding:"calc(1px * var(--size-scale-factor, 1)) 0 calc(1px * var(--size-scale-factor, 1)) calc(1px * var(--size-scale-factor, 1))",boxSizing:"border-box",position:"absolute",bottom:"0",left:"0"}},e.createElement("div",{style:{width:"100%",height:"100%",backgroundColor:"black",borderRadius:"0 0 0 calc(1px * var(--size-scale-factor, 1))",opacity:"0.07"}})),e.createElement("div",{style:{width:"100%",height:"calc(6px * var(--size-scale-factor, 1))",padding:"calc(1px * var(--size-scale-factor, 1)) 0 0 calc(1px * var(--size-scale-factor, 1))",boxSizing:"border-box",position:"absolute",top:"0",left:"0"}},e.createElement("div",{style:{width:"100%",height:"100%",backgroundColor:"black",maskImage:"linear-gradient(to bottom, white, transparent)",WebkitMaskImage:"linear-gradient(to bottom, white, transparent)",opacity:"0.12"}})),e.createElement("div",{style:{width:"100%",padding:"calc(1px * var(--size-scale-factor, 1)) 0 0 calc(1px * var(--size-scale-factor, 1))",boxSizing:"border-box",position:"absolute",top:"0",left:"0",height:r?"calc(4px * var(--size-scale-factor, 1))":"calc(3px * var(--size-scale-factor, 1))"}},e.createElement("div",{style:{width:"100%",height:"100%",backgroundColor:"black",opacity:"0.12"}})),e.createElement("div",{style:{width:"calc(1px * var(--size-scale-factor, 1))",height:"100%",padding:"calc(1px * var(--size-scale-factor, 1)) 0 calc(1px * var(--size-scale-factor, 1)) 0",boxSizing:"border-box",position:"absolute",bottom:"0",right:"0"}},e.createElement("div",{style:{width:"100%",height:"100%",backgroundColor:i,borderRadius:"0 0 calc(1px * var(--size-scale-factor, 1)) 0",opacity:"0.12"}})))};l.propTypes=t.default;var s=l;exports.default=s;
  73. },{"react":"n8MK","../../services/keyPropTypes":"jvAz"}],"J6q8":[function(require,module,exports) {
  74. "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react")),t=a(require("../../services/keyPropTypes"));function a(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function r(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var a={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(a,i,o):a[i]=e[i]}return a.default=e,t&&t.set(e,a),a}var i="#35313b",o="white",l=function(t){var a=t.keyChannels,c=Array.isArray(a)&&a.length>0;return e.createElement("div",{style:{width:"100%",height:"100%",position:"relative","--color-accidental-key":c?"var(--color-channel-"+a[0].channel+")":void 0}},e.createElement("div",{style:{width:"100%",height:"100%",position:"absolute",top:0,left:0,borderRadius:"calc(1px * var(--size-scale-factor, 1))",boxShadow:"0 0 0 calc(1px * var(--size-scale-factor, 1)) rgba(0, 0, 0, 0.25)"}}),e.createElement("div",{style:{width:"100%",height:"100%",backgroundColor:"black",position:"absolute",top:0,left:0,borderRadius:"0 0 calc(1px * var(--size-scale-factor, 1)) calc(1px * var(--size-scale-factor, 1))"}}),e.createElement("div",{style:{width:"100%",height:"calc(6 / 50 * 100%)",padding:"0 calc(1px * var(--size-scale-factor, 1)) calc(1px * var(--size-scale-factor, 1))",boxSizing:"border-box",position:"absolute",bottom:0,left:0}},e.createElement("div",{style:{width:"100%",height:"100%",borderRadius:"0 0 calc(1px * var(--size-scale-factor, 1)) calc(1px * var(--size-scale-factor, 1))",backgroundColor:"var(--color-accidental-key, "+i+")",maskImage:"linear-gradient(to bottom, white, rgba(0, 0, 0, 0.9))",WebkitMaskImage:"linear-gradient(to bottom, white, rgba(0, 0, 0, 0.9))",opacity:c?.75:"1"}})),e.createElement("div",{style:{width:"100%",height:"calc(44 / 50 * 100%)",padding:"calc(1px * var(--size-scale-factor, 1)) calc(1px * var(--size-scale-factor, 1)) 0",boxSizing:"border-box",position:"absolute",top:0,left:0}},e.createElement("div",{style:{width:"100%",height:"100%",backgroundColor:"var(--color-accidental-key, "+i+")",opacity:c?.75:"1"}})),e.createElement("div",{style:{width:"100%",height:"calc(4px * var(--size-scale-factor, 1))",padding:"calc(1px * var(--size-scale-factor, 1)) 0 0 0",boxSizing:"border-box",position:"absolute",top:0,left:0}},e.createElement("div",{style:{width:"100%",height:"100%",backgroundColor:"black",opacity:"0.12"}})),e.createElement("div",{style:{width:"calc(2px * var(--size-scale-factor, 1))",height:"calc(10 / 52 * 100%)",padding:"0 calc(1px * var(--size-scale-factor, 1)) 0 0",boxSizing:"border-box",position:"absolute",top:0,right:0,opacity:c?.5:"1"}},e.createElement("div",{style:{width:"100%",height:"100%",backgroundColor:o,maskImage:"linear-gradient(to bottom, transparent, white)",WebkitMaskImage:"linear-gradient(to bottom, transparent, white)",opacity:"0.4"}})),e.createElement("div",{style:{width:"calc(2px * var(--size-scale-factor, 1))",height:c?"calc(38 / 52 * 100%)":"calc(34 / 52 * 100%)",boxSizing:"border-box",position:"absolute",bottom:c?"calc(4 / 52 * 100%)":"calc(8 / 52 * 100%)",right:0,paddingRight:"calc(1px * var(--size-scale-factor, 1))",paddingLeft:0,opacity:c?.5:"1"}},e.createElement("div",{style:{width:"100%",height:"100%",backgroundColor:o,opacity:"0.4",borderBottomRightRadius:"calc(1px * var(--size-scale-factor, 1))"}})),e.createElement("div",{style:{width:"100%",height:c?"calc(2 / 52 * 100%)":"calc(6 / 52 * 100%)",padding:"0 calc(1px * var(--size-scale-factor, 1)) calc(1px * var(--size-scale-factor, 1)) calc(1px * var(--size-scale-factor, 1))",boxSizing:"border-box",position:"absolute",bottom:0,left:0,opacity:c?3:"4"}},e.createElement("div",{style:{width:"100%",height:"100%",backgroundColor:o,borderRadius:"calc(4px * var(--size-scale-factor, 1)) calc(4px * var(--size-scale-factor, 1)) calc(1px * var(--size-scale-factor, 1)) calc(1px * var(--size-scale-factor, 1))",opacity:"0.12"}})),e.createElement("div",{style:{width:"100%",height:c?"calc(42 / 52 * 100%)":"calc(38 / 52 * 100%)",padding:"0 calc(3px * var(--size-scale-factor, 1)) 0 calc(3px * var(--size-scale-factor, 1))",boxSizing:"border-box",position:"absolute",top:"calc(3px * var(--size-scale-factor, 1))",left:0}},e.createElement("div",{style:{width:"100%",height:"100%",backgroundColor:o,maskImage:"linear-gradient(to bottom, transparent, white)",WebkitMaskImage:"linear-gradient(to bottom, transparent, white)",borderRadius:99999,opacity:c?.06:"0.12"}})),e.createElement("div",{style:{width:"100%",paddingTop:0,paddingRight:"calc(1px * var(--size-scale-factor, 1))",paddingLeft:"calc(2px * var(--size-scale-factor, 1))",boxSizing:"border-box",position:"absolute",bottom:c?"calc(4 / 52 * 100%)":"calc(8 / 52 * 100%)",left:0,height:"calc(1px * var(--size-scale-factor, 1))",opacity:c?.5:"1"}},e.createElement("div",{style:{width:"100%",height:"100%",backgroundColor:o,borderRadius:"0 0 calc(1px * var(--size-scale-factor, 1)) calc(1px * var(--size-scale-factor, 1))",opacity:"0.4"}})))};l.propTypes=t.default;var s=l;exports.default=s;
  75. },{"react":"n8MK","../../services/keyPropTypes":"jvAz"}],"fUdq":[function(require,module,exports) {
  76. "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"KeyboardMap",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(exports,"StyledNaturalKey",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(exports,"StyledAccidentalKey",{enumerable:!0,get:function(){return a.default}}),exports.default=void 0;var e=n(require("./components/Keyboard/Keyboard")),t=n(require("./components/KeyboardMap/KeyboardMap")),r=n(require("./components/StyledNaturalKey/StyledNaturalKey")),a=n(require("./components/StyledAccidentalKey/StyledAccidentalKey"));function n(e){return e&&e.__esModule?e:{default:e}}var o=e.default;exports.default=o;
  77. },{"./components/Keyboard/Keyboard":"b4L6","./components/KeyboardMap/KeyboardMap":"oBwe","./components/StyledNaturalKey/StyledNaturalKey":"kMWa","./components/StyledAccidentalKey/StyledAccidentalKey":"J6q8"}],"zo2T":[function(require,module,exports) {
  78. "use strict";var e=i(require("react")),t=r(require("react-dom")),n=i(require("../src"));function r(e){return e&&e.__esModule?e:{default:e}}function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function i(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}var o=function(){function e(e){this.output=e}return e.prototype.noteOn=function(e,t,n){this.output.send([144+e,t,n])},e.prototype.noteOff=function(e,t,n){this.output.send([128+e,t,n])},e.prototype.changeInstrument=function(e,t){this.output.send([192+e,t])},e.prototype.getInstrumentNames=function(){return["Acoustic Grand Piano","Bright Acoustic Piano","Electric Grand Piano","Honky-tonk Piano","Electric Piano 1","Electric Piano 2","Harpsichord","Clavi","Celesta","Glockenspiel","Music Box","Vibraphone","Marimba","Xylophone","Tubular Bells","Dulcimer","Drawbar Organ","Percussive Organ","Rock Organ","Church Organ","Reed Organ","Accordion","Harmonica","Tango Accordion","Acoustic Guitar (nylon)","Acoustic Guitar (steel)","Electric Guitar (jazz)","Electric Guitar (clean)","Electric Guitar (muted)","Overdriven Guitar","Distortion Guitar","Guitar harmonics","Acoustic Bass","Electric Bass (finger)","Electric Bass (pick)","Fretless Bass","Slap Bass 1","Slap Bass 2","Synth Bass 1","Synth Bass 2","Violin","Viola","Cello","Contrabass","Tremolo Strings","Pizzicato Strings","Orchestral Harp","Timpani","String Ensemble 1","String Ensemble 2","SynthStrings 1","SynthStrings 2","Choir Aahs","Voice Oohs","Synth Voice","Orchestra Hit","Trumpet","Trombone","Tuba","Muted Trumpet","French Horn","Brass Section","SynthBrass 1","SynthBrass 2","Soprano Sax","Alto Sax","Tenor Sax","Baritone Sax","Oboe","English Horn","Bassoon","Clarinet","Piccolo","Flute","Recorder","Pan Flute","Blown Bottle","Shakuhachi","Whistle","Ocarina","Lead 1 (square)","Lead 2 (sawtooth)","Lead 3 (calliope)","Lead 4 (chiff)","Lead 5 (charang)","Lead 6 (voice)","Lead 7 (fifths)","Lead 8 (bass + lead)","Pad 1 (new age)","Pad 2 (warm)","Pad 3 (polysynth)","Pad 4 (choir)","Pad 5 (bowed)","Pad 6 (metallic)","Pad 7 (halo)","Pad 8 (sweep)","FX 1 (rain)","FX 2 (soundtrack)","FX 3 (crystal)","FX 4 (atmosphere)","FX 5 (brightness)","FX 6 (goblins)","FX 7 (echoes)","FX 8 (sci-fi)","Sitar","Banjo","Shamisen","Koto","Kalimba","Bag pipe","Fiddle","Shanai","Tinkle Bell","Agogo","Steel Drums","Woodblock","Taiko Drum","Melodic Tom","Synth Drum","Reverse Cymbal","Guitar Fret Noise","Breath Noise","Seashore","Bird Tweet","Telephone Ring","Helicopter","Applause","Gunshot"]},e}(),s=function(){function e(){this.sounds="sine triangle sawtooth square".split(" "),this.oscillators=new Array(16).fill({}),this.channels=new Array(16).fill(0),this.baseFrequency=440,this.getKeyFrequency=function(e,t,n){return n*Math.pow(Math.pow(2,1/12),e-t)};var e=window,t=e.AudioContext||e.webkitAudioContext;this.output=new t}return e.prototype.noteOn=function(e,t,n){this.oscillators[e][t]&&(this.oscillators[e][t].stop(),delete this.oscillators[e][t]),this.oscillators[e][t]=this.output.createOscillator();var r=this.output.createGain();this.oscillators[e][t].type=this.sounds[this.channels[e]],this.oscillators[e][t].connect(r),r.connect(this.output.destination),r.gain.value=.001*n,this.oscillators[e][t].frequency.value=this.getKeyFrequency(t,69,this.baseFrequency),this.oscillators[e][t].start()},e.prototype.noteOff=function(e,t,n){if(this.oscillators[e][t]){try{this.oscillators[e][t].stop()}catch(r){}delete this.oscillators[e][t]}},e.prototype.changeInstrument=function(e,t){this.channels[e]=t},e.prototype.getInstrumentNames=function(){return this.sounds},e}(),c=function(){var t=e.useState(0),r=t[0],a=t[1],i=e.useState([]),c=i[0],u=i[1],l=e.useState([]),h=l[0],y=l[1],f=e.useState(0),d=f[0],p=f[1],m=e.useRef(void 0),g=e.useRef(null);return e.useEffect(function(){m.current&&m.current.changeInstrument(r,d)},[r,d]),e.useEffect(function(){var e=window.navigator;"requestMIDIAccess"in e?e.requestMIDIAccess().then(function(e){m.current=new o(Array.from(e.outputs.values())[0]),y(m.current.getInstrumentNames()),m.current.changeInstrument(0,0)}):(m.current=new s,y(m.current.getInstrumentNames()),m.current.changeInstrument(0,0))},[]),e.useEffect(function(){var e=g.current;e&&(e.scrollLeft=.4668*e.scrollWidth)},[g]),e.createElement(e.Fragment,null,e.createElement("input",{type:"number",id:"channel",min:0,max:15,onChange:function(e){var t=e.target.value,n=Number(t);a(n)},defaultValue:0}),e.createElement("select",{id:"instrument",onChange:function(e){var t=e.target.value,n=Number(t);p(n)},defaultValue:0},Array.isArray(h)&&h.map(function(t,n){return e.createElement("option",{key:n,value:n},t)})),e.createElement("div",{id:"keyboard",ref:g},e.createElement("div",{id:"keyboard-scroll"},e.createElement(n.default,{hasMap:!0,startKey:0,endKey:127,keyChannels:c,height:"100%"},e.createElement(n.KeyboardMap,{channel:r,onChange:function(e){u(function(t){var n=t.map(function(e){return e.key}),r=e.map(function(e){return e.key}),a=t.filter(function(e){return!r.includes(e.key)});return e.filter(function(e){return!n.includes(e.key)}).forEach(function(e){m.current&&m.current.noteOn(e.channel,e.key,Math.floor(127*e.velocity))}),a.forEach(function(e){m.current&&m.current.noteOff(e.channel,e.key,Math.floor(127*e.velocity))}),e})},keyboardMapping:{KeyQ:60,Digit2:61,KeyW:62,Digit3:63,KeyE:64,KeyR:65,Digit5:66,KeyT:67,Digit6:68,KeyY:69,Digit7:70,KeyU:71,KeyI:72,Digit9:73,KeyO:74,Digit0:75,KeyP:76,BracketLeft:77,Equal:78,BracketRight:79,KeyZ:48,KeyS:49,KeyX:50,KeyD:51,KeyC:52,KeyV:53,KeyG:54,KeyB:55,KeyH:56,KeyN:57,KeyJ:58,KeyM:59,Comma:60,KeyL:61,Period:62,Semicolon:63,Slash:64}})))))},u=window.document.createElement("div");u.style.display="contents",window.document.body.appendChild(u),t.default.render(e.createElement(c,null),u);
  79. },{"react":"n8MK","react-dom":"wLSN","../src":"fUdq"}]},{},["zo2T"], null)
  80. //# sourceMappingURL=example.38f122ec.js.map