amis-rpc-design/node_modules/@reduxjs/toolkit/dist/query/react/rtk-query-react.umd.min.js
2023-10-07 19:42:30 +08:00

29 lines
220 KiB
JavaScript

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.RTKQ = {}));
})(this, (function (exports) { 'use strict';
var e;exports.QueryStatus = void 0;var n,r=undefined&&undefined.__extends||(e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t;}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);},e(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t;}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r);}),a=undefined&&undefined.__generator||function(e,t){var n,r,a,o,u={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function i(o){return function(i){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(a=2&o[0]?r.return:o[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;switch(r=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return u.label++,{value:o[1],done:!1};case 5:u.label++,r=o[1],o=[0];continue;case 7:o=u.ops.pop(),u.trys.pop();continue;default:if(!((a=(a=u.trys).length>0&&a[a.length-1])||6!==o[0]&&2!==o[0])){u=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){u.label=o[1];break}if(6===o[0]&&u.label<a[1]){u.label=a[1],a=o;break}if(a&&u.label<a[2]){u.label=a[2],u.ops.push(o);break}a[2]&&u.ops.pop(),u.trys.pop();continue}o=t.call(e,u);}catch(e){o=[6,e],r=0;}finally{n=a=0;}if(5&o[0])throw o[1];return {value:o[0]?o[1]:void 0,done:!0}}([o,i])}}},o=undefined&&undefined.__spreadArray||function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e},u=Object.create,i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,y=function(e,t,n){return t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},m=function(e,t){for(var n in t||(t={}))h.call(t,n)&&y(e,n,t[n]);if(d)for(var r=0,a=d(t);r<a.length;r++)v.call(t,n=a[r])&&y(e,n,t[n]);return e},g=function(e,t){return l(e,s(t))},b=function(e,t){var n={};for(var r in e)h.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&d)for(var a=0,o=d(e);a<o.length;a++)t.indexOf(r=o[a])<0&&v.call(e,r)&&(n[r]=e[r]);return n},w=function(e,t){return function(){return t||(0, e[Object.keys(e)[0]])((t={exports:{}}).exports,t),t.exports}},S=function(e){return function(e,t,n){if(t&&"object"==typeof t||"function"==typeof t)for(var r=function(r){h.call(e,r)||"default"===r||i(e,r,{get:function(){return t[r]},enumerable:!(n=c(t,r))||n.enumerable});},a=0,o=f(t);a<o.length;a++)r(o[a]);return e}((t=i(null!=e?u(p(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0}),i(t,"__esModule",{value:!0})),e);var t;},k=function(e,t,n){return new Promise((function(r,a){var o=function(e){try{i(n.next(e));}catch(e){a(e);}},u=function(e){try{i(n.throw(e));}catch(e){a(e);}},i=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(o,u)};i((n=n.apply(e,t)).next());}))},x=w({"../../node_modules/react/cjs/react.production.min.js":function(e){var t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),s=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),d=Symbol.iterator,p={isMounted:function(){return !1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,v={};function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||p;}function m(){}function g(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||p;}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState");},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate");},m.prototype=y.prototype;var b=g.prototype=new m;b.constructor=g,h(b,y.prototype),b.isPureReactComponent=!0;var w=Array.isArray,S=Object.prototype.hasOwnProperty,k={current:null},x={key:!0,ref:!0,__self:!0,__source:!0};function E(e,n,r){var a,o={},u=null,i=null;if(null!=n)for(a in void 0!==n.ref&&(i=n.ref),void 0!==n.key&&(u=""+n.key),n)S.call(n,a)&&!x.hasOwnProperty(a)&&(o[a]=n[a]);var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var c=Array(l),s=0;s<l;s++)c[s]=arguments[s+2];o.children=c;}if(e&&e.defaultProps)for(a in l=e.defaultProps)void 0===o[a]&&(o[a]=l[a]);return {$$typeof:t,type:e,key:u,ref:i,props:o,_owner:k.current}}function C(e){return "object"==typeof e&&null!==e&&e.$$typeof===t}var O=/\/+/g;function _(e,t){return "object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return "$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function P(e,r,a,o,u){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var l=!1;if(null===e)l=!0;else switch(i){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case t:case n:l=!0;}}if(l)return u=u(l=e),e=""===o?"."+_(l,0):o,w(u)?(a="",null!=e&&(a=e.replace(O,"$&/")+"/"),P(u,r,a,"",(function(e){return e}))):null!=u&&(C(u)&&(u=function(e,n){return {$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(u,a+(!u.key||l&&l.key===u.key?"":(""+u.key).replace(O,"$&/")+"/")+e)),r.push(u)),1;if(l=0,o=""===o?".":o+":",w(e))for(var c=0;c<e.length;c++){var s=o+_(i=e[c],c);l+=P(i,r,a,s,u);}else if(s=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(e),"function"==typeof s)for(e=s.call(e),c=0;!(i=e.next()).done;)l+=P(i=i.value,r,a,s=o+_(i,c++),u);else if("object"===i)throw r=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(e).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return l}function T(e,t,n){if(null==e)return e;var r=[],a=0;return P(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function R(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t);}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t);})),-1===e._status&&(e._status=0,e._result=t);}if(1===e._status)return e._result.default;throw e._result}var N={current:null},j={transition:null},z={ReactCurrentDispatcher:N,ReactCurrentBatchConfig:j,ReactCurrentOwner:k};e.Children={map:T,forEach:function(e,t,n){T(e,(function(){t.apply(this,arguments);}),n);},count:function(e){var t=0;return T(e,(function(){t++;})),t},toArray:function(e){return T(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},e.Component=y,e.Fragment=r,e.Profiler=o,e.PureComponent=g,e.StrictMode=a,e.Suspense=c,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=z,e.cloneElement=function(e,n,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=h({},e.props),o=e.key,u=e.ref,i=e._owner;if(null!=n){if(void 0!==n.ref&&(u=n.ref,i=k.current),void 0!==n.key&&(o=""+n.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in n)S.call(n,c)&&!x.hasOwnProperty(c)&&(a[c]=void 0===n[c]&&void 0!==l?l[c]:n[c]);}var c=arguments.length-2;if(1===c)a.children=r;else if(1<c){l=Array(c);for(var s=0;s<c;s++)l[s]=arguments[s+2];a.children=l;}return {$$typeof:t,type:e.type,key:o,ref:u,props:a,_owner:i}},e.createContext=function(e){return (e={$$typeof:i,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},e.createElement=E,e.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},e.createRef=function(){return {current:null}},e.forwardRef=function(e){return {$$typeof:l,render:e}},e.isValidElement=C,e.lazy=function(e){return {$$typeof:f,_payload:{_status:-1,_result:e},_init:R}},e.memo=function(e,t){return {$$typeof:s,type:e,compare:void 0===t?null:t}},e.startTransition=function(e){var t=j.transition;j.transition={};try{e();}finally{j.transition=t;}},e.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},e.useCallback=function(e,t){return N.current.useCallback(e,t)},e.useContext=function(e){return N.current.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e){return N.current.useDeferredValue(e)},e.useEffect=function(e,t){return N.current.useEffect(e,t)},e.useId=function(){return N.current.useId()},e.useImperativeHandle=function(e,t,n){return N.current.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return N.current.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return N.current.useLayoutEffect(e,t)},e.useMemo=function(e,t){return N.current.useMemo(e,t)},e.useReducer=function(e,t,n){return N.current.useReducer(e,t,n)},e.useRef=function(e){return N.current.useRef(e)},e.useState=function(e){return N.current.useState(e)},e.useSyncExternalStore=function(e,t,n){return N.current.useSyncExternalStore(e,t,n)},e.useTransition=function(){return N.current.useTransition()},e.version="18.1.0";}}),E=w({"../../node_modules/react/index.js":function(e,t){t.exports=x();}}),C=w({"../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js":function(e){var t=E(),n="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r=t.useState,a=t.useEffect,o=t.useLayoutEffect,u=t.useDebugValue;function i(e){var t=e.getSnapshot;e=e.value;try{var r=t();return !n(e,r)}catch(e){return !0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),l=r({inst:{value:n,getSnapshot:t}}),c=l[0].inst,s=l[1];return o((function(){c.value=n,c.getSnapshot=t,i(c)&&s({inst:c});}),[e,n,t]),a((function(){return i(c)&&s({inst:c}),e((function(){i(c)&&s({inst:c});}))}),[e]),u(n),n};e.useSyncExternalStore=void 0!==t.useSyncExternalStore?t.useSyncExternalStore:l;}}),O=w({"../../node_modules/use-sync-external-store/shim/index.js":function(e,t){t.exports=C();}}),_=w({"../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js":function(e){var t=E(),n=O(),r="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=n.useSyncExternalStore,o=t.useRef,u=t.useEffect,i=t.useMemo,l=t.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,c,s){var f=o(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d;}else d=f.current;f=i((function(){function e(e){if(!u){if(u=!0,a=e,e=c(e),void 0!==s&&d.hasValue){var t=d.value;if(s(t,e))return o=t}return o=e}if(t=o,r(a,e))return t;var n=c(e);return void 0!==s&&s(t,n)?t:(a=e,o=n)}var a,o,u=!1,i=void 0===n?null:n;return [function(){return e(t())},null===i?void 0:function(){return e(i())}]}),[t,n,c,s]);var p=a(e,f[0],f[1]);return u((function(){d.hasValue=!0,d.value=p;}),[p]),l(p),p};}}),P=w({"../../node_modules/use-sync-external-store/shim/with-selector.js":function(e,t){t.exports=_();}}),T=w({"../../node_modules/scheduler/cjs/scheduler.production.min.js":function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<a(o,t)))break e;e[r]=t,e[n]=o,n=r;}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,u=o>>>1;r<u;){var i=2*(r+1)-1,l=e[i],c=i+1,s=e[c];if(0>a(l,n))c<o&&0>a(s,l)?(e[r]=s,e[c]=n,r=c):(e[r]=l,e[i]=n,r=i);else {if(!(c<o&&0>a(s,n)))break e;e[r]=s,e[c]=n,r=c;}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var o,u,i;"object"==typeof performance&&"function"==typeof performance.now?(o=performance,e.unstable_now=function(){return o.now()}):(u=Date,i=u.now(),e.unstable_now=function(){return u.now()-i});var l=[],c=[],s=1,f=null,d=3,p=!1,h=!1,v=!1,y="function"==typeof setTimeout?setTimeout:null,m="function"==typeof clearTimeout?clearTimeout:null,g="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var a=n(c);null!==a;){if(null===a.callback)r(c);else {if(!(a.startTime<=e))break;r(c),a.sortIndex=a.expirationTime,t(l,a);}a=n(c);}}function w(e){if(v=!1,b(e),!h)if(null!==n(l))h=!0,j(S);else {var t=n(c);null!==t&&z(w,t.startTime-e);}}function S(t,a){h=!1,v&&(v=!1,m(_),_=-1),p=!0;var o=d;try{for(b(a),f=n(l);null!==f&&(!(f.expirationTime>a)||t&&!R());){var u=f.callback;if("function"==typeof u){f.callback=null,d=f.priorityLevel;var i=u(f.expirationTime<=a);a=e.unstable_now(),"function"==typeof i?f.callback=i:f===n(l)&&r(l),b(a);}else r(l);f=n(l);}if(null!==f)var s=!0;else {var y=n(c);null!==y&&z(w,y.startTime-a),s=!1;}return s}finally{f=null,d=o,p=!1;}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,x,E,C=!1,O=null,_=-1,P=5,T=-1;function R(){return !(e.unstable_now()-T<P)}function N(){if(null!==O){var t=e.unstable_now();T=t;var n=!0;try{n=O(!0,t);}finally{n?k():(C=!1,O=null);}}else C=!1;}function j(e){O=e,C||(C=!0,k());}function z(t,n){_=y((function(){t(e.unstable_now());}),n);}"function"==typeof g?k=function(){g(N);}:"undefined"!=typeof MessageChannel?(x=new MessageChannel,E=x.port2,x.port1.onmessage=N,k=function(){E.postMessage(null);}):k=function(){y(N,0);},e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null;},e.unstable_continueExecution=function(){h||p||(h=!0,j(S));},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<e?Math.floor(1e3/e):5;},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(e){switch(d){case 1:case 2:case 3:var t=3;break;default:t=d;}var n=d;d=t;try{return e()}finally{d=n;}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3;}var n=d;d=e;try{return t()}finally{d=n;}},e.unstable_scheduleCallback=function(r,a,o){var u=e.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?u+o:u,r){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3;}return r={id:s++,callback:a,priorityLevel:r,startTime:o,expirationTime:i=o+i,sortIndex:-1},o>u?(r.sortIndex=o,t(c,r),null===n(l)&&r===n(c)&&(v?(m(_),_=-1):v=!0,z(w,o-u))):(r.sortIndex=i,t(l,r),h||p||(h=!0,j(S))),r},e.unstable_shouldYield=R,e.unstable_wrapCallback=function(e){var t=d;return function(){var n=d;d=t;try{return e.apply(this,arguments)}finally{d=n;}}};}}),R=w({"../../node_modules/scheduler/index.js":function(e,t){t.exports=T();}}),N=w({"../../node_modules/react-dom/cjs/react-dom.production.min.js":function(e){var t=E(),n=R();function r(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return "Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,o={};function u(e,t){i(e,t),i(e+"Capture",t);}function i(e,t){for(o[e]=t,e=0;e<t.length;e++)a.add(t[e]);}var l=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),c=Object.prototype.hasOwnProperty,s=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f={},d={};function p(e,t,n,r,a,o,u){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=u;}var h={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){h[e]=new p(e,0,!1,e,null,!1,!1);})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];h[t]=new p(t,1,!1,e[1],null,!1,!1);})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){h[e]=new p(e,2,!1,e.toLowerCase(),null,!1,!1);})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){h[e]=new p(e,2,!1,e,null,!1,!1);})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){h[e]=new p(e,3,!1,e.toLowerCase(),null,!1,!1);})),["checked","multiple","muted","selected"].forEach((function(e){h[e]=new p(e,3,!0,e,null,!1,!1);})),["capture","download"].forEach((function(e){h[e]=new p(e,4,!1,e,null,!1,!1);})),["cols","rows","size","span"].forEach((function(e){h[e]=new p(e,6,!1,e,null,!1,!1);})),["rowSpan","start"].forEach((function(e){h[e]=new p(e,5,!1,e.toLowerCase(),null,!1,!1);}));var v=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function m(e,t,n,r){var a=h.hasOwnProperty(t)?h[t]:null;(null!==a?0!==a.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return !1;switch(typeof t){case"function":case"symbol":return !0;case"boolean":return !r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return !1}}(e,t,n,r))return !0;if(r)return !1;if(null!==n)switch(n.type){case 3:return !t;case 4:return !1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return !1}(t,n,a,r)&&(n=null),r||null===a?function(e){return !!c.call(d,e)||!c.call(f,e)&&(s.test(e)?d[e]=!0:(f[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))));}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,y);h[t]=new p(t,1,!1,e,null,!1,!1);})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,y);h[t]=new p(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1);})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,y);h[t]=new p(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1);})),["tabIndex","crossOrigin"].forEach((function(e){h[e]=new p(e,1,!1,e.toLowerCase(),null,!1,!1);})),h.xlinkHref=new p("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){h[e]=new p(e,1,!1,e.toLowerCase(),null,!0,!0);}));var g=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,b=Symbol.for("react.element"),w=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),O=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),j=Symbol.for("react.lazy");var z=Symbol.for("react.offscreen");var M=Symbol.iterator;function A(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=M&&e[M]||e["@@iterator"])?e:null}var I,L=Object.assign;function D(e){if(void 0===I)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);I=t&&t[1]||"";}return "\n"+I+e}var F=!1;function q(e,t){if(!e||F)return "";F=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[]);}catch(e){var r=e;}Reflect.construct(e,[],t);}else {try{t.call();}catch(e){r=e;}e.call(t.prototype);}else {try{throw Error()}catch(e){r=e;}e();}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),o=r.stack.split("\n"),u=a.length-1,i=o.length-1;1<=u&&0<=i&&a[u]!==o[i];)i--;for(;1<=u&&0<=i;u--,i--)if(a[u]!==o[i]){if(1!==u||1!==i)do{if(u--,0>--i||a[u]!==o[i]){var l="\n"+a[u].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=u&&0<=i);break}}}finally{F=!1,Error.prepareStackTrace=n;}return (e=e?e.displayName||e.name:"")?D(e):""}function Q(e){switch(e.tag){case 5:return D(e.type);case 16:return D("Lazy");case 13:return D("Suspense");case 19:return D("SuspenseList");case 0:case 2:case 15:return q(e.type,!1);case 11:return q(e.type.render,!1);case 1:return q(e.type,!0);default:return ""}}function U(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return "Fragment";case w:return "Portal";case x:return "Profiler";case k:return "StrictMode";case P:return "Suspense";case T:return "SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case O:return (e.displayName||"Context")+".Consumer";case C:return (e._context.displayName||"Context")+".Provider";case _:var t=e.render;return (e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case N:return null!==(t=e.displayName||null)?t:U(e.type)||"Memo";case j:t=e._payload,e=e._init;try{return U(e(t))}catch(e){}}return null}function $(e){var t=e.type;switch(e.tag){case 24:return "Cache";case 9:return (t.displayName||"Context")+".Consumer";case 10:return (t._context.displayName||"Context")+".Provider";case 18:return "DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return "Fragment";case 5:return t;case 4:return "Portal";case 3:return "Root";case 6:return "Text";case 16:return U(t);case 8:return t===k?"StrictMode":"Mode";case 22:return "Offscreen";case 12:return "Profiler";case 21:return "Scope";case 13:return "Suspense";case 19:return "SuspenseList";case 25:return "TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function V(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return ""}}function K(e){var t=e.type;return (e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function W(e){e._valueTracker||(e._valueTracker=function(e){var t=K(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e);}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e;},stopTracking:function(){e._valueTracker=null,delete e[t];}}}}(e));}function B(e){if(!e)return !1;var t=e._valueTracker;if(!t)return !0;var n=t.getValue(),r="";return e&&(r=K(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function H(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 X(e,t){var n=t.checked;return L({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=V(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value};}function J(e,t){null!=(t=t.checked)&&m(e,"checked",t,!1);}function G(e,t){J(e,t);var n=V(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,V(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked);}function Z(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(("submit"===r||"reset"===r)&&null==t.value)return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t;}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n);}function ee(e,t,n){"number"===t&&H(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n));}var te,ne=Array.isArray;function re(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0);}else {for(n=""+V(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a]);}null!==t&&(t.selected=!0);}}function ae(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(r(91));return L({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(r(92));if(ne(n)){if(1<n.length)throw Error(r(93));n=n[0];}t=n;}null==t&&(t=""),n=t;}e._wrapperState={initialValue:V(n)};}function ue(e,t){var n=V(t.value),r=V(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r);}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t);}function le(e){switch(e){case"svg":return "http://www.w3.org/2000/svg";case"math":return "http://www.w3.org/1998/Math/MathML";default:return "http://www.w3.org/1999/xhtml"}}function ce(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var se,fe=(se=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else {for((te=te||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=te.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild);}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return se(e,t)}));}:se);function de(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t;}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function ve(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ye(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=ve(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a;}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e];}));}));var me=L({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 ge(e,t){if(t){if(me[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(r(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(r(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(r(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(r(62))}}function be(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 we=null;function Se(e){return (e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ke=null,xe=null,Ee=null;function Ce(e){if(e=ba(e)){if("function"!=typeof ke)throw Error(r(280));var t=e.stateNode;t&&(t=Sa(t),ke(e.stateNode,e.type,t));}}function Oe(e){xe?Ee?Ee.push(e):Ee=[e]:xe=e;}function _e(){if(xe){var e=xe,t=Ee;if(Ee=xe=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e]);}}function Pe(e,t){return e(t)}function Te(){}var Re=!1;function Ne(e,t,n){if(Re)return e(t,n);Re=!0;try{return Pe(e,t,n)}finally{Re=!1,(null!==xe||null!==Ee)&&(Te(),_e());}}function je(e,t){var n=e.stateNode;if(null===n)return null;var a=Sa(n);if(null===a)return null;n=a[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":(a=!a.disabled)||(a=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!a;break e;default:e=!1;}if(e)return null;if(n&&"function"!=typeof n)throw Error(r(231,t,typeof n));return n}var ze,Me=!1;if(l)try{ze={},Object.defineProperty(ze,"passive",{get:function(){Me=!0;}}),window.addEventListener("test",ze,ze),window.removeEventListener("test",ze,ze);}catch(se){Me=!1;}function Ae(e,t,n,r,a,o,u,i,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c);}catch(e){this.onError(e);}}var Ie=!1,Le=null,De=!1,Fe=null,qe={onError:function(e){Ie=!0,Le=e;}};function Qe(e,t,n,r,a,o,u,i,l){Ie=!1,Le=null,Ae.apply(qe,arguments);}function Ue(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else {e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return;}while(e)}return 3===t.tag?n:null}function $e(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function Ve(e){if(Ue(e)!==e)throw Error(r(188))}function Ke(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ue(e)))throw Error(r(188));return t!==e?null:e}for(var n=e,a=t;;){var o=n.return;if(null===o)break;var u=o.alternate;if(null===u){if(null!==(a=o.return)){n=a;continue}break}if(o.child===u.child){for(u=o.child;u;){if(u===n)return Ve(o),e;if(u===a)return Ve(o),t;u=u.sibling;}throw Error(r(188))}if(n.return!==a.return)n=o,a=u;else {for(var i=!1,l=o.child;l;){if(l===n){i=!0,n=o,a=u;break}if(l===a){i=!0,a=o,n=u;break}l=l.sibling;}if(!i){for(l=u.child;l;){if(l===n){i=!0,n=u,a=o;break}if(l===a){i=!0,a=u,n=o;break}l=l.sibling;}if(!i)throw Error(r(189))}}if(n.alternate!==a)throw Error(r(190))}if(3!==n.tag)throw Error(r(188));return n.stateNode.current===n?e:t}(e))?We(e):null}function We(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=We(e);if(null!==t)return t;e=e.sibling;}return null}var Be=n.unstable_scheduleCallback,He=n.unstable_cancelCallback,Xe=n.unstable_shouldYield,Ye=n.unstable_requestPaint,Je=n.unstable_now,Ge=n.unstable_getCurrentPriorityLevel,Ze=n.unstable_ImmediatePriority,et=n.unstable_UserBlockingPriority,tt=n.unstable_NormalPriority,nt=n.unstable_LowPriority,rt=n.unstable_IdlePriority,at=null,ot=null,ut=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(it(e)/lt|0)|0},it=Math.log,lt=Math.LN2,ct=64,st=4194304;function ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,u=268435455&n;if(0!==u){var i=u&~a;0!==i?r=ft(i):0!=(o&=u)&&(r=ft(o));}else 0!=(u=n&~a)?r=ft(u):0!==o&&(r=ft(o));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&0!=(4194240&o)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)r|=e[n=31-ut(t)],t&=~(a=1<<n);return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}function ht(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function vt(){var e=ct;return 0==(4194240&(ct<<=1))&&(ct=64),e}function yt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function mt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-ut(t)]=n;}function gt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ut(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a;}}var bt,wt,St,kt,xt,Et=0;function Ct(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var Ot=!1,_t=[],Pt=null,Tt=null,Rt=null,Nt=new Map,jt=new Map,zt=[],Mt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function At(e,t){switch(e){case"focusin":case"focusout":Pt=null;break;case"dragenter":case"dragleave":Tt=null;break;case"mouseover":case"mouseout":Rt=null;break;case"pointerover":case"pointerout":Nt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":jt.delete(t.pointerId);}}function It(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&null!==(t=ba(t))&&wt(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function Lt(e){var t=ga(e.target);if(null!==t){var n=Ue(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=$e(n)))return e.blockedOn=t,void xt(e.priority,(function(){St(n);}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null;}function Dt(e){if(null!==e.blockedOn)return !1;for(var t=e.targetContainers;0<t.length;){var n=Xt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ba(n))&&wt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift();}return !0}function Ft(e,t,n){Dt(e)&&n.delete(t);}function qt(){Ot=!1,null!==Pt&&Dt(Pt)&&(Pt=null),null!==Tt&&Dt(Tt)&&(Tt=null),null!==Rt&&Dt(Rt)&&(Rt=null),Nt.forEach(Ft),jt.forEach(Ft);}function Qt(e,t){e.blockedOn===t&&(e.blockedOn=null,Ot||(Ot=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,qt)));}function Ut(e){function t(t){return Qt(t,e)}if(0<_t.length){Qt(_t[0],e);for(var n=1;n<_t.length;n++){var r=_t[n];r.blockedOn===e&&(r.blockedOn=null);}}for(null!==Pt&&Qt(Pt,e),null!==Tt&&Qt(Tt,e),null!==Rt&&Qt(Rt,e),Nt.forEach(t),jt.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;)Lt(n),null===n.blockedOn&&zt.shift();}var $t=g.ReactCurrentBatchConfig,Vt=!0;function Kt(e,t,n,r){var a=Et,o=$t.transition;$t.transition=null;try{Et=1,Bt(e,t,n,r);}finally{Et=a,$t.transition=o;}}function Wt(e,t,n,r){var a=Et,o=$t.transition;$t.transition=null;try{Et=4,Bt(e,t,n,r);}finally{Et=a,$t.transition=o;}}function Bt(e,t,n,r){if(Vt){var a=Xt(e,t,n,r);if(null===a)Vr(e,t,r,Ht,n),At(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return Pt=It(Pt,e,t,n,r,a),!0;case"dragenter":return Tt=It(Tt,e,t,n,r,a),!0;case"mouseover":return Rt=It(Rt,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return Nt.set(o,It(Nt.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return jt.set(o=a.pointerId,It(jt.get(o)||null,e,t,n,r,a)),!0}return !1}(a,e,t,n,r))r.stopPropagation();else if(At(e,r),4&t&&-1<Mt.indexOf(e)){for(;null!==a;){var o=ba(a);if(null!==o&&bt(o),null===(o=Xt(e,t,n,r))&&Vr(e,t,r,Ht,n),o===a)break;a=o;}null!==a&&r.stopPropagation();}else Vr(e,t,r,null,n);}}var Ht=null;function Xt(e,t,n,r){if(Ht=null,null!==(e=ga(e=Se(r))))if(null===(t=Ue(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=$e(t)))return e;e=null;}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null;}else t!==e&&(e=null);return Ht=e,null}function Yt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ge()){case Ze:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Jt=null,Gt=null,Zt=null;function en(){if(Zt)return Zt;var e,t,n=Gt,r=n.length,a="value"in Jt?Jt.value:Jt.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var u=r-e;for(t=1;t<=u&&n[r-t]===a[o-t];t++);return Zt=a.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return "charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return !0}function rn(){return !1}function an(e){function t(t,n,r,a,o){for(var u in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(u)&&(this[u]=(t=e[u])?t(a):a[u]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return L(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn);},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn);},persist:function(){},isPersistent:nn}),t}var on,un,ln,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},sn=an(cn),fn=L({},cn,{view:0,detail:0}),dn=an(fn),pn=L({},fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return "movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(on=e.screenX-ln.screenX,un=e.screenY-ln.screenY):un=on=0,ln=e),on)},movementY:function(e){return "movementY"in e?e.movementY:un}}),hn=an(pn),vn=an(L({},pn,{dataTransfer:0})),yn=an(L({},fn,{relatedTarget:0})),mn=an(L({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),gn=L({},cn,{clipboardData:function(e){return "clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=an(gn),wn=an(L({},cn,{data:0})),Sn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},xn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=xn[e])&&!!t[e]}function Cn(){return En}var On=L({},fn,{key:function(e){if(e.key){var t=Sn[e.key]||e.key;if("Unidentified"!==t)return t}return "keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?kn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return "keypress"===e.type?tn(e):0},keyCode:function(e){return "keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return "keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),_n=an(On),Pn=an(L({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Tn=an(L({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),Rn=an(L({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Nn=L({},pn,{deltaX:function(e){return "deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return "deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),jn=an(Nn),zn=[9,13,27,32],Mn=l&&"CompositionEvent"in window,An=null;l&&"documentMode"in document&&(An=document.documentMode);var In=l&&"TextEvent"in window&&!An,Ln=l&&(!Mn||An&&8<An&&11>=An),Dn=String.fromCharCode(32),Fn=!1;function qn(e,t){switch(e){case"keyup":return -1!==zn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return !0;default:return !1}}function Qn(e){return "object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Un=!1,$n={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Vn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return "input"===t?!!$n[e.type]:"textarea"===t}function Kn(e,t,n,r){Oe(r),0<(t=Wr(t,"onChange")).length&&(n=new sn("onChange","change",null,n,r),e.push({event:n,listeners:t}));}var Wn=null,Bn=null;function Hn(e){Dr(e,0);}function Xn(e){if(B(wa(e)))return e}function Yn(e,t){if("change"===e)return t}var Jn,Gn,Zn,er=!1;function tr(){Wn&&(Wn.detachEvent("onpropertychange",nr),Bn=Wn=null);}function nr(e){if("value"===e.propertyName&&Xn(Bn)){var t=[];Kn(t,Bn,e,Se(e)),Ne(Hn,t);}}function rr(e,t,n){"focusin"===e?(tr(),Bn=n,(Wn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr();}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Xn(Bn)}function or(e,t){if("click"===e)return Xn(t)}function ur(e,t){if("input"===e||"change"===e)return Xn(t)}l&&(l?((Gn="oninput"in document)||((Zn=document.createElement("div")).setAttribute("oninput","return;"),Gn="function"==typeof Zn.oninput),Jn=Gn):Jn=!1,er=Jn&&(!document.documentMode||9<document.documentMode));var ir="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function lr(e,t){if(ir(e,t))return !0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return !1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return !1;for(r=0;r<n.length;r++){var a=n[r];if(!c.call(t,a)||!ir(e[a],t[a]))return !1}return !0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function sr(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return {node:r,offset:t-e};e=n;}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode;}r=void 0;}r=cr(r);}}function fr(e,t){return !(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=H();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href;}catch(e){n=!1;}if(!n)break;t=H((e=t.contentWindow).document);}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=sr(n,o);var u=sr(n,r);a&&u&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(u.node,u.offset)):(t.setEnd(u.node,u.offset),e.addRange(t)));}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top;}}var vr=l&&"documentMode"in document&&11>=document.documentMode,yr=null,mr=null,gr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==yr||yr!==H(r)||(r="selectionStart"in(r=yr)&&pr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},gr&&lr(gr,r)||(gr=r,0<(r=Wr(mr,"onSelect")).length&&(t=new sn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=yr)));}function Sr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kr={animationend:Sr("Animation","AnimationEnd"),animationiteration:Sr("Animation","AnimationIteration"),animationstart:Sr("Animation","AnimationStart"),transitionend:Sr("Transition","TransitionEnd")},xr={},Er={};function Cr(e){if(xr[e])return xr[e];if(!kr[e])return e;var t,n=kr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return xr[e]=n[t];return e}l&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete kr.animationend.animation,delete kr.animationiteration.animation,delete kr.animationstart.animation),"TransitionEvent"in window||delete kr.transitionend.transition);var Or,_r=Cr("animationend"),Pr=Cr("animationiteration"),Tr=Cr("animationstart"),Rr=Cr("transitionend"),Nr=new Map,jr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function zr(e,t){Nr.set(e,t),u(t,[e]);}for(var Mr=0;Mr<jr.length;Mr++)zr((Or=jr[Mr]).toLowerCase(),"on"+(Or[0].toUpperCase()+Or.slice(1)));zr(_r,"onAnimationEnd"),zr(Pr,"onAnimationIteration"),zr(Tr,"onAnimationStart"),zr("dblclick","onDoubleClick"),zr("focusin","onFocus"),zr("focusout","onBlur"),zr(Rr,"onTransitionEnd"),i("onMouseEnter",["mouseout","mouseover"]),i("onMouseLeave",["mouseout","mouseover"]),i("onPointerEnter",["pointerout","pointerover"]),i("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ar="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ir=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ar));function Lr(e,t,n){var a=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,a,o,u,i,l,c){if(Qe.apply(this,arguments),Ie){if(!Ie)throw Error(r(198));var s=Le;Ie=!1,Le=null,De||(De=!0,Fe=s);}}(a,t,void 0,e),e.currentTarget=null;}function Dr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var u=r.length-1;0<=u;u--){var i=r[u],l=i.instance,c=i.currentTarget;if(i=i.listener,l!==o&&a.isPropagationStopped())break e;Lr(a,i,c),o=l;}else for(u=0;u<r.length;u++){if(l=(i=r[u]).instance,c=i.currentTarget,i=i.listener,l!==o&&a.isPropagationStopped())break e;Lr(a,i,c),o=l;}}}if(De)throw e=Fe,De=!1,Fe=null,e}function Fr(e,t){var n=t[va];void 0===n&&(n=t[va]=new Set);var r=e+"__bubble";n.has(r)||($r(t,e,2,!1),n.add(r));}function qr(e,t,n){var r=0;t&&(r|=4),$r(n,e,r,t);}var Qr="_reactListening"+Math.random().toString(36).slice(2);function Ur(e){if(!e[Qr]){e[Qr]=!0,a.forEach((function(t){"selectionchange"!==t&&(Ir.has(t)||qr(t,!1,e),qr(t,!0,e));}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Qr]||(t[Qr]=!0,qr("selectionchange",!1,t));}}function $r(e,t,n,r){switch(Yt(t)){case 1:var a=Kt;break;case 4:a=Wt;break;default:a=Bt;}n=a.bind(null,t,n,e),a=void 0,!Me||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),e.addEventListener(t,n,r?void 0===a||{capture:!0,passive:a}:void 0!==a&&{passive:a});}function Vr(e,t,n,r,a){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var u=r.tag;if(3===u||4===u){var i=r.stateNode.containerInfo;if(i===a||8===i.nodeType&&i.parentNode===a)break;if(4===u)for(u=r.return;null!==u;){var l=u.tag;if((3===l||4===l)&&((l=u.stateNode.containerInfo)===a||8===l.nodeType&&l.parentNode===a))return;u=u.return;}for(;null!==i;){if(null===(u=ga(i)))return;if(5===(l=u.tag)||6===l){r=o=u;continue e}i=i.parentNode;}}r=r.return;}Ne((function(){var r=o,a=Se(n),u=[];e:{var i=Nr.get(e);if(void 0!==i){var l=sn,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=_n;break;case"focusin":c="focus",l=yn;break;case"focusout":c="blur",l=yn;break;case"beforeblur":case"afterblur":l=yn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=vn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Tn;break;case _r:case Pr:case Tr:l=mn;break;case Rr:l=Rn;break;case"scroll":l=dn;break;case"wheel":l=jn;break;case"copy":case"cut":case"paste":l=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Pn;}var s=0!=(4&t),f=!s&&"scroll"===e,d=s?null!==i?i+"Capture":null:i;s=[];for(var p,h=r;null!==h;){var v=(p=h).stateNode;if(5===p.tag&&null!==v&&(p=v,null!==d&&null!=(v=je(h,d))&&s.push(Kr(h,v,p))),f)break;h=h.return;}0<s.length&&(i=new l(i,c,null,n,a),u.push({event:i,listeners:s}));}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(i="mouseover"===e||"pointerover"===e)||n===we||!(c=n.relatedTarget||n.fromElement)||!ga(c)&&!c[ha])&&(l||i)&&(i=a.window===a?a:(i=a.ownerDocument)?i.defaultView||i.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?ga(c):null)&&(c!==(f=Ue(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(s=hn,v="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(s=Pn,v="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==l?i:wa(l),p=null==c?i:wa(c),(i=new s(v,h+"leave",l,n,a)).target=f,i.relatedTarget=p,v=null,ga(a)===r&&((s=new s(d,h+"enter",c,n,a)).target=p,s.relatedTarget=f,v=s),f=v,l&&c)e:{for(d=c,h=0,p=s=l;p;p=Br(p))h++;for(p=0,v=d;v;v=Br(v))p++;for(;0<h-p;)s=Br(s),h--;for(;0<p-h;)d=Br(d),p--;for(;h--;){if(s===d||null!==d&&s===d.alternate)break e;s=Br(s),d=Br(d);}s=null;}else s=null;null!==l&&Hr(u,i,l,s,!1),null!==c&&null!==f&&Hr(u,f,c,s,!0);}if("select"===(l=(i=r?wa(r):window).nodeName&&i.nodeName.toLowerCase())||"input"===l&&"file"===i.type)var y=Yn;else if(Vn(i))if(er)y=ur;else {y=ar;var m=rr;}else (l=i.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(y=or);switch(y&&(y=y(e,r))?Kn(u,y,n,a):(m&&m(e,i,r),"focusout"===e&&(m=i._wrapperState)&&m.controlled&&"number"===i.type&&ee(i,"number",i.value)),m=r?wa(r):window,e){case"focusin":(Vn(m)||"true"===m.contentEditable)&&(yr=m,mr=r,gr=null);break;case"focusout":gr=mr=yr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(u,n,a);break;case"selectionchange":if(vr)break;case"keydown":case"keyup":wr(u,n,a);}var g;if(Mn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0;}else Un?qn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Ln&&"ko"!==n.locale&&(Un||"onCompositionStart"!==b?"onCompositionEnd"===b&&Un&&(g=en()):(Gt="value"in(Jt=a)?Jt.value:Jt.textContent,Un=!0)),0<(m=Wr(r,b)).length&&(b=new wn(b,e,null,n,a),u.push({event:b,listeners:m}),(g||null!==(g=Qn(n)))&&(b.data=g))),(g=In?function(e,t){switch(e){case"compositionend":return Qn(t);case"keypress":return 32!==t.which?null:(Fn=!0,Dn);case"textInput":return (e=t.data)===Dn&&Fn?null:e;default:return null}}(e,n):function(e,t){if(Un)return "compositionend"===e||!Mn&&qn(e,t)?(e=en(),Zt=Gt=Jt=null,Un=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Ln&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=Wr(r,"onBeforeInput")).length&&(a=new wn("onBeforeInput","beforeinput",null,n,a),u.push({event:a,listeners:r}),a.data=g);}Dr(u,t);}));}function Kr(e,t,n){return {instance:e,listener:t,currentTarget:n}}function Wr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=je(e,n))&&r.unshift(Kr(e,o,a)),null!=(o=je(e,t))&&r.push(Kr(e,o,a))),e=e.return;}return r}function Br(e){if(null===e)return null;do{e=e.return;}while(e&&5!==e.tag);return e||null}function Hr(e,t,n,r,a){for(var o=t._reactName,u=[];null!==n&&n!==r;){var i=n,l=i.alternate,c=i.stateNode;if(null!==l&&l===r)break;5===i.tag&&null!==c&&(i=c,a?null!=(l=je(n,o))&&u.unshift(Kr(n,l,i)):a||null!=(l=je(n,o))&&u.push(Kr(n,l,i))),n=n.return;}0!==u.length&&e.push({event:t,listeners:u});}var Xr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function Jr(e){return ("string"==typeof e?e:""+e).replace(Xr,"\n").replace(Yr,"")}function Gr(e,t,n){if(t=Jr(t),Jr(e)!==t&&n)throw Error(r(425))}function Zr(){}var ea=null,ta=null;function na(e,t){return "textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ra="function"==typeof setTimeout?setTimeout:void 0,aa="function"==typeof clearTimeout?clearTimeout:void 0,oa="function"==typeof Promise?Promise:void 0,ua="function"==typeof queueMicrotask?queueMicrotask:void 0!==oa?function(e){return oa.resolve(null).then(e).catch(ia)}:ra;function ia(e){setTimeout((function(){throw e}));}function la(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0===r)return e.removeChild(a),void Ut(t);r--;}else "$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a;}while(n);Ut(t);}function ca(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function sa(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--;}else "/$"===n&&t++;}e=e.previousSibling;}return null}var fa=Math.random().toString(36).slice(2),da="__reactFiber$"+fa,pa="__reactProps$"+fa,ha="__reactContainer$"+fa,va="__reactEvents$"+fa,ya="__reactListeners$"+fa,ma="__reactHandles$"+fa;function ga(e){var t=e[da];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ha]||n[da]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=sa(e);null!==e;){if(n=e[da])return n;e=sa(e);}return t}n=(e=n).parentNode;}return null}function ba(e){return !(e=e[da]||e[ha])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(r(33))}function Sa(e){return e[pa]||null}var ka=[],xa=-1;function Ea(e){return {current:e}}function Ca(e){0>xa||(e.current=ka[xa],ka[xa]=null,xa--);}function Oa(e,t){xa++,ka[xa]=e.current,e.current=t;}var _a={},Pa=Ea(_a),Ta=Ea(!1),Ra=_a;function Na(e,t){var n=e.type.contextTypes;if(!n)return _a;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ja(e){return null!=e.childContextTypes}function za(){Ca(Ta),Ca(Pa);}function Ma(e,t,n){if(Pa.current!==_a)throw Error(r(168));Oa(Pa,t),Oa(Ta,n);}function Aa(e,t,n){var a=e.stateNode;if(t=t.childContextTypes,"function"!=typeof a.getChildContext)return n;for(var o in a=a.getChildContext())if(!(o in t))throw Error(r(108,$(e)||"Unknown",o));return L({},n,a)}function Ia(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||_a,Ra=Pa.current,Oa(Pa,e),Oa(Ta,Ta.current),!0}function La(e,t,n){var a=e.stateNode;if(!a)throw Error(r(169));n?(e=Aa(e,t,Ra),a.__reactInternalMemoizedMergedChildContext=e,Ca(Ta),Ca(Pa),Oa(Pa,e)):Ca(Ta),Oa(Ta,n);}var Da=null,Fa=!1,qa=!1;function Qa(e){null===Da?Da=[e]:Da.push(e);}function Ua(){if(!qa&&null!==Da){qa=!0;var e=0,t=Et;try{var n=Da;for(Et=1;e<n.length;e++){var r=n[e];do{r=r(!0);}while(null!==r)}Da=null,Fa=!1;}catch(t){throw null!==Da&&(Da=Da.slice(e+1)),Be(Ze,Ua),t}finally{Et=t,qa=!1;}}return null}var $a=g.ReactCurrentBatchConfig;function Va(e,t){if(e&&e.defaultProps){for(var n in t=L({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Ka=Ea(null),Wa=null,Ba=null,Ha=null;function Xa(){Ha=Ba=Wa=null;}function Ya(e){var t=Ka.current;Ca(Ka),e._currentValue=t;}function Ja(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return;}}function Ga(e,t){Wa=e,Ha=Ba=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Si=!0),e.firstContext=null);}function Za(e){var t=e._currentValue;if(Ha!==e)if(e={context:e,memoizedValue:t,next:null},null===Ba){if(null===Wa)throw Error(r(308));Ba=e,Wa.dependencies={lanes:0,firstContext:e};}else Ba=Ba.next=e;return t}var eo=null,to=!1;function no(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null};}function ro(e,t){t.updateQueue===(e=e.updateQueue)&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects});}function ao(e,t){return {eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function oo(e,t){var n=e.updateQueue;null!==n&&(n=n.shared,tc(e)?(null===(e=n.interleaved)?(t.next=t,null===eo?eo=[n]:eo.push(n)):(t.next=e.next,e.next=t),n.interleaved=t):(null===(e=n.pending)?t.next=t:(t.next=e.next,e.next=t),n.pending=t));}function uo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;t.lanes=n|=r&=e.pendingLanes,gt(e,n);}}function io(e,t){var n=e.updateQueue,r=e.alternate;if(null===r||n!==(r=r.updateQueue))null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t;else {var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var u={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=u:o=o.next=u,n=n.next;}while(null!==n);null===o?a=o=t:o=o.next=t;}else a=o=t;e.updateQueue=n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects};}}function lo(e,t,n,r){var a=e.updateQueue;to=!1;var o=a.firstBaseUpdate,u=a.lastBaseUpdate,i=a.shared.pending;if(null!==i){a.shared.pending=null;var l=i,c=l.next;l.next=null,null===u?o=c:u.next=c,u=l;var s=e.alternate;null!==s&&(i=(s=s.updateQueue).lastBaseUpdate)!==u&&(null===i?s.firstBaseUpdate=c:i.next=c,s.lastBaseUpdate=l);}if(null!==o){var f=a.baseState;for(u=0,s=c=l=null,i=o;;){var d=i.lane,p=i.eventTime;if((r&d)===d){null!==s&&(s=s.next={eventTime:p,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var h=e,v=i;switch(d=t,p=n,v.tag){case 1:if("function"==typeof(h=v.payload)){f=h.call(p,f,d);break e}f=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(d="function"==typeof(h=v.payload)?h.call(p,f,d):h))break e;f=L({},f,d);break e;case 2:to=!0;}}null!==i.callback&&0!==i.lane&&(e.flags|=64,null===(d=a.effects)?a.effects=[i]:d.push(i));}else p={eventTime:p,lane:d,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===s?(c=s=p,l=f):s=s.next=p,u|=d;if(null===(i=i.next)){if(null===(i=a.shared.pending))break;i=(d=i).next,d.next=null,a.lastBaseUpdate=d,a.shared.pending=null;}}if(null===s&&(l=f),a.baseState=l,a.firstBaseUpdate=c,a.lastBaseUpdate=s,null!==(t=a.shared.interleaved)){a=t;do{u|=a.lane,a=a.next;}while(a!==t)}else null===o&&(a.shared.lanes=0);zl|=u,e.lanes=u,e.memoizedState=f;}}function co(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var a=e[t],o=a.callback;if(null!==o){if(a.callback=null,a=n,"function"!=typeof o)throw Error(r(191,o));o.call(a);}}}var so=(new t.Component).refs;function fo(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:L({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n);}var po={isMounted:function(e){return !!(e=e._reactInternals)&&Ue(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Jl(),a=Gl(e),o=ao(r,a);o.payload=t,null!=n&&(o.callback=n),oo(e,o),null!==(t=Zl(e,a,r))&&uo(t,e,a);},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Jl(),a=Gl(e),o=ao(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),oo(e,o),null!==(t=Zl(e,a,r))&&uo(t,e,a);},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Jl(),r=Gl(e),a=ao(n,r);a.tag=2,null!=t&&(a.callback=t),oo(e,a),null!==(t=Zl(e,r,n))&&uo(t,e,r);}};function ho(e,t,n,r,a,o,u){return "function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,u):!(t.prototype&&t.prototype.isPureReactComponent&&lr(n,r)&&lr(a,o))}function vo(e,t,n){var r=!1,a=_a,o=t.contextType;return "object"==typeof o&&null!==o?o=Za(o):(a=ja(t)?Ra:Pa.current,o=(r=null!=(r=t.contextTypes))?Na(e,a):_a),t=new t(n,o),e.memoizedState=null!=t.state?t.state:null,t.updater=po,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function yo(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&&po.enqueueReplaceState(t,t.state,null);}function mo(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=so,no(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=Za(o):(o=ja(t)?Ra:Pa.current,a.context=Na(e,o)),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(fo(e,t,o,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&po.enqueueReplaceState(a,a.state,null),lo(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308);}var go=[],bo=0,wo=null,So=0,ko=[],xo=0,Eo=null,Co=1,Oo="";function _o(e,t){go[bo++]=So,go[bo++]=wo,wo=e,So=t;}function Po(e,t,n){ko[xo++]=Co,ko[xo++]=Oo,ko[xo++]=Eo,Eo=e;var r=Co;e=Oo;var a=32-ut(r)-1;r&=~(1<<a),n+=1;var o=32-ut(t)+a;if(30<o){var u=a-a%5;o=(r&(1<<u)-1).toString(32),r>>=u,a-=u,Co=1<<32-ut(t)+a|n<<a|r,Oo=o+e;}else Co=1<<o|n<<a|r,Oo=e;}function To(e){null!==e.return&&(_o(e,1),Po(e,1,0));}function Ro(e){for(;e===wo;)wo=go[--bo],go[bo]=null,So=go[--bo],go[bo]=null;for(;e===Eo;)Eo=ko[--xo],ko[xo]=null,Oo=ko[--xo],ko[xo]=null,Co=ko[--xo],ko[xo]=null;}var No=null,jo=null,zo=!1,Mo=null;function Ao(e,t){var n=Rc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n);}function Io(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,No=e,jo=ca(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,No=e,jo=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(e.memoizedState={dehydrated:t,treeContext:n=null!==Eo?{id:Co,overflow:Oo}:null,retryLane:1073741824},(n=Rc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,No=e,jo=null,!0);default:return !1}}function Lo(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function Do(e){if(zo){var t=jo;if(t){var n=t;if(!Io(e,t)){if(Lo(e))throw Error(r(418));t=ca(n.nextSibling);var a=No;t&&Io(e,t)?Ao(a,n):(e.flags=-4097&e.flags|2,zo=!1,No=e);}}else {if(Lo(e))throw Error(r(418));e.flags=-4097&e.flags|2,zo=!1,No=e;}}}function Fo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;No=e;}function qo(e){if(e!==No)return !1;if(!zo)return Fo(e),zo=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!na(e.type,e.memoizedProps)),t&&(t=jo)){if(Lo(e)){for(e=jo;e;)e=ca(e.nextSibling);throw Error(r(418))}for(;t;)Ao(e,t),t=ca(t.nextSibling);}if(Fo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(r(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){jo=ca(e.nextSibling);break e}t--;}else "$"!==n&&"$!"!==n&&"$?"!==n||t++;}e=e.nextSibling;}jo=null;}}else jo=No?ca(e.stateNode.nextSibling):null;return !0}function Qo(){jo=No=null,zo=!1;}function Uo(e){null===Mo?Mo=[e]:Mo.push(e);}function $o(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(r(309));var a=n.stateNode;}if(!a)throw Error(r(147,e));var o=a,u=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===u?t.ref:((t=function(e){var t=o.refs;t===so&&(t=o.refs={}),null===e?delete t[u]:t[u]=e;})._stringRef=u,t)}if("string"!=typeof e)throw Error(r(284));if(!n._owner)throw Error(r(290,e))}return e}function Vo(e,t){throw e=Object.prototype.toString.call(t),Error(r(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ko(e){return (0, e._init)(e._payload)}function Wo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n);}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function a(e,t){for(e=new Map;null!==t;)e.set(null!==t.key?t.key:t.index,t),t=t.sibling;return e}function o(e,t){return (e=jc(e,t)).index=0,e.sibling=null,e}function u(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function i(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Ic(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){var a=n.type;return a===S?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===j&&Ko(a)===t.type)?((r=o(t,n.props)).ref=$o(e,t,n),r.return=e,r):((r=zc(n.type,n.key,n.props,null,e.mode,r)).ref=$o(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=Lc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,a){return null===t||7!==t.tag?((t=Mc(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return (t=Ic(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case b:return (n=zc(t.type,t.key,t.props,null,e.mode,n)).ref=$o(e,null,t),n.return=e,n;case w:return (t=Lc(t,e.mode,n)).return=e,t;case j:return d(e,(0, t._init)(t._payload),n)}if(ne(t)||A(t))return (t=Mc(t,e.mode,n,null)).return=e,t;Vo(e,t);}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==a?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case b:return n.key===a?c(e,t,n,r):null;case w:return n.key===a?s(e,t,n,r):null;case j:return p(e,t,(a=n._init)(n._payload),r)}if(ne(n)||A(n))return null!==a?null:f(e,t,n,r,null);Vo(e,n);}return null}function h(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case b:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case w:return s(t,e=e.get(null===r.key?n:r.key)||null,r,a);case j:return h(e,t,n,(0, r._init)(r._payload),a)}if(ne(r)||A(r))return f(t,e=e.get(n)||null,r,a,null);Vo(t,r);}return null}return function l(c,s,f,v){if("object"==typeof f&&null!==f&&f.type===S&&null===f.key&&(f=f.props.children),"object"==typeof f&&null!==f){switch(f.$$typeof){case b:e:{for(var y=f.key,m=s;null!==m;){if(m.key===y){if((y=f.type)===S){if(7===m.tag){n(c,m.sibling),(s=o(m,f.props.children)).return=c,c=s;break e}}else if(m.elementType===y||"object"==typeof y&&null!==y&&y.$$typeof===j&&Ko(y)===m.type){n(c,m.sibling),(s=o(m,f.props)).ref=$o(c,m,f),s.return=c,c=s;break e}n(c,m);break}t(c,m),m=m.sibling;}f.type===S?((s=Mc(f.props.children,c.mode,v,f.key)).return=c,c=s):((v=zc(f.type,f.key,f.props,null,c.mode,v)).ref=$o(c,s,f),v.return=c,c=v);}return i(c);case w:e:{for(m=f.key;null!==s;){if(s.key===m){if(4===s.tag&&s.stateNode.containerInfo===f.containerInfo&&s.stateNode.implementation===f.implementation){n(c,s.sibling),(s=o(s,f.children||[])).return=c,c=s;break e}n(c,s);break}t(c,s),s=s.sibling;}(s=Lc(f,c.mode,v)).return=c,c=s;}return i(c);case j:return l(c,s,(m=f._init)(f._payload),v)}if(ne(f))return function(r,o,i,l){for(var c=null,s=null,f=o,v=o=0,y=null;null!==f&&v<i.length;v++){f.index>v?(y=f,f=null):y=f.sibling;var m=p(r,f,i[v],l);if(null===m){null===f&&(f=y);break}e&&f&&null===m.alternate&&t(r,f),o=u(m,o,v),null===s?c=m:s.sibling=m,s=m,f=y;}if(v===i.length)return n(r,f),zo&&_o(r,v),c;if(null===f){for(;v<i.length;v++)null!==(f=d(r,i[v],l))&&(o=u(f,o,v),null===s?c=f:s.sibling=f,s=f);return zo&&_o(r,v),c}for(f=a(r,f);v<i.length;v++)null!==(y=h(f,r,v,i[v],l))&&(e&&null!==y.alternate&&f.delete(null===y.key?v:y.key),o=u(y,o,v),null===s?c=y:s.sibling=y,s=y);return e&&f.forEach((function(e){return t(r,e)})),zo&&_o(r,v),c}(c,s,f,v);if(A(f))return function(o,i,l,c){var s=A(l);if("function"!=typeof s)throw Error(r(150));if(null==(l=s.call(l)))throw Error(r(151));for(var f=s=null,v=i,y=i=0,m=null,g=l.next();null!==v&&!g.done;y++,g=l.next()){v.index>y?(m=v,v=null):m=v.sibling;var b=p(o,v,g.value,c);if(null===b){null===v&&(v=m);break}e&&v&&null===b.alternate&&t(o,v),i=u(b,i,y),null===f?s=b:f.sibling=b,f=b,v=m;}if(g.done)return n(o,v),zo&&_o(o,y),s;if(null===v){for(;!g.done;y++,g=l.next())null!==(g=d(o,g.value,c))&&(i=u(g,i,y),null===f?s=g:f.sibling=g,f=g);return zo&&_o(o,y),s}for(v=a(o,v);!g.done;y++,g=l.next())null!==(g=h(v,o,y,g.value,c))&&(e&&null!==g.alternate&&v.delete(null===g.key?y:g.key),i=u(g,i,y),null===f?s=g:f.sibling=g,f=g);return e&&v.forEach((function(e){return t(o,e)})),zo&&_o(o,y),s}(c,s,f,v);Vo(c,f);}return "string"==typeof f&&""!==f||"number"==typeof f?(f=""+f,null!==s&&6===s.tag?(n(c,s.sibling),(s=o(s,f)).return=c,c=s):(n(c,s),(s=Ic(f,c.mode,v)).return=c,c=s),i(c)):n(c,s)}}var Bo=Wo(!0),Ho=Wo(!1),Xo={},Yo=Ea(Xo),Jo=Ea(Xo),Go=Ea(Xo);function Zo(e){if(e===Xo)throw Error(r(174));return e}function eu(e,t){switch(Oa(Go,t),Oa(Jo,e),Oa(Yo,Xo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ce(null,"");break;default:t=ce(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName);}Ca(Yo),Oa(Yo,t);}function tu(){Ca(Yo),Ca(Jo),Ca(Go);}function nu(e){Zo(Go.current);var t=Zo(Yo.current),n=ce(t,e.type);t!==n&&(Oa(Jo,e),Oa(Yo,n));}function ru(e){Jo.current===e&&(Ca(Yo),Ca(Jo));}var au=Ea(0);function ou(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return;}t.sibling.return=t.return,t=t.sibling;}return null}var uu=[];function iu(){for(var e=0;e<uu.length;e++)uu[e]._workInProgressVersionPrimary=null;uu.length=0;}var lu=g.ReactCurrentDispatcher,cu=g.ReactCurrentBatchConfig,su=0,fu=null,du=null,pu=null,hu=!1,vu=!1,yu=0,mu=0;function gu(){throw Error(r(321))}function bu(e,t){if(null===t)return !1;for(var n=0;n<t.length&&n<e.length;n++)if(!ir(e[n],t[n]))return !1;return !0}function wu(e,t,n,a,o,u){if(su=u,fu=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,lu.current=null===e||null===e.memoizedState?ri:ai,e=n(a,o),vu){u=0;do{if(vu=!1,yu=0,25<=u)throw Error(r(301));u+=1,pu=du=null,t.updateQueue=null,lu.current=oi,e=n(a,o);}while(vu)}if(lu.current=ni,t=null!==du&&null!==du.next,su=0,pu=du=fu=null,hu=!1,t)throw Error(r(300));return e}function Su(){var e=0!==yu;return yu=0,e}function ku(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===pu?fu.memoizedState=pu=e:pu=pu.next=e,pu}function xu(){if(null===du){var e=fu.alternate;e=null!==e?e.memoizedState:null;}else e=du.next;var t=null===pu?fu.memoizedState:pu.next;if(null!==t)pu=t,du=e;else {if(null===e)throw Error(r(310));e={memoizedState:(du=e).memoizedState,baseState:du.baseState,baseQueue:du.baseQueue,queue:du.queue,next:null},null===pu?fu.memoizedState=pu=e:pu=pu.next=e;}return pu}function Eu(e,t){return "function"==typeof t?t(e):t}function Cu(e){var t=xu(),n=t.queue;if(null===n)throw Error(r(311));n.lastRenderedReducer=e;var a=du,o=a.baseQueue,u=n.pending;if(null!==u){if(null!==o){var i=o.next;o.next=u.next,u.next=i;}a.baseQueue=o=u,n.pending=null;}if(null!==o){a=a.baseState;var l=i=null,c=null,s=u=o.next;do{var f=s.lane;if((su&f)===f)null!==c&&(c=c.next={lane:0,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),a=s.hasEagerState?s.eagerState:e(a,s.action);else {var d={lane:f,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};null===c?(l=c=d,i=a):c=c.next=d,fu.lanes|=f,zl|=f;}s=s.next;}while(null!==s&&s!==u);null===c?i=a:c.next=l,ir(a,t.memoizedState)||(Si=!0),t.memoizedState=a,t.baseState=i,t.baseQueue=c,n.lastRenderedState=a;}if(null!==(e=n.interleaved)){o=e;do{fu.lanes|=u=o.lane,zl|=u,o=o.next;}while(o!==e)}else null===o&&(n.lanes=0);return [t.memoizedState,n.dispatch]}function Ou(e){var t=xu(),n=t.queue;if(null===n)throw Error(r(311));n.lastRenderedReducer=e;var a=n.dispatch,o=n.pending,u=t.memoizedState;if(null!==o){n.pending=null;var i=o=o.next;do{u=e(u,i.action),i=i.next;}while(i!==o);ir(u,t.memoizedState)||(Si=!0),t.memoizedState=u,null===t.baseQueue&&(t.baseState=u),n.lastRenderedState=u;}return [u,a]}function _u(){}function Pu(e,t){var n=fu,a=xu(),o=t(),u=!ir(a.memoizedState,o);if(u&&(a.memoizedState=o,Si=!0),Fu(Nu.bind(null,n,a=a.queue,e),[e]),a.getSnapshot!==t||u||null!==pu&&1&pu.memoizedState.tag){if(n.flags|=2048,Mu(9,Ru.bind(null,n,a,o,t),void 0,null),null===Ol)throw Error(r(349));0!=(30&su)||Tu(n,t,o);}return o}function Tu(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=fu.updateQueue)?(fu.updateQueue=t={lastEffect:null,stores:null},t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e);}function Ru(e,t,n,r){t.value=n,t.getSnapshot=r,ju(t)&&Zl(e,1,-1);}function Nu(e,t,n){return n((function(){ju(t)&&Zl(e,1,-1);}))}function ju(e){var t=e.getSnapshot;e=e.value;try{var n=t();return !ir(e,n)}catch(e){return !0}}function zu(e){var t=ku();return "function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,t.queue=e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Eu,lastRenderedState:e},e=e.dispatch=Ju.bind(null,fu,e),[t.memoizedState,e]}function Mu(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=fu.updateQueue)?(fu.updateQueue=t={lastEffect:null,stores:null},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 Au(){return xu().memoizedState}function Iu(e,t,n,r){var a=ku();fu.flags|=e,a.memoizedState=Mu(1|t,n,void 0,void 0===r?null:r);}function Lu(e,t,n,r){var a=xu();r=void 0===r?null:r;var o=void 0;if(null!==du){var u=du.memoizedState;if(o=u.destroy,null!==r&&bu(r,u.deps))return void(a.memoizedState=Mu(t,n,o,r))}fu.flags|=e,a.memoizedState=Mu(1|t,n,o,r);}function Du(e,t){return Iu(8390656,8,e,t)}function Fu(e,t){return Lu(2048,8,e,t)}function qu(e,t){return Lu(4,2,e,t)}function Qu(e,t){return Lu(4,4,e,t)}function Uu(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 $u(e,t,n){return n=null!=n?n.concat([e]):null,Lu(4,4,Uu.bind(null,t,e),n)}function Vu(){}function Ku(e,t){var n=xu();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&bu(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Wu(e,t){var n=xu();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&bu(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Bu(e,t,n){return 0==(21&su)?(e.baseState&&(e.baseState=!1,Si=!0),e.memoizedState=n):(ir(n,t)||(n=vt(),fu.lanes|=n,zl|=n,e.baseState=!0),t)}function Hu(e,t){var n=Et;Et=0!==n&&4>n?n:4,e(!0);var r=cu.transition;cu.transition={};try{e(!1),t();}finally{Et=n,cu.transition=r;}}function Xu(){return xu().memoizedState}function Yu(e,t,n){var r=Gl(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Gu(e)?Zu(t,n):(ei(e,t,n),null!==(e=Zl(e,r,n=Jl()))&&ti(e,t,r));}function Ju(e,t,n){var r=Gl(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Gu(e))Zu(t,a);else {ei(e,t,a);var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var u=t.lastRenderedState,i=o(u,n);if(a.hasEagerState=!0,a.eagerState=i,ir(i,u))return}catch(e){}null!==(e=Zl(e,r,n=Jl()))&&ti(e,t,r);}}function Gu(e){var t=e.alternate;return e===fu||null!==t&&t===fu}function Zu(e,t){vu=hu=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t;}function ei(e,t,n){tc(e)?(null===(e=t.interleaved)?(n.next=n,null===eo?eo=[t]:eo.push(t)):(n.next=e.next,e.next=n),t.interleaved=n):(null===(e=t.pending)?n.next=n:(n.next=e.next,e.next=n),t.pending=n);}function ti(e,t,n){if(0!=(4194240&n)){var r=t.lanes;t.lanes=n|=r&=e.pendingLanes,gt(e,n);}}var ni={readContext:Za,useCallback:gu,useContext:gu,useEffect:gu,useImperativeHandle:gu,useInsertionEffect:gu,useLayoutEffect:gu,useMemo:gu,useReducer:gu,useRef:gu,useState:gu,useDebugValue:gu,useDeferredValue:gu,useTransition:gu,useMutableSource:gu,useSyncExternalStore:gu,useId:gu,unstable_isNewReconciler:!1},ri={readContext:Za,useCallback:function(e,t){return ku().memoizedState=[e,void 0===t?null:t],e},useContext:Za,useEffect:Du,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Iu(4194308,4,Uu.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Iu(4194308,4,e,t)},useInsertionEffect:function(e,t){return Iu(4,2,e,t)},useMemo:function(e,t){var n=ku();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ku();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,r.queue=e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=Yu.bind(null,fu,e),[r.memoizedState,e]},useRef:function(e){return ku().memoizedState={current:e}},useState:zu,useDebugValue:Vu,useDeferredValue:function(e){return ku().memoizedState=e},useTransition:function(){var e=zu(!1),t=e[0];return e=Hu.bind(null,e[1]),ku().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var a=fu,o=ku();if(zo){if(void 0===n)throw Error(r(407));n=n();}else {if(n=t(),null===Ol)throw Error(r(349));0!=(30&su)||Tu(a,t,n);}o.memoizedState=n;var u={value:n,getSnapshot:t};return o.queue=u,Du(Nu.bind(null,a,u,e),[e]),a.flags|=2048,Mu(9,Ru.bind(null,a,u,n,t),void 0,null),n},useId:function(){var e=ku(),t=Ol.identifierPrefix;if(zo){var n=Oo;t=":"+t+"R"+(n=(Co&~(1<<32-ut(Co)-1)).toString(32)+n),0<(n=yu++)&&(t+="H"+n.toString(32)),t+=":";}else t=":"+t+"r"+(n=mu++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ai={readContext:Za,useCallback:Ku,useContext:Za,useEffect:Fu,useImperativeHandle:$u,useInsertionEffect:qu,useLayoutEffect:Qu,useMemo:Wu,useReducer:Cu,useRef:Au,useState:function(){return Cu(Eu)},useDebugValue:Vu,useDeferredValue:function(e){return Bu(xu(),du.memoizedState,e)},useTransition:function(){return [Cu(Eu)[0],xu().memoizedState]},useMutableSource:_u,useSyncExternalStore:Pu,useId:Xu,unstable_isNewReconciler:!1},oi={readContext:Za,useCallback:Ku,useContext:Za,useEffect:Fu,useImperativeHandle:$u,useInsertionEffect:qu,useLayoutEffect:Qu,useMemo:Wu,useReducer:Ou,useRef:Au,useState:function(){return Ou(Eu)},useDebugValue:Vu,useDeferredValue:function(e){var t=xu();return null===du?t.memoizedState=e:Bu(t,du.memoizedState,e)},useTransition:function(){return [Ou(Eu)[0],xu().memoizedState]},useMutableSource:_u,useSyncExternalStore:Pu,useId:Xu,unstable_isNewReconciler:!1};function ui(e,t){try{var n="",r=t;do{n+=Q(r),r=r.return;}while(r);var a=n;}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack;}return {value:e,source:t,stack:a}}function ii(e,t){try{console.error(t.value);}catch(e){setTimeout((function(){throw e}));}}var li,ci,si,fi="function"==typeof WeakMap?WeakMap:Map;function di(e,t,n){(n=ao(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ql||(Ql=!0,Ul=r),ii(0,t);},n}function pi(e,t,n){(n=ao(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){ii(0,t);};}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){ii(0,t),"function"!=typeof r&&(null===$l?$l=new Set([this]):$l.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""});}),n}function hi(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fi;var a=new Set;r.set(t,a);}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=Ec.bind(null,e,t,n),t.then(e,e));}function vi(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return;}while(null!==e);return null}function yi(e,t,n,r,a){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=ao(-1,1)).tag=2,oo(n,t))),n.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}function mi(e,t){if(!zo)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 gi(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function bi(e,t,n){var a=t.pendingProps;switch(Ro(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return gi(t),null;case 1:case 17:return ja(t.type)&&za(),gi(t),null;case 3:return a=t.stateNode,tu(),Ca(Ta),Ca(Pa),iu(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),null!==e&&null!==e.child||(qo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==Mo&&(oc(Mo),Mo=null))),gi(t),null;case 5:ru(t);var u=Zo(Go.current);if(n=t.type,null!==e&&null!=t.stateNode)ci(e,t,n,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else {if(!a){if(null===t.stateNode)throw Error(r(166));return gi(t),null}if(e=Zo(Yo.current),qo(t)){n=t.type;var i=t.memoizedProps;switch((a=t.stateNode)[da]=t,a[pa]=i,e=0!=(1&t.mode),n){case"dialog":Fr("cancel",a),Fr("close",a);break;case"iframe":case"object":case"embed":Fr("load",a);break;case"video":case"audio":for(u=0;u<Ar.length;u++)Fr(Ar[u],a);break;case"source":Fr("error",a);break;case"img":case"image":case"link":Fr("error",a),Fr("load",a);break;case"details":Fr("toggle",a);break;case"input":Y(a,i),Fr("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!i.multiple},Fr("invalid",a);break;case"textarea":oe(a,i),Fr("invalid",a);}for(var l in ge(n,i),u=null,i)if(i.hasOwnProperty(l)){var c=i[l];"children"===l?"string"==typeof c?a.textContent!==c&&(!0!==i.suppressHydrationWarning&&Gr(a.textContent,c,e),u=["children",c]):"number"==typeof c&&a.textContent!==""+c&&(!0!==i.suppressHydrationWarning&&Gr(a.textContent,c,e),u=["children",""+c]):o.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Fr("scroll",a);}switch(n){case"input":W(a),Z(a,i,!0);break;case"textarea":W(a),ie(a);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(a.onclick=Zr);}t.updateQueue=a=u,null!==a&&(t.flags|=4);}else {l=9===u.nodeType?u:u.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof a.is?e=l.createElement(n,{is:a.is}):(e=l.createElement(n),"select"===n&&(l=e,a.multiple?l.multiple=!0:a.size&&(l.size=a.size))):e=l.createElementNS(e,n),e[da]=t,e[pa]=a,li(e,t),t.stateNode=e;e:{switch(l=be(n,a),n){case"dialog":Fr("cancel",e),Fr("close",e),u=a;break;case"iframe":case"object":case"embed":Fr("load",e),u=a;break;case"video":case"audio":for(u=0;u<Ar.length;u++)Fr(Ar[u],e);u=a;break;case"source":Fr("error",e),u=a;break;case"img":case"image":case"link":Fr("error",e),Fr("load",e),u=a;break;case"details":Fr("toggle",e),u=a;break;case"input":Y(e,a),u=X(e,a),Fr("invalid",e);break;case"option":default:u=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},u=L({},a,{value:void 0}),Fr("invalid",e);break;case"textarea":oe(e,a),u=ae(e,a),Fr("invalid",e);}for(i in ge(n,u),c=u)if(c.hasOwnProperty(i)){var s=c[i];"style"===i?ye(e,s):"dangerouslySetInnerHTML"===i?null!=(s=s?s.__html:void 0)&&fe(e,s):"children"===i?"string"==typeof s?("textarea"!==n||""!==s)&&de(e,s):"number"==typeof s&&de(e,""+s):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(o.hasOwnProperty(i)?null!=s&&"onScroll"===i&&Fr("scroll",e):null!=s&&m(e,i,s,l));}switch(n){case"input":W(e),Z(e,a,!1);break;case"textarea":W(e),ie(e);break;case"option":null!=a.value&&e.setAttribute("value",""+V(a.value));break;case"select":e.multiple=!!a.multiple,null!=(i=a.value)?re(e,!!a.multiple,i,!1):null!=a.defaultValue&&re(e,!!a.multiple,a.defaultValue,!0);break;default:"function"==typeof u.onClick&&(e.onclick=Zr);}switch(n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1;}}a&&(t.flags|=4);}null!==t.ref&&(t.flags|=512,t.flags|=2097152);}return gi(t),null;case 6:if(e&&null!=t.stateNode)si(0,t,e.memoizedProps,a);else {if("string"!=typeof a&&null===t.stateNode)throw Error(r(166));if(n=Zo(Go.current),Zo(Yo.current),qo(t)){if(n=t.memoizedProps,(a=t.stateNode)[da]=t,(i=a.nodeValue!==n)&&null!==(e=No))switch(e.tag){case 3:Gr(a.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Gr(a.nodeValue,n,0!=(1&e.mode));}i&&(t.flags|=4);}else (a=(9===n.nodeType?n:n.ownerDocument).createTextNode(a))[da]=t,t.stateNode=a;}return gi(t),null;case 13:if(Ca(au),a=t.memoizedState,zo&&null!==jo&&0!=(1&t.mode)&&0==(128&t.flags)){for(a=jo;a;)a=ca(a.nextSibling);return Qo(),t.flags|=98560,t}if(null!==a&&null!==a.dehydrated){if(a=qo(t),null===e){if(!a)throw Error(r(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(r(317));a[da]=t;}else Qo(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;return gi(t),null}return null!==Mo&&(oc(Mo),Mo=null),0!=(128&t.flags)?(t.lanes=n,t):(a=null!==a,n=!1,null===e?qo(t):n=null!==e.memoizedState,a!==n&&a&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&au.current)?0===Nl&&(Nl=3):hc())),null!==t.updateQueue&&(t.flags|=4),gi(t),null);case 4:return tu(),null===e&&Ur(t.stateNode.containerInfo),gi(t),null;case 10:return Ya(t.type._context),gi(t),null;case 19:if(Ca(au),null===(i=t.memoizedState))return gi(t),null;if(a=0!=(128&t.flags),null===(l=i.rendering))if(a)mi(i,!1);else {if(0!==Nl||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=ou(e))){for(t.flags|=128,mi(i,!1),null!==(a=l.updateQueue)&&(t.updateQueue=a,t.flags|=4),t.subtreeFlags=0,a=n,n=t.child;null!==n;)e=a,(i=n).flags&=14680066,null===(l=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,i.type=l.type,i.dependencies=null===(e=l.dependencies)?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Oa(au,1&au.current|2),t.child}e=e.sibling;}null!==i.tail&&Je()>Fl&&(t.flags|=128,a=!0,mi(i,!1),t.lanes=4194304);}else {if(!a)if(null!==(e=ou(l))){if(t.flags|=128,a=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),mi(i,!0),null===i.tail&&"hidden"===i.tailMode&&!l.alternate&&!zo)return gi(t),null}else 2*Je()-i.renderingStartTime>Fl&&1073741824!==n&&(t.flags|=128,a=!0,mi(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=i.last)?n.sibling=l:t.child=l,i.last=l);}return null!==i.tail?(i.rendering=t=i.tail,i.tail=t.sibling,i.renderingStartTime=Je(),t.sibling=null,n=au.current,Oa(au,a?1&n|2:1&n),t):(gi(t),null);case 22:case 23:return sc(),a=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==a&&(t.flags|=8192),a&&0!=(1&t.mode)?0!=(1073741824&Tl)&&(gi(t),6&t.subtreeFlags&&(t.flags|=8192)):gi(t),null;case 24:case 25:return null}throw Error(r(156,t.tag))}li=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;}},ci=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,Zo(Yo.current);var u,i=null;switch(n){case"input":a=X(e,a),r=X(e,r),i=[];break;case"select":a=L({},a,{value:void 0}),r=L({},r,{value:void 0}),i=[];break;case"textarea":a=ae(e,a),r=ae(e,r),i=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=Zr);}for(s in ge(n,r),n=null,a)if(!r.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if("style"===s){var l=a[s];for(u in l)l.hasOwnProperty(u)&&(n||(n={}),n[u]="");}else "dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(o.hasOwnProperty(s)?i||(i=[]):(i=i||[]).push(s,null));for(s in r){var c=r[s];if(l=null!=a?a[s]:void 0,r.hasOwnProperty(s)&&c!==l&&(null!=c||null!=l))if("style"===s)if(l){for(u in l)!l.hasOwnProperty(u)||c&&c.hasOwnProperty(u)||(n||(n={}),n[u]="");for(u in c)c.hasOwnProperty(u)&&l[u]!==c[u]&&(n||(n={}),n[u]=c[u]);}else n||(i||(i=[]),i.push(s,n)),n=c;else "dangerouslySetInnerHTML"===s?(l=l?l.__html:void 0,null!=(c=c?c.__html:void 0)&&l!==c&&(i=i||[]).push(s,c)):"children"===s?"string"!=typeof c&&"number"!=typeof c||(i=i||[]).push(s,""+c):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(o.hasOwnProperty(s)?(null!=c&&"onScroll"===s&&Fr("scroll",e),i||l===c||(i=[])):(i=i||[]).push(s,c));}n&&(i=i||[]).push("style",n);var s=i;(t.updateQueue=s)&&(t.flags|=4);}},si=function(e,t,n,r){n!==r&&(t.flags|=4);};var wi=g.ReactCurrentOwner,Si=!1;function ki(e,t,n,r){t.child=null===e?Ho(t,null,n,r):Bo(t,e.child,n,r);}function xi(e,t,n,r,a){n=n.render;var o=t.ref;return Ga(t,a),r=wu(e,t,n,r,o,a),n=Su(),null===e||Si?(zo&&n&&To(t),t.flags|=1,ki(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Vi(e,t,a))}function Ei(e,t,n,r,a){if(null===e){var o=n.type;return "function"!=typeof o||Nc(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=zc(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Ci(e,t,o,r,a))}return o=e.child,0==(e.lanes&a)&&(n=null!==(n=n.compare)?n:lr)(o.memoizedProps,r)&&e.ref===t.ref?Vi(e,t,a):(t.flags|=1,(e=jc(o,r)).ref=t.ref,e.return=t,t.child=e)}function Ci(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(lr(o,r)&&e.ref===t.ref){if(Si=!1,t.pendingProps=r=o,0==(e.lanes&a))return t.lanes=e.lanes,Vi(e,t,a);0!=(131072&e.flags)&&(Si=!0);}}return Pi(e,t,n,r,a)}function Oi(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Oa(Rl,Tl),Tl|=n;else {if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Oa(Rl,Tl),Tl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Oa(Rl,Tl),Tl|=r;}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Oa(Rl,Tl),Tl|=r;return ki(e,t,a,n),t.child}function _i(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152);}function Pi(e,t,n,r,a){var o=ja(n)?Ra:Pa.current;return o=Na(t,o),Ga(t,a),n=wu(e,t,n,r,o,a),r=Su(),null===e||Si?(zo&&r&&To(t),t.flags|=1,ki(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Vi(e,t,a))}function Ti(e,t,n,r,a){if(ja(n)){var o=!0;Ia(t);}else o=!1;if(Ga(t,a),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),vo(t,n,r),mo(t,n,r,a),r=!0;else if(null===e){var u=t.stateNode,i=t.memoizedProps;u.props=i;var l=u.context,c=n.contextType;c="object"==typeof c&&null!==c?Za(c):Na(t,c=ja(n)?Ra:Pa.current);var s=n.getDerivedStateFromProps,f="function"==typeof s||"function"==typeof u.getSnapshotBeforeUpdate;f||"function"!=typeof u.UNSAFE_componentWillReceiveProps&&"function"!=typeof u.componentWillReceiveProps||(i!==r||l!==c)&&yo(t,u,r,c),to=!1;var d=t.memoizedState;u.state=d,lo(t,r,u,a),l=t.memoizedState,i!==r||d!==l||Ta.current||to?("function"==typeof s&&(fo(t,n,s,r),l=t.memoizedState),(i=to||ho(t,n,i,r,d,l,c))?(f||"function"!=typeof u.UNSAFE_componentWillMount&&"function"!=typeof u.componentWillMount||("function"==typeof u.componentWillMount&&u.componentWillMount(),"function"==typeof u.UNSAFE_componentWillMount&&u.UNSAFE_componentWillMount()),"function"==typeof u.componentDidMount&&(t.flags|=4194308)):("function"==typeof u.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),u.props=r,u.state=l,u.context=c,r=i):("function"==typeof u.componentDidMount&&(t.flags|=4194308),r=!1);}else {u=t.stateNode,ro(e,t),i=t.memoizedProps,c=t.type===t.elementType?i:Va(t.type,i),u.props=c,f=t.pendingProps,d=u.context,l="object"==typeof(l=n.contextType)&&null!==l?Za(l):Na(t,l=ja(n)?Ra:Pa.current);var p=n.getDerivedStateFromProps;(s="function"==typeof p||"function"==typeof u.getSnapshotBeforeUpdate)||"function"!=typeof u.UNSAFE_componentWillReceiveProps&&"function"!=typeof u.componentWillReceiveProps||(i!==f||d!==l)&&yo(t,u,r,l),to=!1,u.state=d=t.memoizedState,lo(t,r,u,a);var h=t.memoizedState;i!==f||d!==h||Ta.current||to?("function"==typeof p&&(fo(t,n,p,r),h=t.memoizedState),(c=to||ho(t,n,c,r,d,h,l)||!1)?(s||"function"!=typeof u.UNSAFE_componentWillUpdate&&"function"!=typeof u.componentWillUpdate||("function"==typeof u.componentWillUpdate&&u.componentWillUpdate(r,h,l),"function"==typeof u.UNSAFE_componentWillUpdate&&u.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof u.componentDidUpdate&&(t.flags|=4),"function"==typeof u.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof u.componentDidUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof u.getSnapshotBeforeUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),u.props=r,u.state=h,u.context=l,r=c):("function"!=typeof u.componentDidUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof u.getSnapshotBeforeUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1);}return Ri(e,t,n,r,o,a)}function Ri(e,t,n,r,a,o){_i(e,t);var u=0!=(128&t.flags);if(!r&&!u)return a&&La(t,n,!1),Vi(e,t,o);r=t.stateNode,wi.current=t;var i=u&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&u?(t.child=Bo(t,e.child,null,o),t.child=Bo(t,null,i,o)):ki(e,t,i,o),t.memoizedState=r.state,a&&La(t,n,!0),t.child}function Ni(e){var t=e.stateNode;t.pendingContext?Ma(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ma(0,t.context,!1),eu(e,t.containerInfo);}function ji(e,t,n,r,a){return Qo(),Uo(a),t.flags|=256,ki(e,t,n,r),t.child}var zi={dehydrated:null,treeContext:null,retryLane:0};function Mi(e){return {baseLanes:e,cachePool:null,transitions:null}}function Ai(e,t){return {baseLanes:e.baseLanes|t,cachePool:null,transitions:e.transitions}}function Ii(e,t,n){var a,o=t.pendingProps,u=au.current,i=!1,l=0!=(128&t.flags);if((a=l)||(a=(null===e||null!==e.memoizedState)&&0!=(2&u)),a?(i=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(u|=1),Oa(au,1&u),null===e)return Do(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(t.lanes=0==(1&t.mode)?1:"$!"===e.data?8:1073741824,null):(u=o.children,e=o.fallback,i?(i=t.child,u={mode:"hidden",children:u},0==(1&(o=t.mode))&&null!==i?(i.childLanes=0,i.pendingProps=u):i=Ac(u,o,0,null),e=Mc(e,o,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Mi(n),t.memoizedState=zi,e):Li(t,u));if(null!==(u=e.memoizedState)){if(null!==(a=u.dehydrated)){if(l)return 256&t.flags?(t.flags&=-257,qi(e,t,n,Error(r(422)))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=o.fallback,o=Ac({mode:"visible",children:o.children},u=t.mode,0,null),(i=Mc(i,u,n,null)).flags|=2,o.return=t,i.return=t,o.sibling=i,t.child=o,0!=(1&t.mode)&&Bo(t,e.child,null,n),t.child.memoizedState=Mi(n),t.memoizedState=zi,i);if(0==(1&t.mode))t=qi(e,t,n,null);else if("$!"===a.data)t=qi(e,t,n,Error(r(419)));else if(o=0!=(n&e.childLanes),Si||o){if(null!==(o=Ol)){switch(n&-n){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0;}0!==(o=0!=(i&(o.suspendedLanes|n))?0:i)&&o!==u.retryLane&&(u.retryLane=o,Zl(e,o,-1));}hc(),t=qi(e,t,n,Error(r(421)));}else "$?"===a.data?(t.flags|=128,t.child=e.child,t=Oc.bind(null,e),a._reactRetry=t,t=null):(n=u.treeContext,jo=ca(a.nextSibling),No=t,zo=!0,Mo=null,null!==n&&(ko[xo++]=Co,ko[xo++]=Oo,ko[xo++]=Eo,Co=n.id,Oo=n.overflow,Eo=t),(t=Li(t,t.pendingProps.children)).flags|=4096);return t}return i?(o=Fi(e,t,o.children,o.fallback,n),(i=t.child).memoizedState=null===(u=e.child.memoizedState)?Mi(n):Ai(u,n),i.childLanes=e.childLanes&~n,t.memoizedState=zi,o):(n=Di(e,t,o.children,n),t.memoizedState=null,n)}return i?(o=Fi(e,t,o.children,o.fallback,n),(i=t.child).memoizedState=null===(u=e.child.memoizedState)?Mi(n):Ai(u,n),i.childLanes=e.childLanes&~n,t.memoizedState=zi,o):(n=Di(e,t,o.children,n),t.memoizedState=null,n)}function Li(e,t){return (t=Ac({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Di(e,t,n,r){var a=e.child;return e=a.sibling,n=jc(a,{mode:"visible",children:n}),0==(1&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n}function Fi(e,t,n,r,a){var o=t.mode,u=(e=e.child).sibling,i={mode:"hidden",children:n};return 0==(1&o)&&t.child!==e?((n=t.child).childLanes=0,n.pendingProps=i,t.deletions=null):(n=jc(e,i)).subtreeFlags=14680064&e.subtreeFlags,null!==u?r=jc(u,r):(r=Mc(r,o,a,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function qi(e,t,n,r){return null!==r&&Uo(r),Bo(t,e.child,null,n),(e=Li(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Qi(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ja(e.return,t,n);}function Ui(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a);}function $i(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(ki(e,t,r.children,n),0!=(2&(r=au.current)))r=1&r|2,t.flags|=128;else {if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Qi(e,n,t);else if(19===e.tag)Qi(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return;}e.sibling.return=e.return,e=e.sibling;}r&=1;}if(Oa(au,r),0==(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===ou(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Ui(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===ou(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e;}Ui(t,!0,n,null,o);break;case"together":Ui(t,!1,null,null,void 0);break;default:t.memoizedState=null;}return t.child}function Vi(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),zl|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(r(153));if(null!==t.child){for(n=jc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)(n=n.sibling=jc(e=e.sibling,e.pendingProps)).return=t;n.sibling=null;}return t.child}function Ki(e,t){switch(Ro(t),t.tag){case 1:return ja(t.type)&&za(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return tu(),Ca(Ta),Ca(Pa),iu(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ru(t),null;case 13:if(Ca(au),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(r(340));Qo();}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ca(au),null;case 4:return tu(),null;case 10:return Ya(t.type._context),null;case 22:case 23:return sc(),null;default:return null}}var Wi=!1,Bi=!1,Hi="function"==typeof WeakSet?WeakSet:Set,Xi=null;function Yi(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null);}catch(n){xc(e,t,n);}else n.current=null;}function Ji(e,t,n){try{n();}catch(n){xc(e,t,n);}}var Gi=!1;function Zi(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&Ji(t,n,o);}a=a.next;}while(a!==r)}}function el(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{(n.tag&e)===e&&(n.destroy=(0, n.create)()),n=n.next;}while(n!==t)}}function tl(e){var t=e.ref;null!==t&&(e=e.stateNode,"function"==typeof t?t(e):t.current=e);}function nl(e){var t=e.alternate;null!==t&&(e.alternate=null,nl(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[da],delete t[pa],delete t[va],delete t[ya],delete t[ma]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null;}function rl(e){return 5===e.tag||3===e.tag||4===e.tag}function al(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||rl(e.return))return null;e=e.return;}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child;}if(!(2&e.flags))return e.stateNode}}function ol(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Zr));else if(4!==r&&null!==(e=e.child))for(ol(e,t,n),e=e.sibling;null!==e;)ol(e,t,n),e=e.sibling;}function ul(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ul(e,t,n),e=e.sibling;null!==e;)ul(e,t,n),e=e.sibling;}var il=null,ll=!1;function cl(e,t,n){for(n=n.child;null!==n;)sl(e,t,n),n=n.sibling;}function sl(e,t,n){if(ot&&"function"==typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(at,n);}catch(e){}switch(n.tag){case 5:Bi||Yi(n,t);case 6:var r=il,a=ll;il=null,cl(e,t,n),ll=a,null!==(il=r)&&(ll?(n=n.stateNode,8===(e=il).nodeType?e.parentNode.removeChild(n):e.removeChild(n)):il.removeChild(n.stateNode));break;case 18:null!==il&&(ll?(n=n.stateNode,8===(e=il).nodeType?la(e.parentNode,n):1===e.nodeType&&la(e,n),Ut(e)):la(il,n.stateNode));break;case 4:r=il,a=ll,il=n.stateNode.containerInfo,ll=!0,cl(e,t,n),il=r,ll=a;break;case 0:case 11:case 14:case 15:if(!Bi&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){a=r=r.next;do{var o=a,u=o.destroy;o=o.tag,void 0!==u&&(0!=(2&o)||0!=(4&o))&&Ji(n,t,u),a=a.next;}while(a!==r)}cl(e,t,n);break;case 1:if(!Bi&&(Yi(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount();}catch(e){xc(n,t,e);}cl(e,t,n);break;case 21:cl(e,t,n);break;case 22:1&n.mode?(Bi=(r=Bi)||null!==n.memoizedState,cl(e,t,n),Bi=r):cl(e,t,n);break;default:cl(e,t,n);}}function fl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Hi),t.forEach((function(t){var r=_c.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r));}));}}function dl(e,t){var n=t.deletions;if(null!==n)for(var a=0;a<n.length;a++){var o=n[a];try{var u=e,i=t,l=i;e:for(;null!==l;){switch(l.tag){case 5:il=l.stateNode,ll=!1;break e;case 3:case 4:il=l.stateNode.containerInfo,ll=!0;break e}l=l.return;}if(null===il)throw Error(r(160));sl(u,i,o),il=null,ll=!1;var c=o.alternate;null!==c&&(c.return=null),o.return=null;}catch(e){xc(o,t,e);}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)pl(t,e),t=t.sibling;}function pl(e,t){var n=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(dl(t,e),hl(e),4&a){try{Zi(3,e,e.return),el(3,e);}catch(t){xc(e,e.return,t);}try{Zi(5,e,e.return);}catch(t){xc(e,e.return,t);}}break;case 1:dl(t,e),hl(e),512&a&&null!==n&&Yi(n,n.return);break;case 5:if(dl(t,e),hl(e),512&a&&null!==n&&Yi(n,n.return),32&e.flags){var o=e.stateNode;try{de(o,"");}catch(t){xc(e,e.return,t);}}if(4&a&&null!=(o=e.stateNode)){var u=e.memoizedProps,i=null!==n?n.memoizedProps:u,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===u.type&&null!=u.name&&J(o,u),be(l,i);var s=be(l,u);for(i=0;i<c.length;i+=2){var f=c[i],d=c[i+1];"style"===f?ye(o,d):"dangerouslySetInnerHTML"===f?fe(o,d):"children"===f?de(o,d):m(o,f,d,s);}switch(l){case"input":G(o,u);break;case"textarea":ue(o,u);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!u.multiple;var h=u.value;null!=h?re(o,!!u.multiple,h,!1):p!==!!u.multiple&&(null!=u.defaultValue?re(o,!!u.multiple,u.defaultValue,!0):re(o,!!u.multiple,u.multiple?[]:"",!1));}o[pa]=u;}catch(t){xc(e,e.return,t);}}break;case 6:if(dl(t,e),hl(e),4&a){if(null===e.stateNode)throw Error(r(162));s=e.stateNode,f=e.memoizedProps;try{s.nodeValue=f;}catch(t){xc(e,e.return,t);}}break;case 3:if(dl(t,e),hl(e),4&a&&null!==n&&n.memoizedState.isDehydrated)try{Ut(t.containerInfo);}catch(t){xc(e,e.return,t);}break;case 4:default:dl(t,e),hl(e);break;case 13:dl(t,e),hl(e),8192&(s=e.child).flags&&null!==s.memoizedState&&(null===s.alternate||null===s.alternate.memoizedState)&&(Dl=Je()),4&a&&fl(e);break;case 22:if(s=null!==n&&null!==n.memoizedState,1&e.mode?(Bi=(f=Bi)||s,dl(t,e),Bi=f):dl(t,e),hl(e),8192&a){f=null!==e.memoizedState;e:for(d=null,p=e;;){if(5===p.tag){if(null===d){d=p;try{o=p.stateNode,f?"function"==typeof(u=o.style).setProperty?u.setProperty("display","none","important"):u.display="none":(l=p.stateNode,i=null!=(c=p.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,l.style.display=ve("display",i));}catch(t){xc(e,e.return,t);}}}else if(6===p.tag){if(null===d)try{p.stateNode.nodeValue=f?"":p.memoizedProps;}catch(t){xc(e,e.return,t);}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;d===p&&(d=null),p=p.return;}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling;}if(f&&!s&&0!=(1&e.mode))for(Xi=e,e=e.child;null!==e;){for(s=Xi=e;null!==Xi;){switch(d=(f=Xi).child,f.tag){case 0:case 11:case 14:case 15:Zi(4,f,f.return);break;case 1:if(Yi(f,f.return),"function"==typeof(u=f.stateNode).componentWillUnmount){p=f,h=f.return;try{u.props=(o=p).memoizedProps,u.state=o.memoizedState,u.componentWillUnmount();}catch(e){xc(p,h,e);}}break;case 5:Yi(f,f.return);break;case 22:if(null!==f.memoizedState){gl(s);continue}}null!==d?(d.return=f,Xi=d):gl(s);}e=e.sibling;}}break;case 19:dl(t,e),hl(e),4&a&&fl(e);case 21:}}function hl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(rl(n)){var a=n;break e}n=n.return;}throw Error(r(160))}switch(a.tag){case 5:var o=a.stateNode;32&a.flags&&(de(o,""),a.flags&=-33),ul(e,al(e),o);break;case 3:case 4:var u=a.stateNode.containerInfo;ol(e,al(e),u);break;default:throw Error(r(161))}}catch(t){xc(e,e.return,t);}e.flags&=-3;}4096&t&&(e.flags&=-4097);}function vl(e,t,n){Xi=e,yl(e);}function yl(e,t,n){for(var r=0!=(1&e.mode);null!==Xi;){var a=Xi,o=a.child;if(22===a.tag&&r){var u=null!==a.memoizedState||Wi;if(!u){var i=a.alternate,l=null!==i&&null!==i.memoizedState||Bi;i=Wi;var c=Bi;if(Wi=u,(Bi=l)&&!c)for(Xi=a;null!==Xi;)l=(u=Xi).child,22===u.tag&&null!==u.memoizedState?bl(a):null!==l?(l.return=u,Xi=l):bl(a);for(;null!==o;)Xi=o,yl(o),o=o.sibling;Xi=a,Wi=i,Bi=c;}ml(e);}else 0!=(8772&a.subtreeFlags)&&null!==o?(o.return=a,Xi=o):ml(e);}}function ml(e){for(;null!==Xi;){var t=Xi;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Bi||el(5,t);break;case 1:var a=t.stateNode;if(4&t.flags&&!Bi)if(null===n)a.componentDidMount();else {var o=t.elementType===t.type?n.memoizedProps:Va(t.type,n.memoizedProps);a.componentDidUpdate(o,n.memoizedState,a.__reactInternalSnapshotBeforeUpdate);}var u=t.updateQueue;null!==u&&co(t,u,a);break;case 3:var i=t.updateQueue;if(null!==i){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode;}co(t,i,n);}break;case 5:if(null===n&&4&t.flags){n=t.stateNode;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src);}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var s=c.memoizedState;if(null!==s){var f=s.dehydrated;null!==f&&Ut(f);}}}break;default:throw Error(r(163))}Bi||512&t.flags&&tl(t);}catch(e){xc(t,t.return,e);}}if(t===e){Xi=null;break}if(null!==(n=t.sibling)){n.return=t.return,Xi=n;break}Xi=t.return;}}function gl(e){for(;null!==Xi;){var t=Xi;if(t===e){Xi=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Xi=n;break}Xi=t.return;}}function bl(e){for(;null!==Xi;){var t=Xi;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{el(4,t);}catch(e){xc(t,n,e);}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var a=t.return;try{r.componentDidMount();}catch(e){xc(t,a,e);}}var o=t.return;try{tl(t);}catch(e){xc(t,o,e);}break;case 5:var u=t.return;try{tl(t);}catch(e){xc(t,u,e);}}}catch(e){xc(t,t.return,e);}if(t===e){Xi=null;break}var i=t.sibling;if(null!==i){i.return=t.return,Xi=i;break}Xi=t.return;}}var wl,Sl=Math.ceil,kl=g.ReactCurrentDispatcher,xl=g.ReactCurrentOwner,El=g.ReactCurrentBatchConfig,Cl=0,Ol=null,_l=null,Pl=0,Tl=0,Rl=Ea(0),Nl=0,jl=null,zl=0,Ml=0,Al=0,Il=null,Ll=null,Dl=0,Fl=Infinity,ql=null,Ql=!1,Ul=null,$l=null,Vl=!1,Kl=null,Wl=0,Bl=0,Hl=null,Xl=-1,Yl=0;function Jl(){return 0!=(6&Cl)?Je():-1!==Xl?Xl:Xl=Je()}function Gl(e){return 0==(1&e.mode)?1:0!=(2&Cl)&&0!==Pl?Pl&-Pl:null!==$a.transition?(0===Yl&&(Yl=vt()),Yl):0!==(e=Et)?e:e=void 0===(e=window.event)?16:Yt(e.type)}function Zl(e,t,n){if(50<Bl)throw Bl=0,Hl=null,Error(r(185));var a=ec(e,t);return null===a?null:(mt(a,t,n),0!=(2&Cl)&&a===Ol||(a===Ol&&(0==(2&Cl)&&(Ml|=t),4===Nl&&uc(a,Pl)),nc(a,n),1===t&&0===Cl&&0==(1&e.mode)&&(Fl=Je()+500,Fa&&Ua())),a)}function ec(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function tc(e){return (null!==Ol||null!==eo)&&0!=(1&e.mode)&&0==(2&Cl)}function nc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var u=31-ut(o),i=1<<u,l=a[u];-1===l?0!=(i&n)&&0==(i&r)||(a[u]=pt(i,t)):l<=t&&(e.expiredLanes|=i),o&=~i;}}(e,t);var r=dt(e,e===Ol?Pl:0);if(0===r)null!==n&&He(n),e.callbackNode=null,e.callbackPriority=0;else if(e.callbackPriority!==(t=r&-r)){if(null!=n&&He(n),1===t)0===e.tag?function(e){Fa=!0,Qa(e);}(ic.bind(null,e)):Qa(ic.bind(null,e)),ua((function(){0===Cl&&Ua();})),n=null;else {switch(Ct(r)){case 1:n=Ze;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt;}n=Pc(n,rc.bind(null,e));}e.callbackPriority=t,e.callbackNode=n;}}function rc(e,t){if(Xl=-1,Yl=0,0!=(6&Cl))throw Error(r(327));var n=e.callbackNode;if(Sc()&&e.callbackNode!==n)return null;var a=dt(e,e===Ol?Pl:0);if(0===a)return null;if(0!=(30&a)||0!=(a&e.expiredLanes)||t)t=vc(e,a);else {t=a;var o=Cl;Cl|=2;var u=pc();for(Ol===e&&Pl===t||(ql=null,Fl=Je()+500,fc(e,t));;)try{mc();break}catch(t){dc(e,t);}Xa(),kl.current=u,Cl=o,null!==_l?t=0:(Ol=null,Pl=0,t=Nl);}if(0!==t){if(2===t&&0!==(o=ht(e))&&(a=o,t=ac(e,o)),1===t)throw n=jl,fc(e,0),uc(e,a),nc(e,Je()),n;if(6===t)uc(e,a);else {if(o=e.current.alternate,0==(30&a)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!ir(o(),a))return !1}catch(e){return !1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else {if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return !0;t=t.return;}t.sibling.return=t.return,t=t.sibling;}}return !0}(o)&&(2===(t=vc(e,a))&&0!==(u=ht(e))&&(a=u,t=ac(e,u)),1===t))throw n=jl,fc(e,0),uc(e,a),nc(e,Je()),n;switch(e.finishedWork=o,e.finishedLanes=a,t){case 0:case 1:throw Error(r(345));case 2:case 5:wc(e,Ll,ql);break;case 3:if(uc(e,a),(130023424&a)===a&&10<(t=Dl+500-Je())){if(0!==dt(e,0))break;if(((o=e.suspendedLanes)&a)!==a){Jl(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ra(wc.bind(null,e,Ll,ql),t);break}wc(e,Ll,ql);break;case 4:if(uc(e,a),(4194240&a)===a)break;for(t=e.eventTimes,o=-1;0<a;){var i=31-ut(a);u=1<<i,(i=t[i])>o&&(o=i),a&=~u;}if(a=o,10<(a=(120>(a=Je()-a)?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*Sl(a/1960))-a)){e.timeoutHandle=ra(wc.bind(null,e,Ll,ql),a);break}wc(e,Ll,ql);break;default:throw Error(r(329))}}}return nc(e,Je()),e.callbackNode===n?rc.bind(null,e):null}function ac(e,t){var n=Il;return e.current.memoizedState.isDehydrated&&(fc(e,t).flags|=256),2!==(e=vc(e,t))&&(t=Ll,Ll=n,null!==t&&oc(t)),e}function oc(e){null===Ll?Ll=e:Ll.push.apply(Ll,e);}function uc(e,t){for(t&=~Al,e.suspendedLanes|=t&=~Ml,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ut(t),r=1<<n;e[n]=-1,t&=~r;}}function ic(e){if(0!=(6&Cl))throw Error(r(327));Sc();var t=dt(e,0);if(0==(1&t))return nc(e,Je()),null;var n=vc(e,t);if(0!==e.tag&&2===n){var a=ht(e);0!==a&&(t=a,n=ac(e,a));}if(1===n)throw n=jl,fc(e,0),uc(e,t),nc(e,Je()),n;if(6===n)throw Error(r(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wc(e,Ll,ql),nc(e,Je()),null}function lc(e,t){var n=Cl;Cl|=1;try{return e(t)}finally{0===(Cl=n)&&(Fl=Je()+500,Fa&&Ua());}}function cc(e){null!==Kl&&0===Kl.tag&&0==(6&Cl)&&Sc();var t=Cl;Cl|=1;var n=El.transition,r=Et;try{if(El.transition=null,Et=1,e)return e()}finally{Et=r,El.transition=n,0==(6&(Cl=t))&&Ua();}}function sc(){Tl=Rl.current,Ca(Rl);}function fc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aa(n)),null!==_l)for(n=_l.return;null!==n;){var r=n;switch(Ro(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&za();break;case 3:tu(),Ca(Ta),Ca(Pa),iu();break;case 5:ru(r);break;case 4:tu();break;case 13:case 19:Ca(au);break;case 10:Ya(r.type._context);break;case 22:case 23:sc();}n=n.return;}if(Ol=e,_l=e=jc(e.current,null),Pl=Tl=t,Nl=0,jl=null,Al=Ml=zl=0,Ll=Il=null,null!==eo){for(t=0;t<eo.length;t++)if(null!==(r=(n=eo[t]).interleaved)){n.interleaved=null;var a=n.pending;if(null!==a){var o=a.next;a.next=r.next,r.next=o;}n.pending=r;}eo=null;}return e}function dc(e,t){for(;;){var n=_l;try{if(Xa(),lu.current=ni,hu){for(var a=fu.memoizedState;null!==a;){var o=a.queue;null!==o&&(o.pending=null),a=a.next;}hu=!1;}if(su=0,pu=du=fu=null,vu=!1,yu=0,xl.current=null,null===n||null===n.return){Nl=1,jl=t,_l=null;break}e:{var u=e,i=n.return,l=n,c=t;if(t=Pl,l.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var s=c,f=l,d=f.tag;if(0==(1&f.mode)&&(0===d||11===d||15===d)){var p=f.alternate;p?(f.updateQueue=p.updateQueue,f.memoizedState=p.memoizedState,f.lanes=p.lanes):(f.updateQueue=null,f.memoizedState=null);}var h=vi(i);if(null!==h){h.flags&=-257,yi(h,i,l,0,t),1&h.mode&&hi(u,s,t),c=s;var v=(t=h).updateQueue;if(null===v){var y=new Set;y.add(c),t.updateQueue=y;}else v.add(c);break e}if(0==(1&t)){hi(u,s,t),hc();break e}c=Error(r(426));}else if(zo&&1&l.mode){var m=vi(i);if(null!==m){0==(65536&m.flags)&&(m.flags|=256),yi(m,i,l,0,t),Uo(c);break e}}u=c,4!==Nl&&(Nl=2),null===Il?Il=[u]:Il.push(u),c=ui(c,l),l=i;do{switch(l.tag){case 3:l.flags|=65536,l.lanes|=t&=-t,io(l,di(0,c,t));break e;case 1:u=c;var g=l.stateNode;if(0==(128&l.flags)&&("function"==typeof l.type.getDerivedStateFromError||null!==g&&"function"==typeof g.componentDidCatch&&(null===$l||!$l.has(g)))){l.flags|=65536,l.lanes|=t&=-t,io(l,pi(l,u,t));break e}}l=l.return;}while(null!==l)}bc(n);}catch(e){t=e,_l===n&&null!==n&&(_l=n=n.return);continue}break}}function pc(){var e=kl.current;return kl.current=ni,null===e?ni:e}function hc(){0!==Nl&&3!==Nl&&2!==Nl||(Nl=4),null===Ol||0==(268435455&zl)&&0==(268435455&Ml)||uc(Ol,Pl);}function vc(e,t){var n=Cl;Cl|=2;var a=pc();for(Ol===e&&Pl===t||(ql=null,fc(e,t));;)try{yc();break}catch(t){dc(e,t);}if(Xa(),Cl=n,kl.current=a,null!==_l)throw Error(r(261));return Ol=null,Pl=0,Nl}function yc(){for(;null!==_l;)gc(_l);}function mc(){for(;null!==_l&&!Xe();)gc(_l);}function gc(e){var t=wl(e.alternate,e,Tl);e.memoizedProps=e.pendingProps,null===t?bc(e):_l=t,xl.current=null;}function bc(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=bi(n,t,Tl)))return void(_l=n)}else {if(null!==(n=Ki(n,t)))return n.flags&=32767,void(_l=n);if(null===e)return Nl=6,void(_l=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null;}if(null!==(t=t.sibling))return void(_l=t);_l=t=e;}while(null!==t);0===Nl&&(Nl=5);}function wc(e,t,n){var a=Et,o=El.transition;try{El.transition=null,Et=1,function(e,t,n,a){do{Sc();}while(null!==Kl);if(0!=(6&Cl))throw Error(r(327));var o=e.finishedLanes;if(null===(n=e.finishedWork))return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(r(177));e.callbackNode=null,e.callbackPriority=0;var u=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-ut(n),o=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~o;}}(e,u),e===Ol&&(_l=Ol=null,Pl=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Vl||(Vl=!0,Pc(tt,(function(){return Sc(),null}))),u=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||u){u=El.transition,El.transition=null;var i=Et;Et=1;var l=Cl;Cl|=4,xl.current=null,function(e,t){if(ea=Vt,pr(e=dr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else {var a=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(a&&0!==a.rangeCount){n=a.anchorNode;var o=a.anchorOffset,u=a.focusNode;a=a.focusOffset;var i=0,l=-1,c=-1,s=0,f=0,d=e,p=null;e:for(;;){for(var h;d!==n||0!==o&&3!==d.nodeType||(l=i+o),d!==u||0!==a&&3!==d.nodeType||(c=i+a),3===d.nodeType&&(i+=d.nodeValue.length),null!==(h=d.firstChild);)p=d,d=h;for(;;){if(d===e)break e;if(p===n&&++s===o&&(l=i),p===u&&++f===a&&(c=i),null!==(h=d.nextSibling))break;p=(d=p).parentNode;}d=h;}n=-1===l||-1===c?null:{start:l,end:c};}else n=null;}n=n||{start:0,end:0};}else n=null;for(ta={focusedElem:e,selectionRange:n},Vt=!1,Xi=t;null!==Xi;)if(e=(t=Xi).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Xi=e;else for(;null!==Xi;){t=Xi;try{var v=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==v){var y=v.memoizedProps,m=v.memoizedState,g=t.stateNode,b=g.getSnapshotBeforeUpdate(t.elementType===t.type?y:Va(t.type,y),m);g.__reactInternalSnapshotBeforeUpdate=b;}break;case 3:var w=t.stateNode.containerInfo;if(1===w.nodeType)w.textContent="";else if(9===w.nodeType){var S=w.body;null!=S&&(S.textContent="");}break;default:throw Error(r(163))}}catch(e){xc(t,t.return,e);}if(null!==(e=t.sibling)){e.return=t.return,Xi=e;break}Xi=t.return;}v=Gi,Gi=!1;}(e,n),pl(n,e),hr(ta),Vt=!!ea,ta=ea=null,e.current=n,vl(n,e,o),Ye(),Cl=l,Et=i,El.transition=u;}else e.current=n;if(Vl&&(Vl=!1,Kl=e,Wl=o),0===(u=e.pendingLanes)&&($l=null),function(e){if(ot&&"function"==typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(at,e,void 0,128==(128&e.current.flags));}catch(e){}}(n.stateNode),nc(e,Je()),null!==t)for(a=e.onRecoverableError,n=0;n<t.length;n++)a(t[n]);if(Ql)throw Ql=!1,e=Ul,Ul=null,e;0!=(1&Wl)&&0!==e.tag&&Sc(),0!=(1&(u=e.pendingLanes))?e===Hl?Bl++:(Bl=0,Hl=e):Bl=0,Ua();}(e,t,n,a);}finally{El.transition=o,Et=a;}return null}function Sc(){if(null!==Kl){var e=Ct(Wl),t=El.transition,n=Et;try{if(El.transition=null,Et=16>e?16:e,null===Kl)var a=!1;else {if(e=Kl,Kl=null,Wl=0,0!=(6&Cl))throw Error(r(331));var o=Cl;for(Cl|=4,Xi=e.current;null!==Xi;){var u=Xi,i=u.child;if(0!=(16&Xi.flags)){var l=u.deletions;if(null!==l){for(var c=0;c<l.length;c++){var s=l[c];for(Xi=s;null!==Xi;){var f=Xi;switch(f.tag){case 0:case 11:case 15:Zi(8,f,u);}var d=f.child;if(null!==d)d.return=f,Xi=d;else for(;null!==Xi;){var p=(f=Xi).sibling,h=f.return;if(nl(f),f===s){Xi=null;break}if(null!==p){p.return=h,Xi=p;break}Xi=h;}}}var v=u.alternate;if(null!==v){var y=v.child;if(null!==y){v.child=null;do{var m=y.sibling;y.sibling=null,y=m;}while(null!==y)}}Xi=u;}}if(0!=(2064&u.subtreeFlags)&&null!==i)i.return=u,Xi=i;else e:for(;null!==Xi;){if(0!=(2048&(u=Xi).flags))switch(u.tag){case 0:case 11:case 15:Zi(9,u,u.return);}var g=u.sibling;if(null!==g){g.return=u.return,Xi=g;break e}Xi=u.return;}}var b=e.current;for(Xi=b;null!==Xi;){var w=(i=Xi).child;if(0!=(2064&i.subtreeFlags)&&null!==w)w.return=i,Xi=w;else e:for(i=b;null!==Xi;){if(0!=(2048&(l=Xi).flags))try{switch(l.tag){case 0:case 11:case 15:el(9,l);}}catch(e){xc(l,l.return,e);}if(l===i){Xi=null;break e}var S=l.sibling;if(null!==S){S.return=l.return,Xi=S;break e}Xi=l.return;}}if(Cl=o,Ua(),ot&&"function"==typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(at,e);}catch(e){}a=!0;}return a}finally{Et=n,El.transition=t;}}return !1}function kc(e,t,n){oo(e,t=di(0,t=ui(n,t),1)),t=Jl(),null!==(e=ec(e,1))&&(mt(e,1,t),nc(e,t));}function xc(e,t,n){if(3===e.tag)kc(e,e,n);else for(;null!==t;){if(3===t.tag){kc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===$l||!$l.has(r))){oo(t,e=pi(t,e=ui(n,e),1)),e=Jl(),null!==(t=ec(t,1))&&(mt(t,1,e),nc(t,e));break}}t=t.return;}}function Ec(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Jl(),e.pingedLanes|=e.suspendedLanes&n,Ol===e&&(Pl&n)===n&&(4===Nl||3===Nl&&(130023424&Pl)===Pl&&500>Je()-Dl?fc(e,0):Al|=n),nc(e,t);}function Cc(e,t){0===t&&(0==(1&e.mode)?t=1:(t=st,0==(130023424&(st<<=1))&&(st=4194304)));var n=Jl();null!==(e=ec(e,t))&&(mt(e,t,n),nc(e,n));}function Oc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Cc(e,n);}function _c(e,t){var n=0;switch(e.tag){case 13:var a=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:a=e.stateNode;break;default:throw Error(r(314))}null!==a&&a.delete(t),Cc(e,n);}function Pc(e,t){return Be(e,t)}function Tc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null;}function Rc(e,t,n,r){return new Tc(e,t,n,r)}function Nc(e){return !(!(e=e.prototype)||!e.isReactComponent)}function jc(e,t){var n=e.alternate;return null===n?((n=Rc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.dependencies=null===(t=e.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function zc(e,t,n,a,o,u){var i=2;if(a=e,"function"==typeof e)Nc(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case S:return Mc(n.children,o,u,t);case k:i=8,o|=8;break;case x:return (e=Rc(12,n,t,2|o)).elementType=x,e.lanes=u,e;case P:return (e=Rc(13,n,t,o)).elementType=P,e.lanes=u,e;case T:return (e=Rc(19,n,t,o)).elementType=T,e.lanes=u,e;case z:return Ac(n,o,u,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case C:i=10;break e;case O:i=9;break e;case _:i=11;break e;case N:i=14;break e;case j:i=16,a=null;break e}throw Error(r(130,null==e?e:typeof e,""))}return (t=Rc(i,n,t,o)).elementType=e,t.type=a,t.lanes=u,t}function Mc(e,t,n,r){return (e=Rc(7,e,r,t)).lanes=n,e}function Ac(e,t,n,r){return (e=Rc(22,e,r,t)).elementType=z,e.lanes=n,e.stateNode={},e}function Ic(e,t,n){return (e=Rc(6,e,null,t)).lanes=n,e}function Lc(e,t,n){return (t=Rc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Dc(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=yt(0),this.expirationTimes=yt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=yt(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null;}function Fc(e,t,n,r,a,o,u,i,l){return e=new Dc(e,t,n,i,l),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Rc(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},no(o),e}function qc(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return {$$typeof:w,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Qc(e){if(!e)return _a;e:{if(Ue(e=e._reactInternals)!==e||1!==e.tag)throw Error(r(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ja(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return;}while(null!==t);throw Error(r(171))}if(1===e.tag){var n=e.type;if(ja(n))return Aa(e,n,t)}return t}function Uc(e,t,n,r,a,o,u,i,l){return (e=Fc(n,r,!0,e,0,o,0,i,l)).context=Qc(null),n=e.current,(o=ao(r=Jl(),a=Gl(n))).callback=null!=t?t:null,oo(n,o),e.current.lanes=a,mt(e,a,r),nc(e,r),e}function $c(e,t,n,r){var a=t.current,o=Jl(),u=Gl(a);return n=Qc(n),null===t.context?t.context=n:t.pendingContext=n,(t=ao(o,u)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),oo(a,t),null!==(e=Zl(a,u,o))&&uo(e,a,u),u}function Vc(e){return (e=e.current).child?e.child.stateNode:null}function Kc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t;}}function Wc(e,t){Kc(e,t),(e=e.alternate)&&Kc(e,t);}wl=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ta.current)Si=!0;else {if(0==(e.lanes&n)&&0==(128&t.flags))return Si=!1,function(e,t,n){switch(t.tag){case 3:Ni(t),Qo();break;case 5:nu(t);break;case 1:ja(t.type)&&Ia(t);break;case 4:eu(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;Oa(Ka,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Oa(au,1&au.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Ii(e,t,n):(Oa(au,1&au.current),null!==(e=Vi(e,t,n))?e.sibling:null);Oa(au,1&au.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return $i(e,t,n);t.flags|=128;}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),Oa(au,au.current),r)break;return null;case 22:case 23:return t.lanes=0,Oi(e,t,n)}return Vi(e,t,n)}(e,t,n);Si=0!=(131072&e.flags);}else Si=!1,zo&&0!=(1048576&t.flags)&&Po(t,So,t.index);switch(t.lanes=0,t.tag){case 2:var a=t.type;null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps;var o=Na(t,Pa.current);Ga(t,n),o=wu(null,t,a,e,o,n);var u=Su();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ja(a)?(u=!0,Ia(t)):u=!1,t.memoizedState=null!=o.state?o.state:null,no(t),o.updater=po,t.stateNode=o,o._reactInternals=t,mo(t,a,e,n),t=Ri(null,t,a,!0,u,n)):(t.tag=0,zo&&u&&To(t),ki(null,t,o,n),t=t.child),t;case 16:a=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=(o=a._init)(a._payload),t.type=a,o=t.tag=function(e){if("function"==typeof e)return Nc(e)?1:0;if(null!=e){if((e=e.$$typeof)===_)return 11;if(e===N)return 14}return 2}(a),e=Va(a,e),o){case 0:t=Pi(null,t,a,e,n);break e;case 1:t=Ti(null,t,a,e,n);break e;case 11:t=xi(null,t,a,e,n);break e;case 14:t=Ei(null,t,a,Va(a.type,e),n);break e}throw Error(r(306,a,""))}return t;case 0:return o=t.pendingProps,Pi(e,t,a=t.type,o=t.elementType===a?o:Va(a,o),n);case 1:return o=t.pendingProps,Ti(e,t,a=t.type,o=t.elementType===a?o:Va(a,o),n);case 3:e:{if(Ni(t),null===e)throw Error(r(387));a=t.pendingProps,o=(u=t.memoizedState).element,ro(e,t),lo(t,a,null,n);var i=t.memoizedState;if(a=i.element,u.isDehydrated){if(t.updateQueue.baseState=u={element:a,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.memoizedState=u,256&t.flags){t=ji(e,t,a,n,o=Error(r(423)));break e}if(a!==o){t=ji(e,t,a,n,o=Error(r(424)));break e}for(jo=ca(t.stateNode.containerInfo.firstChild),No=t,zo=!0,Mo=null,n=Ho(t,null,a,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling;}else {if(Qo(),a===o){t=Vi(e,t,n);break e}ki(e,t,a,n);}t=t.child;}return t;case 5:return nu(t),null===e&&Do(t),u=null!==e?e.memoizedProps:null,i=(o=t.pendingProps).children,na(a=t.type,o)?i=null:null!==u&&na(a,u)&&(t.flags|=32),_i(e,t),ki(e,t,i,n),t.child;case 6:return null===e&&Do(t),null;case 13:return Ii(e,t,n);case 4:return eu(t,t.stateNode.containerInfo),a=t.pendingProps,null===e?t.child=Bo(t,null,a,n):ki(e,t,a,n),t.child;case 11:return o=t.pendingProps,xi(e,t,a=t.type,o=t.elementType===a?o:Va(a,o),n);case 7:return ki(e,t,t.pendingProps,n),t.child;case 8:case 12:return ki(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(u=t.memoizedProps,i=(o=t.pendingProps).value,Oa(Ka,(a=t.type._context)._currentValue),a._currentValue=i,null!==u)if(ir(u.value,i)){if(u.children===o.children&&!Ta.current){t=Vi(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var l=u.dependencies;if(null!==l){i=u.child;for(var c=l.firstContext;null!==c;){if(c.context===a){if(1===u.tag){(c=ao(-1,n&-n)).tag=2;var s=u.updateQueue;if(null!==s){var f=(s=s.shared).pending;null===f?c.next=c:(c.next=f.next,f.next=c),s.pending=c;}}u.lanes|=n,null!==(c=u.alternate)&&(c.lanes|=n),Ja(u.return,n,t),l.lanes|=n;break}c=c.next;}}else if(10===u.tag)i=u.type===t.type?null:u.child;else if(18===u.tag){if(null===(i=u.return))throw Error(r(341));i.lanes|=n,null!==(l=i.alternate)&&(l.lanes|=n),Ja(i,n,t),i=u.sibling;}else i=u.child;if(null!==i)i.return=u;else for(i=u;null!==i;){if(i===t){i=null;break}if(null!==(u=i.sibling)){u.return=i.return,i=u;break}i=i.return;}u=i;}ki(e,t,o.children,n),t=t.child;}return t;case 9:return o=t.type,a=t.pendingProps.children,Ga(t,n),a=a(o=Za(o)),t.flags|=1,ki(e,t,a,n),t.child;case 14:return o=Va(a=t.type,t.pendingProps),Ei(e,t,a,o=Va(a.type,o),n);case 15:return Ci(e,t,t.type,t.pendingProps,n);case 17:return o=t.pendingProps,o=t.elementType===(a=t.type)?o:Va(a,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ja(a)?(e=!0,Ia(t)):e=!1,Ga(t,n),vo(t,a,o),mo(t,a,o,n),Ri(null,t,a,!0,e,n);case 19:return $i(e,t,n);case 22:return Oi(e,t,n)}throw Error(r(156,t.tag))};var Bc="function"==typeof reportError?reportError:function(e){console.error(e);};function Hc(e){this._internalRoot=e;}function Xc(e){this._internalRoot=e;}function Yc(e){return !(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Jc(e){return !(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Gc(){}function Zc(e,t,n,r,a){var o=n._reactRootContainer;if(o){var u=o;if("function"==typeof a){var i=a;a=function(){var e=Vc(u);i.call(e);};}$c(t,u,e,a);}else u=function(e,t,n,r,a){if(a){if("function"==typeof r){var o=r;r=function(){var e=Vc(u);o.call(e);};}var u=Uc(t,r,e,0,null,!1,0,"",Gc);return e._reactRootContainer=u,e[ha]=u.current,Ur(8===e.nodeType?e.parentNode:e),cc(),u}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof r){var i=r;r=function(){var e=Vc(l);i.call(e);};}var l=Fc(e,0,!1,null,0,!1,0,"",Gc);return e._reactRootContainer=l,e[ha]=l.current,Ur(8===e.nodeType?e.parentNode:e),cc((function(){$c(t,l,n,r);})),l}(n,t,e,a,r);return Vc(u)}Xc.prototype.render=Hc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(r(409));$c(e,t,null,null);},Xc.prototype.unmount=Hc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cc((function(){$c(null,e,null,null);})),t[ha]=null;}},Xc.prototype.unstable_scheduleHydration=function(e){if(e){var t=kt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<zt.length&&0!==t&&t<zt[n].priority;n++);zt.splice(n,0,e),0===n&&Lt(e);}},bt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ft(t.pendingLanes);0!==n&&(gt(t,1|n),nc(t,Je()),0==(6&Cl)&&(Fl=Je()+500,Ua()));}break;case 13:var r=Jl();cc((function(){return Zl(e,1,r)})),Wc(e,1);}},wt=function(e){13===e.tag&&(Zl(e,134217728,Jl()),Wc(e,134217728));},St=function(e){if(13===e.tag){var t=Jl(),n=Gl(e);Zl(e,n,t),Wc(e,n);}},kt=function(){return Et},xt=function(e,t){var n=Et;try{return Et=e,t()}finally{Et=n;}},ke=function(e,t,n){switch(t){case"input":if(G(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 a=n[t];if(a!==e&&a.form===e.form){var o=Sa(a);if(!o)throw Error(r(90));B(a),G(a,o);}}}break;case"textarea":ue(e,n);break;case"select":null!=(t=n.value)&&re(e,!!n.multiple,t,!1);}},Pe=lc,Te=cc;var es,ts={usingClientEntryPoint:!1,Events:[ba,wa,Sa,Oe,_e,lc]},ns={findFiberByHostInstance:ga,bundleType:0,version:"18.1.0",rendererPackageName:"react-dom"},rs={bundleType:ns.bundleType,version:ns.version,rendererPackageName:ns.rendererPackageName,rendererConfig:ns.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:g.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ke(e))?null:e.stateNode},findFiberByHostInstance:ns.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.1.0-next-22edb9f77-20220426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&!(es=__REACT_DEVTOOLS_GLOBAL_HOOK__).isDisabled&&es.supportsFiber)try{at=es.inject(rs),ot=es;}catch(se){}e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ts,e.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yc(t))throw Error(r(200));return qc(e,t,null,n)},e.createRoot=function(e,t){if(!Yc(e))throw Error(r(299));var n=!1,a="",o=Bc;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(a=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Fc(e,1,!1,null,0,n,0,a,o),e[ha]=t.current,Ur(8===e.nodeType?e.parentNode:e),new Hc(t)},e.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(r(188));throw e=Object.keys(e).join(","),Error(r(268,e))}return null===(e=Ke(t))?null:e.stateNode},e.flushSync=function(e){return cc(e)},e.hydrate=function(e,t,n){if(!Jc(t))throw Error(r(200));return Zc(null,e,t,!0,n)},e.hydrateRoot=function(e,t,n){if(!Yc(e))throw Error(r(405));var a=null!=n&&n.hydratedSources||null,o=!1,u="",i=Bc;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(u=n.identifierPrefix),void 0!==n.onRecoverableError&&(i=n.onRecoverableError)),t=Uc(t,null,e,1,null!=n?n:null,o,0,u,i),e[ha]=t.current,Ur(e),a)for(e=0;e<a.length;e++)o=(o=(n=a[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Xc(t)},e.render=function(e,t,n){if(!Jc(t))throw Error(r(200));return Zc(null,e,t,!1,n)},e.unmountComponentAtNode=function(e){if(!Jc(e))throw Error(r(40));return !!e._reactRootContainer&&(cc((function(){Zc(null,null,e,!1,(function(){e._reactRootContainer=null,e[ha]=null;}));})),!0)},e.unstable_batchedUpdates=lc,e.unstable_renderSubtreeIntoContainer=function(e,t,n,a){if(!Jc(n))throw Error(r(200));if(null==e||void 0===e._reactInternals)throw Error(r(38));return Zc(e,t,n,!1,a)},e.version="18.1.0-next-22edb9f77-20220426";}}),j=w({"../../node_modules/react-dom/index.js":function(e,t){!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e);}catch(e){console.error(e);}}(),t.exports=N();}}),z=w({"../../node_modules/react-is/cjs/react-is.production.min.js":function(e){var t="function"==typeof Symbol&&Symbol.for,n=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,u=t?Symbol.for("react.profiler"):60114,i=t?Symbol.for("react.provider"):60109,l=t?Symbol.for("react.context"):60110,c=t?Symbol.for("react.async_mode"):60111,s=t?Symbol.for("react.concurrent_mode"):60111,f=t?Symbol.for("react.forward_ref"):60112,d=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,h=t?Symbol.for("react.memo"):60115,v=t?Symbol.for("react.lazy"):60116,y=t?Symbol.for("react.block"):60121,m=t?Symbol.for("react.fundamental"):60117,g=t?Symbol.for("react.responder"):60118,b=t?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case s:case a:case u:case o:case d:return e;default:switch(e=e&&e.$$typeof){case l:case f:case v:case h:case i:return e;default:return t}}case r:return t}}}function S(e){return w(e)===s}e.AsyncMode=c,e.ConcurrentMode=s,e.ContextConsumer=l,e.ContextProvider=i,e.Element=n,e.ForwardRef=f,e.Fragment=a,e.Lazy=v,e.Memo=h,e.Portal=r,e.Profiler=u,e.StrictMode=o,e.Suspense=d,e.isAsyncMode=function(e){return S(e)||w(e)===c},e.isConcurrentMode=S,e.isContextConsumer=function(e){return w(e)===l},e.isContextProvider=function(e){return w(e)===i},e.isElement=function(e){return "object"==typeof e&&null!==e&&e.$$typeof===n},e.isForwardRef=function(e){return w(e)===f},e.isFragment=function(e){return w(e)===a},e.isLazy=function(e){return w(e)===v},e.isMemo=function(e){return w(e)===h},e.isPortal=function(e){return w(e)===r},e.isProfiler=function(e){return w(e)===u},e.isStrictMode=function(e){return w(e)===o},e.isSuspense=function(e){return w(e)===d},e.isValidElementType=function(e){return "string"==typeof e||"function"==typeof e||e===a||e===s||e===u||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===h||e.$$typeof===i||e.$$typeof===l||e.$$typeof===f||e.$$typeof===m||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y)},e.typeOf=w;}}),M=w({"../../node_modules/react-is/index.js":function(e,t){t.exports=z();}}),A=w({"../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js":function(e,t){var n=M(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function i(e){return n.isMemo(e)?o:u[e.$$typeof]||r}u[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[n.Memo]=o;var l=Object.defineProperty,c=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,p=Object.prototype;t.exports=function e(t,n,r){if("string"!=typeof n){if(p){var o=d(n);o&&o!==p&&e(t,o,r);}var u=c(n);s&&(u=u.concat(s(n)));for(var h=i(t),v=i(n),y=0;y<u.length;++y){var m=u[y];if(!(a[m]||r&&r[m]||v&&v[m]||h&&h[m])){var g=f(n,m);try{l(t,m,g);}catch(e){}}}}return t};}}),I=w({"../../node_modules/react-redux/node_modules/react-is/cjs/react-is.production.min.js":function(e){var t,n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen");function y(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case a:case u:case o:case f:case d:return e;default:switch(e=e&&e.$$typeof){case c:case l:case s:case h:case p:case i:return e;default:return t}}case r:return t}}}t=Symbol.for("react.module.reference"),e.ContextConsumer=l,e.ContextProvider=i,e.Element=n,e.ForwardRef=s,e.Fragment=a,e.Lazy=h,e.Memo=p,e.Portal=r,e.Profiler=u,e.StrictMode=o,e.Suspense=f,e.SuspenseList=d,e.isAsyncMode=function(){return !1},e.isConcurrentMode=function(){return !1},e.isContextConsumer=function(e){return y(e)===l},e.isContextProvider=function(e){return y(e)===i},e.isElement=function(e){return "object"==typeof e&&null!==e&&e.$$typeof===n},e.isForwardRef=function(e){return y(e)===s},e.isFragment=function(e){return y(e)===a},e.isLazy=function(e){return y(e)===h},e.isMemo=function(e){return y(e)===p},e.isPortal=function(e){return y(e)===r},e.isProfiler=function(e){return y(e)===u},e.isStrictMode=function(e){return y(e)===o},e.isSuspense=function(e){return y(e)===f},e.isSuspenseList=function(e){return y(e)===d},e.isValidElementType=function(e){return "string"==typeof e||"function"==typeof e||e===a||e===u||e===o||e===f||e===d||e===v||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===i||e.$$typeof===l||e.$$typeof===s||e.$$typeof===t||void 0!==e.getModuleId)},e.typeOf=y;}}),L=w({"../../node_modules/react-redux/node_modules/react-is/index.js":function(e,t){t.exports=I();}});(n=exports.QueryStatus||(exports.QueryStatus={})).uninitialized="uninitialized",n.pending="pending",n.fulfilled="fulfilled",n.rejected="rejected";var D,F,q=function(e){return [].concat.apply([],e)};function Q(e){return e.replace(e[0],e[0].toUpperCase())}function U(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return "'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function $(e){return !!e&&!!e[Pe]}function V(e){var t;return !!e&&(function(e){if(!e||"object"!=typeof e)return !1;var t=Object.getPrototypeOf(e);if(null===t)return !0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===Te}(e)||Array.isArray(e)||!!e[_e]||!!(null===(t=e.constructor)||void 0===t?void 0:t[_e])||J(e)||G(e))}function K(e,t,n){void 0===n&&(n=!1),0===W(e)?(n?Object.keys:Re)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e);})):e.forEach((function(n,r){return t(r,n,e)}));}function W(e){var t=e[Pe];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:J(e)?2:G(e)?3:0}function B(e,t){return 2===W(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function H(e,t){return 2===W(e)?e.get(t):e[t]}function X(e,t,n){var r=W(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n;}function Y(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function J(e){return xe&&e instanceof Map}function G(e){return Ee&&e instanceof Set}function Z(e){return e.o||e.t}function ee(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Ne(e);delete t[Pe];for(var n=Re(t),r=0;r<n.length;r++){var a=n[r],o=t[a];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[a]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[a]});}return Object.create(Object.getPrototypeOf(e),t)}function te(e,t){return void 0===t&&(t=!1),re(e)||$(e)||!V(e)||(W(e)>1&&(e.set=e.add=e.clear=e.delete=ne),Object.freeze(e),t&&K(e,(function(e,t){return te(t,!0)}),!0)),e}function ne(){U(2);}function re(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function ae(e){var t=je[e];return t||U(18,e),t}function oe(e,t){je[e]||(je[e]=t);}function ue(){return F}function ie(e,t){t&&(ae("Patches"),e.u=[],e.s=[],e.v=t);}function le(e){ce(e),e.p.forEach(fe),e.p=null;}function ce(e){e===F&&(F=e.l);}function se(e){return F={p:[],l:F,h:e,m:!0,_:0}}function fe(e){var t=e[Pe];0===t.i||1===t.i?t.j():t.g=!0;}function de(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.O||ae("ES5").S(t,e,r),r?(n[Pe].P&&(le(t),U(4)),V(e)&&(e=pe(t,e),t.l||ve(t,e)),t.u&&ae("Patches").M(n[Pe].t,e,t.u,t.s)):e=pe(t,n,[]),le(t),t.u&&t.v(t.u,t.s),e!==Oe?e:void 0}function pe(e,t,n){if(re(t))return t;var r=t[Pe];if(!r)return K(t,(function(a,o){return he(e,r,t,a,o,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return ve(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var a=4===r.i||5===r.i?r.o=ee(r.k):r.o,o=a,u=!1;3===r.i&&(o=new Set(a),a.clear(),u=!0),K(o,(function(t,o){return he(e,r,a,t,o,n,u)})),ve(e,a,!1),n&&e.u&&ae("Patches").N(r,n,e.u,e.s);}return r.o}function he(e,t,n,r,a,o,u){if($(a)){var i=pe(e,a,o&&t&&3!==t.i&&!B(t.R,r)?o.concat(r):void 0);if(X(n,r,i),!$(i))return;e.m=!1;}else u&&n.add(a);if(V(a)&&!re(a)){if(!e.h.D&&e._<1)return;pe(e,a),t&&t.A.l||ve(e,a);}}function ve(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&te(t,n);}function ye(e,t){var n=e[Pe];return (n?Z(n):e)[t]}function me(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n);}}function ge(e){e.P||(e.P=!0,e.l&&ge(e.l));}function be(e){e.o||(e.o=ee(e.t));}function we(e,t,n){var r=J(t)?ae("MapSet").F(t,n):G(t)?ae("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:ue(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},a=r,o=ze;n&&(a=[r],o=Me);var u=Proxy.revocable(a,o),i=u.revoke,l=u.proxy;return r.k=l,r.j=i,l}(t,n):ae("ES5").J(t,n);return (n?n.A:ue()).p.push(r),r}function Se(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return ee(e)}var ke="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),xe="undefined"!=typeof Map,Ee="undefined"!=typeof Set,Ce="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Oe=ke?Symbol.for("immer-nothing"):((D={})["immer-nothing"]=!0,D),_e=ke?Symbol.for("immer-draftable"):"__$immer_draftable",Pe=ke?Symbol.for("immer-state"):"__$immer_state",Te=(""+Object.prototype.constructor),Re="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Ne=Object.getOwnPropertyDescriptors||function(e){var t={};return Re(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n);})),t},je={},ze={get:function(e,t){if(t===Pe)return e;var n,r,a,o=Z(e);if(!B(o,t))return n=e,(a=me(o,t))?"value"in a?a.value:null===(r=a.get)||void 0===r?void 0:r.call(n.k):void 0;var u=o[t];return e.I||!V(u)?u:u===ye(e.t,t)?(be(e),e.o[t]=we(e.A.h,u,e)):u},has:function(e,t){return t in Z(e)},ownKeys:function(e){return Reflect.ownKeys(Z(e))},set:function(e,t,n){var r=me(Z(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var a=ye(Z(e),t),o=null==a?void 0:a[Pe];if(o&&o.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(Y(n,a)&&(void 0!==n||B(e.t,t)))return !0;be(e),ge(e);}return e.o[t]===n&&(void 0!==n||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==ye(e.t,t)||t in e.t?(e.R[t]=!1,be(e),ge(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=Z(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){U(11);},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){U(12);}},Me={};K(ze,(function(e,t){Me[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)};})),Me.deleteProperty=function(e,t){return Me.set.call(this,e,t,void 0)},Me.set=function(e,t,n){return ze.set.call(this,e[0],t,n,e[0])};var Ae=new(function(){function e(e){var t=this;this.O=Ce,this.D=!0,this.produce=function(e,n,r){if("function"==typeof e&&"function"!=typeof n){var a=n;n=e;var o=t;return function(e){var t=this;void 0===e&&(e=a);for(var r=arguments.length,u=Array(r>1?r-1:0),i=1;i<r;i++)u[i-1]=arguments[i];return o.produce(e,(function(e){var r;return (r=n).call.apply(r,[t,e].concat(u))}))}}var u;if("function"!=typeof n&&U(6),void 0!==r&&"function"!=typeof r&&U(7),V(e)){var i=se(t),l=we(t,e,void 0),c=!0;try{u=n(l),c=!1;}finally{c?le(i):ce(i);}return "undefined"!=typeof Promise&&u instanceof Promise?u.then((function(e){return ie(i,r),de(e,i)}),(function(e){throw le(i),e})):(ie(i,r),de(u,i))}if(!e||"object"!=typeof e){if(void 0===(u=n(e))&&(u=e),u===Oe&&(u=void 0),t.D&&te(u,!0),r){var s=[],f=[];ae("Patches").M(e,u,s,f),r(s,f);}return u}U(21,e);},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,a=Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(a))}))};var r,a,o=t.produce(e,n,(function(e,t){r=e,a=t;}));return "undefined"!=typeof Promise&&o instanceof Promise?o.then((function(e){return [e,r,a]})):[o,r,a]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze);}var t=e.prototype;return t.createDraft=function(e){V(e)||U(8),$(e)&&(e=function(e){return $(e)||U(22,e),function e(t){if(!V(t))return t;var n,r=t[Pe],a=W(t);if(r){if(!r.P&&(r.i<4||!ae("ES5").K(r)))return r.t;r.I=!0,n=Se(t,a),r.I=!1;}else n=Se(t,a);return K(n,(function(t,a){r&&H(r.t,t)===a||X(n,t,e(a));})),3===a?new Set(n):n}(e)}(e));var t=se(this),n=we(this,e,void 0);return n[Pe].C=!0,ce(t),n},t.finishDraft=function(e,t){var n=(e&&e[Pe]).A;return ie(n,t),de(void 0,n)},t.setAutoFreeze=function(e){this.D=e;},t.setUseProxies=function(e){e&&!Ce&&U(20),this.O=e;},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var a=ae("Patches").$;return $(e)?a(e,t):this.produce(e,(function(e){return a(e,t)}))},e}()),Ie=Ae.produce,Le=Ae.produceWithPatches.bind(Ae),De=(Ae.setAutoFreeze.bind(Ae),Ae.setUseProxies.bind(Ae),Ae.applyPatches.bind(Ae)),Fe=(Ae.createDraft.bind(Ae),Ae.finishDraft.bind(Ae),Ie);function qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r);}return n}function Ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qe(Object(n),!0).forEach((function(t){qe(e,t,n[t]);})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t));}));}return e}function $e(e){return "Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Ve="function"==typeof Symbol&&Symbol.observable||"@@observable",Ke=function(){return Math.random().toString(36).substring(7).split("").join(".")},We={INIT:"@@redux/INIT"+Ke(),REPLACE:"@@redux/REPLACE"+Ke(),PROBE_UNKNOWN_ACTION:function(){return "@@redux/PROBE_UNKNOWN_ACTION"+Ke()}};function Be(e){if("object"!=typeof e||null===e)return !1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function He(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error($e(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error($e(1));return n(He)(e,t)}if("function"!=typeof e)throw new Error($e(2));var a=e,o=t,u=[],i=u,l=!1;function c(){i===u&&(i=u.slice());}function s(){if(l)throw new Error($e(3));return o}function f(e){if("function"!=typeof e)throw new Error($e(4));if(l)throw new Error($e(5));var t=!0;return c(),i.push(e),function(){if(t){if(l)throw new Error($e(6));t=!1,c();var n=i.indexOf(e);i.splice(n,1),u=null;}}}function d(e){if(!Be(e))throw new Error($e(7));if(void 0===e.type)throw new Error($e(8));if(l)throw new Error($e(9));try{l=!0,o=a(o,e);}finally{l=!1;}for(var t=u=i,n=0;n<t.length;n++)(0, t[n])();return e}function p(e){if("function"!=typeof e)throw new Error($e(10));a=e,d({type:We.REPLACE});}function h(){var e,t=f;return (e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error($e(11));function n(){e.next&&e.next(s());}return n(),{unsubscribe:t(n)}}})[Ve]=function(){return this},e}return d({type:We.INIT}),(r={dispatch:d,subscribe:f,getState:s,replaceReducer:p})[Ve]=h,r}function Xe(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var a=t[r];"function"==typeof e[a]&&(n[a]=e[a]);}var o,u=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:We.INIT}))throw new Error($e(12));if(void 0===n(void 0,{type:We.PROBE_UNKNOWN_ACTION()}))throw new Error($e(13))}));}(n);}catch(e){o=e;}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var r=!1,a={},i=0;i<u.length;i++){var l=u[i],c=e[l],s=(0, n[l])(c,t);if(void 0===s)throw new Error($e(14));a[l]=s,r=r||s!==c;}return (r=r||u.length!==Object.keys(e).length)?a:e}}function Ye(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function Je(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error($e(15))},a={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map((function(e){return e(a)}));return r=Ye.apply(void 0,o)(n.dispatch),Ue(Ue({},n),{},{dispatch:r})}}}var Ge=function(e,t){return e===t};function Ze(e,t){var n,r,a,o="object"==typeof t?t:{equalityCheck:t},u=o.equalityCheck,i=o.maxSize,l=void 0===i?1:i,c=o.resultEqualityCheck,s=(a=void 0===u?Ge:u,function(e,t){if(null===e||null===t||e.length!==t.length)return !1;for(var n=e.length,r=0;r<n;r++)if(!a(e[r],t[r]))return !1;return !0}),f=1===l?(n=s,{get:function(e){return r&&n(r.key,e)?r.value:"NOT_FOUND"},put:function(e,t){r={key:e,value:t};},getEntries:function(){return r?[r]:[]},clear:function(){r=void 0;}}):function(e,t){var n=[];function r(e){var r=n.findIndex((function(n){return t(e,n.key)}));if(r>-1){var a=n[r];return r>0&&(n.splice(r,1),n.unshift(a)),a.value}return "NOT_FOUND"}return {get:r,put:function(t,a){"NOT_FOUND"===r(t)&&(n.unshift({key:t,value:a}),n.length>e&&n.pop());},getEntries:function(){return n},clear:function(){n=[];}}}(l,s);function d(){var t=f.get(arguments);if("NOT_FOUND"===t){if(t=e.apply(null,arguments),c){var n=f.getEntries(),r=n.find((function(e){return c(e.value,t)}));r&&(t=r.value);}f.put(arguments,t);}return t}return d.clearCache=function(){return f.clear()},d}function et(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return "function"==typeof e}))){var n=t.map((function(e){return "function"==typeof e?"function "+(e.name||"unnamed")+"()":typeof e})).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+n+"]")}return t}function tt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var a=function(){for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];var o,u=0,i={memoizeOptions:void 0},l=r.pop();if("object"==typeof l&&(i=l,l=r.pop()),"function"!=typeof l)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof l+"]");var c=i,s=c.memoizeOptions,f=void 0===s?n:s,d=Array.isArray(f)?f:[f],p=et(r),h=e.apply(void 0,[function(){return u++,l.apply(null,arguments)}].concat(d)),v=e((function(){for(var e=[],t=p.length,n=0;n<t;n++)e.push(p[n].apply(null,arguments));return o=h.apply(null,e)}));return Object.assign(v,{resultFunc:l,memoizedResultFunc:h,dependencies:p,lastResult:function(){return o},recomputations:function(){return u},resetRecomputations:function(){return u=0}}),v};return a}var nt=tt(Ze),rt="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return "object"==typeof arguments[0]?Ye:Ye.apply(null,arguments)};function at(e){if("object"!=typeof e||null===e)return !1;var t=Object.getPrototypeOf(e);if(null===t)return !0;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return t===n}function ot(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(a){return "function"==typeof a?a(n,r,e):t(a)}}}}var ut=ot();ut.withExtraArgument=ot;var it=ut;function lt(e,t){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(t){var a=t.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return m(m({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return {type:e,payload:n[0]}}return n.toString=function(){return ""+e},n.type=e,n.match=function(t){return t.type===e},n}var ct=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var a=e.apply(this,n)||this;return Object.setPrototypeOf(a,t.prototype),a}return r(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,o([void 0],e[0].concat(this)))):new(t.bind.apply(t,o([void 0],e.concat(this))))},t}(Array),st=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var a=e.apply(this,n)||this;return Object.setPrototypeOf(a,t.prototype),a}return r(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,o([void 0],e[0].concat(this)))):new(t.bind.apply(t,o([void 0],e.concat(this))))},t}(Array);function ft(e){return V(e)?Fe(e,(function(){})):e}function dt(e){var t,n=function(e){return function(e){void 0===e&&(e={});var t=e.thunk,n=void 0===t||t,r=new ct;return n&&r.push("boolean"==typeof n?it:it.withExtraArgument(n.extraArgument)),r}(e)},r=e||{},a=r.reducer,u=void 0===a?void 0:a,i=r.middleware,l=void 0===i?n():i,c=r.devTools,s=void 0===c||c,f=r.preloadedState,d=void 0===f?void 0:f,p=r.enhancers,h=void 0===p?void 0:p;if("function"==typeof u)t=u;else {if(!at(u))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');t=Xe(u);}var v=l;"function"==typeof v&&(v=v(n));var y=Je.apply(void 0,v),g=Ye;s&&(g=rt(m({trace:!1},"object"==typeof s&&s)));var b=new st(y),w=b;return Array.isArray(h)?w=o([y],h):"function"==typeof h&&(w=h(b)),He(t,d,g.apply(void 0,w))}function pt(e){var t,n={},r=[],a={addCase:function(e,t){var r="string"==typeof e?e:e.type;if(!r)throw new Error("`builder.addCase` cannot be called with an empty action type");if(r in n)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return n[r]=t,a},addMatcher:function(e,t){return r.push({matcher:e,reducer:t}),a},addDefaultCase:function(e){return t=e,a}};return e(a),[n,r,t]}function ht(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var n,r="function"==typeof e.initialState?e.initialState:ft(e.initialState),a=e.reducers||{},u=Object.keys(a),i={},l={},c={};function s(){var t="function"==typeof e.extraReducers?pt(e.extraReducers):[e.extraReducers],n=t[0],a=t[1],u=void 0===a?[]:a,i=t[2],c=void 0===i?void 0:i,s=m(m({},void 0===n?{}:n),l);return function(e,t,n,r){var a,u=pt(t),i=u[0],l=u[1],c=u[2];if("function"==typeof e)a=function(){return ft(e())};else {var s=ft(e);a=function(){return s};}function f(e,t){void 0===e&&(e=a());var n=o([i[t.type]],l.filter((function(e){return (0, e.matcher)(t)})).map((function(e){return e.reducer})));return 0===n.filter((function(e){return !!e})).length&&(n=[c]),n.reduce((function(e,n){if(n){var r;if($(e))return void 0===(r=n(e,t))?e:r;if(V(e))return Fe(e,(function(e){return n(e,t)}));if(void 0===(r=n(e,t))){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return e}),e)}return f.getInitialState=a,f}(r,(function(e){for(var t in s)e.addCase(t,s[t]);for(var n=0,r=u;n<r.length;n++){var a=r[n];e.addMatcher(a.matcher,a.reducer);}c&&e.addDefaultCase(c);}))}return u.forEach((function(e){var n,r,o=a[e],u=t+"/"+e;"reducer"in o?(n=o.reducer,r=o.prepare):n=o,i[e]=n,l[u]=n,c[e]=r?lt(u,r):lt(u);})),{name:t,reducer:function(e,t){return n||(n=s()),n(e,t)},actions:c,caseReducers:i,getInitialState:function(){return n||(n=s()),n.getInitialState()}}}var vt=function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},yt=["name","message","stack","code"],mt=function(e,t){this.payload=e,this.meta=t;},gt=function(e,t){this.payload=e,this.meta=t;},bt=function(e){if("object"==typeof e&&null!==e){for(var t={},n=0,r=yt;n<r.length;n++){var a=r[n];"string"==typeof e[a]&&(t[a]=e[a]);}return t}return {message:String(e)}},wt=function(){function e(e,t,n){var r=lt(e+"/fulfilled",(function(e,t,n,r){return {payload:e,meta:g(m({},r||{}),{arg:n,requestId:t,requestStatus:"fulfilled"})}})),o=lt(e+"/pending",(function(e,t,n){return {payload:void 0,meta:g(m({},n||{}),{arg:t,requestId:e,requestStatus:"pending"})}})),u=lt(e+"/rejected",(function(e,t,r,a,o){return {payload:a,error:(n&&n.serializeError||bt)(e||"Rejected"),meta:g(m({},o||{}),{arg:r,requestId:t,rejectedWithValue:!!a,requestStatus:"rejected",aborted:"AbortError"===(null==e?void 0:e.name),condition:"ConditionError"===(null==e?void 0:e.name)})}})),i="undefined"!=typeof AbortController?AbortController:function(){function e(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return !1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}};}return e.prototype.abort=function(){},e}();return Object.assign((function(e){return function(l,c,s){var f,d=(null==n?void 0:n.idGenerator)?n.idGenerator(e):vt(),p=new i;function h(e){f=e,p.abort();}var v=function(){return k(this,null,(function(){var i,v,y,m,g,b;return a(this,(function(a){switch(a.label){case 0:return a.trys.push([0,4,,5]),null===(w=m=null==(i=null==n?void 0:n.condition)?void 0:i.call(n,e,{getState:c,extra:s}))||"object"!=typeof w||"function"!=typeof w.then?[3,2]:[4,m];case 1:m=a.sent(),a.label=2;case 2:if(!1===m||p.signal.aborted)throw {name:"ConditionError",message:"Aborted due to condition callback returning false."};return g=new Promise((function(e,t){return p.signal.addEventListener("abort",(function(){return t({name:"AbortError",message:f||"Aborted"})}))})),l(o(d,e,null==(v=null==n?void 0:n.getPendingMeta)?void 0:v.call(n,{requestId:d,arg:e},{getState:c,extra:s}))),[4,Promise.race([g,Promise.resolve(t(e,{dispatch:l,getState:c,extra:s,requestId:d,signal:p.signal,abort:h,rejectWithValue:function(e,t){return new mt(e,t)},fulfillWithValue:function(e,t){return new gt(e,t)}})).then((function(t){if(t instanceof mt)throw t;return t instanceof gt?r(t.payload,d,e,t.meta):r(t,d,e)}))])];case 3:return y=a.sent(),[3,5];case 4:return b=a.sent(),y=b instanceof mt?u(null,d,e,b.payload,b.meta):u(b,d,e),[3,5];case 5:return n&&!n.dispatchConditionRejection&&u.match(y)&&y.meta.condition||l(y),[2,y]}var w;}))}))}();return Object.assign(v,{abort:h,requestId:d,arg:e,unwrap:function(){return v.then(St)}})}}),{pending:o,rejected:u,fulfilled:r,typePrefix:e})}return e.withTypes=function(){return e},e}();function St(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}var kt=function(e,t){return (n=e)&&"function"==typeof n.match?e.match(t):e(t);var n;};function xt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return e.some((function(e){return kt(e,t)}))}}function Et(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return e.every((function(e){return kt(e,t)}))}}function Ct(e,t){if(!e||!e.meta)return !1;var n="string"==typeof e.meta.requestId,r=t.indexOf(e.meta.requestStatus)>-1;return n&&r}function Ot(e){return "function"==typeof e[0]&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function _t(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?function(e){return Ct(e,["pending"])}:Ot(e)?function(t){var n=e.map((function(e){return e.pending}));return xt.apply(void 0,n)(t)}:_t()(e[0])}function Pt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?function(e){return Ct(e,["rejected"])}:Ot(e)?function(t){var n=e.map((function(e){return e.rejected}));return xt.apply(void 0,n)(t)}:Pt()(e[0])}function Tt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=function(e){return e&&e.meta&&e.meta.rejectedWithValue};return 0===e.length||Ot(e)?function(t){return Et(Pt.apply(void 0,e),n)(t)}:Tt()(e[0])}function Rt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?function(e){return Ct(e,["fulfilled"])}:Ot(e)?function(t){var n=e.map((function(e){return e.fulfilled}));return xt.apply(void 0,n)(t)}:Rt()(e[0])}function Nt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?function(e){return Ct(e,["pending","fulfilled","rejected"])}:Ot(e)?function(t){for(var n=[],r=0,a=e;r<a.length;r++){var o=a[r];n.push(o.pending,o.rejected,o.fulfilled);}return xt.apply(void 0,n)(t)}:Nt()(e[0])}"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function e(e,t){var n=a[e];return n?n.enumerable=t:a[e]=n={configurable:!0,enumerable:t,get:function(){return ze.get(this[Pe],e)},set:function(t){ze.set(this[Pe],e,t);}},n}function t(e){for(var t=e.length-1;t>=0;t--){var a=e[t][Pe];if(!a.P)switch(a.i){case 5:r(a)&&ge(a);break;case 4:n(a)&&ge(a);}}}function n(e){for(var t=e.t,n=e.k,r=Re(n),a=r.length-1;a>=0;a--){var o=r[a];if(o!==Pe){var u=t[o];if(void 0===u&&!B(t,o))return !0;var i=n[o],l=i&&i[Pe];if(l?l.t!==u:!Y(i,u))return !0}}var c=!!t[Pe];return r.length!==Re(t).length+(c?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return !0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return !0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return !0;return !1}var a={};oe("ES5",{J:function(t,n){var r=Array.isArray(t),a=function(t,n){if(t){for(var r=Array(n.length),a=0;a<n.length;a++)Object.defineProperty(r,""+a,e(a,!0));return r}var o=Ne(n);delete o[Pe];for(var u=Re(o),i=0;i<u.length;i++){var l=u[i];o[l]=e(l,t||!!o[l].enumerable);}return Object.create(Object.getPrototypeOf(n),o)}(r,t),o={i:r?5:4,A:n?n.A:ue(),P:!1,I:!1,R:{},l:n,t:t,k:a,o:null,g:!1,C:!1};return Object.defineProperty(a,Pe,{value:o,writable:!0}),a},S:function(e,n,a){a?$(n)&&n[Pe].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[Pe];if(n){var a=n.t,o=n.k,u=n.R,i=n.i;if(4===i)K(o,(function(t){t!==Pe&&(void 0!==a[t]||B(a,t)?u[t]||e(o[t]):(u[t]=!0,ge(n)));})),K(a,(function(e){void 0!==o[e]||B(o,e)||(u[e]=!1,ge(n));}));else if(5===i){if(r(n)&&(ge(n),u.length=!0),o.length<a.length)for(var l=o.length;l<a.length;l++)u[l]=!1;else for(var c=a.length;c<o.length;c++)u[c]=!0;for(var s=Math.min(o.length,a.length),f=0;f<s;f++)o.hasOwnProperty(f)||(u[f]=!0),void 0===u[f]&&e(o[f]);}}}}(e.p[0]),t(e.p));},K:function(e){return 4===e.i?n(e):r(e)}});}();var jt=at;function zt(e,t){if(e===t||!(jt(e)&&jt(t)||Array.isArray(e)&&Array.isArray(t)))return t;for(var n=Object.keys(t),r=Object.keys(e),a=n.length===r.length,o=Array.isArray(t)?[]:{},u=0,i=n;u<i.length;u++){var l=i[u];o[l]=zt(e[l],t[l]),a&&(a=e[l]===o[l]);}return a?e:o}var Mt=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return fetch.apply(void 0,e)},At=function(e){return e.status>=200&&e.status<=299},It=function(e){return /ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"")};function Lt(e){if(!at(e))return e;for(var t=m({},e),n=0,r=Object.entries(t);n<r.length;n++){var a=r[n];void 0===a[1]&&delete t[a[0]];}return t}function Dt(e){var t=this;void 0===e&&(e={});var n=e.baseUrl,r=e.prepareHeaders,o=void 0===r?function(e){return e}:r,u=e.fetchFn,i=void 0===u?Mt:u,l=e.paramsSerializer,c=e.isJsonContentType,s=void 0===c?It:c,f=e.jsonContentType,d=void 0===f?"application/json":f,p=e.jsonReplacer,h=e.timeout,v=e.responseHandler,y=e.validateStatus,w=b(e,["baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","jsonContentType","jsonReplacer","timeout","responseHandler","validateStatus"]);return "undefined"==typeof fetch&&i===Mt&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),function(e,r){return k(t,null,(function(){var t,u,c,f,k,x,E,C,O,_,P,T,R,N,j,z,M,A,I,L,D,F,q,Q,U,$,V,K,W,B,H,X,Y,J,G,Z;return a(this,(function(a){switch(a.label){case 0:return t=r.signal,u=r.getState,c=r.extra,f=r.endpoint,k=r.forced,x=r.type,O=(C="string"==typeof e?{url:e}:e).url,P=void 0===(_=C.headers)?new Headers(w.headers):_,R=void 0===(T=C.params)?void 0:T,j=void 0===(N=C.responseHandler)?null!=v?v:"json":N,M=void 0===(z=C.validateStatus)?null!=y?y:At:z,I=void 0===(A=C.timeout)?h:A,L=b(C,["url","headers","params","responseHandler","validateStatus","timeout"]),D=m(g(m({},w),{signal:t}),L),P=new Headers(Lt(P)),F=D,[4,o(P,{getState:u,extra:c,endpoint:f,forced:k,type:x})];case 1:F.headers=a.sent()||P,q=function(e){return "object"==typeof e&&(at(e)||Array.isArray(e)||"function"==typeof e.toJSON)},!D.headers.has("content-type")&&q(D.body)&&D.headers.set("content-type",d),q(D.body)&&s(D.headers)&&(D.body=JSON.stringify(D.body,p)),R&&(Q=~O.indexOf("?")?"&":"?",U=l?l(R):new URLSearchParams(Lt(R)),O+=Q+U),O=function(e,t){if(!e)return t;if(!t)return e;if(function(e){return new RegExp("(^|:)//").test(e)}(t))return t;var n=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=function(e){return e.replace(/\/$/,"")}(e),""+e+n+function(e){return e.replace(/^\//,"")}(t)}(n,O),$=new Request(O,D),V=new Request(O,D),E={request:V},W=!1,B=I&&setTimeout((function(){W=!0,r.abort();}),I),a.label=2;case 2:return a.trys.push([2,4,5,6]),[4,i($)];case 3:return K=a.sent(),[3,6];case 4:return H=a.sent(),[2,{error:{status:W?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(H)},meta:E}];case 5:return B&&clearTimeout(B),[7];case 6:X=K.clone(),E.response=X,J="",a.label=7;case 7:return a.trys.push([7,9,,10]),[4,Promise.all([S(K,j).then((function(e){return Y=e}),(function(e){return G=e})),X.text().then((function(e){return J=e}),(function(){}))])];case 8:if(a.sent(),G)throw G;return [3,10];case 9:return Z=a.sent(),[2,{error:{status:"PARSING_ERROR",originalStatus:K.status,data:J,error:String(Z)},meta:E}];case 10:return [2,M(K,Y)?{data:Y,meta:E}:{error:{status:K.status,data:Y},meta:E}]}}))}))};function S(e,t){return k(this,null,(function(){var n;return a(this,(function(r){switch(r.label){case 0:return "function"==typeof t?[2,t(e)]:("content-type"===t&&(t=s(e.headers)?"json":"text"),"json"!==t?[3,2]:[4,e.text()]);case 1:return [2,(n=r.sent()).length?JSON.parse(n):null];case 2:return [2,e.text()]}}))}))}}var Ft=function(e,t){void 0===t&&(t=void 0),this.value=e,this.meta=t;};function qt(e,t){return void 0===e&&(e=0),void 0===t&&(t=5),k(this,null,(function(){var n,r;return a(this,(function(a){switch(a.label){case 0:return n=Math.min(e,t),r=~~((Math.random()+.4)*(300<<n)),[4,new Promise((function(e){return setTimeout((function(t){return e(t)}),r)}))];case 1:return a.sent(),[2]}}))}))}var Qt,Ut,$t={},Vt=Object.assign((function(e,t){return function(n,r,o){return k(void 0,null,(function(){var u,i,l,c,s,f,d;return a(this,(function(a){switch(a.label){case 0:u=[5,(t||$t).maxRetries,(o||$t).maxRetries].filter((function(e){return void 0!==e})),i=u.slice(-1)[0],l=function(e,t,n){return n.attempt<=i},c=m(m({maxRetries:i,backoff:qt,retryCondition:l},t),o),s=0,a.label=1;case 1:a.label=2;case 2:return a.trys.push([2,4,,6]),[4,e(n,r,o)];case 3:if((f=a.sent()).error)throw new Ft(f);return [2,f];case 4:if(d=a.sent(),s++,d.throwImmediately){if(d instanceof Ft)return [2,d.value];throw d}return d instanceof Ft&&!c.retryCondition(d.value.error,n,{attempt:s,baseQueryApi:r,extraOptions:o})?[2,d.value]:[4,c.backoff(s,c.maxRetries)];case 5:return a.sent(),[3,6];case 6:return [3,1];case 7:return [2]}}))}))}}),{fail:function(e){throw Object.assign(new Ft({error:e}),{throwImmediately:!0})}}),Kt=lt("__rtkq/focused"),Wt=lt("__rtkq/unfocused"),Bt=lt("__rtkq/online"),Ht=lt("__rtkq/offline"),Xt=!1;function Yt(e,t){return t?t(e,{onFocus:Kt,onFocusLost:Wt,onOffline:Ht,onOnline:Bt}):(n=function(){return e(Kt())},r=function(){return e(Bt())},a=function(){return e(Ht())},o=function(){"visible"===window.document.visibilityState?n():e(Wt());},Xt||"undefined"!=typeof window&&window.addEventListener&&(window.addEventListener("visibilitychange",o,!1),window.addEventListener("focus",n,!1),window.addEventListener("online",r,!1),window.addEventListener("offline",a,!1),Xt=!0),function(){window.removeEventListener("focus",n),window.removeEventListener("visibilitychange",o),window.removeEventListener("online",r),window.removeEventListener("offline",a),Xt=!1;});var n,r,a,o;}function Jt(e){return e.type===Qt.query}function Gt(e){return e.type===Qt.mutation}function Zt(e,t,n,r,a,o){return "function"==typeof e?e(t,n,r,a).map(en).map(o):Array.isArray(e)?e.map(en).map(o):[]}function en(e){return "string"==typeof e?{type:e}:e}function tn(e){return null!=e}(Ut=Qt||(Qt={})).query="query",Ut.mutation="mutation";var nn=Symbol("forceQueryFn"),rn=function(e){return "function"==typeof e[nn]};function an(e){return e}function on(e,t,n,r){return Zt(n[e.meta.arg.endpointName][t],Rt(e)?e.payload:void 0,Tt(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,r)}function un(e,t,n){var r=e[t];r&&n(r);}function ln(e){var t;return null!=(t="arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)?t:e.requestId}function cn(e,t,n){var r=e[ln(t)];r&&n(r);}var sn={},fn=Symbol.for("RTKQ/skipToken"),dn=fn,pn={status:exports.QueryStatus.uninitialized},hn=Fe(pn,(function(){})),vn=Fe(pn,(function(){})),yn=WeakMap?new WeakMap:void 0,mn=function(e){var t=e.endpointName,n=e.queryArgs,r="",a=null==yn?void 0:yn.get(n);if("string"==typeof a)r=a;else {var o=JSON.stringify(n,(function(e,t){return at(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}));at(n)&&(null==yn||yn.set(n,o)),r=o;}return t+"("+r+")"};function gn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){var n=Ze((function(e){var n,r;return null==(r=t.extractRehydrationInfo)?void 0:r.call(t,e,{reducerPath:null!=(n=t.reducerPath)?n:"api"})})),r=g(m({reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1},t),{extractRehydrationInfo:n,serializeQueryArgs:function(e){var n=mn;if("serializeQueryArgs"in e.endpointDefinition){var r=e.endpointDefinition.serializeQueryArgs;n=function(e){var t=r(e);return "string"==typeof t?t:mn(g(m({},e),{queryArgs:t}))};}else t.serializeQueryArgs&&(n=t.serializeQueryArgs);return n(e)},tagTypes:o([],t.tagTypes||[])}),a={endpointDefinitions:{},batch:function(e){e();},apiUid:vt(),extractRehydrationInfo:n,hasRehydrationInfo:Ze((function(e){return null!=n(e)}))},u={injectEndpoints:function(e){for(var t=e.endpoints({query:function(e){return g(m({},e),{type:Qt.query})},mutation:function(e){return g(m({},e),{type:Qt.mutation})}}),n=0,r=Object.entries(t);n<r.length;n++){var o=r[n],l=o[0],c=o[1];if(e.overrideExisting||!(l in a.endpointDefinitions)){a.endpointDefinitions[l]=c;for(var s=0,f=i;s<f.length;s++)f[s].injectEndpoint(l,c);}}return u},enhanceEndpoints:function(e){var t=e.addTagTypes,n=e.endpoints;if(t)for(var o=0,i=t;o<i.length;o++){var l=i[o];r.tagTypes.includes(l)||r.tagTypes.push(l);}if(n)for(var c=0,s=Object.entries(n);c<s.length;c++){var f=s[c],d=f[0],p=f[1];"function"==typeof p?p(a.endpointDefinitions[d]):Object.assign(a.endpointDefinitions[d]||{},p);}return u}},i=e.map((function(e){return e.init(u,r,a)}));return u.injectEndpoints({endpoints:t.endpoints})}}function bn(){return function(){throw new Error("When using `fakeBaseQuery`, all queries & mutations must use the `queryFn` definition syntax.")}}var wn,Sn=function(e){var t=e.reducerPath,n=e.api,r=e.context,a=e.internalState,o=n.internalActions,u=o.removeQueryResult,i=o.unsubscribeQueryResult;function l(e){var t=a.currentSubscriptions[e];return !!t&&!function(e){for(var t in e)return !1;return !0}(t)}var c={};function s(e,t,n,a){var o,i=r.endpointDefinitions[t],s=null!=(o=null==i?void 0:i.keepUnusedDataFor)?o:a.keepUnusedDataFor;if(Infinity!==s){var f=Math.max(0,Math.min(s,2147482.647));if(!l(e)){var d=c[e];d&&clearTimeout(d),c[e]=setTimeout((function(){l(e)||n.dispatch(u({queryCacheKey:e})),delete c[e];}),1e3*f);}}}return function(e,a,o){var u;if(i.match(e)){var l=a.getState()[t];s(b=e.payload.queryCacheKey,null==(u=l.queries[b])?void 0:u.endpointName,a,l.config);}if(n.util.resetApiState.match(e))for(var f=0,d=Object.entries(c);f<d.length;f++){var p=d[f],h=p[0],v=p[1];v&&clearTimeout(v),delete c[h];}if(r.hasRehydrationInfo(e)){l=a.getState()[t];for(var y=r.extractRehydrationInfo(e).queries,m=0,g=Object.entries(y);m<g.length;m++){var b,w=g[m],S=w[1];s(b=w[0],null==S?void 0:S.endpointName,a,l.config);}}}},kn=function(e){var n=e.reducerPath,r=e.context,a=e.context.endpointDefinitions,o=e.mutationThunk,u=e.api,i=e.assertTagType,l=e.refetchQuery,c=u.internalActions.removeQueryResult,s=xt(Rt(o),Tt(o));function f(e,a){var o=a.getState(),i=o[n],s=u.util.selectInvalidatedBy(o,e);r.batch((function(){for(var e,n=0,r=Array.from(s.values());n<r.length;n++){var o=r[n].queryCacheKey,u=i.queries[o],f=null!=(e=i.subscriptions[o])?e:{};u&&(0===Object.keys(f).length?a.dispatch(c({queryCacheKey:o})):u.status!==exports.QueryStatus.uninitialized&&a.dispatch(l(u,o)));}}));}return function(e,t){s(e)&&f(on(e,"invalidatesTags",a,i),t),u.util.invalidateTags.match(e)&&f(Zt(e.payload,void 0,void 0,void 0,void 0,i),t);}},xn=function(e){var n=e.reducerPath,r=e.queryThunk,a=e.api,o=e.refetchQuery,u=e.internalState,i={};function l(e,r){var a=e.queryCacheKey,l=r.getState()[n].queries[a];if(l&&l.status!==exports.QueryStatus.uninitialized){var c=f(u.currentSubscriptions[a]);if(Number.isFinite(c)){var s=i[a];(null==s?void 0:s.timeout)&&(clearTimeout(s.timeout),s.timeout=void 0);var d=Date.now()+c,p=i[a]={nextPollTimestamp:d,pollingInterval:c,timeout:setTimeout((function(){p.timeout=void 0,r.dispatch(o(l,a));}),c)};}}}function c(e,r){var a=e.queryCacheKey,o=r.getState()[n].queries[a];if(o&&o.status!==exports.QueryStatus.uninitialized){var c=f(u.currentSubscriptions[a]);if(Number.isFinite(c)){var d=i[a],p=Date.now()+c;(!d||p<d.nextPollTimestamp)&&l({queryCacheKey:a},r);}else s(a);}}function s(e){var t=i[e];(null==t?void 0:t.timeout)&&clearTimeout(t.timeout),delete i[e];}function f(e){void 0===e&&(e={});var t=Number.POSITIVE_INFINITY;for(var n in e)e[n].pollingInterval&&(t=Math.min(e[n].pollingInterval,t));return t}return function(e,t){(a.internalActions.updateSubscriptionOptions.match(e)||a.internalActions.unsubscribeQueryResult.match(e))&&c(e.payload,t),(r.pending.match(e)||r.rejected.match(e)&&e.meta.condition)&&c(e.meta.arg,t),(r.fulfilled.match(e)||r.rejected.match(e)&&!e.meta.condition)&&l(e.meta.arg,t),a.util.resetApiState.match(e)&&function(){for(var e=0,t=Object.keys(i);e<t.length;e++)s(t[e]);}();}},En=new Error("Promise never resolved before cacheEntryRemoved."),Cn=function(e){var t=e.api,n=e.reducerPath,r=e.context,a=e.queryThunk,o=e.mutationThunk,u=Nt(a),i=Nt(o),l=Rt(a,o),c={};function s(e,n,a,o,u){var i=r.endpointDefinitions[e],l=null==i?void 0:i.onCacheEntryAdded;if(l){var s={},f=new Promise((function(e){s.cacheEntryRemoved=e;})),d=Promise.race([new Promise((function(e){s.valueResolved=e;})),f.then((function(){throw En}))]);d.catch((function(){})),c[a]=s;var p=t.endpoints[e].select(i.type===Qt.query?n:a),h=o.dispatch((function(e,t,n){return n})),v=g(m({},o),{getCacheEntry:function(){return p(o.getState())},requestId:u,extra:h,updateCachedData:i.type===Qt.query?function(r){return o.dispatch(t.util.updateQueryData(e,n,r))}:void 0,cacheDataLoaded:d,cacheEntryRemoved:f}),y=l(n,v);Promise.resolve(y).catch((function(e){if(e!==En)throw e}));}}return function(e,r,f){var d=function(e){return u(e)?e.meta.arg.queryCacheKey:i(e)?e.meta.requestId:t.internalActions.removeQueryResult.match(e)?e.payload.queryCacheKey:t.internalActions.removeMutationResult.match(e)?ln(e.payload):""}(e);if(a.pending.match(e)){var p=f[n].queries[d],h=r.getState()[n].queries[d];!p&&h&&s(e.meta.arg.endpointName,e.meta.arg.originalArgs,d,r,e.meta.requestId);}else if(o.pending.match(e))(h=r.getState()[n].mutations[d])&&s(e.meta.arg.endpointName,e.meta.arg.originalArgs,d,r,e.meta.requestId);else if(l(e))(null==(g=c[d])?void 0:g.valueResolved)&&(g.valueResolved({data:e.payload,meta:e.meta.baseQueryMeta}),delete g.valueResolved);else if(t.internalActions.removeQueryResult.match(e)||t.internalActions.removeMutationResult.match(e))(g=c[d])&&(delete c[d],g.cacheEntryRemoved());else if(t.util.resetApiState.match(e))for(var v=0,y=Object.entries(c);v<y.length;v++){var m=y[v],g=m[1];delete c[m[0]],g.cacheEntryRemoved();}}},On=function(e){var t=e.api,n=e.context,r=e.queryThunk,a=e.mutationThunk,o=_t(r,a),u=Pt(r,a),i=Rt(r,a),l={};return function(e,r){var a,c,s;if(o(e)){var f=e.meta,d=f.requestId,p=f.arg,h=p.endpointName,v=p.originalArgs,y=n.endpointDefinitions[h],b=null==y?void 0:y.onQueryStarted;if(b){var w={},S=new Promise((function(e,t){w.resolve=e,w.reject=t;}));S.catch((function(){})),l[d]=w;var k=t.endpoints[h].select(y.type===Qt.query?v:d),x=r.dispatch((function(e,t,n){return n})),E=g(m({},r),{getCacheEntry:function(){return k(r.getState())},requestId:d,extra:x,updateCachedData:y.type===Qt.query?function(e){return r.dispatch(t.util.updateQueryData(h,v,e))}:void 0,queryFulfilled:S});b(v,E);}}else if(i(e)){var C=e.meta,O=C.baseQueryMeta;null==(a=l[d=C.requestId])||a.resolve({data:e.payload,meta:O}),delete l[d];}else if(u(e)){var _=e.meta;O=_.baseQueryMeta,null==(s=l[d=_.requestId])||s.reject({error:null!=(c=e.payload)?c:e.error,isUnhandledError:!_.rejectedWithValue,meta:O}),delete l[d];}}},_n=function(e){var t=e.api,n=e.context.apiUid;return function(e,r){t.util.resetApiState.match(e)&&r.dispatch(t.internalActions.middlewareRegistered(n));}},Pn="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis):function(e){return (wn||(wn=Promise.resolve())).then(e).catch((function(e){return setTimeout((function(){throw e}),0)}))};function Tn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];Object.assign.apply(Object,o([e],t));}var Rn=Symbol(),Nn=function(){return {name:Rn,init:function(e,n,r){var u=n.baseQuery,i=n.reducerPath,l=n.serializeQueryArgs,c=n.keepUnusedDataFor,s=n.refetchOnMountOrArgChange,f=n.refetchOnFocus,d=n.refetchOnReconnect;!function(){function e(t){if(!V(t))return t;if(Array.isArray(t))return t.map(e);if(J(t))return new Map(Array.from(t.entries()).map((function(t){return [t[0],e(t[1])]})));if(G(t))return new Set(Array.from(t).map(e));var n=Object.create(Object.getPrototypeOf(t));for(var r in t)n[r]=e(t[r]);return B(t,_e)&&(n[_e]=t[_e]),n}function t(t){return $(t)?e(t):t}var n="add";oe("Patches",{$:function(t,r){return r.forEach((function(r){for(var a=r.path,o=r.op,u=t,i=0;i<a.length-1;i++){var l=W(u),c=a[i];"string"!=typeof c&&"number"!=typeof c&&(c=""+c),0!==l&&1!==l||"__proto__"!==c&&"constructor"!==c||U(24),"function"==typeof u&&"prototype"===c&&U(24),"object"!=typeof(u=H(u,c))&&U(15,a.join("/"));}var s=W(u),f=e(r.value),d=a[a.length-1];switch(o){case"replace":switch(s){case 2:return u.set(d,f);case 3:U(16);default:return u[d]=f}case n:switch(s){case 1:return "-"===d?u.push(f):u.splice(d,0,f);case 2:return u.set(d,f);case 3:return u.add(f);default:return u[d]=f}case"remove":switch(s){case 1:return u.splice(d,1);case 2:return u.delete(d);case 3:return u.delete(r.value);default:return delete u[d]}default:U(17,o);}})),t},N:function(e,r,a,o){switch(e.i){case 0:case 4:case 2:return i=r,l=a,c=o,s=(u=e).t,f=u.o,void K(u.R,(function(e,r){var a=H(s,e),o=H(f,e),u=r?B(s,e)?"replace":n:"remove";if(a!==o||"replace"!==u){var d=i.concat(e);l.push("remove"===u?{op:u,path:d}:{op:u,path:d,value:o}),c.push(u===n?{op:"remove",path:d}:"remove"===u?{op:n,path:d,value:t(a)}:{op:"replace",path:d,value:t(a)});}}));case 5:case 1:return function(e,r,a,o){var u=e.t,i=e.R,l=e.o;if(l.length<u.length){var c=[l,u];u=c[0],l=c[1];var s=[o,a];a=s[0],o=s[1];}for(var f=0;f<u.length;f++)if(i[f]&&l[f]!==u[f]){var d=r.concat([f]);a.push({op:"replace",path:d,value:t(l[f])}),o.push({op:"replace",path:d,value:t(u[f])});}for(var p=u.length;p<l.length;p++){var h=r.concat([p]);a.push({op:n,path:h,value:t(l[p])});}u.length<l.length&&o.push({op:"replace",path:r.concat(["length"]),value:u.length});}(e,r,a,o);case 3:return function(e,t,r,a){var o=e.t,u=e.o,i=0;o.forEach((function(e){if(!u.has(e)){var o=t.concat([i]);r.push({op:"remove",path:o,value:e}),a.unshift({op:n,path:o,value:e});}i++;})),i=0,u.forEach((function(e){if(!o.has(e)){var u=t.concat([i]);r.push({op:n,path:u,value:e}),a.unshift({op:"remove",path:u,value:e});}i++;}));}(e,r,a,o)}var u,i,l,c,s,f;},M:function(e,t,n,r){n.push({op:"replace",path:[],value:t===Oe?void 0:t}),r.push({op:"replace",path:[],value:e});}});}();var p=function(e){return e};Object.assign(e,{reducerPath:i,endpoints:{},internalActions:{onOnline:Bt,onOffline:Ht,onFocus:Kt,onFocusLost:Wt},util:{}});var h=function(e){var n=this,r=e.reducerPath,o=e.baseQuery,u=e.context.endpointDefinitions,i=e.serializeQueryArgs,l=e.api,c=e.assertTagType,s=function(e,t){return k(n,[e,t],(function(e,t){var n,r,i,l,c,s,d,p,h,v,y,m,g,b=t.signal,w=t.abort,S=t.rejectWithValue,k=t.fulfillWithValue,x=t.dispatch,E=t.getState,C=t.extra;return a(this,(function(t){switch(t.label){case 0:n=u[e.endpointName],t.label=1;case 1:return t.trys.push([1,8,,13]),r=an,i=void 0,l={signal:b,abort:w,dispatch:x,getState:E,extra:C,endpoint:e.endpointName,type:e.type,forced:"query"===e.type?f(e,E()):void 0},(c="query"===e.type?e[nn]:void 0)?(i=c(),[3,6]):[3,2];case 2:return n.query?[4,o(n.query(e.originalArgs),l,n.extraOptions)]:[3,4];case 3:return i=t.sent(),n.transformResponse&&(r=n.transformResponse),[3,6];case 4:return [4,n.queryFn(e.originalArgs,l,n.extraOptions,(function(e){return o(e,l,n.extraOptions)}))];case 5:i=t.sent(),t.label=6;case 6:if(i.error)throw new Ft(i.error,i.meta);return s=k,[4,r(i.data,i.meta,e.originalArgs)];case 7:return [2,s.apply(void 0,[t.sent(),(m={fulfilledTimeStamp:Date.now(),baseQueryMeta:i.meta},m.RTK_autoBatch=!0,m)])];case 8:if(d=t.sent(),!((p=d)instanceof Ft))return [3,12];h=an,n.query&&n.transformErrorResponse&&(h=n.transformErrorResponse),t.label=9;case 9:return t.trys.push([9,11,,12]),v=S,[4,h(p.value,p.meta,e.originalArgs)];case 10:return [2,v.apply(void 0,[t.sent(),(g={baseQueryMeta:p.meta},g.RTK_autoBatch=!0,g)])];case 11:return y=t.sent(),p=y,[3,12];case 12:throw console.error(p),p;case 13:return [2]}}))}))};function f(e,t){var n,a,o,u,i=null==(a=null==(n=t[r])?void 0:n.queries)?void 0:a[e.queryCacheKey],l=null==(o=t[r])?void 0:o.config.refetchOnMountOrArgChange,c=null==i?void 0:i.fulfilledTimeStamp,s=null!=(u=e.forceRefetch)?u:e.subscribe&&l;return !!s&&(!0===s||(Number(new Date)-Number(c))/1e3>=s)}var d=wt(r+"/executeQuery",s,{getPendingMeta:function(){var e;return (e={startedTimeStamp:Date.now()}).RTK_autoBatch=!0,e},condition:function(e,t){var n,a,o,i=(0, t.getState)(),l=null==(a=null==(n=i[r])?void 0:n.queries)?void 0:a[e.queryCacheKey],c=null==l?void 0:l.fulfilledTimeStamp,s=e.originalArgs,d=null==l?void 0:l.originalArgs,p=u[e.endpointName];return !(!rn(e)&&("pending"===(null==l?void 0:l.status)||!f(e,i)&&(!Jt(p)||!(null==(o=null==p?void 0:p.forceRefetch)?void 0:o.call(p,{currentArg:s,previousArg:d,endpointState:l,state:i})))&&c))},dispatchConditionRejection:!0}),p=wt(r+"/executeMutation",s,{getPendingMeta:function(){var e;return (e={startedTimeStamp:Date.now()}).RTK_autoBatch=!0,e}});function h(e){return function(t){var n,r;return (null==(r=null==(n=null==t?void 0:t.meta)?void 0:n.arg)?void 0:r.endpointName)===e}}return {queryThunk:d,mutationThunk:p,prefetch:function(e,t,n){return function(r,a){var o=function(e){return "force"in e}(n)&&n.force,u=function(e){return "ifOlderThan"in e}(n)&&n.ifOlderThan,i=function(n){return void 0===n&&(n=!0),l.endpoints[e].initiate(t,{forceRefetch:n})},c=l.endpoints[e].select(t)(a());if(o)r(i());else if(u){var s=null==c?void 0:c.fulfilledTimeStamp;if(!s)return void r(i());(Number(new Date)-Number(new Date(s)))/1e3>=u&&r(i());}else r(i(!1));}},updateQueryData:function(e,n,r,a){return void 0===a&&(a=!0),function(o,u){var i,c,s,f=l.endpoints[e].select(n)(u()),d={patches:[],inversePatches:[],undo:function(){return o(l.util.patchQueryData(e,n,d.inversePatches,a))}};if(f.status===exports.QueryStatus.uninitialized)return d;if("data"in f)if(V(f.data)){var p=Le(f.data,r),h=p[0],v=p[2];(i=d.patches).push.apply(i,p[1]),(c=d.inversePatches).push.apply(c,v),s=h;}else s=r(f.data),d.patches.push({op:"replace",path:[],value:s}),d.inversePatches.push({op:"replace",path:[],value:f.data});return o(l.util.patchQueryData(e,n,d.patches,a)),d}},upsertQueryData:function(e,t,n){return function(r){var a;return r(l.endpoints[e].initiate(t,((a={subscribe:!1,forceRefetch:!0})[nn]=function(){return {data:n}},a)))}},patchQueryData:function(e,t,n,r){return function(a,o){var s=u[e],f=i({queryArgs:t,endpointDefinition:s,endpointName:e});if(a(l.internalActions.queryResultPatched({queryCacheKey:f,patches:n})),r){var d=l.endpoints[e].select(t)(o()),p=Zt(s.providesTags,d.data,void 0,t,{},c);a(l.internalActions.updateProvidedBy({queryCacheKey:f,providedTags:p}));}}},buildMatchThunkActions:function(e,t){return {matchPending:Et(_t(e),h(t)),matchFulfilled:Et(Rt(e),h(t)),matchRejected:Et(Pt(e),h(t))}}}}({baseQuery:u,reducerPath:i,context:r,api:e,serializeQueryArgs:l,assertTagType:p}),v=h.queryThunk,y=h.mutationThunk,b=h.patchQueryData,w=h.updateQueryData,S=h.upsertQueryData,x=h.prefetch,E=h.buildMatchThunkActions,C=function(e){var n=e.reducerPath,r=e.queryThunk,a=e.mutationThunk,o=e.context,u=o.endpointDefinitions,i=o.apiUid,l=o.extractRehydrationInfo,c=o.hasRehydrationInfo,s=e.assertTagType,f=e.config,d=lt(n+"/resetApiState"),p=ht({name:n+"/queries",initialState:sn,reducers:{removeQueryResult:{reducer:function(e,t){delete e[t.payload.queryCacheKey];},prepare:function(e){var t;return {payload:e,meta:(t={},t.RTK_autoBatch=!0,t)}}},queryResultPatched:{reducer:function(e,t){var n=t.payload,r=n.patches;un(e,n.queryCacheKey,(function(e){e.data=De(e.data,r.concat());}));},prepare:function(e){var t;return {payload:e,meta:(t={},t.RTK_autoBatch=!0,t)}}}},extraReducers:function(e){e.addCase(r.pending,(function(e,n){var r,a=n.meta,o=n.meta.arg,u=rn(o);(o.subscribe||u)&&(null!=e[r=o.queryCacheKey]||(e[r]={status:exports.QueryStatus.uninitialized,endpointName:o.endpointName})),un(e,o.queryCacheKey,(function(e){e.status=exports.QueryStatus.pending,e.requestId=u&&e.requestId?e.requestId:a.requestId,void 0!==o.originalArgs&&(e.originalArgs=o.originalArgs),e.startedTimeStamp=a.startedTimeStamp;}));})).addCase(r.fulfilled,(function(e,n){var r=n.meta,a=n.payload;un(e,r.arg.queryCacheKey,(function(e){var n;if(e.requestId===r.requestId||rn(r.arg)){var o,i=u[r.arg.endpointName].merge;if(e.status=exports.QueryStatus.fulfilled,i)if(void 0!==e.data){var l=r.fulfilledTimeStamp,c=r.arg,s=r.baseQueryMeta,f=r.requestId,d=Fe(e.data,(function(e){return i(e,a,{arg:c.originalArgs,baseQueryMeta:s,fulfilledTimeStamp:l,requestId:f})}));e.data=d;}else e.data=a;else e.data=null==(n=u[r.arg.endpointName].structuralSharing)||n?zt($(e.data)?($(o=e.data)||U(23,o),o[Pe].t):e.data,a):a;delete e.error,e.fulfilledTimeStamp=r.fulfilledTimeStamp;}}));})).addCase(r.rejected,(function(e,n){var r=n.meta,a=r.condition,o=r.requestId,u=n.error,i=n.payload;un(e,r.arg.queryCacheKey,(function(e){if(a);else {if(e.requestId!==o)return;e.status=exports.QueryStatus.rejected,e.error=null!=i?i:u;}}));})).addMatcher(c,(function(e,n){for(var r=l(n).queries,a=0,o=Object.entries(r);a<o.length;a++){var u=o[a],i=u[1];(null==i?void 0:i.status)!==exports.QueryStatus.fulfilled&&(null==i?void 0:i.status)!==exports.QueryStatus.rejected||(e[u[0]]=i);}}));}}),h=ht({name:n+"/mutations",initialState:sn,reducers:{removeMutationResult:{reducer:function(e,t){var n=ln(t.payload);n in e&&delete e[n];},prepare:function(e){var t;return {payload:e,meta:(t={},t.RTK_autoBatch=!0,t)}}}},extraReducers:function(e){e.addCase(a.pending,(function(e,n){var r=n.meta,a=r.requestId,o=r.arg,u=r.startedTimeStamp;o.track&&(e[ln(n.meta)]={requestId:a,status:exports.QueryStatus.pending,endpointName:o.endpointName,startedTimeStamp:u});})).addCase(a.fulfilled,(function(e,n){var r=n.payload,a=n.meta;a.arg.track&&cn(e,a,(function(e){e.requestId===a.requestId&&(e.status=exports.QueryStatus.fulfilled,e.data=r,e.fulfilledTimeStamp=a.fulfilledTimeStamp);}));})).addCase(a.rejected,(function(e,n){var r=n.payload,a=n.error,o=n.meta;o.arg.track&&cn(e,o,(function(e){e.requestId===o.requestId&&(e.status=exports.QueryStatus.rejected,e.error=null!=r?r:a);}));})).addMatcher(c,(function(e,n){for(var r=l(n).mutations,a=0,o=Object.entries(r);a<o.length;a++){var u=o[a],i=u[0],c=u[1];(null==c?void 0:c.status)!==exports.QueryStatus.fulfilled&&(null==c?void 0:c.status)!==exports.QueryStatus.rejected||i===(null==c?void 0:c.requestId)||(e[i]=c);}}));}}),v=ht({name:n+"/invalidation",initialState:sn,reducers:{updateProvidedBy:{reducer:function(e,t){for(var n,r,a,o,u=t.payload,i=u.queryCacheKey,l=u.providedTags,c=0,s=Object.values(e);c<s.length;c++)for(var f=0,d=Object.values(s[c]);f<d.length;f++){var p=d[f],h=p.indexOf(i);-1!==h&&p.splice(h,1);}for(var v=0,y=l;v<y.length;v++){var m=y[v],g=m.type,b=m.id,w=null!=(o=(r=null!=(n=e[g])?n:e[g]={})[a=b||"__internal_without_id"])?o:r[a]=[];w.includes(i)||w.push(i);}},prepare:function(e){var t;return {payload:e,meta:(t={},t.RTK_autoBatch=!0,t)}}}},extraReducers:function(e){e.addCase(p.actions.removeQueryResult,(function(e,t){for(var n=t.payload.queryCacheKey,r=0,a=Object.values(e);r<a.length;r++)for(var o=0,u=Object.values(a[r]);o<u.length;o++){var i=u[o],l=i.indexOf(n);-1!==l&&i.splice(l,1);}})).addMatcher(c,(function(e,t){for(var n,r,a,o,u=l(t).provided,i=0,c=Object.entries(u);i<c.length;i++)for(var s=c[i],f=s[0],d=0,p=Object.entries(s[1]);d<p.length;d++)for(var h=p[d],v=h[0],y=h[1],m=null!=(o=(r=null!=(n=e[f])?n:e[f]={})[a=v||"__internal_without_id"])?o:r[a]=[],g=0,b=y;g<b.length;g++){var w=b[g];m.includes(w)||m.push(w);}})).addMatcher(xt(Rt(r),Tt(r)),(function(e,t){var n=on(t,"providesTags",u,s);v.caseReducers.updateProvidedBy(e,v.actions.updateProvidedBy({queryCacheKey:t.meta.arg.queryCacheKey,providedTags:n}));}));}}),y=ht({name:n+"/subscriptions",initialState:sn,reducers:{updateSubscriptionOptions:function(e,t){},unsubscribeQueryResult:function(e,t){},internal_probeSubscription:function(e,t){}}}),b=ht({name:n+"/internalSubscriptions",initialState:sn,reducers:{subscriptionsUpdated:{reducer:function(e,t){return De(e,t.payload)},prepare:function(e){var t;return {payload:e,meta:(t={},t.RTK_autoBatch=!0,t)}}}}}),w=ht({name:n+"/config",initialState:m({online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine,focused:"undefined"==typeof document||"hidden"!==document.visibilityState,middlewareRegistered:!1},f),reducers:{middlewareRegistered:function(e,t){e.middlewareRegistered="conflict"!==e.middlewareRegistered&&i===t.payload||"conflict";}},extraReducers:function(e){e.addCase(Bt,(function(e){e.online=!0;})).addCase(Ht,(function(e){e.online=!1;})).addCase(Kt,(function(e){e.focused=!0;})).addCase(Wt,(function(e){e.focused=!1;})).addMatcher(c,(function(e){return m({},e)}));}}),S=Xe({queries:p.reducer,mutations:h.reducer,provided:v.reducer,subscriptions:b.reducer,config:w.reducer});return {reducer:function(e,t){return S(d.match(t)?void 0:e,t)},actions:g(m(m(m(m(m(m({},w.actions),p.actions),y.actions),b.actions),h.actions),v.actions),{unsubscribeMutationResult:h.actions.removeMutationResult,resetApiState:d})}}({context:r,queryThunk:v,mutationThunk:y,reducerPath:i,assertTagType:p,config:{refetchOnFocus:f,refetchOnReconnect:d,refetchOnMountOrArgChange:s,keepUnusedDataFor:c,reducerPath:i}}),O=C.reducer,_=C.actions;Tn(e.util,{patchQueryData:b,updateQueryData:w,upsertQueryData:S,prefetch:x,resetApiState:_.resetApiState}),Tn(e.internalActions,_);var P=function(e){var n=e.reducerPath,r=e.queryThunk,a=e.api,o=e.context,u=o.apiUid,i={invalidateTags:lt(n+"/invalidateTags")},l=[_n,Sn,kn,xn,Cn,On];return {middleware:function(r){var i=!1,s=g(m({},e),{internalState:{currentSubscriptions:{}},refetchQuery:c}),f=l.map((function(e){return e(s)})),d=function(e){var t=e.api,n=e.queryThunk,r=e.internalState,a=t.reducerPath+"/subscriptions",o=null,u=!1,i=t.internalActions,l=i.updateSubscriptionOptions,c=i.unsubscribeQueryResult;return function(e,i){var s,f;if(o||(o=JSON.parse(JSON.stringify(r.currentSubscriptions))),t.util.resetApiState.match(e))return o=r.currentSubscriptions={},[!0,!1];if(t.internalActions.internal_probeSubscription.match(e)){var d=e.payload;return [!1,!!(null==(s=r.currentSubscriptions[d.queryCacheKey])?void 0:s[d.requestId])]}var p=function(e,r){var a,o,u,i,s,f,d,p,h;if(l.match(r)){var v=r.payload,y=v.queryCacheKey,m=v.requestId;return (null==(a=null==e?void 0:e[y])?void 0:a[m])&&(e[y][m]=v.options),!0}if(c.match(r)){var g=r.payload;return m=g.requestId,e[y=g.queryCacheKey]&&delete e[y][m],!0}if(t.internalActions.removeQueryResult.match(r))return delete e[r.payload.queryCacheKey],!0;if(n.pending.match(r)){var b=r.meta;if(m=b.requestId,(k=b.arg).subscribe)return (w=null!=(u=e[o=k.queryCacheKey])?u:e[o]={})[m]=null!=(s=null!=(i=k.subscriptionOptions)?i:w[m])?s:{},!0}if(n.rejected.match(r)){var w,S=r.meta,k=S.arg;if(m=S.requestId,S.condition&&k.subscribe)return (w=null!=(d=e[f=k.queryCacheKey])?d:e[f]={})[m]=null!=(h=null!=(p=k.subscriptionOptions)?p:w[m])?h:{},!0}return !1}(r.currentSubscriptions,e);if(p){u||(Pn((function(){var e=JSON.parse(JSON.stringify(r.currentSubscriptions)),n=Le(o,(function(){return e}));i.next(t.internalActions.subscriptionsUpdated(n[1])),o=e,u=!1;})),u=!0);var h=!!(null==(f=e.type)?void 0:f.startsWith(a)),v=n.rejected.match(e)&&e.meta.condition&&!!e.meta.arg.subscribe;return [!h&&!v,!1]}return [!0,!1]}}(s),p=function(e){var n=e.reducerPath,r=e.context,a=e.refetchQuery,o=e.internalState,u=e.api.internalActions.removeQueryResult;function i(e,i){var l=e.getState()[n],c=l.queries,s=o.currentSubscriptions;r.batch((function(){for(var n=0,r=Object.keys(s);n<r.length;n++){var o=r[n],f=c[o],d=s[o];d&&f&&(Object.values(d).some((function(e){return !0===e[i]}))||Object.values(d).every((function(e){return void 0===e[i]}))&&l.config[i])&&(0===Object.keys(d).length?e.dispatch(u({queryCacheKey:o})):f.status!==exports.QueryStatus.uninitialized&&e.dispatch(a(f,o)));}}));}return function(e,t){Kt.match(e)&&i(t,"refetchOnFocus"),Bt.match(e)&&i(t,"refetchOnReconnect");}}(s);return function(e){return function(t){i||(i=!0,r.dispatch(a.internalActions.middlewareRegistered(u)));var l,c=g(m({},r),{next:e}),s=r.getState(),h=d(t,c,s),v=h[1];if(l=h[0]?e(t):v,r.getState()[n]&&(p(t,c,s),function(e){return !!e&&"string"==typeof e.type&&e.type.startsWith(n+"/")}(t)||o.hasRehydrationInfo(t)))for(var y=0,b=f;y<b.length;y++)(0, b[y])(t,c,s);return l}}},actions:i};function c(e,t,n){return void 0===n&&(n={}),r(m({type:"query",endpointName:e.endpointName,originalArgs:e.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:t},n))}}({reducerPath:i,context:r,queryThunk:v,mutationThunk:y,api:e,assertTagType:p}),T=P.middleware;Tn(e.util,P.actions),Tn(e,{reducer:O,middleware:T});var R=function(e){var n=e.serializeQueryArgs,r=e.reducerPath,a=function(e){return hn},o=function(e){return vn};return {buildQuerySelector:function(e,t){return function(r){var o=n({queryArgs:r,endpointDefinition:t,endpointName:e});return nt(r===fn?a:function(e){var t,n,r;return null!=(r=null==(n=null==(t=i(e))?void 0:t.queries)?void 0:n[o])?r:hn},u)}},buildMutationSelector:function(){return function(e){var t,n;return n="object"==typeof e?null!=(t=ln(e))?t:fn:e,nt(n===fn?o:function(e){var t,r,a;return null!=(a=null==(r=null==(t=i(e))?void 0:t.mutations)?void 0:r[n])?a:vn},u)}},selectInvalidatedBy:function(e,t){for(var n,a=e[r],o=new Set,u=0,i=t.map(en);u<i.length;u++){var l=i[u],c=a.provided[l.type];if(c)for(var s=0,f=null!=(n=void 0!==l.id?c[l.id]:q(Object.values(c)))?n:[];s<f.length;s++)o.add(f[s]);}return q(Array.from(o.values()).map((function(e){var t=a.queries[e];return t?[{queryCacheKey:e,endpointName:t.endpointName,originalArgs:t.originalArgs}]:[]})))}};function u(e){return m(m({},e),{status:n=e.status,isUninitialized:n===exports.QueryStatus.uninitialized,isLoading:n===exports.QueryStatus.pending,isSuccess:n===exports.QueryStatus.fulfilled,isError:n===exports.QueryStatus.rejected});var n;}function i(e){return e[r]}}({serializeQueryArgs:l,reducerPath:i}),N=R.buildQuerySelector,j=R.buildMutationSelector;Tn(e.util,{selectInvalidatedBy:R.selectInvalidatedBy});var z=function(e){var t=e.serializeQueryArgs,n=e.queryThunk,r=e.mutationThunk,u=e.api,i=e.context,l=new Map,c=new Map,s=u.internalActions,f=s.unsubscribeQueryResult,d=s.removeMutationResult,p=s.updateSubscriptionOptions;return {buildInitiateQuery:function(e,r){var o=function(i,c){var s=void 0===c?{}:c,d=s.subscribe,h=void 0===d||d,v=s.forceRefetch,y=s.subscriptionOptions,m=s[nn];return function(c,s){var d,g,b=t({queryArgs:i,endpointDefinition:r,endpointName:e}),w=n(((d={type:"query",subscribe:h,forceRefetch:v,subscriptionOptions:y,endpointName:e,originalArgs:i,queryCacheKey:b})[nn]=m,d)),S=u.endpoints[e].select(i),x=c(w),E=S(s()),C=x.requestId,O=x.abort,_=E.requestId!==C,P=null==(g=l.get(c))?void 0:g[b],T=function(){return S(s())},R=Object.assign(m?x.then(T):_&&!P?Promise.resolve(E):Promise.all([P,x]).then(T),{arg:i,requestId:C,subscriptionOptions:y,queryCacheKey:b,abort:O,unwrap:function(){return k(this,null,(function(){var e;return a(this,(function(t){switch(t.label){case 0:return [4,R];case 1:if((e=t.sent()).isError)throw e.error;return [2,e.data]}}))}))},refetch:function(){return c(o(i,{subscribe:!1,forceRefetch:!0}))},unsubscribe:function(){h&&c(f({queryCacheKey:b,requestId:C}));},updateSubscriptionOptions:function(t){R.subscriptionOptions=t,c(p({endpointName:e,requestId:C,queryCacheKey:b,options:t}));}});if(!P&&!_&&!m){var N=l.get(c)||{};N[b]=R,l.set(c,N),R.then((function(){delete N[b],Object.keys(N).length||l.delete(c);}));}return R}};return o},buildInitiateMutation:function(e){return function(t,n){var a=void 0===n?{}:n,o=a.track,u=void 0===o||o,i=a.fixedCacheKey;return function(n,a){var o=r({type:"mutation",endpointName:e,originalArgs:t,track:u,fixedCacheKey:i}),l=n(o),s=l.requestId,f=l.abort,p=l.unwrap,h=l.unwrap().then((function(e){return {data:e}})).catch((function(e){return {error:e}})),v=function(){n(d({requestId:s,fixedCacheKey:i}));},y=Object.assign(h,{arg:l.arg,requestId:s,abort:f,unwrap:p,unsubscribe:v,reset:v}),m=c.get(n)||{};return c.set(n,m),m[s]=y,y.then((function(){delete m[s],Object.keys(m).length||c.delete(n);})),i&&(m[i]=y,y.then((function(){m[i]===y&&(delete m[i],Object.keys(m).length||c.delete(n));}))),y}}},getRunningQueryThunk:function(e,n){return function(r){var a,o=t({queryArgs:n,endpointDefinition:i.endpointDefinitions[e],endpointName:e});return null==(a=l.get(r))?void 0:a[o]}},getRunningMutationThunk:function(e,t){return function(e){var n;return null==(n=c.get(e))?void 0:n[t]}},getRunningQueriesThunk:function(){return function(e){return Object.values(l.get(e)||{}).filter(tn)}},getRunningMutationsThunk:function(){return function(e){return Object.values(c.get(e)||{}).filter(tn)}},getRunningOperationPromises:function(){var e=function(e){return Array.from(e.values()).flatMap((function(e){return e?Object.values(e):[]}))};return o(o([],e(l)),e(c)).filter(tn)},removalWarning:function(){throw new Error("This method had to be removed due to a conceptual bug in RTK.\n Please see https://github.com/reduxjs/redux-toolkit/pull/2481 for details.\n See https://redux-toolkit.js.org/rtk-query/usage/server-side-rendering for new guidance on SSR.")}}}({queryThunk:v,mutationThunk:y,api:e,serializeQueryArgs:l,context:r}),M=z.buildInitiateQuery,A=z.buildInitiateMutation;return Tn(e.util,{getRunningOperationPromises:z.getRunningOperationPromises,getRunningOperationPromise:z.removalWarning,getRunningMutationThunk:z.getRunningMutationThunk,getRunningMutationsThunk:z.getRunningMutationsThunk,getRunningQueryThunk:z.getRunningQueryThunk,getRunningQueriesThunk:z.getRunningQueriesThunk}),{name:Rn,injectEndpoint:function(t,n){var r,a=e;null!=(r=a.endpoints)[t]||(r[t]={}),Jt(n)?Tn(a.endpoints[t],{name:t,select:N(t,n),initiate:M(t,n)},E(v,t)):Gt(n)&&Tn(a.endpoints[t],{name:t,select:j(),initiate:A(t)},E(y,t));}}}}},jn=(S(E())),zn=(S(O()),S(P())),Mn=S(j()),An=function(e){e();},In=S(E()),Ln=S(E()),Dn=S(E()).default.createContext(null);function Fn(){return (0, Ln.useContext)(Dn)}var qn=function(){throw new Error("uSES not initialized!")},Qn=function(e,t){return e===t};function Un(e){void 0===e&&(e=Dn);var t=e===Dn?Fn:function(){return (0, In.useContext)(e)};return function(e,n){void 0===n&&(n=Qn);var r=t(),a=r.store,o=qn(r.subscription.addNestedSub,a.getState,r.getServerState||a.getState,e,n);return (0, In.useDebugValue)(o),o}}var $n=Un();S(A()),S(E()),S(L());var Vn={notify:function(){},get:function(){return []}},Kn=S(E()),Wn="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?Kn.useLayoutEffect:Kn.useEffect;function Bn(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function Hn(e,t){if(Bn(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(var a=0;a<n.length;a++)if(!Object.prototype.hasOwnProperty.call(t,n[a])||!Bn(e[n[a]],t[n[a]]))return !1;return !0}var Xn=S(E()),Yn=function(e){var t=e.store,n=e.context,r=e.children,a=e.serverState,o=(0, Xn.useMemo)((function(){var e=function(e,t){var n,r=Vn;function a(){u.onStateChange&&u.onStateChange();}function o(){var t,o,u;n||(n=e.subscribe(a),t=An,o=null,u=null,r={clear:function(){o=null,u=null;},notify:function(){t((function(){for(var e=o;e;)e.callback(),e=e.next;}));},get:function(){for(var e=[],t=o;t;)e.push(t),t=t.next;return e},subscribe:function(e){var t=!0,n=u={callback:e,next:null,prev:u};return n.prev?n.prev.next=n:o=n,function(){t&&null!==o&&(t=!1,n.next?n.next.prev=n.prev:u=n.prev,n.prev?n.prev.next=n.next:o=n.next);}}});}var u={addNestedSub:function(e){return o(),r.subscribe(e)},notifyNestedSubs:function(){r.notify();},handleChangeWrapper:a,isSubscribed:function(){return Boolean(n)},trySubscribe:o,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=Vn);},getListeners:function(){return r}};return u}(t);return {store:t,subscription:e,getServerState:a?function(){return a}:void 0}}),[t,a]),u=(0, Xn.useMemo)((function(){return t.getState()}),[t]);return Wn((function(){var e=o.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),u!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=void 0;}}),[o,u]),Xn.default.createElement((n||Dn).Provider,{value:o},r)},Jn=S(E());function Gn(e){void 0===e&&(e=Dn);var t=e===Dn?Fn:function(){return (0, Jn.useContext)(e)};return function(){return t().store}}var Zn=Gn();function er(e){void 0===e&&(e=Dn);var t=e===Dn?Zn:Gn(e);return function(){return t().dispatch}}var tr=er();qn=zn.useSyncExternalStoreWithSelector,An=Mn.unstable_batchedUpdates;var nr=S(E());function rr(e,t,n,r){var a=(0, nr.useMemo)((function(){return {queryArgs:e,serialized:"object"==typeof e?t({queryArgs:e,endpointDefinition:n,endpointName:r}):e}}),[e,t,n,r]),o=(0, nr.useRef)(a);return (0, nr.useEffect)((function(){o.current.serialized!==a.serialized&&(o.current=a);}),[a]),o.current.serialized===a.serialized?o.current.queryArgs:e}var ar=Symbol(),or=S(E());function ur(e){var t=(0, or.useRef)(e);return (0, or.useEffect)((function(){Hn(t.current,e)||(t.current=e);}),[e]),Hn(t.current,e)?t.current:e}var ir="undefined"!=typeof window&&window.document&&window.document.createElement?jn.useLayoutEffect:jn.useEffect,lr=function(e){return e},cr=function(e){return e.isUninitialized?g(m({},e),{isUninitialized:!1,isFetching:!0,isLoading:void 0===e.data,status:exports.QueryStatus.pending}):e},sr=Symbol(),fr=function(e){var t=void 0===e?{}:e,n=t.batch,r=void 0===n?Mn.unstable_batchedUpdates:n,a=t.useDispatch,o=void 0===a?tr:a,u=t.useSelector,i=void 0===u?$n:u,l=t.useStore,c=void 0===l?Zn:l,s=t.unstable__sideEffectsInRender,f=void 0!==s&&s;return {name:sr,init:function(e,t,n){var a=e,u=function(e){var t=e.api,n=e.moduleOptions,r=n.batch,a=n.useDispatch,o=n.useSelector,u=n.useStore,i=e.serializeQueryArgs,l=e.context,c=n.unstable__sideEffectsInRender?function(e){return e()}:jn.useEffect;return {buildQueryHooks:function(e){var n=function(n,r){var o=void 0===r?{}:r,u=o.refetchOnReconnect,i=o.refetchOnFocus,s=o.refetchOnMountOrArgChange,f=o.skip,d=void 0!==f&&f,p=o.pollingInterval,h=void 0===p?0:p,v=t.endpoints[e].initiate,y=a(),m=rr(d?fn:n,mn,l.endpointDefinitions[e],e),g=ur({refetchOnReconnect:u,refetchOnFocus:i,pollingInterval:h}),b=(0, jn.useRef)(!1),w=(0, jn.useRef)(),S=w.current||{},k=S.queryCacheKey,x=S.requestId,E=!1;if(k&&x){var C=y(t.internalActions.internal_probeSubscription({queryCacheKey:k,requestId:x}));E=!!C;}var O=!E&&b.current;return c((function(){b.current=E;})),c((function(){O&&(w.current=void 0);}),[O]),c((function(){var e,t=w.current;if(m===fn)return null==t||t.unsubscribe(),void(w.current=void 0);var n=null==(e=w.current)?void 0:e.subscriptionOptions;if(t&&t.arg===m)g!==n&&t.updateSubscriptionOptions(g);else {null==t||t.unsubscribe();var r=y(v(m,{subscriptionOptions:g,forceRefetch:s}));w.current=r;}}),[y,v,s,m,g,O]),(0, jn.useEffect)((function(){return function(){var e;null==(e=w.current)||e.unsubscribe(),w.current=void 0;}}),[]),(0, jn.useMemo)((function(){return {refetch:function(){var e;if(!w.current)throw new Error("Cannot refetch a query that has not been started yet.");return null==(e=w.current)?void 0:e.refetch()}}}),[])},f=function(n){var o=void 0===n?{}:n,u=o.refetchOnReconnect,i=o.refetchOnFocus,l=o.pollingInterval,s=void 0===l?0:l,f=t.endpoints[e].initiate,d=a(),p=(0, jn.useState)(ar),h=p[0],v=p[1],y=(0, jn.useRef)(),m=ur({refetchOnReconnect:u,refetchOnFocus:i,pollingInterval:s});c((function(){var e,t,n=null==(e=y.current)?void 0:e.subscriptionOptions;m!==n&&(null==(t=y.current)||t.updateSubscriptionOptions(m));}),[m]);var g=(0, jn.useRef)(m);c((function(){g.current=m;}),[m]);var b=(0, jn.useCallback)((function(e,t){var n;return void 0===t&&(t=!1),r((function(){var r;null==(r=y.current)||r.unsubscribe(),y.current=n=d(f(e,{subscriptionOptions:g.current,forceRefetch:!t})),v(e);})),n}),[d,f]);return (0, jn.useEffect)((function(){return function(){var e;null==(e=null==y?void 0:y.current)||e.unsubscribe();}}),[]),(0, jn.useEffect)((function(){h===ar||y.current||b(h,!0);}),[h,b]),(0, jn.useMemo)((function(){return [b,h]}),[b,h])},d=function(n,r){var a=void 0===r?{}:r,c=a.skip,f=a.selectFromResult,d=t.endpoints[e].select,p=rr(void 0!==c&&c?fn:n,i,l.endpointDefinitions[e],e),h=(0, jn.useRef)(),v=(0, jn.useMemo)((function(){return nt([d(p),function(e,t){return t},function(e){return p}],s)}),[d,p]),y=(0, jn.useMemo)((function(){return f?nt([v],f):v}),[v,f]),m=o((function(e){return y(e,h.current)}),Hn),g=u(),b=v(g.getState(),h.current);return ir((function(){h.current=b;}),[b]),m};return {useQueryState:d,useQuerySubscription:n,useLazyQuerySubscription:f,useLazyQuery:function(e){var t=f(e),n=t[0],r=t[1],a=d(r,g(m({},e),{skip:r===ar})),o=(0, jn.useMemo)((function(){return {lastArg:r}}),[r]);return (0, jn.useMemo)((function(){return [n,a,o]}),[n,a,o])},useQuery:function(e,t){var r=n(e,t),a=d(e,m({selectFromResult:e===fn||(null==t?void 0:t.skip)?void 0:cr},t));return (0, jn.useDebugValue)({data:a.data,status:a.status,isLoading:a.isLoading,isSuccess:a.isSuccess,isError:a.isError,error:a.error}),(0, jn.useMemo)((function(){return m(m({},a),r)}),[a,r])}}},buildMutationHook:function(e){return function(n){var u=void 0===n?{}:n,i=u.selectFromResult,l=void 0===i?lr:i,c=u.fixedCacheKey,s=t.endpoints[e],f=s.select,d=s.initiate,p=a(),h=(0, jn.useState)(),v=h[0],y=h[1];(0, jn.useEffect)((function(){return function(){(null==v?void 0:v.arg.fixedCacheKey)||null==v||v.reset();}}),[v]);var b=(0, jn.useCallback)((function(e){var t=p(d(e,{fixedCacheKey:c}));return y(t),t}),[p,d,c]),w=(v||{}).requestId,S=(0, jn.useMemo)((function(){return nt([f({fixedCacheKey:c,requestId:null==v?void 0:v.requestId})],l)}),[f,v,l,c]),k=o(S,Hn),x=null==c?null==v?void 0:v.arg.originalArgs:void 0,E=(0, jn.useCallback)((function(){r((function(){v&&y(void 0),c&&p(t.internalActions.removeMutationResult({requestId:w,fixedCacheKey:c}));}));}),[p,c,v,w]);(0, jn.useDebugValue)({endpointName:k.endpointName,data:k.data,status:k.status,isLoading:k.isLoading,isSuccess:k.isSuccess,isError:k.isError,error:k.error});var C=(0, jn.useMemo)((function(){return g(m({},k),{originalArgs:x,reset:E})}),[k,x,E]);return (0, jn.useMemo)((function(){return [b,C]}),[b,C])}},usePrefetch:function(e,n){var r=a(),o=ur(n);return (0, jn.useCallback)((function(n,a){return r(t.util.prefetch(e,n,m(m({},o),a)))}),[e,r,o])}};function s(e,t,n){if((null==t?void 0:t.endpointName)&&e.isUninitialized){var r=t.endpointName,a=l.endpointDefinitions[r];i({queryArgs:t.originalArgs,endpointDefinition:a,endpointName:r})===i({queryArgs:n,endpointDefinition:a,endpointName:r})&&(t=void 0);}var o=e.isSuccess?e.data:null==t?void 0:t.data;void 0===o&&(o=e.data);var u=void 0!==o,c=e.isLoading,s=!u&&c,f=e.isSuccess||c&&u;return g(m({},e),{data:o,currentData:e.data,isFetching:c,isLoading:s,isSuccess:f})}}({api:e,moduleOptions:{batch:r,useDispatch:o,useSelector:i,useStore:c,unstable__sideEffectsInRender:f},serializeQueryArgs:t.serializeQueryArgs,context:n}),l=u.buildQueryHooks,s=u.buildMutationHook;return Tn(a,{usePrefetch:u.usePrefetch}),Tn(n,{batch:r}),{injectEndpoint:function(t,n){if(Jt(n)){var r=l(t),o=r.useQuery,u=r.useLazyQuery;Tn(a.endpoints[t],{useQuery:o,useLazyQuery:u,useLazyQuerySubscription:r.useLazyQuerySubscription,useQueryState:r.useQueryState,useQuerySubscription:r.useQuerySubscription}),e["use"+Q(t)+"Query"]=o,e["useLazy"+Q(t)+"Query"]=u;}else if(Gt(n)){var i=s(t);Tn(a.endpoints[t],{useMutation:i}),e["use"+Q(t)+"Mutation"]=i;}}}}}},dr=S(E()),pr=S(E());function hr(e){var t=pr.default.useState((function(){var t;return dt({reducer:(t={},t[e.api.reducerPath]=e.api.reducer,t),middleware:function(t){return t().concat(e.api.middleware)}})}))[0];return (0, dr.useEffect)((function(){return !1===e.setupListeners?void 0:Yt(t.dispatch,e.setupListeners)}),[e.setupListeners,t.dispatch]),pr.default.createElement(Yn,{store:t,context:e.context},e.children)}var vr=gn(Nn(),fr());
exports.ApiProvider = hr;
exports.buildCreateApi = gn;
exports.copyWithStructuralSharing = zt;
exports.coreModule = Nn;
exports.coreModuleName = Rn;
exports.createApi = vr;
exports.defaultSerializeQueryArgs = mn;
exports.fakeBaseQuery = bn;
exports.fetchBaseQuery = Dt;
exports.reactHooksModule = fr;
exports.reactHooksModuleName = sr;
exports.retry = Vt;
exports.setupListeners = Yt;
exports.skipSelector = dn;
exports.skipToken = fn;
Object.defineProperty(exports, '__esModule', { value: true });
}));
//# sourceMappingURL=rtk-query-react.umd.min.js.map